]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix "target extended-remote" + "maint set target-non-stop" + "attach"
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2e3773ff
LS
12021-02-02 Lancelot SIX <lsix@lancelotsix.com>
2
3 * gdb.base/inferior-noarg.c: New test.
4 * gdb.base/inferior-noarg.exp: New test.
5
e0bd9202
SM
62021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
7
8 * gdb.base/scope.exp: Use proc_with_prefix.
9
9307efbe
SM
102021-02-02 Simon Marchi <simon.marchi@efficios.com>
11
12 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
13 table proc.
14 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
15 .debug_rnglists table without offset array.
16 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
17 .debug_loclists table without offset array.
18
2b0c7f41
SM
192021-02-02 Simon Marchi <simon.marchi@efficios.com>
20
21 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
22 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
23 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
24 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
25 attribute
26
ecfda20d
SM
272021-02-02 Simon Marchi <simon.marchi@efficios.com>
28
29 PR gdb/26813
30 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
31 (loclists): New proc.
32 * gdb.dwarf2/loclists-multiple-cus.c: New.
33 * gdb.dwarf2/loclists-multiple-cus.exp: New.
34 * gdb.dwarf2/loclists-sec-offset.c: New.
35 * gdb.dwarf2/loclists-sec-offset.exp: New.
36
6b0933da
SM
372021-02-02 Simon Marchi <simon.marchi@efficios.com>
38
39 * lib/dwarf.exp (_location): Add parameters.
40 (_handle_DW_FORM): Adjust.
41
962effa7
SM
422021-02-02 Simon Marchi <simon.marchi@efficios.com>
43
44 PR gdb/26813
45 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
46 (cu): Generate header for DWARF 5.
47 (rnglists): New proc.
48 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
49 * gdb.dwarf2/rnglists-sec-offset.exp: New.
50
2bd3e4b8
TV
512021-02-02 Tom de Vries <tdevries@suse.de>
52
53 PR symtab/24620
54 * gdb.dwarf2/fission-reread.exp: Add test-case.
55
c39c8637
TV
562021-02-01 Tom de Vries <tdevries@suse.de>
57
58 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
59 * gdb.dwarf2/fission-loclists-pie.S: Same.
60 * gdb.dwarf2/fission-loclists.S: Same.
61 * gdb.dwarf2/fission-multi-cu.S: Same.
62 * gdb.dwarf2/fission-reread.S: Same.
63 * gdb.dwarf2/fission-base.exp: Use DWO.
64 * gdb.dwarf2/fission-loclists-pie.exp: Same.
65 * gdb.dwarf2/fission-loclists.exp: Same.
66 * gdb.dwarf2/fission-multi-cu.exp: Same.
67 * gdb.dwarf2/fission-reread.exp: Same.
68
ebde6f2d
TV
692021-01-29 Tom de Vries <tdevries@suse.de>
70
71 PR breakpoints/26063
72 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
73 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
74
620ec3ca
TV
752021-01-29 Tom de Vries <tdevries@suse.de>
76
77 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
78
cdeba395
TV
792021-01-28 Tom de Vries <tdevries@suse.de>
80
81 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
82 in the backtrace, and use that in the rest of the test instead of
83 hardcoded constant 3. Use "frame" instead of "up" for robustness.
84
c47b145e
TV
852021-01-28 Tom de Vries <tdevries@suse.de>
86
87 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
88 * gdb.arch/i386-sse-stack-align.c: Same.
89 * gdb.arch/i386-sse-stack-align.exp: Same.
90
47918cca
AB
912021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
94
2f985dd1
TV
952021-01-28 Tom de Vries <tdevries@suse.de>
96
97 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
98
22efa3d3
TV
992021-01-28 Tom de Vries <tdevries@suse.de>
100
101 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
102 "maint info line-table". Make PASS pattern more specific. Make
103 FAIL pattern work for -m32.
104
59b59f08
LS
1052021-01-27 Lancelot SIX <lsix@lancelotsix.com>
106
107 PR gdb/27133
108 * gdb.base/ui-redirect.exp: Add test case that ensures that
109 redirecting both logging and debug does not cause gdb to crash.
110
111
807f647c
MM
1122021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
113
114 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
115
4ca40594
TV
1162021-01-26 Tom de Vries <tdevries@suse.de>
117
118 * gdb.threads/killed-outside.exp: Allow regular output.
119
d0021af3
TV
1202021-01-26 Tom de Vries <tdevries@suse.de>
121
122 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
123
9f6c202e
TV
1242021-01-25 Tom de Vries <tdevries@suse.de>
125
126 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
127 * lib/gdb.exp: Use gdb_load_no_complaints.
128
a625a8c9
TT
1292021-01-25 Tom Tromey <tromey@adacore.com>
130
131 * gdb.ada/fixed_points.exp: Add regression test.
132 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
133 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
134
19184910
TT
1352021-01-25 Tom Tromey <tromey@adacore.com>
136
137 * gdb.ada/local-enum.exp: Add enumerator resolution test.
138
acd6125f
TT
1392021-01-25 Tom Tromey <tromey@adacore.com>
140
141 * gdb.ada/local-enum.exp: New file.
142 * gdb.ada/local-enum/local.adb: New file.
143
1af4c9c4
TT
1442021-01-23 Tom Tromey <tom@tromey.com>
145
146 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
147
705646c0
BE
1482021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
149
150 * gdb.base/line65535.exp: Fix test expectation.
151
0ac85db5
SM
1522021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
153
154 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
155 suppression.
156 (default_gdb_exit): Likewise.
157 (default_gdb_spawn): Likewise.
158 (send_gdb): Likewise.
159 (gdb_expect): Likewise.
160 (gdb_expect_list): Likewise.
161 (default_gdb_init): Likewise.
162 (gdb_suppress_entire_file): Remove.
163 (gdb_suppress_tests): Remove.
164 (gdb_stop_suppressing_tests): Remove.
165 (gdb_clear_suppressed): Remove.
166 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
167 related to test suppression.
168 (default_mi_gdb_start): Likewise.
169 (mi_gdb_reinitialize_dir): Likewise.
170 (mi_gdb_test): Likewise.
171 (mi_run_cmd_full): Likewise.
172 (mi_runto_helper): Likewise.
173 (mi_execute_to): Likewise.
174 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
175 * gdb.base/bitfields.exp: Likewise.
176 * gdb.base/bitfields2.exp: Likewise.
177 * gdb.base/break.exp: Likewise.
178 * gdb.base/call-sc.exp: Likewise.
179 * gdb.base/callfuncs.exp: Likewise.
180 * gdb.base/dfp-test.exp: Likewise.
181 * gdb.base/endian.exp: Likewise.
182 * gdb.base/exprs.exp: Likewise.
183 * gdb.base/funcargs.exp: Likewise.
184 * gdb.base/hbreak2.exp: Likewise.
185 * gdb.base/recurse.exp: Likewise.
186 * gdb.base/scope.exp: Likewise.
187 * gdb.base/sepdebug.exp: Likewise.
188 * gdb.base/structs.exp: Likewise.
189 * gdb.base/until.exp: Likewise.
190 * gdb.cp/misc.exp: Likewise.
191
9d2d8a16
AB
1922021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 PR cli/25956
195 * gdb.base/style.exp (run_style_tests): Add version string test.
196 (test_startup_version_string): Use version style name.
197 * lib/gdb-utils.exp (style): Handle version style name.
198
e7b43072
AB
1992021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.base/style.exp (limited_style): New proc.
202 (clean_restart_and_disable): New proc.
203 (run_style_tests): New proc. Most of the old tests from this file
204 are now in this proc.
205 (test_startup_version_string): New proc. Reamining test from the
206 old file is in this proc.
207
2189c312
SM
2082021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
209
210 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
211 Adjust to "set debug remote" changes.
212
cd211c75
LM
2132021-01-21 Luis Machado <luis.machado@linaro.org>
214
215 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
216 message.
217
730af663
SM
2182021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
219
220 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
221
325d39e4
HD
2222021-01-21 Hannes Domani <ssbssa@yahoo.de>
223
224 PR python/19151
225 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
226
c3e96aa7
SM
2272021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
228
229 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
230
6571ffc6
SM
2312021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
232
233 * lib/tuiterm.exp: Add links in comments.
234
7c794afd
TV
2352021-01-20 Tom de Vries <tdevries@suse.de>
236
237 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
238 offset.
239
1402665c
TV
2402021-01-20 Tom de Vries <tdevries@suse.de>
241
242 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
243
6f52fdf4
SDJ
2442021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
245
246 * gdb.arch/amd64-stap-expressions.S: New file.
247 * gdb.arch/amd64-stap-expressions.exp: New file.
248
14852123
TV
2492021-01-19 Tom de Vries <tdevries@suse.de>
250
251 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
252 sequence.
253
0c4e2c6c
TV
2542021-01-19 Tom de Vries <tdevries@suse.de>
255
256 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
257
02baa133
AB
2582021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
259
260 * gdb.fortran/array-slices.exp (run_test): Avoid including
261 addresses in test names.
262
10f92414
TV
2632021-01-15 Tom de Vries <tdevries@suse.de>
264
265 PR testsuite/26997
266 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
267 when adding sizeof.
268
116d0cf1
TV
2692021-01-14 Tom de Vries <tdevries@suse.de>
270
271 PR testsuite/24590
272 * gdb.base/style.exp: Handle shorter argv in frame command output.
273
8f66807b
AB
2742021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
275
276 PR gdb/26819
277 * gdb.server/stop-reply-no-thread-multi.c: New file.
278 * gdb.server/stop-reply-no-thread-multi.exp: New file.
279
3f94e588
TV
2802021-01-12 Tom de Vries <tdevries@suse.de>
281
282 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
283 (main): Remove call to have_mpx.
284 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
285 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
286 (main): Remote call to have_mpx.
287 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
288 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
289 (main): Remove call to have_mpx.
290 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
291 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
292 (main): Remove call to have_mpx.
293 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
294 * gdb.arch/i386-mpx.c (have_mpx): Remove.
295 (main): Remote call to have_mpx.
296 * gdb.arch/i386-mpx.exp: Use have_mpx.
297 * lib/gdb.exp (have_mpx): New proc.
298
5291fe3c
SP
2992021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
300
301 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
302
18bfb505
TV
3032021-01-12 Tom de Vries <tdevries@suse.de>
304
305 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
306
ce38f5ed
AB
3072021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
308
309 * gdb.fortran/debug-expr.exp: Add new tests.
310
7c654b71
AB
3112021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
312
313 * gdb.fortran/dot-ops.exp: Add new tests.
314
10dadadc
TV
3152021-01-11 Tom de Vries <tdevries@suse.de>
316
317 PR testsuite/26968
318 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
319 Move insn setting $eax to before probe point.
320
66beed02
TT
3212021-01-09 Tom Tromey <tom@tromey.com>
322
323 * gdb.trace/ax.exp: Do not require an "ext".
324
8fc48b79
TT
3252021-01-08 Tom Tromey <tromey@adacore.com>
326
327 * gdb.ada/voidctx/pck.adb: New file.
328 * gdb.ada/voidctx/pck.ads: New file.
329 * gdb.ada/voidctx/voidctx.adb: New file.
330 * gdb.ada/voidctx.exp: New file.
331
6abd4cf2
SM
3322021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
333
334 PR gdb/27157
335 * gdb.base/empty-host-env-vars.exp: New test.
336
d00f0868
AB
3372021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
338
339 * gdb.base/completion.exp: Add a new test.
340
3c8c6de2
AB
3412021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * gdb.fortran/intvar-dynamic-types.exp: New file.
344 * gdb.fortran/intvar-dynamic-types.f90: New file.
345
e3436813
AB
3462021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
347
348 * gdb.fortran/intvar-array.exp: New file.
349 * gdb.fortran/intvar-array.f90: New file.
350
d4813f10
TT
3512021-01-07 Tom Tromey <tromey@adacore.com>
352
353 * gdb.ada/assign_arr.exp: Add 'others' test.
354
b49180ac
TT
3552021-01-06 Tom Tromey <tromey@adacore.com>
356
357 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
358 (FP4_Type): New type.
359 (FP4_Var): New variable.
360 * gdb.ada/fixed_points/fixed_points.adb: Update.
361 * gdb.ada/fixed_points.exp: Add tests for binary operators.
362
3c55062c
SM
3632021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
364
365 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
366 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
367 Pass prompt containing debug print to gdb_test_sequence.
368
e4ad960a
TV
3692021-01-04 Tom de Vries <tdevries@suse.de>
370
371 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
372
3ec3145c
SM
3732021-01-04 Simon Marchi <simon.marchi@efficios.com>
374
375
376
8dc558a0
SM
3772021-01-04 Simon Marchi <simon.marchi@efficios.com>
378
379 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
380 * gdb.server/connect-without-multi-process.exp: Likewise.
381 * gdb.server/exit-multiple-threads.exp: Likewise.
382 * gdb.server/ext-attach.exp: Likewise.
383 * gdb.server/ext-restart.exp: Likewise.
384 * gdb.server/ext-run.exp: Likewise.
385 * gdb.server/ext-wrapper.exp: Likewise.
386 * gdb.server/multi-ui-errors.exp: Likewise.
387 * gdb.server/no-thread-db.exp: Likewise.
388 * gdb.server/reconnect-ctrl-c.exp: Likewise.
389 * gdb.server/run-without-local-binary.exp: Likewise.
390 * gdb.server/server-kill.exp: Likewise.
391 * gdb.server/server-run.exp: Likewise.
392 * gdb.server/solib-list.exp: Likewise.
393 * gdb.server/stop-reply-no-thread.exp: Likewise.
394 * gdb.server/wrapper.exp: Likewise.
395 * gdb.server/sysroot.exp: Increase timeout when testing the
396 target: sysroot.
397
d8387cc8
SM
3982021-01-04 Simon Marchi <simon.marchi@efficios.com>
399
400 * gdb.server/server-run.exp: Use clean_restart.
401
5169ae34
SM
4022021-01-04 Simon Marchi <simon.marchi@efficios.com>
403
404 * gdb.server/ext-run.exp: Use clean_restart.
405
7b0ff8a2
SM
4062021-01-04 Simon Marchi <simon.marchi@efficios.com>
407
408 * gdb.server/stop-reply-no-thread.exp: Use build_executable
409 instead of prepare_for_testing.
410
a754fbdf
SM
4112021-01-04 Simon Marchi <simon.marchi@efficios.com>
412
413 * gdb.server/solib-list.exp: Use clean_restart.
414
c5e71b33
TV
4152021-01-04 Tom de Vries <tdevries@suse.de>
416
417 * gdb.base/morestack.c: Remove printf.
418 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
419
9b243007
TT
4202020-12-31 Tom Tromey <tom@tromey.com>
421
422 * gdb.rust/simple.exp: Update output for Rust 1.49.
423
4ff509e7
BE
4242020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
425
426 * gdb.cp/step-and-next-inline.exp: Fix test case.
427
391750c3
SM
4282020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
429
430 * gdb.python/py-frame-args.exp: De-duplicate test names.
431
b7874836
AB
4322020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
433
434 PR gdb/27059
435 * gdb.dwarf2/dyn-type-unallocated.c: New file.
436 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
437
e1ff6226
PW
4382020-12-21 Peter Waller <p@pwaller.net>
439
440 * gdb.base/style-interp-exec-mi.exp: New.
441 * gdb.base/style-interp-exec-mi.c: New.
442
ca01f1bf
SM
4432020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
444
445 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
446 gdb_test. Use proc_with_prefix.
447
0fe69a94
MM
4482020-12-21 Markus Metzger <markus.t.metzger@intel.com>
449
450 * gdb.btrace/exception.exp: Build with nopie.
451 * gdb.btrace/function_call_history.exp: Likewise.
452 * gdb.btrace/unknown_functions.exp: Likewise.
453
806e7575
MM
4542020-12-21 Markus Metzger <markus.t.metzger@intel.com>
455
456 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
457
493d2172
MM
4582020-12-21 Markus Metzger <markus.t.metzger@intel.com>
459
460 * gdb.python/py-record-btrace.exp: Make test names unique.
461 * gdb.python/py-record-full.exp: Likewise.
462
1a1c0afc
MM
4632020-12-21 Markus Metzger <markus.t.metzger@intel.com>
464
465 * gdb.btrace/data.exp: Make test names unique.
466 * gdb.btrace/delta.exp: Likewise.
467 * gdb.btrace/enable.exp: Likewise.
468 * gdb.btrace/function_call_history.exp: Likewise.
469 * gdb.btrace/nohist.exp: Likewise.
470 * gdb.btrace/non-stop.exp: Likewise.
471 * gdb.btrace/rn-dl-bind.exp: Likewise.
472 * gdb.btrace/step.exp: Likewise.
473 * gdb.btrace/stepi.exp: Likewise.
474 * gdb.btrace/tailcall.exp: Likewise.
475
98d837f0
MM
4762020-12-21 Markus Metzger <markus.t.metzger@intel.com>
477
478 * gdb.btrace/enable.exp: Update error message.
479 * gdb.btrace/multi-inferior.exp: Likewise.
480 * gdb.btrace/reconnect.exp: Likewise.
481 * gdb.python/py-record-btrace.exp: Likewise.
482 * gdb.python/py-record-full.exp: Likewise.
483
c541fa7c
TV
4842020-12-20 Tom de Vries <tdevries@suse.de>
485
486 * lib/gdb.exp (save_target_board_info): New proc.
487 (gdb_compile_shlib): Use save_target_board_info.
488
60108e47
TV
4892020-12-19 Tom de Vries <tdevries@suse.de>
490
491 * lib/gdb.exp (supports_scalar_storage_order_attribute)
492 (supports_gnuc): New proc.
493 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
494 test_compiler_info calls. Add unsupported message.
495 * gdb.base/endianity.c: Use TEST_SSO.
496
fa639f55
HD
4972020-12-19 Hannes Domani <ssbssa@yahoo.de>
498
499 PR exp/27070
500 * gdb.python/compare-enum-type-a.c: New test.
501 * gdb.python/compare-enum-type-b.c: New test.
502 * gdb.python/compare-enum-type.exp: New file.
503 * gdb.python/compare-enum-type.h: New test.
504
4aea001f
HD
5052020-12-18 Hannes Domani <ssbssa@yahoo.de>
506
507 * gdb.python/py-format-string.exp: Add tests for address keyword.
508
b3f9469b
HD
5092020-12-18 Hannes Domani <ssbssa@yahoo.de>
510
511 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
512
86ef42bd
TT
5132020-12-18 Tom Tromey <tromey@adacore.com>
514
515 * gdb.ada/fixed_points.exp: Also run with
516 -fgnat-encodings=minimal. Update expected output.
517
93df4a1d
SM
5182020-12-16 Simon Marchi <simon.marchi@efficios.com>
519
520 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
521 * gdb.base/continue-all-already-running.exp: Likewise.
522 * gdb.base/moribund-step.exp: Likewise.
523 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
524
592995fa
TV
5252020-12-16 Tom de Vries <tdevries@suse.de>
526
527 * gdb.base/batch-preserve-term-settings.exp:
528
1e61189d
TV
5292020-12-16 Tom de Vries <tdevries@suse.de>
530
531 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
532 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
533
19007d95
LM
5342020-12-16 Luis Machado <luis.machado@linaro.org>
535
536 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
537 pointer-based memory accesses.
538 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
539 hw watchpoint cases.
540
a33fc9ae
RK
5412020-12-15 Rae Kim <rae.kim@gmail.com>
542
543 * gdb.base/document.exp: New test.
544
0e5ad442
TT
5452020-12-15 Tom Tromey <tromey@adacore.com>
546
547 * gdb.base/style.exp: Add deprecation tests.
548
60598dbd
SM
5492020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
550
551 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
552
8cd6d968
MW
5532020-12-14 Mark Wielaard <mark@klomp.org>
554
555 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
556 specially, set attr_form_comment to the actual FORM string used.
557
eab9267c
MW
5582020-12-14 Mark Wielaard <mark@klomp.org>
559
560 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
561 _constants(SPECIAL_expr) here, but set it...
562 (Dwarf::cu): ...here based on _cu_version.
563
2f413264
TV
5642020-12-14 Tom de Vries <tdevries@suse.de>
565
566 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
567 pass -fPIC.
568 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
569 * gdb.base/break-probes.exp: Same.
570 * gdb.base/ctxobj.exp: Same.
571 * gdb.base/dso2dso.exp: Same.
572 * gdb.base/global-var-nested-by-dso.exp: Same.
573 * gdb.base/info-shared.exp: Same.
574 * gdb.base/jit-reader-simple.exp: Same.
575 * gdb.base/print-file-var.exp: Same.
576 * gdb.base/skip-solib.exp: Same.
577 * gdb.btrace/dlopen.exp: Same.
578
18f1cb1f
TV
5792020-12-14 Tom de Vries <tdevries@suse.de>
580
581 PR testsuite/26963
582 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
583
519155c9
TV
5842020-12-14 Tom de Vries <tdevries@suse.de>
585
586 PR testsuite/26962
587 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
588 cast it to its declared type".
589
153f6e6c
TV
5902020-12-14 Tom de Vries <tdevries@suse.de>
591
592 PR testsuite/26951
593 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
594 shell prompt.
595
86b44259
TT
5962020-12-14 Tom Tromey <tromey@adacore.com>
597
598 * gdb.ada/nested.exp: Add new tests.
599 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
600
e26624c6
TT
6012020-12-14 Tom Tromey <tromey@adacore.com>
602
603 * gdb.dwarf2/ada-thick-pointer.exp: New file.
604
a3bdae4e
TT
6052020-12-14 Tom Tromey <tromey@adacore.com>
606
607 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
608
862fcbd8
TV
6092020-12-13 Tom de Vries <tdevries@suse.de>
610
611 PR testsuite/26953
612 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
613 attribute support if compiler doesn't support it.
614
a406a98e
TV
6152020-12-13 Tom de Vries <tdevries@suse.de>
616
617 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
618 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
619 source to shared lib. Add ada to options.
620
5d7e6ed0
TV
6212020-12-13 Tom de Vries <tdevries@suse.de>
622
623 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
624 calling gnatbind and gnatlink.
625
ee9812a0
AB
6262020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
627
628 * gdb.base/dcache-flush.c: New file.
629 * gdb.base/dcache-flush.exp: New file.
630
50a5f187
AB
6312020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
632
633 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
634 commands.
635 * gdb.base/killed-outside.exp: Likewise.
636 * gdb.opt/inline-bt.exp: Likewise.
637 * gdb.perf/gmonster-null-lookup.py: Likewise.
638 * gdb.perf/gmonster-print-cerr.py: Likewise.
639 * gdb.perf/gmonster-ptype-string.py: Likewise.
640 * gdb.python/py-unwind.exp: Likewise.
641
19c659f1
AB
6422020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
643
644 * gdb.base/commands.exp: Update expected results.
645
9ef6d4a1
AB
6462020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
647
648 PR cli/15104
649 * gdb.base/commands.exp: Add additional tests.
650 * gdb.base/completion.exp: Add additional tests.
651
1536146f
AB
6522020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
653
654 * gdb.base/completion.exp: Add additional tests.
655
346e7e19
TV
6562020-12-11 Tom de Vries <tdevries@suse.de>
657
658 PR testsuite/26991
659 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
660 violations by setting bounds registers if the bounds are passed in the
661 Bounds Table.
662
9cd7a95a
TV
6632020-12-11 Tom de Vries <tdevries@suse.de>
664
665 PR testsuite/26954
666 * gdb.base/float128.exp: Detect and handle no mpfr support.
667
4483a8e7
SM
6682020-12-10 Simon Marchi <simon.marchi@efficios.com>
669
670 PR gdb/24694
671 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
672 calls.
673
10067028
TV
6742020-12-10 Tom de Vries <tdevries@suse.de>
675
676 PR testsuite/26947
677 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
678 braces for tcl 8.5 and earlier.
679
5b56203a
SM
6802020-12-09 Simon Marchi <simon.marchi@efficios.com>
681
682 PR 26875, PR 26901
683 * gdb.base/flexible-array-member.c: New test.
684 * gdb.base/flexible-array-member.exp: New test.
685
b46551b2
TV
6862020-12-08 Tom de Vries <tdevries@suse.de>
687
688 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
689 using is_amd64_regs_target.
690
8439f446
TV
6912020-12-08 Tom de Vries <tdevries@suse.de>
692
693 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
694 self_id.
695
bc545da7
PA
6962020-12-07 Pedro Alves <pedro@palves.net>
697
698 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
699 'additional_flags' variable.
700
1f58f6c2
TBA
7012020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
702
703 * gdb.linespec/explicit.exp: Extend with a test to check completing
704 '-' after seemingly complete options.
705
5759831a
TBA
7062020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
707
708 * gdb.linespec/keywords.exp: Add tests to check positional
709 flexibility of "-force-condition".
710
21e051b3
TBA
7112020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
712
713 * gdb.base/bp-cmds-run-with-ex.c: New file.
714 * gdb.base/bp-cmds-run-with-ex.exp: New file.
715 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
716 * gdb.gdb/python-interrupts.exp: Update the call to
717 'catch_command_errors' with the new argument.
718 * gdb.gdb/python-selftest.exp: Ditto.
719
187b041e
SM
7202020-12-04 Simon Marchi <simon.marchi@efficios.com>
721
722 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
723 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
724 * gdb.threads/non-stop-fair-events.exp: Likewise.
725
3b7a962d
SM
7262020-12-04 Simon Marchi <simon.marchi@efficios.com>
727
728 * gdb.threads/step-over-exec.exp: New.
729 * gdb.threads/step-over-exec.c: New.
730 * gdb.threads/step-over-exec-execd.c: New.
731 * lib/my-syscalls.S: New.
732 * lib/my-syscalls.h: New.
733
e633b117
SM
7342020-12-04 Simon Marchi <simon.marchi@efficios.com>
735
736 * lib/dwarf.exp (declare_labels): Use name as text if text is
737 not provided.
738
67748e0f
TV
7392020-12-04 Tom de Vries <tdevries@suse.de>
740
741 PR testsuite/26990
742 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
743 are unsupported.
744
a8d13675
TV
7452020-12-04 Tom de Vries <tdevries@suse.de>
746
747 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
748 clause.
749
f17727b3
TV
7502020-12-04 Tom de Vries <tdevries@suse.de>
751
752 * gdb.reverse/insn-reverse.exp: Fix count handling.
753
a1499830
TV
7542020-12-04 Tom de Vries <tdevries@suse.de>
755
756 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
757 __x86_64__.
758
9c027c2f
TV
7592020-12-04 Tom de Vries <tdevries@suse.de>
760
761 * gdb.reverse/insn-reverse.c (test_nr): New var.
762 (usage, parse_args): New function.
763 (main): Call parse_args. Only run test for test_nr.
764 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
765 and bail out. Run subtests individually, using an inferior arg
766 specifying the subtest.
767
533b2ae0
AB
7682020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
769
770 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
771
e4502042
AB
7722020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
775 update test to use this.
776
f55a9a37
SM
7772020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
778
779 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
780
0a6155a0
SM
7812020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
782
783 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
784 (do_test): Don't use with_test_prefix.
785 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
786 (do_test): Don't use with_test_prefix.
787 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
788 (do_test): Don't use with_test_prefix.
789 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
790 (do_test): Don't use with_test_prefix.
791
4d56d64a
SM
7922020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
793
794 * gdb.threads/non-ldr-exit.exp: Fix comment.
795
54e75f29
AB
7962020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
797
798 * gdb.xml/maint-xml-dump-03.xml: New file.
799
7ce05d21
TV
8002020-11-30 Tom de Vries <tdevries@suse.de>
801
802 PR symtab/26905
803 * gdb.dwarf2/count.exp: Remove kfails.
804
50757f95
TBA
8052020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
806
807 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
808 indices.
809
4afa9fd9
JB
8102020-11-24 Joel Brobecker <brobecker@adacore.com>
811
812 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
813 the "ptype pck__fp1_range_var" test for the module-2 and pascal
814 languages. Remove the associated setup_xfail.
815
15a491af
SM
8162020-11-23 Simon Marchi <simon.marchi@efficios.com>
817
818 * lib/gdb.exp (gdb_assert): Show error message on error.
819
891615f0
TV
8202020-11-23 Tom de Vries <tdevries@suse.de>
821
822 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
823 * gdb.ada/mod_from_name.exp: Same.
824 * gdb.ada/pckd_arr_ren.exp: Same.
825
19922582
SM
8262020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
827
828 * gdb.base/template.exp: New.
829 * gdb.base/template.c: New.
830
117c628d
GB
8312020-11-22 Gary Benson <gbenson@redhat.com>
832
833 PR gdb/26905
834 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
835 is defined using a DW_AT_count which references another DIE.
836
da39d3ba
TV
8372020-11-21 Tom de Vries <tdevries@suse.de>
838
839 * gdb.base/vla-ptr.exp: Add XFAIL.
840
a5c641b5
AB
8412020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
842
843 * gdb.fortran/array-slices-bad.exp: New file.
844 * gdb.fortran/array-slices-bad.f90: New file.
845 * gdb.fortran/array-slices-sub-slices.exp: New file.
846 * gdb.fortran/array-slices-sub-slices.f90: New file.
847 * gdb.fortran/array-slices.exp: Rewrite tests.
848 * gdb.fortran/array-slices.f90: Rewrite tests.
849 * gdb.fortran/vla-sizeof.exp: Correct expected results.
850
a15a5258
AB
8512020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.base/completion.exp: Add new completion tests.
854
7cb2893d
SM
8552020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
856
857 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
858 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
859 * gdb.mi/mi-nsintrall.exp: Likewise.
860 * gdb.mi/mi-nsmoribund.exp: Likewise.
861 * gdb.mi/mi-nsthrexec.exp: Likewise.
862 * gdb.mi/mi-watch-nonstop.exp: Likewise.
863
cf144ec8
SM
8642020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
865
866 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
867 of perror.
868
6b6a3e05
JM
8692020-11-18 Joseph Myers <joseph@codesourcery.com>
870
871 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
872 $arg.exe exists but $arg does not.
873
811bdca0
GB
8742020-11-17 Gary Benson <gbenson@redhat.com>
875
876 * gdb.trace/trace-common.h (x86_trace_dummy): Add
877 __attribute__ ((used)).
878
c72e3136
AB
8792020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
882
037d7135
AB
8832020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.base/completion.exp: Add new tests.
886
119e99bb
TT
8872020-11-16 Tom Tromey <tromey@adacore.com>
888
889 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
890 tests.
891
b74dbc20
JB
8922020-11-15 Joel Brobecker <brobecker@adacore.com>
893
894 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
895 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
896 (main): Add reference to pck__fp1_var2.
897 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
898
0a12719e
JB
8992020-11-15 Joel Brobecker <brobecker@adacore.com>
900
901 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
902
0c9150e4
JB
9032020-11-15 Joel Brobecker <brobecker@adacore.com>
904
905 * gdb.ada/fixed_points.exp: Add ptype tests.
906 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
907
b26daff9
JB
9082020-11-15 Joel Brobecker <brobecker@adacore.com>
909
910 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
911
09584414
JB
9122020-11-15 Joel Brobecker <brobecker@adacore.com>
913
914 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
915 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
916 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
917 New files.
918 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
919
920 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
921 New files.
922
9dd02fc0
AB
9232020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
924
925 PR cli/26879
926 * gdb.fortran/completion.exp: New file.
927 * gdb.fortran/completion.f90: New file.
928
5643c500
JM
9292020-11-12 Joseph Myers <joseph@codesourcery.com>
930
931 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
932 but $arg does not.
933
7bea47f0
AB
9342020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
935
936 * gdb.fortran/types.exp: Add more tests.
937
1f2624a3
TT
9382020-11-12 Tom Tromey <tom@tromey.com>
939
940 PR rust/26799:
941 * gdb.rust/traits.exp: Remove kfails.
942
9e74f0ae
GB
9432020-11-12 Gary Benson <gbenson@redhat.com>
944
945 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
946 statement.
947
acb994fa
SM
9482020-11-11 Simon Marchi <simon.marchi@efficios.com>
949
950 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
951 always-inserted" axis.
952 (do_test): Add breakpoint_always_inserted parameter.
953
95016fd2
TT
9542020-11-10 Tom Tromey <tromey@adacore.com>
955
956 * gdb.ada/bias.exp: Update.
957 * gdb.ada/bias/bias.adb (X): Change value.
958
83100a74
GB
9592020-11-10 Gary Benson <gbenson@redhat.com>
960
961 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
962 regexp fragment in parentheses to prevent false matching.
963
6ff174a7
GB
9642020-11-10 Gary Benson <gbenson@redhat.com>
965
966 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
967
eb24648c
GB
9682020-11-10 Gary Benson <gbenson@redhat.com>
969
970 * gdb.cp/step-and-next-inline.exp: Only require
971 -gstatement-frontiers when building with GCC.
972 Only setup KFAIL's for GCC issues when using
973 a GCC-built executable.
974
86775fab
AB
9752020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 * gdb.base/debug-expr.c: Add extra function to allow for an
978 additional test.
979 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
980 to this proc with gdb_test_debug_expr. Add an extra test.
981 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
982 to this proc with gdb_test_debug_expr, give the tests names
983 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
984 calls to this proc with gdb_test_debug_expr, give the tests names
985 * gdb.fortran/debug-expr.exp: New file.
986 * gdb.fortran/debug-expr.f90: New file.
987 * lib/gdb.exp (gdb_test_debug_expr): New proc.
988
a1945bd4
SM
9892020-11-06 Simon Marchi <simon.marchi@efficios.com>
990
991 * lib/dwarf.exp (ranges): Handle "base" and "range" as
992 proceduresu.
993 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
994 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
995 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
996 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
997 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
998 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
999 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1000 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1001
9c91c725
TT
10022020-11-04 Tom Tromey <tromey@adacore.com>
1003
1004 * gdb.ada/funcall_ref.exp: Update.
1005 * gdb.ada/var_rec_arr.exp: Update.
1006
8d9fd3a1
TT
10072020-11-04 Tom Tromey <tromey@adacore.com>
1008
1009 * gdb.ada/rec_ptype.exp: New file.
1010 * gdb.ada/rec_ptype/main.adb: New file.
1011 * gdb.ada/rec_ptype/p.ads: New file.
1012
d8f62e84
TT
10132020-11-04 Tom Tromey <tromey@adacore.com>
1014
1015 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1016 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1017 (PT_Full): New variable.
1018 * gdb.ada/tick_length_array_enum_idx/pck.adb
1019 (Full_PT): New type.
1020
7ff5b937
TT
10212020-11-04 Tom Tromey <tromey@adacore.com>
1022
1023 * gdb.ada/array_of_variant.exp: New file.
1024 * gdb.ada/array_of_variant/p.adb: New file.
1025 * gdb.ada/array_of_variant/pck.ads: New file.
1026 * gdb.ada/array_of_variant/pck.adb: New file.
1027
10f6a3ad
TT
10282020-11-04 Tom Tromey <tromey@adacore.com>
1029
1030 * gdb.ada/enum_idx_packed.exp: Add test.
1031 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1032 New variable.
1033 * gdb.ada/enum_idx_packed/pck.ads (Short)
1034 (Multi_Dimension, Multi_Dimension_Access): New types.
1035
b72795a8
TT
10362020-11-04 Tom Tromey <tromey@adacore.com>
1037
1038 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1039
24aa1b02
TT
10402020-11-04 Tom Tromey <tromey@adacore.com>
1041
1042 * gdb.ada/set_pckd_arr_elt.exp: Also test
1043 -fgnat-encodings=minimal. Add tests.
1044 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1045 Call Update_Small a second time.
1046 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1047 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1048 (Variant_Access): New types.
1049 (New_Variant): Declare.
1050
c9a28cbe
TT
10512020-11-04 Tom Tromey <tromey@adacore.com>
1052
1053 * gdb.ada/mod_from_name.exp: Test printing slice.
1054
57567375
TT
10552020-11-04 Tom Tromey <tromey@adacore.com>
1056
1057 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1058 values.
1059 * gdb.ada/access_to_unbounded_array.exp: Test different
1060 -fgnat-encodings values.
1061 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1062 values.
1063 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1064 values.
1065 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1066 values.
1067 * gdb.ada/array_of_variable_length.exp: Test different
1068 -fgnat-encodings values.
1069 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1070 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1071 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1072 change.
1073 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1074 values.
1075 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1076 * gdb.ada/out_of_line_in_inlined.exp: Test different
1077 -fgnat-encodings values.
1078 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1079 values.
1080 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1081 values.
1082 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1083 -fgnat-encodings values.
1084 * gdb.ada/variant_record_packed_array.exp: Test different
1085 -fgnat-encodings values.
1086
a7400e44
TT
10872020-11-04 Tom Tromey <tromey@adacore.com>
1088
1089 * gdb.ada/enum_idx_packed.exp: Add tests.
1090 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1091 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1092 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1093 declarations.
1094
c40907bf
TV
10952020-11-03 Tom de Vries <tdevries@suse.de>
1096
1097 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1098 terminator comments.
1099 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1100 terminator.
1101
f468977a
SM
11022020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1103
1104 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1105 integer format test with regexp.
1106
1c2bec19
GB
11072020-11-02 Gary Benson <gbenson@redhat.com>
1108
1109 * gdb.base/print-file-var.exp (test): Separate compiler and
1110 linker options, and build using build_executable_from_specs
1111 to accommodate this.
1112
6539a36d
GB
11132020-11-02 Gary Benson <gbenson@redhat.com>
1114
1115 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1116 for .c files compiled as C++ with Clang if any shared
1117 libraries are specified.
1118
7ea44a51
GB
11192020-11-02 Gary Benson <gbenson@redhat.com>
1120
1121 * lib/attributes.h: New header.
1122 * gdb.base/backtrace.c: Include the above. Replace
1123 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1124 * gdb.base/infcall-nested-structs.c: Likewise.
1125 * gdb.base/vla-optimized-out.c: Likewise.
1126
ab8f783d
TV
11272020-11-02 Tom de Vries <tdevries@suse.de>
1128
1129 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1130
d77c9224
JB
11312020-11-01 Joel Brobecker <brobecker@adacore.com>
1132
1133 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1134 System.Min_Int and System.Max_Int with smaller hardcoded
1135 constants.
1136
0e5b0dd0
SM
11372020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1138
1139 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1140 * configure: Re-generate.
1141
136821d9
SM
11422020-10-30 Simon Marchi <simon.marchi@efficios.com>
1143
1144 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1145 expected output.
1146
b78b3a29
TBA
11472020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1148
1149 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1150 behavior.
1151 * gdb.base/paginate-bg-execution.exp: Ditto.
1152 * gdb.base/paginate-inferior-exit.exp: Ditto.
1153 * gdb.base/double-prompt-target-event-error.c: Remove.
1154 * gdb.base/double-prompt-target-event-error.exp: Remove.
1155
cfaa8f76
TBA
11562020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1157
1158 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1159 inferiors' and 'detach inferiors' do not change the current
1160 inferior.
1161
0ad0e70c
TV
11622020-10-29 Tom de Vries <tdevries@suse.de>
1163
1164 * gdb.threads/tls.exp: Fix DUPLICATEs.
1165
99cc6b2a
TV
11662020-10-28 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1169
efe9b873
TV
11702020-10-28 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1173 * gdb.base/reread.exp: Same.
1174
6b68fd45
TV
11752020-10-28 Tom de Vries <tdevries@suse.de>
1176
1177 * lib/gdb.exp (readnow): Handle arg.
1178 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1179
32a5f98a
TV
11802020-10-28 Tom de Vries <tdevries@suse.de>
1181
1182 * gdb.base/relocate.exp: Update regexp for -readnow.
1183
f93b8760
TV
11842020-10-28 Tom de Vries <tdevries@suse.de>
1185
1186 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1187 -readnow.
1188
1b00ef06
TV
11892020-10-28 Tom de Vries <tdevries@suse.de>
1190
1191 PR symtab/26772
1192 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1193 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1194
364bb903
TV
11952020-10-28 Tom de Vries <tdevries@suse.de>
1196
1197 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1198 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1199 complaint during file command for -readnow.
1200
445a033f
TV
12012020-10-28 Tom de Vries <tdevries@suse.de>
1202
1203 * gdb.cp/nsalias.exp: Fix typo in test name.
1204
fdd67a42
TV
12052020-10-28 Tom de Vries <tdevries@suse.de>
1206
1207 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1208
706baf4c
TV
12092020-10-28 Tom de Vries <tdevries@suse.de>
1210
1211 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1212 -readnow.
1213
b448cca5
TV
12142020-10-27 Tom de Vries <tdevries@suse.de>
1215
1216 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1217
5868da03
TV
12182020-10-27 Tom de Vries <tdevries@suse.de>
1219
1220 * gdb.base/maint.exp: Update for -readnow.
1221
06db6ec3
TV
12222020-10-27 Tom de Vries <tdevries@suse.de>
1223
1224 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1225 -readnow.
1226
934a1764
GB
12272020-10-14 Gary Benson <gbenson@redhat.com>
1228
1229 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1230 "_vptr$Base" as correct, in addition to "_vptr.Base".
1231 (test_mixed): Likewise.
1232
0bf21fbd
GB
12332020-10-27 Gary Benson <gbenson@redhat.com>
1234
1235 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1236 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1237
b1d4d8d1
TBA
12382020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1239
1240 * gdb.base/condbreak.exp: Update the completion tests to
1241 consider the '-force' flag.
1242
bd24c5d6
TV
12432020-10-27 Tom de Vries <tdevries@suse.de>
1244
1245 * gdb.base/list-ambiguous-readnow.exp: New file.
1246
733d554a
TBA
12472020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1248
1249 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1250 the condition.
1251 * gdb.linespec/cpcompletion.exp: Update to consider the
1252 '-force-condition' keyword.
1253 * gdb.linespec/explicit.exp: Ditto.
1254 * lib/completion-support.exp: Ditto.
1255
b5fa468f
TBA
12562020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1257
1258 * gdb.base/condbreak-multi-context.cc: New file.
1259 * gdb.base/condbreak-multi-context.exp: New file.
1260
b3247276
TT
12612020-10-26 Tom Tromey <tom@tromey.com>
1262
1263 * lib/mi-support.exp (default_mi_gdb_start): Call
1264 gdb_stdin_log_init.
1265 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1266 subtract one from gdb_instances.
1267 (gdb_stdin_log_write): Flush in_file.
1268
1c47ec3e
TV
12692020-10-26 Tom de Vries <tdevries@suse.de>
1270
1271 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1272
6390859c
TT
12732020-10-26 Tom Tromey <tromey@adacore.com>
1274
1275 * gdb.ada/unsigned_range/foo.adb: New file.
1276 * gdb.ada/unsigned_range/pack.adb: New file.
1277 * gdb.ada/unsigned_range/pack.ads: New file.
1278 * gdb.ada/unsigned_range.exp: New file.
1279
55c3ad88
TV
12802020-10-26 Tom de Vries <tdevries@suse.de>
1281
1282 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1283
1612c4bb
TV
12842020-10-26 Tom de Vries <tdevries@suse.de>
1285
1286 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1287 for CU.
1288 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1289
7d72802b
TV
12902020-10-23 Tom de Vries <tdevries@suse.de>
1291
1292 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1293 DW_FORM_string.
1294 (Dwarf::_default_form): New proc.
1295 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1296 guessed.
1297
9476b583
TV
12982020-10-23 Tom de Vries <tdevries@suse.de>
1299
1300 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1301 * gdb.dwarf2/atomic-type.exp: Same.
1302 * gdb.dwarf2/bad-regnum.exp: Same.
1303 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1304 * gdb.dwarf2/dw2-align.exp: Same.
1305 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1306 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1307 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1308 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1309 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1310 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1311 * gdb.dwarf2/enum-type.exp: Same.
1312 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1313 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1314 * gdb.dwarf2/main-subprogram.exp: Same.
1315 * gdb.dwarf2/missing-type-name.exp: Same.
1316 * gdb.dwarf2/nonvar-access.exp: Same.
1317 * gdb.dwarf2/typedef-void-finish.exp: Same.
1318 * gdb.dwarf2/var-access.exp: Same.
1319 * gdb.dwarf2/void-type.exp: Same.
1320
4a636814
SM
13212020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1322
1323 PR gdb/26693
1324 * gdb.dwarf2/template-specification-full-name.exp: New test.
1325
557fc257
LM
13262020-10-22 Luis Machado <luis.machado@linaro.org>
1327
1328 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1329 expected an offset from the function.
1330 * gdb.base/msym-bp.exp (test): Likewise.
1331
6b4c676c
AB
13322020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1333
1334 * gdb.fortran/array-slices.exp: Add a new test.
1335
98cec4f6
GB
13362020-10-21 Gary Benson <gbenson@redhat.com>
1337
1338 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1339 fullname test with Clang. Also expand comments generally.
1340
ae86f581
TV
13412020-10-20 Tom de Vries <tdevries@suse.de>
1342
1343 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1344
8c161360
TV
13452020-10-20 Tom de Vries <tdevries@suse.de>
1346
1347 * gdb.dwarf2/arr-stride.c: Remove.
1348 * gdb.dwarf2/arr-stride.exp: Use main.c.
1349 * gdb.dwarf2/arr-subrange.c: Remove.
1350 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1351 * gdb.dwarf2/bad-regnum.c: Remove.
1352 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1353 * gdb.dwarf2/corrupt.c: Remove.
1354 * gdb.dwarf2/corrupt.exp: Use main.c.
1355 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1356 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1357 * gdb.dwarf2/dw2-icycle.c: Remove.
1358 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1359 * gdb.dwarf2/formdata16.c: Remove.
1360 * gdb.dwarf2/formdata16.exp: Use main.c.
1361 * gdb.dwarf2/implptrconst.c: Remove.
1362 * gdb.dwarf2/implptrconst.exp: Use main.c.
1363 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1364 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1365 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1366 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1367
9c2412ec
TV
13682020-10-20 Tom de Vries <tdevries@suse.de>
1369
1370 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1371 file.
1372 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1373
0cd2ad78
TV
13742020-10-20 Tom de Vries <tdevries@suse.de>
1375
1376 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1377 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1378 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1379 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1380 * gdb.dwarf2/dw2-ranges.exp: Same.
1381 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1382 * gdb.dwarf2/var-access.exp: Same.
1383
22cc388e
TT
13842020-10-19 Tom Tromey <tromey@adacore.com>
1385
1386 PR tui/26719
1387 * gdb.tui/list.exp: Check source window contents after focus
1388 change.
1389
520596f2
TV
13902020-10-17 Tom de Vries <tdevries@suse.de>
1391
1392 PR symtab/26317
1393 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1394
d1c8a76d
TV
13952020-10-17 Tom de Vries <tdevries@suse.de>
1396
1397 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1398 as suffix.
1399 * gdb.dwarf2/atomic.c: Rename to ...
1400 * gdb.dwarf2/atomic-type.c: ... this.
1401 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1402 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1403 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1404 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1405 * gdb.dwarf2/fission-mix2.c: Rename to ...
1406 * gdb.dwarf2/fission-mix-2.c: ... this.
1407 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1408 standard_testfile.
1409 * gdb.dwarf2/ada-valprint-error.exp: Same.
1410 * gdb.dwarf2/arr-stride.exp: Same.
1411 * gdb.dwarf2/arr-subrange.exp: Same.
1412 * gdb.dwarf2/atomic-type.exp: Same.
1413 * gdb.dwarf2/bad-regnum.exp: Same.
1414 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1415 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1416 * gdb.dwarf2/clang-debug-names.exp: Same.
1417 * gdb.dwarf2/comp-unit-lang.exp: Same.
1418 * gdb.dwarf2/corrupt.exp: Same.
1419 * gdb.dwarf2/count.exp: Same.
1420 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1421 * gdb.dwarf2/data-loc.exp: Same.
1422 * gdb.dwarf2/dw2-align.exp: Same.
1423 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1424 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1425 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1426 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1427 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1428 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1429 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1430 * gdb.dwarf2/dw2-inline-param.exp: Same.
1431 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1432 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1433 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1434 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1435 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1436 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1437 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1438 * gdb.dwarf2/dw2-param-error.exp: Same.
1439 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1440 * gdb.dwarf2/dw2-ranges.exp: Same.
1441 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1442 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1443 * gdb.dwarf2/dw4-sig-types.exp: Same.
1444 * gdb.dwarf2/dynarr-ptr.exp: Same.
1445 * gdb.dwarf2/enum-type.exp: Same.
1446 * gdb.dwarf2/fission-mix.exp: Same.
1447 * gdb.dwarf2/formdata16.exp: Same.
1448 * gdb.dwarf2/implptrconst.exp: Same.
1449 * gdb.dwarf2/implptrpiece.exp: Same.
1450 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1451 * gdb.dwarf2/main-subprogram.exp: Same.
1452 * gdb.dwarf2/method-ptr.exp: Same.
1453 * gdb.dwarf2/missing-sig-type.exp: Same.
1454 * gdb.dwarf2/nonvar-access.exp: Same.
1455 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1456 * gdb.dwarf2/shortpiece.exp: Same.
1457 * gdb.dwarf2/staticvirtual.exp: Same.
1458 * gdb.dwarf2/subrange.exp: Same.
1459 * gdb.dwarf2/symtab-producer.exp: Same.
1460 * gdb.dwarf2/typedef-void-finish.exp: Same.
1461 * gdb.dwarf2/var-access.exp: Same.
1462 * gdb.dwarf2/variant.exp: Same.
1463 * gdb.dwarf2/void-type.exp: Same.
1464 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1465 dw2-ranges-main.c.
1466 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1467
472d09c1
TV
14682020-10-16 Tom de Vries <tdevries@suse.de>
1469
1470 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1471
afe75f6d
TV
14722020-10-16 Tom de Vries <tdevries@suse.de>
1473
1474 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1475
8c8bd0ba
TV
14762020-10-14 Tom de Vries <tdevries@suse.de>
1477
1478 PR testsuite/26732
1479 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1480 scenario 2.
1481 * gdb.ada/mi_catch_ex_hand.exp: Same.
1482
b75d55d4
PA
14832020-10-13 Pedro Alves <pedro@palves.net>
1484
1485 * lib/mi-support.exp (mi_clean_restart): New.
1486 (mi_run_to_main): Delete.
1487 All callers adjust to use mi_clean_restart / mi_runto_main.
1488
e777225b
PA
14892020-10-13 Pedro Alves <pedro@palves.net>
1490
1491 * config/monitor.exp: Use "list -q".
1492 * gdb.arch/gdb1558.exp: Use "break -q".
1493 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1494 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1495 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1496 * gdb.base/commands.exp: Use "break -q".
1497 * gdb.base/condbreak.exp: Use "break -q".
1498 * gdb.base/ctf-ptype.exp: Use "list -q".
1499 * gdb.base/define.exp: Use "break -q".
1500 * gdb.base/del.exp: Use "break -q".
1501 * gdb.base/fullname.exp: Use "break -q".
1502 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1503 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1504 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1505 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1506 "hbreak -q".
1507 * gdb.base/included.exp: Use "list -q".
1508 * gdb.base/label.exp: Use "break -q".
1509 * gdb.base/lineinc.exp: Use "break -q".
1510 * gdb.base/list.exp: Use "list -q".
1511 * gdb.base/macscp.exp: Use "list -q".
1512 * gdb.base/pending.exp: Use "break -q".
1513 * gdb.base/prologue-include.exp: Use "break -q".
1514 * gdb.base/ptype.exp: Use "list -q".
1515 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1516 * gdb.base/server-del-break.exp: Use "break -q".
1517 * gdb.base/style.exp: Use "break -q".
1518 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1519 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1520 * gdb.cp/exception.exp: Use "tbreak -q".
1521 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1522 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1523 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1524 * gdb.dwarf2/pr13961.exp: Use "break -q".
1525 * gdb.linespec/explicit.exp: Use "list -q".
1526 * gdb.linespec/linespec.exp: Use "break -q".
1527 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1528 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1529 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1530 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1531 * gdb.trace/change-loc.exp: Use "break -q".
1532 * gdb.trace/pending.exp: Use "break -q".
1533 * gdb.tui/basic.exp: Use "list -q".
1534 * gdb.tui/list-before.exp: Use "list -q".
1535 * gdb.tui/list.exp: Use "list -q".
1536 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1537
8abd8ee8
PA
15382020-10-13 Pedro Alves <pedro@palves.net>
1539
1540 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1541 saved breakpoints file.
1542 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1543 inspecting breakpoint list.
1544 * lib/gdb.exp (runto_main): Add "qualified" to options.
1545 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1546 and handle it.
1547 (mi_runto_main): Pass 1 as qualified argument.
1548
f71e6719
PA
15492020-10-13 Pedro Alves <pedro@palves.net>
1550
1551 * lib/mi-support.exp (mi_runto_main): New proc.
1552 (mi_run_to_main): Use it.
1553 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1554 * gdb.mi/mi-var-cmd.exp: Likewise.
1555 * gdb.mi/mi-var-invalidate.exp: Likewise.
1556 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1557 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1558 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1559 * gdb.mi/user-selected-context-sync.exp: Likewise.
1560 * gdb.opt/inline-cmds.exp: Likewise.
1561 * gdb.python/py-framefilter-mi.exp: Likewise.
1562 * gdb.python/py-mi.exp: Likewise.
1563
50441f0f
PA
15642020-10-13 Pedro Alves <pedro@palves.net>
1565
1566 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1567 "runto main".
1568 * gdb.ada/small_reg_param.exp: Likewise.
1569 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1570 * gdb.base/annota1.exp: Likewise.
1571 * gdb.base/anon.exp: Likewise.
1572 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1573 * gdb.base/dprintf-non-stop.exp: Likewise.
1574 * gdb.base/dprintf.exp: Likewise.
1575 * gdb.base/gdb11530.exp: Likewise.
1576 * gdb.base/gdb11531.exp: Likewise.
1577 * gdb.base/gnu_vector.exp: Likewise.
1578 * gdb.base/interrupt-noterm.exp: Likewise.
1579 * gdb.base/memattr.exp: Likewise.
1580 * gdb.base/step-over-syscall.exp: Likewise.
1581 * gdb.base/watch-cond-infcall.exp: Likewise.
1582 * gdb.base/watch-read.exp: Likewise.
1583 * gdb.base/watch-vfork.exp: Likewise.
1584 * gdb.base/watch_thread_num.exp: Likewise.
1585 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1586 * gdb.guile/scm-frame-inline.exp: Likewise.
1587 * gdb.linespec/explicit.exp: Likewise.
1588 * gdb.opt/inline-break.exp: Likewise.
1589 * gdb.python/py-frame-inline.exp: Likewise.
1590 * gdb.reverse/break-precsave.exp: Likewise.
1591 * gdb.reverse/break-reverse.exp: Likewise.
1592 * gdb.reverse/consecutive-precsave.exp: Likewise.
1593 * gdb.reverse/consecutive-reverse.exp: Likewise.
1594 * gdb.reverse/finish-precsave.exp: Likewise.
1595 * gdb.reverse/finish-reverse.exp: Likewise.
1596 * gdb.reverse/fstatat-reverse.exp: Likewise.
1597 * gdb.reverse/getresuid-reverse.exp: Likewise.
1598 * gdb.reverse/i386-precsave.exp: Likewise.
1599 * gdb.reverse/i386-reverse.exp: Likewise.
1600 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1601 * gdb.reverse/i387-env-reverse.exp: Likewise.
1602 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1603 * gdb.reverse/insn-reverse.exp: Likewise.
1604 * gdb.reverse/machinestate-precsave.exp: Likewise.
1605 * gdb.reverse/machinestate.exp: Likewise.
1606 * gdb.reverse/pipe-reverse.exp: Likewise.
1607 * gdb.reverse/readv-reverse.exp: Likewise.
1608 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1609 * gdb.reverse/rerun-prec.exp: Likewise.
1610 * gdb.reverse/s390-mvcle.exp: Likewise.
1611 * gdb.reverse/solib-precsave.exp: Likewise.
1612 * gdb.reverse/solib-reverse.exp: Likewise.
1613 * gdb.reverse/step-precsave.exp: Likewise.
1614 * gdb.reverse/step-reverse.exp: Likewise.
1615 * gdb.reverse/time-reverse.exp: Likewise.
1616 * gdb.reverse/until-precsave.exp: Likewise.
1617 * gdb.reverse/until-reverse.exp: Likewise.
1618 * gdb.reverse/waitpid-reverse.exp: Likewise.
1619 * gdb.reverse/watch-precsave.exp: Likewise.
1620 * gdb.reverse/watch-reverse.exp: Likewise.
1621 * gdb.threads/kill.exp: Likewise.
1622 * gdb.threads/tid-reuse.exp: Likewise.
1623
d3a07122
SM
16242020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1625
1626 PR gdb/26642
1627 * gdb.base/maint-target-async-off.c: New test.
1628 * gdb.base/maint-target-async-off.exp: New test.
1629
c65c6c42
AM
16302020-10-13 Alan Modra <amodra@gmail.com>
1631
1632 * gdb.arch/powerpc-altivec.s,
1633 * gdb.arch/powerpc-power7.s,
1634 * gdb.arch/powerpc-power8.s,
1635 * gdb.arch/powerpc-power9.s,
1636 * gdb.arch/powerpc-vsx.s,
1637 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1638 * gdb.arch/powerpc-altivec.exp,
1639 * gdb.arch/powerpc-power7.exp,
1640 * gdb.arch/powerpc-power8.exp,
1641 * gdb.arch/powerpc-power9.exp,
1642 * gdb.arch/powerpc-vsx.exp,
1643 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1644 disassembly of mfvsrd/mtvsrd.
1645
f4a0f710
AM
16462020-10-13 Alan Modra <amodra@gmail.com>
1647
1648 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1649 "target architecture" output.
1650 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1651 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1652 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1653 * gdb.arch/s390-disassembler-options.exp: Likewise.
1654
87a37e5e
PA
16552020-10-12 Pedro Alves <pedro@palves.net>
1656
1657 PR exp/26602
1658 PR c++/26550
1659 * gdb.cp/ambiguous.cc (marker1): Delete.
1660 (main): Initialize all the fields of the locals. Replace marker1
1661 call with a "set breakpoint here" marker.
1662 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1663 instead of running to marker1. Add tests printing all the
1664 variables and all the fields of the variables.
1665 (test_ambiguous): New proc, expecting the new GDB output when a
1666 field access is ambiguous. Change all "warning: X ambiguous"
1667 tests to use it.
1668
71e1b6b0
GB
16692020-10-12 Gary Benson <gbenson@redhat.com>
1670
1671 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1672 * gdb.base/msym-bp-2.c (foo): Likewise.
1673 * gdb.base/msym-lang.c (foo): Likewise.
1674 * gdb.base/msym-lang-main.c (foo): Likewise.
1675 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1676 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1677 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1678 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1679 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1680 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1681 * gdb.python/py-objfile.c (static_var): Likewise.
1682 * gdb.python/py-symbol.c (rr): Likewise.
1683 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1684 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1685
9370fd51
AB
16862020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1687
1688 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1689 output of backtrace.
1690
7c184d33
TT
16912020-10-09 Tom Tromey <tromey@adacore.com>
1692
1693 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1694 (Rec): Add field. Fix range.
1695 * gdb.ada/scalar_storage.exp: Update.
1696
3d87245c
HD
16972020-10-09 Hannes Domani <ssbssa@yahoo.de>
1698
1699 PR exp/26714
1700 * gdb.base/printcmds.exp: Add tests for void results.
1701
f5c4b229
JV
17022020-10-09 Jan Vrany <jan.vrany@labware.com>
1703
1704 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1705 is emmited for both 'set directories' and 'directory' commands.
1706
b2701685
TT
17072020-10-08 Tom Tromey <tom@tromey.com>
1708
1709 * gdb.base/style.exp: Check that "main"'s name is styled.
1710
e86efb33
TT
17112020-10-07 Tom Tromey <tromey@adacore.com>
1712
1713 * gdb.base/find.exp: Rename some tests.
1714
30897591
GB
17152020-10-06 Gary Benson <gbenson@redhat.com>
1716
1717 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1718 * gdb.base/list1.c (unused): Likewise.
1719
ced4a4c1
GB
17202020-10-06 Gary Benson <gbenson@redhat.com>
1721
1722 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1723 __attribute__ ((used)).
1724 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1725
ed3bdac4
AB
17262020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1727
1728 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1729 make use of regions throughout.
1730 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1731 not {...}.
1732 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1733
cd096ec8
HD
17342020-10-05 Hannes Domani <ssbssa@yahoo.de>
1735
1736 * gdb.base/call-sc.c: Fix return struct on stack test case.
1737 * gdb.base/call-sc.exp: Likewise.
1738
3ee6f75d
GB
17392020-10-02 Gary Benson <gbenson@redhat.com>
1740
1741 * README: Fix "paralell".
1742
f65825ec
GB
17432020-09-30 Gary Benson <gbenson@redhat.com>
1744
1745 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1746 Convert directive to lowercase.
1747 (.Labbrev1_begin): Add missing label.
1748 (abbrev code 0x1): Remove DW_AT_stmt_list.
1749 (.Ldie_b): Likewise.
1750
5f278258
TT
17512020-09-27 Tom Tromey <tom@tromey.com>
1752
1753 * gdb.tui/new-layout.exp: Use with_test_prefix.
1754
8f9929bb
GR
17552020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1756
1757 PR python/26586
1758 * gdb.python/python.exp: add test cases for the from_tty
1759 argument to gdb.execute.
1760
c20c017b
GB
17612020-09-25 Gary Benson <gbenson@redhat.com>
1762
1763 * gdb.base/infcall-nested-structs.exp.tcl: Add
1764 additional_flags=-Wno-tautological-compare for C++
1765 tests when compiling using Clang.
1766
68d654af
GB
17672020-09-25 Gary Benson <gbenson@redhat.com>
1768
1769 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1770 for .c files.
1771
b551a89f
TT
17722020-09-24 Tom Tromey <tromey@adacore.com>
1773
1774 PR tui/26638:
1775 * gdb.tui/list.exp: Check output of "focus next".
1776
20a5fcbd
TT
17772020-09-23 Tom Tromey <tom@tromey.com>
1778
1779 * gdb.dwarf2/intbits.exp: New file.
1780 * gdb.dwarf2/intbits.c: New file.
1781
b167e53f
PA
17822020-09-20 Pedro Alves <pedro@palves.net>
1783
1784 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1785 spawn_id before calling remote_close. Close secondary MI channel.
1786
dbc49e9f
PA
17872020-09-20 Pedro Alves <pedro@palves.net>
1788
1789 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1790 fails.
1791
c8d5abea
AB
17922020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1793
1794 * gdb.fortran/array-slices.exp: Update expected results.
1795 * gdb.fortran/class-allocatable-array.exp: Likewise.
1796 * gdb.fortran/multi-dim.exp: Likewise.
1797 * gdb.fortran/vla-type.exp: Likewise.
1798 * gdb.mi/mi-vla-fortran.exp: Likewise.
1799
14f9473c
VC
18002020-09-18 Victor Collod <vcollod@nvidia.com>
1801
1802 PR gdb/26635
1803 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1804 compatible with i386, and move it to...
1805 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1806 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1807 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1808
e8ef12b9
PA
18092020-09-18 Pedro Alves <pedro@palves.net>
1810
1811 PR gdb/26631
1812 * gdb.multi/multi-target-thread-find.exp: New file.
1813
e11daf7a
PA
18142020-09-18 Pedro Alves <pedro@palves.net>
1815
1816 * gdb.multi/multi-target-continue.exp: New file, factored out from
1817 multi-target.exp.
1818 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1819 multi-target.exp.
1820 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1821 multi-target.exp.
1822 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1823 multi-target.exp.
1824 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1825 multi-target.exp.
1826 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1827 multi-target.exp.
1828 * gdb.multi/multi-target.exp: Delete.
1829
d0edc2b8
AB
18302020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * gdb.fortran/array-slices.exp: Add missing message data.
1833
7474326c
PA
18342020-09-17 Pedro Alves <pedro@palves.net>
1835
1836 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1837
dd23068d
PA
18382020-09-17 Pedro Alves <pedro@palves.net>
1839
1840 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1841 full prototype.
1842
0640a543
PA
18432020-09-17 Pedro Alves <pedro@palves.net>
1844
1845 * gdb.python/py-as-string.c: Add cast.
1846
ef0cdbc1
PA
18472020-09-17 Pedro Alves <pedro@palves.net>
1848
1849 * gdb.base/sizeof.c (fill): Add cast.
1850
3a5eeb8b
PA
18512020-09-17 Pedro Alves <pedro@palves.net>
1852
1853 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1854
a8129512
PA
18552020-09-17 Pedro Alves <pedro@palves.net>
1856
1857 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1858 linkage name.
1859 * gdb.base/prologue.exp: Use print /d.
1860 * gdb.base/symbol-alias.exp: Handle C++ output.
1861 * gdb.base/symbol-alias2.c: Handle C++ output.
1862 [__cplusplus] (func): Explicitly specify linkage name.
1863
a83cdcb6
PA
18642020-09-17 Pedro Alves <pedro@palves.net>
1865
1866 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1867 (struct my_key_t): ... this. Adjust all references.
1868 (struct value_t): Rename to ...
1869 (struct my_value_t): ... this. Adjust all references.
1870 (create_map, add_map_element, create_map_map)
1871 (add_map_map_element): Add casts.
1872
d4bcee5c
PA
18732020-09-17 Pedro Alves <pedro@palves.net>
1874
1875 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1876 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1877
81f90489
PA
18782020-09-17 Pedro Alves <pedro@palves.net>
1879
1880 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1881
0a229804
PA
18822020-09-17 Pedro Alves <pedro@palves.net>
1883
1884 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1885 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1886 (charfoo, intfoo): Define full prototype.
1887 * gdb.base/ptype1.c (charfoo): Define full prototype.
1888 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1889 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1890
c3e5138d
PA
18912020-09-17 Pedro Alves <pedro@palves.net>
1892
1893 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1894 Don't define.
1895 (utf_32_string): Compile for both C and C++.
1896 * gdb.base/charset.exp: Use "print /d".
1897
151fdbad
PA
18982020-09-17 Pedro Alves <pedro@palves.net>
1899
1900 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1901 (nullptr): Rename to ...
1902 (null_ptr): ... this.
1903 * gdb.base/watchpoint.exp: Adjust to rename.
1904
18a25b64
PA
19052020-09-17 Pedro Alves <pedro@palves.net>
1906
1907 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1908 (three_not_flag): Add casts.
1909
11fac337
PA
19102020-09-17 Pedro Alves <pedro@palves.net>
1911
1912 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1913 char array.
1914 (main): Add references to Barrier, TestStrings, TestStringsH and
1915 TestStringsW.
1916 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1917 and expect a full prototype in C++.
1918
52626c58
PA
19192020-09-17 Pedro Alves <pedro@palves.net>
1920
1921 * gdb.base/nested-addr.c (main): Add cast.
1922 * gdb.base/nested-addr.exp: Use "print /d".
1923
52bb0902
PA
19242020-09-17 Pedro Alves <pedro@palves.net>
1925
1926 * gdb.base/break.exp (func): New. Use it throughout when
1927 expecting a function name.
1928
73e18ac9
PA
19292020-09-17 Pedro Alves <pedro@palves.net>
1930
1931 * gdb.base/display.exp: Issue "set print asm-demangle on".
1932
c8b18808
PA
19332020-09-17 Pedro Alves <pedro@palves.net>
1934
1935 * gdb.base/find.c: Include <string.h>.
1936 (init_bufs): Add cast.
1937 * gdb.base/find.exp: Issue "set print asm-demangle on".
1938
fe830662
TT
19392020-09-16 Tom Tromey <tromey@adacore.com>
1940
1941 PR gdb/26598:
1942 * gdb.base/skipcxx.exp: New file.
1943 * gdb.base/skipcxx.cc: New file.
1944
945ff6e2
TV
19452020-09-16 Tom de Vries <tdevries@suse.de>
1946
1947 PR testsuite/26617
1948 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1949 WITH_DEBUG_SECTIONS is defined.
1950 (xstr, str): New macro.
1951 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1952 to get start and size of _Dmain.
1953 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1954 using additional_flags.
1955
da1df1db
TBA
19562020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1957
1958 * gdb.base/bp-cmds-sourced-script.c: New file.
1959 * gdb.base/bp-cmds-sourced-script.exp: New test.
1960 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1961
337882d4
TV
19622020-09-16 Tom de Vries <tdevries@suse.de>
1963
1964 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1965 get the gdb prompt after issuing "monitor exit".
1966
7361f908
TV
19672020-09-16 Tom de Vries <tdevries@suse.de>
1968
1969 PR testsuite/26624
1970 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1971
4d91ddd3
TV
19722020-09-16 Tom de Vries <tdevries@suse.de>
1973
1974 PR testsuite/26618
1975 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1976
08cc37dd
TT
19772020-09-15 Tom Tromey <tromey@adacore.com>
1978
1979 PR rust/26197:
1980 * lib/rust-support.exp (rust_llvm_version): New proc.
1981 * gdb.rust/simple.exp: Check rust_llvm_version.
1982
ee6372f2
TV
19832020-09-14 Tom de Vries <tdevries@suse.de>
1984
1985 * gdb.rust/traits.exp: Fix PATH warning.
1986
dc3a371e
PA
19872020-09-13 Pedro Alves <pedro@palves.net>
1988
1989 * gdb.base/catch-follow-exec.c (main): Add explicit return
1990 statement.
1991 * gdb.base/catch-signal.c (main): Likewise.
1992 * gdb.base/condbreak-call-false.c (main): Likewise.
1993 * gdb.base/consecutive.c (main): Add explicit return
1994 statement and return type.
1995 * gdb.base/cursal.c (main): Add explicit return statement.
1996 * gdb.base/cvexpr.c (main): Likewise.
1997 * gdb.base/display.c (main): Add explicit return statement and
1998 return type.
1999 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2000 * gdb.base/endianity.c (main): Likewise.
2001 * gdb.base/execd-prog.c (main): Likewise.
2002 * gdb.base/gdb1090.c (main): Likewise.
2003 * gdb.base/info_qt.c (main): Likewise.
2004 * gdb.base/lineinc.c (main): Likewise.
2005 * gdb.base/load-command.c (main): Likewise.
2006 * gdb.base/macscp1.c (main): Likewise.
2007 * gdb.base/pr10179-a.c (main): Likewise.
2008 * gdb.base/quit-live.c (main): Likewise.
2009 * gdb.base/scope0.c (main): Likewise.
2010 * gdb.base/settings.c (main): Likewise.
2011 * gdb.base/stack-checking.c (main): Return int.
2012 * gdb.base/varargs.c (main): Add explicit return statement.
2013 * gdb.cp/ambiguous.cc (main): Likewise.
2014 * gdb.cp/anon-struct.cc (main): Likewise.
2015 * gdb.cp/anon-union.cc (main): Likewise.
2016 * gdb.cp/bool.cc (main): Likewise.
2017 * gdb.cp/bs15503.cc (main): Likewise.
2018 * gdb.cp/cplusfuncs.cc (main): Likewise.
2019 * gdb.cp/cttiadd.cc (main): Likewise.
2020 * gdb.cp/extern-c.cc (main): Likewise.
2021 * gdb.cp/filename.cc (main): Likewise.
2022 * gdb.cp/formatted-ref.cc (main): Likewise.
2023 * gdb.cp/mb-ctor.cc (main): Likewise.
2024 * gdb.cp/member-ptr.cc (main): Likewise.
2025 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2026 * gdb.cp/overload-const.cc (main): Likewise.
2027 * gdb.cp/paren-type.cc (main): Likewise.
2028 * gdb.cp/parse-lang.cc (main): Likewise.
2029 * gdb.cp/pr-1023.cc (main): Likewise.
2030 * gdb.cp/psmang1.cc (main): Likewise.
2031 * gdb.cp/readnow-language.cc (main): Likewise.
2032 * gdb.cp/ref-params.cc (main): Likewise.
2033 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2034 * gdb.cp/virtbase2.cc (main): Likewise.
2035 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2036 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2037 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2038 * gdb.mi/mi-console.c (main): Likewise.
2039 * gdb.mi/mi-read-memory.c (main): Likewise.
2040 * gdb.modula2/multidim.c (main): Likewise.
2041 * gdb.opt/inline-small-func.c (main): Likewise.
2042 * gdb.python/py-rbreak.c (main): Likewise.
2043 * gdb.stabs/exclfwd1.c (main): Likewise.
2044 * gdb.trace/qtro.c (main): Likewise.
2045
af26601c
PA
20462020-09-13 Pedro Alves <pedro@palves.net>
2047
2048 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2049 instead of getenv.
2050
2f4b83cd
PA
20512020-09-13 Pedro Alves <pedro@palves.net>
2052
2053 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2054 instead of spawning GDB with remote_spawn.
2055 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2056 gdb_spawn instead of spawning GDB with remote_spawn.
2057
c49da0e4
PA
20582020-09-13 Pedro Alves <pedro@palves.net>
2059
2060 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2061 file and add calls to first and second.
2062 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2063 add call to f.
2064
6791b117
PA
20652020-09-13 Pedro Alves <pedro@palves.net>
2066
2067 * gdb.mi/mi-break-qualified.cc: New file.
2068 * gdb.mi/mi-break-qualified.exp: New file.
2069 * lib/mi-support.exp (mi_create_breakpoint_multi)
2070 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2071 procedures.
2072 (mi_create_breakpoint_1): New, factored out from
2073 mi_create_breakpoint.
2074
3b8d4c5c
PA
20752020-09-13 Pedro Alves <pedro@palves.net>
2076
2077 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2078 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2079 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2080 (register_class): Delete.
2081 (main): Don't call register_class.
2082
d5f96005
PA
20832020-09-13 Pedro Alves <pedro@palves.net>
2084
2085 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2086 (do_tests): Remove "calling method for small class" test.
2087 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2088 (register_class): Delete.
2089 (main): Don't call register_class.
2090 * gdb.cp/call-method-register.exp: New file, based on bits removed
2091 from classes.exp.
2092 * gdb.cp/call-method-register.cc: New file, based on bits removed
2093 from classes.cc.
2094
77f2120b
PA
20952020-09-13 Pedro Alves <pedro@palves.net>
2096
2097 * gdb.base/msym-bp-2.c: New.
2098 * gdb.base/msym-bp-shl-lib.c: New file.
2099 * gdb.base/msym-bp-shl-main-2.c: New file.
2100 * gdb.base/msym-bp-shl-main.c: New file.
2101 * gdb.base/msym-bp-shl.exp: New file.
2102 * gdb.base/msym-bp.c: New file.
2103 * gdb.base/msym-bp.exp: New file.
2104
32aea73e
JB
21052020-09-13 Joel Brobecker <brobecker@adacore.com>
2106
2107 * gdb.base/default.exp: Change $_gdb_major to 11.
2108
2a67f09d
FW
21092020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2110 Felix Willgerodt <Felix.Willgerodt@intel.com>
2111
2112 * x86-avx512bf16.c: New file.
2113 * x86-avx512bf16.exp: Likewise.
2114 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2115
ad570dd7
TV
21162020-09-11 Tom de Vries <tdevries@suse.de>
2117
2118 PR exp/26602
2119 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2120
a56f7391
TBA
21212020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2122
2123 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2124
918619e5
AM
21252020-09-10 Alan Modra <amodra@gmail.com>
2126
2127 PR 26597
2128 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2129
cac1e71d
TV
21302020-09-08 Tom de Vries <tdevries@suse.de>
2131
2132 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2133 after gdb_starti_cmd.
2134
c5cd900e
AKS
21352020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2136
2137 * lib/fortran.exp (fortran_complex8): New proc.
2138 (fortran_complex16): New proc.
2139 * gdb.fortran/complex.exp: Use routines from fortran.exp
2140 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2141 * gdb.fortran/vla-ptr-info.exp: Likewise.
2142
8f5c6526
TV
21432020-09-03 Tom de Vries <tdevries@suse.de>
2144
2145 PR breakpoint/26546
2146 * gdb.base/label-without-address.exp: Runto main first.
2147
02c6f3f1
TT
21482020-09-02 Tom Tromey <tromey@adacore.com>
2149
2150 * gdb.ada/mi_var_access.exp: Test children of access variable.
2151 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2152 * gdb.ada/mi_var_array.exp: Update.
2153
efe24f05
KB
21542020-08-31 Kevin Buettner <kevinb@redhat.com>
2155
2156 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2157 on docker w/ AUFS storage driver.
2158
973695d6
KB
21592020-08-31 Kevin Buettner <kevinb@redhat.com>
2160
2161 * gdb.base/corefile2.exp (renamed binfile): New tests.
2162
f3bd50f1
SM
21632020-08-31 Simon Marchi <simon.marchi@efficios.com>
2164
2165 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2166
22b9b4b0
SL
21672020-08-31 Simon Marchi <simon.marchi@efficios.com>
2168
2169 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2170 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2171
8efaf6b3
SM
21722020-08-31 Simon Marchi <simon.marchi@efficios.com>
2173
2174 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2175 output, printing a "not saved" value from history and printing a
2176 convenience variable created from a "not saved" value.
2177
e840f2e3
TV
21782020-08-31 Tom de Vries <tdevries@suse.de>
2179
2180 * gdb.base/eh_return.exp: Use nopie.
2181
8f57f343
PA
21822020-08-28 Pedro Alves <pedro@palves.net>
2183
2184 * gdb.base/advance-until-multiple-locations.exp
2185 (advance_overload, until_overload): Adjust to match the
2186 frame/function header instead of the source line text.
2187
626d2320
TV
21882020-08-28 Tom de Vries <tdevries@suse.de>
2189
2190 * gdb.base/label-without-address.c: New test.
2191 * gdb.base/label-without-address.exp: New file.
2192
df631783
PA
21932020-08-27 Pedro Alves <pedro@palves.net>
2194
2195 PR gdb/26523
2196 PR gdb/26524
2197 * gdb.base/advance-until-multiple-locations.cc: New.
2198 * gdb.base/advance-until-multiple-locations.exp: New.
2199
48b076bb
SM
22002020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2201
2202 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2203
c2015ce4
AB
22042020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2205
2206 * gdb.arch/amd64-byte.exp: Make test names unique, use
2207 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2208 * gdb.arch/amd64-dword.exp: Likewise.
2209 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2210 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2211 unique.
2212 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2213 * gdb.arch/amd64-word.exp: Make test names unique, use
2214 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2215 * gdb.arch/i386-byte.exp: Make test names unique, use
2216 gdb_breakpoint.
2217 * gdb.arch/i386-word.exp: Likewise.
2218
995d3a19
SV
22192020-08-25 Shahab Vahedi <shahab@synopsys.com>
2220
2221 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2222
8cac2b31
SM
22232020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2224
2225 PR gdb/26532
2226 * gdb.threads/stepi-random-signal.exp: Update pattern.
2227
2bc19622
SM
22282020-08-25 Simon Marchi <simon.marchi@efficios.com>
2229
2230 PR gdb/26532
2231 * gdb.base/ui-redirect.exp: Update pattern.
2232
b04aa1fc
GB
22332020-08-25 Gary Benson <gbenson@redhat.com>
2234
2235 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2236 when compiling with clang.
8571e9c8 2237 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2238
9f68b453
GB
22392020-08-25 Gary Benson <gbenson@redhat.com>
2240
2241 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2242 Add additional_flags=-Wno-inaccessible-base when compiling
2243 with GCC >= 10.1 or clang. Add additional_flags=-w when
2244 compiling with GCC < 10.
2245
3945d2d7
GM
22462020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2247
2248 PR m2/26372
fc5d6901
SM
2249 * gdb.modula2/multidim.c: New file.
2250 * gdb.modula2/multidim.exp: New file.
3945d2d7 2251
60122dbe
SM
22522020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2253
2254 * lib/gdb.exp (runto): Always emit fail on internal error.
2255
1eb8556f
SM
22562020-08-24 Simon Marchi <simon.marchi@efficios.com>
2257
2258 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2259 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2260 Likewise.
2261 * gdb.threads/stepi-random-signal.exp: Likewise.
2262
33bf4c5c
TBA
22632020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2264
2265 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2266 * gdb.trace/strace.exp: Ditto.
2267
c2fd7fae
AKS
22682020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2269
2270 * gdb.fortran/vla-type.exp: Skip commands not required for
2271 the Flang compiled binaries after prologue fix.
2272
326afb72
TT
22732020-08-17 Tom de Vries <tdevries@suse.de>
2274 Tom Tromey <tromey@adacore.com>
2275
2276 PR rust/26197:
2277 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2278
3ae7ab99
TT
22792020-08-17 Tom Tromey <tromey@adacore.com>
2280
2281 * gdb.ada/mi_var_access.exp: New file.
2282 * gdb.ada/mi_var_access/mi_access.adb: New file.
2283 * gdb.ada/mi_var_access/pck.adb: New file.
2284 * gdb.ada/mi_var_access/pck.ads: New file.
2285
f569c1c5
TV
22862020-08-16 Tom de Vries <tdevries@suse.de>
2287
2288 PR gdb/25350
2289 * gdb.base/eh_return.c: New test.
2290 * gdb.base/eh_return.exp: New file.
2291
3d11c30a
TV
22922020-08-15 Tom de Vries <tdevries@suse.de>
2293
2294 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2295 (mixed_func_1d_): Use fortran_charlen_t in decl.
2296
547ce8f0
TV
22972020-08-15 Tom de Vries <tdevries@suse.de>
2298
2299 PR backtrace/26390
2300 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2301 Update expected pattern.
2302
a54a7f13
PA
23032020-08-13 Pedro Alves <pedro@palves.net>
2304
2305 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2306 * gdb.fortran/library-module.exp: Likewise.
2307 * gdb.fortran/logical.exp: Likewise.
2308 * gdb.fortran/module.exp: Likewise.
2309 * gdb.fortran/print_type.exp: Likewise.
2310 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2311 * gdb.fortran/vla-datatypes.exp: Likewise.
2312 * gdb.fortran/vla-history.exp: Likewise.
2313 * gdb.fortran/vla-ptr-info.exp: Likewise.
2314 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2315 * gdb.fortran/vla-ptype.exp: Likewise.
2316 * gdb.fortran/vla-sizeof.exp: Likewise.
2317 * gdb.fortran/vla-type.exp: Likewise.
2318 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2319 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2320 * gdb.fortran/vla-value-sub.exp: Likewise.
2321 * gdb.fortran/vla-value.exp: Likewise.
2322
7a82e903
PA
23232020-08-13 Pedro Alves <pedro@palves.net>
2324
2325 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2326 * gdb.ada/access_to_packed_array.exp: Likewise.
2327 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2328 * gdb.ada/addr_arith.exp: Likewise.
2329 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2330 * gdb.ada/arr_arr.exp: Likewise.
2331 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2332 * gdb.ada/array_bounds.exp: Likewise.
2333 * gdb.ada/array_of_variable_length.exp: Likewise.
2334 * gdb.ada/array_ptr_renaming.exp: Likewise.
2335 * gdb.ada/array_subscript_addr.exp: Likewise.
2336 * gdb.ada/arraydim.exp: Likewise.
2337 * gdb.ada/arrayparam.exp: Likewise.
2338 * gdb.ada/arrayptr.exp: Likewise.
2339 * gdb.ada/assign_1.exp: Likewise.
2340 * gdb.ada/assign_arr.exp: Likewise.
2341 * gdb.ada/atomic_enum.exp: Likewise.
2342 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2343 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2344 * gdb.ada/bias.exp: Likewise.
2345 * gdb.ada/boolean_expr.exp: Likewise.
2346 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2347 * gdb.ada/bp_enum_homonym.exp: Likewise.
2348 * gdb.ada/bp_inlined_func.exp: Likewise.
2349 * gdb.ada/bp_on_var.exp: Likewise.
2350 * gdb.ada/bp_range_type.exp: Likewise.
2351 * gdb.ada/bp_reset.exp: Likewise.
2352 * gdb.ada/call_pn.exp: Likewise.
2353 * gdb.ada/catch_assert_if.exp: Likewise.
2354 * gdb.ada/catch_ex.exp: Likewise.
2355 * gdb.ada/catch_ex_std.exp: Likewise.
2356 * gdb.ada/char_enum.exp: Likewise.
2357 * gdb.ada/char_param.exp: Likewise.
2358 * gdb.ada/complete.exp: Likewise.
2359 * gdb.ada/cond_lang.exp: Likewise.
2360 * gdb.ada/convvar_comp.exp: Likewise.
2361 * gdb.ada/dgopt.exp: Likewise.
2362 * gdb.ada/disc_arr_bound.exp: Likewise.
2363 * gdb.ada/display_nested.exp: Likewise.
2364 * gdb.ada/dot_all.exp: Likewise.
2365 * gdb.ada/dyn_loc.exp: Likewise.
2366 * gdb.ada/dyn_stride.exp: Likewise.
2367 * gdb.ada/excep_handle.exp: Likewise.
2368 * gdb.ada/expr_delims.exp: Likewise.
2369 * gdb.ada/expr_with_funcall.exp: Likewise.
2370 * gdb.ada/exprs.exp: Likewise.
2371 * gdb.ada/fin_fun_out.exp: Likewise.
2372 * gdb.ada/fixed_cmp.exp: Likewise.
2373 * gdb.ada/formatted_ref.exp: Likewise.
2374 * gdb.ada/frame_arg_lang.exp: Likewise.
2375 * gdb.ada/frame_args.exp: Likewise.
2376 * gdb.ada/fullname_bp.exp: Likewise.
2377 * gdb.ada/fun_addr.exp: Likewise.
2378 * gdb.ada/fun_in_declare.exp: Likewise.
2379 * gdb.ada/fun_overload_menu.exp: Likewise.
2380 * gdb.ada/fun_renaming.exp: Likewise.
2381 * gdb.ada/funcall_char.exp: Likewise.
2382 * gdb.ada/funcall_param.exp: Likewise.
2383 * gdb.ada/funcall_ptr.exp: Likewise.
2384 * gdb.ada/funcall_ref.exp: Likewise.
2385 * gdb.ada/homonym.exp: Likewise.
2386 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2387 * gdb.ada/info_auto_lang.exp: Likewise.
2388 * gdb.ada/info_exc.exp: Likewise.
2389 * gdb.ada/info_types.exp: Likewise.
2390 * gdb.ada/int_deref.exp: Likewise.
2391 * gdb.ada/interface.exp: Likewise.
2392 * gdb.ada/iwide.exp: Likewise.
2393 * gdb.ada/lang_switch.exp: Likewise.
2394 * gdb.ada/length_cond.exp: Likewise.
2395 * gdb.ada/maint_with_ada.exp: Likewise.
2396 * gdb.ada/mi_catch_assert.exp: Likewise.
2397 * gdb.ada/mi_catch_ex.exp: Likewise.
2398 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2399 * gdb.ada/mi_dyn_arr.exp: Likewise.
2400 * gdb.ada/mi_ex_cond.exp: Likewise.
2401 * gdb.ada/mi_exc_info.exp: Likewise.
2402 * gdb.ada/mi_interface.exp: Likewise.
2403 * gdb.ada/mi_prot.exp: Likewise.
2404 * gdb.ada/mi_ref_changeable.exp: Likewise.
2405 * gdb.ada/mi_string_access.exp: Likewise.
2406 * gdb.ada/mi_task_arg.exp: Likewise.
2407 * gdb.ada/mi_task_info.exp: Likewise.
2408 * gdb.ada/mi_var_array.exp: Likewise.
2409 * gdb.ada/mi_var_union.exp: Likewise.
2410 * gdb.ada/mi_variant.exp: Likewise.
2411 * gdb.ada/minsyms.exp: Likewise.
2412 * gdb.ada/mod_from_name.exp: Likewise.
2413 * gdb.ada/nested.exp: Likewise.
2414 * gdb.ada/null_array.exp: Likewise.
2415 * gdb.ada/optim_drec.exp: Likewise.
2416 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2417 * gdb.ada/packed_array_assign.exp: Likewise.
2418 * gdb.ada/packed_tagged.exp: Likewise.
2419 * gdb.ada/pp-rec-component.exp: Likewise.
2420 * gdb.ada/print_chars.exp: Likewise.
2421 * gdb.ada/print_pc.exp: Likewise.
2422 * gdb.ada/ptr_typedef.exp: Likewise.
2423 * gdb.ada/ptype_arith_binop.exp: Likewise.
2424 * gdb.ada/ptype_array.exp: Likewise.
2425 * gdb.ada/ptype_field.exp: Likewise.
2426 * gdb.ada/ptype_tagged_param.exp: Likewise.
2427 * gdb.ada/ptype_union.exp: Likewise.
2428 * gdb.ada/py_range.exp: Likewise.
2429 * gdb.ada/py_taft.exp: Likewise.
2430 * gdb.ada/rdv_wait.exp: Likewise.
2431 * gdb.ada/rec_comp.exp: Likewise.
2432 * gdb.ada/rec_return.exp: Likewise.
2433 * gdb.ada/ref_param.exp: Likewise.
2434 * gdb.ada/ref_tick_size.exp: Likewise.
2435 * gdb.ada/rename_subscript_param.exp: Likewise.
2436 * gdb.ada/repeat_dyn.exp: Likewise.
2437 * gdb.ada/same_component_name.exp: Likewise.
2438 * gdb.ada/same_enum.exp: Likewise.
2439 * gdb.ada/scalar_storage.exp: Likewise.
2440 * gdb.ada/set_wstr.exp: Likewise.
2441 * gdb.ada/small_reg_param.exp: Likewise.
2442 * gdb.ada/str_binop_equal.exp: Likewise.
2443 * gdb.ada/str_ref_cmp.exp: Likewise.
2444 * gdb.ada/str_uninit.exp: Likewise.
2445 * gdb.ada/sub_variant.exp: Likewise.
2446 * gdb.ada/sym_print_name.exp: Likewise.
2447 * gdb.ada/taft_type.exp: Likewise.
2448 * gdb.ada/tagged.exp: Likewise.
2449 * gdb.ada/tagged_access.exp: Likewise.
2450 * gdb.ada/task_bp.exp: Likewise.
2451 * gdb.ada/task_switch_in_core.exp: Likewise.
2452 * gdb.ada/tasks.exp: Likewise.
2453 * gdb.ada/tick_last_segv.exp: Likewise.
2454 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2455 * gdb.ada/type_coercion.exp: Likewise.
2456 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2457 * gdb.ada/unchecked_union.exp: Likewise.
2458 * gdb.ada/uninitialized_vars.exp: Likewise.
2459 * gdb.ada/var_arr_attrs.exp: Likewise.
2460 * gdb.ada/var_arr_typedef.exp: Likewise.
2461 * gdb.ada/var_rec_arr.exp: Likewise.
2462 * gdb.ada/variant-record.exp: Likewise.
2463 * gdb.ada/variant.exp: Likewise.
2464 * gdb.ada/variant_record_packed_array.exp: Likewise.
2465 * gdb.ada/varsize_limit.exp: Likewise.
2466 * gdb.ada/whatis_array_val.exp: Likewise.
2467 * gdb.ada/widewide.exp: Likewise.
2468 * gdb.ada/win_fu_syms.exp: Likewise.
2469
24702020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2471
2472 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2473
10c381b5
AB
24742020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2477 unset the array variable.
2478
8f34b746
TV
24792020-08-03 Tom de Vries <tdevries@suse.de>
2480
2481 PR symtab/26333
2482 * lib/dwarf.exp (DW_LNE_user): New proc.
2483 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2484 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2485
0245e136
KB
24862020-07-31 Kevin Buettner <kevinb@redhat.com>
2487
2488 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2489 to 'uintptr_t'
2490 (inttypes.h): Include.
2491
9ef1ec5d
KB
24922020-07-31 Kevin Buettner <kevinb@redhat.com>
2493
2494 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2495 (C5_24k): Delete.
2496 (C5_8k, C5_64k, C5_256k): New macros.
2497 (buf_ro): Allocate 256 KiB of initialized data.
2498
4c55e970
TBA
24992020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2500
2501 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2502 that attempt to overwrite an existing condition with a condition
2503 that fails parsing and also with a condition that parses fine
2504 but contains junk at the end.
2505
1e620590
TBA
25062020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2507
2508 * gdb.base/condbreak-bad.c: New test.
2509 * gdb.base/condbreak-bad.exp: New file.
2510
e12dcc50
TV
25112020-07-30 Tom de Vries <tdevries@suse.de>
2512
2513 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2514 out of ...
2515 (GDBInfoModuleSymbols::check_entry): ... here.
2516 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2517 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2518 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2519
6cc64caa
TV
25202020-07-30 Tom de Vries <tdevries@suse.de>
2521
2522 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2523 "__class_some_module_Number_t" optional.
2524
90fd07fc
TV
25252020-07-29 Tom de Vries <tdevries@suse.de>
2526
2527 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2528 multiple locations.
2529
f5c79e97
TV
25302020-07-29 Tom de Vries <tdevries@suse.de>
2531
2532 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2533 rather than function name.
2534
f75a0693
AB
25352020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 PR symtab/26270:
2538 * gdb.cp/disasm-func-name.cc: New file.
2539 * gdb.cp/disasm-func-name.exp: New file.
2540
4888741a
TT
25412020-07-28 Tom Tromey <tromey@adacore.com>
2542
2543 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2544 'varval' location.
2545
43d5901d
AB
25462020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2547
2548 * gdb.python/py-unwind.py: Update to make use of a register
2549 descriptor.
2550
14fa8fb3
AB
25512020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2552
2553 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2554
e79eb02f
AB
25552020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2556
2557 PR fortran/23051
2558 PR fortran/26139
2559 * gdb.fortran/class-allocatable-array.exp: New file.
2560 * gdb.fortran/class-allocatable-array.f90: New file.
2561 * gdb.fortran/pointer-to-pointer.exp: New file.
2562 * gdb.fortran/pointer-to-pointer.f90: New file.
2563
876518dd
TV
25642020-07-25 Tom de Vries <tdevries@suse.de>
2565
2566 PR symtab/26243
2567 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2568 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2569
6dcfb80a
TV
25702020-07-24 Tom de Vries <tdevries@suse.de>
2571
2572 PR testsuite/26293
2573 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2574
e7bc9db8
PA
25752020-07-23 Pedro Alves <pedro@palves.net>
2576
2577 * gdb.server/server-kill.exp (prepare): New, factored out from the
2578 top level.
2579 (kill_server): New.
2580 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2581 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2582
78344df7
AB
25832020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2586
25dfed24
SL
25872020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2588
2589 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2590 Initialize to empty string at top level.
2591 (gdb_wrapper_init): Revert check for file existence on build.
2592 Build the wrapper in its default place, not a build-specific
2593 location. When host == build, make the pathname absolute.
2594 (gdb_compile): Delete leftover declaration of
2595 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2596 string instead of uninitialized.
2597
7da515fd
KB
25982020-07-22 Kevin Buettner <kevinb@redhat.com>
2599
2600 * gdb.base/corefile2.exp: New file.
2601 * gdb.base/coremaker2.exp: New file.
2602
9c5ec5c2
KB
26032020-07-22 Kevin Buettner <kevinb@redhat.com>
2604
2605 * gdb.base/coredump-filter.exp: Add second
2606 non-Private-Shared-Anon-File test.
2607 (test_disasm): Rename binfile for test which is expected
2608 to fail.
2609
f9e233c9
KB
26102020-07-22 Kevin Buettner <kevinb@redhat.com>
2611
2612 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2613 data in core file".
2614 * gdb.base/coremaker.c (buf2ro): New global.
2615 (mmapdata): Add a read-only mmap mapping.
2616
94c265d7
KB
26172020-07-22 Kevin Buettner <kevinb@redhat.com>
2618
2619 PR corefiles/25631
2620 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2621 New test.
2622 * gdb.base/coremaker.c (buf3): New global.
2623 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2624 flags.
2625
26262020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2627
2628 * gdb.base/coremaker.c (filler_ro): New global constant.
2629
32fa152e
TT
26302020-07-22 Tom Tromey <tromey@adacore.com>
2631
2632 * gdb.ada/mi_prot.exp: New file.
2633 * gdb.ada/mi_prot/pkg.adb: New file.
2634 * gdb.ada/mi_prot/pkg.ads: New file.
2635 * gdb.ada/mi_prot/prot.adb: New file.
2636
c8474dc3
TBA
26372020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2638
2639 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2640 loads two JITers.
2641
baf8791e
AB
26422020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2645
f7306dac
AB
26462020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2647
2648 * gdb.python/py-arch-reg-names.exp: Additional tests.
2649
6d3d6e4b
TV
26502020-07-21 Tom de Vries <tdevries@suse.de>
2651
2652 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2653 breakpoint locations".
2654 * gdb.reverse/solib-reverse.exp: Same.
2655
803d0592
TV
26562020-07-21 Tom de Vries <tdevries@suse.de>
2657
2658 * gdb.reverse/step-reverse.c (callee): Merge statements.
2659
e9bdc510
TV
26602020-07-21 Tom de Vries <tdevries@suse.de>
2661
2662 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2663 line numbers for some variables.
2664
f0f9e75a
TV
26652020-07-21 Tom de Vries <tdevries@suse.de>
2666
2667 * gdb.opt/inline-locals.c (init_array): New func.
2668 (func1): Use init_array.
2669 * gdb.opt/inline-locals.exp: Update pattern.
2670
bd460ecb
TV
26712020-07-21 Tom de Vries <tdevries@suse.de>
2672
2673 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2674 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2675
ae5369e7
LC
26762020-07-20 Ludovic Courtès <ludo@gnu.org>
2677
2678 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2679 * gdb.guile/types-module.exp: Remove "ERROR:" from
2680 regexps since Guile 3.0 no longer prints that.
2681
68cf161c
LC
26822020-07-20 Ludovic Courtès <ludo@gnu.org>
2683
2684 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2685 error regexp to match on Guile 2.2.
2686
c14b4913
GB
26872020-07-20 Gary Benson <gbenson@redhat.com>
2688
2689 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2690 with clang.
2691
b243ba58
TV
26922020-07-20 Tom de Vries <tdevries@suse.de>
2693
2694 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2695 (omp_set_lock_in_order): New function.
2696 (single_scope, multi_scope, nested_func, nested_parallel): Use
2697 omp_set_lock_in_order and omp_unset_lock.
2698 (main): Init and destroy lock and lock2.
2699
c06ad8b5
TV
27002020-07-20 Tom de Vries <tdevries@suse.de>
2701
2702 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2703
6e22f117
TV
27042020-07-20 Tom de Vries <tdevries@suse.de>
2705
2706 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2707
33176ea7
TV
27082020-07-17 Tom de Vries <tdevries@suse.de>
2709
2710 * gdb.base/valgrind-infcall-2.c: New test.
2711 * gdb.base/valgrind-infcall-2.exp: New file.
2712 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2713
90c3ec2d
TV
27142020-07-17 Tom de Vries <tdevries@suse.de>
2715
2716 * gdb.dlang/circular.c (found): Use found_label as label name.
2717 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2718 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2719 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2720 * gdb.dwarf2/ada-linkage-name.exp: Same.
2721 * gdb.dwarf2/arr-subrange.exp: Same.
2722 * gdb.dwarf2/atomic-type.exp: Same.
2723 * gdb.dwarf2/comp-unit-lang.exp: Same.
2724 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2725 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2726 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2727 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2728 * gdb.dwarf2/implptr-64bit.exp: Same.
2729 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2730 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2731 * gdb.dwarf2/imported-unit.exp: Same.
2732 * gdb.dwarf2/main-subprogram.exp: Same.
2733 * gdb.dwarf2/missing-type-name.exp: Same.
2734 * gdb.dwarf2/nonvar-access.exp: Same.
2735 * gdb.dwarf2/struct-with-sig.exp: Same.
2736 * gdb.dwarf2/typedef-void-finish.exp: Same.
2737 * gdb.dwarf2/void-type.exp: Same.
2738
10da644d
TV
27392020-07-17 Tom de Vries <tdevries@suse.de>
2740
2741 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2742 src parameter.
2743 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2744 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2745 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2746 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2747 * gdb.dwarf2/dwz.exp: Same.
2748 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2749 * gdb.dwarf2/implref-array.exp: Same.
2750 * gdb.dwarf2/implref-const.exp: Same.
2751 * gdb.dwarf2/implref-global.exp: Same.
2752 * gdb.dwarf2/implref-struct.exp: Same.
2753 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2754 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2755 * gdb.dwarf2/var-access.exp: Same.
2756 * gdb.dwarf2/varval.exp: Same.
2757 * gdb.trace/entry-values.exp: Same.
2758
315e6afc
TV
27592020-07-17 Tom de Vries <tdevries@suse.de>
2760
2761 * lib/dwarf.exp (Dwarf::extern): Remove.
2762 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2763 * gdb.dlang/circular.exp: Same.
2764 * gdb.dwarf2/comp-unit-lang.exp: Same.
2765 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2766 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2767 * gdb.dwarf2/dwz.exp: Same.
2768 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2769 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2770 * gdb.dwarf2/imported-unit.exp: Same.
2771 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2772
5597c940
SL
27732020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2774
2775 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2776 Use double quotes instead of single quotes.
2777
d0ce17d8
CT
27782020-07-16 Caroline Tice <cmtice@google.com>
2779
2780 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2781 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2782
853772cc
TV
27832020-07-16 Tom de Vries <tdevries@suse.de>
2784
2785 * lib/dwarf.exp (program): Initialize _line.
2786 (DW_LNE_end_sequence): Reinitialize _line.
2787 (DW_LNS_advance_line): Update _line.
2788 (line): New proc.
2789 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2790 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2791 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2792 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2793 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2794 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2795
fe07b572
AB
27962020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2797
2798 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2799 generic.
2800
52781cce
TV
28012020-07-15 Tom de Vries <tdevries@suse.de>
2802
2803 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2804 is_amd64_regs_target.
2805
3dcc261c
AB
28062020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2807
2808 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2809 * gdb.fortran/ptype-on-functions.f90: Likewise.
2810
054a0959
SM
28112020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2812
2813 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2814 values in documentation for addr_size to 4 and 8.
2815
ccb9eba6
AB
28162020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * gdb.arch/amd64-osabi.exp: Update.
2819 * gdb.arch/arm-disassembler-options.exp: Update.
2820 * gdb.arch/powerpc-disassembler-options.exp: Update.
2821 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2822 * gdb.arch/s390-disassembler-options.exp: Update.
2823 * gdb.base/all-architectures.exp.tcl: Update.
2824 * gdb.base/attach-pie-noexec.exp: Update.
2825 * gdb.base/catch-syscall.exp: Update.
2826 * gdb.xml/tdesc-arch.exp: Update.
2827
025a39a7
TV
28282020-07-14 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2831 (local_gettid): ... this.
2832 (fn): Update.
2833
74e4b667
SL
28342020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2835
2836 * gdb.base/info_sources.exp: Skip directory match tests on
2837 remote hosts.
2838
f413dd74
GB
28392020-07-13 Gary Benson <gbenson@redhat.com>
2840
2841 * gdb.base/savedregs.exp (caller): Use parentheses to
2842 make expected expression evaluation ordering explicit.
2843
915771bb
GB
28442020-07-13 Gary Benson <gbenson@redhat.com>
2845
2846 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2847
2a122642
GB
28482020-07-13 Gary Benson <gbenson@redhat.com>
2849
2850 * gdb.base/bigcore.c (main): Use a volatile pointer when
2851 attempting to trigger a SIGSEGV.
2852 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2853 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2854 * gdb.base/savedregs.c (thrower): Likewise.
2855 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2856
3f00c730
GB
28572020-07-13 Gary Benson <gbenson@redhat.com>
2858
2859 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2860 defining and using VLA structure fields into...
2861 * gdb.base/vla-struct-fields.c: New file.
2862 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2863 tests into...
2864 * gdb.base/vla-struct-fields.exp: New file.
2865
963eeee4
TV
28662020-07-13 Tom de Vries <tdevries@suse.de>
2867
2868 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2869 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2870 * gdb.base/gold-gdb-index.exp: Same.
2871 * gdb.base/morestack.exp: Same.
2872
0ed35c9a
DX
28732020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2874
2875 PR rust/26121
2876 * gdb.rust/modules.rs: Prevent linker from discarding test
2877 symbol.
2878
4fdba23d
PA
28792020-07-10 Pedro Alves <pedro@palves.net>
2880
2881 PR gdb/26199
2882 * gdb.multi/multi-target.c (exit_thread): New.
2883 (thread_start): Break loop if EXIT_THREAD.
2884 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2885 (top level) Call test_no_resumed.
2886
15f3b077
TT
28872020-07-08 Tom Tromey <tromey@adacore.com>
2888
2889 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2890 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2891
9fc501fd
AB
28922020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2893
2894 PR python/22748
2895 * gdb.opt/inline-frame-tailcall.c: New file.
2896 * gdb.opt/inline-frame-tailcall.exp: New file.
2897 * gdb.python/py-unwind-inline.c: New file.
2898 * gdb.python/py-unwind-inline.exp: New file.
2899 * gdb.python/py-unwind-inline.py: New file.
2900
64cb3757
AB
29012020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2902
2903 * gdb.python/py-arch-reg-groups.exp: New file.
2904
0f767f94
AB
29052020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2906
2907 * gdb.python/py-arch-reg-names.exp: New file.
2908
87dbc774
AB
29092020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2910
2911 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2912 gdb.PendingFrame.architecture method.
2913
d8cc8af6
TV
29142020-07-06 Tom de Vries <tdevries@suse.de>
2915
2916 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2917
3c8ea5be
PA
29182020-07-03 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2921 explicitly write negative numbers.
2922 * gdb.base/structs2.exp: Adjust expected output.
2923
bf90c83a
PA
29242020-07-03 Pedro Alves <palves@redhat.com>
2925
2926 * gdb.base/charset.c (init_string): Change all char parameters to
2927 unsigned char parameters.
2928
2eb82157
PA
29292020-07-03 Pedro Alves <palves@redhat.com>
2930
2931 * gdb.base/call-sc.exp (start_scalars_test): Use
2932 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2933 * gdb.base/overlays.c: Remove references to PARAMS.
2934 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2935 * gdb.base/reread.exp: Don't set 'prototypes' global.
2936 * gdb.base/structs.exp (start_structs_test): Use
2937 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2938 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2939 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2940 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2941 call.
2942 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2943
9adda7af
PA
29442020-07-03 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.base/m32rovly.c: Delete.
2947 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2948
2a17c803
PW
29492020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2950
2951 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2952 of gdb_py_test_multiple.
2953 * gdb.python/py-cmd.exp: Likewise.
2954 * gdb.python/py-events.exp: Likewise.
2955 * gdb.python/py-function.exp: Likewise.
2956 * gdb.python/py-inferior.exp: Likewise.
2957 * gdb.python/py-infthread.exp: Likewise.
2958 * gdb.python/py-linetable.exp: Likewise.
2959 * gdb.python/py-parameter.exp: Likewise.
2960 * gdb.python/py-value.exp: Likewise.
2961
b011fe1a
TV
29622020-06-30 Tom de Vries <tdevries@suse.de>
2963
2964 PR testsuite/26175
2965 * lib/future.exp (gdb_default_target_compile): Detect and handle
2966 early_flags.
2967
df5b8876
SM
29682020-06-29 Simon Marchi <simon.marchi@efficios.com>
2969
2970 * boards/simavr.exp (gdb_load): Catch errors when closing
2971 previous connection. Close connection, wait for process and
2972 unset simavr_spawn_id on failure.
2973
a3ca48cd
TV
29742020-06-29 Tom de Vries <tdevries@suse.de>
2975
2976 * lib/gdb.exp (unknown): Make test-case unresolved.
2977
b0237c0e
TV
29782020-06-29 Tom de Vries <tdevries@suse.de>
2979
2980 PR gdb/25475
2981 * gdb.server/solib-list.exp: Verify that the symbol reload
2982 confirmation question is asked.
2983
c0b3b3bd
PW
29842020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2985
2986 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2987 have a input seq nr in each pass message.
fe4c3d43 2988 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2989 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2990 * gdb.python/python.exp: Make test names unique,
2991 use gdb_test_multiline instead of gdb_py_test_multiple,
2992 use $gdb_test_name.
2993 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2994
1776e3e5
NA
29952020-06-26 Nick Alcock <nick.alcock@oracle.com>
2996
2997 * configure.ac: Add --enable-libctf.
2998 * aclocal.m4: sinclude ../config/enable.m4.
2999 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3000 * lib/gdb.exp (skip_ctf_tests): Use it.
3001 * gdb.base/ctf-constvars.exp: Error message tweak.
3002 * gdb.base/ctf-ptype.exp: Likewise.
3003 * configure: Regenerate.
3004
f53b3eeb
GB
30052020-06-26 Gary Benson <gbenson@redhat.com>
3006
3007 * gdb.cp/try_catch.cc: Include string.h.
3008 (main): Replace comparison against string literal with
3009 strcmp, avoiding build failure with -Wstring-compare.
3010 Add "marker test-complete".
3011 * gdb.cp/try_catch.exp: Run the test to the above marker,
3012 then verify that the value of "test" is still true.
3013
6d74da72
AB
30142020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3015
3016 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3017
2e52d038
AB
30182020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3019
3020 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3021
3b9fce96
AB
30222020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3023
3024 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3025 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3026 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3027 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3028 * gdb.arch/riscv-tdesc-loading.exp: New file.
3029
ed69cbc8
AB
30302020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3031
3032 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3033
767a879e
AB
30342020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3035
3036 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3037 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3038 * gdb.arch/riscv-tdesc-regs.c: New file.
3039 * gdb.arch/riscv-tdesc-regs.exp: New file.
3040
221db974
PA
30412020-06-24 Pedro Alves <palves@redhat.com>
3042
3043 * gdb.arch/amd64-entry-value-paramref.exp: Use
3044 prepare_for_testing_full and don't pass "c++" for the .S file
3045 build spec.
3046 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3047 $options, since it's an assembly file. Remove -Wno-deprecated.
3048 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3049 compiling C++ programs.
3050
331733cd
PA
30512020-06-24 Pedro Alves <palves@redhat.com>
3052
3053 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3054 Clang, add "-Wno-unknown-warning-option" to the options.
3055
caa7fd04
AB
30562020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3057
3058 * gdb.xml/tdesc-reload.c: New file.
3059 * gdb.xml/tdesc-reload.exp: New file.
3060 * gdb.xml/maint-xml-dump-01.xml: New file.
3061 * gdb.xml/maint-xml-dump-02.xml: New file.
3062 * gdb.xml/maint-xml-dump.exp: New file.
3063
bb8d1260
SL
30642020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3065
3066 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3067 Adjust for omitted commands when TUI is disabled.
3068
7e4b9c4c
GB
30692020-06-23 Gary Benson <gbenson@redhat.com>
3070 Pedro Alves <palves@redhat.com>
3071
3072 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3073 * gdb.cp/nsimport.cc: Likewise.
3074 * gdb.cp/nsnested.cc: Likewise.
3075 * gdb.cp/nsnoimports.cc: Likewise.
3076 * gdb.cp/nsusing.cc: Likewise.
3077 * gdb.cp/smartp.cc: Likewise.
3078 * gdb.python/py-pp-integral.c: Likewise.
3079 * gdb.python/py-pp-re-notag.c: Likewise.
3080
2e573c0a
GB
30812020-06-23 Gary Benson <gbenson@redhat.com>
3082
3083 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3084 * gdb.cp/nsimport.cc: Likewise.
3085 * gdb.cp/nsnested.cc: Likewise.
3086 * gdb.cp/nsnoimports.cc: Likewise.
3087 * gdb.cp/nsusing.cc: Likewise.
3088 * gdb.cp/smartp.cc: Likewise.
3089 * gdb.python/py-pp-integral.c: Likewise.
3090 * gdb.python/py-pp-re-notag.c: Likewise.
3091
746ebfe8
PW
30922020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3093
3094 * gdb.base/default-args.exp: New test.
3095 * gdb.base/default-args.c: New file.
3096 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3097 * gdb.base/default.exp: Update to new help text.
3098 * gdb.base/help.exp: Likewise.
3099 * gdb.base/page.exp: Likewise.
3100 * gdb.base/style.exp: Likewise.
3101 * gdb.guile/guile.exp: Likewise.
3102 * gdb.python/python.exp: Likewise.
3103
e822f2cd
SL
31042020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3105
3106 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3107 remote host. Fix search path syntax on Windows host.
3108
48e9cc84
PW
31092020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3110
3111 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3112 over 'exec-file-mismatch'.
3113 * gdb.base/attach.c: Mark should_exit volatile.
3114 * gdb.base/attach2.c: Likewise. Add a comment explaining
3115 why the sleep cannot be big.
3116 * gdb.base/attach3.c: New file.
3117
160f8a8f
SL
31182020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3119
3120 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3121 prefix optional.
3122
4d91c2a4
SL
31232020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3124
3125 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3126 for remote host.
3127
87f83f20
SL
31282020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3129 Hafiz Abid Qadeer <abidh@codesourcery.com>
3130
3131 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3132 file sent to remote host.
3133 (top level): Allow int32_t as type of 32-bit register.
3134
37ab8655
TV
31352020-06-19 Tom de Vries <tdevries@suse.de>
3136
3137 * lib/gdb.exp (gdb_note): New proc.
3138 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3139 (gdb_default_target_compile): ... here. Only call
3140 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3141 (use_gdb_compile): Change to array.
3142 (toplevel): Update sets of use_gdb_compile to specify language.
3143 Warn about default_target_compile override. Store dejagnu's version
3144 of default_target_compile in dejagnu_default_target_compile.
3145
a8a56685
TV
31462020-06-18 Tom de Vries <tdevries@suse.de>
3147
3148 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3149 (default_gdb_init): ... here.
3150
581bea2c
SL
31512020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3152
3153 Fix TUI support checks in gdb.tui tests.
3154
3155 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3156 just say UNSUPPORTED.
3157 * gdb.tui/corefile-run.exp: Likewise.
3158 * gdb.tui/empty.exp: Likewise.
3159 * gdb.tui/list-before.exp: Likewise.
3160 * gdb.tui/list.exp: Likewise.
3161 * gdb.tui/main.exp: Likewise.
3162 * gdb.tui/regs.exp: Likewise.
3163 * gdb.tui/resize.exp: Likewise.
3164 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3165 * gdb.tui/tui-layout-asm.exp: Likewise.
3166 * gdb.tui/tui-missing-src.exp: Likewise.
3167 * gdb.tui/winheight.exp: Likewise.
3168 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3169
05e682e3
SL
31702020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3171
3172 Fix TCL error in gdb.python/py-format-string.exp.
3173
3174 * gdb.python/py-format-string.exp: Move test for python support
3175 earlier, out of function body.
3176
efb763a5
SM
31772020-06-15 Simon Marchi <simon.marchi@efficios.com>
3178
3179 * gdb.base/index-cache-load-twice.c: New.
3180 * gdb.base/index-cache-load-twice.exp: New.
3181
43327b20
KS
31822020-06-17 Keith Seitz <keiths@redhat.com>
3183
99cf27cf 3184 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3185 when executing "gdb --configuration".
3186
081e778c
TV
31872020-06-17 Tom de Vries <tdevries@suse.de>
3188
3189 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3190 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3191 conditional on presence of gdb_tcl_unknown.
3192 (gdb_finish): Make override undo conditional on presence of
3193 gdb_tcl_unknown.
3194
d2d1ea20
TT
31952020-06-16 Tom Tromey <tom@tromey.com>
3196
3197 * gdb.python/tui-window.py (failwin): New function. Register it
3198 as a TUI window type.
3199 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3200
c802e8a7
GB
32012020-06-16 Gary Benson <gbenson@redhat.com>
3202
3203 * gdb.python/py-nested-maps.c (create_map): Add missing return
3204 value.
3205 (create_map_map): Likewise.
3206
ff08abb8
TBA
32072020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3208
3209 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3210 variable.
3211 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3212 and use the already-defined 'options' variable.
3213
a29d5112
AB
32142020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3215 Tom de Vries <tdevries@suse.de>
3216
3217 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3218 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3219 (gdb_setup_known_globals): New proc.
3220 (gdb_cleanup_globals): New proc.
3221 * lib/gdb.exp (load_lib): New override proc.
3222 (gdb_stdin_log_init): Set var in_file as persistent global.
3223 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3224 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3225 fpc_compiler as persistent global.
3226
8c74a764
TV
32272020-06-12 Tom de Vries <tdevries@suse.de>
3228
3229 * lib/tuiterm.exp (spawn): Rename to ...
3230 (tui_spawn): ... this.
3231 (toplevel): Move rename of spawn ...
3232 (gdb_init_tuiterm): ... here. New proc.
3233 (gdb_finish_tuiterm): New proc.
3234 * lib/gdb.exp (gdb_finish_hooks): New global var.
3235 (gdb_finish): Handle gdb_finish_hooks.
3236 (tuiterm_env): New proc.
3237 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3238 tuiterm_env.
3239 * gdb.tui/basic.exp: Same.
3240 * gdb.tui/corefile-run.exp: Same.
3241 * gdb.tui/empty.exp: Same.
3242 * gdb.tui/list-before.exp: Same.
3243 * gdb.tui/list.exp: Same.
3244 * gdb.tui/main.exp: Same.
3245 * gdb.tui/new-layout.exp: Same.
3246 * gdb.tui/regs.exp: Same.
3247 * gdb.tui/resize.exp: Same.
3248 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3249 * gdb.tui/tui-layout-asm.exp: Same.
3250 * gdb.tui/tui-missing-src.exp: Same.
3251 * gdb.tui/winheight.exp: Same.
3252
26783bce
TV
32532020-06-12 Tom de Vries <tdevries@suse.de>
3254
3255 PR testsuite/26110
3256 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3257 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3258
2b4e6a3f
TT
32592020-06-11 Tom Tromey <tom@tromey.com>
3260
3261 PR gdb/18318:
3262 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3263 floating point tests.
3264
2f33032a
KS
32652020-06-11 Keith Seitz <keiths@redhat.com>
3266
3267 PR gdb/21356
3268 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3269 vla_struct.
3270 Add new struct vla_typedef and union vla_typedef_union and
3271 corresponding instantiation objects.
3272 Initialize new objects.
3273 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3274 and vla_typedef_union_object.
3275 Fixup type for vla_struct_object.
3276
a8baf0a3
TV
32772020-06-11 Tom de Vries <tdevries@suse.de>
3278
3279 * lib/gdb.exp (with_override): New proc, factored out of ...
3280 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3281
7ab96794
TV
32822020-06-10 Tom de Vries <tdevries@suse.de>
3283
3284 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3285
cab5c3b7
SM
32862020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3287
3288 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3289 parameter, update callers.
3290
f8c41851
SM
32912020-06-04 Simon Marchi <simon.marchi@efficios.com>
3292
3293 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3294 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3295 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3296
1c07a73f
TV
32972020-06-04 Tom de Vries <tdevries@suse.de>
3298
3299 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3300
95146b5d
TV
33012020-06-04 Tom de Vries <tdevries@suse.de>
3302
3303 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3304 exp_continue.
3305
0cfcd4f0
TV
33062020-06-04 Tom de Vries <tdevries@suse.de>
3307
3308 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3309
f9b5d5ea
TV
33102020-06-03 Tom de Vries <tdevries@suse.de>
3311
3312 PR symtab/26046
3313 * gdb.cp/breakpoint-locs-2.cc: New test.
3314 * gdb.cp/breakpoint-locs.cc: New test.
3315 * gdb.cp/breakpoint-locs.exp: New file.
3316 * gdb.cp/breakpoint-locs.h: New test.
3317
5144dfba
TV
33182020-06-03 Tom de Vries <tdevries@suse.de>
3319
3320 PR testsuite/25609
3321 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3322 value of global verbose.
3323 * gdb.base/jit-elf.exp: Same.
3324 * gdb.base/jit-reader.exp: Same.
3325
621eacdf
TV
33262020-06-02 Tom de Vries <tdevries@suse.de>
3327
3328 * gdb.dwarf2/multidictionary.exp: Don't use
3329 gdb_spawn_with_cmdline_opts.
3330
1313c56e
AB
33312020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3332
3333 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3334 use_header case.
3335 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3336 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3337 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3338 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3339 * gdb.dwarf2/dw2-inline-header.c: New file.
3340 * gdb.dwarf2/dw2-inline-header.h: New file.
3341
f68f85b5
PA
33422020-05-30 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3345 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3346
678048e8
GB
33472020-05-29 Gary Benson <gbenson@redhat.com>
3348
3349 * gdb.compile/compile-cplus.exp (additional_flags): Also
3350 set when building with clang.
3351 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3352 when building with clang.
3353
9fcafd23
GB
33542020-05-29 Gary Benson <gbenson@redhat.com>
3355
3356 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3357 building with clang.
3358 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3359
735d5a07
GB
33602020-05-29 Gary Benson <gbenson@redhat.com>
3361
3362 * gdb.cp/koenig.exp (prepare_for_testing): Add
3363 additional_flags=-Wno-unused-comparison.
3364 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3365
4ad2c6a0
GB
33662020-05-28 Gary Benson <gbenson@redhat.com>
3367
3368 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3369 statement.
3370
09fe663e
GB
33712020-05-28 Gary Benson <gbenson@redhat.com>
3372
3373 * gdb.cp/classes.exp (prepare_for_testing): Add
3374 additional_flags=-Wno-deprecated-register.
3375 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3376 * gdb.cp/misc.exp: Likewise.
3377
cee00f17
GB
33782020-05-28 Gary Benson <gbenson@redhat.com>
3379
3380 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3381 (test_op_new::operator new): Add return statement.
3382 (test_op_new_array::operator new[]): Likewise.
3383
636edd00
PA
33842020-05-27 Pedro Alves <palves@redhat.com>
3385
3386 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3387 check. Use test_gdb_complete_unique instead of
3388 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3389 test_gdb_complete_multiple instead of
3390 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3391
c2b75043
LM
33922020-05-27 Luis Machado <luis.machado@linaro.org>
3393
3394 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3395 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3396 * gdb.arch/arm-disassembler-options.exp: Likewise.
3397 * gdb.arch/arm-disp-step.exp: Likewise.
3398 * gdb.arch/thumb-prologue.exp: Likewise.
3399 * gdb.base/async.exp: Likewise.
3400 * gdb.base/auxv.exp: Likewise.
3401 * gdb.base/complex-parts.exp: Likewise.
3402 * gdb.base/ena-dis-br.exp: Likewise.
3403 * gdb.base/foll-exec.exp: Likewise.
3404 * gdb.base/permissions.exp: Likewise.
3405 * gdb.base/relocate.exp: Likewise.
3406 * gdb.base/return2.exp: Likewise.
3407 * gdb.base/sigbpt.exp: Likewise.
3408 * gdb.base/siginfo-obj.exp: Likewise.
3409 * gdb.cp/converts.exp: Likewise.
3410 * gdb.cp/exceptprint.exp: Likewise.
3411 * gdb.cp/inherit.exp: Likewise.
3412 * gdb.cp/nsnoimports.exp: Likewise.
3413 * gdb.cp/virtbase2.exp: Likewise.
3414 * gdb.mi/mi-var-cmd.exp: Likewise.
3415 * gdb.mi/var-cmd.c: Likewise.
3416
53a47a3e
TT
34172020-05-26 Tom Tromey <tromey@adacore.com>
3418
3419 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3420
0bc2354b
TT
34212020-05-26 Tom Tromey <tromey@adacore.com>
3422
3423 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3424 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3425 type.
3426 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3427 variable.
3428
0db49895
CBG
34292020-05-26 Christian Biesinger <cbiesinger@google.com>
3430
3431 * Makefile.in: Use = instead of == for the test command
3432 for portability.
3433
40d22035
TV
34342020-05-26 Tom de Vries <tdevries@suse.de>
3435
3436 * gdb.base/gold-gdb-index-2.c: New test.
3437 * gdb.base/gold-gdb-index.c: New test.
3438 * gdb.base/gold-gdb-index.exp: New file.
3439 * gdb.base/gold-gdb-index.h: New test.
3440
043e2e02
TV
34412020-05-25 Tom de Vries <tdevries@suse.de>
3442
3443 * boards/gold-gdb-index.exp: New file.
3444
462f72c5
SM
34452020-05-25 Simon Marchi <simon.marchi@efficios.com>
3446
3447 * boards/simavr.exp: New file.
3448
6cf66e76
SM
34492020-05-25 Simon Marchi <simon.marchi@efficios.com>
3450
3451 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3452 * gdb.base/inferior-args.exp: New file.
3453 * gdb.base/inferior-args.c: New file.
3454
75d04512
SM
34552020-05-25 Simon Marchi <simon.marchi@efficios.com>
3456
3457 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3458 inferior_args. Pass it to gdb_reload.
3459 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3460 inferior_args.
3461 (gdb_reload): Add inferior_args argument.
3462 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3463 pass it to gdbserver_run.
3464 * boards/native-gdbserver.exp: Do not set noargs.
3465 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3466 inferior_args argument.
3467 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3468 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3469 * gdb.base/args.exp: Likewise.
3470
42cf1844
TV
34712020-05-25 Tom de Vries <tdevries@suse.de>
3472
3473 * lib/gdb.exp (exec_is_pie): Add comment.
3474
8f7d38ef
TV
34752020-05-25 Tom de Vries <tdevries@suse.de>
3476
3477 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3478 instead of $binfile in the untested message.
3479
465e1b0f
TV
34802020-05-25 Tom de Vries <tdevries@suse.de>
3481
3482 PR testsuite/26031
3483 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3484
3c5a0e02
TV
34852020-05-25 Tom de Vries <tdevries@suse.de>
3486
3487 * boards/gold.exp: New file.
3488
0a4f5f8c
TT
34892020-05-23 Tom Tromey <tom@tromey.com>
3490
3491 * gdb.base/style.exp: Remove completion styling test.
3492 * lib/gdb-utils.exp (style): Remove completion styles.
3493
eca1f90c
TT
34942020-05-23 Tom Tromey <tom@tromey.com>
3495
3496 * gdb.base/style.exp: Add completion styling test.
3497 * lib/gdb-utils.exp (style): Add completion styles.
3498
7c13f4e8
AB
34992020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 * gdb.base/annota1.exp: Update expected results.
3502 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3503 test name.
3504 * gdb.cp/annota3.exp: Update expected results.
3505
41977d16
SM
35062020-05-20 Simon Marchi <simon.marchi@efficios.com>
3507
3508 PR gdb/26016
3509 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3510 against MAP_FAILED.
3511 * gdb.base/coremaker.c (mmapdata): Likewise.
3512 * gdb.base/jit-reader-host.c (main): Likewise.
3513 * gdb.base/sym-file-loader.c (load): Likewise.
3514 (load_shlib): Likewise.
3515
b4757f2e
TT
35162020-05-20 Tom Tromey <tromey@adacore.com>
3517
3518 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3519
9a0bacfb
TV
35202020-05-20 Tom de Vries <tdevries@suse.de>
3521
3522 PR symtab/25833
3523 * gdb.base/with-mf-inc.c: New test.
3524 * gdb.base/with-mf-main.c: New test.
3525 * gdb.base/with-mf.exp: New file.
3526
76571211
TT
35272020-05-19 Tom Tromey <tromey@adacore.com>
3528
3529 * gdb.rust/simple.exp: Restore missing test result.
3530
4cd9f3d5
TV
35312020-05-19 Tom de Vries <tdevries@suse.de>
3532
3533 * gdb.base/gdb-caching-proc.exp: Fix typo.
3534
7d874253
TT
35352020-05-19 Tom Tromey <tromey@adacore.com>
3536
3537 * gdb.rust/simple.exp: Add some test descriptions.
3538 (test_one_slice): Use with_test_prefix.
3539
1d727695
TV
35402020-05-18 Tom de Vries <tdevries@suse.de>
3541
3542 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3543
7f32a4d5
PA
35442020-05-17 Pedro Alves <palves@redhat.com>
3545
3546 PR gdb/25741
3547 * gdb.base/hw-sw-break-same-address.exp: New file.
3548
7cfd74cf
PA
35492020-05-16 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3552 LAST_LOADED_FILE accordingly.
3553
57b4f16e
PW
35542020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3555
3556 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3557
7c05caf7
PW
35582020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3559
3560 * gdb.base/help.exp: Test apropos and help for commands
3561 having aliases. Fixed comments not starting with an
3562 upper-case letter or not finishing with a dot.
3563
7aa1b46f
PW
35642020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3565
3b3aaacb
PW
3566 * gdb.base/alias.exp: Update help output check.
3567
57b4f16e 35682020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3569
7aa1b46f
PW
3570 * gdb.base/default.exp: Update output following fixes.
3571
0605465f
PW
35722020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3573
3574 * gdb.base/alias.exp: Test aliases starting with a prefix of
3575 another alias.
3576
86e4e63d
GB
35772020-05-15 Gary Benson <gbenson@redhat.com>
3578
3579 * gdb.base/info-os.c (main): Add return statement.
3580 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3581 * gdb.base/large-frame-2.c (func): Likewise.
3582 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3583 * gdb.base/pr10179-b.c (foo2): Likewise.
3584 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3585 * gdb.base/watch-cond.c (func): Likewise.
3586 * gdb.multi/goodbye.c (verylongfun): Likewise.
3587 * gdb.multi/hello.c (commonfun): Likewise.
3588 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3589 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3590 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3591 Likewise.
3592 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3593 * gdb.threads/interrupt-while-step-over.c (child_function):
3594 Likewise.
3595 * gdb.trace/actions-changed.c (end): Likewise.
3596
163df4df
GB
35972020-05-15 Gary Benson <gbenson@redhat.com>
3598
3599 * gdb.opencl/callfuncs.exp: Report when test skipped.
3600 * gdb.opencl/convs_casts.exp: Likewise.
3601 * gdb.opencl/datatypes.exp: Likewise.
3602 * gdb.opencl/operators.exp: Likewise.
3603 * gdb.opencl/vec_comps.exp: Likewise.
3604
6dbc505a
TV
36052020-05-15 Tom de Vries <tdevries@suse.de>
3606
3607 * gdb.base/align.exp.in: Rename to ...
3608 * gdb.base/align.exp.tcl: ... this.
3609 * gdb.base/align-c++.exp: Update.
3610 * gdb.base/align-c.exp: Update.
3611 * gdb.base/all-architectures.exp.in: Rename to ...
3612 * gdb.base/all-architectures.exp: ... this.
3613 * gdb.base/all-architectures-0.exp: Update.
3614 * gdb.base/all-architectures-1.exp: Update.
3615 * gdb.base/all-architectures-2.exp: Update.
3616 * gdb.base/all-architectures-3.exp: Update.
3617 * gdb.base/all-architectures-4.exp: Update.
3618 * gdb.base/all-architectures-5.exp: Update.
3619 * gdb.base/all-architectures-6.exp: Update.
3620 * gdb.base/all-architectures-7.exp: Update.
3621 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3622 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3623 * gdb.base/infcall-nested-structs-c++.exp: Update.
3624 * gdb.base/infcall-nested-structs-c.exp: Update.
3625 * gdb.base/info-types.exp.in: Rename to ...
3626 * gdb.base/info-types.exp.tcl: ... this.
3627 * gdb.base/info-types-c++.exp: Update.
3628 * gdb.base/info-types-c.exp: Update.
3629 * gdb.base/max-depth.exp.in: Rename to ...
3630 * gdb.base/max-depth.exp.tcl: ... this.
3631 * gdb.base/max-depth-c++.exp: Update.
3632 * gdb.base/max-depth-c.exp: Update.
3633 * gdb.cp/cpexprs.exp.in: Rename to ...
3634 * gdb.cp/cpexprs.exp.tcl: ... this.
3635 * gdb.cp/cpexprs-debug-types.exp: Update.
3636 * gdb.cp/cpexprs.exp: Update.
3637 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3638 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3639 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3640 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3641 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3642 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3643 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3644 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3645 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3646 * gdb.dwarf2/clang-debug-names.exp: Update.
3647
d1034d78
AB
36482020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3649
3650 * lib/check-test-names.exp: Remove code that prevents this file
3651 loading when tests are run in parallel.
3652
3c5c3649
PA
36532020-05-15 Pedro Alves <palves@redhat.com>
3654
3655 * gdb.multi/multi-kill.exp (start_inferior): Remove
3656 'testpid' parameter. Refer to namespace variable directly.
3657 (testpid): Declare as namespace variable.
3658
272c36b8
PA
36592020-05-15 Pedro Alves <palves@redhat.com>
3660
3661 * gdb.multi/multi-kill.exp: Wrap in namespace.
3662 (start_inferior): Add TESTPID parameter. Use it instead of the
3663 testpid global.
3664 (top level): Define empty TESTPID array, and pass it down to
3665 start_inferior.
3666
02eba61a
TV
36672020-05-14 Tom de Vries <tdevries@suse.de>
3668
3669 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3670 output.
3671
971a3747
TV
36722020-05-14 Tom de Vries <tdevries@suse.de>
3673
3674 * gdb.base/align.exp: Split into ...
3675 * gdb.base/align.exp.in: ...
3676 * gdb.base/align-c++.exp: ...
3677 * gdb.base/align-c.exp: ... these.
3678 * gdb.base/infcall-nested-structs.exp: Split into ...
3679 * gdb.base/infcall-nested-structs.exp.in: ...
3680 * gdb.base/infcall-nested-structs-c++.exp: ...
3681 * gdb.base/infcall-nested-structs-c.exp: ... these.
3682 * gdb.base/info-types.exp: Split into ...
3683 * gdb.base/info-types.exp.in: ...
3684 * gdb.base/info-types-c++.exp: ...
3685 * gdb.base/info-types-c.exp: ... these.
3686 * gdb.base/max-depth.exp: Split into ...
3687 * gdb.base/max-depth.exp.in: ...
3688 * gdb.base/max-depth-c++.exp: ...
3689 * gdb.base/max-depth-c.exp: ... these.
3690 * gdb.cp/infcall-nodebug.exp: Split into ...
3691 * gdb.cp/infcall-nodebug.exp.in: ...
3692 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3693 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3694 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3695 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3696
a05575d3
TBA
36972020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3698 Pedro Alves <palves@redhat.com>
3699
3700 * gdb.multi/multi-exit.c: New file.
3701 * gdb.multi/multi-exit.exp: New file.
3702 * gdb.multi/multi-kill.c: New file.
3703 * gdb.multi/multi-kill.exp: New file.
3704
6ad82919
TBA
37052020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3706
3707 * gdb.base/annota1.exp: Update the expected output.
3708 * gdb.cp/annota2.exp: Ditto.
3709
843f4d93
AB
37102020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3711
3712 * lib/check-test-names.exp: Disable when testing is being run in
3713 parallel.
3714
c7c66341
TV
37152020-05-12 Tom de Vries <tdevries@suse.de>
3716
3717 * gdb.base/jit-elf.exp: Fix string concat.
3718
1b59ca1c
TV
37192020-05-12 Tom de Vries <tdevries@suse.de>
3720
3721 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3722 messages.
3723
b4991d29
TV
37242020-05-12 Tom de Vries <tdevries@suse.de>
3725
3726 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3727
dbb0ab10
TV
37282020-05-12 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3731 * gdb.ada/mi_catch_ex.exp: Same.
3732 * gdb.ada/mi_catch_ex_hand.exp: Same.
3733
7549fed8
TV
37342020-05-12 Tom de Vries <tdevries@suse.de>
3735
3736 * gdb.fortran/complex.exp: Use with_test_prefix.
3737
af2d5cd8
TV
37382020-05-12 Tom de Vries <tdevries@suse.de>
3739
3740 * gdb.trace/passcount.exp: Fix test-names.
3741
7c121311
TV
37422020-05-12 Tom de Vries <tdevries@suse.de>
3743
3744 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3745
c9f3b40e
TV
37462020-05-12 Tom de Vries <tdevries@suse.de>
3747
3748 * gdb.gdb/complaints.exp: Use with_test_prefix.
3749 * gdb.xml/tdesc-regs.exp: Same.
3750 * gdb.opt/inline-locals.exp: Fix test name.
3751
111b33f0
TV
37522020-05-12 Tom de Vries <tdevries@suse.de>
3753
3754 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3755 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3756 * gdb.dwarf2/implref-struct.exp: Same.
3757 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3758 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3759
ebf47080
SM
37602020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3761
3762 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3763
d30dcd12
AB
37642020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3765
3766 * lib/check-test-names.exp (all_test_names): New module variable.
3767 (counts): Add 'duplicates' field.
3768 (_check_duplicates): New procedure.
3769 (check): Also check for duplicates.
3770 (do_log_summary): Print duplicates count.
3771 (do_reset_vars): Reset counter for duplicate test names, and
3772 discard all know test names.
3773
34584c09
AB
37742020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * lib/gdb.exp: Include check-test-names.exp library.
3777 * lib/check-test-names.exp: New file.
3778
e0002117
TV
37792020-05-11 Tom de Vries <tdevries@suse.de>
3780
3781 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3782
53f539a3
KS
37832020-05-11 Keith Seitz <keiths@redhat.com>
3784
3785 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3786
113ee09a
TV
37872020-05-11 Tom de Vries <tdevries@suse.de>
3788
3789 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3790 * gdb.cp/cpexprs.exp.in: .. here.
3791 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3792 cpexprs.exp.
3793
ba3e70b0
KS
37942020-05-11 Keith Seitz <keiths@redhat.com>
3795
3796 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3797 test names.
3798 * gdb.ada/arrayptr.exp: Likewise.
3799 * gdb.ada/assign_arr.exp: Likewise.
3800 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3801 * gdb.ada/bp_on_var.exp: Likewise.
3802 * gdb.ada/call_pn.exp: Likewise.
3803 * gdb.ada/complete.exp: Likewise.
3804 * gdb.ada/fun_overload_menu.exp: Likewise.
3805 * gdb.ada/funcall_param.exp: Likewise.
3806 * gdb.ada/funcall_ref.exp: Likewise.
3807 * gdb.ada/packed_array_assign.exp: Likewise.
3808 * gdb.ada/same_component_name.exp: Likewise.
3809 * gdb.ada/type_coercion.exp: Likewise.
3810 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3811 * gdb.ada/variant_record_packed_array.exp: Likewise.
3812
3ee6bb11
TV
38132020-05-11 Tom de Vries <tdevries@suse.de>
3814
3815 PR symtab/25941
3816 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3817 out of ...
3818 * gdb.dwarf2/clang-debug-names.exp: ... here.
3819 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3820 clang-debug-names.exp.in.
3821 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3822 * gdb.dwarf2/clang-debug-names-2.c: New test.
3823
86cd6bc8
AKS
38242020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3825
3826 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3827 (fortran_runto_main): New Proc, fortran version of runto_main.
3828 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3829 * gdb.fortran/array-bounds.exp: Likewise.
3830 * gdb.fortran/array-slices.exp: Likewise.
3831 * gdb.fortran/block-data.exp: Likewise.
3832 * gdb.fortran/charset.exp: Likewise.
3833 * gdb.fortran/common-block.exp: Likewise.
3834 * gdb.fortran/complex.exp: Likewise.
3835 * gdb.fortran/derived-type-function.exp: Likewise.
3836 * gdb.fortran/derived-type.exp: Likewise.
3837 * gdb.fortran/info-modules.exp: Likewise.
3838 * gdb.fortran/info-types.exp: Likewise.
3839 * gdb.fortran/intrinsics.exp: Likewise.
3840 * gdb.fortran/library-module.exp: Likewise.
3841 * gdb.fortran/logical.exp: Likewise.
3842 * gdb.fortran/max-depth.exp: Likewise.
3843 * gdb.fortran/module.exp: Likewise.
3844 * gdb.fortran/multi-dim.exp: Likewise.
3845 * gdb.fortran/nested-funcs.exp: Likewise.
3846 * gdb.fortran/print-formatted.exp: Likewise.
3847 * gdb.fortran/print_type.exp: Likewise.
3848 * gdb.fortran/printing-types.exp: Likewise.
3849 * gdb.fortran/ptr-indentation.exp: Likewise.
3850 * gdb.fortran/ptype-on-functions.exp: Likewise.
3851 * gdb.fortran/subarray.exp: Likewise.
3852 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3853 * gdb.fortran/vla-datatypes.exp: Likewise.
3854 * gdb.fortran/vla-history.exp: Likewise.
3855 * gdb.fortran/vla-ptr-info.exp: Likewise.
3856 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3857 * gdb.fortran/vla-ptype.exp: Likewise.
3858 * gdb.fortran/vla-sizeof.exp: Likewise.
3859 * gdb.fortran/vla-type.exp: Likewise.
3860 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3861 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3862 * gdb.fortran/vla-value-sub.exp: Likewise.
3863 * gdb.fortran/vla-value.exp: Likewise.
3864 * gdb.fortran/whatis_type.exp: Likewise.
3865 * gdb.mi/mi-var-child-f.exp: Likewise.
3866
6dc55ce9 38672020-05-09 Tom de Vries <tdevries@suse.de>
3868
3869 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3870
283cb58c
TV
38712020-05-08 Tom de Vries <tdevries@suse.de>
3872
3873 * gdb.dwarf2/clang-debug-names.c: New test.
3874 * gdb.dwarf2/clang-debug-names.exp: New file.
3875
ac4a4f1c
SM
38762020-05-06 Simon Marchi <simon.marchi@efficios.com>
3877
3878 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3879 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3880
24fe640b
TV
38812020-05-06 Tom de Vries <tdevries@suse.de>
3882
3883 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3884 breakpoint is at a "recommended breakpoint location".
3885 * gdb.reverse/consecutive-reverse.exp: Same.
3886
0d8683a3
TV
38872020-05-06 Tom de Vries <tdevries@suse.de>
3888
3889 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3890 address.
3891
b8983c46
TV
38922020-05-06 Tom de Vries <tdevries@suse.de>
3893
3894 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3895
abf6d805
TV
38962020-05-06 Tom de Vries <tdevries@suse.de>
3897
3898 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3899 info for r.
3900
0fc2a808
TV
39012020-05-06 Tom de Vries <tdevries@suse.de>
3902
3903 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3904 necessary.
3905
873dd427
TV
39062020-05-06 Tom de Vries <tdevries@suse.de>
3907
3908 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3909 void.
3910
7c99e7e2
TV
39112020-05-06 Tom de Vries <tdevries@suse.de>
3912
3913 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3914 of ...
3915 * gdb.base/async.exp: ... here.
3916 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3917 "recommended breakpoint location".
3918
6173d6a6
TV
39192020-05-06 Tom de Vries <tdevries@suse.de>
3920
3921 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3922
6015a067
TV
39232020-05-04 Tom de Vries <tdevries@suse.de>
3924
3925 * gdb.base/async.exp: Check whether instruction addresses are a
3926 "recommended breakpoint location".
3927
3b6acaee
TT
39282020-05-03 Tom Tromey <tom@tromey.com>
3929
3930 * gdb.base/sepdebug.exp: Remove "catch" test.
3931 * gdb.base/break.exp: Remove "catch" test.
3932 * gdb.base/default.exp: Update expected output.
3933
5beb4d17
TV
39342020-05-02 Tom de Vries <tdevries@suse.de>
3935
3936 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3937 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3938 * gdb.arch/i386-mpx-map.exp: Same.
3939 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3940 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3941 * gdb.arch/i386-mpx.exp: Same.
3942
8caf140d
TV
39432020-05-02 Tom de Vries <tdevries@suse.de>
3944
3945 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3946
693196cb
TV
39472020-05-01 Tom de Vries <tdevries@suse.de>
3948
3949 * gdb.ada/operator_bp.exp: Allow more than required amount of
3950 breakpoint.
3951
53ae0aa9
TV
39522020-05-01 Tom de Vries <tdevries@suse.de>
3953
3954 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3955
ee9d1e5f
HD
39562020-04-30 Hannes Domani <ssbssa@yahoo.de>
3957
3958 PR gdb/18706
3959 * gdb.cp/stub-array-size.cc: New test.
3960 * gdb.cp/stub-array-size.exp: New file.
3961 * gdb.cp/stub-array-size.h: New test.
3962 * gdb.cp/stub-array-size2.cc: New test.
3963
d5cf82c0
HD
39642020-04-30 Hannes Domani <ssbssa@yahoo.de>
3965
3966 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3967 output to the new format.
3968
42e165c3
SM
39692020-04-29 Simon Marchi <simon.marchi@efficios.com>
3970
3971 * gdb.base/break.exp: Use with_test_prefix.
3972
6e4e3fe1
TV
39732020-04-29 Tom de Vries <tdevries@suse.de>
3974
3975 * lib/gdb.exp (debug_types): New proc.
3976 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3977 * gdb.python/py-symtab.exp: Same.
3978
d642b692
HD
39792020-04-29 Hannes Domani <ssbssa@yahoo.de>
3980
3981 PR gdb/17320
3982 * gdb.base/pretty-array.c: New test.
3983 * gdb.base/pretty-array.exp: New file.
3984
ea90f227
TV
39852020-04-29 Tom de Vries <tdevries@suse.de>
3986
3987 PR symtab/25889
3988 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3989 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3990 and include cpexprs.exp.
3991
a65189c9
TV
39922020-04-28 Mark Williams <mark@myosotissp.com>
3993
3994 PR gdb/24480
3995 * dw4-toplevel-types.exp: Test for top level types.
3996 * dw4-toplevel-types.cc: Test for top level types.
3997
32d1f47a
TBA
39982020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3999
4000 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4001 (theads -> threads).
4002
56a4f5a1
TV
40032020-04-28 Tom de Vries <tdevries@suse.de>
4004
4005 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4006
0b2f8a3b
TV
40072020-04-28 Tom de Vries <tdevries@suse.de>
4008
4009 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4010
5390c717
TV
40112020-04-28 Tom de Vries <tdevries@suse.de>
4012
4013 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4014
15cd93d0
TV
40152020-04-28 Tom de Vries <tdevries@suse.de>
4016
4017 * gdb.dwarf2/main-foo.c: New test.
4018 * gdb.dwarf2/struct-with-sig.exp: New file.
4019
d472f0fb
TV
40202020-04-25 Tom de Vries <tdevries@suse.de>
4021
4022 * boards/debug-types.exp: New file.
4023
8d840e05
AB
40242020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4025
4026 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4027
bcfe6157
TT
40282020-04-24 Tom Tromey <tom@tromey.com>
4029
4030 PR symtab/12707:
4031 * gdb.python/py-symbol.exp: Update expected results for
4032 linkage_name test.
4033 * gdb.cp/print-demangle.exp: New file.
4034 * gdb.base/c-linkage-name.exp: Fix test.
4035 * gdb.guile/scm-symbol.exp: Update expected results for
4036 linkage_name test.
4037
f049a313
TT
40382020-04-24 Tom Tromey <tom@tromey.com>
4039
4040 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4041 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4042 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4043 assembler.
4044
7cf28874
TV
40452020-04-24 Tom de Vries <tdevries@suse.de>
4046
4047 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4048 C++.
4049
dac2fef7
TT
40502020-04-24 Tom Tromey <tromey@adacore.com>
4051
4052 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4053 values.
4054 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4055 values. Update test for minimal encodings.
4056 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4057 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4058 values. Update test for minimal encodings.
4059
1acda803
TT
40602020-04-24 Tom Tromey <tromey@adacore.com>
4061
4062 PR python/23662:
4063 * gdb.ada/variant.exp: Add Python checks.
4064 * gdb.rust/simple.exp: Add dynamic type checks.
4065
adfb9815
TT
40662020-04-24 Tom Tromey <tromey@adacore.com>
4067
4068 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4069 Make array type matching more lax.
4070 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4071 * gdb.ada/mi_variant.exp: New file.
4072 * gdb.ada/mi_variant/pck.ads: New file.
4073 * gdb.ada/mi_variant/pkg.adb: New file.
4074 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4075 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4076
7d79de9a
TT
40772020-04-24 Tom Tromey <tromey@adacore.com>
4078
4079 * gdb.ada/variant.exp: Add dynamic field offset tests.
4080 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4081 * gdb.ada/variant/pkg.adb: Add new variables.
4082
f8e89861
TT
40832020-04-24 Tom Tromey <tromey@adacore.com>
4084
4085 * gdb.ada/variant.exp: New file
4086 * gdb.ada/variant/pkg.adb: New file
4087 * gdb.ada/variant/pck.adb: New file
4088
86e887ae
TV
40892020-04-24 Tom de Vries <tdevries@suse.de>
4090
4091 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4092
88428775
TV
40932020-04-24 Tom de Vries <tdevries@suse.de>
4094
4095 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4096 flags.
4097
4e86f6e7
TV
40982020-04-24 Tom de Vries <tdevries@suse.de>
4099
4100 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4101
2016d3e6
TV
41022020-04-24 Tom de Vries <tdevries@suse.de>
4103
4104 * lib/gdb.exp (default_gdb_start): Handle eof.
4105 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4106 failure.
4107 * gdb.base/readnever.exp: Handle clean_restart failure.
4108
70bc38f5
TV
41092020-04-23 Tom de Vries <tdevries@suse.de>
4110
4111 * gdb.base/decl-before-def.exp: Run to main and print a again.
4112
de82891c
TV
41132020-04-23 Tom de Vries <tdevries@suse.de>
4114
4115 * gdb.base/decl-before-def-decl.c: New test.
4116 * gdb.base/decl-before-def-def.c: New test.
4117 * gdb.base/decl-before-def.exp: New file.
4118
96038148
TV
41192020-04-23 Tom de Vries <tdevries@suse.de>
4120
4121 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4122
54ac3df1
TV
41232020-04-22 Tom de Vries <tdevries@suse.de>
4124
4125 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4126 debug_info_offset.
4127 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4128 before $objsfile in the line line.
4129
714534e1
TV
41302020-04-22 Tom de Vries <tdevries@suse.de>
4131
4132 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4133
16a7dbf4
MS
41342020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4135
4136 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4137 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4138 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4139 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4140 * gdb.base/jit-protocol.h: Update definitions to match all usage
4141 contexts.
4142
41432020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4144
4145 * gdb.base: Rename all jit related test and source files.
4146
41472020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4148
4149 * gdb.base/jit-reader.exp: Relax register output check.
4150
317d2668
TV
41512020-04-22 Tom de Vries <tdevries@suse.de>
4152
4153 PR symtab/25764
4154 * gdb.base/psym-external-decl-2.c: New test.
4155 * gdb.base/psym-external-decl.c: New test.
4156 * gdb.base/psym-external-decl.exp: New file.
4157 * gdb.threads/tls.exp: Add PR25807 kfail.
4158
eea9e357
TV
41592020-04-22 Tom de Vries <tdevries@suse.de>
4160
4161 PR symtab/25801
4162 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4163 in "info source" output.
4164
3d5afab3
TV
41652020-04-22 Tom de Vries <tdevries@suse.de>
4166
4167 PR symtab/25700
4168 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4169 symtab for imported_unit.c.
4170
b32102f6
GB
41712020-04-21 Gary Benson <gbenson@redhat.com>
4172
4173 * gdb.base/advance.c (func): New argument, to match call site.
4174 (func2, func3): Add return statements.
4175
d43b7a2d
TBA
41762020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4177
4178 * gdb.multi/run-only-second-inf.c: New file.
4179 * gdb.multi/run-only-second-inf.exp: New file.
4180
d89edf9b
MM
41812020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4182
4183 * gdb.btrace/multi-inferior.c: New test.
4184 * gdb.btrace/multi-inferior.exp: New file.
4185
1a476b6d
MM
41862020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4187
4188 * gdb.btrace/enable-new-thread.c: New test.
4189 * gdb.btrace/enable-new-thread.exp: New file.
4190
4778a5f8
TV
41912020-04-21 Tom de Vries <tdevries@suse.de>
4192
4193 PR gdb/25471
4194 * gdb.threads/killed-outside.c: New test.
4195 * gdb.threads/killed-outside.exp: New file.
4196
9b2c992c
GB
41972020-04-20 Gary Benson <gbenson@redhat.com>
4198
4199 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4200 * gdb.base/nested-subp2.exp: Likewise.
4201 * gdb.base/nested-subp3.exp: Likewise.
4202
b5d1d6f7
GB
42032020-04-20 Gary Benson <gbenson@redhat.com>
4204
4205 * gdb.base/nested-subp1.exp: Disable test when using clang.
4206 * gdb.base/nested-subp2.exp: Likewise.
4207 * gdb.base/nested-subp3.exp: Likewise.
4208
25230285
GB
42092020-04-20 Gary Benson <gbenson@redhat.com>
4210
4211 * gdb.cp/exception.cc: Fix compilation error with clang.
4212
fa93cc8f
GB
42132020-04-20 Gary Benson <gbenson@redhat.com>
4214
809730f3 4215 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4216
e0c45f30
GB
42172020-04-20 Gary Benson <gbenson@redhat.com>
4218
4219 * gdb.base/jit-main.c: Fix compilation error with clang.
4220
4ddfec93
KR
42212020-04-17 Kamil Rytarowski <n54@gmx.com>
4222
4223 * gdb.base/attach-twice.c: Include "sys/types.h".
4224 (PTRACE_ATTACH): Add fallback definition.
4225 (main): Pass `0' to the 4th argument of `ptrace'.
4226
2bed205e
KR
42272020-04-17 Kamil Rytarowski <n54@gmx.com>
4228
4229 * gdb.base/fork-running-state.c: Include "signal.h".
4230
0743fc83
TT
42312020-04-17 Tom Tromey <tromey@adacore.com>
4232
4233 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4234 Update tests.
4235 * gdb.btrace/cpu.exp: Update tests.
4236 * gdb.base/maint.exp: Update tests.
4237 * gdb.base/default.exp: Update tests.
4238 * gdb.base/completion.exp: Update tests.
4239
efba5c23
TV
42402020-04-16 Tom de Vries <tdevries@suse.de>
4241
4242 PR symtab/25791
4243 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4244 (ensure_gdb_index): and factor out and move ...
4245 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4246 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4247
d191d716
TV
42482020-04-16 Tom de Vries <tdevries@suse.de>
4249
4250 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4251 loading exec.
4252
99f1bc6a
AB
42532020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4254
4255 * gdb.base/many-completions.exp: New file.
4256
194d088f
TV
42572020-04-14 Tom de Vries <tdevries@suse.de>
4258
4259 PR symtab/25718
4260 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4261
c1a66c06
TV
42622020-04-14 Tom de Vries <tdevries@suse.de>
4263
4264 PR symtab/25720
4265 * gdb.base/maint-expand-symbols-header-file.c: New test.
4266 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4267 * gdb.base/maint-expand-symbols-header-file.h: New test.
4268
21b0982c
AB
42692020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4270
4271 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4272 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4273 get_func_info.
4274 (get_func_info): Delete.
4275 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4276 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4277 * lib/dwarf.exp (get_func_info): New function.
4278
dd1cab06
TV
42792020-04-13 Tom de Vries <tdevries@suse.de>
4280
4281 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4282 to what find_gnatmake does.
4283
71ea2b6b
TV
42842020-04-10 Tom de Vries <tdevries@suse.de>
4285
4286 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4287 -readnow.
4288
bdfc1e8a
TV
42892020-04-10 Tom de Vries <tdevries@suse.de>
4290
4291 PR cli/25808
4292 * gdb.base/style.c: Add leading newlines.
4293 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4294 Check listing of main's one-line body.
4295
14ca8ecf
TV
42962020-04-08 Tom de Vries <tdevries@suse.de>
4297
4298 * lib/gdb.exp (psymtabs_p): New proc.
4299 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4300 importing unit" unsupported if there are no partial symbols.
4301
e21d048f
TV
43022020-04-08 Tom de Vries <tdevries@suse.de>
4303
4304 PR testsuite/25760
4305 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4306
25c11aca
TV
43072020-04-07 Tom de Vries <tdevries@suse.de>
4308
4309 PR symtab/25796
4310 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4311
5707e24b
TV
43122020-04-07 Tom de Vries <tdevries@suse.de>
4313
4314 * gdb.base/check-psymtab.c: New test.
4315 * gdb.base/check-psymtab.exp: New file.
4316
6ee448cc
TT
43172020-04-06 Tom Tromey <tromey@adacore.com>
4318
4319 * gdb.ada/variant-record/proc.adb: New file.
4320 * gdb.ada/variant-record/value.adb: New file.
4321 * gdb.ada/variant-record/value.s: New file.
4322 * gdb.ada/variant-record.exp: New file.
4323
9e7c9a03
HD
43242020-04-03 Hannes Domani <ssbssa@yahoo.de>
4325
4326 PR gdb/25325
4327 * gdb.cp/typed-enum.cc: New test.
4328 * gdb.cp/typed-enum.exp: New file.
4329
c90d28ac
AB
43302020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4331
4332 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4333 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4334 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4335 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4336 * gdb.opt/inline-small-func.c: New file.
4337 * gdb.opt/inline-small-func.exp: New file.
4338 * gdb.opt/inline-small-func.h: New file.
4339
34e9a9fa
AB
43402020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4341
4342 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4343 function.
4344
6a354911
AB
43452020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4346
4347 * lib/dwarf.exp (function_range): Allow compiler options to be
4348 specified.
4349
880d9777
TV
43502020-04-02 Tom de Vries <tdevries@suse.de>
4351
4352 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4353 __attribute__((always_inline)).
4354 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4355
f32682ea
TV
43562020-04-02 Tom de Vries <tdevries@suse.de>
4357
4358 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4359 (gdbserver_gdb_exit): ... here. Add timeout warning.
4360 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4361 (connect_target_extended_remote): Append new server_spawn_id to
4362 server_spawn_ids.
4363 (cleanup): New proc.
4364 (setup, <toplevel>): Call cleanup.
4365
d3214198
TV
43662020-04-02 Tom de Vries <tdevries@suse.de>
4367
4368 * gdb.base/main-psymtab.exp: New file.
4369
cc77ed24
TV
43702020-04-02 Tom de Vries <tdevries@suse.de>
4371
4372 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4373
3638a098
TT
43742020-04-01 Tom Tromey <tom@tromey.com>
4375
4376 * gdb.base/complex-parts.exp: Add type tests.
4377
c34e8714
TT
43782020-04-01 Tom Tromey <tom@tromey.com>
4379
4380 * gdb.base/complex-parts.exp: Add arithmetic tests.
4381
981c08ce
TT
43822020-04-01 Tom Tromey <tom@tromey.com>
4383
4384 * gdb.compile/compile.exp: Update.
4385 * gdb.compile/compile-cplus.exp: Update.
4386 * gdb.base/varargs.exp: Update.
4387 * gdb.base/floatn.exp: Update.
4388 * gdb.base/endianity.exp: Update.
4389 * gdb.base/callfuncs.exp (do_function_calls): Update.
4390 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4391 (complex_float_integral_args): Update.
4392 * gdb.base/complex.exp: Update.
4393 * gdb.base/complex-parts.exp: Update.
4394
3d1cfd43
TT
43952020-04-01 Tom Tromey <tromey@adacore.com>
4396
4397 * gdb.rust/union.rs: New file.
4398 * gdb.rust/union.exp: New file.
4399 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4400 (main): Update.
4401 * gdb.rust/simple.exp: Move union tests to union.exp.
4402
e033dfa9
TT
44032020-04-01 Tom Tromey <tromey@adacore.com>
4404
4405 * gdb.rust/simple.rs (main): Remove "y0".
4406
53cccef1
TBA
44072020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4408
4409 * gdb.multi/stop-all-on-exit.c: New test.
4410 * gdb.multi/stop-all-on-exit.exp: New file.
4411
60e22c1e
HD
44122020-04-01 Hannes Domani <ssbssa@yahoo.de>
4413
4414 PR gdb/24789
4415 * gdb.cp/misc.cc: Add integer reference variable.
4416 * gdb.cp/misc.exp: Add test.
4417
e139a727
TBA
44182020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4419
4420 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4421 scenario to cover execution until the end and also the case
4422
16b0db75
TV
44232020-03-31 Tom de Vries <tdevries@suse.de>
4424
4425 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4426 c. Use "maint info symtabs" to check symtab expansion.
4427
c0502da6
TV
44282020-03-30 Tom de Vries <tdevries@suse.de>
4429
4430 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4431 unsupported.
4432 (verify_psymtab_expanded): Move ...
4433 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4434 test.
4435 (readnow): New proc.
4436
5935fd15
AB
44372020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4438
4439 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4440 with $hex.
4441
1773be9e
TT
44422020-03-20 Tom Tromey <tromey@adacore.com>
4443
4444 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4445
70304be9
TT
44462020-03-20 Tom Tromey <tromey@adacore.com>
4447
4448 * gdb.ada/sub_variant/subv.adb: New file.
4449 * gdb.ada/sub_variant.exp: New file.
4450
0dd7b8f7
TV
44512020-03-20 Tom de Vries <tdevries@suse.de>
4452
4453 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4454 first break fails.
4455 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4456
cada5fc9
AB
44572020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4458
4459 * gdb.server/exit-multiple-threads.c: New file.
4460 * gdb.server/exit-multiple-threads.exp: New file.
4461
6b8c53f2
AB
44622020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4463
4464 * gdb.fortran/mixed-lang-stack.c: New file.
4465 * gdb.fortran/mixed-lang-stack.cpp: New file.
4466 * gdb.fortran/mixed-lang-stack.exp: New file.
4467 * gdb.fortran/mixed-lang-stack.f90: New file.
4468
19a2740f
AB
44692020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4470
4471 * gdb.linespec/cp-completion-aliases.cc: New file.
4472 * gdb.linespec/cp-completion-aliases.exp: New file.
4473
d8c8b848
TV
44742020-03-19 Tom de Vries <tdevries@suse.de>
4475
4476 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4477 more precise.
4478
a9933ccf
TV
44792020-03-18 Tom de Vries <tdevries@suse.de>
4480
4481 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4482 * gdb.dwarf2/break-inline-psymtab.c: New test.
4483 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4484
2f89101f
TV
44852020-03-16 Tom de Vries <tdevries@suse.de>
4486
4487 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4488 cache_verify and cache_verify_proc.
4489
6b9374f1
TV
44902020-03-15 Tom de Vries <tdevries@suse.de>
4491
4492 * gdb.server/solib-list.exp: Handle
4493 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4494
eaeaf44c
TV
44952020-03-15 Tom de Vries <tdevries@suse.de>
4496
4497 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4498 objfiles".
4499
3293bbaf
TT
45002020-03-14 Tom Tromey <tom@tromey.com>
4501
4502 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4503
ab44624c
TV
45042020-03-14 Tom de Vries <tdevries@suse.de>
4505
4506 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4507
54c43825
TV
45082020-03-14 Tom de Vries <tdevries@suse.de>
4509
4510 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4511 result in line-by-line fashion.
4512
2ac70237
TV
45132020-03-14 Tom de Vries <tdevries@suse.de>
4514
4515 * lib/gdb.exp (supports_statement_frontiers): New proc.
4516 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4517
09546b56
TV
45182020-03-14 Tom de Vries <tdevries@suse.de>
4519
4520 * gdb.base/printcmds.exp: Add missing quoting for "print
4521 teststring2".
4522
a1f6a07c
TT
45232020-03-13 Tom Tromey <tom@tromey.com>
4524
4525 * gdb.base/printcmds.exp (test_print_strings): Add regression
4526 test.
4527 * gdb.base/printcmds.c (charptr): New typedef.
4528 (teststring2): New global.
4529
1b83d09c
AB
45302020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4531
4532 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4533 full path in the test name.
4534 (test_ld): Add some with_test_prefix blocks to make test names
4535 unique.
4536
2d61316c
TV
45372020-03-13 Tom de Vries <tdevries@suse.de>
4538
4539 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4540
2e9145ac
TV
45412020-03-13 Tom de Vries <tdevries@suse.de>
4542
4543 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4544
96c7f873
TV
45452020-03-13 Tom de Vries <tdevries@suse.de>
4546
4547 PR symtab/25646
4548 * gdb.dwarf2/imported-unit.exp: Add test.
4549
49ba92c0
TV
45502020-03-13 Tom de Vries <tdevries@suse.de>
4551
4552 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4553 (var1, var2): New variable.
4554 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4555 matching symbols.
4556
301b21e0
TV
45572020-03-13 Tom de Vries <tdevries@suse.de>
4558
4559 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4560 (Term::command): Use prompt prefix.
4561 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4562 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4563 command_no_prompt_prefix instead of prefix.
4564 * gdb.tui/tui-layout-asm.exp: Same.
4565
3f512721
SM
45662020-03-12 Simon Marchi <simon.marchi@efficios.com>
4567
4568 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4569
40310f30
SM
45702020-03-12 Simon Marchi <simon.marchi@efficios.com>
4571
4572 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4573 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4574 on" while stepping over the test instruction, match printed
4575 message.
4576
09252140
TV
45772020-03-12 Tom de Vries <tdevries@suse.de>
4578
4579 * gdb.base/info-types.exp: Use exp_continue during matching of output
4580 of "info types".
4581
14e9c72c
TV
45822020-03-12 Tom de Vries <tdevries@suse.de>
4583
4584 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4585
e515d67e
TV
45862020-03-12 Tom de Vries <tdevries@suse.de>
4587
4588 * gdb.fortran/module.exp: Use exp_continue during matching of output
4589 of "info variable -n".
4590
307eafd8
TV
45912020-03-12 Tom de Vries <tdevries@suse.de>
4592
4593 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4594 gdb.dwarf2/dw2-ranges-base.c.
4595
9a2de3fc
TV
45962020-03-12 Tom de Vries <tdevries@suse.de>
4597
4598 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4599 in presence of GLIBC debuginfo.
4600
3217502e
TV
46012020-03-12 Tom de Vries <tdevries@suse.de>
4602
4603 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4604 $core.
4605
1281424c
TV
46062020-03-12 Tom de Vries <tdevries@suse.de>
4607
4608 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4609 more precise.
4610
038b97fc
SM
46112020-03-11 Simon Marchi <simon.marchi@efficios.com>
4612
4613 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4614 from Unix to Windows path.
4615
5308d1e7
TV
46162020-03-11 Tom de Vries <tdevries@suse.de>
4617
4618 * gdb.ada/minsyms.exp: Set language to ada.
4619
f870f78f
TV
46202020-03-11 Tom de Vries <tdevries@suse.de>
4621
4622 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4623
5a13315d
TV
46242020-03-11 Tom de Vries <tdevries@suse.de>
4625
4626 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4627
976862ed
TT
46282020-03-11 Tom Tromey <tromey@adacore.com>
4629
4630 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4631
7462c383
TV
46322020-03-11 Tom de Vries <tdevries@suse.de>
4633
4634 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4635
1c6c46a0
TV
46362020-03-11 Tom de Vries <tdevries@suse.de>
4637
4638 * gdb.base/break-interp.exp: Limit verbose scope.
4639
44f41bb7
TV
46402020-03-11 Tom de Vries <tdevries@suse.de>
4641
4642 * gdb.fortran/logical.f90: Define variable with character type.
4643 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4644
b76f3a42
TV
46452020-03-11 Tom de Vries <tdevries@suse.de>
4646
4647 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4648
1c33af77
TV
46492020-03-11 Tom de Vries <tdevries@suse.de>
4650
4651 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4652 symtabs.
4653
8c95582d
AB
46542020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4655 Bernd Edlinger <bernd.edlinger@hotmail.de>
4656
4657 * gdb.cp/step-and-next-inline.cc: New file.
4658 * gdb.cp/step-and-next-inline.exp: New file.
4659 * gdb.cp/step-and-next-inline.h: New file.
4660 * gdb.dwarf2/dw2-is-stmt.c: New file.
4661 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4662 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4663 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4664 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4665
cecf8547
AB
46662020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4667
4668 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4669 is-stmt flag in the line table.
4670
0ba678c9
TV
46712020-03-09 Tom de Vries <tdevries@suse.de>
4672
4673 * lib/gdb.exp (cached_file): Create cache dir.
4674
72fbdf83
TV
46752020-03-07 Tom de Vries <tdevries@suse.de>
4676
4677 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4678 * gdb.cp/rvalue-ref-params.exp: Same.
4679
436b5e99
TV
46802020-03-06 Tom de Vries <tdevries@suse.de>
4681
4682 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4683 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4684
09f2921c
TV
46852020-03-06 Tom de Vries <tdevries@suse.de>
4686
4687 * README: Fix "the the".
4688 * gdb.base/dprintf.exp: Same.
4689
50a3cc5d
TV
46902020-03-05 Tom de Vries <tdevries@suse.de>
4691
4692 * gdb.base/maint.exp: Update "main print statistics" expected output.
4693
0a709cba
AKS
46942020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4695
4696 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4697 (fortran_int8): Likewise.
4698 (fortran_real4): Likewise.
4699 (fortran_real8): Likewise.
4700 (fortran_complex4): Likewise.
4701 (fortran_logical4): Likewise.
4702 (fortran_character1): Likewise.
4703
5e5d66b6
AB
47042020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4705
4706 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4707 printed as true.
4708
7b973adc
SDJ
47092020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4710
4711 * gdb.base/printcmds.exp: Add test to verify printf of a
4712 variable holding an address.
4713
478e490a
TV
47142020-03-03 Tom de Vries <tdevries@suse.de>
4715
4716 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4717
1ef44e86
TV
47182020-03-03 Tom de Vries <tdevries@suse.de>
4719
4720 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4721 gdb_test_multiple call.
4722
b98cc2cf
TV
47232020-03-03 Tom de Vries <tdevries@suse.de>
4724
4725 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4726 gdb_test_multiple calls.
4727
63e163f2
AB
47282020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4729
4730 * gdb.base/default.exp: Remove test of 'set history filename'.
4731 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4732 filename to the empty string.
4733 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4734 and GDBHISTSIZE.
4735
24ed6739
AB
47362020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4737
4738 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4739 disabled.
4740
590003dc 47412020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4742 Tom de Vries <tdevries@suse.de>
590003dc
TV
4743
4744 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4745 -prompt prefix, before user_code argument. Add -lbl option likewise.
4746 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4747 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4748 argument.
4749 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4750 have "\r\n" at start-of-line, instead of at end-of-line.
4751
f5e46084
SM
47522020-02-28 Simon Marchi <simon.marchi@efficios.com>
4753
4754 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4755 libinproctrace.so.
4756
f7a7000d
LM
47572020-02-28 Luis Machado <luis.machado@linaro.org>
4758
4759 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4760 to "p/x".
4761
718e0816
LM
47622020-02-28 Luis Machado <luis.machado@linaro.org>
4763
4764 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4765 asm/ptrace.h and error.h.
4766
13c3a74a
TV
47672020-02-28 Tom de Vries <tdevries@suse.de>
4768
4769 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4770 (struct wrapper, do_something, mundane/symada__cS): Move ...
4771 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4772 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4773 Update "print symada__cS before partial symtab expansion" regexp.
4774 Update breakpoint location. Flush symbol cache after expansion.
4775
85d2d5bb
LM
47762020-02-28 Luis Machado <luis.machado@linaro.org>
4777
4778 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4779
3608f86c
TV
47802020-02-27 Tom de Vries <tdevries@suse.de>
4781
4782 * config/sid.exp: Remove unused globals.
4783 * gdb.base/attach.exp: Same.
4784 * gdb.base/catch-load.exp: Same.
4785 * gdb.base/dbx.exp: Same.
4786 * lib/gdb.exp: Same.
4787 * lib/mi-support.exp: Same.
4788 * lib/prompt.exp: Same.
4789
c8d4f6df
TV
47902020-02-27 Tom de Vries <tdevries@suse.de>
4791
4792 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4793 not set.
4794
0d79cdc4
AM
47952020-02-26 Aaron Merey <amerey@redhat.com>
4796
4797 * gdb.debuginfod: New directory for debuginfod tests.
4798 * gdb.debuginfod/main.c: New test file.
4799 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4800
0dce4280
TV
48012020-02-26 Tom de Vries <tdevries@suse.de>
4802
4803 PR gdb/25603
4804 * gdb.base/persistent-lang.cc: New test.
4805 * gdb.base/persistent-lang.exp: New file.
4806
9e80cfa1
AB
48072020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4808
4809 * gdb.fortran/derived-type-striding.exp: Add a new test.
4810 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4811 new test.
4812
2078dbb2
AB
48132020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4814
4815 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4816 names.
4817
70d49700
TV
48182020-02-25 Tom de Vries <tdevries@suse.de>
4819
4820 PR go/18926
4821 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4822
a88ef40d
TV
48232020-02-24 Tom de Vries <tdevries@suse.de>
4824
4825 PR gdb/25592
4826 * gdb.base/info-locals-unused-static-var.c: New test.
4827 * gdb.base/info-locals-unused-static-var.exp: New file.
4828
01b1af32
TT
48292020-02-22 Tom Tromey <tom@tromey.com>
4830
4831 * gdb.python/tui-window.exp: New file.
4832 * gdb.python/tui-window.py: New file.
4833
7c043ba6
TT
48342020-02-22 Tom Tromey <tom@tromey.com>
4835
4836 PR tui/17850:
4837 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4838 tests.
4839
c22fef7e
TT
48402020-02-22 Tom Tromey <tom@tromey.com>
4841
4842 * gdb.tui/new-layout.exp: Add sub-layout tests.
4843
ee325b61
TT
48442020-02-22 Tom Tromey <tom@tromey.com>
4845
4846 * gdb.tui/new-layout.exp: New file.
4847
3f0cbb04
TT
48482020-02-22 Tom Tromey <tom@tromey.com>
4849
4850 * gdb.rust/rust-style.rs: New file.
4851 * gdb.rust/rust-style.exp: New file.
4852 * gdb.base/style.exp: Test structure printing.
4853 * gdb.base/style.c (struct some_struct): New type.
4854 (enum etype): New type.
4855 (struct_value): New global.
4856
75525152
TV
48572020-02-21 Tom de Vries <tdevries@suse.de>
4858
4859 PR go/18926
4860 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4861 Remove blanket xfails. Use message argument for gdb_breakpoint.
4862 Make continuing to breakpoint test conditional on setting breakpoint.
4863 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4864 DW_AT_name attribute. Add xfail for GCC PR93866.
4865
bd360d30
AB
48662020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4867
4868 * gdb.dwarf2/cpp-linkage-name.c: New file.
4869 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4870
c7adb09f 48712020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4872
4873 * lib/gdb.exp (gdb_wrapper_init): Reset
4874 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4875 not exist.
4876
a9c79803
TV
48772020-02-20 Tom de Vries <tdevries@suse.de>
4878
4879 PR go/17018
4880 * gdb.go/hello.exp: Copy ...
4881 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4882 print of st to print value of global definition. Add xfail for GCC
4883 PR93844.
4884 * gdb.go/hello.exp: Remove printing of st before definition.
4885 * gdb.go/hello.go: Copy ...
4886 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4887 to st.
4888 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4889
d7445728
TV
48902020-02-20 Tom de Vries <tdevries@suse.de>
4891
4892 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4893 (gdb_simple_compile): Handle compile_flags go by using .go extension
4894 for source file.
4895 * gdb.go/chan.exp: Use support_go_compile.
4896 * gdb.go/handcall.exp: Same.
4897 * gdb.go/hello.exp: Same.
4898 * gdb.go/integers.exp: Same.
4899 * gdb.go/max-depth.exp: Same.
4900 * gdb.go/methods.exp: Same.
4901 * gdb.go/package.exp: Same.
4902 * gdb.go/strings.exp: Same.
4903 * gdb.go/types.exp: Same.
4904 * gdb.go/unsafe.exp: Same.
4905
c9c41e6d
TV
49062020-02-19 Tom de Vries <tdevries@suse.de>
4907
4908 * gdb.python/lib-types.exp: Make xfail more strict.
4909
f20ff837
TV
49102020-02-19 Tom de Vries <tdevries@suse.de>
4911
4912 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4913
08410482
DE
49142020-02-19 Doug Evans <dje@google.com>
4915
4916 PR rust/25535
4917 * gdb.rust/simple.exp: Add test.
4918 * gdb.rust/simple.rs: Add test.
4919
623563f7
TV
49202020-02-19 Tom de Vries <tdevries@suse.de>
4921
4922 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4923 output line-by-line.
4924
d3308cfd
TV
49252020-02-19 Tom de Vries <tdevries@suse.de>
4926
4927 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4928
86cbc5dc
TV
49292020-02-19 Tom de Vries <tdevries@suse.de>
4930
4931 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4932 prelink.
4933
9db2b96b
TV
49342020-02-19 Tom de Vries <tdevries@suse.de>
4935
4936 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4937 (gdb_do_cache): Use gdb_do_cache_wrap.
4938 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4939
89e2fdc5
TV
49402020-02-19 Tom de Vries <tdevries@suse.de>
4941
4942 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4943 gdb_compile option.
4944
373d7ac0
SM
49452020-02-18 Simon Marchi <simon.marchi@efficios.com>
4946
4947 * gdb.base/printcmds.exp (test_print_enums): Update expected
4948 output.
4949
b29a2df0
SM
49502020-02-18 Simon Marchi <simon.marchi@efficios.com>
4951
4952 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4953 for "unknown".
4954
6740f0cc
SM
49552020-02-18 Simon Marchi <simon.marchi@efficios.com>
4956
4957 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4958 enumerator.
4959
edd45eb0
SM
49602020-02-18 Simon Marchi <simon.marchi@efficios.com>
4961
4962 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4963 FE_, add FE_NONE.
4964 (three): Update.
4965 (enum flag_enum_without_zero): New enum.
4966 (flag_enum_without_zero): New variable.
4967 (enum not_flag_enum): New enum.
4968 (three_not_flag): New variable.
4969 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4970 (test_print_enums): Add more tests for printing flag enums.
4971
d4295de4
TV
49722020-02-18 Tom de Vries <tdevries@suse.de>
4973
4974 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4975 (gdb_compile_ada): ... here.
4976 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4977 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4978
f251f505
TT
49792020-02-14 Tom Tromey <tom@tromey.com>
4980
4981 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4982 build directory.
4983 * boards/gdbserver-base.exp: Update path to gdbserver.
4984
8f432634
TV
49852020-02-13 Tom de Vries <tdevries@suse.de>
4986
4987 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4988
92b6eaf7
TV
49892020-02-13 Tom de Vries <tdevries@suse.de>
4990
4991 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4992 are missing.
4993
f3b0f7fe
TV
49942020-02-13 Tom de Vries <tdevries@suse.de>
4995
4996 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4997 call.
4998
f6be8713
SDJ
49992020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5000
5001 PR tui/25126
5002 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5003 * gdb.base/cached-source-file.c: New file.
5004 * gdb.base/cached-source-file.exp: New file.
5005
b2770d5e
TV
50062020-02-11 Tom de Vries <tdevries@suse.de>
5007
5008 PR testsuite/25488
5009 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5010
44f6938e
TV
50112020-02-10 Tom de Vries <tdevries@suse.de>
5012
5013 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5014
5f0e2eb7
MR
50152020-02-10 Maciej W. Rozycki <macro@wdc.com>
5016
5017 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5018 and $after_addr are both integers before making a comparison.
5019
46ce2b6f
TV
50202020-02-09 Tom de Vries <tdevries@suse.de>
5021
5022 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5023 command output and paste it into gdb.log. If any, paste catch message
5024 to gdb.log.
5025
5abbbe1d
TT
50262020-02-07 Tom Tromey <tromey@adacore.com>
5027
5028 PR breakpoints/24915:
5029 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5030
1d5d29e7
SV
50312020-02-06 Shahab Vahedi <shahab@synopsys.com>
5032
5033 * gdb.tui/tui-missing-src.exp: Add the "missing source
5034 file" test for the TUI.
5035
b0999b9b
AB
50362020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5037
5038 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5039 including a port number in the output.
5040
c3b149eb
AKS
50412020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5042
5043 * lib/fortran.exp (fortran_int4): Handle clang.
5044 (fortran_int8): Likewise.
5045 (fortran_real4): Likewise.
5046 (fortran_real8): Likewise.
5047 (fortran_complex4): Likewise.
5048 (fortran_logical4): Likewise.
5049 (fortran_character1): Likewise.
5050
f8dcc90b
TV
50512020-02-04 Tom de Vries <tdevries@suse.de>
5052
5053 * README (Race detection): Add note.
5054
f90ac7c2
TV
50552020-02-04 Tom de Vries <tdevries@suse.de>
5056
5057 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5058
780636ae
TV
50592020-02-04 Tom de Vries <tdevries@suse.de>
5060
5061 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5062
5d2e1193
RA
50632020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5064
5065 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5066 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5067 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5068 blttar, bnetarl.
5069 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5070 binary for blttar, bnetarl.
5071 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5072 wait instruction. Delete ldmx test.
5073 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5074
e409c542
AKS
50752020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5076
5077 * gdb.fortran/array-bounds-high.exp: New file.
5078 * gdb.fortran/array-bounds-high.f90: New file.
5079
b0029748
LD
50802020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5081
5082 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5083 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5084
195a8287
TV
50852020-02-01 Tom de Vries <tdevries@suse.de>
5086
5087 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5088
42330a68
AB
50892020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5090
5091 PR tui/9765
5092 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5093 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5094
b62a8028
LM
50952020-01-29 Luis Machado <luis.machado@linaro.org>
5096
5097 * gdb.arch/aarch64-brk-patterns.c: New source file.
5098 * gdb.arch/aarch64-brk-patterns.exp: New test.
5099
5f440116
TBA
51002020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5101
5102 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5103 GCC/Clang version.
5104 * gdb.cp/pass-by-ref.exp: Ditto.
5105
ee2a6fc6
TV
51062020-01-29 Tom de Vries <tdevries@suse.de>
5107
5108 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5109 * gdb.threads/watchpoint-fork-mt.c: Same.
5110 * gdb.threads/watchpoint-fork-parent.c: Same.
5111 * gdb.threads/watchpoint-fork-st.c: Same.
5112 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5113
16b10d6e
LM
51142020-01-27 Luis Machado <luis.machado@linaro.org>
5115
5116 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5117 sitting at a syscall instruction when we hit the syscall function's
5118 breakpoint.
5119 Check PC against one obtained with the x command.
5120 Validate syscall number.
5121 (step_over_syscall): Don't continue to the syscall instruction if
5122 we're already there.
5123
b1468492
PW
51242020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5125
5126 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5127
7ffa82e1
AB
51282020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5129
5130 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5131 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5132
3d92a3e3
AB
51332020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5134
5135 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5136 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5137
94a72be7
AB
51382020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5139
5140 * gdb.base/maint.exp: Update line table parsing test.
5141 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5142
53af73bf
PA
51432020-01-24 Pedro Alves <palves@redhat.com>
5144
5145 PR gdb/25410
5146 * gdb.multi/multi-re-run-1.c: New.
5147 * gdb.multi/multi-re-run-2.c: New.
5148 * gdb.multi/multi-re-run.exp: New.
5149
1ba1ac88
AB
51502020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5151
5152 PR gdb/23718
5153 * gdb.server/server-kill-python.exp: New file.
5154
f3364a6d
AB
51552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5156
5157 * gdb.server/multi-ui-errors.c: New file.
5158 * gdb.server/multi-ui-errors.exp: New file.
5159
733d0a67
AB
51602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5161
5162 PR tui/9765
5163 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5164
4f13c1c0
TT
51652020-01-19 Tom Tromey <tom@tromey.com>
5166
5167 * gdb.tui/main.exp: Add check for plain "file".
5168
40c94099
CB
51692020-01-16 Christian Biesinger <cbiesinger@google.com>
5170
5171 * lib/gdb.exp: Fix spelling error (seperatelly).
5172
ff47f4f0
TT
51732020-01-14 Tom Tromey <tom@tromey.com>
5174
5175 PR symtab/12535:
5176 * gdb.python/python.exp: Test decode_line with empty string
5177 argument.
5178
717c684d
BE
51792020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5180
5181 * gdb.base/skip-inline.exp: Extend test.
5182
44e4c775
AB
51832020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5184
5185 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5186 * gdb.dwarf2/dw2-bad-elf.c: New file.
5187 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5188
d93c6db7
AB
51892020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5190
5191 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5192 _line_saw_file.
5193
9a6d629c
AB
51942020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5195
5196 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5197 border.
5198
d9ebdab7
TBA
51992020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5200
5201 * gdb.multi/multi-target.exp (setup): Factor out "info
5202 connections" and "info inferiors" tests to ...
5203 (test_info_inferiors): ... this new procedure.
5204 (top level): Run new "info-inferiors" tests.
5205
f3c469b9
PA
52062020-01-10 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.server/bkpt-other-inferior.exp: New file.
5209
121b3efd
PA
52102020-01-10 Pedro Alves <palves@redhat.com>
5211
5212 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5213 of "add-inferior".
5214 * gdb.base/quit-live.exp: Likewise.
5215 * gdb.base/remote-exec-file.exp: Likewise.
5216 * gdb.guile/scm-progspace.exp: Likewise.
5217 * gdb.linespec/linespec.exp: Likewise.
5218 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5219 * gdb.mi/user-selected-context-sync.exp: Likewise.
5220 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5221 "info inferiors" tests.
5222 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5223 "add-inferior".
5224 * gdb.multi/watchpoint-multi.exp: Likewise.
5225 * gdb.python/py-inferior.exp: Likewise.
5226 * gdb.server/extended-remote-restart.exp: Likewise.
5227 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5228 "info inferiors".
5229 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5230 * gdb.trace/report.exp: Likewise.
5231
1dadb1dd
PA
52322020-01-10 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.multi/multi-target.c: New file.
5235 * gdb.multi/multi-target.exp: New file.
5236 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5237 mode requested, but remote does not support non-stop".
5238
78f2c40a
PA
52392020-01-10 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5242 disconnect before reconnecting.
5243
e7af6c70
TBA
52442020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5245 Pedro Alves <palves@redhat.com>
5246
5247 * gdb.server/connect-without-multi-process.exp: Also test
5248 continuing to end.
5249
acdf84a6
PA
52502020-01-10 Pedro Alves <palves@redhat.com>
5251
5252 * gdb.base/remote-exec-file.exp: New file.
5253
873657b9
PA
52542020-01-10 Pedro Alves <palves@redhat.com>
5255
5256 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5257 output.
5258 * gdb.threads/async.c: New.
5259 * gdb.threads/async.exp: New.
5260 * gdb.multi/tids-gid-reset.c: New.
5261 * gdb.multi/tids-gid-reset.exp: New.
5262
7f0ae84c
GB
52632020-01-10 George Barrett <bob@bob131.so>
5264
5265 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5266 to help in finding the image relocation offset.
5267 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5268 options in arguments.
5269 (stap_test_no_debuginfo): Likewise.
5270 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5271 test variants.
5272 (stap_test): Add null semaphore relocation test.
5273
47e9d49d
GB
52742020-01-10 George Barrett <bob@bob131.so>
5275
5276 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5277 * gdb.base/stap-probe.exp: Likewise.
5278 (stap_test): Pass argument as an additional flag.
5279 (stap_test_no_debuginfo): Likewise.
5280 (stap_test): Check `info probes stap' output for semaphore
5281 addresses if the test binary is supposed to have them.
5282
f5a7c406
AB
52832020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5284
5285 * gdb.tui/basic.exp: Add more scrolling tests.
5286
9ae6bf64
TT
52872020-01-09 Tom Tromey <tom@tromey.com>
5288
5289 PR tui/18932:
5290 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5291 meangingful value.
5292 (Term::command, Term::resize): Update.
5293 * gdb.tui/basic.exp: Add scrolling test.
5294
b2efe70c
AB
52952020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5296
5297 * gdb.tui/tui-layout-asm.exp: New file.
5298
3804da7e
AB
52992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5300
5301 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5302
b40aa28f
AB
53032020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5304
5305 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5306 (Term::enter_tui): Use Term::prepare_for_tui.
5307
63ffd7c9
AB
53082020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5309
5310 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5311 called.
5312
3be966f6
AB
53132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5314
5315 * gdb.base/skip.exp: Fix race condition in test.
5316
153d79c4
AB
53172020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5318
5319 * gdb.base/backtrace.c: New file.
5320 * gdb.base/backtrace.exp: New file.
5321
f2302a34
AB
53222020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5323
5324 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5325
6ec1d75e
PW
53262020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5327
5328 * gdb.base/style.exp: Test that warnings are styled.
5329
c296cbe6
BE
53302019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5331
5332 * gdb.base/line65535.exp: New file.
5333 * gdb.base/line65535.c: New file.
5334
b28a729d
SM
53352019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5336
5337 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5338 * lib/gnat_debug_info_test.adb: New file.
5339 * gdb.ada/ptype_tagged_param.exp: Use
5340 gnat_runtime_has_debug_info, expect a different output if
5341 runtime does not have debug info.
5342
7f2d7a0d
SM
53432019-12-20 Simon Marchi <simon.marchi@efficios.com>
5344
5345 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5346 (another) quote in test name.
5347
f3bce483
SM
53482019-12-20 Simon Marchi <simon.marchi@efficios.com>
5349
5350 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5351 Add quote in test name.
5352
c855a912
TBA
53532019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5354
5355 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5356 directory instead.
5357 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5358 * gdb.cp/pass-by-ref-2.cc: New file.
5359 * gdb.cp/pass-by-ref-2.exp: New file.
5360
fc9d2d72
TT
53612019-12-20 Tom Tromey <tom@tromey.com>
5362
5363 * gdb.tui/list-before.exp: New file.
5364
77b97e00
TT
53652019-12-20 Tom Tromey <tom@tromey.com>
5366
5367 * gdb.tui/list.exp: Check for source on initial listing.
5368
f69656d0
TT
53692019-12-11 Tom Tromey <tromey@adacore.com>
5370
5371 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5372 Add crlf test.
5373
99a55965
SM
53742019-12-18 Simon Marchi <simon.marchi@efficios.com>
5375
5376 * gdb.base/default.exp: Update value of $_gdb_major.
5377
5024637f
BE
53782019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5379
5380 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5381
b63634be
BE
53822019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5383
5384 * gdb.base/skip.exp: Whitespace fix.
5385
45d73523
BE
53862019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5387
5388 * gdb.base/skip-inline.c: New file.
5389 * gdb.base/skip-inline.exp: New file.
5390
d043f8c8
SM
53912019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5392
5393 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5394 jit_function_00 to jit_function_stack_mangle.
5395 * gdb.base/jithost.c (jit_function_t): Rename to...
5396 (jit_function_stack_mangle_t): ... this.
5397 (jit_function_add_t): New typedef.
5398 (jit_function_00_code): Rename to...
5399 (jit_function_stack_mangle_code): ... this, make static.
5400 (jit_function_add_code): New.
5401 (main): Generate "add" function and call it. Adjust to changes
5402 in jithost_abi.
5403 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5404 (struct jithost_abi) <begin, end>: Remove fields.
5405 <object, function_stack_mangle, function_add>: New fields.
5406 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5407 code_end>: Remove fields.
5408 <func_stack_mangle>: New field.
5409 (read_debug_info): Adjust to renaming, create block for "add"
5410 function.
5411 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5412
873de05c
TT
54132019-12-11 Tom Tromey <tom@tromey.com>
5414
5415 * gdb.tui/resize.exp: Fix regexp.
5416 * gdb.tui/regs.exp: Fix regexps.
5417 * gdb.tui/main.exp: Fix regexp.
5418
3d979945
TT
54192019-12-11 Tom Tromey <tom@tromey.com>
5420
5421 * gdb.tui/resize.exp: Update.
5422 * gdb.tui/empty.exp (layouts): Update.
5423
2192a9d3
TT
54242019-12-11 Tom Tromey <tom@tromey.com>
5425
5426 * gdb.tui/regs.exp: Update.
5427 * gdb.tui/empty.exp (layouts): Update.
5428 * gdb.tui/basic.exp: Update.
5429 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5430
d8edc8b7
PW
54312019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5432
5433 * gdb.base/options.exp: Add -raw-values in the print completion list.
5434 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5435
4c12d936
KB
54362019-12-10 Kevin Buettner <kevinb@redhat.com>
5437
5438 * gdb.threads/omp-par-scope.c: New file.
5439 * gdb/threads/omp-par-scope.exp: New file.
5440
26b911fb
KB
54412019-12-10 Kevin Buettner <kevinb@redhat.com>
5442
bb47f919
KB
5443 * lib/gdb.exp (support_nested_function_tests): New proc.
5444
54452019-12-10 Kevin Buettner <kevinb@redhat.com>
5446
5447 * lib/gdb.exp (gdb_compile_openmp): New proc.
5448 (build_executable_from_specs): Add an "openmp" option.
5449 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5450
6c71eb7d
TT
54512019-12-10 Tom Tromey <tromey@adacore.com>
5452
5453 * gdb.ada/unchecked_union.exp: New file.
5454 * gdb.ada/unchecked_union/pck.adb: New file.
5455 * gdb.ada/unchecked_union/pck.ads: New file.
5456 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5457 * gdb-utils.exp (string_to_regexp): Also quote "?".
5458
bac7c5cf
GB
54592019-12-10 George Barrett <bob@bob131.so>
5460
5461 Test scripted probe breakpoints.
5462 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5463 * gdb.python/py-breakpoint.c (main): Likewise.
5464 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5465 specifier test.
5466 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5467
330f1d38
TBA
54682019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5469
5470 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5471 an rvalue parameter.
5472 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5473 parameter.
5474
b43315e2
AB
54752019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5476
5477 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5478 modules.
5479
54f73dad
AB
54802019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5481
5482 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5483 broken version of GCC.
5484
d57cbee9
AB
54852019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5486
5487 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5488 sym-info-cmds library.
5489 * gdb.fortran/info-types.exp: Likewise.
5490 * lib/sym-info-cmds.exp: New file.
5491
c14aab8c
TV
54922019-12-08 Tom de Vries <tdevries@suse.de>
5493
5494 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5495
aa2d5a42
KS
54962019-12-07 Keith Seitz <keiths@redhat.com>
5497
5498 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5499 * gdb.base/corefile-buildid-shlib.c: New file.
5500 * gdb.base/corefile-buildid.c: New file.
5501 * gdb.base/corefile-buildid.exp: New file.
5502
93e55f0a
TV
55032019-12-06 Tom de Vries <tdevries@suse.de>
5504
5505 * gdb.dwarf2/varval.exp: Add decl before def test.
5506
c7d12402
TBA
55072019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5508
5509 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5510
06acc08f
TBA
55112019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5512
5513 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5514 CV and reference conversion for overload resolution.
5515 * gdb.cp/rvalue-ref-overload.exp: Test it.
5516
e0fad1ea
PW
55172019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5518
5519 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5520 * gdb.base/frameapply.exp: Test faas without command.
5521
8d70a9f0
AB
55222019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5523
5524 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5525 Fortran tests.
5526 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5527 order.
5528
36c8fb93
AB
55292019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5530
5531 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5532 casting to type with no kind specified.
5533 (test_basic_parsing_of_type_kinds): Additional tests for types
5534 with no kind specified, and add tests for single/double
5535 precision/complex types.
5536
4139ff00
TT
55372019-12-04 Tom Tromey <tromey@adacore.com>
5538
5539 * gdb.base/endianity.c (struct other) <x>: New field.
5540 (main): Initialize it.
5541 * gdb.base/endianity.exp: Update.
5542
a05cf17a
TT
55432019-12-04 Tom Tromey <tromey@adacore.com>
5544
5545 * gdb.ada/scalar_storage/storage.adb: New file.
5546 * gdb.ada/scalar_storage/pck.adb: New file.
5547 * gdb.ada/scalar_storage/pck.ads: New file.
5548 * gdb.ada/scalar_storage.exp: New file.
5549
103a685e
TT
55502019-12-04 Tom Tromey <tromey@adacore.com>
5551
5552 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5553 (main): Initialize it.
5554 * gdb.base/endianity.exp: Update.
5555
c2512106
AB
55562019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5557
5558 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5559
293b38d6
AB
55602019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5561
5562 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5563 -symbol-info-module-functions and -symbol-info-module-variables.
5564
216a7e6b
AB
55652019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5566
5567 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5568
5bbd8269
AB
55692019-12-01 Richard Bunt <richard.bunt@arm.com>
5570 Andrew Burgess <andrew.burgess@embecosm.com>
5571
5572 * gdb.fortran/derived-type-striding.exp: New file.
5573 * gdb.fortran/derived-type-striding.f90: New file.
5574 * gdb.fortran/array-slices.exp: New file.
5575 * gdb.fortran/array-slices.f90: New file.
5576
be09caf1
PW
55772019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5578
5579 * gdb.base/define.exp: Test . in command names.
5580 * gdb.base/setshow.exp: Update test, as . is now part of
5581 command name.
5582
643c0cbe
PW
55832019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5584
5585 * gdb.base/define-prefix.exp: New file.
5586
dcdec678
AB
55872019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5588
5589 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5590 compile.
5591 (skip_btrace_pt_tests): Likewise.
5592
640ab947
AB
55932019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5594
5595 * gdb.fortran/info-modules.exp: Compile source files in correct
5596 order.
5597
d22670f0
KB
55982019-11-27 Kevin Buettner <kevinb@redhat.com>
5599
5600 * gdb.dwarf2/imported-unit.exp: New file.
5601 * gdb.dwarf2/imported-unit.c: New file.
5602
db5960b4
AB
56032019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5604
5605 * gdb.mi/mi-fortran-modules-2.f90: New file.
5606 * gdb.mi/mi-fortran-modules.exp: New file.
5607 * gdb.mi/mi-fortran-modules.f90: New file.
5608
7dc42066
AB
56092019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5610
5611 * gdb.mi/mi-sym-info-1.c: New file.
5612 * gdb.mi/mi-sym-info-2.c: New file.
5613 * gdb.mi/mi-sym-info.exp: New file.
5614
0dfeecca
TT
56152019-11-22 Tom Tromey <tromey@adacore.com>
5616
5617 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5618 * gdb.ada/tasks/foo.adb: Add another stopping location.
5619
34877895
PJ
56202019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5621
5622 * gdb.base/endianity.c: New test.
5623 * gdb.base/endianity.exp: New file.
5624
2e84f897
LD
56252019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5626
5627 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5628
65d1cd5f
TV
56292019-11-21 Tom de Vries <tdevries@suse.de>
5630
5631 PR gdb/24956
5632 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5633
4f22c3f4
SDJ
56342019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5635
5636 * gdb.python/py-progspace.exp: Add missing parentheses on some
5637 'print' commands.
5638
9f6ad286
TT
56392019-11-19 Tom Tromey <tom@tromey.com>
5640
5641 * gdb.tui/winheight.exp: New file.
5642
0b8dbf3f
AB
56432019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5644
5645 * gdb.base/ctf-whatis.c: Delete.
5646 * gdb.base/ctf-whatis.exp: Delete.
5647 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5648
f833b7a7
AB
56492019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5650
5651 * gdb.base/ctf-cvexpr.exp: Delete.
5652 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5653
30d0a636
AB
56542019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5655
5656 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5657 the compiler. Clean up header comment a little.
5658 * gdb.base/ctf-ptype.exp: Likewise.
5659 * gdb.base/ctf-whatis.exp: Likewise.
5660 * lib/gdb.exp (skip_ctf_tests): New proc.
5661
494409bb
SDJ
56622019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5663
5664 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5665 * gdb.tui/corefile-run.exp: New file.
5666
55708e99
TT
56672019-11-14 Tom Tromey <tromey@adacore.com>
5668
5669 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5670 regression tests.
5671
45e42163
TT
56722019-11-12 Tom Tromey <tom@tromey.com>
5673
5674 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5675 after any command. Expect prompt after WAIT_FOR is seen.
5676 (enter_tui): Enable resize messages.
5677 (command): Expect command in output.
5678 (get_line): Avoid error when cursor appears to be off-screen.
5679 (dump_screen): Include screen size in title.
5680 (_do_resize): New proc, from "resize".
5681 (resize): Rewrite. Do resize in two steps.
5682 * gdb.tui/empty.exp (layouts): Fix entries.
5683 (check_boxes): Remove xfail.
5684 (check_text): Dump screen on failure.
5685
086baaf1
AB
56862019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5687
5688 * gdb.python/py-symbol.exp: Add test for
5689 gdb.lookup_static_symbols.
5690
09ff83af
AB
56912019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5692
5693 * gdb.python/py-symbol.c: Declare and call function from new
5694 py-symbol-2.c file.
5695 * gdb.python/py-symbol.exp: Compile both source files, and add new
5696 tests for gdb.lookup_static_symbol.
5697 * gdb.python/py-symbol-2.c: New file.
5698
11af934b
TV
56992019-11-02 Tom de Vries <tdevries@suse.de>
5700
5701 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5702 * gdb.base/anon.exp: Same.
5703 * gdb.base/auto-connect-native-target.exp: Same.
5704 * gdb.base/call-ar-st.exp: Same.
5705 * gdb.base/catch-syscall.exp: Same.
5706 * gdb.base/commands.exp: Same.
5707 * gdb.base/default.exp: Same.
5708 * gdb.base/display.exp: Same.
5709 * gdb.base/float.exp: Same.
5710 * gdb.base/foll-fork.exp: Same.
5711 * gdb.base/help.exp: Same.
5712 * gdb.base/info-macros.exp: Same.
5713 * gdb.base/info-proc.exp: Same.
5714 * gdb.base/info-target.exp: Same.
5715 * gdb.base/long_long.exp: Same.
5716 * gdb.base/macscp.exp: Same.
5717 * gdb.base/memattr.exp: Same.
5718 * gdb.base/nofield.exp: Same.
5719 * gdb.base/pointers.exp: Same.
5720 * gdb.base/printcmds.exp: Same.
5721 * gdb.base/ptype.exp: Same.
5722 * gdb.base/restore.exp: Same.
5723 * gdb.base/return.exp: Same.
5724 * gdb.base/scope.exp: Same.
5725 * gdb.base/set-noassign.exp: Same.
5726 * gdb.base/setshow.exp: Same.
5727 * gdb.base/shlib-call.exp: Same.
5728 * gdb.base/signals.exp: Same.
5729 * gdb.base/sigstep.exp: Same.
5730 * gdb.base/skip.exp: Same.
5731 * gdb.base/solib-symbol.exp: Same.
5732 * gdb.base/stap-probe.exp: Same.
5733 * gdb.base/step-line.exp: Same.
5734 * gdb.base/step-test.exp: Same.
5735 * gdb.base/style.exp: Same.
5736 * gdb.base/varargs.exp: Same.
5737 * gdb.base/vla-datatypes.exp: Same.
5738 * gdb.base/vla-ptr.exp: Same.
5739 * gdb.base/vla-sideeffect.exp: Same.
5740 * gdb.base/volatile.exp: Same.
5741 * gdb.base/watch-cond-infcall.exp: Same.
5742 * gdb.base/watchpoint.exp: Same.
5743
e96ec2ba
TV
57442019-11-02 Tom de Vries <tdevries@suse.de>
5745
5746 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5747 * gdb.cp/cpexprs.exp: Same.
5748 * gdb.cp/except-multi-location.exp: Same.
5749 * gdb.cp/exceptprint.exp: Same.
5750 * gdb.cp/gdb2384.exp: Same.
5751 * gdb.cp/inherit.exp: Same.
5752 * gdb.cp/m-static.exp: Same.
5753 * gdb.cp/meth-typedefs.exp: Same.
5754 * gdb.cp/misc.exp: Same.
5755 * gdb.cp/namespace.exp: Same.
5756 * gdb.cp/non-trivial-retval.exp: Same.
5757 * gdb.cp/overload.exp: Same.
5758 * gdb.cp/pr17132.exp: Same.
5759 * gdb.cp/re-set-overloaded.exp: Same.
5760 * gdb.cp/rvalue-ref-types.exp: Same.
5761 * gdb.cp/templates.exp: Same.
5762
bd5766ec
LM
57632019-11-01 Luis Machado <luis.machado@linaro.org>
5764
5765 PR gdb/25124
5766
5767 * gdb.arch/pr25124.S: New file.
5768 * gdb.arch/pr25124.exp: New file.
5769
165f8965
AB
57702019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5771
5772 * gdb.fortran/info-modules.exp: Update expected results, and add
5773 additional tests for 'info module functinos', and 'info module
5774 variables'.
5775 * gdb.fortran/info-types.exp: Update expected results.
5776 * gdb.fortran/info-types.f90: Extend testcase with additional
5777 module variables and functions.
5778
59c35742
AB
57792019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5780
5781 * gdb.fortran/info-modules.exp: New file.
5782 * gdb.fortran/info-types.exp: Build with new file.
5783 * gdb.fortran/info-types.f90: Include and use new module.
5784 * gdb.fortran/info-types-2.f90: New file.
5785
f3fb2519
PW
57862019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5787
5788 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5789 * gdb.base/settings.exp: Test all settings types using
5790 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5791 that now verifies that the value of "maint show" is the same as
5792 returned by the settings functions. Test the type of the
5793 maintenance settings.
5794 * gdb.base/default.exp: Update show_conv_list.
5795
d1e36019
TV
57962019-10-31 Tom de Vries <tdevries@suse.de>
5797
5798 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5799 gdb_test.
5800 * gdb.arch/amd64-disp-step.exp: Same.
5801 * gdb.asm/asm-source.exp: Same.
5802 * gdb.btrace/buffer-size.exp: Same.
5803 * gdb.btrace/cpu.exp: Same.
5804 * gdb.btrace/enable.exp: Same.
5805 * gdb.dwarf2/count.exp: Same.
5806 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5807 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5808 * gdb.fortran/vla-datatypes.exp: Same.
5809 * gdb.fortran/vla-history.exp: Same.
5810 * gdb.fortran/vla-ptype.exp: Same.
5811 * gdb.fortran/vla-value.exp: Same.
5812 * gdb.fortran/whatis_type.exp: Same.
5813 * gdb.guile/guile.exp: Same.
5814 * gdb.multi/tids.exp: Same.
5815 * gdb.python/py-finish-breakpoint.exp: Same.
5816 * gdb.python/py-framefilter.exp: Same.
5817 * gdb.python/py-pp-registration.exp: Same.
5818 * gdb.python/py-xmethods.exp: Same.
5819 * gdb.python/python.exp: Same.
5820 * gdb.server/connect-with-no-symbol-file.exp: Same.
5821 * gdb.server/no-thread-db.exp: Same.
5822 * gdb.server/run-without-local-binary.exp: Same.
5823 * gdb.stabs/weird.exp: Same.
5824 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5825 * gdb.threads/thread-find.exp: Same.
5826 * gdb.threads/tls-shared.exp: Same.
5827 * gdb.threads/tls.exp: Same.
5828 * gdb.threads/wp-replication.exp: Same.
5829 * gdb.trace/ax.exp: Same.
5830 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5831
3d11e68e
TV
58322019-10-31 Tom de Vries <tdevries@suse.de>
5833
5834 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5835 * gdb.ada/array_subscript_addr.exp: Same.
5836 * gdb.ada/arrayidx.exp: Same.
5837 * gdb.ada/arrayparam.exp: Same.
5838 * gdb.ada/arrayptr.exp: Same.
5839 * gdb.ada/boolean_expr.exp: Same.
5840 * gdb.ada/call_pn.exp: Same.
5841 * gdb.ada/complete.exp: Same.
5842 * gdb.ada/fixed_cmp.exp: Same.
5843 * gdb.ada/fun_addr.exp: Same.
5844 * gdb.ada/funcall_param.exp: Same.
5845 * gdb.ada/interface.exp: Same.
5846 * gdb.ada/mod_from_name.exp: Same.
5847 * gdb.ada/null_array.exp: Same.
5848 * gdb.ada/packed_array.exp: Same.
5849 * gdb.ada/packed_tagged.exp: Same.
5850 * gdb.ada/print_chars.exp: Same.
5851 * gdb.ada/print_pc.exp: Same.
5852 * gdb.ada/ptype_arith_binop.exp: Same.
5853 * gdb.ada/ptype_field.exp: Same.
5854 * gdb.ada/ptype_tagged_param.exp: Same.
5855 * gdb.ada/rec_return.exp: Same.
5856 * gdb.ada/ref_tick_size.exp: Same.
5857 * gdb.ada/str_ref_cmp.exp: Same.
5858 * gdb.ada/taft_type.exp: Same.
5859 * gdb.ada/tagged.exp: Same.
5860 * gdb.ada/type_coercion.exp: Same.
5861 * gdb.ada/uninitialized_vars.exp: Same.
5862
60b6ede8
TV
58632019-10-30 Tom de Vries <tdevries@suse.de>
5864
5865 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5866
30baf67b
TV
58672019-10-26 Tom de Vries <tdevries@suse.de>
5868
5869 * gdb.base/bigcore.c: Fix typos in comments.
5870 * gdb.base/ctf-ptype.c: Same.
5871 * gdb.base/long_long.c: Same.
5872 * gdb.dwarf2/dw2-op-out-param.S: Same.
5873 * gdb.python/py-evthreads.c: Same.
5874 * gdb.reverse/i387-stack-reverse.c: Same.
5875 * gdb.trace/tfile.c: Same.
5876 * lib/compiler.c: Same.
5877 * lib/compiler.cc: Same.
5878
158da0d1
TV
58792019-10-25 Tom de Vries <tdevries@suse.de>
5880
5881 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5882 gdb_test_multiple calls.
5883 * gdb.reverse/sigall-reverse.exp: Same.
5884 * gdb.reverse/solib-precsave.exp: Same.
5885 * gdb.reverse/solib-reverse.exp: Same.
5886 * gdb.reverse/until-precsave.exp: Same.
5887 * gdb.reverse/until-reverse.exp: Same.
5888
4ccdfbec
TV
58892019-10-24 Tom de Vries <tdevries@suse.de>
5890
5891 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5892 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5893 kfail using -wrap pattern flag and convenience variable
5894 gdb_test_name.
5895
33d569b7
AB
58962019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5897
5898 * gdb.python/py-progspace.exp: Add tests for the
5899 Progspace.block_for_pc method.
5900
4d0b984b
TT
59012019-10-23 Tom Tromey <tom@tromey.com>
5902
5903 * configure: Rebuild.
5904 * aclocal.m4: Use m4_include, not sinclude.
5905
94cb3754
TV
59062019-10-21 Tom de Vries <tdevries@suse.de>
5907
5908 * gdb.base/infcall-nested-structs.c: Add
5909 __attribute__((noinline,noclone)) to all functions.
5910 (call_all): Add missing variable initialization. Simplify return value.
5911 (breakpt): Increment volatile variable, to prevent call from being
5912 optimized out.
5913 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5914
062f1fc1
TV
59152019-10-17 Tom de Vries <tdevries@suse.de>
5916
5917 * gdb.fortran/module.exp: Allow info variables to print info for files
5918 other than module.f90.
5919
0b54364d
AB
59202019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5921
5922 * gdb.fortran/module.exp: Extend with 'info variables' test.
5923
7ff5fae7
AB
59242019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5925
5926 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5927 F77_FOR_TARGET.
5928
d10eccaa
TV
59292019-10-16 Tom de Vries <tdevries@suse.de>
5930
5931 PR tdep/25096
5932 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5933
745ff14e
TV
59342019-10-16 Tom de Vries <tdevries@suse.de>
5935
5936 PR tdep/24104
5937 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5938 Add KFAIL for PR tdep/25096.
5939
03e1ab94
TV
59402019-10-16 Tom de Vries <tdevries@suse.de>
5941
5942 PR testsuite/25059
5943 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5944
b17fcc10
TV
59452019-10-16 Tom de Vries <tdevries@suse.de>
5946
5947 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5948 as signed.
5949
9223170f
SM
59502019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5951
5952 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5953 one instead of increasing timeout.
5954
d6e76313
TV
59552019-10-13 Tom de Vries <tdevries@suse.de>
5956
5957 PR record/25038
5958 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5959 * gdb.reverse/sigall-reverse.exp: Same.
5960 * gdb.reverse/solib-precsave.exp: Same.
5961 * gdb.reverse/solib-reverse.exp: Same.
5962 * gdb.reverse/step-precsave.exp: Same.
5963 * gdb.reverse/until-precsave.exp: Same.
5964 * gdb.reverse/until-reverse.exp: Same.
5965 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5966
6dfc0041
AA
59672019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5968
5969 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5970 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5971 (cmp_struct_05_01, cmp_struct_static_02_01)
5972 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5973 comparisons.
5974
abcf2cc8
TV
59752019-10-10 Tom de Vries <tdevries@suse.de>
5976
5977 PR testsuite/24888
5978 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5979 gnatlink.
5980
a50faaf6
TV
59812019-10-09 Tom de Vries <tdevries@suse.de>
5982
5983 PR testsuite/25048
5984 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5985
60ff3cd7
AB
59862019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5987
5988 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5989 exceptions due to missing debug information.
5990
dfee8566
TV
59912019-10-07 Tom de Vries <tdevries@suse.de>
5992
5993 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5994
3d63690a
AB
59952019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5996
5997 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5998 * gdb.base/annota1.exp: Update to use gdb_test_name.
5999
30d1f018
WP
60002019-10-07 Weimin Pan <weimin.pan@oracle.com>
6001
6002 * gdb.base/ctf-whatis.exp: New file.
6003 * gdb.base/ctf-whatis.c: New file.
6004 * gdb.base/ctf-ptype.exp: New file.
6005 * gdb.base/ctf-ptype.c: New file.
6006 * gdb.base/ctf-constvars.exp: New file.
6007 * gdb.base/ctf-constvars.c: New file.
6008 * gdb.base/ctf-cvexpr.exp: New file.
6009
4dbbb47c
TV
60102019-10-04 Tom de Vries <tdevries@suse.de>
6011
6012 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6013 for loop.
6014
77c2dba3
TT
60152019-10-03 Tom Tromey <tom@tromey.com>
6016
6017 PR rust/24976:
6018 * gdb.rust/simple.rs (Union2): New type.
6019 (main): Use Union2.
6020 * gdb.rust/simple.exp: Add test.
6021
179aed7f
AB
60222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6023
6024 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6025 nested function prefix.
6026
0a4b0913
AB
60272019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6028 Richard Bunt <richard.bunt@arm.com>
6029 Andrew Burgess <andrew.burgess@embecosm.com>
6030
6031 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6032 nested functions.
6033 * gdb.fortran/nested-funcs.f90: Update expected results.
6034 * gdb.fortran/nested-funcs-2.exp: New file.
6035 * gdb.fortran/nested-funcs-2.f90: New file.
6036
082cce05
AB
60372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6038
6039 * gdb.python/py-parameter.exp: Make test names unique.
6040 * gdb.python/py-template.exp: Likewise.
6041 * gdb.python/py-value.exp: Likewise.
6042
2b74ba5a
AB
60432019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6044
6045 * gdb.base/break-interp.exp: Reduce test name duplication.
6046 * gdb.base/call-sc.exp: Likewise.
6047 * gdb.base/callfuncs.exp: Likewise.
6048 * gdb.base/charset.exp: Likewise.
6049 * gdb.base/dump.exp: Likewise.
6050 * gdb.base/ena-dis-br.exp: Likewise.
6051 * gdb.base/relational.exp: Likewise.
6052 * gdb.base/step-over-syscall.exp: Likewise.
6053 * gdb.base/structs.exp: Likewise.
6054
58eb20d5
AB
60552019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6056
6057 * gdb.linespec/explicit.exp: Make test names unique.
6058 * gdb.linespec/ls-errs.exp: Likewise.
6059
4d421147
AB
60602019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6061
6062 * gdb.reverse/break-precsave.exp: Make test names unique.
6063 * gdb.reverse/break-reverse.exp: Likewise.
6064 * gdb.reverse/finish-precsave.exp: Likewise.
6065 * gdb.reverse/finish-reverse.exp: Likewise.
6066 * gdb.reverse/machinestate-precsave.exp: Likewise.
6067 * gdb.reverse/machinestate.exp: Likewise.
6068 * gdb.reverse/readv-reverse.exp: Likewise.
6069 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6070 * gdb.reverse/sigall-precsave.exp: Likewise.
6071 * gdb.reverse/sigall-reverse.exp: Likewise.
6072 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6073 * gdb.reverse/watch-precsave.exp: Likewise.
6074 * gdb.reverse/watch-reverse.exp: Likewise.
6075
d8c06f22
AB
60762019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6077
6078 * gdb.threads/stop-with-handle.c: New file.
6079 * gdb.threads/stop-with-handle.exp: New file.
6080
3a56ed86
TV
60812019-10-03 Tom de Vries <tdevries@suse.de>
6082
6083 PR testsuite/25059
6084 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6085 directory" line to be missing.
6086
42275044
TV
60872019-10-03 Tom de Vries <tdevries@suse.de>
6088
6089 PR testsuite/25059
6090 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6091 type optional.
6092
9ef62df0
AA
60932019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6094
6095 * gdb.python/py-format-string.c (string.h): New include.
6096 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6097 the same value, for endianness-independence.
6098 * gdb.python/py-format-string.exp (default_regexp_dict)
6099 (test_pretty_structs, test_format): Adjust expected output to the
6100 changed initialization.
6101
37f6a7f4
TT
61022019-10-02 Tom Tromey <tromey@adacore.com>
6103
6104 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6105
1d58d6a2
PA
61062019-10-02 Pedro Alves <palves@redhat.com>
6107 Andrew Burgess <andrew.burgess@embecosm.com>
6108
6109 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6110 "print-file-var.h".
6111 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6112 (get_version_1): Print this_version_id and its address.
6113 Add extern "C" wrappers around interface functions.
6114 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6115 "print-file-var.h".
6116 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6117 (get_version_2): Print this_version_id and its address.
6118 Add extern "C" wrappers around interface functions.
6119 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6120 <stddef.h> and "print-file-var.h".
6121 Add extern "C" wrappers around interface functions.
6122 [VERSION_ID_MAIN] (this_version_id): Define.
6123 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6124 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6125 up extern "C" blocks.
6126 * gdb.base/print-file-var.exp (test): New, factored out from top
6127 level.
6128 (top level): Test all combinations of attribute hidden or not,
6129 dlopen or not, and this_version_id symbol in main file or not.
6130 Compile tests as both C++ and C, make test names unique.
6131
d770d56f
TT
61322019-10-01 Tom Tromey <tom@tromey.com>
6133
6134 * gdb.base/style.exp: Test "show logging filename".
6135
7f6aba03
TT
61362019-10-01 Tom Tromey <tom@tromey.com>
6137
6138 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6139 * gdb.base/style.exp: Add metadata style test.
6140
14309bb6
TT
61412019-10-01 Tom Tromey <tom@tromey.com>
6142
6143 * gdb.base/style.exp: Test "pwd".
6144
2a3c1174
PA
61452019-10-01 Tom Tromey <tom@tromey.com>
6146
6147 * gdb.base/style.exp: Update tests.
6148
53d666ec
AA
61492019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6150
6151 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6152 'six' to unsigned.
6153 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6154 'five'. Use an all-ones bit pattern for each.
6155 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6156 to its changed values.
6157
4a56a520
TT
61582019-09-30 Tom Tromey <tromey@adacore.com>
6159
6160 * gdb.rust/traits.rs: Disable all warnings.
6161
0df0352a
TV
61622019-09-29 Tom de Vries <tdevries@suse.de>
6163
aac66a4c 6164 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6165
73d9a918
TV
61662019-09-29 Tom de Vries <tdevries@suse.de>
6167
6168 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6169
060b3ab4
TV
61702019-09-27 Tom de Vries <tdevries@suse.de>
6171
6172 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6173
68f7d34d
TV
61742019-09-27 Tom de Vries <tdevries@suse.de>
6175
6176 PR record/23188
6177 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6178
5d63b30a
TT
61792019-09-26 Tom Tromey <tromey@adacore.com>
6180
6181 * gdb.ada/py_taft.exp: New file.
6182 * gdb.ada/py_taft/main.adb: New file.
6183 * gdb.ada/py_taft/pkg.adb: New file.
6184 * gdb.ada/py_taft/pkg.ads: New file.
6185
3d435220
TV
61862019-09-24 Tom de Vries <tdevries@suse.de>
6187
6188 PR gdb/24598
6189 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6190
77d03678
TV
61912019-09-22 Tom de Vries <tdevries@suse.de>
6192
6193 * gdb.base/restore.exp: Allow register variables to be optimized out at
6194 -O0.
6195
abf516c6
UW
61962019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6197
6198 * gdb.arch/spu-info.exp: Remove file.
6199 * gdb.arch/spu-info.c: Remove file.
6200 * gdb.arch/spu-ls.exp: Remove file.
6201 * gdb.arch/spu-ls.c: Remove file.
6202
6203 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6204 * gdb.asm/spu.inc: Remove file.
6205
6206 * gdb.base/dump.exp: Remove support for spu*-*-*.
6207 * gdb.base/stack-checking.exp: Likewise.
6208 * gdb.base/overlays.exp: Likewise.
6209 * gdb.base/ovlymgr.c: Likewise.
6210 * gdb.base/spu.ld: Remove file.
6211
6212 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6213 * gdb.cp/cpexprs.exp: Likewise.
6214 * gdb.cp/exception.exp: Likewise.
6215 * gdb.cp/gdb2495.exp: Likewise.
6216 * gdb.cp/mb-templates.exp: Likewise.
6217 * gdb.cp/pr9167.exp: Likewise.
6218 * gdb.cp/userdef.exp: Likewise.
6219
6220 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6221
6222 * gdb.cell: Remove directory.
6223 * lib/cell.exp: Remove file.
6224
e452e88f
TV
62252019-09-19 Tom de Vries <tdevries@suse.de>
6226
6227 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6228
8a625130
TV
62292019-09-19 Tom de Vries <tdevries@suse.de>
6230
6231 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6232
81dc3ab5
TV
62332019-09-19 Tom de Vries <tdevries@suse.de>
6234
6235 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6236 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6237 (gdb_target_cmd): ... here.
6238 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6239 value 2.
6240
b078f3ac
AB
62412019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6242
6243 * gdb.base/source-dir.exp: Avoid having directory names in test
6244 names.
6245
f1b620e9
MG
62462019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6247
6248 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6249 directory.
6250
67f3ed6a
AB
62512019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 * gdb.base/list-missing-source.exp: New file.
6254
d1b70248
TV
62552019-09-14 Tom de Vries <tdevries@suse.de>
6256
6257 PR teststuite/24599
6258 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6259 * lib/ada.exp (gnatmake_version_at_least): New proc.
6260
5fabdcd6
AB
62612019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6262
6263 * gdb.base/maint.exp: Use exec_has_index_section.
6264
aa17805f
AB
62652019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6266
6267 * gdb.base/maint.exp: Add test for 'maint info sections'.
6268
25e5c209
TV
62692019-09-12 Tom de Vries <tdevries@suse.de>
6270
6271 * gdb.base/store.exp: Allow register variables to be optimized out at
6272 -O0.
6273
4993045d
PW
62742019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6275
6276 * gdb.ada/rdv_wait.exp: Update to new task names.
6277 * gdb.base/task_switch_in_core.exp: Likewise.
6278 * gdb.base/info_sources_base.c: Likewise.
6279
8a516164
TT
62802019-09-10 Tom Tromey <tromey@adacore.com>
6281
6282 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6283
aa391654
TT
62842019-09-10 Tom Tromey <tromey@adacore.com>
6285
6286 * gdb.ada/dgopt.exp: New file.
6287 * gdb.ada/dgopt/x.adb: New file.
6288
8634b462
TT
62892019-09-08 Tom Tromey <tom@tromey.com>
6290
6291 * gdb.tui/resize.exp: Remove setup_xfail.
6292 * gdb.tui/regs.exp: Remove setup_xfail.
6293 * gdb.tui/basic.exp: Remove setup_xfail.
6294
736b0f76
DB
62952019-09-06 David Blaikie <dblaikie@gmail.com>
6296
6297 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6298 * gdb.cp/cplabel.exp: Ditto.
6299 * gdb.linespec/ls-errs.exp: Ditto.
6300
30331a6c
TV
63012019-09-05 Tom de Vries <tdevries@suse.de>
6302
6303 * lib/gdb.exp (cmp_file_string): New proc.
6304 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6305 runto_main. Verify save breakpoints output.
6306
98b0ebab
PW
63072019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6308
6309 * gdb.base/info-var.exp: Test info variables without running
6310 to main, to avoid expect's buffer overflow.
6311
4e962e74
TT
63122019-09-03 Tom Tromey <tromey@adacore.com>
6313
6314 * gdb.ada/bias.exp: New file.
6315 * gdb.ada/bias/bias.adb: New file.
6316 * gdb.ada/print_chars.exp: Add regression test.
6317 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6318 (MC): New variable.
6319
2ea1a07a
SL
63202019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6321
6322 * gdb.base/argv0-symlink.exp: Run only on native target
6323 and local host.
6324
8077c50d
TV
63252019-08-29 Tom de Vries <tdevries@suse.de>
6326
6327 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6328 diverse debug info.
6329 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6330
48352473
TV
63312019-08-28 Tom de Vries <tdevries@suse.de>
6332
6333 * gdb.base/info-var.exp: Allow info variables to print info for files
6334 other than info-var-f1.c and info-var-f2.c.
6335
d8f27c60
AB
63362019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6337
6338 * gdb.fortran/info-types.exp: Add module.
6339 * gdb.fortran/info-types.f90: Update expected results.
6340
1f20c35e
AB
63412019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6342
6343 * gdb.fortran/info-types.exp: New file.
6344 * gdb.fortran/info-types.f90: New file.
6345 * lib/fortran.exp (fortran_character1): New proc.
6346
4acfdd20
AB
63472019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6348
6349 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6350 functions'. Reindent as needed.
6351 * gdb.base/info-var-f1.c: New file.
6352 * gdb.base/info-var-f2.c: New file.
6353 * gdb.base/info-var.exp: New file.
6354 * gdb.base/info-var.h: New file.
6355
5c31b358
TV
63562019-08-26 Tom de Vries <tdevries@suse.de>
6357
6358 PR c++/24852
6359 * gdb.cp/no-libstdcxx-probe.exp: New test.
6360
b694989f
TV
63612019-08-26 Tom de Vries <tdevries@suse.de>
6362
6363 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6364 * tests need to be skipped.
6365 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6366 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6367 mi_skip_libstdcxx_probe_tests.
6368
d9c4ba53
SDJ
63692019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6370
6371 * gdb.python/py-xmethods.exp: Use raw strings when passing
6372 arguments to SimpleXMethodMatcher.
6373
395fad09
TV
63742019-08-22 Tom de Vries <tdevries@suse.de>
6375
6376 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6377 more informative.
6378
26c957f1
PA
63792019-08-21 Pedro Alves <palves@redhat.com>
6380
6381 * gdb.base/with.exp: Test "with" with no arguments.
6382
61f80d5d
TV
63832019-08-21 Tom de Vries <tdevries@suse.de>
6384
6385 * gdb.base/gdb-caching-proc.exp: Sort files.
6386
d7a11d13
TV
63872019-08-20 Tom de Vries <tdevries@suse.de>
6388
6389 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6390 compilation.
6391
34dafe9f
TV
63922019-08-16 Tom de Vries <tdevries@suse.de>
6393
6394 * gdb.base/compare-sections.exp ("after run to main"): Allow
6395 mismatched read-only sections for PIE executables.
6396
398fdd60
TT
63972019-08-16 Tom Tromey <tom@tromey.com>
6398
6399 * lib/tuiterm.exp (_csi_Z): New proc.
6400 * gdb.tui/basic.exp: Update window positions.
6401 * gdb.tui/empty.exp: Update window positions.
6402
d8f9e51c
SL
64032019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6404
6405 * gdb.base/examine-backward.exp: Correct regexp for
6406 "examine 3 bytes backward from ${address_zero}".
6407
3df505f6
TT
64082019-08-15 Tom Tromey <tom@tromey.com>
6409
6410 * gdb.tui/empty.exp: Enable resizing tests.
6411
272560b5
TT
64122019-08-15 Tom Tromey <tromey@adacore.com>
6413
6414 * gdb.ada/char_enum.exp: Add regression tests.
6415 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6416 and '0'.
6417 (Char, Gchar): Update.
6418 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6419
08235187
CB
64202019-08-15 Christian Biesinger <cbiesinger@google.com>
6421
6422 * gdb.python/python.exp: Expect a leading underscore on
6423 GdbOutput{,Error}File.
6424
22a2ab04
SL
64252019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6426
6427 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6428 Windows host.
6429
835b995b
SL
64302019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6431
6432 * gdb.base/batch-preserve-term-settings.exp
6433 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6434
97dd8e07
CB
64352019-08-15 Christian Biesinger <cbiesinger@google.com>
6436
6437 * lib/gdb.exp: When running on a mingw target, replace
6438 /x/ with x:/.
6439
75faf5c4
AH
64402019-08-14 Alan Hayward <alan.hayward@arm.com>
6441
6442 * gdb.arch/aarch64-prologue.c: New test.
6443 * gdb.arch/aarch64-prologue.exp: New file.
6444
abc6c00f
TV
64452019-08-13 Tom de Vries <tdevries@suse.de>
6446
6447 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6448 Thread.
6449
74c2c1f4
SL
64502019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6451
6452 * gdb.python/py-completion.exp: Download the .py file to the host
6453 and use its host pathname. Conditionalize tests that use
6454 tab completion and manipulate files on the build machine.
6455 * gdb.python/py-events.exp: Download the .py file to the host
6456 and use its host pathname.
6457 * gdb.python/py-evsignal.exp: Likewise.
6458 * gdb.python/py-evthreads.exp: Likewise.
6459 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6460 pathname syntax.
6461 * gdb.python/py-framefilter.exp: Download the .py file to the right
6462 place on the host. Match Windows pathname syntax.
6463 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6464 .py file to the host and use its host pathname.
6465 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6466 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6467 build pathname. Skip symlink test on Windows host. Add missing
6468 newline at end of file.
6469 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6470 and use its host pathname.
6471 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6472 * gdb.python/py-section-script.exp: Use host location of binfile
6473 on safe-path. Use correct path separator on Windows host.
6474 Reorder alternatives in gdb_test_multiple to prevent matching
6475 the wrong alternative on success.
6476 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6477
ca2589f3
PP
64782019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6479
6480 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6481 expect the GDB inferior to no longer immediately stop after
6482 being resumed with "signal SIGINT".
6483
020a839d
SL
64842019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6485
6486 * gdb.linespec/break-ask.exp: Generalize regexps to match
6487 Windows pathnames too.
6488
128d6509
TV
64892019-08-08 Tom de Vries <tdevries@suse.de>
6490
6491 PR testsuite/24862
6492 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6493
590042fc
PW
64942019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6495
6496 * gdb.base/style.exp: Update tests for help doc new invariants.
6497 * gdb.base/help.exp: Likewise.
6498
046bebe1
TT
64992019-08-06 Tom Tromey <tom@tromey.com>
6500
6501 * gdb.base/style.exp: Add disassemble test.
6502 * gdb.base/style.c (some_called_function): New function.
6503 (main): Use it.
6504
0b27c27d
CB
65052019-08-05 Christian Biesinger <cbiesinger@google.com>
6506
6507 * gdb.python/py-block.exp: Test dictionary access on blocks.
6508
580f1034
SM
65092019-08-05 Simon Marchi <simon.marchi@efficios.com>
6510
6511 PR gdb/24863
6512 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6513 -list-thread-groups --available test when running under
6514 check-read1.
6515
d86bd7cb
TV
65162019-08-05 Tom de Vries <tdevries@suse.de>
6517
6518 PR testsuite/24863
6519 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6520 * gdb.base/help.exp: Use with_read1_timeout_factor.
6521 * gdb.base/info-macros.exp: Same.
6522 * gdb.cp/nested-types.exp: Same.
6523
a80cf5d8
TV
65242019-08-05 Tom de Vries <tdevries@suse.de>
6525
6526 * lib/gdb.exp (version_at_least): Factor out of ...
6527 (tcl_version_at_least): ... here.
6528 (gdb_compile): Fail if pie results in non-PIE executable.
6529 (readelf_version, readelf_prints_pie): New proc.
6530 (exec_is_pie): Return -1 if unknown.
6531
d0962838
TV
65322019-08-05 Tom de Vries <tdevries@suse.de>
6533
6534 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6535
2252ff3d
SL
65362019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6537
6538 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6539
26655f53
SL
65402019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6541
6542 * lib/completion-support.exp (test_gdb_complete_none): Skip
6543 tab completion tests if no readline support.
6544 (test_gdb_complete_unique_re): Likewise.
6545 (test_gdb_complete_multiple): Likewise.
6546
db4dc13e
PW
65472019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6548
6549 * gdb.base/info_sources.exp: New file.
6550 * gdb.base/info_sources.c: New file.
6551 * gdb.base/info_sources_base.c: New file.
6552
0eba165a
PFC
65532019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6554
6555 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6556 prefix argument.
6557 (test_exit_status): Add prefix argument.
6558
59bd512b
TV
65592019-08-01 Tom de Vries <tdevries@suse.de>
6560
6561 PR testsuite/24863
6562 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6563 calling exp_continue for new thread and thread exited messages.
6564
2a3ad588
TV
65652019-08-01 Tom de Vries <tdevries@suse.de>
6566
6567 PR testsuite/24863
6568 * gdb.base/structs.exp: Fix check-read1 timeout using
6569 gdb_test_sequence.
6570 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6571
117eb594
TV
65722019-08-01 Tom de Vries <tdevries@suse.de>
6573
6574 PR testsuite/24863
6575 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6576 line.
6577
ed591340
TV
65782019-08-01 Tom de Vries <tdevries@suse.de>
6579
6580 PR testsuite/24863
6581 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6582
aa3b6533
TT
65832019-07-30 Tom Tromey <tromey@adacore.com>
6584
6585 * gdb.ada/display_nested.exp: New file.
6586 * gdb.ada/display_nested/foo.adb: New file.
6587 * gdb.ada/display_nested/pack.adb: New file.
6588 * gdb.ada/display_nested/pack.ads: New file.
6589
2906593f
CB
65902019-07-30 Christian Biesinger <cbiesinger@google.com>
6591
6592 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6593 namespace.
6594 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6595
0f575925
TV
65962019-07-30 Tom de Vries <tdevries@suse.de>
6597
6598 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6599 instead.
6600
b13057d9
TV
66012019-07-30 Tom de Vries <tdevries@suse.de>
6602
6603 PR testsuite/24834
6604 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6605 (exec_is_pie): New proc.
6606
5c4dde85
CB
66072019-07-29 Christian Biesinger <cbiesinger@google.com>
6608
6609 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6610
c620ed88
CB
66112019-07-29 Christian Biesinger <cbiesinger@google.com>
6612
6613 * gdb.python/py-objfile.c: Add global and static vars.
6614 * gdb.python/py-objfile.exp: Test new functions Objfile.
6615 lookup_global_symbol and lookup_static_symbol.
6616
3d235706
TT
66172019-07-29 Tom Tromey <tom@tromey.com>
6618
6619 * lib/tuiterm.exp (Term::_csi_@): New proc.
6620 (Term::_csi_X): Don't move cursor.
6621
c7e4c0a6
PW
66222019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6623
6624 * gdb.base/options.exp: Update backtrace - completion to
6625 new option -frame-info.
6626 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6627 Test new 'set print frame-info'. Test backtrace -frame-info
6628 overriding 'set print frame-info'.
6629 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6630 Test new 'set print frame-info'.
6631 Verify consistency of backtrace with and without filters, with and
6632 without -no-filters.
6633 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6634 default.
6635
de28a3b7
TV
66362019-07-29 Tom de Vries <tdevries@suse.de>
6637
6638 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6639 no arguments".
6640
507dd60e
TV
66412019-07-29 Tom de Vries <tdevries@suse.de>
6642
6643 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6644 is a substring of the first for "complete non-unique file name".
6645
5beafce9
TV
66462019-07-29 Tom de Vries <tdevries@suse.de>
6647
6648 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6649 with ".*".
6650
2d274232
TV
66512019-07-29 Tom de Vries <tdevries@suse.de>
6652
6653 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6654 Pass prompt_regexp parameter to gdb_test_multiple calls.
6655
9197cd8b
TV
66562019-07-29 Tom de Vries <tdevries@suse.de>
6657
6658 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6659 print registers" regexps.
9197cd8b 6660
b528dae0
TV
66612019-07-29 Tom de Vries <tdevries@suse.de>
6662
6663 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6664
d17725d7
TV
66652019-07-29 Tom de Vries <tdevries@suse.de>
6666
6667 PR gdb/24855
6668 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6669 (skip_python_tests_prompt): Add prompt_regexp argument to
6670 gdb_test_multiple calls.
6671
52b75bf1
TT
66722019-07-27 Tom Tromey <tom@tromey.com>
6673
6674 * gdb.tui/main.exp: New file.
6675
2b1d00c2
TT
66762019-07-27 Tom Tromey <tom@tromey.com>
6677
6678 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6679 optional.
6680 * gdb.tui/empty.exp: New file.
6681
ded631d5
TT
66822019-07-27 Tom Tromey <tom@tromey.com>
6683
6684 * lib/tuiterm.exp (spawn): New proc.
6685 (Term::resize): New proc.
6686 * gdb.tui/resize.exp: New file.
6687
58ac439d
TT
66882019-07-27 Tom Tromey <tom@tromey.com>
6689
6690 * gdb.tui/list.exp: New file.
6691
fe1f56ee
TT
66922019-07-27 Tom Tromey <tom@tromey.com>
6693
6694 * gdb.tui/regs.exp: New file.
6695
f790b310
TT
66962019-07-27 Tom Tromey <tom@tromey.com>
6697
6698 * gdb.tui/basic.exp: Add "layout split" test.
6699
d95fc6ee
TT
67002019-07-27 Tom Tromey <tom@tromey.com>
6701
6702 * gdb.tui/basic.exp: Add "layout asm" test.
6703
c3786b3a
TT
67042019-07-27 Tom Tromey <tom@tromey.com>
6705
6706 * lib/tuiterm.exp: New file.
6707 * gdb.tui/basic.exp: New file.
6708
98a617f8
KB
67092019-07-27 Kevin Buettner <kevinb@redhat.com>
6710
6711 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6712 Enable tests associated with this flag. Adjust regex
6713 referencing "foo_low" to now refer to "foo_cold" instead.
6714
5c076da4
KB
67152019-07-27 Kevin Buettner <kevinb@redhat.com>
6716
6717 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6718 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6719 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6720 foo_cold. Revise comments to match.
6721 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6722 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6723 were wrapped into this proc; Call do_test in loop from outermost
6724 level.
6725 (foo_low): Rename all occurrences to "foo_cold".
6726 (backtrace from baz): New test.
6727 (x2/i foo_cold): New test.
6728 (info line *foo_cold): New test.
6729
1512d3b7
TV
67302019-07-26 Tom de Vries <tdevries@suse.de>
6731
6732 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6733
297989a1
TV
67342019-07-25 Tom de Vries <tdevries@suse.de>
6735
6736 PR testsuite/24830
6737 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6738 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6739 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6740 (skip_libstdcxx_probe_tests): ... here.
6741 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6742
b3b965fb
TV
67432019-07-24 Tom de Vries <tdevries@suse.de>
6744
6745 PR testsuite/24807
6746 * gdb.objc/basicclass.m: Include stdio.h.
6747 * gdb.objc/nondebug.m: Same.
6748 * gdb.objc/objcdecode.m: Same.
6749
4625b4d0
TV
67502019-07-24 Tom de Vries <tdevries@suse.de>
6751
6752 PR testsuite/24612
6753 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6754 additional_flags.
6755
024a5840
TV
67562019-07-24 Tom de Vries <tdevries@suse.de>
6757
6758 PR testsuite/24831
6759 * gdb.multi/tids.exp: Update error messages for info threads.
6760
c76ddaa3
TV
67612019-07-24 Tom de Vries <tdevries@suse.de>
6762
6763 * gdb.base/info-types.exp: Allow info types to print info for more than
6764 one file.
6765
9a618ef6
TV
67662019-07-23 Tom de Vries <tdevries@suse.de>
6767
6768 PR testsuite/24842
6769 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6770 gdb_spawn_with_cmdline_opts.
6771
40eadf04
SP
67722019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6773
6774 * gdb.arch/arm-cmse-sgstubs.c: New test.
6775 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6776
5ba29434
TV
67772019-07-23 Tom de Vries <tdevries@suse.de>
6778
6779 PR testsuite/24711
6780 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6781 issuing next command.
6782
a8e9d247
AB
67832019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6784
6785 * gdb.ada/info_auto_lang.exp: Update expected results.
6786 * gdb.base/info-types.c: Add additional types to check.
6787 * gdb.base/info-types.exp: Update expected results.
6788
eb86c5e2
AB
67892019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6790
6791 * gdb.base/info-types.c: New file.
6792 * gdb.base/info-types.exp: New file.
6793
01e175fe
AB
67942019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6795
6796 * gdb.arch/riscv-bp-infcall.c: New file.
6797 * gdb.arch/riscv-bp-infcall.exp: New file.
6798
6b78c3f8
AB
67992019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6800
6801 PR breakpoints/24541
6802 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6803
da738167
TV
68042019-07-14 Tom de Vries <tdevries@suse.de>
6805
6806 PR testsuite/24760
6807 * gdb.objc/basicclass.exp: Fix unterminated string.
6808
0d4e84ed
AB
68092019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6810 Andrew Burgess <andrew.burgess@embecosm.com>
6811
6812 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6813 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6814 negative bounds.
6815 * gdb.fortran/vla-value.exp: Print elements of an array with
6816 negative bounds.
6817 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6818 testing.
6819
021d8588
AB
68202019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6821
6822 * gdb.base/options.exp (expect_string): Dequote strings in
6823 results.
6824 (test-string): Test strings with different quoting and reindent.
6825
f06f1252
TT
68262019-07-10 Tom Tromey <tromey@adacore.com>
6827
6828 * gdb.ada/mi_ex_cond.exp: Update expected results.
6829 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6830 * gdb.ada/mi_catch_ex.exp: Update expected results.
6831 * gdb.ada/mi_catch_assert.exp: Update expected results.
6832 * gdb.ada/catch_ex.exp (catch_exception_info)
6833 (catch_exception_entry, catch_assert_entry)
6834 (catch_unhandled_entry): Update.
6835 * gdb.ada/catch_assert_if.exp: Update expected results.
6836
b863685d
RB
68372019-07-10 Richard Bunt <richard.bunt@arm.com>
6838 Stephen Roberts <stephen.roberts@arm.com>
6839
6840 * gdb.base/define.exp: Restore original prompt.
6841
cb1e4e32
PA
68422019-07-09 Pedro Alves <palves@redhat.com>
6843
6844 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6845 breakpoints" output.
6846 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6847 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6848 throw" creates breakpoint.
6849 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6850 'type="catchpoint"'.
6851
b58a68fe
PA
68522019-07-09 Pedro Alves <palves@redhat.com>
6853
6854 PR c++/15468
6855 * gdb.cp/except-multi-location-lib.cc: New.
6856 * gdb.cp/except-multi-location-main.cc: New.
6857 * gdb.cp/except-multi-location.exp: New.
6858
0826779b
PW
68592019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6860
6861 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6862 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6863 argument and update callers.
6864
5b0e2db4
AB
68652019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6866
6867 * gdb.arch/amd64-break-on-asm-line.S: New file.
6868 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6869
1f6f6e21
PW
68702019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6871
6872 * gdb.base/printcmds.exp: Test printing C string and
6873 C wide string convenience vars without transiting via the inferior.
6874 Also make test names unique.
6875
ea142fbf
AH
68762019-07-08 Alan Hayward <alan.hayward@arm.com>
6877
5862c886 6878 PR breakpoints/25011
ea142fbf
AH
6879 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6880
213fd9fa
PA
68812019-07-04 Pedro Alves <palves@redhat.com>
6882
6883 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6884 body returned ok(0), break(3) or continue(4).
6885 * gdb.testsuite/foreach_with_prefix.exp: New file.
6886
2b40fda7
AH
68872019-07-04 Alan Hayward <alan.hayward@arm.com>
6888
6889 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6890
a26c8de0
PA
68912019-07-03 Pedro Alves <palves@redhat.com>
6892
6893 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6894 "return -code".
6895
5f4ba3e7
PA
68962019-07-03 Pedro Alves <palves@redhat.com>
6897
6898 PR cli/24732
6899 * gdb.base/shell.exp: Load completion-support.exp.
6900 Adjust expected error output. Add completion tests.
6901
a994424f
PA
69022019-07-03 Pedro Alves <palves@redhat.com>
6903
6904 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6905 string_to_regexp.
6906
3d9be6f5
PA
69072019-07-03 Pedro Alves <palves@redhat.com>
6908
6909 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6910 (expect_integer): Adjust to expect "-string".
6911 (expect_string): New.
6912 (all_options): Expect "-string".
6913 (test-flag, test-boolean): Adjust to expect "-string".
6914 (test-string): New proc.
6915 (top level): Call it.
6916
41fc454c
PA
69172019-07-03 Pedro Alves <palves@redhat.com>
6918
6919 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6920 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6921 the expected output in the success.
6922
b2b2a215
PA
69232019-07-03 Pedro Alves <palves@redhat.com>
6924
6925 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6926 Split one gdb_test_multiple call in two to avoid a race.
6927
fdbc9870
PA
69282019-07-03 Pedro Alves <palves@redhat.com>
6929
6930 * gdb.base/with.c: New file.
6931 * gdb.base/with.exp: New file.
6932
c6ac8931
PA
69332019-07-03 Pedro Alves <palves@redhat.com>
6934
6935 * gdb.base/settings.exp: Replace all references to "maint
6936 test-settings set" with references to "maint set test-settings",
6937 and all references to "maint test-settings show" with references
6938 to "maint show test-settings".
6939
970f9d09
PA
69402019-07-03 Pedro Alves <palves@redhat.com>
6941
6942 * gdb.base/settings.exp (test-string): Adjust expected out when
6943 testing "maint test-settings show filename"
6944
54d66006
PA
69452019-07-02 Pedro Alves <palves@redhat.com>
6946
6947 * gdb.base/options.exp (test-info-threads): New procedure.
6948 (top level): Call it.
6949
10d06d82
TT
69502019-06-28 Tom Tromey <tromey@adacore.com>
6951
6952 * gdb.dwarf2/ada-linkage-name.c: New file.
6953 * gdb.dwarf2/ada-linkage-name.exp: New file.
6954
3d507ff2
TT
69552019-06-27 Tom Tromey <tromey@adacore.com>
6956
d039f014 6957 PR c++/20020:
3d507ff2
TT
6958 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6959
8af58ffe
TV
69602019-06-26 Tom de Vries <tdevries@suse.de>
6961
6962 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6963
22e21752
TV
69642019-06-26 Tom de Vries <tdevries@suse.de>
6965
6966 * gdb.base/index-cache.exp: Add back missing debug option.
6967
b65b566c
PW
69682019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6969
6970 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6971
5c2c8c69
TV
69722019-06-25 Tom de Vries <tdevries@suse.de>
6973
6974 PR testsuite/24727
6975 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6976
164e3873
TV
69772019-06-24 Tom de Vries <tdevries@suse.de>
6978
6979 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6980
824eacee
TV
69812019-06-24 Tom de Vries <tdevries@suse.de>
6982
6983 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6984 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6985 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6986
385b97d3
TV
69872019-06-24 Tom de Vries <tdevries@suse.de>
6988
6989 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6990
c596f180
TV
69912019-06-21 Tom de Vries <tdevries@suse.de>
6992
6993 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6994
b13a7d03
TV
69952019-06-21 Tom de Vries <tdevries@suse.de>
6996
6997 PR testsuite/24518
6998 PR ada/24713
6999 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7000 index.
7001
899277ae
TT
70022019-06-19 Tom Tromey <tromey@adacore.com>
7003
7004 * gdb.ada/length_cond.exp: Add intro comment.
7005
680e1bee
TT
70062019-06-19 Tom Tromey <tromey@adacore.com>
7007
7008 * gdb.ada/length_cond.exp: New file.
7009 * gdb.ada/length_cond/length_cond.adb: New file.
7010 * gdb.ada/length_cond/pck.adb: New file.
7011 * gdb.ada/length_cond/pck.ads: New file.
7012
0ed4690a
TV
70132019-06-18 Tom de Vries <tdevries@suse.de>
7014
7015 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7016
d20ed5fd
TT
70172019-06-18 Tom Tromey <tromey@adacore.com>
7018
7019 * gdb.base/list0.h: Add comment explaining control character.
7020
86e04673
TV
70212019-06-18 Tom de Vries <tdevries@suse.de>
7022
7023 * boards/fission.exp: Break up long debug_flags line.
7024
c4973306
SM
70252019-06-16 Tom de Vries <tdevries@suse.de>
7026
7027 PR gdb/24445
7028 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7029 generated index.
7030
93cb9841
AB
70312019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7032
7033 PR gdb/24686
7034 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7035 improve detection of bug gdb/24541.
7036
399aaebd
SM
70372019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7038
7039 PR gdb/24669
7040 * gdb.base/index-cache.exp (uses_readnow,
7041 expecting_index_cache_use): Define global variable.
7042 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7043 expecting_index_cache_use.
7044
584a927c
AB
70452019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7046 Andrew Burgess <andrew.burgess@embecosm.com>
7047
7048 * gdb.fortran/pointers.f90: New file.
7049 * gdb.fortran/print_type.exp: New file.
7050 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7051 * gdb.fortran/vla-type.exp: Likewise.
7052 * gdb.fortran/vla-value.exp: Likewise.
7053 * gdb.mi/mi-vla-fortran.exp: Likewise.
7054
30056ea0
AB
70552019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7056
7057 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7058 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7059 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7060 as a stop reason.
7061
ec8e2b6d
AB
70622019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7063
7064 * gdb.base/annota1.exp: Update expected results.
7065 * gdb.cp/annota2.exp: Likewise.
7066 * gdb.cp/annota3.exp: Likewise.
7067
09e4c4e1
AB
70682019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7069
7070 * gdb.base/style-logging.exp: Remove path from test name.
7071
0735b091
TT
70722019-06-14 Tom Tromey <tromey@adacore.com>
7073
7074 PR gdb/24502:
7075 * gdb.base/style-logging.exp: New file.
7076
f5686554
TT
70772019-06-14 Tom Tromey <tromey@adacore.com>
7078
7079 * gdb.base/symfile-warn.exp: New file.
7080 * gdb.base/symfile-warn.c: New file.
7081
a0c1ffed
TT
70822019-06-14 Tom Tromey <tromey@adacore.com>
7083
7084 * gdb.base/annotate-symlink.exp: New file.
7085
f411722c
TT
70862019-06-14 Tom Tromey <tromey@adacore.com>
7087
7088 * gdb.ada/set_wstr.exp: Add reassignment test.
7089
4268ec18
TT
70902019-06-14 Tom Tromey <tromey@adacore.com>
7091
7092 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7093 'unchecked_access and 'unrestricted_access as well.
7094
9a9e394b
TT
70952019-06-14 Tom Tromey <tromey@adacore.com>
7096
7097 PR ada/24539:
7098 * gdb.ada/vla.exp: Update tests.
7099 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7100 pragma.
7101
4c048731
PA
71022019-06-13 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.base/settings.exp (test-integer): Test junk after
7105 "unlimited".
7106
6665660a
PA
71072019-06-13 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.base/options.exp (test-thread-apply): New.
7110 (top level): Call it.
7111
5d707134
PA
71122019-06-13 Pedro Alves <palves@redhat.com>
7113
7114 * gdb.base/options.exp (test-frame-apply): New.
7115 (top level): Test print commands with different "frame apply"
7116 prefixes.
7117
e2a689da
PA
71182019-06-13 Pedro Alves <palves@redhat.com>
7119
e79be6e5 7120 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7121 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7122 'max_completions' parameter and handle it.
7123 (test_gdb_completion_offers_commands): New.
7124
90a1ef87
PA
71252019-06-13 Pedro Alves <palves@redhat.com>
7126
7127 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7128
d4c16835
PA
71292019-06-13 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.base/options.exp (test-backtrace): New.
7132 (top level): Call it.
7133
2daf894e
PA
71342019-06-13 Pedro Alves <palves@redhat.com>
7135
7136 * gdb.guile/scm-frame-args.exp: Use "set print
7137 raw-frame-arguments" instead of "set print raw frame-arguments".
7138 * gdb.python/py-frame-args.exp: Likewise.
7139
e6ed716c
PA
71402019-06-13 Pedro Alves <palves@redhat.com>
7141
7142 * gdb.compile/compile.exp: Adjust expected output to option
7143 processing changes.
7144
7d8062de
PA
71452019-06-13 Pedro Alves <palves@redhat.com>
7146
7147 * gdb.base/options.exp: Build executable.
7148 (test-print): New procedure.
7149 (top level): Call it, once for "print" and another for "compile
7150 print".
7151
9d0faba9
PA
71522019-06-13 Pedro Alves <palves@redhat.com>
7153
7154 * gdb.base/options.c: New file.
7155 * gdb.base/options.exp: New file.
7156
dee7b4c8
PA
71572019-06-13 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7160 that "o" is ambiguous.
7161
dca0f6c0
PA
71622019-06-13 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.base/settings.c: New file.
7165 * gdb.base/settings.exp: New file.
7166
ccf46844
PA
71672019-06-13 Pedro Alves <palves@redhat.com>
7168
7169 * gdb.base/completion.exp: Fix comment typo.
7170
b9a3f842
PA
71712019-06-13 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7174 foo --1" test.
7175
d106773e
PA
71762019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7177
7178 * gdb.fortran/block-data.f: New.
7179 * gdb.fortran/block-data.exp: New.
7180
fea82da0
TV
71812019-06-11 Tom de Vries <tdevries@suse.de>
7182
7183 PR testsuite/24521
7184 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7185 message.
7186
8c2e74f1
TV
71872019-06-11 Tom de Vries <tdevries@suse.de>
7188
7189 PR testsuite/24521
7190 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7191
b49851c8
TV
71922019-06-11 Tom de Vries <tdevries@suse.de>
7193
7194 * boards/readnow.exp: New file.
7195
a7067863
AB
71962019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7197
7198 * gdb.fortran/vla-sizeof.exp: Update expected results.
7199
1a3da2cd
AB
72002019-06-06 Amos Bird <amosbird@gmail.com>
7201
7202 * gdb.base/annota1.exp (thread_switch): Add test for
7203 thread-exited annotation.
7204
3847a7bf
TT
72052019-06-06 Tom Tromey <tromey@adacore.com>
7206
7207 * gdb.base/maint.exp: Expect command started/finished output.
7208
0088ba59
AB
72092019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7210
7211 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7212 comment.
7213 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7214
312617a3
AB
72152019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7216
7217 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7218 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7219 * gdb.arch/riscv-unwind-long-insn.c: New file.
7220 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7221
e1f2e1a2
CB
72222019-06-04 Christian Biesinger <cbiesinger@google.com>
7223
d3238f7d 7224 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7225
206584bd
PW
72262019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7227
7228 * lib/gdb.exp (help_list_trailer): New regexp variable
7229 factorizing the help trailer message.
7230 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7231 arg to allow to better factorize various tests.
7232 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7233 (test_prefix_command_help): Use help_list_trailer.
7234 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7235 * gdb.guile/scm-cmd.exp: Likewise.
7236 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7237 * gdb.base/help.exp: Use test_user_defined_class_help.
7238 * gdb.base/style.exp: Add tests for styling of help and apropos.
7239 * lib/gdb-utils.exp (style): Add title and highlight styles.
7240
708dc93e
PW
72412019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7242
7243 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7244 $_shell_exitsignal.
7245 * gdb.base/default.exp: Update for new convenience variables.
7246
f49055a5
TT
72472019-05-29 Tom Tromey <tromey@adacore.com>
7248
7249 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7250 to "break complete ada" test case's regexp.
7251
4330d61d
TT
72522019-05-29 Tom Tromey <tromey@adacore.com>
7253
7254 PR c++/20020:
7255 * gdb.cp/constexpr-field.exp: New file.
7256 * gdb.cp/constexpr-field.cc: New file.
7257
000439d5
TT
72582019-05-29 Tom Tromey <tromey@adacore.com>
7259
7260 * gdb.base/finish.exp (finish_no_print): New proc.
7261 (finish_tests): Call it.
7262
5a01c34c
TV
72632019-05-24 Tom de Vries <tdevries@suse.de>
7264
7265 * gdb.dwarf2/gdb-add-index.exp: New file.
7266
18125b16
TT
72672019-05-22 Tom Tromey <tromey@adacore.com>
7268
7269 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7270 * gdb.base/style.exp: Use "style".
7271 * lib/gdb-utils.exp (style): New proc.
7272
af1a8d03
TV
72732019-05-22 Tom de Vries <tdevries@suse.de>
7274
7275 * gdb.base/align.exp: Require c++11.
7276
e7fe496b
TV
72772019-05-22 Tom de Vries <tdevries@suse.de>
7278
7279 PR testsuite/24586
7280 * gdb.python/py-mi-var-info-path-expression.exp: Call
7281 mi_skip_python_tests to check if python is supported.
7282
8fca4da0
AH
72832019-05-22 Alan Hayward <alan.hayward@arm.com>
7284
7285 * gdb.arch/aarch64-pauth.c: New test.
7286 * gdb.arch/aarch64-pauth.exp: New file.
7287
b7060614
AH
72882019-05-22 Alan Hayward <alan.hayward@arm.com>
7289
7290 * README (Re-running Tests Outside The Testsuite): New section.
7291
669d0468
TV
72922019-05-21 Tom de Vries <tdevries@suse.de>
7293
7294 * gdb.arch/amd64-eval.exp: Require c++11.
7295 * gdb.base/max-depth.exp: Same.
7296 * gdb.compile/compile-cplus-array-decay.exp: Same.
7297 * gdb.cp/meth-typedefs.exp: Same.
7298 * gdb.cp/subtypes.exp: Same.
7299 * gdb.cp/temargs.exp: Same.
7300
ce3ebcaa
AH
73012019-05-21 Alan Hayward <alan.hayward@arm.com>
7302
7303 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7304
34d11c68
AB
73052019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7306
7307 PR gdb/18644
7308 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7309 * gdb.fortran/printing-types.exp: Add new test.
7310 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7311 testing.
7312 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7313 setup_kfail call.
7314
87781e84
AH
73152019-05-17 Alan Hayward <alan.hayward@arm.com>
7316
7317 * README (Running the Testsuite): Change example.
7318 (Testsuite Parameters): Remove TRANSCRIPT.
7319 * lib/gdb.exp: Remove TRANSCRIPT check.
7320
b420b89e
AH
73212019-05-17 Alan Hayward <alan.hayward@arm.com>
7322
7323 * README (Testsuite Parameters): Add replay logging to
7324 GDBSERVER_DEBUG.
7325 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7326 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7327 as a comma separated list.
7328 (gdb_debug_init): Override procedure.
7329
408e9b8b
AH
73302019-05-17 Alan Hayward <alan.hayward@arm.com>
7331
7332 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7333 (gdb_write_cmd_file): New procedure.
7334 * lib/gdbserver-support.exp (gdbserver_start): Call
7335 gdbserver_write_cmd_file.
7336 (gdbserver_write_cmd_file): New procedure.
7337
f9e2e39d
AH
73382019-05-17 Alan Hayward <alan.hayward@arm.com>
7339
7340 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7341 (delete_breakpoints): Likewise.
7342 (gdb_run_cmd): Likewise.
7343 (gdb_start_cmd): Likewise.
7344 (gdb_starti_cmd): Likewise.
7345 (gdb_internal_error_resync): Likewise.
7346 (gdb_test_multiple): Likewise.
7347 (gdb_reinitialize_dir): Likewise.
7348 (default_gdb_exit): Likewise.
7349 (gdb_file_cmd): Mark kill as optional.
7350 (default_gdb_start): Call gdb_stdin_log_init.
7351 (send_gdb): Call gdb_stdin_log_write.
7352 (rerun_to_main): Mark Y as an answer.
7353 (gdb_stdin_log_init): New function.
7354 (gdb_stdin_log_write): Likewise.
7355
81f47ac2
AH
73562019-05-17 Alan Hayward <alan.hayward@arm.com>
7357
7358 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7359 * gdb.base/debug-expr.exp: Likewise.
7360 * gdb.base/foll-fork.exp: Likewise.
7361 * gdb.base/foll-vfork.exp: Likewise.
7362 * gdb.base/fork-print-inferior-events.exp: Likewise.
7363 * gdb.base/gdb-sigterm.exp: Likewise.
7364 * gdb.base/gdbinit-history.exp: Likewise.
7365 * gdb.base/osabi.exp: Likewise.
7366 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7367 * gdb.base/ui-redirect.exp: Likewise.
7368 * gdb.gdb/unittest.exp: Likewise.
7369 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7370 * gdb.mi/mi-watch.exp: Likewise.
7371 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7372 * gdb.mi/user-selected-context-sync.exp: Likewise.
7373 * gdb.python/python.exp: Disable debug test when debugging.
7374 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7375 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7376 Likewise.
7377 * gdb.threads/stepi-random-signal.exp: Likewise.
7378
29b52314
AH
73792019-05-17 Alan Hayward <alan.hayward@arm.com>
7380
7381 * Makefile.in: Pass through GDB_DEBUG.
7382 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7383 (gdb,debug): Add board setting.
7384 * lib/gdb.exp (default_gdb_start): Start debugging.
7385 (gdb_debug_enabled): New procedure.
7386 (gdb_debug_init): Likewise.
29b52314
AH
7387
73882019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7389
29b52314
AH
7390 * Makefile.in: Pass through GDB_DEBUG.
7391 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7392 (gdb,debug): Add board setting.
7393 * lib/gdb.exp (default_gdb_start): Start debugging.
7394 (gdb_debug_enabled): New procedure.
7395 (gdb_debug_init): Likewise.
29b52314 7396
ca1285d1
AH
73972019-05-17 Alan Hayward <alan.hayward@arm.com>
7398
7399 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7400
f3a09c80
AH
74012019-05-17 Alan Hayward <alan.hayward@arm.com>
7402
7403 * gdb.base/ui-redirect.exp: Test redirection.
7404
26648588
JV
74052019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7406
7407 * gdb.mi/mi-complete.exp: New file.
7408 * gdb.mi/mi-complete.cc: Likewise.
7409
14237686
AB
74102019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7411
7412 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7413 indexed and sliced arrays, and pointers to arrays.
7414
e7bd7fba
TT
74152019-05-14 Tom Tromey <tromey@adacore.com>
7416
7417 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7418 styling test.
7419
2764128d
TV
74202019-05-14 Tom de Vries <tdevries@suse.de>
7421
7422 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7423 selection entry encoding.
7424
71bed2db
TT
74252019-05-10 Tom Tromey <tromey@adacore.com>
7426
7427 * gdb.ada/info_exc.exp: Add "complete" test.
7428
63b667ad
TV
74292019-05-09 Tom de Vries <tdevries@suse.de>
7430
7431 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7432 CU-relative.
7433
9cfd2b89
TV
74342019-05-09 Tom de Vries <tdevries@suse.de>
7435
7436 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7437 CU-relative.
7438
2228ef77
XR
74392019-05-08 Joel Brobecker <brobecker@adacore.com>
7440
7441 * gdb.ada/frame_arg_lang.exp: New testcase.
7442 * gdb.ada/frame_arg_lang/bla.adb: New file.
7443 * gdb.ada/frame_arg_lang/pck.ads: New file.
7444 * gdb.ada/frame_arg_lang/pck.adb: New file.
7445 * gdb.ada/frame_arg_lang/foo.c: New file.
7446
80e55b13
TT
74472019-05-08 Tom Tromey <tromey@adacore.com>
7448
7449 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7450
9d3421af
TT
74512019-05-08 Tom Tromey <tromey@adacore.com>
7452
7453 * gdb.base/ptype-offsets.exp: Update tests.
7454
844333e2
TT
74552019-05-08 Tom Tromey <tromey@adacore.com>
7456
7457 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7458 cases.
7459 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7460 "short".
7461
988915ee
TT
74622019-05-08 Tom Tromey <tromey@adacore.com>
7463
7464 * gdb.ada/vla.exp: New file.
7465 * gdb.ada/vla/vla.adb: New file.
7466
7bd55dac
TV
74672019-05-07 Tom de Vries <tdevries@suse.de>
7468
7469 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7470
75f06e9d
TV
74712019-05-07 Tom de Vries <tdevries@suse.de>
7472
7473 PR testsuite/24522
7474 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7475 section.
7476
77e7aaa4
TV
74772019-05-07 Tom de Vries <tdevries@suse.de>
7478
7479 PR testsuite/24522
7480 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7481 .debug_aranges section.
7482
456ba0fa
TV
74832019-05-07 Tom de Vries <tdevries@suse.de>
7484
7485 PR testsuite/24159
7486 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7487
5a56d6a6
TV
74882019-05-06 Tom de Vries <tdevries@suse.de>
7489
7490 * lib/gdb.exp (exec_has_index_section): New proc.
7491 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7492 section.
7493
9d6d4be8
TV
74942019-05-04 Tom de Vries <tdevries@suse.de>
7495
7496 * boards/cc-with-debug-names.exp: New file.
7497
222a8d25
TT
74982019-05-03 Tom Tromey <tromey@adacore.com>
7499
7500 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7501 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7502 * gdb.ada/char_enum.exp: Add test.
7503
0fdfd794
TV
75042019-05-03 Tom de Vries <tdevries@suse.de>
7505
7506 * boards/cc-with-gdb-index.exp: New file.
7507
80062eb9
AB
75082019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7509
7510 * gdb.rust/simple.exp: Add new test case.
7511 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7512 (main): Initialise an instance of the new struct.
7513
4504bbde
TT
75142019-05-01 Tom Tromey <tromey@adacore.com>
7515
7516 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7517 record.
7518 (NPR): New variable.
7519 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7520 test.
7521
d48e62f4
TT
75222019-05-01 Tom Tromey <tromey@adacore.com>
7523
7524 * gdb.ada/packed_array_assign.exp: Add packed assignment
7525 regression test.
7526
f59f30f5
TV
75272019-05-01 Tom de Vries <tdevries@suse.de>
7528
7529 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7530
b70bfc54
TV
75312019-05-01 Tom de Vries <tdevries@suse.de>
7532
7533 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7534
15f18d14
AT
75352019-04-30 Ali Tamur <tamur@google.com>
7536
7537 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7538
2ff0a947
TT
75392019-04-30 Tom Tromey <tromey@adacore.com>
7540
7541 * lib/ada.exp (find_ada_tool): New proc.
7542 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7543 * gdb.ada/catch_ex_std.exp: New file.
7544 * gdb.ada/catch_ex_std/foo.adb: New file.
7545 * gdb.ada/catch_ex_std/some_package.adb: New file.
7546 * gdb.ada/catch_ex_std/some_package.ads: New file.
7547
a776957c
TT
75482019-04-30 Tom Tromey <tromey@adacore.com>
7549
7550 PR c++/24470:
7551 * gdb.cp/temargs.cc: Add test code from PR.
7552
bc68014d
AB
75532019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7554
7555 * gdb.fortran/vla-datatypes.exp: Update expected results.
7556 * gdb.fortran/vla-ptype.exp: Likewise.
7557 * gdb.fortran/vla-type.exp: Likewise.
7558 * gdb.fortran/vla-value.exp: Likewise.
7559
f1fdc960
AB
75602019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7561
7562 * gdb.fortran/ptr-indentation.exp: Update expected results.
7563 * gdb.fortran/ptype-on-functions.exp: Likewise.
7564 * gdb.fortran/vla-ptr-info.exp: Likewise.
7565 * gdb.fortran/vla-value.exp: Likewise.
7566
bf7a4de1
AB
75672019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7568
7569 * gdb.fortran/ptype-on-functions.exp: New file.
7570 * gdb.fortran/ptype-on-functions.f90: New file.
7571
bbe75b9d
AB
75722019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7573
7574 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7575 case void string.
7576
1db455a7
AB
75772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7578
7579 * gdb.fortran/complex.exp: Expand.
7580 * gdb.fortran/complex.f: Renamed to...
7581 * gdb.fortran/complex.f90: ...this, and extended to add more
7582 complex values.
7583
b6d03bb2
AB
75842019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7585
7586 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7587 MODULO, CMPLX.
7588
2e62ab40
AB
75892019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7590 Richard Bunt <richard.bunt@arm.com>
7591
7592 * gdb.base/max-depth.c: New file.
7593 * gdb.base/max-depth.exp: New file.
7594 * gdb.python/py-nested-maps.c: New file.
7595 * gdb.python/py-nested-maps.exp: New file.
7596 * gdb.python/py-nested-maps.py: New file.
7597 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7598 (test_all_common): Call test_max_depth.
7599 * gdb.fortran/max-depth.exp: New file.
7600 * gdb.fortran/max-depth.f90: New file.
7601 * gdb.go/max-depth.exp: New file.
7602 * gdb.go/max-depth.go: New file.
7603 * gdb.modula2/max-depth.exp: New file.
7604 * gdb.modula2/max-depth.c: New file.
7605 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7606
d2b584a5
TV
76072019-04-29 Tom de Vries <tdevries@suse.de>
7608
7609 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7610
136afab8
PW
76112019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7612
7613 * gdb.base/callexit.exp: Test may-call-functions off.
7614
725cbb63
KS
76152019-04-25 Keith Seitz <keiths@redhat.com>
7616
7617 PR c++/24367
7618 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7619 (another_incomplete_struct, test_incomplete): New definitions.
7620 (main): Use new definitions.
7621 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7622 functions.
7623
701adfb0
PA
76242019-04-25 Ali Tamur <tamur@google.com>
7625
7626 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7627
82433e3e
SDJ
76282019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7629
7630 PR corefiles/11608
7631 PR corefiles/18187
7632 * gdb.base/coredump-filter-build-id.exp: New file.
7633
dd06d4d6
AH
76342019-04-25 Alan Hayward <alan.hayward@arm.com>
7635
e79be6e5
SM
7636 * Makefile.in: Pass through GDBSERVER_DEBUG.
7637 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7638 (gdbserver,debug): Add board setting.
7639 * gdb.trace/tspeed.exp: Skip when debugging.
7640 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7641 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7642
1670072e
TT
76432019-04-24 Tom Tromey <tromey@adacore.com>
7644
7645 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7646 Rust.
7647
a59240a4
TT
76482019-04-24 Tom Tromey <tromey@adacore.com>
7649
7650 * gdb.arch/amd64-eval.exp: Test bitfield return.
7651 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7652 (class Foo) <return_bitfields>: New method.
7653 (main): Call it.
7654
b907456c
AB
76552019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7656
7657 * gdb.cp/many-args.cc: New file.
7658 * gdb.cp/many-args.exp: New file.
7659
5c565afd
TV
76602019-04-23 Tom de Vries <tdevries@suse.de>
7661
7662 PR gdb/24433
7663 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7664
ba22ff86
AH
76652019-04-23 Alan Hayward <alan.hayward@arm.com>
7666
7667 * gdb.trace/backtrace.exp: Use nopie flag.
7668 * gdb.trace/circ.exp: Likewise.
7669 * gdb.trace/collection.exp: Likewise.
7670 * gdb.trace/ftrace.exp: Likewise.
7671 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7672 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7673 * gdb.trace/qtro.exp: Likewise.
7674 * gdb.trace/read-memory.exp: Likewise.
7675 * gdb.trace/report.exp: Likewise.
7676 * gdb.trace/tfile.exp: Likewise.
7677 * gdb.trace/tfind.exp: Likewise.
7678 * gdb.trace/unavailable.exp: Likewise.
7679
7905fc35
PA
76802019-04-22 Pedro Alves <palves@redhat.com>
7681
7682 * gdb.base/solib-probes-nosharedlibrary.c,
7683 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7684
8ecb59f8
TT
76852019-04-19 Tom Tromey <tromey@adacore.com>
7686
7687 * gdb.ada/ptype_union.c: New file.
7688 * gdb.ada/ptype_union.exp: New file.
7689
62160ec9
TT
76902019-04-19 Tom Tromey <tromey@adacore.com>
7691
7692 PR symtab/24423:
7693 * gdb.base/list0.h (foo): Add a control-l character.
7694
36cd4ba5
TV
76952019-04-18 Tom de Vries <tdevries@suse.de>
7696
7697 PR gdb/24433
7698 * boards/local-board.exp: Set sysroot to "".
7699
b73715df
TV
77002019-04-18 Tom de Vries <tdevries@suse.de>
7701 Pedro Alves <palves@redhat.com>
7702
7703 PR gdb/24454
7704 * gdb.threads/vfork-follow-child-exec.c: New file.
7705 * gdb.threads/vfork-follow-child-exec.exp: New file.
7706 * gdb.threads/vfork-follow-child-exit.c: New file.
7707 * gdb.threads/vfork-follow-child-exit.exp: New file.
7708
4aa866af
LS
77092019-04-15 Leszek Swirski <leszeks@google.com>
7710
7711 * gdb.arch/amd64-eval.cc: New file.
7712 * gdb.arch/amd64-eval.exp: New file.
7713
e5a1a79a
AH
77142019-04-11 Alan Hayward <alan.hayward@arm.com>
7715
7716 * gdb.server/sysroot.c: New test.
7717 * gdb.server/sysroot.exp: New file.
7718 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7719 matching param.
7720
41077b66
AB
77212019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7722
7723 * gdb.base/align.exp: Extend test to cover structures containing
7724 only static fields.
7725
c30391f8
TV
77262019-04-11 Tom de Vries <tdevries@suse.de>
7727
7728 * boards/cc-with-dwz-m.exp: New file.
7729 * boards/cc-with-dwz.exp: New file.
7730 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7731
e242fd12
SM
77322019-04-09 Simon Marchi <simon.marchi@efficios.com>
7733
7734 * gdb.base/start-cpp.exp: New file.
7735 * gdb.base/start-cpp.cc: New file.
7736
2b0c8b01
KB
77372019-04-08 Kevin Buettner <kevinb@redhat.com>
7738
7739 * gdb.python/py-thrhandle.exp: Adjust tests to call
7740 thread_from_handle instead of thread_from_thread_handle.
7741
947210e5
KB
77422019-04-08 Kevin Buettner <kevinb@redhat.com>
7743
7744 * gdb.python/py-thrhandle.exp: Add tests for
7745 gdb.InferiorThread.handle.
7746
d7df6549
AB
77472019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7748
7749 * gdb.python/py-function.exp: Check calling helper function from
7750 all languages.
7751 * lib/gdb.exp (gdb_supported_languages): New proc.
7752
8bdc1658
AB
77532019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7754
7755 * gdb.base/complex-parts.c: New file.
7756 * gdb.base/complex-parts.exp: New file.
7757
05caa1d2
TT
77582019-04-01 Tom Tromey <tromey@adacore.com>
7759
7760 PR symtab/23331:
7761 * gdb.dwarf2/dw2-ranges-main.c: New file.
7762 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7763 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7764
7734102d
EZ
77652019-03-30 Simon Marchi <simark@simark.ca>
7766
7767 * gdb.base/default.exp: Add values for $_gdb_major and
7768 $_gdb_minor.
7769
188e1fa9
TT
77702019-03-29 Tom Tromey <tromey@adacore.com>
7771
7772 * gdb.base/help.exp: Tighten apropos regexp.
7773
2880242d
KS
77742019-03-29 Keith Seitz <keiths@redhat.com>
7775
7776 * gdb.fortran/array-bounds.exp: New file.
7777 * gdb.fortran/array-bounds.f90: New file.
7778
077cad8e
PW
77792019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7780
7781 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7782
80047cfc
PW
77832019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7784
7785 * gdb.multi/hello.c (main): Increase alarm timer.
7786
f489207e
SL
77872019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7788
7789 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7790 factor when no hardware watchpoint support.
7791
c92df149
AH
77922019-03-28 Alan Hayward <alan.hayward@arm.com>
7793 Pedro Alves <palves@redhat.com>
7794
7795 * boards/local-board.exp: set sysroot to /.
7796
933aebfa
AH
77972019-03-27 Alan Hayward <alan.hayward@arm.com>
7798
7799 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7800 in child.
7801
9f9aa852
AB
78022019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7803
7804 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7805 field.
7806 (make_container): Initialise new field.
7807 * gdb.python/py-prettyprint.exp: Add new tests.
7808 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7809 <display_hint>: New method.
7810
3714a195
AB
78112019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7812
7813 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7814 gdb_continue_to_breakpoint more throughout this test.
7815 (run_lang_tests) Supply unique test names, and use
7816 gdb_test_no_output.
7817
18c77628
AB
78182019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7819
7820 * gdb.base/finish-pretty.exp: Update expected results.
7821 * gdb.base/pretty-print.c: New file.
7822 * gdb.base/pretty-print.exp: New file.
7823
9a93502f
PA
78242019-03-25 Pedro Alves <palves@redhat.com>
7825
7826 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7827 move comments outside list. Append '-i "" eof' section.
7828
968aa7ae
AH
78292019-03-22 Alan Hayward <alan.hayward@arm.com>
7830
34a7f2a4 7831 PR testsuite/25016
968aa7ae
AH
7832 * README: Add pie options.
7833 * gdb.base/break-interp.exp: Ensure pie is disabled.
7834 * gdb.base/dump.exp: Likewise.
7835 * lib/gdb.exp (gdb_compile): Add pie option.
7836
4c7d57e7
TT
78372019-03-19 Tom Tromey <tromey@adacore.com>
7838
7839 * gdb.mi/mi2-cli-display.c: New file.
7840 * gdb.mi/mi2-cli-display.exp: New file.
7841
bff8c71f
TT
78422019-03-18 Joel Brobecker <brobecker@adacore.com>
7843 Tom Tromey <tromey@adacore.com>
7844
7845 * gdb.ada/ptype_array/pck.adb: New file.
7846 * gdb.ada/ptype_array/pck.ads: New file.
7847 * gdb.ada/ptype_array/foo.adb: New file.
7848 * gdb.ada/ptype_array.exp: New file.
7849
d085f989
TT
78502019-03-14 Tom Tromey <tromey@adacore.com>
7851
7852 * gdb.base/style.exp: Add "set style sources" test.
7853
b4be1b06
SM
78542019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7855
7856 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7857 * mi-breakpoint-multiple-locations.exp: ... this.
7858 (make_breakpoints_pattern): New proc.
7859 (do_test): Add mi_version parameter, test -break-insert,
7860 -break-info and =breakpoint-created.
7861
7cde5fc2
AB
78622019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7863
7864 * config/default.exp: Remove 'load_lib gdb.exp'.
7865 * config/monitor.exp: Likewise.
7866 * config/sid.exp: Likewise.
7867 * config/sim.exp: Likewise.
7868 * config/slite.exp: Likewise.
7869 * config/unix.exp: Likewise.
7870 * gdb.base/default.exp: Remove unhelpful comment.
7871
efbecbc1
AB
78722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7873
7874 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7875
0841c79a
AB
78762019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7877
7878 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7879
4a270568
AB
78802019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7881
7882 * gdb.fortran/type-kinds.exp: Update expected results.
7883
067630bd
AB
78842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7885
7886 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7887
3be47f7a
AB
78882019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7889
7890 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7891 function.
7892 (test_basic_parsing_of_type_kinds): Expand types tested.
7893 (test_parsing_invalid_type_kinds): New function.
7894
4d00f5d8
AB
78952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7896
7897 * gdb.fortran/intrinsics.exp: New file.
7898 * gdb.fortran/intrinsics.f90: New file.
7899 * gdb.fortran/type-kinds.exp: New file.
7900
c8f91604
AB
79012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7902
7903 * gdb.fortran/dot-ops.exp: New file.
7904
dd9f2c76
AB
79052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7906
7907 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7908 Check upper and lower case logical literals.
7909
84ec9724
AB
79102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7911
7912 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7913 Remove duplicate tests.
7914
c3734e09
AH
79152019-03-06 Alan Hayward <alan.hayward@arm.com>
7916
7917 * lib/gdb.exp (builtin_cd): rename of cd.
7918 (cd): Override builtin.
7919
aa3cfbda
RB
79202019-03-06 Richard Bunt <richard.bunt@arm.com>
7921
7922 * gdb.fortran/function-calls.exp: New file.
7923 * gdb.fortran/function-calls.f90: New test.
7924
7b63ad86
RB
79252019-03-04 Richard Bunt <richard.bunt@arm.com>
7926
7927 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7928 on user program standard output.
7929 * gdb.fortran/short-circuit-argument-list.f90: Record function
7930 calls.
7931
01abb042
AH
79322019-02-28 Alan Hayward <alan.hayward@arm.com>
7933
c3734e09
AH
7934 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7935 failure.
01abb042 7936
92137da0
RO
79372019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7938
7939 PR gdb/8527
7940 * gdb.base/interrupt-daemon-attach.c,
7941 gdb.base/interrupt-daemon-attach.exp: New test.
7942
5862844d
PA
79432019-02-27 Pedro Alves <palves@redhat.com>
7944
7945 * gdb.base/page.exp: Add tests for "set width/height -1".
7946
8ed25214
PA
79472019-02-27 Pedro Alves <palves@redhat.com>
7948
7949 * gdb.base/page.exp: Add tests for "set/show width/height" with
7950 "infinite" values.
7951
6c28e44a
TT
79522019-02-27 Tom Tromey <tromey@adacore.com>
7953
7954 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7955 2.4.
7956 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7957 workaround.
7958
bf9a735e
AB
79592019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7960
7961 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7962 tests for structs with static members.
7963
8791793c
TT
79642019-02-26 Tom Tromey <tromey@adacore.com>
7965
7966 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7967 ValueError, not TypeError.
7968
bc2a507e
KB
79692019-02-26 Kevin Buettner <kevinb@redhat.com>
7970
7971 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7972 call from main program.
7973
e0e7d3bd
JB
79742019-02-23 Joel Brobecker <brobecker@adacore.com>
7975
7976 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7977 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7978 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7979 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7980 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7981
9600246d
KS
79822019-02-22 Keith Seitz <keiths@redhat.com>
7983
7984 PR symtab/23853
7985 * gdb.base/symlink-sourcefile.c: New file.
7986 * gdb.base/symlink-sourcefile.exp: New file.
7987
0c95f9ed
TT
79882019-02-20 Tom Tromey <tom@tromey.com>
7989
7990 * gdb.base/info_qt.exp: Update.
7991
6caa91b6
SM
79922019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7993
7994 * gdb.base/source.exp: Move "error in sourced script" code to
7995 the end.
7996 * gdb.base/source-error.gdb: Move contents to
7997 source-error-1.gdb. Add new code to source source-error-1.gdb.
7998 * gdb.base/source-error-1.gdb: New file, from previous
7999 source-error.gdb.
8000
6506371f
TT
80012019-02-17 Tom Tromey <tom@tromey.com>
8002
8003 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8004 for macro styling.
8005 * gdb.base/style.c (SOME_MACRO): New macro.
8006
a0087920
TT
80072019-02-17 Tom Tromey <tom@tromey.com>
8008
8009 * gdb.base/style.exp: Add line-wrapping tests.
8010 * gdb.base/page.exp: Add test for quitting during pagination.
8011
a2cd4f14
JB
80122019-02-17 Joel Brobecker <brobecker@adacore.com>
8013
8014 * gdb.ada/big_packed_array: New testcase.
8015 * gdb.ada/homonym.exp: Fix incorrect expected output for
8016 "break <homonym__get_value>" test.
8017
9d70ffbc
WP
80182019-02-13 Weimin Pan <weimin.pan@oracle.com>
8019
8020 PR breakpoints/21870
8021 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8022 and prepare_for_testing. Add comment.
8023 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8024 redundant cleanup call. Clean up comment.
8025
01c7ae81
WP
80262019-02-12 Weimin Pan <weimin.pan@oracle.com>
8027
8028 PR breakpoints/21870
8029 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8030 * gdb.arch/aarch64-dbreg-contents.c: New file.
8031
aff29d1c
JB
80322019-02-10 Joel Brobecker <brobecker@adacore.com>
8033
8034 * gdb.ada/mi_ref_changeable: New testcase.
8035
df0da8a2
AH
80362019-02-07 Alan Hayward <alan.hayward@arm.com>
8037
8038 * gdb.base/attach.exp: Add double attach test.
8039
bd447abb
SM
80402019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8041
8042 * lib/gdb.exp (default_gdb_start): Don't match pagination
8043 prompt.
8044 (gdb_init): Set stty_init.
8045
1dbc40b9
TT
80462019-01-27 Tom Tromey <tom@tromey.com>
8047
8048 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8049 skip_python_tests.
8050
353229bf
AH
80512019-01-24 Alan Hayward <alan.hayward@arm.com>
8052
8053 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8054 New structure.
8055 (struct struct_static_02_02): Likewise.
8056 (struct struct_static_02_03): Likewise.
8057 (struct struct_static_02_04): Likewise.
8058 (struct struct_static_04_01): Likewise.
8059 (struct struct_static_04_02): Likewise.
8060 (struct struct_static_04_03): Likewise.
8061 (struct struct_static_04_04): Likewise.
8062 (struct struct_static_06_01): Likewise.
8063 (struct struct_static_06_02): Likewise.
8064 (struct struct_static_06_03): Likewise.
8065 (struct struct_static_06_04): Likewise.
8066 (cmp_struct_static_02_01): Likewise.
8067 (cmp_struct_static_02_02): Likewise.
8068 (cmp_struct_static_02_03): Likewise.
8069 (cmp_struct_static_02_04): Likewise.
8070 (cmp_struct_static_04_01): Likewise.
8071 (cmp_struct_static_04_02): Likewise.
8072 (cmp_struct_static_04_03): Likewise.
8073 (cmp_struct_static_04_04): Likewise.
8074 (cmp_struct_static_06_01): Likewise.
8075 (cmp_struct_static_06_02): Likewise.
8076 (cmp_struct_static_06_03): Likewise.
8077 (cmp_struct_static_06_04): Likewise.
8078 (call_all): Test new structs.
8079 * gdb.base/infcall-nested-structs.exp: Likewise.
8080
73021deb
AH
80812019-01-21 Alan Hayward <alan.hayward@arm.com>
8082 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8083
fc65c7db
AH
80842019-01-21 Alan Hayward <alan.hayward@arm.com>
8085 * gdb.base/stack-protector.c: New test.
8086 * gdb.base/stack-protector.exp: New file.
8087 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8088 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8089 option.
8090 (gdb_compile): Remove stack protector for GCC and prevent
8091 recursion.
8092
c24bdb02
KS
80932019-01-16 Keith Seitz <keiths@redhat.com>
8094
8095 PR gdb/23773
8096 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8097
6f072a10
PFC
80982019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8099
8100 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8101 aliases.
8102 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8103 tests.
8104 * gdb.arch/powerpc-vector-regs.c: New file.
8105 * gdb.arch/powerpc-vector-regs.exp: New file.
8106
a7b8d682
PFC
81072019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8108
8109 * gdb.arch/altivec-regs.exp: Fix the list passed to
8110 gdb_expect_list when testing "info vector".
8111
6eb6fb67
AB
81122019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8113
8114 * gdb.base/style.exp: Don't include path in testname.
8115
b56f80d8
KS
81162019-01-10 Keith Seitz <keiths@redhat.com>
8117
8118 PR gdb/23712
8119 PR symtab/23010
8120 * gdb.dwarf2/multidictionary.exp: New file.
8121
041be526
SM
81222019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8123
8124 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8125 (test_gnuv3_style_demangling): ... this.
8126 (test_lucid_style_demangling): Remove.
8127 (test_arm_style_demangling): Remove.
8128 (test_hp_style_demangling): Remove.
8129 (do_tests): Remove calls to the above.
8130
d820d0c3
AB
81312019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8132
8133 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8134 case.
8135
f097f5ad
TT
81362019-01-06 Tom Tromey <tom@tromey.com>
8137
8138 PR gdb/28155:
8139 * gdb.dwarf2/typedef-void-finish.exp: New file.
8140
2cd8cc0b
TT
81412018-12-28 Tom Tromey <tom@tromey.com>
8142 Simon Marchi <simark@simark.ca>
8143
8144 * gdb.base/jit-exec.exp: New file.
8145 * gdb.base/jit-exec.c: New file.
8146 * gdb.base/jit-execd.c: New file.
8147
35fb8261
TT
81482018-12-28 Tom Tromey <tom@tromey.com>
8149
8150 * gdb.base/style.exp: Update test to check for address styling.
8151
47fd17cd
TT
81522018-12-28 Tom Tromey <tom@tromey.com>
8153
8154 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8155 message.
8156
d47032b7
TT
81572018-12-28 Tom Tromey <tom@tromey.com>
8158
8159 * gdb.base/style.exp: Add test for version number styling.
8160
af79b68d
TT
81612018-12-28 Tom Tromey <tom@tromey.com>
8162
8163 * gdb.base/style.exp: Add test for print_address_symbolic.
8164
0bb296cb
TT
81652018-12-28 Tom Tromey <tom@tromey.com>
8166
8167 * gdb.base/style.exp: Add test for breakpoint setting.
8168
80ae2043
TT
81692018-12-28 Tom Tromey <tom@tromey.com>
8170
8171 * gdb.base/style.exp: Add test for variable names.
8172
cbe56571
TT
81732018-12-28 Tom Tromey <tom@tromey.com>
8174
8175 * gdb.base/style.exp: New file.
8176 * gdb.base/style.c: New file.
8177
9162a27c
TT
81782018-12-28 Tom Tromey <tom@tromey.com>
8179
8180 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8181 "dumb".
8182 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8183 the TERM environment variable.
8184
bc543c90
TT
81852018-12-27 Tom Tromey <tom@tromey.com>
8186
8187 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8188 pagination test.
8189
6f0ffe50
AB
81902018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8191
8192 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8193 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8194
b5a1e557
PW
81952018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8196
8197 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8198 Filename a.adb changed to bp_fun_addr.adb.
8199 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8200
6e8b1ab2
JV
82012018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8202
8203 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8204 non-PIE executables.
8205 * README: Mention the gdb,nopie_flag board setting.
8206 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8207 non-PIE executable.
8208 * gdb.arch/amd64-entry-value.exp: Likewise.
8209 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8210 * gdb.arch/i386-float.exp: Likewise.
8211 * gdb.arch/i386-signal.exp: Likewise.
8212 * gdb.mi/mi-reg-undefined.exp: Likewise.
8213
d00a27c5
PM
82142018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8215
8216 PR gdb/23974
8217 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8218
161d081c
PW
82192018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8220
8221 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8222 Update order of results accordingly.
8223
b001de23
AB
82242018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8225
8226 * gdb.base/annota1.exp: Update a test regexp.
8227
99e1a184
AB
82282018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8229
8230 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8231
7a81c1e2
PW
82322018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8233
8234 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8235 (reuse_time): Initialize to REUSE_TIME_CAP.
8236 (check_rc): New function.
8237 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8238 Check pthread_create rc.
8239 (spawner_thread_func): Check pthread_create and pthread_join rc.
8240
73e8dc90
PA
82412018-12-08 Pedro Alves <palves@redhat.com>
8242
8243 * gdb.base/list.exp (test_forward_search): Rename to ...
8244 (test_forward_reverse_search): ... this. Also test reverse-search
8245 and the forward-search alias.
8246
13f2ed32
AB
82472018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8248
8249 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8250 local timeout variable before return, and remove all local timeout
8251 variable entirely.
8252 (gdb_load): Likewise.
8253
64d27cfc
TV
82542018-12-01 Tom de Vries <tdevries@suse.de>
8255
8256 * gdb.base/gdb-caching-proc.exp: New file.
8257
f63c03b4
SDJ
82582018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8259
8260 * Makefile.in (TIMESTAMP): New variable.
8261 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8262 command.
8263 (check-single-racy): Likewise.
8264 (check/%.exp): Likewise.
8265 (check-racy/%.exp): Likewise.
8266 (workers/%.worker): Likewise.
8267 (build-perf): Likewise.
8268 (check-perf): Likewise.
8269 * README: Describe new "TS" and "TS_FORMAT" variables.
8270 * print-ts.py: New file.
8271
1c97054b
BF
82722018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8273
8274 PR python/23714
8275 * gdb.python/python.exp: Test command repetition after
8276 gdb.execute.
8277
1871a62d
AB
82782018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8279
8280 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8281 is correctly aligned.
8282
fb5e1ed9
PW
82832018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8284
8285 * gdb.ada/info_auto_lang.exp: New testcase.
8286 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8287 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8288 * gdb.ada/info_auto_lang/some_c.c: New file.
8289
43d397ca
PW
82902018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8291
8292 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8293 FUNC_lang language syntax.
8294
beddd671
PW
82952018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8296
8297 * gdb.base/info_minsym.c: New file.
8298 * gdb.base/info_minsym.exp: New file.
8299
73fc52c4
TT
83002018-11-19 Tom Tromey <tom@tromey.com>
8301
8302 PR rust/23625:
8303 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8304 * gdb.rust/expr.exp: Update expected output. Change one test.
8305
994b876a
TT
83062018-11-19 Tom Tromey <tom@tromey.com>
8307
8308 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8309
6769f276
PA
83102018-11-19 Pedro Alves <palves@redhat.com>
8311
8312 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8313 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8314 see the expected warning.
8315
38a72da0
AH
83162018-11-16 Alan Hayward <alan.hayward@arm.com>
8317
8318 PR gdb/22736:
8319 * gdb.cp/infcall-nodebug-lib.c: New test.
8320 * gdb.cp/infcall-nodebug-main.c: New test.
8321 * gdb.cp/infcall-nodebug.exp: New file.
8322
53a89d6e
SM
83232018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8324
8325 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8326 completer tests.
8327
9325300d
TV
83282018-11-09 Tom de Vries <tdevries@suse.de>
8329
8330 * gdb.base/msym-lang.c: New test.
8331 * gdb.base/msym-lang.exp: New file.
8332 * gdb.base/msym-lang-main.c: New test.
8333
20f0d60d
TT
83342018-11-08 Tom Tromey <tom@tromey.com>
8335
8336 PR gdb/23555:
8337 PR gdb/23838:
8338 * gdb.base/warning.exp: New file.
8339
b5420128
JB
83402018-11-08 Jan Beulich <jbeulich@suse.com>
8341
8342 * testsuite/gdb.arch/i386-avx512.c,
8343 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8344
cd115d61
AB
83452018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8346
8347 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8348 point hardware.
8349
35ee2dc2
AB
83502018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8351
8352 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8353 * gdb.dwarf2/missing-type-name.exp: New file.
8354
31aceee8
TV
83552018-11-06 Tom de Vries <tdevries@suse.de>
8356
8357 * gdb.base/many-headers.c: New test.
8358 * gdb.base/many-headers.exp: New file.
8359
109be305
JW
83602018-11-06 Jim Wilson <jimw@sifive.com>
8361
8362 * gdb.base/code_elim.exp: For riscv, set additional_flags
8363 to include -msmall-data-limit=0.
8364
e2b7af72
JB
83652018-11-01 Joel Brobecker <brobecker@adacore.com>
8366
8367 * gdb.ada/watch_minus_l: New testcase.
8368
cdcda965
SM
83692018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8370
8371 * gdb.arch/aix-sighandle.c: New file.
8372 * gdb.arch/aix-sighandle.exp: New file.
8373
92dcebf3
AB
83742018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8375
8376 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8377 registers being unions.
8378
68b9ac18
TV
83792018-10-31 Tom de Vries <tdevries@suse.de>
8380
8381 * lib/valgrind.exp: New file.
8382 (vgdb_start, vgdb_stop): New procs, factored out of ...
8383 * gdb.base/valgrind-bt.exp: ... here, ...
8384 * gdb.base/valgrind-disp-step.exp: ... here and ...
8385 * gdb.base/valgrind-infcall.exp: ... here.
8386
1443936e
TV
83872018-10-31 Tom de Vries <tdevries@suse.de>
8388
8389 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8390
eb77c9df
AB
83912018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8392
8393 * gdb.dwarf2/void-type.c: New file.
8394 * gdb.dwarf2/void-type.exp: New file.
8395
82b5e646
PW
83962018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8397
8398 * gdb.base/info_qt.c: New file.
8399 * gdb.base/info_qt.exp: New file.
8400
8d619c01
EBM
84012018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8402
8403 * gdb.arch/powerpc-htm-regs.c: New file.
8404 * gdb.arch/powerpc-htm-regs.exp: New file.
8405
f2cf6173
EBM
84062018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8407
8408 * gdb.arch/powerpc-tar.c: New file.
8409 * gdb.arch/powerpc-tar.exp: New file.
8410
7ca18ed6
EBM
84112018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8412
8413 * gdb.arch/powerpc-ppr-dscr.c: New file.
8414 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8415
bfcc0eba
TV
84162018-10-25 Tom de Vries <tdevries@suse.de>
8417
8418 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8419
fe1a5cad
TV
84202018-10-24 Tom de Vries <tdevries@suse.de>
8421
8422 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8423 longer exists error.
8424
a76dc3b7
TV
84252018-10-24 Tom de Vries <tdevries@suse.de>
8426
8427 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8428
4df46df7
TV
84292018-10-24 Tom de Vries <tdevries@suse.de>
8430
8431 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8432 --db-attach in valgrind.
8433
0dbfcfff
AB
84342018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8435
8436 * gdb.arch/riscv-reg-aliases.c: New file.
8437 * gdb.arch/riscv-reg-aliases.exp: New file.
8438
b04480b1
AH
84392018-10-19 Alan Hayward <alan.hayward@arm.com>
8440
8441 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8442
2c6ac8d7
AH
84432018-10-19 Alan Hayward <alan.hayward@arm.com>
8444
8445 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8446
2bc69f25
AH
84472018-10-19 Alan Hayward <alan.hayward@arm.com>
8448
8449 * gdb.cp/ovldbreak.exp: Fix regexps.
8450
1f1ae3a3
AH
84512018-10-19 Alan Hayward <alan.hayward@arm.com>
8452
8453 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8454
94c18618
SDJ
84552018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8456
8457 PR cli/23785
8458 * gdb.base/restore.exp: New test to check if "restore" with an
8459 invalid file doesn't segfault.
8460
812cd6eb
TV
84612018-10-18 Tom de Vries <tdevries@suse.de>
8462
8463 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8464 * gdb.ada/excep_handle.exp: Same.
8465 * gdb.ada/mi_string_access.exp: Same.
8466 * gdb.ada/mi_var_union.exp: Same.
8467 * gdb.arch/arc-analyze-prologue.exp: Same.
8468 * gdb.arch/arc-decode-insn.exp: Same.
8469 * gdb.base/readnever.exp: Same.
8470 * gdb.fortran/printing-types.exp: Same.
8471 * gdb.guile/scm-lazy-string.exp: Same.
8472
c4b90788
TV
84732018-10-16 Tom de Vries <tdevries@suse.de>
8474
8475 PR gdb/23730
8476 * gdb.base/catch-follow-exec.c: Add copyright notice.
8477 * gdb.base/catch-follow-exec.exp: Rewrite to use
8478 gdb_spawn_with_cmdline_opts. Require gdb-native.
8479
8bca2978
SL
84802018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8481
8482 * gdb.trace/actions-changed.exp: Check for arch support.
8483 * gdb.trace/actions.exp: Likewise.
8484 * gdb.trace/ax.exp: Likewise.
8485 * gdb.trace/backtrace.exp: Likewise.
8486 * gdb.trace/change-loc.exp: Likewise.
8487 * gdb.trace/deltrace.exp: Likewise.
8488 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8489 * gdb.trace/ftrace.exp: Likewise.
8490 * gdb.trace/infotrace.exp: Check for arch support.
8491 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8492 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8493 * gdb.trace/mi-tsv-changed.exp: Likewise.
8494 * gdb.trace/packetlen.exp: Likewise.
8495 * gdb.trace/passc-dyn.exp: Likewise.
8496 * gdb.trace/passcount.exp: Likewise.
8497 * gdb.trace/pending.exp: Likewise.
8498 * gdb.trace/range-stepping.exp: Check for shlib support.
8499 * gdb.trace/report.exp: Check for arch support.
8500 * gdb.trace/save-trace.exp: Likewise.
8501 * gdb.trace/signal.exp: Check for signal support.
8502 * gdb.trace/tfind.exp: Check for arch support.
8503 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8504 * gdb.trace/trace-common.h: Add comment.
8505 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8506 * gdb.trace/trace-enable-disable.exp: Likewise.
8507 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8508 * gdb.trace/tracecmd.exp: Check for arch support.
8509 * gdb.trace/tspeed.exp: Check for shlib and target support.
8510 * gdb.trace/tstatus.exp: Check for arch support.
8511 * gdb.trace/tsv.exp: Likewise.
8512 * gdb.trace/while-dyn.exp: Likewise.
8513 * gdb.trace/while-stepping.exp: Likewise.
8514 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8515
f9c49bff
SM
85162018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8517
8518 * gdb.trace/tspeed.exp: Remove nowarnings.
8519 (prepare_for_trace_test): Declare "global ipalib".
8520 * gdb.trace/tspeed.c: Include unistd.h.
8521 (main): Remove superfluous printf argument.
8522
d4330bde
SL
85232018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8524
8525 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8526 directory prefix on the filename.
8527
8ecfd7bd
SDJ
85282018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8529
8530 * gdb.gdb/unittest.exp: Update expected message informing that
8531 selftests have been disabled.
8532 * gdb.server/unittest.exp: Likewise.
8533
58bbcd02
TV
85342018-10-09 Tom de Vries <tdevries@suse.de>
8535
8536 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8537 with runto_main.
8538
9f6b697b
WP
85392018-10-08 Weimin Pan <weimin.pan@oracle.com>
8540
8541 PR c++/16841
8542 * gdb.cp/virtbase2.cc: New file.
8543 * gdb.cp/virtbase2.exp: New file.
8544
add5ded5
TT
85452018-10-06 Tom Tromey <tom@tromey.com>
8546
8547 PR python/19399:
8548 * gdb.python/py-inferior.exp: Add architecture test.
8549
f9e48344
TT
85502018-10-06 Tom Tromey <tom@tromey.com>
8551
8552 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8553 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8554
2a8be203
TT
85552018-10-06 Tom Tromey <tom@tromey.com>
8556
8557 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8558 of a "throw" catchpoint.
8559
e04caa70
SDJ
85602018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8561
8562 * gdb.base/info-proc.exp: Update string expected from "help info
8563 proc".
8564
5ca8c39f
TT
85652018-10-04 Tom Tromey <tom@tromey.com>
8566
8567 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8568 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8569 (test_initial_complaints, test_empty_complaints): Update.
8570 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8571
3453e7e4
TT
85722018-10-04 Tom Tromey <tom@tromey.com>
8573
8574 PR cli/19551:
8575 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8576 * lib/gdb.exp (gdb_file_cmd): Update.
8577 * gdb.stabs/weird.exp (print_weird_var): Update.
8578 * gdb.server/solib-list.exp: Update.
8579 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8580 * gdb.mi/mi-cli.exp: Update.
8581 * gdb.linespec/linespec.exp: Update.
8582 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8583 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8584 * gdb.cp/cp-relocate.exp: Update.
8585 * gdb.base/sym-file.exp: Update.
8586 * gdb.base/relocate.exp: Update.
8587 * gdb.base/readnever.exp: Update.
8588 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8589 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8590 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8591 * gdb.base/code_elim.exp: Update.
8592 * gdb.base/break-unload-file.exp (test_break): Update.
8593 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8594 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8595 Update.
8596 * gdb.base/attach.exp (do_attach_tests): Update.
8597 * gdb.base/sepdebug.exp: Update.
8598 * gdb.python/py-section-script.exp: Update.
8599
6afcf761
TT
86002018-10-04 Tom Tromey <tom@tromey.com>
8601
8602 PR cli/22234:
8603 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8604 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8605 output.
8606
fef1b293
TT
86072018-10-04 Tom Tromey <tom@tromey.com>
8608
8609 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8610 set width and height to 0.
8611 (test_command_line_attach_run): Use -quiet.
8612
ca98345e
SL
86132018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8614
8615 * lib/gdb.exp (skip_ifunc_tests): New.
8616 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8617 other compile failures.
8618 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8619
ff34e6ae
SM
86202018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8621
8622 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8623 is_amd64_regs_target.
8624
6bb8890e
AH
86252018-10-01 Alan Hayward <alan.hayward@arm.com>
8626
8627 * gdb.arch/aarch64-sighandler-regs.c: New test.
8628 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8629 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8630
224d30d3
MM
86312018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8632
8633 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8634 assembly.
8635
f67ffa6a
AB
86362018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8637
8638 * gdb.base/frame-selection.exp: New file.
8639 * gdb.base/frame-selection.c: New file.
8640
9fc3183f
AH
86412018-09-27 Alan Hayward <alan.hayward@arm.com>
8642
8643 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8644 pthread barrier.
8645 (main): Likewise.
8646
d354055e
AB
86472018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8648
8649 * gdb.base/large-frame-1.c: New file.
8650 * gdb.base/large-frame-2.c: New file.
8651 * gdb.base/large-frame.exp: New file.
8652 * gdb.base/large-frame.h: New file.
8653
db727370
JL
86542018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8655
8656 PR gdb/20948
8657 * gdb.base/write_mem.exp: New test.
8658 * gdb.base/write_mem.c: Likewise.
8659
ae778caf
TT
86602018-09-23 Tom Tromey <tom@tromey.com>
8661
8662 PR python/18852:
8663 * gdb.python/py-parameter.exp: Add test for parameter that throws
8664 on "set".
8665
fd3ba736
TT
86662018-09-23 Tom Tromey <tom@tromey.com>
8667
8668 PR python/17284:
8669 * gdb.python/py-template.exp (test_template_arg): Add test for
8670 negative template argument number.
8671
39a24317
TT
86722018-09-23 Tom Tromey <tom@tromey.com>
8673
8674 PR python/14062:
8675 * gdb.python/python.exp: Add test for post_event error.
8676
f5769a2c
TT
86772018-09-23 Tom Tromey <tom@tromey.com>
8678
8679 PR python/18170:
8680 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8681 convert pointers to int and long.
8682
1c1e54f6
TT
86832018-09-23 Tom Tromey <tom@tromey.com>
8684
8685 PR python/20126:
8686 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8687 signed-ness conversion tests.
8688
fb4fa946
TT
86892018-09-23 Tom Tromey <tom@tromey.com>
8690
8691 PR python/18352;
8692 * gdb.python/py-value.exp (test_float_conversion): New proc.
8693 Use it.
8694
a466edac
HAQ
86952018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8696
8697 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8698
4ee9b0c5
SL
86992018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8700
8701 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8702 no readline.
8703 * gdb.base/utf8-identifiers.exp: Likewise.
8704 * gdb.cp/cpcompletion.exp: Likewise.
8705 * gdb.linespec/cpcompletion.exp: Likewise.
8706 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8707 * gdb.linespec/cpls-ops.exp: Likewise.
8708
23be8da7
RB
87092018-09-19 Richard Bunt <richard.bunt@arm.com>
8710 Chris January <chris.january@arm.com>
8711
8712 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8713 * gdb.fortran/short-circuit-argument-list.exp: New file.
8714 * gdb.fortran/short-circuit-argument-list.f90: New test.
8715
5031d0ae
SDJ
87162018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8717
8718 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8719 "arch=" keyword when executing "-stack-list-frames".
8720
b4c0d1a4
SDJ
87212018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8722
8723 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8724 "arch=" keyword when executing "-stack-list-frames".
8725
7a6d2b45
SDJ
87262018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8727
8728 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8729 break ada".
8730
8588b356
SM
87312018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8732
8733 PR python/23669
8734 * gdb.python/python.exp: Test gdb.execute("show commands").
8735
65e65158
TT
87362018-09-16 Tom Tromey <tom@tromey.com>
8737
8738 * gdb.base/new-ui.exp (do_execution_tests): Update.
8739 * gdb.base/dbx.exp (test_breakpoints): Update.
8740
bf326452
AH
87412018-09-14 Alan Hayward <alan.hayward@arm.com>
8742
8743 * lib/gdb.exp (gdb_simple_compile): Add proc.
8744 (is_elf_target): Use gdb_simple_compile.
8745 (skip_altivec_tests): Likewise.
8746 (skip_vsx_tests): Likewise.
8747 (skip_tsx_tests): Likewise.
8748 (skip_btrace_tests): Likewise.
8749 (skip_btrace_pt_tests): Likewise.
8750 (gdb_can_simple_compile): Likewise.
8751 (gdb_has_argv0): Likewise.
8752 (gdb_target_symbol_prefix): Likewise.
8753 (target_supports_scheduler_locking): Likewise.
8754
2361b0fb
TT
87552018-09-13 Tom Tromey <tom@tromey.com>
8756
8757 * Makefile.in (TAGS): Recognize proc_with_prefix and
8758 gdb_caching_proc.
8759
0ae1a321
SM
87602018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8761
8762 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8763 method.
8764
a40bf0c2
SM
87652018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8766
8767 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8768 and a few other Inferior properties when the Inferior is no
8769 longer valid.
8770
4a3fe98f
TT
87712018-09-13 Tom Tromey <tom@tromey.com>
8772
8773 PR rust/23650:
8774 * gdb.rust/simple.exp: Add test for enum field access error.
8775
098b2108
TT
87762018-09-13 Tom Tromey <tom@tromey.com>
8777
8778 PR rust/23626:
8779 * gdb.rust/simple.rs (EmptyEnum): New type.
8780 (main): Use it.
8781 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8782
1256af7d
SM
87832018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8784
8785 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8786 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8787 * gdb.python/py-symtab.exp: Update test printing an objfile.
8788
4aa8e6c2
SM
87892018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8790
8791 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8792 object.
8793
c221b2f7
AH
87942018-09-12 Alan Hayward <alan.hayward@arm.com>
8795
8796 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8797 (support_complex_tests): Use gdb_can_simple_compile.
8798 (is_ilp32_target): Likewise.
8799 (is_lp64_target): Likewise.
8800 (is_64_target): Likewise.
8801 (is_amd64_regs_target): Likewise.
8802 (is_aarch32_target): Likewise.
8803 (gdb_int128_helper): Likewise.
8804
6f1107b5
JK
88052018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8806
8807 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8808
1f5d1570
JG
88092018-09-10 Jerome Guitton <guitton@adacore.com>
8810
8811 * gdb.ada/same_component_name: Add test for case of tagged record
8812 with variable-length fields.
8813
cc330e39
XR
88142018-09-10 Xavier Roirand <roirand@adacore.com>
8815
8816 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8817 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8818 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8819 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8820
b9c50e9a
XR
88212018-09-10 Xavier Roirand <roirand@adacore.com>
8822
8823 * gdb.ada/mi_string_access.exp: New testcase.
8824 * gdb.ada/mi_string_access/bar.adb: New file.
8825 * gdb.ada/mi_string_access/pck.adb: New file.
8826 * gdb.ada/mi_string_access/pck.asd: New file.
8827
2963898f
XR
88282018-09-10 Xavier Roirand <roirand@adacore.com>
8829
8830 * gdb.ada/mi_var_union.exp: New testcase.
8831 * gdb.ada/mi_var_union/bar.adb: New file.
8832 * gdb.ada/mi_var_union/pck.adb: New file.
8833 * gdb.ada/mi_var_union/pck.asd: New file.
8834
1aac008f
TT
88352018-09-08 Tom Tromey <tom@tromey.com>
8836
8837 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8838
332cf4c9
TT
88392018-09-08 Tom Tromey <tom@tromey.com>
8840
8841 PR python/16047:
8842 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8843 (register_pretty_printers): Register new printer.
8844 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8845 test.
8846 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8847 (an_int_type3): New global.
8848
424da6cf
JB
88492018-09-08 Joel Brobecker <brobecker@adacore.com>
8850
8851 * gdb.ada/expr_with_funcall: New testcase.
8852
2a62dfa9
JB
88532018-09-08 Joel Brobecker <brobecker@adacore.com>
8854
8855 * gdb.ada/packed_array_assign: New testcase.
8856
96b6697f
AB
88572018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8858
8859 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8860 names, and add test prefixes to make test names unique.
8861
e4a62c65
TV
88622018-09-05 Tom de Vries <tdevries@suse.de>
8863
8864 * gdb.dwarf2/varval.exp: Add test.
8865
dd083ee2
GB
88662018-09-04 Gary Benson <gbenson@redhat.com>
8867
8868 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8869 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8870
aef9346c
TT
88712018-08-31 Tom Tromey <tom@tromey.com>
8872
8873 * gdb.rust/simple.rs: Rename second variable "v".
8874
c67f2e15
AB
88752018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8876
8877 * gdb.base/funcargs.c (use_a): New function.
8878 (recurse): Call use_a.
8879
078a0207
KS
88802018-08-29 Keith Seitz <keiths@redhat.com>
8881
8882 * gdb.compile/compile-cplus-anonymous.cc: New file.
8883 * gdb.compile/compile-cplus-anonymous.exp: New file.
8884 * gdb.compile/compile-cplus-array-decay.cc: New file.
8885 * gdb.compile/compile-cplus-array-decay.exp: New file.
8886 * gdb.compile/compile-cplus-inherit.cc: New file.
8887 * gdb.compile/compile-cplus-inherit.exp: New file.
8888 * gdb.compile/compile-cplus-member.cc: New file.
8889 * gdb.compile/compile-cplus-member.exp: New file.
8890 * gdb.compile/compile-cplus-method.cc: New file.
8891 * gdb.compile/compile-cplus-method.exp: New file.
8892 * gdb.compile/compile-cplus-mod.c: "New" file.
8893 * gdb.compile/compile-cplus-namespace.cc: New file.
8894 * gdb.compile/compile-cplus-namespace.exp: New file.
8895 * gdb.compile/compile-cplus-nested.cc: New file.
8896 * gdb.compile/compile-cplus-nested.exp: New file.
8897 * gdb.compile/compile-cplus-print.c: "New" file.
8898 * gdb.compile/compile-cplus-print.exp: "New" file.
8899 * gdb.compile/compile-cplus-virtual.cc: New file.
8900 * gdb.compile/compile-cplus-virtual.exp: New file.
8901 * gdb.compile/compile-cplus.c: "New" file.
8902 * gdb.compile/compile-cplus.exp: "New" file.
8903 * lib/compile-support.exp: New file.
8904
b0f492b9
GB
89052018-08-16 Gary Benson <gbenson@redhat.com>
8906
8907 PR gdb/13000:
8908 * gdb.base/batch-exit-status.exp: New file.
8909 * gdb.base/batch-exit-status.good-commands: Likewise.
8910 * gdb.base/batch-exit-status.bad-commands: Likewise.
8911
36eb4c5f
AH
89122018-08-29 Alan Hayward <alan.hayward@arm.com>
8913
8914 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8915 (struct struct02): Likewise.
8916 (struct struct03): Likewise.
8917 (struct struct04): Likewise.
8918 (struct struct_01_01): New struct.
8919 (struct struct_01_02): Likewise.
8920 (struct struct_01_03): Likewise.
8921 (struct struct_01_04): Likewise.
8922 (struct struct_02_01): Likewise.
8923 (struct struct_02_02): Likewise.
8924 (struct struct_02_03): Likewise.
8925 (struct struct_02_04): Likewise.
8926 (struct struct_04_01): Likewise.
8927 (struct struct_04_02): Likewise.
8928 (struct struct_04_03): Likewise.
8929 (struct struct_04_04): Likewise.
8930 (struct struct_05_01): Likewise.
8931 (struct struct_05_02): Likewise.
8932 (struct struct_05_03): Likewise.
8933 (struct struct_05_04): Likewise.
8934 (cmp_struct01): Remove function.
8935 (cmp_struct02): Likewise.
8936 (cmp_struct03): Likewise.
8937 (cmp_struct04): Likewise.
8938 (cmp_struct_01_01): Add Function.
8939 (cmp_struct_01_02): Likewise.
8940 (cmp_struct_01_03): Likewise.
8941 (cmp_struct_01_04): Likewise.
8942 (cmp_struct_02_01): Likewise.
8943 (cmp_struct_02_02): Likewise.
8944 (cmp_struct_02_03): Likewise.
8945 (cmp_struct_02_04): Likewise.
8946 (cmp_struct_04_01): Likewise.
8947 (cmp_struct_04_02): Likewise.
8948 (cmp_struct_04_03): Likewise.
8949 (cmp_struct_04_04): Likewise.
8950 (cmp_struct_05_01): Likewise.
8951 (cmp_struct_05_02): Likewise.
8952 (cmp_struct_05_03): Likewise.
8953 (cmp_struct_05_04): Likewise.
8954 (call_all): Add new structs.
8955 * gdb.base/infcall-nested-structs.exp: Likewise.
8956
3bf9c013
JV
89572018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8958
8959 * gdb.python/py-framefilter-mi.exp: Update regexp to
8960 check for "arch" field in frame output.
8961
450d1e88
KB
89622018-08-23 Kevin Buettner <kevinb@redhat.com>
8963
8964 * gdb.dwarf2/dw2-ranges-func.c: New file.
8965 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8966
ae739fe7
SM
89672018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8968
8969 * gdb.base/term.exp: Compare terminal settings with values from
8970 the inferior.
8971 * gdb.base/term.c: Get and set terminal settings.
8972
6d52907e
JV
89732018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8974
8975 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8976 accommodate new "arch" field in frame output.
8977 * gdb.mi/mi-return.exp: Likewise.
8978 * gdb.mi/mi-stack.exp: Likewise.
8979 * gdb.mi/mi-syn-frame.exp: Likewise.
8980 * gdb.mi/user-selected-context-sync.exp: Likewise.
8981
be2d111a
MS
89822018-08-19 Michael Spang <spang@google.com>
8983
8984 PR gdb/11786
8985 * gdb.base/gcore-tls-pie.c: New file.
8986 * gdb.base/gcore-tls-pie.exp: New file.
8987
ae3a7c47
KB
89882018-08-18 Kevin Buettner <kevinb@redhat.com>
8989
8990 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8991 * gdb.dwarf2/varval.c: New file.
8992 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8993
2ecae92e
AH
89942018-08-17 Alan Hayward <alan.hayward@arm.com>
8995
8996 PR gdb/18931
8997 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8998
c1854f1d
KS
89992018-08-16 Keith Seitz <keiths@redhat.com>
9000
9001 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9002 tests expected to pass.
9003
26fb3983
JV
90042018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9005
9006 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9007 -data-disassemble -a.
9008 (test_disassembly_bogus_args): Likewise.
9009
67943c00
AB
90102018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9011
9012 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9013
5ff2bbae
AB
90142018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9015
9016 * gdb.base/vla-optimized-out.exp: Add new test.
9017
e5bbcd0f
AB
90182018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9019
9020 * gdb.base/vla-optimized-out-o3.exp: Delete.
9021 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9022 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9023 deleted tests.
9024
9d4a934c
AB
90252018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9026
9027 PR gdb/18050:
9028 * gdb.server/extended-remote-restart.c: New file.
9029 * gdb.server/extended-remote-restart.exp: New file.
9030
045cf012
SM
90312018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9032
9033 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9034 "set variable index = 42".
9035
87d6a7aa
SM
90362018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9037
9038 * boards/index-cache-gdb.exp: New file.
9039 * gdb.dwarf2/index-cache.exp: New file.
9040 * gdb.dwarf2/index-cache.c: New file.
9041 * gdb.base/maint.exp: Check if we are using the index cache.
9042
96d68bd4
RO
90432018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9044
9045 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9046 MAKEFLAGS.
9047
5a699617
RO
90482018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9049
9050 * dg-extract-results.sh: Move to toplevel contrib.
9051 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9052 * Makefile.in (check-parallel-racy): Likewise.
9053
5bd18990
AB
90542018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9055
9056 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9057 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9058 tests if the target supports scheduler locking.
9059
3fbbcf47
TV
90602018-08-04 Tom de Vries <tdevries@suse.de>
9061
9062 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9063
3e1d3d8c
TT
90642018-08-02 Tom Tromey <tom@tromey.com>
9065
9066 PR symtab/16842.
9067 * gdb.cp/temargs.exp: Test "info address" of a template
9068 parameter.
9069
5abe0f0c
JV
90702018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9071
9072 * gdb.python/py-mi-var-info-path-expression.c: New file.
9073 * gdb.python/py-mi-var-info-path-expression.py: New file.
9074 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9075
fb66cde8
SDJ
90762018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9077
9078 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9079 error after "cannot resolve name" string.
9080
c708f4d2
AB
90812018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9082
9083 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9084 started.
9085 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9086
37cc0cae
TV
90872018-07-28 Tom de Vries <tdevries@suse.de>
9088
9089 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9090
63b4ecf7
TV
90912018-07-26 Tom de Vries <tdevries@suse.de>
9092
9093 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9094
3c3bb058
AB
90952018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9096
9097 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9098 is visible.
9099
9e7f3bbb
TV
91002018-07-26 Tom de Vries <tdevries@suse.de>
9101
9102 PR breakpoints/23366
9103 * gdb.base/catch-follow-exec.c: New test.
9104 * gdb.base/catch-follow-exec.exp: New file.
9105
16f808ec
TV
91062018-07-25 Tom de Vries <tdevries@suse.de>
9107
9108 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9109 vla-optimized-out.c.
9110
d7154a8d
JV
91112018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9112
9113 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9114 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9115
232a0032
TV
91162018-07-20 Tom de Vries <tdevries@suse.de>
9117
9118 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9119 NOCLONE macro.
9120 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9121
fbb1d502
TV
91222018-07-19 Tom de Vries <tdevries@suse.de>
9123
9124 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9125 regular expression.
9126
42dc7699
TV
91272018-07-18 Tom de Vries <tdevries@suse.de>
9128
9129 * gdb.base/vla-optimized-out.c: New test.
9130 * gdb.base/vla-optimized-out.exp: New file.
9131
7f1f7e23
SDJ
91322018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9133
9134 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9135 message "No address associated with hostname" when gdbserver
9136 cannot resolve the hostname.
9137
5759ebb3
PW
91382018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9139
9140 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9141 Add some test prefixes to make tests unique.
9142
3606ccab
PW
91432018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9144
9145 * gdb.base/frameapply.c: New file.
9146 * gdb.base/frameapply.exp: New file.
9147
529c08b2
PW
91482018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9149
9150 * gdb.base/skip.exp: Update expected error message.
9151
c7ab0aef
SDJ
91522018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9153 Jan Kratochvil <jan.kratochvil@redhat.com>
9154 Paul Fertser <fercerpav@gmail.com>
9155 Tsutomu Seki <sekiriki@gmail.com>
9156
9157 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9158 parameter.
9159 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9160 by default.
9161 * boards/native-gdbserver.exp: Likewise.
9162 * gdb.server/run-without-local-binary.exp: Improve regexp used
9163 for detecting when a remote debugging connection succeeds.
9164 * gdb.server/server-connect.exp: New file.
9165 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9166 Do not prefix the port number with ":".
9167 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9168 support for detecting and using it. Add '$debughost_gdbserver'
9169 to the list of arguments used to start gdbserver. Handle case
9170 when gdbserver cannot resolve a network name.
9171
16ff70dd
SDJ
91722018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9173
9174 PR c++/23373
9175 * gdb.base/ptype-offsets.cc (struct static_member): New
9176 struct.
9177 (main) <stmember>: New variable.
9178 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9179 with a static member in it.
9180
3541979f
AB
91812018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9182
9183 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9184 watchpoints enabled and disabled.
9185
c8ad9b9a
AB
91862018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9187
9188 * gdb.base/examine-backward.exp: Still run tests around address
9189 0x0, even if address 0x0 is not readable. Update the pattern for
9190 matching address 0x0 in expected output.
9191
e0e5e971
AB
91922018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9193
9194 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9195 malloc/free.
9196
1ea5da02
TV
91972018-07-04 Tom de Vries <tdevries@suse.de>
9198
9199 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9200
471b9d15
MR
92012018-07-02 Maciej W. Rozycki <macro@mips.com>
9202
9203 PR tdep/8282
9204 * gdb.arch/mips-disassembler-options.exp: New test.
9205 * gdb.arch/mips-disassembler-options.s: New test source.
9206
75acb486
PA
92072018-06-29 Pedro Alves <palves@redhat.com>
9208
9209 * gdb.threads/names.exp: Adjust expected "info threads" output.
9210
cd2bb709
PA
92112018-06-29 Pedro Alves <palves@redhat.com>
9212
9213 * gdb.opt/inline-break.exp (line number, address): Add "info
9214 break" tests.
9215
991ff292
PA
92162018-06-29 Pedro Alves <palves@redhat.com>
9217
9218 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9219 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9220 number and address and running to them.
9221
356819b6 92222018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9223
9224 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9225
2512d7ef
JK
92262018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9227
9228 * lib/compiler.c: Remove executable permission flag.
9229
be1b6474
RB
92302018-06-28 Richard Bunt <richard.bunt@arm.com>
9231
9232 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9233 code.
9234 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9235
291f9a96
PT
92362018-06-28 Petr Tesarik <ptesarik@suse.cz>
9237
9238 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9239
ed6dfe51
PT
92402018-06-28 Petr Tesarik <ptesarik@suse.cz>
9241
9242 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9243 address argument is omitted.
9244
d4d429d5
PT
92452018-06-28 Petr Tesarik <ptesarik@suse.cz>
9246
9247 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9248
7ab6656f
OJ
92492018-06-27 Omair Javaid <omair.javaid@linaro.org>
9250
9251 PR gdb/21695
9252 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9253 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9254
a33ccfc7
TT
92552018-06-26 Tom Tromey <tom@tromey.com>
9256
9257 PR rust/22574:
9258 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9259 * gdb.rust/simple.rs (struct SimpleLayout): New.
9260
6d72d289
SM
92612018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9262
9263 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9264 "info registers" output.
9265
8363f9d5
RB
92662018-06-21 Richard Bunt <richard.bunt@arm.com>
9267
9268 * gdb.base/watchpoint-hw-attach.c: New test.
9269 * gdb.base/watchpoint-hw-attach.exp: New file.
9270
f00674fe
SM
92712018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9272
9273 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9274 through /bin/sh.
9275 * boards/dwarf4-gdb-index.exp: Likewise.
9276 * boards/fission-dwp.exp: Likewise.
9277
1d554008
UW
92782018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9279
9280 * gdb.base/float128.exp: Add comment and improved fail message
9281 to the failure case of "print large128" test.
9282
d0ac1c44
SM
92832018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9284
9285 * configure.ac: Remove AC_PREREQ.
9286 * configure: Re-generate.
9287
61b04dd0
PA
92882018-06-19 Pedro Alves <palves@redhat.com>
9289
9290 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9291 (func_extern_caller): New.
9292 (main): Call func_extern_caller.
9293 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9294 logic change.
9295
f63b508a
SM
92962018-06-18 Weimin Pan <weimin.pan@oracle.com>
9297
9298 PR gdb/16841
9299 * gdb.cp/typedef-base.cc: New file.
9300 * gdb.cp/typedef-base.exp: New file.
9301
0fe3a558
TV
93022018-06-18 Tom de Vries <tdevries@suse.de>
9303
9304 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9305
7010835a
AB
93062018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9307 Richard Bunt <Richard.Bunt@arm.com>
9308
9309 * gdb.threads/attach-slow-waitpid.c: New file.
9310 * gdb.threads/attach-slow-waitpid.exp: New file.
9311 * gdb.threads/slow-waitpid.c: New file.
9312
14897d65
PA
93132018-06-14 Pedro Alves <palves@redhat.com>
9314
9315 * gdb.base/fork-running-state.c: Include <errno.h>.
9316 (exit_if_relative_exits): New.
9317 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9318 exits.
9319 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9320 child exits.
9321
5d9a0608
TV
93222018-06-14 Tom de Vries <tdevries@suse.de>
9323
9324 PR cli/22573
9325 * gdb.base/finish-pretty.c: New test.
9326 * gdb.base/finish-pretty.exp: New file.
9327
11ae5818
PA
93282018-06-14 Pedro Alves <palves@redhat.com>
9329
9330 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9331 gdb's expected startup output.
9332
1d39de44
PA
93332018-06-14 Pedro Alves <palves@redhat.com>
9334
9335 * lib/selftest-support.exp (selftest_setup): Remove inlined
9336 function handling.
9337
70ee0000
TV
93382018-06-14 Tom de Vries <tdevries@suse.de>
9339
9340 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9341 matching of breakpoint printing.
9342
11f4b608
TV
93432018-06-13 Tom de Vries <tdevries@suse.de>
9344
9345 PR testsuite/23269
9346 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9347 (fork_child): ... here, and ...
9348 (fork_parent): ... here.
9349
93502018-06-12 Tom de Vries <tdevries@suse.de>
9351
9352 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9353
9516f85a
AB
93542018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9355 Stephen Roberts <stephen.roberts@arm.com>
9356
9357 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9358 rewrite test to describe action performed, rather than possible
9359 failure.
9360
5045b3d7
GB
93612018-06-08 Gary Benson <gbenson@redhat.com>
9362
9363 * gdb.threads/check-libthread-db.exp: New file.
9364 * gdb.threads/check-libthread-db.c: Likewise.
9365
c61b06a1
TT
93662018-06-05 Tom Tromey <tom@tromey.com>
9367
9368 * gdb.base/default.exp: Update expected "show version" output.
9369
eb6af809
TT
93702018-06-05 Tom Tromey <tom@tromey.com>
9371
9372 PR cli/12326:
9373 * gdb.cp/static-print-quit.exp: Update.
9374 * lib/gdb.exp (pagination_prompt): Update.
9375 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9376 * gdb.python/python.exp: Update.
9377
178d6a63
JB
93782018-06-04 Joel Brobecker <brobecker@adacore.com>
9379
9380 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9381
8e817061
JB
93822018-06-01 Joel Brobecker <brobecker@adacore.com>
9383
9384 * gdb.ada/bp_fun_addr: New testcase.
9385
e86ca25f
TT
93862018-06-01 Tom Tromey <tom@tromey.com>
9387
9388 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9389 results.
9390 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9391 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9392 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9393 * gdb.base/maint.exp (maint_pass_if): Update.
9394
4b2dfa9d
MR
93952018-05-31 Maciej W. Rozycki <macro@mips.com>
9396
9397 * gdb.base/endian.exp: New test.
9398 * gdb.base/endian.c: New test source.
9399
45f25d6c
AB
94002018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9401
9402 PR gdb/23203
9403 * gdb.base/bt-selected-frame.c: New file.
9404 * gdb.base/bt-selected-frame.exp: New file.
9405 * lib/gdb.exp (get_current_frame_number): New function.
9406
d9f6d7f8
MR
94072018-05-24 Maciej W. Rozycki <macro@mips.com>
9408 Pedro Alves <palves@redhat.com>
9409
9410 * gdb.threads/tls-core.c: Include <stdlib.h>
9411 (thread_proc): Call `abort'.
9412 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9413 (tls_core_test): New procedure, bits factored out from ...
9414 (top level): ... here. Test both native cores and gcore cores.
9415
ff1cf532
TT
94162018-05-23 Tom Tromey <tom@tromey.com>
9417
9418 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9419
b98664d3
TT
94202018-05-23 Tom Tromey <tom@tromey.com>
9421
9422 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9423 symfile_complaints.
9424 (test_short_complaints): Likewise.
9425 (test_empty_complaints): Likewise.
9426 (test_initial_complaints): Update.
9427
4e9668d0
TT
94282018-05-23 Tom Tromey <tom@tromey.com>
9429
9430 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9431
43ba33c7
TT
94322018-05-23 Tom Tromey <tom@tromey.com>
9433
9434 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9435 (test_short_complaints): Update.
9436
035522c0
PA
94372018-05-22 Pedro Alves <palves@redhat.com>
9438
9439 * gdb.base/remote.exp: Only gdb_start after compiling the
9440 testcase. Issue "disconnect" before testing "set remote" command
9441 defaults. Issue clean_restart before running to main.
9442
cc0be08f
PA
94432018-05-22 Pedro Alves <palves@redhat.com>
9444
9445 * gdb.base/remote.exp: Adjust expected output of "show remote
9446 memory-write-packet-size". Add tests for "set remote
9447 memory-write-packet-size 0" and "set remote
9448 memory-write-packet-size fixed/limit".
9449
b1b60145
PA
94502018-05-22 Pedro Alves <palves@redhat.com>
9451
9452 PR gdb/22973
9453 * gdb.base/utf8-identifiers.c: New file.
9454 * gdb.base/utf8-identifiers.exp: New file.
9455
0ec848ad
PFC
94562018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9457
9458 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9459
2c3305f6
PFC
94602018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9461
9462 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9463
ce1e8424
TT
94642018-05-18 Tom Tromey <tom@tromey.com>
9465
9466 * gdb.base/ptype-offsets.exp: Update.
9467
ddfe970e
KS
94682018-05-17 Keith Seitz <keiths@redhat.com>
9469
9470 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9471 in expected breakpoint stop locations.
9472 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9473 move to proper scope to test variable values.
9474 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9475 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9476 New functions.
9477 (main): Call not_inline_func3.
9478 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9479 inline_func1, inline_func2, and inline_func3. Test that when each
9480 breakpoint is hit, GDB properly reports both the stop location
9481 and the backtrace. Repeat tests for temporary breakpoints.
9482
0726fcc6
MR
94832018-05-15 Maciej W. Rozycki <macro@mips.com>
9484
9485 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9486 rather then trying to access it in determining whether the PID
9487 of `gdbserver' could have been retrieved.
9488
8ee22052
AB
94892018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9490
9491 * gdb.arch/amd64-init-x87-values.S: New file.
9492 * gdb.arch/amd64-init-x87-values.exp: New file.
9493
7785df48
JK
94942018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9495
9496 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9497
56bcdbea
TT
94982018-05-04 Tom Tromey <tom@tromey.com>
9499
9500 PR python/22730:
9501 * gdb.python/python.exp: Test multi-line execute.
9502
a913fffb
TT
95032018-05-04 Tom Tromey <tom@tromey.com>
9504
9505 PR python/22731:
9506 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9507
7a2c85f2
TT
95082018-05-04 Tom Tromey <tom@tromey.com>
9509
9510 PR gdb/11750:
9511 * gdb.base/define.exp: Test defining a user command inside a user
9512 command.
9513 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9514
a3b60e45
JK
95152018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9516 Pedro Alves <palves@redhat.com>
9517
9518 PR breakpoints/19806 and support for PR external/20207.
9519 * gdb.base/watchpoint-unaligned.c: New file.
9520 * gdb.base/watchpoint-unaligned.exp: New file.
9521
45fe4a03
AB
95222018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9523
9524 * gdb.base/maint.exp: Make test names unique, use
9525 test_prefix_command_help to test 'help maint info', and remove
9526 repeated test of 'help maint'.
9527
9be2ae8f
TT
95282018-05-04 Tom Tromey <tom@tromey.com>
9529
9530 PR gdb/22619:
9531 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9532 behavior.
9533
11859c31
AB
95342018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9535
9536 * gdb.base/maint.exp: Process output from 'maint print registers'
9537 line at a time.
9538
089a9490
AB
95392018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9540
9541 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9542 timeout.
9543
9b0797e2
AB
95442018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9545
9546 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9547 filter pattern.
9548
f6ac5f3d
PA
95492018-05-02 Pedro Alves <palves@redhat.com>
9550
9551 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9552 to_log_command renames.
9553 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9554
77d3c63b
TT
95552018-05-02 Tom Tromey <tom@tromey.com>
9556
9557 * gdb.python/py-parameter.exp: Set test message.
9558
0489430a
TT
95592018-05-02 Tom Tromey <tom@tromey.com>
9560
9561 PR python/20084:
9562 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9563 PARAM_ZUINTEGER_UNLIMITED tests.
9564
1632f8ba
DR
95652018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9566
9567 PR rust/23124
9568 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9569 when casting.
9570
6d7bb824
TT
95712018-04-30 Tom Tromey <tom@tromey.com>
9572
9573 * gdb.python/py-type.exp: Check align attribute.
9574 * gdb.python/py-type.c: New "aligncheck" global.
9575
007e1530
TT
95762018-04-30 Tom Tromey <tom@tromey.com>
9577
9578 PR exp/17095:
9579 * gdb.dwarf2/dw2-align.exp: New file.
9580 * gdb.cp/align.exp: New file.
9581 * gdb.base/align.exp: New file.
9582 * lib/gdb.exp (gdb_int128_helper): New proc.
9583 (has_int128_c, has_int128_cxx): New caching procs.
9584
6873858b
TT
95852018-04-27 Tom Tromey <tom@tromey.com>
9586
9587 PR rust/22545:
9588 * gdb.rust/simple.exp: Add inclusive range tests.
9589
79188d8d
PA
95902018-04-26 Pedro Alves <palves@redhat.com>
9591
9592 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9593 ifunc breakpoint locations correctly of ifunc breakpoints set
9594 while the program resolves the ifunc.
9595
c7075ad5
PA
95962018-04-26 Pedro Alves <palves@redhat.com>
9597
9598 * gdb.base/gnu-ifunc-final.c: New file.
9599 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9600 * gdb.base/gnu-ifunc.exp (executable): Delete.
9601 (staticexecutable): Adjust.
9602 (lib_opts, exec_opts): Delete.
9603 (make_binsuffix, build, set-break): New procedures.
9604 (misc_tests): New, with tests factored out from the top level.
9605 (top level): Test different combinations of ifunc resolver name,
9606 resolver with and with debug info, and ifunc target with and
9607 without debug info. Wrap static tests with with_target_prefix.
9608
8388016d
PA
96092018-04-26 Pedro Alves <palves@redhat.com>
9610
9611 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9612 return type" warnings.
9613
249b5733
PA
96142018-04-25 Pedro Alves <palves@redhat.com>
9615
9616 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9617 killed".
9618 * gdb.base/kill-after-signal.exp: Likewise.
9619 * gdb.threads/kill.exp: Likewise.
9620
f67c0c91
SDJ
96212018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9622 Sergio Durigan Junior <sergiodj@redhat.com>
9623 Pedro Alves <palves@redhat.com>
9624
9625 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9626 regexps to expect for '[Inferior ... detached]' as well.
9627 * gdb.base/attach.exp: Likewise.
9628 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9629 "gdb_continue_to_end".
9630 (test_catch_syscall_with_wrong_args): Likewise.
9631 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9632 ']'. Don't set 'verbose' on.
9633 * gdb.base/foll-vfork.exp: Likewise.
9634 * gdb.base/fork-print-inferior-events.c: New file.
9635 * gdb.base/fork-print-inferior-events.exp: New file.
9636 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9637 '[Inferior ... has been killed]' message.
9638 * gdb.base/kill-after-signal.exp: Likewise.
9639 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9640 detach message.
9641 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9642 message.
9643 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9644 regexps to expect for '[Inferior ... detached]' as well.
9645 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9646
0a8ddac4
SM
96472018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9648
9649 PR gdb/23104
9650 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9651
701adfb0
PA
96522018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9653
9654 PR gdb/23095
9655 * gdb.base/break-probes.exp: Pass shlib_load to
9656 prepare_for_testing. Set normal_bp to r_debug_state if target is
9657 bsd.
9658
d27d16bf
RB
96592018-04-19 Richard Bunt <richard.bunt@arm.com>
9660
9661 * gdb.threads/multiple-successive-infcall.c: New test.
9662 * gdb.threads/multiple-successive-infcall.exp: New file.
9663
a037790e
TT
96642018-04-17 Tom Tromey <tom@tromey.com>
9665
9666 * gdb.rust/simple.rs (Union): New type.
9667 (main): New local "u".
9668 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9669
e3a91079
AA
96702018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9671
9672 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9673 number information in output of "whereis" command.
9674 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9675
b744723f
AA
96762018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9677
9678 * gdb.ada/info_types.exp: Adjust expected output to the line
9679 numbers now printed by "info var/func/type".
9680 * gdb.base/completion.exp: Likewise.
9681 * gdb.base/included.exp: Likewise.
9682 * gdb.cp/cp-relocate.exp: Likewise.
9683 * gdb.cp/cplusfuncs.exp: Likewise.
9684 * gdb.cp/namespace.exp: Likewise.
9685 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9686
4a4495d6
MM
96872018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9688
9689 * gdb.btrace/cpu.exp: New.
9690
1d509aa6
MM
96912018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9692
9693 * gdb.base/step-indirect-call-thunk.exp: New.
9694 * gdb.base/step-indirect-call-thunk.c: New.
9695 * gdb.reverse/step-indirect-call-thunk.exp: New.
9696 * gdb.reverse/step-indirect-call-thunk.c: New.
9697
6295b6da
SM
96982018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9699
9700 * gdb.base/pie-fork.c: New file.
9701 * gdb.base/pie-fork.exp: New file.
9702
50146e70
TT
97032018-04-11 Tom Tromey <tom@tromey.com>
9704
9705 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9706
f50d8a2e
PA
97072018-04-10 Pedro Alves <palves@redhat.com>
9708
9709 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9710 exits. Instead loop running forever.
9711 (fork_parent): Run forever too.
9712
a0be7a36
SM
97132018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9714
9715 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9716 mi_continue_to_line.
9717 * gdb.mi/mi-stack.c (callee4): Add comment.
9718
9b73db36
SM
97192018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9720
9721 * gdb.mi/mi-stack.exp: Fix indentation.
9722
c912f608
SM
97232018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9724
9725 PR gdb/22979
9726 * gdb.arch/amd64-osabi.exp: New file.
9727
26540402
SM
97282018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9729
9730 PR gdb/22980
9731 * gdb.base/osabi.exp: New file.
9732
121ad66c 97332018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9734
9735 * gdb.cp/static-typedef-print.exp: New file.
9736 * gdb.cp/static-typedef-print.cc: New file.
9737
3fcded8f
JB
97382018-03-27 Joel Brobecker <brobecker@adacore.com>
9739
9740 * gdb.ada/varsize_limit: New testcase.
9741
59cc4834
JB
97422018-03-27 Joel Brobecker <brobecker@adacore.com>
9743
9744 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9745
9746 * gdb.ada/notcplusplus: New testcase.
9747
9748 * gdb.base/c-linkage-name.c: New file.
9749 * gdb.base/c-linkage-name.exp: New testcase.
9750
4ca59a9f
TT
97512018-03-26 Tom Tromey <tom@tromey.com>
9752
9753 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9754 * gdb.python/py-framefilter.py (name_error): New global.
9755 (ErrorInName.function): Use name_error.
9756
978d6c75
TT
97572018-03-26 Tom Tromey <tom@tromey.com>
9758
9759 PR backtrace/15582:
9760 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9761
b7fee5a3
KS
97622018-03-23 Keith Seitz <keiths@redhat.com>
9763
9764 PR c++/22968
9765 * gdb.cp/subtypes.exp: New file.
9766 * gdb.cp/subtypes.h: New file.
9767 * gdb.cp/subtypes.cc: New file.
9768 * gdb.cp/subtypes-2.cc: New file.
9769
376be529
AB
97702018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9771
9772 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9773 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9774 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9775 -nostartfiles when compiling the test. Confirm that all registers
9776 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9777
066cfa98
AB
97782018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9779
9780 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9781 option, syntax was wrong anyway.
9782 * gdb.arch/arm-disp-step.exp: Likewise.
9783 * gdb.arch/sparc64-regs.exp: Likewise.
9784 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9785 option, syntax was wrong anyway, switch to use
9786 prepare_for_testing.
9787 * gdb.arch/i386-disp-step.exp: Likewise.
9788
079670b9
AA
97892018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9790
9791 * gdb.ada/exec_changed.exp: Replace "target_info exists
9792 use_gdb_stub" by "use_gdb_stub".
9793 * gdb.ada/start.exp: Likewise.
9794 * gdb.base/async-shell.exp: Likewise.
9795 * gdb.base/attach-pie-misread.exp: Likewise.
9796 * gdb.base/attach-wait-input.exp: Likewise.
9797 * gdb.base/break-entry.exp: Likewise.
9798 * gdb.base/break-interp.exp: Likewise.
9799 * gdb.base/dprintf-detach.exp: Likewise.
9800 * gdb.base/nostdlib.exp: Likewise.
9801 * gdb.base/solib-nodir.exp: Likewise.
9802 * gdb.base/statistics.exp: Likewise.
9803 * gdb.base/testenv.exp: Likewise.
9804 * gdb.mi/mi-exec-run.exp: Likewise.
9805 * gdb.mi/mi-start.exp: Likewise.
9806 * gdb.multi/dummy-frame-restore.exp: Likewise.
9807 * gdb.multi/multi-arch-exec.exp: Likewise.
9808 * gdb.multi/multi-arch.exp: Likewise.
9809 * gdb.multi/tids.exp: Likewise.
9810 * gdb.multi/watchpoint-multi.exp: Likewise.
9811 * gdb.python/py-events.exp: Likewise.
9812 * gdb.threads/attach-into-signal.exp: Likewise.
9813 * gdb.threads/attach-stopped.exp: Likewise.
9814 * gdb.threads/threadapply.exp: Likewise.
9815 * lib/selftest-support.exp: Likewise.
9816
26d6cec4
AA
98172018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9818
9819 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9820
4ee89e90
SR
98212018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9822
9823 * gdb.perf/template-breakpoints.cc: New file.
9824 * gdb.perf/template-breakpoints.exp: New file.
9825 * gdb.perf/template-breakpoints.py: New file.
9826
92630041
TT
98272018-03-19 Tom Tromey <tom@tromey.com>
9828
9829 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9830 y0.
9831 * gdb.rust/simple.exp: Test bare identifier form of struct
9832 initializer.
9833
76727919
TT
98342018-03-19 Tom Tromey <tom@tromey.com>
9835
9836 * gdb.gdb/observer.exp: Remove.
9837
194ed413
AA
98382018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9839
9840 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9841 "qualified" option when setting breakpoints.
9842 * gdb.trace/backtrace.exp: Likewise.
9843 * gdb.trace/circ.exp: Likewise.
9844 * gdb.trace/collection.exp: Likewise.
9845 * gdb.trace/disconnected-tracing.exp: Likewise.
9846 * gdb.trace/ftrace-lock.exp: Likewise.
9847 * gdb.trace/ftrace.exp: Likewise.
9848 * gdb.trace/infotrace.exp: Likewise.
9849 * gdb.trace/packetlen.exp: Likewise.
9850 * gdb.trace/passc-dyn.exp: Likewise.
9851 * gdb.trace/qtro.exp: Likewise.
9852 * gdb.trace/read-memory.exp: Likewise.
9853 * gdb.trace/report.exp: Likewise.
9854 * gdb.trace/signal.exp: Likewise.
9855 * gdb.trace/status-stop.exp: Likewise.
9856 * gdb.trace/strace.exp: Likewise.
9857 * gdb.trace/tfind.exp: Likewise.
9858 * gdb.trace/trace-break.exp: Likewise.
9859 * gdb.trace/trace-condition.exp: Likewise.
9860 * gdb.trace/trace-mt.exp: Likewise.
9861 * gdb.trace/tstatus.exp: Likewise.
9862 * gdb.trace/tsv.exp: Likewise.
9863 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9864 * gdb.trace/unavailable.exp: Likewise.
9865 * gdb.trace/while-dyn.exp: Likewise.
9866
8b067d2c
AA
98672018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9868
9869 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9870 that libinproctrace is copied to the target.
9871
3ae9ce5d
TT
98722018-03-14 Tom Tromey <tom@tromey.com>
9873
9874 PR cli/14977:
9875 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9876 a null pointer.
9877 * gdb.base/wchar.exp: Likewise.
9878
b8c2339b
TT
98792018-03-14 Tom Tromey <tom@tromey.com>
9880
9881 PR cli/19918:
9882 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9883 flag.
9884
4872dc46
SM
98852018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9886
9887 PR gdb/22841
9888 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9889 "target" to remote_exec.
9890
e4fe3756
SM
98912018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9892
9893 PR gdb/22841
9894 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9895 ${board}_upload): Remove.
9896
e95a97d4
AA
98972018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9898
9899 * gdb.cp/watch-cp.cc: New test.
9900 * gdb.cp/watch-cp.exp: New file.
9901
dbbb1059
AB
99022018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9903
9904 * gdb.base/infcall-nested-structs.exp: New file.
9905 * gdb.base/infcall-nested-structs.c: New file.
9906 * gdb.base/float.exp: Add riscv support.
9907
ecc054c0
TP
99082018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9909
9910 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9911 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9912
25e3c82c
SDJ
99132018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9914
9915 * gdb.server/abspath.exp: New file.
9916 * lib/gdb.exp (with_cwd): New procedure.
9917
3083294d
SM
99182018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9919
9920 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9921 use it.
9922 (gdb_is_target_remote_prompt): New proc.
9923 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9924 (gdb_is_target_native): Pass prompt parameter to
9925 gdb_is_target_1.
9926
3275ef47
SM
99272018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9928
9929 * gdb.base/load-command.c: New file.
9930 * gdb.base/load-command.exp: New file.
9931 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9932 (gdb_is_target_1): ...this, and generalize for other targets
9933 than just remote.
9934 (gdb_is_target_remote): Use gdb_is_target_1.
9935 (gdb_is_target_native): use gdb_is_target_1.
9936
6893c19a
TT
99372018-02-26 Tom Tromey <tom@tromey.com>
9938
9939 PR python/16497:
9940 * gdb.python/py-framefilter.exp: Update test.
9941
2ddeaf8a
TT
99422018-02-26 Tom Tromey <tom@tromey.com>
9943
9944 * gdb.dwarf2/variant.c: New file.
9945 * gdb.dwarf2/variant.exp: New file.
9946
c9317f21
TT
99472018-02-26 Tom Tromey <tom@tromey.com>
9948
9949 * gdb.rust/simple.exp: Accept more possible results in enum test.
9950
6f6d0c26
SM
99512018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9952
9953 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9954 parentheses.
9955
11b03145
MR
99562018-02-23 Maciej W. Rozycki <macro@mips.com>
9957
9958 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9959 name of a variable: $actual_linejj -> $actual_line.
9960
54a27fe5
JB
99612018-02-21 John Baldwin <jhb@FreeBSD.org>
9962
9963 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9964
de65820c
MM
99652018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9966
9967 * gdb.btrace/buffer-size.exp: Do not force BTS.
9968
980548fd
PA
99692018-02-14 Pedro Alves <palves@redhat.com>
9970
9971 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9972 getting a "Quit".
9973
c4e12631
MM
99742018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9975
9976 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9977 Fix test name.
9978
c2e0e465
SM
99792018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9980
9981 * gdb.cp/m-static.exp: Check type of optimized out static
9982 member.
9983
f7216783
AB
99842018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9985
9986 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9987 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9988
0625771b
LS
99892018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9990 Leszek Swirski <leszeks@google.com>
9991
9992 * gdb.python/py-prettyprint.c
9993 (struct to_string_returns_value_inner,
9994 struct to_string_returns_value_wrapper): New.
9995 (main): Add tsrvw variable.
9996 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9997 ToStringReturnsValueWrapper): New classes.
9998 (register_pretty_printers): Register new pretty-printers.
9999 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10000 recursive pretty printer.
10001 * gdb.python/py-mi.exp: Likewise.
10002
59498c30
LS
100032018-02-01 Leszek Swirski <leszeks@google.com>
10004
10005 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10006 functions with the same name as an include file are parsed
10007 correctly.
10008
d4d38844
YQ
100092018-02-01 Yao Qi <yao.qi@linaro.org>
10010
10011 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10012 "\[^\r\n\]*".
10013
07e5f5cf
NP
100142018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10015
10016 * gdb.arch/powerpc-prologue-frame.s: New file.
10017 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10018 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10019
929b5ad4
JB
100202018-01-31 Joel Brobecker <brobecker@adacore.com>
10021
10022 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10023
e671cd59
PA
100242018-01-30 Pedro Alves <palves@redhat.com>
10025
10026 PR gdb/13211
10027 * gdb.base/interrupt-daemon.c: New.
10028 * gdb.base/interrupt-daemon.exp: New.
10029 * gdb.multi/multi-term-settings.c: New.
10030 * gdb.multi/multi-term-settings.exp: New.
10031
fc413dc4
JB
100322018-01-30 Joel Brobecker <brobecker@adacore.com>
10033
10034 * gdb.base/break.exp: Save the location where the breakpoint
10035 on break.c:47 was actually inserted when debugging the version
10036 compiled at -O2 and use it in the expected output of the "info
10037 break" test performed soon after.
10038
5c319bb2
PA
100392018-01-22 Pedro Alves <palves@redhat.com>
10040 Sergio Durigan Junior <sergiodj@redhat.com>
10041
10042 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10043 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10044
a9e40818
JB
100452018-01-22 Joel Brobecker <brobecker@adacore.com>
10046
10047 * gdb.base/break-include.c, gdb.base/break-include.inc,
10048 gdb.base/break-include.exp: New files.
10049 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10050 line number now being the actual line number where the breakpoint
10051 was inserted.
10052 * gdb.mi/mi-break.exp: Likewise.
10053 * gdb.mi/mi-reverse.exp: Likewise.
10054 * gdb.mi/mi-simplerun.exp: Ditto.
10055
e707fc44
AB
100562018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10057
10058 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10059 varobj.
10060 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10061
ae451627
AB
100622018-01-21 Don Breazeal <donb@codesourcery.com>
10063 Andrew Burgess <andrew.burgess@embecosm.com>
10064
10065 * gdb.mi/basics.c: Add new global.
10066 * gdb.mi/mi-frame-regs.exp: New file.
10067 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10068 case.
10069
b1b189e0
AB
100702018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10071
10072 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10073 non-parameter, and on an unknown symbol.
10074
fcfcc376
TT
100752018-01-19 Tom Tromey <tom@tromey.com>
10076
10077 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10078 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10079
634c1c31
AA
100802018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10081
10082 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10083 setrlimit and chdir to int.
10084
d6ad07fd
AA
100852018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10086
10087 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10088 function.
10089 (my_tend): Likewise.
10090 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10091 rationale of avoiding FP- and vector instructions.
10092
adf8243b
RK
100932018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10094
10095 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10096 "info reg" with "\[ \t\]*".
10097 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10098 "\[ \t\]+".
10099 * gdb.arch/s390-multiarch.exp: Ditto.
10100 * gdb.base/pc-fp.exp: Ditto.
10101 * gdb.reverse/i386-precsave.exp: Ditto.
10102 * gdb.reverse/i386-reverse.exp: Ditto.
10103 * gdb.reverse/i387-env-reverse.exp: Ditto.
10104 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10105
dcc06925
AA
101062018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10107
10108 * lib/gdb.exp (gdb_compile): Re-enable use of
10109 universal_compile_options for languages other than Rust.
10110
25d4fd80
AA
101112018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10112
10113 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10114
ee7f689e 101152018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10116
10117 PR gdb/16577
10118 * gdb.base/solib-vanish.exp: New.
10119 * gdb.base/solib-vanish-main.c: New.
10120 * gdb.base/solib-vanish-lib1.c: New.
10121 * gdb.base/solib-vanish-lib2.c: New.
10122
d8447b6b
YQ
101232018-01-17 Yao Qi <yao.qi@linaro.org>
10124
10125 * gdb.compile/compile.exp: Match the address printed for
10126 frame in the output of command "bt".
10127
86d6a90c
TT
101282018-01-15 Tom Tromey <tom@tromey.com>
10129
10130 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10131 compute sp_reg.
10132
cbcdb1aa
AB
101332018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10134
10135 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10136 to prepare.
10137 (prepare): Return 0 on error, 1 on success.
10138
eea61984
PA
101392018-01-12 Pedro Alves <palves@redhat.com>
10140
10141 * gdb.base/continue-after-aborted-step-over.c: New.
10142 * gdb.base/continue-after-aborted-step-over.exp: New.
10143
6181e9c2
SM
101442018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10145
10146 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10147 options when not creating an executable.
10148
3cada740
PA
101492018-01-11 Pedro Alves <palves@redhat.com>
10150
10151 PR remote/22597
10152 * gdb.server/stop-reply-no-thread.c: New file.
10153 * gdb.server/stop-reply-no-thread.exp: New file.
10154
c63d3e8d
PA
101552018-01-10 Pedro Alves <palves@redhat.com>
10156
10157 PR gdb/22670
10158 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10159 functions too. Test setting breakpoints and printing C functions
10160 with no debug info too.
10161 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10162
d4c2a405
PA
101632018-01-10 Pedro Alves <palves@redhat.com>
10164
10165 PR gdb/22670
10166 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10167 a fail.
10168
8825213e
PA
101692018-01-10 Pedro Alves <palves@redhat.com>
10170
10171 PR gdb/22670
10172 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10173
605fd3c6
YQ
101742018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10175
10176 * gdb.server/unittest.exp: Match the output in non-development
10177 mode.
10178
1e5ded6c
YQ
101792018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10180
10181 * gdb.gdb/unittest.exp: Match output in non-development mode.
10182
30066b0b
JB
101832018-01-08 Joel Brobecker <brobecker@adacore.com>
10184
10185 * gdb.ada/access_tagged_param.exp: Relax expected output
10186 for value of "ObjL" in "continue" to pck.inspect breakpoint
10187 test.
10188
04bafb1e
XR
101892018-01-08 Joel Brobecker <brobecker@adacore.com>
10190
9f86398b
JB
10191 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10192 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10193
e379cee6
PA
101942018-01-05 Pedro Alves <palves@redhat.com>
10195
10196 PR gdb/18653
10197 * gdb.base/libsegfault.exp: New.
10198
de63c46b
PA
101992018-01-05 Joel Brobecker <brobecker@adacore.com>
10200
10201 PR gdb/22670
10202 * gdb.ada/access_tagged_param.exp: New file.
10203 * gdb.ada/access_tagged_param/foo.adb: New file.
10204
f98fc17b
PA
102052018-01-05 Pedro Alves <palves@redhat.com>
10206
10207 PR gdb/22670
10208 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10209 exercise lower case too, and to exercise both full matching and
10210 wild matching.
10211
342f8240
JB
102122018-01-05 Joel Brobecker <brobecker@adacore.com>
10213
10214 * gdb.ada/rename_subscript_param: New testcase.
10215
7150d33c
JG
102162018-01-05 Jerome Guitton <guitton@adacore.com>
10217
10218 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10219
cc0e770c
JB
102202018-01-05 Joel Brobecker <brobecker@adacore.com>
10221
10222 * gdb.ada/convvar_comp: New testcase.
10223
672a41aa 102242018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10225
10226 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10227 (My_Table): New global variable.
10228 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10229
7365ec2f
JB
102302018-01-04 Joel Brobecker <brobecker@adacore.com>
10231
10232 PR gdb/22670
10233 * gdb.ada/maint_with_ada: New testcase.
10234
289483b6
JB
102352018-01-04 Joel Brobecker <brobecker@adacore.com>
10236
10237 PR gdb/22670
10238 * gdb.ada/bp_c_mixed_case: New testcase.
10239
344420da
JB
102402018-01-04 Joel Brobecker <brobecker@adacore.com>
10241
10242 PR gdb/22670
10243 * gdb.ada/complete.exp: Add "complete break ada" test.
10244
66fc87a0
JB
102452018-01-04 Joel Brobecker <brobecker@adacore.com>
10246
10247 PR gdb/22670
10248 * gdb.ada/info_addr_mixed_case: New testcase.
10249
9f757bf7
XR
102502018-01-03 Xavier Roirand <roirand@adacore.com>
10251
10252 * gdb.ada/excep_handle.exp: New testcase.
10253 * gdb.ada/excep_handle/foo.adb: New file.
10254 * gdb.ada/excep_handle/pck.ads: New file.
10255
bd570f80
JB
102562018-01-03 Joel Brobecker <brobecker@adacore.com>
10257
10258 * gdb.base/step-line.c: Add extra empty line in copyright header.
10259 * gdb.base/step-line.inp: Likewise.
10260
9fe561ab
JB
102612018-01-02 Joel Brobecker <brobecker@adacore.com>
10262
10263 * gdb.ada/dyn_stride.exp: Add slice test.
10264
a405673c
JB
102652018-01-02 Joel Brobecker <brobecker@adacore.com>
10266
10267 * gdb.ada/dyn_stride: New testcase.
10268
cef0f868
SH
102692017-12-27 Stafford Horne <shorne@gmail.com>
10270
10271 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10272 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10273
b67d92b0
SH
102742017-12-27 Stafford Horne <shorne@gmail.com>
10275
10276 * gdb.base/reggroups.c: New file.
10277 * gdb.base/reggroups.exp: New file.
10278
eccab96d
JB
102792017-12-18 Joel Brobecker <brobecker@adacore.com>
10280
10281 * gdb.dwarf2/ada-valprint-error.c: New file.
10282 * gdb.dwarf2/ada-valprint-error.exp: New file.
10283
0e2da9f0
JB
102842017-12-18 Joel Brobecker <brobecker@adacore.com>
10285
10286 * gdb.ada/assign_arr: New testcase.
10287
cb923fcc
XR
102882017-12-18 Xavier Roirand <roirand@adacore.com>
10289
10290 * gdb.ada/funcall_ptr: New testcase.
10291
7c161838
SDJ
102922017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10293
10294 PR cli/16224
10295 * gdb.base/ptype-offsets.cc: New file.
10296 * gdb.base/ptype-offsets.exp: New file.
10297
1af17fd9
YQ
102982017-12-15 Yao Qi <yao.qi@linaro.org>
10299
10300 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10301 if XML is disabled.
10302
828d5846
XR
103032017-12-15 Xavier Roirand <roirand@adacore.com>
10304
10305 * gdb.ada/same_component_name: New testcase.
10306
79e8fcaa
JB
103072017-12-14 Joel Brobecker <brobecker@adacore.com>
10308
10309 * gdb.ada/str_binop_equal: New testcase.
10310
e05fa6f9
JB
103112017-12-14 Joel Brobecker <brobecker@adacore.com>
10312
10313 * gdb.ada/task_switch_in_core: New testcase.
10314
b89641ba
SM
103152017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10316
10317 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10318 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10319 call test_bkpt_qualified.
10320 (test_bkpt_qualified): New proc.
10321
6892d2e4
PA
103222017-12-13 Pedro Alves <palves@redhat.com>
10323
10324 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10325 Tighten regexp by matching with an anchor.
10326
a22ecf70
PA
103272017-12-13 Pedro Alves <palves@redhat.com>
10328
10329 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10330 ("expression with namespace"): New set of tests.
10331 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10332 (Nested::Test_NS::qux): New.
10333 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10334 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10335
9937536c
JB
103362017-12-13 Joel Brobecker <brobecker@adacore.com>
10337
10338 * gdb.base/server-del-break.c: New file.
10339 * gdb.base/server-del-break.exp: New file.
10340
fe49c6f5
SH
103412017-12-12 Stafford Horne <shorne@gmail.com>
10342
10343 * gdb.xml/tdesc-regs.exp: Add or1k support.
10344
c3d18620
SH
103452017-12-12 Stafford Horne <shorne@gmail.com>
10346
10347 * gdb.base/bp-permanent.c: Define nop of or1k.
10348
c5f9cfc8
JB
103492017-12-11 Joel Brobecker <brobecker@adacore.com>
10350
10351 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10352 output with components being reordered.
10353
a9c135fc
JB
103542017-12-11 Joel Brobecker <brobecker@adacore.com>
10355
10356 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10357 output with components being reordered.
10358
927aa2e7
JK
103592017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10360 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.base/maint.exp (check for .gdb_index): Check also for
10363 .debug_names.
10364 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10365 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10366 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10367 (.gdb_index used after symbol reloading): Support also .debug_names.
10368 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10369
f17d9474
YQ
103702017-12-08 Yao Qi <yao.qi@linaro.org>
10371
10372 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10373 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10374
a0de8c21
YQ
103752017-12-08 Yao Qi <yao.qi@linaro.org>
10376
10377 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10378 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10379
a738ea1d
YQ
103802017-12-08 Yao Qi <yao.qi@linaro.org>
10381
10382 * gdb.arch/aarch64-tagged-pointer.c: New file.
10383 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10384
1cd9a73b
SDJ
103852017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10386
10387 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10388 "int".
10389
fa6eb693
KS
103902017-12-07 Keith Seitz <keiths@redhat.com>
10391
10392 PR breakpoints/22569
10393 * gdb.linespec/ls-errs.exp: Change expected result of "break
10394 -source this file has spaces.c -line 3".
10395 Check that an explicit source file followed by whitespace is
10396 identified as an invalid explicit location.
10397
883fd55a
KS
103982017-12-07 Keith Seitz <keiths@redhat.com>
10399
10400 * gdb.cp/nested-types.cc: New file.
10401 * gdb.cp/nested-types.exp: New file.
10402 * lib/cp-support.exp: Load data-structures.exp library.
10403 (debug_cp_test_ptype_class): New global.
10404 (cp_ptype_class_verbose, next_line): New procedures.
10405 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10406 Add and document new return value.
10407 Switch the list of lines to a queue.
10408 Add support for new `type' key for nested type definitions.
10409 Add debugging/troubleshooting messages.
10410 * lib/data-structures.exp: New file.
10411
ec72db3e
SM
104122017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10413
10414 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10415 with proc_with_prefix, don't use with_test_prefix.
10416
99598d71
TT
104172017-12-07 Tom Tromey <tom@tromey.com>
10418
10419 * gdb.base/break.exp: Add test for empty "commands".
10420
a8806230
YQ
104212017-12-07 Yao Qi <yao.qi@linaro.org>
10422
10423 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10424 malloc and catch syscall.
10425
824cc835
PM
104262017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10427
e79be6e5 10428 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10429 tests for explicit locations.
10430
7cc244de
PA
104312017-12-06 Pedro Alves <palves@redhat.com>
10432
10433 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10434 force-disabling XML descriptions.
10435
50a1fdd5
PA
104362017-12-04 Pedro Alves <palves@redhat.com>
10437
10438 PR gdb/22499
10439 * gdb.arch/amd64-disp-step-avx.S: New file.
10440 * gdb.arch/amd64-disp-step-avx.exp: New file.
10441
f0fb2488
PA
104422017-12-03 Pedro Alves <palves@redhat.com>
10443
10444 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10445 and <string.h>.
10446 (parent_function): Print distinct messages when waitpid fails, or
10447 the child exits with a signal, or the child exits for an unhandled
10448 reason.
10449 * gdb.threads/process-dies-while-detaching.exp
10450 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10451 it. Wait for both inferior output and GDB's prompt. Use an
10452 indirect spawn id list.
10453 (do_detach): New parameter 'child_exit'. Use it to compute
10454 expected inferior output.
10455 (test_detach, test_detach_watch, test_detach_killed_outside):
10456 Adjust to pass down the expected child exit kind.
10457
97cbe998
SDJ
104582017-12-01 Joel Brobecker <brobecker@adacore.com>
10459 Sergio Durigan Junior <sergiodj@redhat.com>
10460 Pedro Alves <palves@redhat.com>
10461
10462 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10463
40fc416f
SDJ
104642017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10465
10466 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10467 to 'symbol-file' and 'add-symbol-file' can be
10468 position-independent.
10469
1cc75e92
YQ
104702017-12-01 Yao Qi <yao.qi@linaro.org>
10471
10472 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10473 the URL in copyright header.
10474 * gdb.arch/aarch64-fp.exp: Likewise.
10475 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10476 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10477 * gdb.base/expand-psymtabs.exp: Likewise.
10478 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10479 * gdb.fortran/common-block.exp: Likewise.
10480 * gdb.fortran/common-block.f90: Likewise.
10481 * gdb.fortran/logical.exp: Likewise.
10482 * gdb.fortran/vla-datatypes.f90: Likewise.
10483 * gdb.fortran/vla-sub.f90: Likewise.
10484
875fb7a7
JB
104852017-11-30 Joel Brobecker <brobecker@adacore.com>
10486
10487 * gdb.ada/repeat_dyn: New testcase.
10488
6f14765f
UW
104892017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10490
10491 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10492 Update for changed thread numbering.
10493 * gdb.cell/bt.exp: Update for changed GDB output.
10494
f1af7b94
SM
104952017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10496
10497 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10498 setting isremote by hand.
10499 * boards/dwarf4-gdb-index.exp: Likewise.
10500 * boards/fission.exp: Likewise.
10501 * boards/stabs.exp: Likewise.
10502
e3919f3e
PA
105032017-11-30 Pedro Alves <palves@redhat.com>
10504
10505 * gdb.linespec/cpls-ops.exp
10506 (check_explicit_skips_function_argument): Extract the underlying
10507 type of size_t instead of hardcoding it.
10508
bd69330d
PA
105092017-11-29 Pedro Alves <palves@redhat.com>
10510
10511 PR c++/19436
10512 * gdb.linespec/cpls-abi-tag.cc: New file.
10513 * gdb.linespec/cpls-abi-tag.exp: New file.
10514
a20714ff
PA
105152017-11-29 Pedro Alves <palves@redhat.com>
10516
10517 * gdb.base/langs.exp: Use -qualified.
10518 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10519 it.
10520 * gdb.cp/namespace.exp: Use -qualified.
10521 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10522 (overload-3, template-overload, template-ret-type, const-overload)
10523 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10524 procedures.
10525 (test_driver): Call them.
10526 * gdb.cp/save-bp-qualified.cc: New.
10527 * gdb.cp/save-bp-qualified.exp: New.
10528 * gdb.linespec/explicit.exp: Test -qualified.
10529 * lib/completion-support.exp (completion::explicit_opts_list): Add
10530 "-qualified".
10531 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10532
f6f1d339
PM
105332017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10534
10535 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10536
02ca603a
TT
105372017-11-29 Tom Tromey <tom@tromey.com>
10538
10539 * gdb.base/relocate.exp: Update invalid argument test.
10540 Add new tests for invalid arguments.
10541
ed6c0bfb
TP
105422017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10543
10544 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10545 Return 0 as a long.
10546 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10547
f106e10e
TP
105482017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10549
10550 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10551 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10552 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10553 func ().
10554 * gdb.cp/shadow.cc (B.func): Return 0.
10555
10329bb2
JB
105562017-11-27 Joel Brobecker <brobecker@adacore.com>
10557
10558 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10559 expected output in gdb_expect call to allow the exception
10560 message to be present as well. Fix syntax confusion to avoid
10561 TCL thinking that exception_name is an array.
10562
617cd4bc
UW
105632017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10564
10565 * gdb.arch/spu-info.c: Include <unistd.h>.
10566 (do_signal_test): Fix broken calls to write.
10567 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10568 Fix checks for empty mailboxes. Update signal tests for corrected
10569 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10570 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10571 * gdb.cell/arch.exp: Use standard_output_file.
10572 * gdb.cell/break.exp: Likewise.
10573 * gdb.cell/bt.exp: Likewise.
10574 * gdb.cell/core.exp: Likewise.
10575 * gdb.cell/dwarfaddr.exp: Likewise.
10576 * gdb.cell/ea-cache.exp: Likewise.
10577 * gdb.cell/ea-standalone.exp: Likewise.
10578 * gdb.cell/f-regs.exp: Likewise.
10579 * gdb.cell/fork.exp: Likewise.
10580 * gdb.cell/gcore.exp: Likewise.
10581 * gdb.cell/mem-access.exp: Likewise.
10582 * gdb.cell/ptype.exp: Likewise.
10583 * gdb.cell/registers.exp: Likewise.
10584 * gdb.cell/sizeof.exp: Likewise.
10585 * gdb.cell/solib-symbol.exp: Likewise.
10586 * gdb.cell/solib.exp: Likewise.
617cd4bc 10587
a81aaca0
PA
105882017-11-25 Pedro Alves <palves@redhat.com>
10589
10590 * gdb.base/complete-empty.exp: New file.
10591 * gdb.base/completion.exp: Adjust.
10592
6a3c6ee4
PA
105932017-11-25 Pedro Alves <palves@redhat.com>
10594
10595 * gdb.linespec/cpls-ops.cc: New file.
10596 * gdb.linespec/cpls-ops.exp: New file.
10597 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10598 factored out from ...
10599 (test_complete_prefix_range): ... this.
10600
8955eb2d
PA
106012017-11-24 Pedro Alves <palves@redhat.com>
10602
10603 * gdb.linespec/cpcompletion.exp: New file.
10604 * gdb.linespec/cpls-hyphen.cc: New file.
10605 * gdb.linespec/cpls.cc: New file.
10606 * gdb.linespec/cpls2.cc: New file.
10607 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10608 test to use test_gdb_complete_unique. Add label completion,
10609 keyword completion and explicit location completion tests.
10610 * lib/completion-support.exp: New file.
10611
e547c119
JB
106122017-11-24 Joel Brobecker <brobecker@adacore.com>
10613
10614 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10615 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10616 when hitting an exception catchpoint.
10617
7c3c1aa8
YQ
106182017-11-22 Yao Qi <yao.qi@linaro.org>
10619
10620 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10621
41bd68f5
SM
106222017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10623
10624 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10625 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10626 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10627
1daad298
YQ
106282017-11-22 Yao Qi <yao.qi@linaro.org>
10629
10630 * gdb.base/info-os.exp: Pass pthreads.
10631 * gdb.multi/multi-attach.exp: Likewise.
10632
88465e87
YQ
106332017-11-22 Yao Qi <yao.qi@linaro.org>
10634
10635 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10636 compiler.
10637
dc196b23
YQ
106382017-11-22 Yao Qi <yao.qi@linaro.org>
10639
10640 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10641 * gdb.base/break-interp.exp: Likewise.
10642 * gdb.base/jit-attach-pie.exp: Likewise.
10643
2400729e
UW
106442017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10645
10646 * gdb.base/float128.c (large128): New variable.
10647 * gdb.base/float128.exp: Add test to print largest __float128 value.
10648
7a26362d
UW
106492017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10650
10651 * gdb.arch/vsx-regs.exp: Update register content checks.
10652
ed0f4273
UW
106532017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10654
10655 * gdb.arch/ppc-longdouble.exp: New file.
10656 * gdb.arch/ppc-longdouble.c: Likewise.
10657
a25d69c6
PA
106582017-11-21 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10661
73fcf641
PA
106622017-11-20 Pedro Alves <palves@redhat.com>
10663
10664 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10665 (long_double_typedef): New typedefs.
10666 Use DEF on double and long double.
10667 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10668 cases.
10669 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10670 and 'long_double_ptr_same_size' locals. Use them to decide
10671 whether cast from array/function to float is valid/invalid.
10672
71a3c369
TT
106732017-11-17 Tom Tromey <tom@tromey.com>
10674
10675 * gdb.rust/traits.rs: New file.
10676 * gdb.rust/traits.exp: New file.
10677
ced9779b
JB
106782017-11-17 Joel Brobecker <brobecker@adacore.com>
10679
10680 * gdb.ada/minsyms: New testcase.
10681
a0922d80
PA
106822017-11-16 Pedro Alves <palves@redhat.com>
10683
10684 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10685 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10686
ea04e54c
PA
106872017-11-16 Pedro Alves <palves@redhat.com>
10688
10689 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10690 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10691
e849ea89
PA
106922017-11-16 Pedro Alves <palves@redhat.com>
10693
10694 * gdb.server/reconnect-ctrl-c.c: New file.
10695 * gdb.server/reconnect-ctrl-c.exp: New file.
10696
d8ae99a7
PM
106972017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10698
10699 * gdb.python/py-rbreak.exp: New file.
10700 * gdb.python/py-rbreak.c: New file.
10701 * gdb.python/py-rbreak-func2.c: New file.
10702
968a13f8
PA
107032017-11-16 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10706 pattern.
10707 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10708 GDB.
10709
71774bc9
SM
107102017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10711
10712 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10713 regex.
10714
ddbb44cf
SM
107152017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10716
10717 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10718 test names.
10719
584a564f
PA
107202017-11-09 Pedro Alves <palves@redhat.com>
10721
10722 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10723 factored out from ...
10724 (top level): ... here, and adjusted to avoid expecting beyond the
10725 prompt in a single gdb_test_multiple.
10726
5ed7a928
PA
107272017-11-09 Pedro Alves <palves@redhat.com>
10728
10729 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10730 output.
10731 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10732 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10733 * gdb.server/ext-run.exp ("kill" test): Likewise.
10734 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10735
a60e0738
PA
107362017-11-09 Pedro Alves <palves@redhat.com>
10737
10738 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10739 match till end of line.
10740
2c88253f
PA
107412017-11-09 Pedro Alves <palves@redhat.com>
10742
10743 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10744
c7a38517
PA
107452017-11-09 Pedro Alves <palves@redhat.com>
10746
10747 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10748 New procedures, factored out from ...
10749 (top level): ... here, and adjusted to avoid expecting beyond the
10750 prompt in one go.
10751
f29f4b6b
PA
107522017-11-09 Pedro Alves <palves@redhat.com>
10753
10754 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10755 output. Fix '?' match.
10756
286acbb5
JB
107572017-11-08 Joel Brobecker <brobecker@adacore.com>
10758
10759 * gdb.ada/scoped_watch: New testcase.
10760 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10761 which is actually correct.
10762 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10763 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10764
62d7ae92
PA
107652017-11-08 Pedro Alves <palves@redhat.com>
10766
10767 * gdb.gdb/complaints.exp (test_initial_complaints)
10768 (test_serial_complaints, test_short_complaints): Call
10769 complaint_internal instead of complaint.
10770
280ca31f
DT
107712017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10772
10773 * gdb.threads/tls-core.c: New file.
10774 * gdb.threads/tls-core.exp: Likewise.
10775
b5ec771e
PA
107762017-11-08 Pedro Alves <palves@redhat.com>
10777
10778 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10779 (p Exported_Capitalized): New test.
10780 (p exported_capitalized): New test.
10781
a02b41a7
PA
107822017-11-07 Pedro Alves <palves@redhat.com>
10783
10784 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10785
95e95a6d
PA
107862017-11-07 Pedro Alves <palves@redhat.com>
10787
10788 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10789 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10790 (disable_invalid, disable_inverted, disable_negative): New
10791 procedures.
10792 ("bad numbers"): New set of tests.
10793
cee62dbd
PA
107942017-11-07 Pedro Alves <palves@redhat.com>
10795
10796 * gdb.cp/ena-dis-br-range.exp: Add tests.
10797
cc638e86
PA
107982017-11-07 Pedro Alves <palves@redhat.com>
10799
10800 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10801
d0fe4701
XR
108022017-11-07 Xavier Roirand <roirand@adacore.com>
10803 Pedro Alves <palves@redhat.com>
10804
10805 * gdb.base/ena-dis-br.exp: Add reference to
10806 gdb.cp/ena-dis-br-range.exp.
10807 * gdb.cp/ena-dis-br-range.exp: New file.
10808 * gdb.cp/ena-dis-br-range.cc: New file.
10809
46f67f80
PA
108102017-11-06 Pedro Alves <palves@redhat.com>
10811
10812 * gdb.base/attach-non-pgrp-leader.c: New.
10813 * gdb.base/attach-non-pgrp-leader.exp: New.
10814
726e1356
PA
108152017-11-06 Pedro Alves <palves@redhat.com>
10816
10817 * configure.ac: No longer check for termio.h and sgtty.h.
10818 * configure: Regenerate.
10819 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10820 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10821 Remove termio and sgtty code.
10822
50ab6ace
YQ
108232017-11-03 Yao Qi <yao.qi@linaro.org>
10824
10825 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10826 in GDB is disabled.
10827
8e68731c
YQ
108282017-11-03 Yao Qi <yao.qi@linaro.org>
10829
10830 * gdb.python/py-thrhandle.exp: Skip it if python is not
10831 enabled.
10832
3a87ae65
SM
108332017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10834
10835 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10836 as a breakpoint command.
10837
484d8d36
MD
108382017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10839
10840 PR python/21213
10841 * gdb.python/py-infthread.exp: Test calling
10842 InferiorThread.inferior () multiple times in a row.
10843
4a27f119
KS
108442017-10-27 Keith Seitz <keiths@redhat.com>
10845
10846 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10847 Test "info break" for every inlined function breakpoint.
10848
bb11dd58
YQ
108492017-10-27 Yao Qi <yao.qi@linaro.org>
10850
10851 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10852
a43f3893
PF
108532017-10-26 Patrick Frants <osscontribute@gmail.com>
10854
10855 * gdb.cp/classes.exp (test_static_members): Test printing
10856 Outer::instance.
10857 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10858 (Inner::instance, Outer::instance): New.
10859
792ccf00
PA
108602017-10-24 Pedro Alves <palves@redhat.com>
10861
10862 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10863 extra console" test in two stages.
10864
eb2bfbad
PA
108652017-10-24 Pedro Alves <palves@redhat.com>
10866
10867 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10868
1f75a651
PA
108692017-10-24 Pedro Alves <palves@redhat.com>
10870
10871 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10872 loop.
10873
779990d9
PA
108742017-10-24 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10877 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10878
ad9b8f5d
PA
108792017-10-24 Pedro Alves <palves@redhat.com>
10880
10881 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10882 parameter and handle it. Don't output read value in test name.
10883
fee6da6e
PA
108842017-10-24 Pedro Alves <palves@redhat.com>
10885
10886 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10887 custom test name.
10888
10389c2c
PA
108892017-10-24 Pedro Alves <palves@redhat.com>
10890
10891 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10892 include the unstable output directory name in the test's name.
10893 (initial_setup_simple) <'set args'>: Use custom test name.
10894
a80e65a9
PA
108952017-10-24 Pedro Alves <palves@redhat.com>
10896
10897 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10898 with explicit test name.
10899
15763a09
PA
109002017-10-20 Pedro Alves <palves@redhat.com>
10901
10902 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10903 'wait -i'. Use gdb_assert and remote_close.
10904
49a4ce2e
AB
109052017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10906
10907 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10908 number from variable rather than hard-coded.
10909
a75868f5
PA
109102017-10-19 Pedro Alves <palves@redhat.com>
10911
10912 * gdb.base/long-inferior-output.c: New file.
10913 * gdb.base/long-inferior-output.exp: New file.
10914
c8ba13ad
KS
109152017-11-18 Keith Seitz <keiths@redhat.com>
10916
10917 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10918 method.
10919 (main): Call it.
10920 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10921 Add additional user-defined conversion operator tests.
10922
b27de576
PA
109232017-10-17 Pedro Alves <palves@redhat.com>
10924
10925 * boards/native-stdio-gdbserver.exp: Load "local-board".
10926
8484c955
PA
109272017-10-17 Pedro Alves <palves@redhat.com>
10928
10929 * gdb.base/quit-live.c: New file.
10930 * gdb.base/quit-live.exp: New file.
10931
83d5a34d
KS
109322017-10-16 Keith Seitz <keiths@redhat.com>
10933
10934 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10935 (class_with_protected_typedef, class_with_private_typedef)
10936 (struct_with_public_typedef, struct_with_protected_typedef)
10937 (struct_with_private_typedef): New classes/structs.
10938 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10939 typedefs and access specifiers.
10940
739b3f1d
PA
109412017-10-16 Pedro Alves <palves@redhat.com>
10942 Simon Marchi <simon.marchi@polymtl.ca>
10943
10944 * README (Local vs Remote vs Native): New section.
10945 * boards/local-board.exp: New file, with bits factored out from
10946 ...
10947 * boards/native-extended-gdbserver.exp: ... here. Load
10948 "local-board".
10949 * boards/native-gdbserver.exp: Load "local-board".
10950 (${board}_spawn, ${board}_exec): Delete.
10951 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10952 ...
10953 * boards/stdio-gdbserver-base.exp: ... this new file.
10954 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10955 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10956 procedure.
10957 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10958 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10959 stdio_gdbserver_command.
10960 (${board}_get_remote_address, ${board}_get_comm_port)
10961 (${board}_download, ${board}_upload): Delete.
10962 (get_target_remote_pipe_cmd): New.
10963
fe68b953
SM
109642017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10965
10966 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10967 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10968 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10969 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10970 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10971 remove with_test_prefix.
10972
300b6685
PA
109732017-10-13 Pedro Alves <palves@redhat.com>
10974
10975 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10976 * gdb.base/annota1.exp: Use it instead of is_remote.
10977 * gdb.base/annota3.exp: Use it instead of is_remote.
10978 * gdb.cp/annota2.exp: Use it instead of is_remote.
10979 * gdb.cp/annota3.exp: Use it instead of is_remote.
10980 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10981
50500caf
PA
109822017-10-13 Pedro Alves <palves@redhat.com>
10983
10984 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10985 (test_num_test_vars, run_and_count_vars, find_env)
10986 (test_set_unset_env, test_inherit_env_var): New procedures.
10987 (top level): Use them.
10988
dad0c6d2
PA
109892017-10-13 Pedro Alves <palves@redhat.com>
10990
10991 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10992 also skip on stub-like targets.
10993
8b0553c1
PA
109942017-10-13 Pedro Alves <palves@redhat.com>
10995
10996 PR gdb/22293
10997 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10998 (top level): Move some tests to ...
10999 (test_not_found): ... this new procedure.
11000 (top level): Call it.
11001
7594f623
PA
110022017-10-13 Pedro Alves <palves@redhat.com>
11003
11004 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11005 expect different "info terminal" output if testing with a
11006 non-native target.
11007
ebe3b402
PA
110082017-10-13 Pedro Alves <palves@redhat.com>
11009 Simon Marchi <simon.marchi@polymtl.ca>
11010
11011 PR python/12966
11012 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11013
42f1b161
PA
110142017-10-13 Pedro Alves <palves@redhat.com>
11015
11016 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11017 already.
11018
8d6ef72b
PA
110192017-10-13 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11022 is_remote.
11023
d7bcd5b8
PA
110242017-10-13 Pedro Alves <palves@redhat.com>
11025
11026 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11027 is_remote.
11028
df479dc6
PA
110292017-10-13 Pedro Alves <palves@redhat.com>
11030
11031 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11032 is set.
11033 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11034 instead of is_remote.
11035
23fb630a
PA
110362017-10-13 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11039 (top level): Add comment.
11040
cc77b1dc
PA
110412017-10-13 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.base/remote.exp (top level): Fix comment typo and add
11044 missing return.
11045
27c9e813
PA
110462017-10-13 Pedro Alves <palves@redhat.com>
11047 Simon Marchi <simon.marchi@polymtl.ca>
11048
11049 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11050 calls and add comments. Skip test if use_gdb_stub is set.
11051 (top level): Use "set cwd" command instead of "cd" command.
11052
5e830d98
PA
110532017-10-13 Pedro Alves <palves@redhat.com>
11054
11055 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11056 is_remote target check.
11057
f5ca0032
PA
110582017-10-13 Pedro Alves <palves@redhat.com>
11059
11060 * gdb.base/scope.exp: Use build_executable + clean_restart +
11061 gdb_file_cmd instead of prepare_for_testing and no longer skip
11062 "before run" tests on is_remote target boards. Update comments.
11063 * boards/native-extended-gdbserver.exp
11064 (extended_gdbserver_load_last_file): New, factored out from ...
11065 (gdb_load): ... this. Move further below and add comment.
11066 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11067
8aed1c0d
PA
110682017-10-12 Pedro Alves <palves@redhat.com>
11069
11070 * gdb.base/attach.exp: Remove references to gdb64.
11071 * gdb.base/dbx.exp: Remove references to gdb64.
11072
cfa34c87
SM
110732017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11074 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.base/label.exp: Remove is_remote target check.
11077
9192b7de
PA
110782017-10-12 Pedro Alves <palves@redhat.com>
11079
11080 * gdb.base/auvx.exp (coredir): Update comment.
11081 (top level) <core_works>: Use "set cwd" command instead of "cd"
11082 command.
11083
6bf0052d
PA
110842017-10-12 Pedro Alves <palves@redhat.com>
11085 Simon Marchi <simon.marchi@polymtl.ca>
11086
11087 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11088 target boards.
11089
e48ef82d
PA
110902017-10-12 Pedro Alves <palves@redhat.com>
11091 Simon Marchi <simon.marchi@polymtl.ca>
11092
11093 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11094 Instead skip if there's any gdb_protocol set.
11095
8d7aea57
SM
110962017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11097 Pedro Alves <palves@redhat.com>
11098
11099 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11100
30440677
PA
111012017-10-12 Pedro Alves <palves@redhat.com>
11102 Simon Marchi <simon.marchi@polymtl.ca>
11103
11104 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11105 instead of on dejagnu remote boards.
11106
4e04f045 111072017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11108 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11109
11110 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11111 checks. Use build_executable + clean_restart instead of
11112 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11113 of enabling non-stop after starting gdb.
11114
871a186e
PA
111152017-10-12 Pedro Alves <palves@redhat.com>
11116
11117 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11118 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11119 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11120 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11121
56d704da
AK
111222017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11123
11124 * gdb.arch/arc-tdesc-cpu.exp: New file.
11125 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11126
2f20e312
SM
111272017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11128
11129 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11130
65630365
PA
111312017-10-10 Pedro Alves <palves@redhat.com>
11132
11133 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11134 expect CLI output.
11135
bf469271
PA
111362017-10-10 Pedro Alves <palves@redhat.com>
11137
11138 * lib/selftest-support.exp (selftest_setup): Update for
11139 captured_command_loop's prototype change.
11140
777a42f1
PA
111412017-10-09 Pedro Alves <palves@redhat.com>
11142
11143 Test both arch1=>arch2 and arch2=>arch1.
11144
11145 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11146 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11147 factored out to...
11148 (append_arch1_options, append_arch2_options, append_arch_options)
11149 (build_executables): New procedures.
11150 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11151 local.
11152 (top level): Add new 'first_arch' testing axis.
11153
cbd2b4e3
PA
111542017-10-09 Pedro Alves <palves@redhat.com>
11155
11156 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11157 (barrier): New.
11158 (thread_start, all_started): New functions.
11159 (main): Spawn new thread and wait until it is scheduled.
11160 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11161 option.
11162 (do_test): Add 'selected_thread' parameter. Run to all_started
11163 instead of main. Explicitly set the breakpoint at main. Switch
11164 to the SELECTED_THREAD thread.
11165 (top level): Test handling the exec event with either the main
11166 thread or the second thread selected.
11167
5c9e4427
PA
111682017-10-09 Pedro Alves <palves@redhat.com>
11169
11170 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11171 logic. Move STOP marker after the value checks.
11172 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11173 regexp.
11174
b3b7c423
SL
111752017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11176
11177 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11178
3b4b2f16
UW
111792017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11180
11181 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11182 integer-to-dfp conversion.
11183 * gdb.base/dfp-test.exp: Likewise.
11184
5cd63fda
PA
111852017-10-04 Pedro Alves <palves@redhat.com>
11186
11187 * gdb.multi/hangout.c: Include <unistd.h>.
11188 (hangout_loop): New function.
11189 (main): Call alarm. Call hangout_loop in a loop.
11190 * gdb.multi/hello.c: Include <unistd.h>.
11191 (hello_loop): New function.
11192 (main): Call alarm. Call hangout_loop in a loop.
11193 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11194 inferior with the other selected.
11195
4c71c105
SM
111962017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11197
11198 * gdb.mi/list-thread-groups-available.exp: New file.
11199 * gdb.mi/list-thread-groups-available.c: New file.
11200
bc3b087d
SDJ
112012017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11202
11203 * gdb.base/set-cwd.exp: Make it available on
11204 native-extended-gdbserver.
11205
d092c5a2
SDJ
112062017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11207
11208 * gdb.base/set-cwd.c: New file.
11209 * gdb.base/set-cwd.exp: Likewise.
11210
45320ffa
TT
112112017-10-02 Tom Tromey <tom@tromey.com>
11212
11213 PR rust/22236:
11214 * gdb.rust/simple.rs (main): New variable "fslice".
11215 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11216
b3e3859b
TT
112172017-10-02 Tom Tromey <tom@tromey.com>
11218
11219 * gdb.rust/simple.exp: Test ptype of a slice.
11220
01af5e0d
TT
112212017-10-02 Tom Tromey <tom@tromey.com>
11222
11223 * gdb.rust/simple.exp: Test index of slice.
11224
a9bbfbd8
TT
112252017-09-27 Tom Tromey <tom@tromey.com>
11226
11227 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11228
df8899e5
TP
112292017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11230 Pedro Alves <palves@redhat.com>
11231
11232 * gdb.base/compare-sections.exp (get value of read-only section): Read
11233 as unsigned value.
11234 (corrupt read-only section): Likewise and don't set written if patching
11235 failed.
11236
757bf54b
KB
112372017-09-21 Kevin Buettner <kevinb@redhat.com>
11238
11239 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11240 files.
11241
06871ae8
PA
112422017-09-20 Pedro Alves <palves@redhat.com>
11243
11244 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11245 symbol names in gdb's output.
11246 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11247
e5f25bc5
PA
112482017-09-20 Pedro Alves <palves@redhat.com>
11249
11250 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11251 Rename to ...
11252 (test_list_ambiguous_symbol): ... this and add a symbol name
11253 parameter. Adjust.
11254 (test_list_ambiguous_function): Reimplement on top of
11255 test_list_ambiguous_symbol and also test listing ambiguous
11256 variables.
11257 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11258 (ambiguous_fun): ... this.
11259 (ambiguous_var): New.
11260 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11261 (ambiguous_fun): ... this.
11262 (ambiguous_var): New.
11263
4e5a4f58
JB
112642017-09-19 John Baldwin <jhb@FreeBSD.org>
11265
11266 * gdb.base/starti.c: New file.
11267 * gdb.base/starti.exp: New file.
11268 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11269
26e53f3e
PA
112702017-09-14 Pedro Alves <palves@redhat.com>
11271
11272 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11273 (top level): Use it instead of runto.
11274
cb791d59
TT
112752017-09-11 Tom Tromey <tom@tromey.com>
11276
11277 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11278
7c96f8c1
TT
112792017-09-11 Tom Tromey <tom@tromey.com>
11280
11281 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11282 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11283
469412dd
CW
112842017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11285
11286 * gdb.fortran/printing-types.exp: New file.
11287 * gdb.fortran/printing-types.exp: New file.
11288
e0f86435
BH
112892017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11290
11291 * gdb.fortran/vla-ptype.exp: Fix typos.
11292 * gdb.fortran/vla-value.exp: Same.
11293
9e9af4be
BH
112942017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11295
11296 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11297 * gdb.mi/mi-var-child-f.exp: Likewise.
11298 * gdb.mi/mi-vla-fortran.exp: Likewise.
11299
a5ad232b 113002017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11301 Christoph Weinmann <christoph.t.weinmann@intel.com>
11302 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11303
11304 * gdb.fortran/ptr-indentation.f90: New file.
11305 * gdb.fortran/ptr-indentation.exp: New file.
11306
5aec60eb
TT
113072017-09-05 Tom Tromey <tom@tromey.com>
11308
11309 PR gdb/22010:
11310 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11311
8f8f8152
TP
113122017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11313
11314 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11315
fbd1b771
JK
113162017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11317
11318 * gdb.threads/tls-nodebug-pie.c: New file.
11319 * gdb.threads/tls-nodebug-pie.exp: New file.
11320
5eb5f850
TT
113212017-09-05 Tom Tromey <tom@tromey.com>
11322
11323 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11324 for rust.
11325
ae780a21
SM
113262017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11327
11328 * gdb.multi/multi-arch-exec.exp: Test with different
11329 "follow-exec-mode" settings.
11330 (do_test): New procedure.
11331
3693fdb3
PA
113322017-09-04 Pedro Alves <palves@redhat.com>
11333
11334 * gdb.base/func-static.c (S::method const, S::method volatile)
11335 (S::method volatile const): New methods.
11336 (c_s, v_s, cv_s): New instances.
11337 (main): Call method() on them.
11338 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11339 (cannot_resolve): New procedure.
11340 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11341 print-quote-unquoted columns.
11342 (do_test): Test printing each scope too.
11343
e68cb8e0
PA
113442017-09-04 Pedro Alves <palves@redhat.com>
11345
11346 * gdb.base/local-static.exp: Also test with
11347 class::method::variable wholly quoted.
11348 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11349
858be34c
PA
113502017-09-04 Pedro Alves <palves@redhat.com>
11351
11352 * gdb.base/local-static.c: New.
11353 * gdb.base/local-static.cc: New.
11354 * gdb.base/local-static.exp: New.
11355
46a4882b
PA
113562017-09-04 Pedro Alves <palves@redhat.com>
11357
11358 * gdb.asm/asm-source.exp: Add casts to int.
11359 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11360 (dataglobal64_1, dataglobal64_2): New globals.
11361 * gdb.base/nodebug.exp: Test different expressions involving the
11362 new globals, with print, whatis and ptype. Add casts to int.
11363 * gdb.base/solib-display.exp: Add casts to int.
11364 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11365 * gdb.cp/m-static.exp: Add cast to int.
11366 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11367 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11368 tls variable with no debug info without a cast. Test with a cast
11369 to int too.
11370 * gdb.trace/entry-values.exp: Add casts.
11371
2c5a2be1
PA
113722017-09-04 Pedro Alves <palves@redhat.com>
11373
11374 * gdb.base/nodebug.exp: Test that ptype's error about functions
11375 with unknown return type includes the function name too.
11376
7022349d
PA
113772017-09-04 Pedro Alves <palves@redhat.com>
11378
11379 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11380 return type of munmap in infcall.
11381 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11382 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11383 type of ftell in infcall.
11384 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11385 type of getpid in infcall.
11386 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11387 infcall.
11388 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11389 Bail on failure to extract the pid.
11390 * gdb.base/nodebug.c: #include <stdint.h>.
11391 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11392 New functions.
11393 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11394 Change expected output of print/whatis/ptype with functions with
11395 no debug info. Test all supported languages. Call
11396 test_call_promotion.
11397 * gdb.compile/compile.exp: Adjust expected output to expect
11398 warning.
11399 * gdb.threads/siginfo-threads.exp: Likewise.
11400
54990598
PA
114012017-09-04 Pedro Alves <palves@redhat.com>
11402
11403 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11404 "prototypes". Test calling float functions via prototyped and
11405 unprototyped function pointers.
11406 (perform_all_tests): New parameter "prototypes". Pass it down.
11407 (top level): Pass down "prototypes" parameter to
11408 perform_all_tests.
11409
34d16ea2
SM
114102017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11411
11412 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11413 Test with nested loops.
11414
9521ecda
SM
114152017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11416
11417 * gdb.base/commands.exp: Call the new procedures.
11418 (loop_break_test, loop_continue_test): New procedures.
11419
80a65e9b
SM
114202017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11421
11422 * gdb.base/commands.exp: Call new procedure.
11423 (define_if_without_arg_test): New procedure.
11424
e439fa14
PA
114252017-09-04 Pedro Alves <palves@redhat.com>
11426
11427 * gdb.base/list-ambiguous.exp: New file.
11428 * gdb.base/list-ambiguous0.c: New file.
11429 * gdb.base/list-ambiguous1.c: New file.
11430 * gdb.base/list.exp (test_list_range): Adjust expected output.
11431
0a2dde4a
SDJ
114322017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11433
11434 * gdb.base/share-env-with-gdbserver.c: New file.
11435 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11436
5e89eb3a
SM
114372017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11438
11439 * gdb.base/commands.exp (gdbvar_simple_if_test,
11440 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11441 progvar_simple_if_test, progvar_simple_while_test,
11442 progvar_complex_if_while_test, user_defined_command_test,
11443 user_defined_command_args_eval,
11444 user_defined_command_args_stack_test,
11445 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11446 temporary_breakpoint_commands,
11447 gdb_test_no_prompt, redefine_hook_test,
11448 redefine_backtrace_test): Remove "global gdb_prompt".
11449
fd437cbc
SM
114502017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11451
11452 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11453 New proc, call it from toplevel.
11454
87215ad1
SDJ
114552017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11456
11457 PR remote/21852
11458 * gdb.server/normal.c: New file, copied from gdb.base.
11459 * gdb.server/run-without-local-binary.exp: New file.
11460
58afddc6
WP
114612017-08-07 Weimin Pan <weimin.pan@oracle.com>
11462
11463 * gdb.arch/sparc64-adi.exp: New file.
11464 * gdb.arch/sparc64-adi.c: New file.
11465
5277199a
PA
114662017-08-22 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11469 (top level): Add "list all overloads" tests.
11470
14278e1f
TT
114712017-08-22 Tom Tromey <tom@tromey.com>
11472
11473 * gdb.gdb/xfullpath.exp: Remove.
11474
bf223d3e
PA
114752017-08-21 Pedro Alves <palves@redhat.com>
11476
11477 PR gdb/19487
11478 * gdb.base/symbol-alias.c: New.
11479 * gdb.base/symbol-alias2.c: New.
11480 * gdb.base/symbol-alias.exp: New.
11481
c973d0aa
PA
114822017-08-21 Pedro Alves <palves@redhat.com>
11483
11484 * gdb.base/dfp-test.c
11485 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11486 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11487 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11488 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11489 * gdb.base/whatis-ptype-typedefs.c: New.
11490 * gdb.base/whatis-ptype-typedefs.exp: New.
11491 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11492 (an_int, an_int_type, an_int_type2): New globals.
11493 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11494 involving typedefs and cast expressions.
11495 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11496 (lookup_typedefs_function): New.
11497 (typedefs_pretty_printers_dict): New.
11498 (top level): Register lookup_typedefs_function in
11499 gdb.pretty_printers.
11500
6d580b63
YQ
115012017-08-18 Yao Qi <yao.qi@linaro.org>
11502
11503 * gdb.server/unittest.exp: New.
11504
206726fb
SDJ
115052017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11506
11507 PR gdb/21954
11508 * gdb.base/environ.exp: Add test to check if 'unset environment'
11509 works.
11510
bf0ec4c2
AA
115112017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11512
11513 * lib/gdb.exp (universal_compile_options): New caching proc.
11514 (gdb_compile): Suppress GCC's coloring of messages.
11515
d6382fff
TT
115162017-08-14 Tom Tromey <tom@tromey.com>
11517
11518 PR gdb/21675:
11519 * gdb.base/printcmds.exp (test_radices): New function.
11520 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11521 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11522 * lib/gdb.exp (get_integer_valueof): Use p/d.
11523
c2c2dd9f
SM
115242017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11525
11526 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11527 characters.
11528
fdffd6f4
TT
115292017-08-05 Tom Tromey <tom@tromey.com>
11530
11531 * gdb.rust/simple.exp: Allow String to appear in a different
11532 namespace.
11533
27d41eac
YQ
115342017-07-26 Yao Qi <yao.qi@linaro.org>
11535
11536 * gdb.gdb/unittest.exp: Invoke command
11537 "maintenance check xml-descriptions".
11538
031ed05d
AA
115392017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11540
11541 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11542 calling context.
11543 (hex128): Drop erroneous calculation of parameters.
11544
dcd27ddf
SM
115452017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11546
11547 * gdb.python/py-unwind.exp: Disable stack protection when
11548 building test file.
11549
47e77640
PA
115502017-07-20 Pedro Alves <palves@redhat.com>
11551
11552 * gdb.base/default.exp (set language): Adjust expected output.
11553
62d2a18a
PA
115542017-07-20 Pedro Alves <palves@redhat.com>
11555
11556 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11557 (test_minsym): ... this, and make static.
11558 (get_pck__foo__bar__minsym): Rename to ...
11559 (get_test_minsym): ... this.
11560 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11561 symbol names and comments.
11562 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11563 (get_test_minsym): ... this.
11564 (pck__foo__bar__minsym__2): Rename to ...
11565 (test_minsym): ... this.
11566 (main): Adjust.
11567
c45ec17c
PA
115682017-07-17 Pedro Alves <palves@redhat.com>
11569
11570 * gdb.base/completion.exp: Adjust expected output.
11571 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11572 the completer works.
11573
c6756f62
PA
115742017-07-17 Pedro Alves <palves@redhat.com>
11575
11576 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11577
5bd68487
AB
115782017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11579
11580 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11581
8880f2a9
TT
115822017-07-14 Tom Tromey <tom@tromey.com>
11583
11584 PR rust/21764:
11585 * gdb.rust/simple.exp: Add tests.
11586
65547233
TT
115872017-07-14 Tom Tromey <tom@tromey.com>
11588
11589 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11590
8f14146e
PA
115912017-07-14 Pedro Alves <palves@redhat.com>
11592
11593 * gdb.linespec/base/one/thefile.cc (z1): New function.
11594 * gdb.linespec/base/two/thefile.cc (z2): New function.
11595 * gdb.linespec/linespec.exp: Add tests.
11596
b4365d02
AB
115972017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11598
11599 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11600 to mi_create_breakpoint.
11601
5d2cbaa5
AB
116022017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11603
11604 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11605 mi_create_breakpoint.
11606
11cb5716
IB
116072017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11608
11609 * gdb.dlang/demangle.exp: Update for demangling changes.
11610
03278692
TT
116112017-07-09 Tom Tromey <tom@tromey.com>
11612
11613 * gdb.dwarf2/shortpiece.exp: New file.
11614
33c5cd75
DB
116152017-07-06 David Blaikie <dblaikie@gmail.com>
11616
11617 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11618 built from fissiont-multi-cu{1,2}.c.
11619 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11620 except putting 'main' and 'func' in separate CUs in the same DWO file.
11621 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11622 test.
11623 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11624 test.
11625
8455d262
PA
116262017-07-06 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.python/py-unwind.exp: Test flushregs.
11629
dc4bde35
SDJ
116302017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11631
11632 PR cli/21688
11633 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11634 tests for alias commands and trailing whitespace.
11635
51ed89aa
SDJ
116362017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11637
11638 PR cli/21688
11639 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11640 procedure. Call it.
11641
eb17d413
PA
116422017-06-29 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.base/printcmds.exp: Add tests.
11645
41664b45
DG
116462017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11647
11648 PR gdb/21337
11649 * gdb.base/reread-readsym.exp: New file.
11650 * gdb.base/reread-readsym.c: New file.
11651
75312ae3
KB
116522017-06-21 Kevin Buettner <kevinb@redhat.com>
11653
11654 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11655 subpattern.
11656
66953522
PB
116572017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11658
11659 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11660 extended mnemonic.
11661 * gdb.arch/powerpc-power9.s: Likewise.
11662
5524b525
AA
116632017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11664
11665 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11666 on 32-bit x86 targets. Exploit is_*_target macros where
11667 appropriate.
11668
03c8af18
AA
116692017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11670
11671 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11672 register pieces.
11673
3bf31011
AA
116742017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11675
11676 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11677 located in one or more DWARF pieces.
11678
805acca0
AA
116792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11680
11681 * lib/gdb.exp (get_endianness): New proc.
11682 * gdb.arch/aarch64-fp.exp: Use it.
11683 * gdb.arch/altivec-regs.exp: Likewise.
11684 * gdb.arch/e500-regs.exp: Likewise.
11685 * gdb.arch/vsx-regs.exp: Likewise.
11686 * gdb.base/dump.exp: Likewise.
11687 * gdb.base/funcargs.exp: Likewise.
11688 * gdb.base/gnu_vector.exp: Likewise.
11689 * gdb.dwarf2/formdata16.exp: Likewise.
11690 * gdb.dwarf2/implptrpiece.exp: Likewise.
11691 * gdb.dwarf2/nonvar-access.exp: Likewise.
11692 * gdb.python/py-inferior.exp: Likewise.
11693 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11694
e9352324
AA
116952017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11696
11697 PR gdb/21226
11698 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11699 stack value pieces are taken from the LSB end.
11700
d5d1163e
AA
117012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11702
11703 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11704 variable at nonzero offset.
11705
0567c986
AA
117062017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11707
11708 * gdb.dwarf2/var-access.c: New file.
11709 * gdb.dwarf2/var-access.exp: New test.
11710 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11711
973e9aab
TT
117122017-06-12 Tom Tromey <tom@tromey.com>
11713
11714 * gdb.dwarf2/formdata16.exp: Add tests.
11715
d9109c80
TT
117162017-06-12 Tom Tromey <tom@tromey.com>
11717
11718 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11719
30a25466
TT
117202017-06-12 Tom Tromey <tom@tromey.com>
11721
11722 PR exp/16225:
11723 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11724 * gdb.arch/vsx-regs.exp: Update tests.
11725 * gdb.arch/s390-vregs.exp (hex128): New proc.
11726 Update test.
11727 * gdb.arch/altivec-regs.exp: Update tests.
11728
aefd8b33
SDJ
117292017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11730
11731 * gdb.base/startup-with-shell.c: New file.
11732 * gdb.base/startup-with-shell.exp: Likewise.
11733
2090129c
SDJ
117342017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11735
11736 * gdb.server/non-existing-program.exp: Update regex in order to
11737 reflect the fact that gdbserver is now using fork_inferior (with a
11738 shell) to startup the inferior.
11739
8e86a419
SM
117402017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11741
11742 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11743 support function calls from GDB.
11744
e6cf65f2
TT
117452017-05-21 Tom Tromey <tom@tromey.com>
11746
11747 PR rust/21466:
11748 * gdb.rust/unsized.exp: New file.
11749 * gdb.rust/unsized.rs: New file.
11750
43cc5389
TT
117512017-05-19 Tom Tromey <tom@tromey.com>
11752
11753 PR rust/21484:
11754 * gdb.rust/watch.exp: New file.
11755 * gdb.rust/watch.rs: New file.
11756
ec8df234
TT
117572017-05-18 Tom Tromey <tom@tromey.com>
11758
11759 * gdb.rust/simple.exp: Allow Box to be qualified.
11760
3e3e7fae
TP
117612017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11762
11763 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11764
59cc050d
PA
117652017-05-18 Pedro Alves <palves@redhat.com>
11766
11767 * gdb.base/fileio.c (test_write, test_read, test_close)
11768 (test_fstat): Don't print 'ret' in the fail path.
11769
c8f6abd1
PA
117702017-05-18 Pedro Alves <palves@redhat.com>
11771
11772 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11773 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11774 (test_system, test_rename, test_unlink, test_time): Change
11775 prototypes.
11776 * gdb.base/fileio.exp (stop_msg): Adjust.
11777
d2a03b77
PA
117782017-05-18 Pedro Alves <palves@redhat.com>
11779
11780 * gdb.base/fileio.c (null_str): New global.
11781 (test_stat): Use it.
11782 * gdb.base/fileio.exp: Remove nowarnings.
11783
0d5c6999
YQ
117842017-05-17 Yao Qi <yao.qi@linaro.org>
11785
11786 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11787
21873064
YQ
117882017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11789
11790 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11791 argument command.
11792 (top-level): Invoke test_set_inferior_tty.
11793
d512d31c
PA
117942017-05-04 Pedro Alves <palves@redhat.com>
11795
11796 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11797 Add parens to print call for Python 3.
11798
90cef2ed
KS
117992017-05-03 Keith Seitz <keiths@redhat.com>
11800
11801 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11802 (main): Call it.
11803
14f819c8
TW
118042017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11805
11806 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11807 to prev and next.
11808
913aeadd
TW
118092017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11810
11811 * gdb.python/py-record-btrace.exp: Remove test for
11812 gdb.BtraceInstruction.error.
11813
a3be24ad
TW
118142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11815
11816 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11817
ae20e79a
TW
118182017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11819
11820 * gdb.python/py-record-btrace-threads.c: New file.
11821 * gdb.python/py-record-btrace-threads.exp: New file.
11822
45ce1b47
SDJ
118232017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11824
11825 PR testsuite/8595
11826 * gdb.base/environ.exp: Make test available in all architectures.
11827 Move bits related to "info program" testing to
11828 gdb.base/info-program.exp. Rewrite tests to use the two new
11829 procedures mentione below.
11830 (test_set_show_env_var) New procedure.
11831 (test_set_show_env_var_equal): Likewise.
11832 * gdb.base/info-program.exp: New file.
11833
e15c3eb4
KS
118342017-04-27 Keith Seitz <keiths@redhat.com>
11835
11836 * gdb.cp/oranking.cc (test15): New function.
11837 (main): Call test15 and declare additional variables for testing.
11838 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11839 "p foo101('abc')" tests.
11840 Add tests for cv qualifier overloads.
11841 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11842 "lvalue reference overload" test.
11843 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11844 "print value of f1 on Child&& in f2" test.
11845
3a3fd0fd
PA
118462017-04-19 Pedro Alves <palves@redhat.com>
11847
11848 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11849 procedure.
11850 (top level): Call it.
11851 * lib/gdb.exp (gdb_define_cmd): New procedure.
11852
53375380
PA
118532017-04-12 Pedro Alves <palves@redhat.com>
11854
11855 PR gdb/21323
11856 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11857 (wchar): New global.
11858 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11859 (do_test_wide_char, wide_char_types_no_program, top level): Add
11860 wchar_t testing.
11861
53e710ac
PA
118622017-04-12 Pedro Alves <palves@redhat.com>
11863
11864 PR c++/21323
11865 * gdb.cp/wide_char_types.c: New file.
11866 * gdb.cp/wide_char_types.exp: New file.
11867
0ad9d8c7
SDJ
118682017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11869
11870 PR gdb/21352
11871 * gdb.trace/tsv.exp: Add test for "tsave -r".
11872
b1b45502
IB
118732017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11874
11875 * gdb.dlang/watch-loc.c: New file.
11876 * gdb.dlang/watch-loc.exp: New file.
11877
ec13808e
JK
118782017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11879
11880 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11881
fe5f7374
AK
118822017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11883
11884 * gdb.arch/arc-analyze-prologue.S: New file.
11885 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11886
eea78757
AK
118872017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11888
11889 * gdb.arch/arc-decode-insn.S: New file.
11890 * gdb.arch/arc-decode-insn.exp: Likewise.
11891
5badf10a
IR
118922017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11893
11894 PR tdep/20928
11895 * gdb.arch/sparc64-regs.exp: New file.
11896 * gdb.arch/sparc64-regs.S: Likewise.
11897
cee59b3f
TW
118982017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11899
11900 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11901 and memory view on Python 3.
11902
c0f55cc6
AV
119032017-03-20 Artemiy Volkov <artemiyv@acm.org>
11904 Keith Seitz <keiths@redhat.com>
11905
11906 PR gdb/14441
11907 * gdb.cp/demangle.exp: Add rvalue reference tests.
11908 * gdb.cp/rvalue-ref-casts.cc: New file.
11909 * gdb.cp/rvalue-ref-casts.exp: New file.
11910 * gdb.cp/rvalue-ref-overload.cc: New file.
11911 * gdb.cp/rvalue-ref-overload.exp: New file.
11912 * gdb.cp/rvalue-ref-params.cc: New file.
11913 * gdb.cp/rvalue-ref-params.exp: New file.
11914 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11915 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11916 * gdb.cp/rvalue-ref-types.cc: New file.
11917 * gdb.cp/rvalue-ref-types.exp: New file.
11918 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11919 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11920
51457a05
MAL
119212017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11922
11923 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11924 New procedure.
11925
5b291c04
MAL
119262017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11927
11928 * lib/mi-support.exp (mi_gdb_test): Add additional message
11929 for unexpected output.
11930
59a56148
AA
119312017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11932
11933 * gdb.base/examine-backward.c (Barrier): New character array
11934 constant, to ensure that TestStrings is preceded by a string
11935 terminator.
11936
7942e96e
AA
119372017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11938
11939 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11940 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11941 and implicit pointer into such a location.
11942
6ebac3fb
DE
119432017-03-16 Doug Evans <dje@google.com>
11944
11945 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11946
ec3b243d
TP
119472017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11948
11949 * gdb.cp/m-static.exp: Fix expectation for prototype of
11950 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11951
119522017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11953
11954 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11955 * gdb.guile/scm-lazy-string.c: New file.
11956 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11957 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11958 for pointer, array, typedef lazy strings.
11959
2cc36e25 119602017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11961
11962 PR python/17728, python/18439, python/18779
11963 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11964 * gdb.python/py-lazy-string.c (pointer): New typedef.
11965 (main): New locals ptr, array, typedef_ptr.
11966 * gdb.python/py-value.exp: Move lazy string tests to ...
11967 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11968 array, typedef lazy strings.
ec3b243d 11969
0efcde63
AK
119702017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11971
11972 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11973 Add optional 'test' parameter.
11974
7978d7c3
SM
119752017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11976
11977 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11978 Skip for versions of DejaGnu < 1.5.
11979
896c0c1e
SM
119802017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11981
11982 * lib/gdb.exp (dejagnu_version): New proc.
11983 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11984 Use dejagnu_version.
11985
5f4d1085
KS
119862017-03-10 Keith Seitz <keiths@redhat.com>
11987
11988 PR c++/8128
11989 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11990 type from destructor regexps.
11991 Add a branch which actually passes the test.
11992 Adjust "ptype t5i" test names.
11993
1de05205
PA
119942017-03-08 Pedro Alves <palves@redhat.com>
11995
11996 * gdb.base/step-over-exit.exp: Add explicit test message.
11997
c65d6b55
PA
119982017-03-08 Pedro Alves <palves@redhat.com>
11999
12000 PR gdb/18360
12001 * gdb.threads/interrupt-while-step-over.c: New file.
12002 * gdb.threads/interrupt-while-step-over.exp: New file.
12003
2e86a283
PA
120042017-03-08 Pedro Alves <palves@redhat.com>
12005
12006 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12007 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12008
25dcbff6
PA
120092017-03-08 Pedro Alves <palves@redhat.com>
12010
12011 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12012 PKRU as not supported as a PASS.
12013
dc9366eb
PA
120142017-03-08 Pedro Alves <palves@redhat.com>
12015
12016 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12017 prefix instead of $binfile1/$binfile2.
12018 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12019 in test message.
12020 * gdb.python/py-completion.exp: Use "load python file" as test
12021 messages instead of unstable path names.
12022
6e5d74e7
PA
120232017-03-08 Pedro Alves <palves@redhat.com>
12024 Jan Kratochvil <jan.kratochvil@redhat.com>
12025
12026 PR cli/21218
12027 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12028 New proc.
12029 (top level): Call it.
12030
9753a2f6
PA
120312017-03-08 Pedro Alves <palves@redhat.com>
12032
12033 PR tui/21216
12034 * gdb.tui/tui-nl-filtered-output.exp: New file.
12035
1a4dd9dd
PA
120362017-03-08 Pedro Alves <palves@redhat.com>
12037
12038 * gdb.base/completion.exp: Move TUI completion tests to ...
12039 * gdb.tui/completion.exp: ... this new file.
12040
7cbbff33
PA
120412017-03-08 Pedro Alves <palves@redhat.com>
12042
12043 * gdb.base/tui-disasm-long-lines.c,
12044 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12045 gdb.base/tui-layout.exp: Move to ...
12046 * gdb.tui/: ... this new directory.
12047
5f6fd321
PA
120482017-03-07 Pedro Alves <palves@redhat.com>
12049
12050 * gdb.base/tui-layout.c: New file.
12051 * gdb.base/tui-layout.exp: New file.
12052
44959fa8
PA
120532017-03-07 Pedro Alves <palves@redhat.com>
12054
12055 * gdb.base/tui-layout.c: Rename to ...
12056 * gdb.base/tui-disasm-long-lines.c: ... this.
12057 * gdb.base/tui-layout.exp: Rename to ...
12058 * gdb.base/tui-disasm-long-lines.exp: ... this.
12059
f8c4e718
PA
120602017-03-07 Pedro Alves <palves@redhat.com>
12061
12062 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12063
6dbb839a 120642017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12065
12066 * i386-mpx-call.c: New file.
12067 * i386-mpx-call.exp: New file.
12068
65b48a81
PB
120692017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12070
12071 * gdb.arch/powerpc-power.exp: Delete test.
12072 * gdb.arch/powerpc-power.s: Likewise.
12073 * gdb.disasm/disassembler-options.exp: New test.
12074 * gdb.arch/powerpc-altivec.exp: Likewise.
12075 * gdb.arch/powerpc-altivec.s: Likewise.
12076 * gdb.arch/powerpc-altivec2.exp: Likewise.
12077 * gdb.arch/powerpc-altivec2.s: Likewise.
12078 * gdb.arch/powerpc-altivec3.exp: Likewise.
12079 * gdb.arch/powerpc-altivec3.s: Likewise.
12080 * gdb.arch/powerpc-power7.exp: Likewise.
12081 * gdb.arch/powerpc-power7.s: Likewise.
12082 * gdb.arch/powerpc-power8.exp: Likewise.
12083 * gdb.arch/powerpc-power8.s: Likewise.
12084 * gdb.arch/powerpc-power9.exp: Likewise.
12085 * gdb.arch/powerpc-power9.s: Likewise.
12086 * gdb.arch/powerpc-vsx.exp: Likewise.
12087 * gdb.arch/powerpc-vsx.s: Likewise.
12088 * gdb.arch/powerpc-vsx2.exp: Likewise.
12089 * gdb.arch/powerpc-vsx2.s: Likewise.
12090 * gdb.arch/powerpc-vsx3.exp: Likewise.
12091 * gdb.arch/powerpc-vsx3.s: Likewise.
12092 * gdb.arch/arm-disassembler-options.exp: Likewise.
12093 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12094 * gdb.arch/s390-disassembler-options.exp: Likewise.
12095
17cd4947
LM
120962017-02-23 Luis Machado <lgustavo@codesourcery.com>
12097
12098 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12099 (check_supported_features): ... this. Changed return type to void.
12100 (supports_rdseed): New static global.
12101 (rdseed): Check supports_rdseed.
12102 (initialize): Call check_supported_features.
12103
2039d74e
EBM
121042017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12105
12106 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12107 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12108 and lqarx/stqcx.
12109 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12110 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12111
a51d7ecf
EBM
121122017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12113
12114 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12115 uppercase.
12116
0224619f
JK
121172017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12118
12119 * gdb.dwarf2/formdata16.c: New file.
12120 * gdb.dwarf2/formdata16.exp: New file.
12121 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12122
216f72a1
JK
121232017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12124
12125 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12126 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12127 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12128 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12129 DW_AT_GNU_*.
12130
43988095
JK
121312017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12132
12133 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12134
99e8a4f9
SDJ
121352017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12136
12137 PR gdb/21164
12138 * gdb.base/maint.exp: Add testcases for when the commands do
12139 not have arguments.
12140
b58a8c0c
TP
121412017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12142
12143 * gdb.cp/chained-calls.exp: Use p instead of P.
12144
4e746bb6
TW
121452017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12146
12147 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12148 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12149
3f77c769
TT
121502017-02-14 Tom Tromey <tom@tromey.com>
12151
12152 PR python/13598:
12153 * gdb.python/py-events.exp: Add before_prompt event tests.
12154
075beec0
AA
121552017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12156
12157 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12158
bf5f525c
LM
121592017-02-13 Luis Machado <lgustavo@codesourcery.com>
12160
12161 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12162 (main): Call my_unique_function_name.
12163 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12164 completion of patterns with a single match.
12165 Add missing -re switches to gdb_test_multiple calls.
12166
13a66184
LM
121672017-02-13 Luis Machado <lgustavo@codesourcery.com>
12168
12169 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12170 return if core file is not recognized.
12171
26a06916
SM
121722017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12173
12174 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12175 and extra UIs.
12176
b761ca9e
SM
121772017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12178
12179 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12180 proc_with_prefix.
12181
b964bee0
TT
121822017-02-10 Tom Tromey <tom@tromey.com>
12183
12184 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12185
18da0c51
MG
121862017-02-10 Martin Galvan <martingalvan@sourceware.org>
12187
12188 PR gdb/21122
12189 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12190
604c4576
JG
121912017-02-08 Jerome Guitton <guitton@adacore.com>
12192
12193 * gdb.base/define.exp: Add test for command abbreviations
12194 in define.
12195
20b477a7
LM
121962017-02-06 Luis Machado <lgustavo@codesourcery.com>
12197
12198 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12199 * gdb.reverse/insn-reverse-x86.c: New file.
12200
3f7b46f2
IR
122012017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12202
12203 PR tdep/20936
12204 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12205
f0fd41c1
TT
122062017-02-03 Tom Tromey <tom@tromey.com>
12207
12208 PR rust/21097:
12209 * gdb.rust/simple.exp: Add new tests.
12210
5be5dbf0
PA
122112017-02-02 Pedro Alves <palves@redhat.com>
12212
12213 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12214 tests.
12215
7346ef59
AA
122162017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12217
12218 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12219 taking a 2-byte value out of a 4-byte DWARF implicit value on
12220 big-endian targets.
12221 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12222 logic. Add test cases for DW_OP_implicit.
12223
787f0025
MM
122242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12225
12226 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12227
68777c29
MM
122282017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12229
12230 * gdb.btrace/enable.exp: Call gdb_exit before
12231 skip_gdbserver_tests.
12232
0a1c7e28
MM
122332017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12234
12235 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12236 GDBFLAGS.
12237
b5ac99b0
MM
122382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12239
12240 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12241 the test is skipped.
12242 * gdb.btrace/data.exp: Likewise.
12243 * gdb.btrace/delta.exp: Likewise.
12244 * gdb.btrace/dlopen.exp: Likewise.
12245 * gdb.btrace/enable-running.exp: Likewise.
12246 * gdb.btrace/enable.exp: Likewise.
12247 * gdb.btrace/exception.exp: Likewise.
12248 * gdb.btrace/function_call_history.exp: Likewise.
12249 * gdb.btrace/gcore.exp: Likewise.
12250 * gdb.btrace/instruction_history.exp: Likewise.
12251 * gdb.btrace/multi-thread-step.exp: Likewise.
12252 * gdb.btrace/nohist.exp: Likewise.
12253 * gdb.btrace/non-stop.exp: Likewise.
12254 * gdb.btrace/reconnect.exp: Likewise.
12255 * gdb.btrace/record_goto-step.exp: Likewise.
12256 * gdb.btrace/record_goto.exp: Likewise.
12257 * gdb.btrace/rn-dl-bind.exp: Likewise.
12258 * gdb.btrace/segv.exp: Likewise.
12259 * gdb.btrace/step.exp: Likewise.
12260 * gdb.btrace/stepi.exp: Likewise.
12261 * gdb.btrace/tailcall-only.exp: Likewise.
12262 * gdb.btrace/tailcall.exp: Likewise.
12263 * gdb.btrace/tsx.exp: Likewise.
12264 * gdb.btrace/unknown_functions.exp: Likewise.
12265 * gdb.btrace/vdso.exp: Likewise.
12266
cd4007e4
MM
122672017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12268
12269 * gdb.btrace/enable-running.c: New.
12270 * gdb.btrace/enable-running.exp: New.
12271
2735833d
WT
122722017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12273
12274 * gdb.arch/amd64-gs_base.c: New file.
12275 * gdb.arch/amd64-gs_base.exp: New file.
12276
b51e1e94
LM
122772017-01-26 Luis Machado <lgustavo@codesourcery.com>
12278
12279 * lib/memory.exp: Remove spurious empty newlines.
12280
72ca0410
SM
122812017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12282
12283 * gdb.python/py-bad-printers.exp: Load python file using "source".
12284 * gdb.python/py-events.exp: Likewise.
12285 * gdb.python/py-evsignal.exp: Likewise.
12286 * gdb.python/py-evthreads.exp: Likewise.
12287 * gdb.python/py-frame-args.exp: Likewise.
12288 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12289 * gdb.python/py-framefilter-mi.exp: Likewise.
12290 * gdb.python/py-framefilter.exp: Likewise.
12291 * gdb.python/py-mi.exp: Likewise.
12292 * gdb.python/py-pp-maint.exp: Likewise.
12293 * gdb.python/py-pp-registration.exp: Likewise.
12294 * gdb.python/py-prettyprint.exp: Likewise.
12295 (run_lang_tests): Likewise.
12296 * gdb.python/py-typeprint.exp: Likewise.
12297
e309aa65
LM
122982017-01-26 Luis Machado <lgustavo@codesourcery.com>
12299
12300 * lib/memory.exp: New file.
12301 * lib/gdb.exp: Load memory.exp.
12302 * gdb.base/memattr.exp (delete_memory): Move proc to
12303 lib/memory.exp and rename to delete_memory_regions.
12304 Replace delete_memory with delete_memory_regions.
12305 Cleanup memory regions before tests.
12306 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12307 before tests.
12308
515aff23
LM
123092017-01-26 Luis Machado <lgustavo@codesourcery.com>
12310
12311 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12312 files.
12313 (initialize): New function conditionally defined.
12314 (testcases): Move within conditional block.
12315 (main): Call initialize.
12316 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12317 of gdb.reverse/insn-reverse.c.
12318 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12319 gdb.reverse/insn-reverse.c.
12320
d8b49cf0
YQ
123212017-01-26 Yao Qi <yao.qi@linaro.org>
12322
12323 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12324 disassemble on address 0.
12325
f13a9a0c
YQ
123262017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12327 Yao Qi <yao.qi@linaro.org>
12328
12329 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12330 * gdb.dwarf2/implptr-64bit.S: Remove.
12331 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12332 variables in caller's context. Add DW_OP_implicit_value.
12333
5ac95241
YQ
123342017-01-25 Yao Qi <yao.qi@linaro.org>
12335
12336 * lib/dwarf.exp (Dwarf::_location): Handle
12337 DW_OP_GNU_implicit_pointer with proper size.
12338
23e82930
LM
123392017-01-20 Luis Machado <lgustavo@codesourcery.com>
12340
12341 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12342 and add untested calls.
12343
d334ae25
LM
123442017-01-20 Luis Machado <lgustavo@codesourcery.com>
12345
12346 * gdb.python/python.exp: Check line number against what GDB thinks
12347 the line number is for func1.
12348
f5e6296e
IB
123492017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12350
12351 * gdb.dlang/debug-expr.exp: New file.
12352
5b362f04
LM
123532016-12-23 Luis Machado <lgustavo@codesourcery.com>
12354
12355 Fix test names for the following files:
12356
12357 * gdb.ada/exec_changed.exp
12358 * gdb.ada/info_types.exp
12359 * gdb.arch/aarch64-atomic-inst.exp
12360 * gdb.arch/aarch64-fp.exp
12361 * gdb.arch/altivec-abi.exp
12362 * gdb.arch/altivec-regs.exp
12363 * gdb.arch/amd64-byte.exp
12364 * gdb.arch/amd64-disp-step.exp
12365 * gdb.arch/amd64-dword.exp
12366 * gdb.arch/amd64-entry-value-inline.exp
12367 * gdb.arch/amd64-entry-value-param.exp
12368 * gdb.arch/amd64-entry-value-paramref.exp
12369 * gdb.arch/amd64-entry-value.exp
12370 * gdb.arch/amd64-i386-address.exp
12371 * gdb.arch/amd64-invalid-stack-middle.exp
12372 * gdb.arch/amd64-invalid-stack-top.exp
12373 * gdb.arch/amd64-optimout-repeat.exp
12374 * gdb.arch/amd64-prologue-skip.exp
12375 * gdb.arch/amd64-prologue-xmm.exp
12376 * gdb.arch/amd64-stap-special-operands.exp
12377 * gdb.arch/amd64-stap-wrong-subexp.exp
12378 * gdb.arch/amd64-tailcall-cxx.exp
12379 * gdb.arch/amd64-tailcall-noret.exp
12380 * gdb.arch/amd64-tailcall-ret.exp
12381 * gdb.arch/amd64-tailcall-self.exp
12382 * gdb.arch/amd64-word.exp
12383 * gdb.arch/arm-bl-branch-dest.exp
12384 * gdb.arch/arm-disp-step.exp
12385 * gdb.arch/arm-neon.exp
12386 * gdb.arch/arm-single-step-kernel-helper.exp
12387 * gdb.arch/avr-flash-qualifier.exp
12388 * gdb.arch/disp-step-insn-reloc.exp
12389 * gdb.arch/e500-abi.exp
12390 * gdb.arch/e500-regs.exp
12391 * gdb.arch/ftrace-insn-reloc.exp
12392 * gdb.arch/i386-avx512.exp
12393 * gdb.arch/i386-bp_permanent.exp
12394 * gdb.arch/i386-byte.exp
12395 * gdb.arch/i386-cfi-notcurrent.exp
12396 * gdb.arch/i386-disp-step.exp
12397 * gdb.arch/i386-dr3-watch.exp
12398 * gdb.arch/i386-float.exp
12399 * gdb.arch/i386-gnu-cfi.exp
12400 * gdb.arch/i386-mpx-map.exp
12401 * gdb.arch/i386-mpx-sigsegv.exp
12402 * gdb.arch/i386-mpx-simple_segv.exp
12403 * gdb.arch/i386-mpx.exp
12404 * gdb.arch/i386-permbkpt.exp
12405 * gdb.arch/i386-prologue.exp
12406 * gdb.arch/i386-signal.exp
12407 * gdb.arch/i386-size-overlap.exp
12408 * gdb.arch/i386-unwind.exp
12409 * gdb.arch/i386-word.exp
12410 * gdb.arch/mips-fcr.exp
12411 * gdb.arch/powerpc-d128-regs.exp
12412 * gdb.arch/powerpc-stackless.exp
12413 * gdb.arch/ppc64-atomic-inst.exp
12414 * gdb.arch/s390-stackless.exp
12415 * gdb.arch/s390-tdbregs.exp
12416 * gdb.arch/s390-vregs.exp
12417 * gdb.arch/sparc-sysstep.exp
12418 * gdb.arch/thumb-bx-pc.exp
12419 * gdb.arch/thumb-singlestep.exp
12420 * gdb.arch/thumb2-it.exp
12421 * gdb.arch/vsx-regs.exp
12422 * gdb.asm/asm-source.exp
12423 * gdb.base/a2-run.exp
12424 * gdb.base/advance.exp
12425 * gdb.base/all-bin.exp
12426 * gdb.base/anon.exp
12427 * gdb.base/args.exp
12428 * gdb.base/arithmet.exp
12429 * gdb.base/async-shell.exp
12430 * gdb.base/async.exp
12431 * gdb.base/attach-pie-noexec.exp
12432 * gdb.base/attach-twice.exp
12433 * gdb.base/auto-load.exp
12434 * gdb.base/bang.exp
12435 * gdb.base/bitfields.exp
12436 * gdb.base/break-always.exp
12437 * gdb.base/break-caller-line.exp
12438 * gdb.base/break-entry.exp
12439 * gdb.base/break-inline.exp
12440 * gdb.base/break-on-linker-gcd-function.exp
12441 * gdb.base/break-probes.exp
12442 * gdb.base/break.exp
12443 * gdb.base/breakpoint-shadow.exp
12444 * gdb.base/call-ar-st.exp
12445 * gdb.base/call-sc.exp
12446 * gdb.base/call-signal-resume.exp
12447 * gdb.base/call-strs.exp
12448 * gdb.base/callfuncs.exp
12449 * gdb.base/catch-fork-static.exp
12450 * gdb.base/catch-gdb-caused-signals.exp
12451 * gdb.base/catch-load.exp
12452 * gdb.base/catch-signal-fork.exp
12453 * gdb.base/catch-signal.exp
12454 * gdb.base/catch-syscall.exp
12455 * gdb.base/charset.exp
12456 * gdb.base/checkpoint.exp
12457 * gdb.base/chng-syms.exp
12458 * gdb.base/code-expr.exp
12459 * gdb.base/code_elim.exp
12460 * gdb.base/commands.exp
12461 * gdb.base/completion.exp
12462 * gdb.base/complex.exp
12463 * gdb.base/cond-expr.exp
12464 * gdb.base/condbreak.exp
12465 * gdb.base/consecutive.exp
12466 * gdb.base/continue-all-already-running.exp
12467 * gdb.base/coredump-filter.exp
12468 * gdb.base/corefile.exp
12469 * gdb.base/dbx.exp
12470 * gdb.base/debug-expr.exp
12471 * gdb.base/define.exp
12472 * gdb.base/del.exp
12473 * gdb.base/disabled-location.exp
12474 * gdb.base/disasm-end-cu.exp
12475 * gdb.base/disasm-optim.exp
12476 * gdb.base/display.exp
12477 * gdb.base/duplicate-bp.exp
12478 * gdb.base/ena-dis-br.exp
12479 * gdb.base/ending-run.exp
12480 * gdb.base/enumval.exp
12481 * gdb.base/environ.exp
12482 * gdb.base/eu-strip-infcall.exp
12483 * gdb.base/eval-avoid-side-effects.exp
12484 * gdb.base/eval-skip.exp
12485 * gdb.base/exitsignal.exp
12486 * gdb.base/expand-psymtabs.exp
12487 * gdb.base/filesym.exp
12488 * gdb.base/find-unmapped.exp
12489 * gdb.base/finish.exp
12490 * gdb.base/float.exp
12491 * gdb.base/foll-exec-mode.exp
12492 * gdb.base/foll-exec.exp
12493 * gdb.base/foll-fork.exp
12494 * gdb.base/fortran-sym-case.exp
12495 * gdb.base/freebpcmd.exp
12496 * gdb.base/func-ptr.exp
12497 * gdb.base/func-ptrs.exp
12498 * gdb.base/funcargs.exp
12499 * gdb.base/gcore-buffer-overflow.exp
12500 * gdb.base/gcore-relro-pie.exp
12501 * gdb.base/gcore-relro.exp
12502 * gdb.base/gcore.exp
12503 * gdb.base/gdb1090.exp
12504 * gdb.base/gdb11530.exp
12505 * gdb.base/gdb11531.exp
12506 * gdb.base/gdb1821.exp
12507 * gdb.base/gdbindex-stabs.exp
12508 * gdb.base/gdbvars.exp
12509 * gdb.base/hbreak.exp
12510 * gdb.base/hbreak2.exp
12511 * gdb.base/included.exp
12512 * gdb.base/infcall-input.exp
12513 * gdb.base/inferior-died.exp
12514 * gdb.base/infnan.exp
12515 * gdb.base/info-macros.exp
12516 * gdb.base/info-os.exp
12517 * gdb.base/info-proc.exp
12518 * gdb.base/info-shared.exp
12519 * gdb.base/info-target.exp
12520 * gdb.base/infoline.exp
12521 * gdb.base/interp.exp
12522 * gdb.base/interrupt.exp
12523 * gdb.base/jit-reader.exp
12524 * gdb.base/jit-simple.exp
12525 * gdb.base/kill-after-signal.exp
12526 * gdb.base/kill-detach-inferiors-cmd.exp
12527 * gdb.base/label.exp
12528 * gdb.base/langs.exp
12529 * gdb.base/ldbl_e308.exp
12530 * gdb.base/line-symtabs.exp
12531 * gdb.base/linespecs.exp
12532 * gdb.base/list.exp
12533 * gdb.base/long_long.exp
12534 * gdb.base/longest-types.exp
12535 * gdb.base/maint.exp
12536 * gdb.base/max-value-size.exp
12537 * gdb.base/memattr.exp
12538 * gdb.base/mips_pro.exp
12539 * gdb.base/morestack.exp
12540 * gdb.base/moribund-step.exp
12541 * gdb.base/multi-forks.exp
12542 * gdb.base/nested-addr.exp
12543 * gdb.base/nextoverexit.exp
12544 * gdb.base/noreturn-finish.exp
12545 * gdb.base/noreturn-return.exp
12546 * gdb.base/nostdlib.exp
12547 * gdb.base/offsets.exp
12548 * gdb.base/opaque.exp
12549 * gdb.base/pc-fp.exp
12550 * gdb.base/permissions.exp
12551 * gdb.base/print-symbol-loading.exp
12552 * gdb.base/prologue-include.exp
12553 * gdb.base/psymtab.exp
12554 * gdb.base/ptype.exp
12555 * gdb.base/random-signal.exp
12556 * gdb.base/randomize.exp
12557 * gdb.base/range-stepping.exp
12558 * gdb.base/readline-ask.exp
12559 * gdb.base/recpar.exp
12560 * gdb.base/recurse.exp
12561 * gdb.base/relational.exp
12562 * gdb.base/restore.exp
12563 * gdb.base/return-nodebug.exp
12564 * gdb.base/return.exp
12565 * gdb.base/run-after-attach.exp
12566 * gdb.base/save-bp.exp
12567 * gdb.base/scope.exp
12568 * gdb.base/sect-cmd.exp
12569 * gdb.base/set-lang-auto.exp
12570 * gdb.base/set-noassign.exp
12571 * gdb.base/setvar.exp
12572 * gdb.base/sigall.exp
12573 * gdb.base/sigbpt.exp
12574 * gdb.base/siginfo-addr.exp
12575 * gdb.base/siginfo-infcall.exp
12576 * gdb.base/siginfo-obj.exp
12577 * gdb.base/siginfo.exp
12578 * gdb.base/signals-state-child.exp
12579 * gdb.base/signest.exp
12580 * gdb.base/sigstep.exp
12581 * gdb.base/sizeof.exp
12582 * gdb.base/skip.exp
12583 * gdb.base/solib-corrupted.exp
12584 * gdb.base/solib-nodir.exp
12585 * gdb.base/solib-search.exp
12586 * gdb.base/stack-checking.exp
12587 * gdb.base/stale-infcall.exp
12588 * gdb.base/stap-probe.exp
12589 * gdb.base/start.exp
12590 * gdb.base/step-break.exp
12591 * gdb.base/step-bt.exp
12592 * gdb.base/step-line.exp
12593 * gdb.base/step-over-exit.exp
12594 * gdb.base/step-over-syscall.exp
12595 * gdb.base/step-resume-infcall.exp
12596 * gdb.base/step-test.exp
12597 * gdb.base/store.exp
12598 * gdb.base/structs3.exp
12599 * gdb.base/sym-file.exp
12600 * gdb.base/symbol-without-target_section.exp
12601 * gdb.base/term.exp
12602 * gdb.base/testenv.exp
12603 * gdb.base/ui-redirect.exp
12604 * gdb.base/until.exp
12605 * gdb.base/unwindonsignal.exp
12606 * gdb.base/value-double-free.exp
12607 * gdb.base/vla-datatypes.exp
12608 * gdb.base/vla-ptr.exp
12609 * gdb.base/vla-sideeffect.exp
12610 * gdb.base/volatile.exp
12611 * gdb.base/watch-cond-infcall.exp
12612 * gdb.base/watch-cond.exp
12613 * gdb.base/watch-non-mem.exp
12614 * gdb.base/watch-read.exp
12615 * gdb.base/watch-vfork.exp
12616 * gdb.base/watchpoint-cond-gone.exp
12617 * gdb.base/watchpoint-delete.exp
12618 * gdb.base/watchpoint-hw-hit-once.exp
12619 * gdb.base/watchpoint-hw.exp
12620 * gdb.base/watchpoint-stops-at-right-insn.exp
12621 * gdb.base/watchpoints.exp
12622 * gdb.base/wchar.exp
12623 * gdb.base/whatis-exp.exp
12624 * gdb.btrace/buffer-size.exp
12625 * gdb.btrace/data.exp
12626 * gdb.btrace/delta.exp
12627 * gdb.btrace/dlopen.exp
12628 * gdb.btrace/enable.exp
12629 * gdb.btrace/exception.exp
12630 * gdb.btrace/function_call_history.exp
12631 * gdb.btrace/gcore.exp
12632 * gdb.btrace/instruction_history.exp
12633 * gdb.btrace/nohist.exp
12634 * gdb.btrace/reconnect.exp
12635 * gdb.btrace/record_goto-step.exp
12636 * gdb.btrace/record_goto.exp
12637 * gdb.btrace/rn-dl-bind.exp
12638 * gdb.btrace/segv.exp
12639 * gdb.btrace/step.exp
12640 * gdb.btrace/stepi.exp
12641 * gdb.btrace/tailcall-only.exp
12642 * gdb.btrace/tailcall.exp
12643 * gdb.btrace/tsx.exp
12644 * gdb.btrace/unknown_functions.exp
12645 * gdb.btrace/vdso.exp
12646 * gdb.compile/compile-ifunc.exp
12647 * gdb.compile/compile-ops.exp
12648 * gdb.compile/compile-print.exp
12649 * gdb.compile/compile-setjmp.exp
12650 * gdb.cp/abstract-origin.exp
12651 * gdb.cp/ambiguous.exp
12652 * gdb.cp/annota2.exp
12653 * gdb.cp/annota3.exp
12654 * gdb.cp/anon-ns.exp
12655 * gdb.cp/anon-struct.exp
12656 * gdb.cp/anon-union.exp
12657 * gdb.cp/arg-reference.exp
12658 * gdb.cp/baseenum.exp
12659 * gdb.cp/bool.exp
12660 * gdb.cp/breakpoint.exp
12661 * gdb.cp/bs15503.exp
12662 * gdb.cp/call-c.exp
12663 * gdb.cp/casts.exp
12664 * gdb.cp/chained-calls.exp
12665 * gdb.cp/class2.exp
12666 * gdb.cp/classes.exp
12667 * gdb.cp/cmpd-minsyms.exp
12668 * gdb.cp/converts.exp
12669 * gdb.cp/cp-relocate.exp
12670 * gdb.cp/cpcompletion.exp
12671 * gdb.cp/cpexprs.exp
12672 * gdb.cp/cplabel.exp
12673 * gdb.cp/cplusfuncs.exp
12674 * gdb.cp/cpsizeof.exp
12675 * gdb.cp/ctti.exp
12676 * gdb.cp/derivation.exp
12677 * gdb.cp/destrprint.exp
12678 * gdb.cp/dispcxx.exp
12679 * gdb.cp/enum-class.exp
12680 * gdb.cp/exception.exp
12681 * gdb.cp/exceptprint.exp
12682 * gdb.cp/expand-psymtabs-cxx.exp
12683 * gdb.cp/expand-sals.exp
12684 * gdb.cp/extern-c.exp
12685 * gdb.cp/filename.exp
12686 * gdb.cp/formatted-ref.exp
12687 * gdb.cp/fpointer.exp
12688 * gdb.cp/gdb1355.exp
12689 * gdb.cp/gdb2495.exp
12690 * gdb.cp/hang.exp
12691 * gdb.cp/impl-this.exp
12692 * gdb.cp/infcall-dlopen.exp
12693 * gdb.cp/inherit.exp
12694 * gdb.cp/iostream.exp
12695 * gdb.cp/koenig.exp
12696 * gdb.cp/local.exp
12697 * gdb.cp/m-data.exp
12698 * gdb.cp/m-static.exp
12699 * gdb.cp/mb-ctor.exp
12700 * gdb.cp/mb-inline.exp
12701 * gdb.cp/mb-templates.exp
12702 * gdb.cp/member-name.exp
12703 * gdb.cp/member-ptr.exp
12704 * gdb.cp/meth-typedefs.exp
12705 * gdb.cp/method.exp
12706 * gdb.cp/method2.exp
12707 * gdb.cp/minsym-fallback.exp
12708 * gdb.cp/misc.exp
12709 * gdb.cp/namelessclass.exp
12710 * gdb.cp/namespace-enum.exp
12711 * gdb.cp/namespace-nested-import.exp
12712 * gdb.cp/namespace.exp
12713 * gdb.cp/nextoverthrow.exp
12714 * gdb.cp/no-dmgl-verbose.exp
12715 * gdb.cp/non-trivial-retval.exp
12716 * gdb.cp/noparam.exp
12717 * gdb.cp/nsdecl.exp
12718 * gdb.cp/nsimport.exp
12719 * gdb.cp/nsnested.exp
12720 * gdb.cp/nsnoimports.exp
12721 * gdb.cp/nsrecurs.exp
12722 * gdb.cp/nsstress.exp
12723 * gdb.cp/nsusing.exp
12724 * gdb.cp/operator.exp
12725 * gdb.cp/oranking.exp
12726 * gdb.cp/overload-const.exp
12727 * gdb.cp/overload.exp
12728 * gdb.cp/ovldbreak.exp
12729 * gdb.cp/ovsrch.exp
12730 * gdb.cp/paren-type.exp
12731 * gdb.cp/parse-lang.exp
12732 * gdb.cp/pass-by-ref.exp
12733 * gdb.cp/pr-1023.exp
12734 * gdb.cp/pr-1210.exp
12735 * gdb.cp/pr-574.exp
12736 * gdb.cp/pr10687.exp
12737 * gdb.cp/pr12028.exp
12738 * gdb.cp/pr17132.exp
12739 * gdb.cp/pr17494.exp
12740 * gdb.cp/pr9067.exp
12741 * gdb.cp/pr9167.exp
12742 * gdb.cp/pr9631.exp
12743 * gdb.cp/printmethod.exp
12744 * gdb.cp/psmang.exp
12745 * gdb.cp/psymtab-parameter.exp
12746 * gdb.cp/ptype-cv-cp.exp
12747 * gdb.cp/ptype-flags.exp
12748 * gdb.cp/re-set-overloaded.exp
12749 * gdb.cp/ref-types.exp
12750 * gdb.cp/rtti.exp
12751 * gdb.cp/scope-err.exp
12752 * gdb.cp/shadow.exp
12753 * gdb.cp/smartp.exp
12754 * gdb.cp/static-method.exp
12755 * gdb.cp/static-print-quit.exp
12756 * gdb.cp/temargs.exp
12757 * gdb.cp/templates.exp
12758 * gdb.cp/try_catch.exp
12759 * gdb.cp/typedef-operator.exp
12760 * gdb.cp/typeid.exp
12761 * gdb.cp/userdef.exp
12762 * gdb.cp/using-crash.exp
12763 * gdb.cp/var-tag.exp
12764 * gdb.cp/virtbase.exp
12765 * gdb.cp/virtfunc.exp
12766 * gdb.cp/virtfunc2.exp
12767 * gdb.cp/vla-cxx.exp
12768 * gdb.disasm/t01_mov.exp
12769 * gdb.disasm/t02_mova.exp
12770 * gdb.disasm/t03_add.exp
12771 * gdb.disasm/t04_sub.exp
12772 * gdb.disasm/t05_cmp.exp
12773 * gdb.disasm/t06_ari2.exp
12774 * gdb.disasm/t07_ari3.exp
12775 * gdb.disasm/t08_or.exp
12776 * gdb.disasm/t09_xor.exp
12777 * gdb.disasm/t10_and.exp
12778 * gdb.disasm/t11_logs.exp
12779 * gdb.disasm/t12_bit.exp
12780 * gdb.disasm/t13_otr.exp
12781 * gdb.dlang/circular.exp
12782 * gdb.dwarf2/arr-stride.exp
12783 * gdb.dwarf2/arr-subrange.exp
12784 * gdb.dwarf2/atomic-type.exp
12785 * gdb.dwarf2/bad-regnum.exp
12786 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12787 * gdb.dwarf2/callframecfa.exp
12788 * gdb.dwarf2/clztest.exp
12789 * gdb.dwarf2/corrupt.exp
12790 * gdb.dwarf2/data-loc.exp
12791 * gdb.dwarf2/dup-psym.exp
12792 * gdb.dwarf2/dw2-anon-mptr.exp
12793 * gdb.dwarf2/dw2-anonymous-func.exp
12794 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12795 * gdb.dwarf2/dw2-bad-unresolved.exp
12796 * gdb.dwarf2/dw2-basic.exp
12797 * gdb.dwarf2/dw2-canonicalize-type.exp
12798 * gdb.dwarf2/dw2-case-insensitive.exp
12799 * gdb.dwarf2/dw2-common-block.exp
12800 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12801 * gdb.dwarf2/dw2-compressed.exp
12802 * gdb.dwarf2/dw2-const.exp
12803 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12804 * gdb.dwarf2/dw2-cu-size.exp
12805 * gdb.dwarf2/dw2-dup-frame.exp
12806 * gdb.dwarf2/dw2-entry-value.exp
12807 * gdb.dwarf2/dw2-icycle.exp
12808 * gdb.dwarf2/dw2-ifort-parameter.exp
12809 * gdb.dwarf2/dw2-inline-break.exp
12810 * gdb.dwarf2/dw2-inline-param.exp
12811 * gdb.dwarf2/dw2-intercu.exp
12812 * gdb.dwarf2/dw2-intermix.exp
12813 * gdb.dwarf2/dw2-lexical-block-bare.exp
12814 * gdb.dwarf2/dw2-linkage-name-trust.exp
12815 * gdb.dwarf2/dw2-minsym-in-cu.exp
12816 * gdb.dwarf2/dw2-noloc.exp
12817 * gdb.dwarf2/dw2-op-call.exp
12818 * gdb.dwarf2/dw2-op-out-param.exp
12819 * gdb.dwarf2/dw2-opt-structptr.exp
12820 * gdb.dwarf2/dw2-param-error.exp
12821 * gdb.dwarf2/dw2-producer.exp
12822 * gdb.dwarf2/dw2-ranges-base.exp
12823 * gdb.dwarf2/dw2-ref-missing-frame.exp
12824 * gdb.dwarf2/dw2-reg-undefined.exp
12825 * gdb.dwarf2/dw2-regno-invalid.exp
12826 * gdb.dwarf2/dw2-restore.exp
12827 * gdb.dwarf2/dw2-restrict.exp
12828 * gdb.dwarf2/dw2-single-line-discriminators.exp
12829 * gdb.dwarf2/dw2-strp.exp
12830 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12831 * gdb.dwarf2/dw2-unresolved.exp
12832 * gdb.dwarf2/dw2-var-zero-addr.exp
12833 * gdb.dwarf2/dw4-sig-types.exp
12834 * gdb.dwarf2/dwz.exp
12835 * gdb.dwarf2/dynarr-ptr.exp
12836 * gdb.dwarf2/enum-type.exp
12837 * gdb.dwarf2/gdb-index.exp
12838 * gdb.dwarf2/implptr-64bit.exp
12839 * gdb.dwarf2/implptr-optimized-out.exp
12840 * gdb.dwarf2/implptr.exp
12841 * gdb.dwarf2/implref-array.exp
12842 * gdb.dwarf2/implref-const.exp
12843 * gdb.dwarf2/implref-global.exp
12844 * gdb.dwarf2/implref-struct.exp
12845 * gdb.dwarf2/mac-fileno.exp
12846 * gdb.dwarf2/main-subprogram.exp
12847 * gdb.dwarf2/member-ptr-forwardref.exp
12848 * gdb.dwarf2/method-ptr.exp
12849 * gdb.dwarf2/missing-sig-type.exp
12850 * gdb.dwarf2/nonvar-access.exp
12851 * gdb.dwarf2/opaque-type-lookup.exp
12852 * gdb.dwarf2/pieces-optimized-out.exp
12853 * gdb.dwarf2/pieces.exp
12854 * gdb.dwarf2/pr10770.exp
12855 * gdb.dwarf2/pr13961.exp
12856 * gdb.dwarf2/staticvirtual.exp
12857 * gdb.dwarf2/subrange.exp
12858 * gdb.dwarf2/symtab-producer.exp
12859 * gdb.dwarf2/trace-crash.exp
12860 * gdb.dwarf2/typeddwarf.exp
12861 * gdb.dwarf2/valop.exp
12862 * gdb.dwarf2/watch-notconst.exp
12863 * gdb.fortran/array-element.exp
12864 * gdb.fortran/charset.exp
12865 * gdb.fortran/common-block.exp
12866 * gdb.fortran/complex.exp
12867 * gdb.fortran/derived-type-function.exp
12868 * gdb.fortran/derived-type.exp
12869 * gdb.fortran/logical.exp
12870 * gdb.fortran/module.exp
12871 * gdb.fortran/multi-dim.exp
12872 * gdb.fortran/nested-funcs.exp
12873 * gdb.fortran/print-formatted.exp
12874 * gdb.fortran/subarray.exp
12875 * gdb.fortran/vla-alloc-assoc.exp
12876 * gdb.fortran/vla-datatypes.exp
12877 * gdb.fortran/vla-history.exp
12878 * gdb.fortran/vla-ptr-info.exp
12879 * gdb.fortran/vla-ptype-sub.exp
12880 * gdb.fortran/vla-ptype.exp
12881 * gdb.fortran/vla-sizeof.exp
12882 * gdb.fortran/vla-type.exp
12883 * gdb.fortran/vla-value-sub-arbitrary.exp
12884 * gdb.fortran/vla-value-sub-finish.exp
12885 * gdb.fortran/vla-value-sub.exp
12886 * gdb.fortran/vla-value.exp
12887 * gdb.fortran/whatis_type.exp
12888 * gdb.go/chan.exp
12889 * gdb.go/handcall.exp
12890 * gdb.go/hello.exp
12891 * gdb.go/integers.exp
12892 * gdb.go/methods.exp
12893 * gdb.go/package.exp
12894 * gdb.go/strings.exp
12895 * gdb.go/types.exp
12896 * gdb.go/unsafe.exp
12897 * gdb.guile/scm-arch.exp
12898 * gdb.guile/scm-block.exp
12899 * gdb.guile/scm-breakpoint.exp
12900 * gdb.guile/scm-cmd.exp
12901 * gdb.guile/scm-disasm.exp
12902 * gdb.guile/scm-equal.exp
12903 * gdb.guile/scm-frame-args.exp
12904 * gdb.guile/scm-frame-inline.exp
12905 * gdb.guile/scm-frame.exp
12906 * gdb.guile/scm-iterator.exp
12907 * gdb.guile/scm-math.exp
12908 * gdb.guile/scm-objfile.exp
12909 * gdb.guile/scm-ports.exp
12910 * gdb.guile/scm-symbol.exp
12911 * gdb.guile/scm-symtab.exp
12912 * gdb.guile/scm-value-cc.exp
12913 * gdb.guile/types-module.exp
12914 * gdb.linespec/break-ask.exp
12915 * gdb.linespec/cpexplicit.exp
12916 * gdb.linespec/explicit.exp
12917 * gdb.linespec/keywords.exp
12918 * gdb.linespec/linespec.exp
12919 * gdb.linespec/ls-dollar.exp
12920 * gdb.linespec/ls-errs.exp
12921 * gdb.linespec/skip-two.exp
12922 * gdb.linespec/thread.exp
12923 * gdb.mi/mi-async.exp
12924 * gdb.mi/mi-basics.exp
12925 * gdb.mi/mi-break.exp
12926 * gdb.mi/mi-catch-load.exp
12927 * gdb.mi/mi-cli.exp
12928 * gdb.mi/mi-cmd-param-changed.exp
12929 * gdb.mi/mi-console.exp
12930 * gdb.mi/mi-detach.exp
12931 * gdb.mi/mi-disassemble.exp
12932 * gdb.mi/mi-eval.exp
12933 * gdb.mi/mi-file-transfer.exp
12934 * gdb.mi/mi-file.exp
12935 * gdb.mi/mi-fill-memory.exp
12936 * gdb.mi/mi-inheritance-syntax-error.exp
12937 * gdb.mi/mi-linespec-err-cp.exp
12938 * gdb.mi/mi-logging.exp
12939 * gdb.mi/mi-memory-changed.exp
12940 * gdb.mi/mi-read-memory.exp
12941 * gdb.mi/mi-record-changed.exp
12942 * gdb.mi/mi-reg-undefined.exp
12943 * gdb.mi/mi-regs.exp
12944 * gdb.mi/mi-return.exp
12945 * gdb.mi/mi-reverse.exp
12946 * gdb.mi/mi-simplerun.exp
12947 * gdb.mi/mi-solib.exp
12948 * gdb.mi/mi-stack.exp
12949 * gdb.mi/mi-stepi.exp
12950 * gdb.mi/mi-syn-frame.exp
12951 * gdb.mi/mi-until.exp
12952 * gdb.mi/mi-var-block.exp
12953 * gdb.mi/mi-var-child.exp
12954 * gdb.mi/mi-var-cmd.exp
12955 * gdb.mi/mi-var-cp.exp
12956 * gdb.mi/mi-var-display.exp
12957 * gdb.mi/mi-var-invalidate.exp
12958 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12959 * gdb.mi/mi-vla-fortran.exp
12960 * gdb.mi/mi-watch.exp
12961 * gdb.mi/mi2-var-child.exp
12962 * gdb.mi/user-selected-context-sync.exp
12963 * gdb.modula2/unbounded-array.exp
12964 * gdb.multi/dummy-frame-restore.exp
12965 * gdb.multi/multi-arch-exec.exp
12966 * gdb.multi/multi-arch.exp
12967 * gdb.multi/tids.exp
12968 * gdb.multi/watchpoint-multi.exp
12969 * gdb.opencl/callfuncs.exp
12970 * gdb.opencl/convs_casts.exp
12971 * gdb.opencl/datatypes.exp
12972 * gdb.opencl/operators.exp
12973 * gdb.opencl/vec_comps.exp
12974 * gdb.opt/clobbered-registers-O2.exp
12975 * gdb.opt/inline-break.exp
12976 * gdb.opt/inline-bt.exp
12977 * gdb.opt/inline-cmds.exp
12978 * gdb.opt/inline-locals.exp
12979 * gdb.pascal/case-insensitive-symbols.exp
12980 * gdb.pascal/floats.exp
12981 * gdb.pascal/gdb11492.exp
12982 * gdb.python/lib-types.exp
12983 * gdb.python/py-arch.exp
12984 * gdb.python/py-as-string.exp
12985 * gdb.python/py-bad-printers.exp
12986 * gdb.python/py-block.exp
12987 * gdb.python/py-breakpoint-create-fail.exp
12988 * gdb.python/py-breakpoint.exp
12989 * gdb.python/py-caller-is.exp
12990 * gdb.python/py-cmd.exp
12991 * gdb.python/py-explore-cc.exp
12992 * gdb.python/py-explore.exp
12993 * gdb.python/py-finish-breakpoint.exp
12994 * gdb.python/py-finish-breakpoint2.exp
12995 * gdb.python/py-frame-args.exp
12996 * gdb.python/py-frame-inline.exp
12997 * gdb.python/py-frame.exp
12998 * gdb.python/py-framefilter-mi.exp
12999 * gdb.python/py-infthread.exp
13000 * gdb.python/py-lazy-string.exp
13001 * gdb.python/py-linetable.exp
13002 * gdb.python/py-mi-events.exp
13003 * gdb.python/py-mi-objfile.exp
13004 * gdb.python/py-mi.exp
13005 * gdb.python/py-objfile.exp
13006 * gdb.python/py-pp-integral.exp
13007 * gdb.python/py-pp-maint.exp
13008 * gdb.python/py-pp-re-notag.exp
13009 * gdb.python/py-pp-registration.exp
13010 * gdb.python/py-recurse-unwind.exp
13011 * gdb.python/py-strfns.exp
13012 * gdb.python/py-symbol.exp
13013 * gdb.python/py-symtab.exp
13014 * gdb.python/py-sync-interp.exp
13015 * gdb.python/py-typeprint.exp
13016 * gdb.python/py-unwind-maint.exp
13017 * gdb.python/py-unwind.exp
13018 * gdb.python/py-value-cc.exp
13019 * gdb.python/py-xmethods.exp
13020 * gdb.reverse/amd64-tailcall-reverse.exp
13021 * gdb.reverse/break-precsave.exp
13022 * gdb.reverse/break-reverse.exp
13023 * gdb.reverse/consecutive-precsave.exp
13024 * gdb.reverse/consecutive-reverse.exp
13025 * gdb.reverse/finish-precsave.exp
13026 * gdb.reverse/finish-reverse-bkpt.exp
13027 * gdb.reverse/finish-reverse.exp
13028 * gdb.reverse/fstatat-reverse.exp
13029 * gdb.reverse/getresuid-reverse.exp
13030 * gdb.reverse/i386-precsave.exp
13031 * gdb.reverse/i386-reverse.exp
13032 * gdb.reverse/i386-sse-reverse.exp
13033 * gdb.reverse/i387-env-reverse.exp
13034 * gdb.reverse/i387-stack-reverse.exp
13035 * gdb.reverse/insn-reverse.exp
13036 * gdb.reverse/machinestate-precsave.exp
13037 * gdb.reverse/machinestate.exp
13038 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13039 * gdb.reverse/pipe-reverse.exp
13040 * gdb.reverse/readv-reverse.exp
13041 * gdb.reverse/recvmsg-reverse.exp
13042 * gdb.reverse/rerun-prec.exp
13043 * gdb.reverse/s390-mvcle.exp
13044 * gdb.reverse/step-precsave.exp
13045 * gdb.reverse/step-reverse.exp
13046 * gdb.reverse/time-reverse.exp
13047 * gdb.reverse/until-precsave.exp
13048 * gdb.reverse/until-reverse.exp
13049 * gdb.reverse/waitpid-reverse.exp
13050 * gdb.reverse/watch-precsave.exp
13051 * gdb.reverse/watch-reverse.exp
13052 * gdb.rust/generics.exp
13053 * gdb.rust/methods.exp
13054 * gdb.rust/modules.exp
13055 * gdb.rust/simple.exp
13056 * gdb.server/connect-with-no-symbol-file.exp
13057 * gdb.server/ext-attach.exp
13058 * gdb.server/ext-restart.exp
13059 * gdb.server/ext-wrapper.exp
13060 * gdb.server/file-transfer.exp
13061 * gdb.server/server-exec-info.exp
13062 * gdb.server/server-kill.exp
13063 * gdb.server/server-mon.exp
13064 * gdb.server/wrapper.exp
13065 * gdb.stabs/exclfwd.exp
13066 * gdb.stabs/gdb11479.exp
13067 * gdb.threads/clone-new-thread-event.exp
13068 * gdb.threads/corethreads.exp
13069 * gdb.threads/current-lwp-dead.exp
13070 * gdb.threads/dlopen-libpthread.exp
13071 * gdb.threads/gcore-thread.exp
13072 * gdb.threads/sigstep-threads.exp
13073 * gdb.threads/watchpoint-fork.exp
13074 * gdb.trace/actions-changed.exp
13075 * gdb.trace/backtrace.exp
13076 * gdb.trace/change-loc.exp
13077 * gdb.trace/circ.exp
13078 * gdb.trace/collection.exp
13079 * gdb.trace/disconnected-tracing.exp
13080 * gdb.trace/ftrace.exp
13081 * gdb.trace/mi-trace-frame-collected.exp
13082 * gdb.trace/mi-trace-unavailable.exp
13083 * gdb.trace/mi-traceframe-changed.exp
13084 * gdb.trace/mi-tsv-changed.exp
13085 * gdb.trace/no-attach-trace.exp
13086 * gdb.trace/passc-dyn.exp
13087 * gdb.trace/qtro.exp
13088 * gdb.trace/range-stepping.exp
13089 * gdb.trace/read-memory.exp
13090 * gdb.trace/save-trace.exp
13091 * gdb.trace/signal.exp
13092 * gdb.trace/status-stop.exp
13093 * gdb.trace/tfile.exp
13094 * gdb.trace/trace-break.exp
13095 * gdb.trace/trace-buffer-size.exp
13096 * gdb.trace/trace-condition.exp
13097 * gdb.trace/tracefile-pseudo-reg.exp
13098 * gdb.trace/tstatus.exp
13099 * gdb.trace/unavailable.exp
13100 * gdb.trace/while-dyn.exp
13101 * gdb.trace/while-stepping.exp
13102
34c41c68
DE
131032016-12-22 Doug Evans <xdje42@gmail.com>
13104
13105 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13106 and msymbols.
13107
16e69324
YQ
131082016-12-19 Yao Qi <yao.qi@linaro.org>
13109
13110 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13111 (test_with_self): Don't call do_steps_and_nexts, and remove
13112 code about stepping into xmalloc.
13113
f94f411b
YQ
131142016-12-09 Yao Qi <yao.qi@linaro.org>
13115
13116 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13117
131182016-12-09 Yao Qi <yao.qi@linaro.org>
13119
13120 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13121
f1b5deee
PA
131222016-12-09 Pedro Alves <palves@redhat.com>
13123
13124 * gdb.base/all-architectures-0.exp: New file.
13125 * gdb.base/all-architectures-1.exp: New file.
13126 * gdb.base/all-architectures-2.exp: New file.
13127 * gdb.base/all-architectures-3.exp: New file.
13128 * gdb.base/all-architectures-4.exp: New file.
13129 * gdb.base/all-architectures-5.exp: New file.
13130 * gdb.base/all-architectures-6.exp: New file.
13131 * gdb.base/all-architectures-7.exp: New file.
13132 * gdb.base/all-architectures.exp.in: New file.
13133
364ca42e
YQ
131342016-12-09 Yao Qi <yao.qi@linaro.org>
13135
13136 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13137
107c2d62
LM
131382016-12-02 Luis Machado <lgustavo@codesourcery.com>
13139
13140 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13141 possible.
13142 Remove useless pattern-matching code.
13143
df3ee9ca
PA
131442016-12-02 Pedro Alves <palves@redhat.com>
13145
13146 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13147 procedure.
13148 (top level): Call it.
13149
ec835369
PA
131502016-12-02 Pedro Alves <palves@redhat.com>
13151
13152 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13153 New procedure.
13154 (top level): Call it.
13155
01770bbd
PA
131562016-12-02 Pedro Alves <palves@redhat.com>
13157
13158 PR cli/20559
13159 * gdb.base/commands.exp (user_defined_command_args_eval): New
13160 procedure.
13161 (top level): Call it.
13162
008459ea
LM
131632016-12-02 Luis Machado <lgustavo@codesourcery.com>
13164
13165 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13166 timeout handling.
13167
0c1b455e
TT
131682016-12-02 Tom Tromey <tom@tromey.com>
13169
13170 * gdb.dwarf2/main-subprogram.c: New file.
13171 * gdb.dwarf2/main-subprogram.exp: New file.
13172
018572b8
LM
131732016-12-01 Luis Machado <lgustavo@codesourcery.com>
13174
13175 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13176 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13177 gdb_test_no_output for a couple of cases.
13178 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13179
84c93cd5
LM
131802016-12-01 Luis Machado <lgustavo@codesourcery.com>
13181
13182 Fix test names and standardize compilation error messages throughout
13183 the following files:
13184
13185 * gdb.ada/start.exp
13186 * gdb.arch/alpha-step.exp
13187 * gdb.arch/e500-prologue.exp
13188 * gdb.arch/ftrace-insn-reloc.exp
13189 * gdb.arch/gdb1291.exp
13190 * gdb.arch/gdb1431.exp
13191 * gdb.arch/gdb1558.exp
13192 * gdb.arch/i386-dr3-watch.exp
13193 * gdb.arch/i386-sse-stack-align.exp
13194 * gdb.arch/ia64-breakpoint-shadow.exp
13195 * gdb.arch/pa-nullify.exp
13196 * gdb.arch/powerpc-aix-prologue.exp
13197 * gdb.arch/thumb-bx-pc.exp
13198 * gdb.base/annota1.exp
13199 * gdb.base/annota3.exp
13200 * gdb.base/arrayidx.exp
13201 * gdb.base/assign.exp
13202 * gdb.base/attach.exp
13203 * gdb.base/auxv.exp
13204 * gdb.base/bang.exp
13205 * gdb.base/bfp-test.exp
13206 * gdb.base/bigcore.exp
13207 * gdb.base/bitfields2.exp
13208 * gdb.base/break-fun-addr.exp
13209 * gdb.base/break-probes.exp
13210 * gdb.base/call-rt-st.exp
13211 * gdb.base/callexit.exp
13212 * gdb.base/catch-fork-kill.exp
13213 * gdb.base/charset.exp
13214 * gdb.base/checkpoint.exp
13215 * gdb.base/comprdebug.exp
13216 * gdb.base/constvars.exp
13217 * gdb.base/coredump-filter.exp
13218 * gdb.base/cursal.exp
13219 * gdb.base/cvexpr.exp
13220 * gdb.base/detach.exp
13221 * gdb.base/display.exp
13222 * gdb.base/dmsym.exp
13223 * gdb.base/dprintf-pending.exp
13224 * gdb.base/dso2dso.exp
13225 * gdb.base/dtrace-probe.exp
13226 * gdb.base/dump.exp
13227 * gdb.base/enum_cond.exp
13228 * gdb.base/exe-lock.exp
13229 * gdb.base/exec-invalid-sysroot.exp
13230 * gdb.base/execl-update-breakpoints.exp
13231 * gdb.base/exprs.exp
13232 * gdb.base/fileio.exp
13233 * gdb.base/find.exp
13234 * gdb.base/finish.exp
13235 * gdb.base/fixsection.exp
13236 * gdb.base/foll-vfork.exp
13237 * gdb.base/frame-args.exp
13238 * gdb.base/gcore.exp
13239 * gdb.base/gdb1250.exp
13240 * gdb.base/global-var-nested-by-dso.exp
13241 * gdb.base/gnu-ifunc.exp
13242 * gdb.base/hashline1.exp
13243 * gdb.base/hashline2.exp
13244 * gdb.base/hashline3.exp
13245 * gdb.base/hbreak-in-shr-unsupported.exp
13246 * gdb.base/huge.exp
13247 * gdb.base/infcall-input.exp
13248 * gdb.base/info-fun.exp
13249 * gdb.base/info-shared.exp
13250 * gdb.base/jit-simple.exp
13251 * gdb.base/jit-so.exp
13252 * gdb.base/jit.exp
13253 * gdb.base/jump.exp
13254 * gdb.base/label.exp
13255 * gdb.base/lineinc.exp
13256 * gdb.base/logical.exp
13257 * gdb.base/longjmp.exp
13258 * gdb.base/macscp.exp
13259 * gdb.base/miscexprs.exp
13260 * gdb.base/new-ui-echo.exp
13261 * gdb.base/new-ui-pending-input.exp
13262 * gdb.base/new-ui.exp
13263 * gdb.base/nodebug.exp
13264 * gdb.base/nofield.exp
13265 * gdb.base/offsets.exp
13266 * gdb.base/overlays.exp
13267 * gdb.base/pending.exp
13268 * gdb.base/pointers.exp
13269 * gdb.base/pr11022.exp
13270 * gdb.base/printcmds.exp
13271 * gdb.base/prologue.exp
13272 * gdb.base/ptr-typedef.exp
13273 * gdb.base/realname-expand.exp
13274 * gdb.base/relativedebug.exp
13275 * gdb.base/relocate.exp
13276 * gdb.base/remote.exp
13277 * gdb.base/reread.exp
13278 * gdb.base/return2.exp
13279 * gdb.base/savedregs.exp
13280 * gdb.base/sep.exp
13281 * gdb.base/sepdebug.exp
13282 * gdb.base/sepsymtab.exp
13283 * gdb.base/set-inferior-tty.exp
13284 * gdb.base/setshow.exp
13285 * gdb.base/shlib-call.exp
13286 * gdb.base/sigaltstack.exp
13287 * gdb.base/siginfo-addr.exp
13288 * gdb.base/signals.exp
13289 * gdb.base/signull.exp
13290 * gdb.base/sigrepeat.exp
13291 * gdb.base/so-impl-ld.exp
13292 * gdb.base/solib-display.exp
13293 * gdb.base/solib-overlap.exp
13294 * gdb.base/solib-search.exp
13295 * gdb.base/solib-symbol.exp
13296 * gdb.base/structs.exp
13297 * gdb.base/structs2.exp
13298 * gdb.base/symtab-search-order.exp
13299 * gdb.base/twice.exp
13300 * gdb.base/unload.exp
13301 * gdb.base/varargs.exp
13302 * gdb.base/watchpoint-solib.exp
13303 * gdb.base/watchpoint.exp
13304 * gdb.base/whatis.exp
13305 * gdb.base/wrong_frame_bt_full.exp
13306 * gdb.btrace/dlopen.exp
13307 * gdb.cell/ea-standalone.exp
13308 * gdb.cell/ea-test.exp
13309 * gdb.cp/dispcxx.exp
13310 * gdb.cp/gdb2384.exp
13311 * gdb.cp/method2.exp
13312 * gdb.cp/nextoverthrow.exp
13313 * gdb.cp/pr10728.exp
13314 * gdb.disasm/am33.exp
13315 * gdb.disasm/h8300s.exp
13316 * gdb.disasm/mn10300.exp
13317 * gdb.disasm/sh3.exp
13318 * gdb.dwarf2/dw2-dir-file-name.exp
13319 * gdb.fortran/complex.exp
13320 * gdb.fortran/library-module.exp
13321 * gdb.guile/scm-pretty-print.exp
13322 * gdb.guile/scm-symbol.exp
13323 * gdb.guile/scm-type.exp
13324 * gdb.guile/scm-value.exp
13325 * gdb.linespec/linespec.exp
13326 * gdb.mi/gdb701.exp
13327 * gdb.mi/gdb792.exp
13328 * gdb.mi/mi-breakpoint-changed.exp
13329 * gdb.mi/mi-dprintf-pending.exp
13330 * gdb.mi/mi-dprintf.exp
13331 * gdb.mi/mi-exit-code.exp
13332 * gdb.mi/mi-pending.exp
13333 * gdb.mi/mi-solib.exp
13334 * gdb.mi/new-ui-mi-sync.exp
13335 * gdb.mi/pr11022.exp
13336 * gdb.mi/user-selected-context-sync.exp
13337 * gdb.opt/solib-intra-step.exp
13338 * gdb.python/py-events.exp
13339 * gdb.python/py-finish-breakpoint.exp
13340 * gdb.python/py-mi.exp
13341 * gdb.python/py-prettyprint.exp
13342 * gdb.python/py-shared.exp
13343 * gdb.python/py-symbol.exp
13344 * gdb.python/py-template.exp
13345 * gdb.python/py-type.exp
13346 * gdb.python/py-value.exp
13347 * gdb.reverse/solib-precsave.exp
13348 * gdb.reverse/solib-reverse.exp
13349 * gdb.server/solib-list.exp
13350 * gdb.stabs/weird.exp
13351 * gdb.threads/reconnect-signal.exp
13352 * gdb.threads/stepi-random-signal.exp
13353 * gdb.trace/actions.exp
13354 * gdb.trace/ax.exp
13355 * gdb.trace/backtrace.exp
13356 * gdb.trace/change-loc.exp
13357 * gdb.trace/deltrace.exp
13358 * gdb.trace/ftrace-lock.exp
13359 * gdb.trace/ftrace.exp
13360 * gdb.trace/infotrace.exp
13361 * gdb.trace/mi-tracepoint-changed.exp
13362 * gdb.trace/packetlen.exp
13363 * gdb.trace/passcount.exp
13364 * gdb.trace/pending.exp
13365 * gdb.trace/range-stepping.exp
13366 * gdb.trace/report.exp
13367 * gdb.trace/stap-trace.exp
13368 * gdb.trace/tfind.exp
13369 * gdb.trace/trace-break.exp
13370 * gdb.trace/trace-condition.exp
13371 * gdb.trace/trace-enable-disable.exp
13372 * gdb.trace/trace-mt.exp
13373 * gdb.trace/tracecmd.exp
13374 * gdb.trace/tspeed.exp
13375 * gdb.trace/tsv.exp
13376 * lib/perftest.exp
13377
fb9feb35
LM
133782016-12-01 Luis Machado <lgustavo@codesourcery.com>
13379
13380 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13381 with gdb_test_no_output.
13382 Use command as test name.
13383
cd2ddb6c
LM
133842016-12-01 Luis Machado <lgustavo@codesourcery.com>
13385
13386 Fix test names starting with uppercase throughout the files.
13387
13388 * gdb.ada/assign_1.exp
13389 * gdb.ada/boolean_expr.exp
13390 * gdb.base/arrayidx.exp
13391 * gdb.base/del.exp
13392 * gdb.base/gcore-buffer-overflow.exp
13393 * gdb.base/testenv.exp
13394 * gdb.compile/compile.exp
13395 * gdb.python/py-framefilter-invalidarg.exp
13396 * gdb.python/py-framefilter.exp
13397
bb95117e
LM
133982016-12-01 Luis Machado <lgustavo@codesourcery.com>
13399
13400 Fix test names starting with uppercase throughout the files.
13401
13402 * gdb.ada/array_return.exp
13403 * gdb.ada/expr_delims.exp
13404 * gdb.ada/mi_dyn_arr.exp
13405 * gdb.ada/mi_interface.exp
13406 * gdb.ada/mi_var_array.exp
13407 * gdb.ada/watch_arg.exp
13408 * gdb.arch/alpha-step.exp
13409 * gdb.arch/altivec-regs.exp
13410 * gdb.arch/e500-regs.exp
13411 * gdb.arch/powerpc-d128-regs.exp
13412 * gdb.base/arrayidx.exp
13413 * gdb.base/break.exp
13414 * gdb.base/checkpoint.exp
13415 * gdb.base/debug-expr.exp
13416 * gdb.base/dmsym.exp
13417 * gdb.base/radix.exp
13418 * gdb.base/sepdebug.exp
13419 * gdb.base/testenv.exp
13420 * gdb.base/watch_thread_num.exp
13421 * gdb.base/watchpoint-cond-gone.exp
13422 * gdb.cell/break.exp
13423 * gdb.cell/ea-cache.exp
13424 * gdb.compile/compile.exp
13425 * gdb.cp/gdb2495.exp
13426 * gdb.gdb/selftest.exp
13427 * gdb.gdb/xfullpath.exp
13428 * gdb.go/hello.exp
13429 * gdb.go/integers.exp
13430 * gdb.objc/basicclass.exp
13431 * gdb.pascal/hello.exp
13432 * gdb.pascal/integers.exp
13433 * gdb.python/py-breakpoint.exp
13434 * gdb.python/py-cmd.exp
13435 * gdb.python/py-linetable.exp
13436 * gdb.python/py-xmethods.exp
13437 * gdb.python/python.exp
13438 * gdb.reverse/consecutive-precsave.exp
13439 * gdb.reverse/finish-precsave.exp
13440 * gdb.reverse/i386-precsave.exp
13441 * gdb.reverse/machinestate-precsave.exp
13442 * gdb.reverse/sigall-precsave.exp
13443 * gdb.reverse/solib-precsave.exp
13444 * gdb.reverse/step-precsave.exp
13445 * gdb.reverse/until-precsave.exp
13446 * gdb.reverse/watch-precsave.exp
13447 * gdb.threads/leader-exit.exp
13448 * gdb.threads/pthreads.exp
13449 * gdb.threads/wp-replication.exp
13450 * gdb.trace/actions.exp
13451 * gdb.trace/mi-tsv-changed.exp
13452 * gdb.trace/tsv.exp
13453
de97fdd4
LM
134542016-12-01 Luis Machado <lgustavo@codesourcery.com>
13455
13456 Fix test names starting with uppercase throughout the files.
13457
13458 * gdb.arch/i386-bp_permanent.exp
13459 * gdb.arch/i386-gnu-cfi.exp
13460 * gdb.base/disasm-end-cu.exp
13461 * gdb.base/macscp.exp
13462 * gdb.base/pending.exp
13463 * gdb.base/watch_thread_num.exp
13464 * gdb.cp/exception.exp
13465 * gdb.cp/gdb2495.exp
13466 * gdb.cp/local.exp
13467 * gdb.python/py-evsignal.exp
13468 * gdb.python/python.exp
13469 * gdb.trace/tracecmd.exp
13470
9f058c10
LM
134712016-12-01 Luis Machado <lgustavo@codesourcery.com>
13472
13473 Fix test names starting with uppercase throughout the files.
13474
13475 * gdb.base/charset.exp
13476 * gdb.base/eval.exp
13477 * gdb.base/multi-forks.exp
13478 * gdb.guile/scm-progspace.exp
13479 * gdb.opencl/datatypes.exp
13480 * gdb.python/py-block.exp
13481 * gdb.python/py-function.exp
13482 * gdb.python/py-symbol.exp
13483 * gdb.python/py-symtab.exp
13484 * gdb.python/py-xmethods.exp
13485 * gdb.reverse/break-precsave.exp
13486 * gdb.reverse/break-reverse.exp
13487 * gdb.reverse/consecutive-precsave.exp
13488 * gdb.reverse/consecutive-reverse.exp
13489 * gdb.reverse/finish-precsave.exp
13490 * gdb.reverse/finish-reverse-bkpt.exp
13491 * gdb.reverse/finish-reverse.exp
13492 * gdb.reverse/fstatat-reverse.exp
13493 * gdb.reverse/getresuid-reverse.exp
13494 * gdb.reverse/i386-precsave.exp
13495 * gdb.reverse/i386-reverse.exp
13496 * gdb.reverse/i386-sse-reverse.exp
13497 * gdb.reverse/i387-stack-reverse.exp
13498 * gdb.reverse/insn-reverse.exp
13499 * gdb.reverse/machinestate-precsave.exp
13500 * gdb.reverse/machinestate.exp
13501 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13502 * gdb.reverse/pipe-reverse.exp
13503 * gdb.reverse/readv-reverse.exp
13504 * gdb.reverse/recvmsg-reverse.exp
13505 * gdb.reverse/rerun-prec.exp
13506 * gdb.reverse/s390-mvcle.exp
13507 * gdb.reverse/sigall-precsave.exp
13508 * gdb.reverse/sigall-reverse.exp
13509 * gdb.reverse/solib-precsave.exp
13510 * gdb.reverse/solib-reverse.exp
13511 * gdb.reverse/step-precsave.exp
13512 * gdb.reverse/step-reverse.exp
13513 * gdb.reverse/time-reverse.exp
13514 * gdb.reverse/until-precsave.exp
13515 * gdb.reverse/until-reverse.exp
13516 * gdb.reverse/waitpid-reverse.exp
13517 * gdb.reverse/watch-precsave.exp
13518 * gdb.reverse/watch-reverse.exp
13519
cdc7edd7
LM
135202016-12-01 Luis Machado <lgustavo@codesourcery.com>
13521
13522 Fix test names starting with uppercase throughout the files.
13523
13524 * gdb.arch/i386-mpx-simple_segv.exp
13525 * gdb.arch/i386-mpx.exp
13526 * gdb.arch/i386-permbkpt.exp
13527 * gdb.arch/pa-nullify.exp
13528 * gdb.arch/powerpc-d128-regs.exp
13529 * gdb.arch/vsx-regs.exp
13530 * gdb.base/bfp-test.exp
13531 * gdb.base/break.exp
13532 * gdb.base/breakpoint-shadow.exp
13533 * gdb.base/callfuncs.exp
13534 * gdb.base/charset.exp
13535 * gdb.base/commands.exp
13536 * gdb.base/completion.exp
13537 * gdb.base/dfp-test.exp
13538 * gdb.base/echo.exp
13539 * gdb.base/ending-run.exp
13540 * gdb.base/eval.exp
13541 * gdb.base/expand-psymtabs.exp
13542 * gdb.base/float128.exp
13543 * gdb.base/floatn.exp
13544 * gdb.base/foll-exec-mode.exp
13545 * gdb.base/gdb1056.exp
13546 * gdb.base/gdb11531.exp
13547 * gdb.base/kill-after-signal.exp
13548 * gdb.base/multi-forks.exp
13549 * gdb.base/overlays.exp
13550 * gdb.base/pending.exp
13551 * gdb.base/sepdebug.exp
13552 * gdb.base/testenv.exp
13553 * gdb.base/valgrind-db-attach.exp
13554 * gdb.base/watch_thread_num.exp
13555 * gdb.base/watchpoint-cond-gone.exp
13556 * gdb.base/watchpoint.exp
13557 * gdb.base/watchpoints.exp
13558 * gdb.cp/arg-reference.exp
13559 * gdb.cp/baseenum.exp
13560 * gdb.cp/operator.exp
13561 * gdb.cp/shadow.exp
13562 * gdb.dwarf2/dw2-op-out-param.exp
13563 * gdb.dwarf2/dw2-reg-undefined.exp
13564 * gdb.go/chan.exp
13565 * gdb.go/hello.exp
13566 * gdb.go/integers.exp
13567 * gdb.go/methods.exp
13568 * gdb.go/package.exp
13569 * gdb.guile/scm-parameter.exp
13570 * gdb.guile/scm-progspace.exp
13571 * gdb.guile/scm-value.exp
13572 * gdb.mi/mi-pending.exp
13573 * gdb.mi/user-selected-context-sync.exp
13574 * gdb.multi/multi-attach.exp
13575 * gdb.multi/tids.exp
13576 * gdb.opt/clobbered-registers-O2.exp
13577 * gdb.pascal/floats.exp
13578 * gdb.pascal/integers.exp
13579 * gdb.python/py-block.exp
13580 * gdb.python/py-events.exp
13581 * gdb.python/py-parameter.exp
13582 * gdb.python/py-symbol.exp
13583 * gdb.python/py-symtab.exp
13584 * gdb.python/py-type.exp
13585 * gdb.python/py-value.exp
13586 * gdb.python/py-xmethods.exp
13587 * gdb.python/python.exp
13588 * gdb.reverse/break-precsave.exp
13589 * gdb.reverse/consecutive-precsave.exp
13590 * gdb.reverse/finish-precsave.exp
13591 * gdb.reverse/i386-precsave.exp
13592 * gdb.reverse/machinestate-precsave.exp
13593 * gdb.reverse/sigall-precsave.exp
13594 * gdb.reverse/solib-precsave.exp
13595 * gdb.reverse/step-precsave.exp
13596 * gdb.reverse/until-precsave.exp
13597 * gdb.reverse/watch-precsave.exp
13598 * gdb.server/ext-attach.exp
13599 * gdb.server/ext-restart.exp
13600 * gdb.server/ext-run.exp
13601 * gdb.server/ext-wrapper.exp
13602 * gdb.stabs/gdb11479.exp
13603 * gdb.stabs/weird.exp
13604 * gdb.threads/attach-many-short-lived-threads.exp
13605 * gdb.threads/kill.exp
13606 * gdb.threads/watchpoint-fork.exp
13607
bc6c7af4
LM
136082016-12-01 Luis Machado <lgustavo@codesourcery.com>
13609
13610 Fix test names starting with uppercase throughout all the files below.
13611
13612 * gdb.ada/array_return.exp
13613 * gdb.ada/catch_ex.exp
13614 * gdb.ada/info_exc.exp
13615 * gdb.ada/mi_catch_ex.exp
13616 * gdb.ada/mi_dyn_arr.exp
13617 * gdb.ada/mi_ex_cond.exp
13618 * gdb.ada/mi_exc_info.exp
13619 * gdb.ada/mi_interface.exp
13620 * gdb.ada/mi_task_arg.exp
13621 * gdb.ada/mi_task_info.exp
13622 * gdb.ada/mi_var_array.exp
13623 * gdb.arch/alpha-step.exp
13624 * gdb.arch/amd64-disp-step.exp
13625 * gdb.arch/arm-disp-step.exp
13626 * gdb.arch/disp-step-insn-reloc.exp
13627 * gdb.arch/e500-prologue.exp
13628 * gdb.arch/ftrace-insn-reloc.exp
13629 * gdb.arch/gdb1558.exp
13630 * gdb.arch/i386-bp_permanent.exp
13631 * gdb.arch/i386-disp-step.exp
13632 * gdb.arch/i386-float.exp
13633 * gdb.arch/i386-gnu-cfi.exp
13634 * gdb.arch/ia64-breakpoint-shadow.exp
13635 * gdb.arch/mips16-thunks.exp
13636 * gdb.arch/pa-nullify.exp
13637 * gdb.arch/powerpc-aix-prologue.exp
13638 * gdb.arch/powerpc-power.exp
13639 * gdb.arch/ppc-dfp.exp
13640 * gdb.arch/s390-tdbregs.exp
13641 * gdb.arch/spu-info.exp
13642 * gdb.arch/spu-ls.exp
13643 * gdb.arch/thumb-bx-pc.exp
13644 * gdb.base/advance.exp
13645 * gdb.base/annota-input-while-running.exp
13646 * gdb.base/arrayidx.exp
13647 * gdb.base/asmlabel.exp
13648 * gdb.base/async.exp
13649 * gdb.base/attach-wait-input.exp
13650 * gdb.base/auto-connect-native-target.exp
13651 * gdb.base/batch-preserve-term-settings.exp
13652 * gdb.base/bfp-test.exp
13653 * gdb.base/bigcore.exp
13654 * gdb.base/bp-permanent.exp
13655 * gdb.base/break-always.exp
13656 * gdb.base/break-fun-addr.exp
13657 * gdb.base/break-idempotent.exp
13658 * gdb.base/break-main-file-remove-fail.exp
13659 * gdb.base/break-probes.exp
13660 * gdb.base/break-unload-file.exp
13661 * gdb.base/break.exp
13662 * gdb.base/call-ar-st.exp
13663 * gdb.base/call-rt-st.exp
13664 * gdb.base/call-sc.exp
13665 * gdb.base/call-signal-resume.exp
13666 * gdb.base/call-strs.exp
13667 * gdb.base/callexit.exp
13668 * gdb.base/callfuncs.exp
13669 * gdb.base/catch-gdb-caused-signals.exp
13670 * gdb.base/catch-signal-siginfo-cond.exp
13671 * gdb.base/catch-syscall.exp
13672 * gdb.base/compare-sections.exp
13673 * gdb.base/cond-eval-mode.exp
13674 * gdb.base/condbreak-call-false.exp
13675 * gdb.base/consecutive-step-over.exp
13676 * gdb.base/cursal.exp
13677 * gdb.base/disabled-location.exp
13678 * gdb.base/disasm-end-cu.exp
13679 * gdb.base/display.exp
13680 * gdb.base/double-prompt-target-event-error.exp
13681 * gdb.base/dprintf-bp-same-addr.exp
13682 * gdb.base/dprintf-detach.exp
13683 * gdb.base/dprintf-next.exp
13684 * gdb.base/dprintf-non-stop.exp
13685 * gdb.base/dprintf-pending.exp
13686 * gdb.base/dso2dso.exp
13687 * gdb.base/ending-run.exp
13688 * gdb.base/enum_cond.exp
13689 * gdb.base/examine-backward.exp
13690 * gdb.base/exe-lock.exp
13691 * gdb.base/exec-invalid-sysroot.exp
13692 * gdb.base/execl-update-breakpoints.exp
13693 * gdb.base/execution-termios.exp
13694 * gdb.base/fileio.exp
13695 * gdb.base/fixsection.exp
13696 * gdb.base/foll-exec-mode.exp
13697 * gdb.base/foll-exec.exp
13698 * gdb.base/fork-running-state.exp
13699 * gdb.base/frame-args.exp
13700 * gdb.base/fullpath-expand.exp
13701 * gdb.base/func-ptr.exp
13702 * gdb.base/gcore-relro-pie.exp
13703 * gdb.base/gdb1090.exp
13704 * gdb.base/gdb1555.exp
13705 * gdb.base/global-var-nested-by-dso.exp
13706 * gdb.base/gnu-ifunc.exp
13707 * gdb.base/hbreak-in-shr-unsupported.exp
13708 * gdb.base/hbreak-unmapped.exp
13709 * gdb.base/hook-stop.exp
13710 * gdb.base/infcall-input.exp
13711 * gdb.base/info-fun.exp
13712 * gdb.base/info-shared.exp
13713 * gdb.base/interrupt-noterm.exp
13714 * gdb.base/jit-so.exp
13715 * gdb.base/jit.exp
13716 * gdb.base/line-symtabs.exp
13717 * gdb.base/list.exp
13718 * gdb.base/longjmp.exp
13719 * gdb.base/macscp.exp
13720 * gdb.base/max-value-size.exp
13721 * gdb.base/nodebug.exp
13722 * gdb.base/nofield.exp
13723 * gdb.base/overlays.exp
13724 * gdb.base/paginate-after-ctrl-c-running.exp
13725 * gdb.base/paginate-bg-execution.exp
13726 * gdb.base/paginate-inferior-exit.exp
13727 * gdb.base/pending.exp
13728 * gdb.base/pr11022.exp
13729 * gdb.base/printcmds.exp
13730 * gdb.base/ptr-typedef.exp
13731 * gdb.base/ptype.exp
13732 * gdb.base/randomize.exp
13733 * gdb.base/range-stepping.exp
13734 * gdb.base/realname-expand.exp
13735 * gdb.base/relativedebug.exp
13736 * gdb.base/remote.exp
13737 * gdb.base/savedregs.exp
13738 * gdb.base/sepdebug.exp
13739 * gdb.base/set-noassign.exp
13740 * gdb.base/shlib-call.exp
13741 * gdb.base/shreloc.exp
13742 * gdb.base/sigaltstack.exp
13743 * gdb.base/sigbpt.exp
13744 * gdb.base/siginfo-addr.exp
13745 * gdb.base/siginfo-obj.exp
13746 * gdb.base/siginfo-thread.exp
13747 * gdb.base/signest.exp
13748 * gdb.base/signull.exp
13749 * gdb.base/sigrepeat.exp
13750 * gdb.base/skip.exp
13751 * gdb.base/so-impl-ld.exp
13752 * gdb.base/solib-corrupted.exp
13753 * gdb.base/solib-disc.exp
13754 * gdb.base/solib-display.exp
13755 * gdb.base/solib-overlap.exp
13756 * gdb.base/solib-search.exp
13757 * gdb.base/solib-symbol.exp
13758 * gdb.base/source-execution.exp
13759 * gdb.base/sss-bp-on-user-bp-2.exp
13760 * gdb.base/sss-bp-on-user-bp.exp
13761 * gdb.base/stack-checking.exp
13762 * gdb.base/stale-infcall.exp
13763 * gdb.base/step-break.exp
13764 * gdb.base/step-line.exp
13765 * gdb.base/step-over-exit.exp
13766 * gdb.base/step-test.exp
13767 * gdb.base/structs.exp
13768 * gdb.base/sym-file.exp
13769 * gdb.base/symtab-search-order.exp
13770 * gdb.base/term.exp
13771 * gdb.base/type-opaque.exp
13772 * gdb.base/unload.exp
13773 * gdb.base/until-nodebug.exp
13774 * gdb.base/until.exp
13775 * gdb.base/unwindonsignal.exp
13776 * gdb.base/watch-cond.exp
13777 * gdb.base/watch-non-mem.exp
13778 * gdb.base/watch_thread_num.exp
13779 * gdb.base/watchpoint-reuse-slot.exp
13780 * gdb.base/watchpoint-solib.exp
13781 * gdb.base/watchpoint.exp
13782 * gdb.btrace/dlopen.exp
13783 * gdb.cell/arch.exp
13784 * gdb.cell/break.exp
13785 * gdb.cell/bt.exp
13786 * gdb.cell/core.exp
13787 * gdb.cell/data.exp
13788 * gdb.cell/dwarfaddr.exp
13789 * gdb.cell/ea-cache.exp
13790 * gdb.cell/ea-standalone.exp
13791 * gdb.cell/ea-test.exp
13792 * gdb.cell/f-regs.exp
13793 * gdb.cell/fork.exp
13794 * gdb.cell/gcore.exp
13795 * gdb.cell/mem-access.exp
13796 * gdb.cell/ptype.exp
13797 * gdb.cell/registers.exp
13798 * gdb.cell/sizeof.exp
13799 * gdb.cell/solib-symbol.exp
13800 * gdb.cell/solib.exp
13801 * gdb.compile/compile-tls.exp
13802 * gdb.cp/exception.exp
13803 * gdb.cp/gdb2495.exp
13804 * gdb.cp/local.exp
13805 * gdb.cp/mb-inline.exp
13806 * gdb.cp/mb-templates.exp
13807 * gdb.cp/pr10687.exp
13808 * gdb.cp/pr9167.exp
13809 * gdb.cp/scope-err.exp
13810 * gdb.cp/templates.exp
13811 * gdb.cp/virtfunc.exp
13812 * gdb.dwarf2/dw2-dir-file-name.exp
13813 * gdb.dwarf2/dw2-single-line-discriminators.exp
13814 * gdb.fortran/complex.exp
13815 * gdb.fortran/library-module.exp
13816 * gdb.guile/guile.exp
13817 * gdb.guile/scm-cmd.exp
13818 * gdb.guile/scm-frame-inline.exp
13819 * gdb.guile/scm-objfile.exp
13820 * gdb.guile/scm-pretty-print.exp
13821 * gdb.guile/scm-symbol.exp
13822 * gdb.guile/scm-type.exp
13823 * gdb.guile/scm-value.exp
13824 * gdb.linespec/keywords.exp
13825 * gdb.linespec/ls-errs.exp
13826 * gdb.linespec/macro-relative.exp
13827 * gdb.linespec/thread.exp
13828 * gdb.mi/mi-breakpoint-changed.exp
13829 * gdb.mi/mi-dprintf-pending.exp
13830 * gdb.mi/mi-fullname-deleted.exp
13831 * gdb.mi/mi-logging.exp
13832 * gdb.mi/mi-pending.exp
13833 * gdb.mi/mi-solib.exp
13834 * gdb.mi/new-ui-mi-sync.exp
13835 * gdb.mi/user-selected-context-sync.exp
13836 * gdb.multi/dummy-frame-restore.exp
13837 * gdb.multi/multi-arch-exec.exp
13838 * gdb.multi/remove-inferiors.exp
13839 * gdb.multi/watchpoint-multi-exit.exp
13840 * gdb.opt/solib-intra-step.exp
13841 * gdb.perf/backtrace.exp
13842 * gdb.perf/single-step.exp
13843 * gdb.perf/skip-command.exp
13844 * gdb.perf/skip-prologue.exp
13845 * gdb.perf/solib.exp
13846 * gdb.python/lib-types.exp
13847 * gdb.python/py-as-string.exp
13848 * gdb.python/py-bad-printers.exp
13849 * gdb.python/py-block.exp
13850 * gdb.python/py-breakpoint.exp
13851 * gdb.python/py-cmd.exp
13852 * gdb.python/py-events.exp
13853 * gdb.python/py-evthreads.exp
13854 * gdb.python/py-finish-breakpoint.exp
13855 * gdb.python/py-finish-breakpoint2.exp
13856 * gdb.python/py-frame-inline.exp
13857 * gdb.python/py-frame.exp
13858 * gdb.python/py-inferior.exp
13859 * gdb.python/py-infthread.exp
13860 * gdb.python/py-mi.exp
13861 * gdb.python/py-objfile.exp
13862 * gdb.python/py-pp-maint.exp
13863 * gdb.python/py-pp-registration.exp
13864 * gdb.python/py-prettyprint.exp
13865 * gdb.python/py-recurse-unwind.exp
13866 * gdb.python/py-shared.exp
13867 * gdb.python/py-symbol.exp
13868 * gdb.python/py-symtab.exp
13869 * gdb.python/py-template.exp
13870 * gdb.python/py-type.exp
13871 * gdb.python/py-unwind-maint.exp
13872 * gdb.python/py-unwind.exp
13873 * gdb.python/py-value.exp
13874 * gdb.python/python.exp
13875 * gdb.reverse/finish-reverse-bkpt.exp
13876 * gdb.reverse/insn-reverse.exp
13877 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13878 * gdb.reverse/solib-precsave.exp
13879 * gdb.reverse/solib-reverse.exp
13880 * gdb.stabs/gdb11479.exp
13881 * gdb.stabs/weird.exp
13882 * gdb.threads/fork-child-threads.exp
13883 * gdb.threads/fork-plus-threads.exp
13884 * gdb.threads/fork-thread-pending.exp
13885 * gdb.threads/forking-threads-plus-breakpoint.exp
13886 * gdb.threads/hand-call-in-threads.exp
13887 * gdb.threads/interrupted-hand-call.exp
13888 * gdb.threads/linux-dp.exp
13889 * gdb.threads/local-watch-wrong-thread.exp
13890 * gdb.threads/next-while-other-thread-longjmps.exp
13891 * gdb.threads/non-ldr-exit.exp
13892 * gdb.threads/pending-step.exp
13893 * gdb.threads/print-threads.exp
13894 * gdb.threads/process-dies-while-detaching.exp
13895 * gdb.threads/process-dies-while-handling-bp.exp
13896 * gdb.threads/pthreads.exp
13897 * gdb.threads/queue-signal.exp
13898 * gdb.threads/reconnect-signal.exp
13899 * gdb.threads/signal-command-handle-nopass.exp
13900 * gdb.threads/signal-command-multiple-signals-pending.exp
13901 * gdb.threads/signal-delivered-right-thread.exp
13902 * gdb.threads/signal-sigtrap.exp
13903 * gdb.threads/sigthread.exp
13904 * gdb.threads/staticthreads.exp
13905 * gdb.threads/stepi-random-signal.exp
13906 * gdb.threads/thread-unwindonsignal.exp
13907 * gdb.threads/thread_check.exp
13908 * gdb.threads/thread_events.exp
13909 * gdb.threads/tid-reuse.exp
13910 * gdb.threads/tls-nodebug.exp
13911 * gdb.threads/tls-shared.exp
13912 * gdb.threads/tls-so_extern.exp
13913 * gdb.threads/tls.exp
13914 * gdb.threads/wp-replication.exp
13915 * gdb.trace/actions-changed.exp
13916 * gdb.trace/actions.exp
13917 * gdb.trace/backtrace.exp
13918 * gdb.trace/change-loc.exp
13919 * gdb.trace/collection.exp
13920 * gdb.trace/deltrace.exp
13921 * gdb.trace/disconnected-tracing.exp
13922 * gdb.trace/entry-values.exp
13923 * gdb.trace/ftrace-lock.exp
13924 * gdb.trace/ftrace.exp
13925 * gdb.trace/infotrace.exp
13926 * gdb.trace/mi-trace-frame-collected.exp
13927 * gdb.trace/mi-trace-unavailable.exp
13928 * gdb.trace/mi-traceframe-changed.exp
13929 * gdb.trace/mi-tracepoint-changed.exp
13930 * gdb.trace/mi-tsv-changed.exp
13931 * gdb.trace/no-attach-trace.exp
13932 * gdb.trace/packetlen.exp
13933 * gdb.trace/passc-dyn.exp
13934 * gdb.trace/passcount.exp
13935 * gdb.trace/pending.exp
13936 * gdb.trace/pr16508.exp
13937 * gdb.trace/qtro.exp
13938 * gdb.trace/range-stepping.exp
13939 * gdb.trace/read-memory.exp
13940 * gdb.trace/report.exp
13941 * gdb.trace/save-trace.exp
13942 * gdb.trace/signal.exp
13943 * gdb.trace/stap-trace.exp
13944 * gdb.trace/status-stop.exp
13945 * gdb.trace/strace.exp
13946 * gdb.trace/tfile.exp
13947 * gdb.trace/tfind.exp
13948 * gdb.trace/trace-break.exp
13949 * gdb.trace/trace-condition.exp
13950 * gdb.trace/trace-enable-disable.exp
13951 * gdb.trace/trace-mt.exp
13952 * gdb.trace/tracecmd.exp
13953 * gdb.trace/tracefile-pseudo-reg.exp
13954 * gdb.trace/tspeed.exp
13955 * gdb.trace/tstatus.exp
13956 * gdb.trace/tsv.exp
13957 * gdb.trace/unavailable.exp
13958 * gdb.trace/while-dyn.exp
13959 * gdb.trace/while-stepping.exp
13960 * lib/gdb-guile.exp
13961 * lib/gdb.exp
13962 * lib/mi-support.exp
13963 * lib/pascal.exp
13964 * lib/perftest.exp
13965 * lib/prelink-support.exp
13966 * lib/selftest-support.exp
13967
ad02e4fe
SM
139682016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13969
13970 * Makefile.in: Include disable-implicit-rules.mk.
13971
22347e55
AA
139722016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13973
13974 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13975 non-byte-aligned bit fields.
13976
da5b30da
AA
139772016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13978
13979 PR gdb/12616
13980 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13981 respects the DW_AT_data_bit_offset attribute.
13982
b593ecca
SM
139832016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13984
13985 * gdb.base/default.exp: Fix output of "set language".
13986
3b165252
SM
139872016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13988
13989 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13990 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13991 make.
13992 * configure.ac: Remove checks for the make program.
13993 * configure: Re-generate.
13994
1a2f3d7f
KB
139952016-11-16 Kevin Buettner <kevinb@redhat.com>
13996
13997 * gdb.python/py-recurse-unwind.c (main): Add loop.
13998 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13999 to read_register() and gdb.parse_and_eval(). Make each code
14000 call a separate case that can be individually tested.
14001 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14002 proc. Call cont_and_backtrace for each of the code paths that
14003 we want to test in the unwinder.
14004
b7f38fda
AA
140052016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14006
14007 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14008 the definition of struct S.
14009
1f8db343
CM
140102016-11-11 Catherine Moore <clm@codesourcery.com>
14011
14012 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14013
fad0c9fb
PA
140142016-11-09 Pedro Alves <palves@redhat.com>
14015
14016 * gdb.base/commands.exp (runto_or_return): New procedure.
14017 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14018 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14019 (progvar_simple_while_test, progvar_complex_if_while_test)
14020 (if_while_breakpoint_command_test)
14021 (infrun_breakpoint_command_test, breakpoint_command_test)
14022 (user_defined_command_test, watchpoint_command_test)
14023 (test_command_prompt_position, redefine_hook_test)
14024 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14025 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14026 multi_line_input and multi_line. Remove gdb_expect and
14027 gdb_stop_suppressing_tests uses.
14028 * lib/gdb.exp (valnum_re): New global.
14029 (multi_line_input): New procedure.
14030
8354c62c
SM
140312016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14032
14033 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14034 Remove.
14035 (test_setup): Define with proc_with_prefix.
14036 (test_cli_inferior): Likewise.
14037 (test_cli_thread): Likewise.
14038 (test_cli_frame): Likewise.
14039 (test_cli_select_frame): Likewise.
14040 (test_cli_up_down): Likewise.
14041 (test_mi_thread_select): Likewise.
14042 (test_mi_stack_select_frame): Likewise.
14043 (test_cli_in_mi_inferior): Likewise.
14044 (test_cli_in_mi_thread): Likewise.
14045 (test_cli_in_mi_frame): Likewise.
14046 (top level): Do not use with_test_prefix_procname.
14047
64f367a2
PA
140482016-11-09 Pedro Alves <palves@redhat.com>
14049
14050 * gdb.base/commands.exp (gdbvar_simple_if_test)
14051 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14052 (progvar_simple_if_test, progvar_simple_while_test)
14053 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14054 (infrun_breakpoint_command_test, breakpoint_command_test)
14055 (user_defined_command_test, watchpoint_command_test)
14056 (test_command_prompt_position, deprecated_command_test)
14057 (bp_deleted_in_command, temporary_breakpoint_commands)
14058 (stray_arg0_test, source_file_with_indented_comment)
14059 (recursive_source_test, if_commands_test)
14060 (error_clears_commands_left, redefine_hook_test)
14061 (redefine_backtrace_test): Use proc_with_prefix.
14062 * lib/gdb.exp (proc_with_prefix): New proc.
14063
0bb65f1e
AA
140642016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14065
14066 * gdb.base/tui-layout.c: New file.
14067 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14068 disassembly window contains very long lines.
14069
7353f247
TT
140702016-11-08 Tom Tromey <tom@tromey.com>
14071
14072 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14073 depend on Python 2.
14074
30a7bb83
TT
140752016-11-08 Tom Tromey <tom@tromey.com>
14076
14077 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14078 New method.
14079
cdf5a07c
MG
140802016-10-29 Manish Goregaokar <manish@mozilla.com>
14081
2806dc7e 14082 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14083
51a789c3
MG
140842016-10-27 Manish Goregaokar <manish@mozilla.com>
14085
2806dc7e
PA
14086 * gdb.rust/simple.rs: Add test for univariant enums without
14087 discriminants and for encoded struct-like enums.
51a789c3 14088
f610ab6d
PA
140892016-10-28 Pedro Alves <palves@redhat.com>
14090
14091 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14092 gdb_test_multiple, tighten regexps and match symtabs and line
14093 tables incrementally.
14094
b129b0ca
LM
140952016-10-28 Luis Machado <lgustavo@codesourcery.com>
14096
14097 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14098 general.
14099
ecf45d2c
SL
141002016-10-25 Luis Machado <lgustavo@codesourcery.com>
14101
14102 * gdb.base/exec-invalid-sysroot.exp: New file.
14103
b8d38ee4
JK
141042016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14105
14106 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14107
f90fd8c2
JK
141082016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14109
14110 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14111
2d2476aa
MR
141122016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14113
2806dc7e
PA
14114 * gdb.base/killed-outside.exp: Remove $options from a call to
14115 `prepare_for_testing'.
2d2476aa 14116
e42b25a0
SM
141172016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14118
14119 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14120 Change test message.
14121
3ccdb432
SM
141222016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14123
14124 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14125 Update comment.
14126
5bad3170
SM
141272016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14128
14129 * gdb.trace/mi-trace-save.exp: New file.
14130
5ad9dba7
YQ
141312016-10-13 Yao Qi <yao.qi@linaro.org>
14132
14133 * gdb.base/code_elim.exp (get_var_address): Remove.
14134 * gdb.base/relocate.exp: Likewise.
14135 * gdb.base/shreloc.exp: Likewise.
14136 * lib/gdb.exp (get_var_address): New.
14137
62df7e21
YQ
141382016-10-13 Yao Qi <yao.qi@linaro.org>
14139
14140 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14141 floating point tests if $skip_float_test is false.
14142
4dac951e
LM
141432016-10-12 Luis Machado <lgustavo@codesourcery.com>
14144
14145 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14146 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14147 argc values.
14148 Add 1 to argc so we guarantee distinct initial/modified argc values.
14149
8f1a8fc4
JK
141502016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14151
14152 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14153
16c85b5d
JK
141542016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14155
14156 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14157 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14158 * gdb.arch/vsx-regs.exp: Likewise.
14159
1d0e042a
YQ
141602016-10-07 Yao Qi <yao.qi@linaro.org>
14161
14162 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14163
68dadef5
MM
141642016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14165
14166 * gdb.python/python.exp: Test decode_line("*0").
14167
33fa2c6e
DE
141682016-10-06 Doug Evans <dje@google.com>
14169
14170 * gdb.python/py-value.exp (test_value_creation): Add test for large
14171 unsigned 64-bit value.
14172
9c37b5ae
TT
141732016-10-06 Tom Tromey <tom@tromey.com>
14174
14175 * gdb.compile/compile.exp: Change java tests to rust.
14176 * gdb.base/setshow.exp: Change java tests to rust.
14177 * gdb.base/default.exp: Remove java from language list.
14178 * README (Examples): Update language example.
14179 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14180 test.
14181 * lib/gdb.exp (skip_java_tests): Remove.
14182 * lib/java.exp: Remove.
14183 * gdb.java: Remove.
14184
78b86327
MR
141852016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14186
14187 * gdb.arch/mips-fcr.exp: New test.
14188 * gdb.arch/mips-fcr.c: Source for the new test.
14189
7470adbb
MR
141902016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14191
14192 * gdb.base/solib-disc.exp: Use `standard_output_file'
14193 throughout.
14194
4a556533
PA
141952016-10-06 Pedro Alves <palves@redhat.com>
14196
14197 * gdb.base/jit-simple-dl.c: New file.
14198 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14199 * gdb.base/jit-simple.c: ... this.
14200 * gdb.base/jit-simple.exp (jit_run): Delete.
14201 (build_jit): New proc.
14202 (jit_test_reread): Recompile either the main program or the shared
14203 library, depending on what is being tested. Skip changing address
14204 if caller wants to. Compare before/after addresses. If testing
14205 standalone, explicitly load the binary. Test "maint info
14206 breakpoints".
14207 (top level): Add "standalone vs shared lib" and "change address"
14208 vs "same address" axes.
14209
5a122fbc
PA
142102016-10-06 Pedro Alves <palves@redhat.com>
14211
14212 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14213 call.
14214 (jit_run): Delete.
14215 (jit_test_reread): Use with_test_prefix. Reload the main binary
14216 explicitly. Compare the before/after addresses of the JIT
14217 descriptor.
14218
ee8da4b8
DE
142192016-08-15 Doug Evans <dje@google.com>
14220
14221 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14222 for single bitfields is bool.
14223 * gdb.xml/tdesc-regs.exp: Ditto.
14224
f389f6fe
JK
142252016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14226
14227 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14228
fdebf1a4
YQ
142292016-10-05 Yao Qi <yao.qi@linaro.org>
14230
14231 * lib/gdb.exp (support_complex_tests): Return zero if
14232 gdb_skip_float_test return true.
14233
9c36d954 142342016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14235 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14236
14237 PR gdb/20487
14238 * gdb.mi/user-selected-context-sync.exp: New file.
14239 * gdb.mi/user-selected-context-sync.c: New file.
14240
4034d0ff 142412016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14242 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14243
14244 PR gdb/20487
14245 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14246 =thread-select-event check.
14247
a4297203
PB
142482016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14249
14250 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14251 the compulsory L operand changes.
14252 * gdb.arch/powerpc-power.s: Likewise.
14253
bb805577
JK
142542016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14255
14256 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14257 * gdb.base/jit-attach-pie.c: New file.
14258 * gdb.base/jit-attach-pie.exp: New file.
14259
6d61dee5
PA
142602016-09-28 Pedro Alves <palves@redhat.com>
14261
14262 * gdb.base/infcall-input.c: New file.
14263 * gdb.base/infcall-input.exp: New file.
14264
f73842fc
YQ
142652016-09-22 Yao Qi <yao.qi@linaro.org>
14266
14267 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14268 (gdb_exit): Rename it to ...
14269 (gdbserver_gdb_exit): ... Close GDBserver.
14270 (gdb_exit): New proc, call gdbserver_gdb_exit.
14271 (mi_gdb_exit): Likewise.
14272
90681dab
YQ
142732016-09-22 Yao Qi <yao.qi@linaro.org>
14274
14275 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14276 path.
14277 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14278 Remove duplication.
14279
9c211fd8
YQ
142802016-09-22 Yao Qi <yao.qi@linaro.org>
14281
14282 * lib/gdbserver-support.exp: Check the existence of
14283 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14284
ad0a504f
AK
142852016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14286
14287 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14288
36cf1806
TT
142892016-09-21 Tom Tromey <tom@tromey.com>
14290
14291 PR gdb/20604:
14292 * gdb.base/quit.exp: New file.
14293
74172ecf
SM
142942016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14295
14296 * .gitignore: New file.
14297
3d0ec882
MR
142982016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14299
14300 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14301 throughout.
14302
8193adea
AA
143032016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14304
14305 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14306
d41a5c09
JK
143072016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14308
14309 * gdb.cp/casts.cc (decltype): Move it ...
14310 (main): ... with its call to ...
14311 * gdb.cp/casts03.cc: ... a new file.
14312 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14313
d2dfe700
JK
143142016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14315
14316 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14317
e2a92b16
PB
143182016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14319
14320 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14321 and sync up the test with tests in gas/testsuite/gas/ppc.
14322 * gdb.arch/powerpc-power.exp: Likewise.
14323
49b4de64
JK
143242016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14325
14326 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14327
2c29df25
SDJ
143282016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14329 Jan Kratochvil <jan.kratochvil@redhat.com>
14330
14331 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14332 make m1's definition to be different from m2's. Use 'dummy' as an
14333 argument for probe 'two'.
14334
cc3c2846
JB
143352016-09-10 Jon Beniston <jon@beniston.com>
14336
14337 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14338 for sim target.
14339
e1b2624a
AA
143402016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14341
14342 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14343 variable declaration.
14344 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14345 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14346 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14347 received HWCAP as its argument.
14348
4295e285
PA
143492016-09-06 Pedro Alves <palves@redhat.com>
14350
14351 * gdb.base/new-ui-pending-input.c: New file.
14352 * gdb.base/new-ui-pending-input.exp: New file.
14353 * gdb.exp (clear_gdb_spawn_id): New procedure.
14354 (with_spawn_id): Check whether gdb_spawn_id exists before
14355 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14356 on exit.
14357
00d5215e
UW
143582016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14359
14360 * gdb.base/float128.c: New file.
14361 * gdb.base/float128.exp: Likewise.
14362 * gdb.base/floatn.c: Likewise.
14363 * gdb.base/floatn.exp: Likewise.
14364
a9ff5f12
UW
143652016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14366
14367 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14368
f245535c
PA
143692016-09-05 Pedro Alves <palves@redhat.com>
14370
14371 PR backtrace/19927
14372 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14373 unwinders are immediately called as side effect of "source" or
14374 "disable unwinder" commands.
14375 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14376
ae9cf263
YQ
143772016-09-02 Yao Qi <yao.qi@linaro.org>
14378
14379 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14380 is true and $type is "float" or "double".
14381
27aba047
YQ
143822016-09-02 Yao Qi <yao.qi@linaro.org>
14383
14384 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14385 true.
14386 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14387 * gdb.base/call-rt-st.exp: Likewise.
14388 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14389 return value instead of gdb,skip_float_test.
14390 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14391 (do_function_calls): Use its return value instead of
14392 gdb,skip_float_test.
14393 * gdb.base/finish.exp: Likewise.
14394 * gdb.base/funcargs.exp: Likewise.
14395 * gdb.base/return.exp: Likewise.
14396 * gdb.base/return2.exp: Likewise.
14397 * gdb.base/varargs.exp: Likewise.
14398 * lib/gdb.exp (gdb_skip_float_test): Change it to
14399 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14400
5af962df
AA
144012016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14402
14403 * gdb.multi/tids.exp: Test "thread apply all".
14404
7fac6910
JK
144052016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14406
14407 * gdb.base/default.exp (tty): Remove.
14408
bb1fe4ac
KB
144092016-08-24 Kevin Buettner <kevinb@redhat.com>
14410
2806dc7e
PA
14411 * gdb.python/py-recurse-unwind.c: New file.
14412 * gdb.python/py-recurse-unwind.py: New file.
14413 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14414
0a1ddfa6
SM
144152016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14416
14417 * gdb.base/set-inferior-tty.exp: New file.
14418 * gdb.base/set-inferior-tty.c: New file.
14419
d9de1fe3
PA
144202016-08-23 Pedro Alves <palves@redhat.com>
14421
14422 PR gdb/20494
14423 * gdb.base/new-ui-echo.c: New file.
14424 * gdb.base/new-ui-echo.exp: New file.
14425
e9d9abd7
YQ
144262016-08-23 Yao Qi <yao.qi@linaro.org>
14427
14428 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14429 gdbserver_spawn.
14430 * gdb.server/connect-without-multi-process.exp (do_test):
14431 Likewise.
14432
3589529e
YQ
144332016-08-23 Yao Qi <yao.qi@linaro.org>
14434
14435 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14436 standalone_txt. Delete gdb_txt and standalone_txt on host
14437 and target. Spawn the binary on target. Copy files from
14438 target to host.
14439
6bb90213
PA
144402016-08-22 Pedro Alves <palves@redhat.com>
14441
14442 PR gdb/20505
14443 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14444 with_test_prefix. Factor out bits to ...
14445 (test_no_vdso): ... this new procedure.
14446
20c2c024
CL
144472016-08-19 Carl Love <cel@us.ibm.com>
14448
14449 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14450 maintaining separate logic for constructing the output path.
14451 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14452 * gdb.arch/ppc-dfp.exp: Likewise.
14453 * gdb.arch/ppc-fp.exp: Likewise.
14454 * gdb.arch/vsx-regs.exp: Likewise.
14455 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14456 binprefix for generating the additional binary files.
14457
0646e07d
PA
144582016-08-19 Pedro Alves <palves@redhat.com>
14459
14460 * gdb.trace/mi-trace-frame-collected.exp
14461 (test_trace_frame_collected): On x32, expect two registers.
14462
46da9242
CL
144632016-08-18 Carl Love <cel@us.ibm.com>
14464
14465 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14466 and sync up the test with tests in gas/testsuite/gas/ppc.
14467 * gdb.arch/powerpc-power.exp: Likewise.
14468
eb2332d7
SM
144692016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14470
14471 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14472 expected error message.
14473
63c61e04
SM
144742016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14475
14476 * gdb.multi/remove-inferiors.exp: New file.
14477 * gdb.multi/remove-inferiors.c: New file.
14478
7b17065f
YQ
144792016-08-12 Yao Qi <yao.qi@linaro.org>
14480
14481 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14482 argument list.
14483
01d3dedf
PA
144842016-08-10 Pedro Alves <palves@redhat.com>
14485
14486 PR gdb/19187
14487 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14488 setup_kfails.
14489
3eb7562a
PA
144902016-08-09 Pedro Alves <palves@redhat.com>
14491 Simon Marchi <simon.marchi@ericsson.com>
14492
14493 PR gdb/20418
14494 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14495 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14496
80614914
PA
144972016-08-09 Pedro Alves <palves@redhat.com>
14498
14499 PR mi/20431
14500 * gdb.mi/mi-cmd-error.exp: New file.
14501
f348d89a
PA
145022016-08-09 Pedro Alves <palves@redhat.com>
14503
14504 PR gdb/18653
14505 * gdb.base/signals-state-child.c: New file.
14506 * gdb.base/signals-state-child.exp: New file.
14507 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14508
e5ca03b4
PA
145092016-08-09 Pedro Alves <palves@redhat.com>
14510
14511 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14512
282a0691
TT
145132016-08-03 Tom Tromey <tom@tromey.com>
14514
14515 PR python/18565:
14516 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14517
41bfcd63
YQ
145182016-08-01 Yao Qi <yao.qi@linaro.org>
14519
14520 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14521 variable mode to "multi-process" if $multi_process is 1, otherwise
14522 set it to "single-process".
14523
e3465b24
YQ
145242016-08-01 Yao Qi <yao.qi@linaro.org>
14525
14526 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14527 * gdb.cp/cpexprs.exp: Likewise.
14528 * gdb.cp/m-static.exp: Likewise.
14529
0b31a4bc
TT
145302016-07-26 Tom Tromey <tom@tromey.com>
14531
14532 PR python/20190:
14533 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14534 test.
14535
e0461dbb
MM
145362016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14537
14538 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14539 selecting assembly source files.
14540 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14541 assembly source files.
14542 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14543 assembly source files.
14544 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14545 selecting assembly source files.
14546
8194e927
SM
145472016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14548
14549 * gdb.base/new-ui.exp (do_test_invalid_args): New
14550 procedure.
14551
c0272db5
TW
145522016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14553
14554 * gdb.btrace/reconnect.c: New file.
14555 * gdb.btrace/reconnect.exp: New file.
14556
e3487908
GKB
145572016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14558
14559 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14560 to test_catch_syscall_group.
14561 (test_catch_syscall_group): New.
14562
12df5c00
TT
145632016-07-21 Tom Tromey <tom@tromey.com>
14564
14565 * gdb.rust/simple.rs (main): Use empty struct expression.
14566 * gdb.rust/simple.exp: Add tests for empty struct expression.
14567
bae62ee2
YQ
145682016-07-21 Yao Qi <yao.qi@linaro.org>
14569
14570 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14571 if gdb_skip_xml_test is true on some targets.
14572
b1b53fb3
YQ
145732016-07-21 Yao Qi <yao.qi@linaro.org>
14574
14575 * gdb.server/solib-list.exp: Unset last_loaded_file.
14576
027d97f8
JK
145772016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14578
14579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14580 "step into captured_main (args)".
14581
7674d381
JK
145822016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14583
14584 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14585
72b5d099
JK
145862016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14587
14588 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14589
1f960ced
PA
145902016-07-19 Pedro Alves <palves@redhat.com>
14591
14592 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14593 * gdb.opt/inline-bt.exp: Likewise.
14594 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14595 additional_flags=-Winline.
14596 * gdb.opt/inline-locals.exp: Likewise.
14597 * gdb.opt/inline-markers.c (ATTR): Define.
14598 (inlined_fn): Use it.
14599
f25827c1
YQ
146002016-07-19 Yao Qi <yao.qi@linaro.org>
14601
14602 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14603 (test_with_self): Remove some code. Remove argument executable.
14604 (top-level): Use do_self_tests.
14605
37539ebe
DB
146062016-07-15 Zachary Welch <zwelch@codesourcery.com>
14607 Don Breazeal <donb@codesourcery.com>
14608
14609 * gdb.base/maint.exp: Escape paths used in regular expressions.
14610 * gdb.stabs/weird.exp: Likewise.
14611
dac790e1
TT
146122016-07-13 Tom Tromey <tom@tromey.com>
14613
14614 PR python/15620, PR python/18620:
14615 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14616 (test_bkpt_events): New procs.
14617
93daf339
TT
146182016-07-13 Tom Tromey <tom@tromey.com>
14619
14620 PR python/17698:
14621 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14622 test.
14623 (test_watchpoints): Likewise.
14624 (test_bkpt_pending): New proc.
14625
6571a381
TT
146262016-07-13 Tom Tromey <tom@tromey.com>
14627
14628 PR cli/18053:
14629 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14630 completion test.
14631
e8732474
JK
146322016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14633
14634 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14635 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14636 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14637 f_label.
14638 (g): Rename g_end_lbl to g_label.
14639 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14640 low_pc and high_pc.
14641 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14642
e0f3fd7c
TT
146432016-07-12 Tom Tromey <tom@tromey.com>
14644
14645 PR python/19293:
14646 * gdb.python/py-unwind-maint.exp: Update tests.
14647
3cfe46b6
YQ
146482016-07-12 Yao Qi <yao.qi@linaro.org>
14649
14650 * lib/selftest-support.exp (selftest_setup): Match the output
14651 when captured_main is inlined.
14652
4f19a0e6
WT
146532016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14654
14655 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14656 New variables.
14657 (print this%a, print this%b, print this): New tests.
14658 * gdb.fortran/derived-types.f90 (this): New object and
14659 initialization.
14660
986cf455
SM
146612016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14662
14663 * gdb.ada/arraydim.exp: Remove extra directory level in build
14664 directory.
14665
f0464b23
SM
146662016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14667
14668 * lib/ada.exp: Remove extra directory level in build directory.
14669 * gdb.ada/cond_lang.exp: Likewise.
14670 * gdb.ada/exec_changed.exp: Likewise.
14671 * gdb.ada/lang_switch.exp: Likewise.
14672
42d94011
MG
146732016-07-06 Manish Goregaokar <manish@mozilla.com>
14674
2806dc7e
PA
14675 * simple.rs: Add test for raw pointer subscripting.
14676 * simple.exp: Add test expectations.
42d94011 14677
647c264c
YQ
146782016-07-05 Yao Qi <yao.qi@linaro.org>
14679
14680 * gdb.mi/mi-reverse.exp: Match =record-started output.
14681
20aa2c60
PA
146822016-07-01 Pedro Alves <palves@redhat.com>
14683
14684 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14685 procedure.
14686 (jit_reader_test): Test the jit reader's unwinder.
14687 * gdb.base/jithost.c (jit_function_00_code): New global.
14688 (main): Use memcpy to fill in the mmapped code, instead of poking
14689 bytes manually here.
14690 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14691 value.
14692 (read_debug_info): Save the function's range.
14693 (read_sp): New function.
14694 (unwind_frame): Use it. Also unwind RBP.
14695 (get_frame_id): Use read_sp.
14696 (gdb_init_reader): Use calloc instead of malloc.
14697 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14698 parameter. Use gdb_test_multiple.
14699
ced2dffb
PA
147002016-07-01 Pedro Alves <palves@redhat.com>
14701 Antoine Tremblay <antoine.tremblay@ericsson.com>
14702
14703 * gdb.threads/process-dies-while-detaching.c: New file.
14704 * gdb.threads/process-dies-while-detaching.exp: New file.
14705
63000888
PA
147062016-07-01 Pedro Alves <palves@redhat.com>
14707
14708 * gdb.multi/watchpoint-multi-exit.c: New file.
14709 * gdb.multi/watchpoint-multi-exit.exp: New file.
14710
038d4868
PA
147112016-06-30 Pedro Alves <palves@redhat.com>
14712
14713 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14714 unset inferior_spawn_id.
14715
994e9c83
PA
147162016-06-30 Pedro Alves <palves@redhat.com>
14717
14718 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14719 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14720
e5653468
YQ
147212016-06-29 Yao Qi <yao.qi@linaro.org>
14722
14723 * gdb.base/return.c: Add copyright header.
14724
803b47e5
TT
147252016-06-29 Tom Tromey <tom@tromey.com>
14726
14727 PR python/20129:
14728 * gdb.python/py-framefilter.exp: Add tests for setting priority
14729 and disabling of non-existent frame filter.
14730
28244707
YQ
147312016-06-29 Yao Qi <yao.qi@linaro.org>
14732
14733 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14734 0x0f07ff.
14735
a31d2f06
YQ
147362016-06-28 Yao Qi <yao.qi@linaro.org>
14737
14738 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14739 triplets. Start gdb, execute catch syscall, and continue. Check
14740 gdb's output to determine catch syscall is supported.
14741
921d8f54
MG
147422016-06-27 Manish Goregaokar <manish@mozilla.com>
14743
25d49b86
PA
14744 * gdb.rust/simple.rs: Add test for returning unit in a function.
14745 * gdb.rust/simple.exp: Add expectation for functions returning
14746 unit.
921d8f54 14747
f4952523
PMR
147482016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14749
14750 * gdb.python/py-breakpoint-create-fail.c,
14751 gdb.python/py-breakpoint-create-fail.exp,
14752 gdb.python/py-breakpoint-create-fail.py: New testcase.
14753
fccb08f8
MG
147542016-06-25 Manish Goregaokar <manish@mozilla.com>
14755
14756 PR gdb/20239
14757 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14758 * gdb.rust/simple.exp: Add test expectations for new NonZero
14759 tests.
fccb08f8 14760
6b850546
DT
147612016-06-24 David Taylor <dtaylor@emc.com>
14762
14763 * gdb.base/offsets.exp: New file.
14764 * gdb.base/offsets.c: New file.
14765
17621150
TT
147662016-06-23 Tom Tromey <tom@tromey.com>
14767
14768 PR gdb/16483:
14769 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14770 before any filters are loaded.
14771
04d59df6
WT
147722016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14773
14774 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14775 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14776 structs.
14777 * gdb.fortran/derived-type-function.exp: New file.
14778 * gdb.fortran/derived-type-function.f90: New file.
14779
14780
ac69f786
PA
147812016-06-21 Pedro Alves <palves@redhat.com>
14782
14783 * gdb.base/new-ui.exp: New file.
14784 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14785 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14786 (with_spawn_id): New procedure.
14787
49940788
PA
147882016-06-21 Pedro Alves <palves@redhat.com>
14789
14790 * gdb.mi/mi-exec-run.exp: New file.
14791
ef274d26
PA
147922016-06-21 Pedro Alves <palves@redhat.com>
14793
14794 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14795 breakpoint command's output on the main UI.
14796 (test_break): New procedure, factored out from calls in the top
14797 level.
14798 (top level): Use foreach_with_prefix to test MI as main UI and as
14799 separate UI.
14800
468afe6c
PA
148012016-06-21 Pedro Alves <palves@redhat.com>
14802
14803 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14804 (test_awatch_creation_and_listing)
14805 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14806 Remove 'type' parameter.
14807 (test_watchpoint_all): New parameter mi_mode. Remove
14808 with_test_prefix.
14809 (top level): Use foreach_with_prefix, and add main/separate UI MI
14810 testing axis.
14811
51f77c37
PA
148122016-06-21 Pedro Alves <palves@redhat.com>
14813
14814 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14815 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14816 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14817 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14818 (gdb_main_spawn_id, mi_spawn_id): Declare and
14819 comment.
14820 (mi_create_inferior_pty): New procedure,
14821 factored out from default_mi_gdb_start.
14822 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14823 procedures.
14824 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14825 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14826 Use mi_create_inferior_pty.
14827 (mi_gdb_start): Use eval to pass down args list.
14828
8980e177
PA
148292016-06-21 Pedro Alves <palves@redhat.com>
14830
14831 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14832 * gdb.opt/inline-cmds.exp: Add MI tests.
14833
f38d3ad1
PA
148342016-06-21 Pedro Alves <palves@redhat.com>
14835
14836 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14837
45db7c09
PA
148382016-06-21 Pedro Alves <palves@redhat.com>
14839
14840 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14841 (top level): Use it instead of mi_execute_to.
14842
5a069ab3
PA
148432016-06-21 Pedro Alves <palves@redhat.com>
14844
14845 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14846 (cont_handler_str): New.
14847 (signal_stop_handler): Set stop_handler_str instead of printing to
14848 stdout.
14849 (continue_handler): Set cont_handler_str instead of printing to
14850 stdout.
14851 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14852 mi_send_resuming_command. Print stop_handler_str and
14853 cont_handler_str instead of expecting the python events print
14854 directly.
14855
2838cc1d
SD
148562016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14857
14858 * gdb.base/jit-reader.exp: New file.
14859 * gdb.base/jithost.c: New file.
14860 * gdb.base/jithost.h: New file.
14861 * gdb.base/jitreader.c : New file.
14862 * gdb.base/jit-protocol.h: New file.
14863
21a77091
YQ
148642016-06-17 Yao Qi <yao.qi@linaro.org>
14865
14866 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14867 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14868 and detach-on-fork. Adjust tests.
14869 (top level): Invoke break_cond_on_syscall with combinations of
14870 syscall, follow-fork-mode and detach-on-fork.
14871
f50bf8e5
YQ
148722016-06-17 Yao Qi <yao.qi@linaro.org>
14873
14874 * gdb.base/step-over-exit.c: New.
14875 * gdb.base/step-over-exit.exp: New.
14876
a28d8e50
YTL
148772016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14878
14879 * gdb.base/float.exp: Add target check for nds32*-*-*.
14880 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14881
cad8e26d
AB
148822016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14883
14884 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14885 for unsupported target features.
14886 * gdb.base/call-rt-st.exp: Likewise.
14887 * gdb.base/call-sc.exp: Likewise.
14888 * gdb.base/call-signal-resume.exp: Likewise.
14889 * gdb.base/call-strs.exp: Likewise.
14890 * gdb.base/callexit.exp: Likewise.
14891 * gdb.base/callfuncs.exp: Likewise.
14892 * gdb.base/nodebug.exp: Likewise.
14893 * gdb.base/printcmds.exp: Likewise.
14894 * gdb.base/ptype.exp: Likewise.
14895 * gdb.base/structs.exp: Likewise.
14896 * gdb.base/unwindonsignal.exp: Likewise.
14897 * gdb.cp/gdb2495.exp: Likewise.
14898 * gdb.cp/templates.exp: Likewise.
14899 * gdb.cp/virtfunc.exp: Likewise.
14900 * gdb.threads/hand-call-in-threads.exp: Likewise.
14901 * gdb.threads/interrupted-hand-call.exp: Likewise.
14902 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14903
347dc102
TT
149042016-06-10 Tom Tromey <tom@tromey.com>
14905
14906 PR rust/20110:
14907 * gdb.rust/expr.exp: Add test for integer constant larger than
14908 i32.
14909
5e13cf25
BH
149102016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14911
14912 * gdb.fortran/nested-funcs.exp: New.
14913 * gdb.fortran/nested-funcs.f90: New.
14914
bb556f1f
TK
149152016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14916
14917 * gdb.base/examine-backward.c: New file.
14918 * gdb.base/examine-backward.exp: New file.
14919
38b022b4
SM
149202016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14921
14922 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14923 matching.
14924
1b40ec05
TT
149252016-06-02 Tom Tromey <tom@tromey.com>
14926
14927 PR python/18984:
14928 * gdb.python/py-shared.exp: Add solib_name test.
14929
193bd378
SM
149302016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14931
14932 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14933
3326303b
MG
149342016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14935
14936 PR c++/19893
14937 * gdb.dwarf2/implref.exp: Rename to...
14938 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14939 * gdb.dwarf2/implref-array.c: New file.
14940 * gdb.dwarf2/implref-array.exp: Likewise.
14941 * gdb.dwarf2/implref-global.c: Likewise.
14942 * gdb.dwarf2/implref-global.exp: Likewise.
14943 * gdb.dwarf2/implref-struct.c: Likewise.
14944 * gdb.dwarf2/implref-struct.exp: Likewise.
14945
825c8ef2
AT
149462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14947
14948 * gdb.trace/trace-condition.exp: Add 64bit tests.
14949
2320162a
AT
149502016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14951
14952 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14953 bits types.
14954 (main): Adapt to 8 to 64 bits types.
14955 * gdb.trace/trace-condition.exp: Add new tests.
14956
a7818233
AT
149572016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14958
14959 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14960
0d336466
AT
149612016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14962
14963 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14964 Move condition tests...
14965 * gdb.trace/trace-condition.exp: Here.
14966
7faeb45a
AT
149672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14968
14969 * gdb.trace/trace-condition.exp: Add counter-case tests.
14970
e385593e
JK
149712016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14972
14973 PR c++/15231
14974 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14975 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14976
744608cc
PA
149772016-05-27 Pedro Alves <palves@redhat.com>
14978
14979 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14980 New procedure.
14981 (top level): Call it, and bail out of DejaGnu is known to be bad.
14982
ac775bf4
AB
149832016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14984
14985 * gdb.base/whatis.c: Extend the test case.
14986 * gdb.base/whatis.exp: Add additional tests.
14987
2bbad2ea
BH
149882016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14989
14990* gdb.fortran/type.f90: Add pointer variable.
14991* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14992
8b70175d
BH
149932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14994
14995 * gdb.fortran/vla-type.exp: Fix testcase name.
14996
86d8a848
BH
149972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14998
14999 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15000
e188eb36
BH
150012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15002
15003 * gdb.fortran/type.f90: Add nested structures.
15004 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15005 * gdb.fortran/derived-type.exp: Adapt expected output.
15006 * gdb.fortran/vla-type.exp: Adapt expected output.
15007
9b2db1fd
BH
150082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15009
15010 * gdb.fortran/whatis_type.exp: Adapt expected output.
15011
72b17055
BH
150122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15013
15014 * gdb.fortran/print_type.exp: Fix expected output.
15015 * gdb.fortran/whatis_type.exp: Fix expected output.
15016
3cd81d8d
BH
150172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15018
15019 * gdb.fortran/whatis_type.exp: Use multi_line.
15020
ddae9462
TT
150212016-05-24 Tom Tromey <tom@tromey.com>
15022
15023 PR python/17386:
15024 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15025 use value as an index.
15026
1957f6b8
TT
150272016-05-23 Tom Tromey <tom@tromey.com>
15028
15029 PR python/17981:
15030 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15031 no-breakpoint case.
15032
026a9174
PA
150332016-05-24 Pedro Alves <palves@redhat.com>
15034
15035 PR gdb/19828
15036 * gdb.threads/clone-attach-detach.c: New file.
15037 * gdb.threads/clone-attach-detach.exp: New file.
15038
e70a7231
FR
150392016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15040
15041 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15042
0f6ed0e0
TT
150432016-05-23 Tom Tromey <tom@tromey.com>
15044
15045 PR python/19438, PR python/18393:
15046 * gdb.python/py-progspace.exp: Add "dir" test.
15047 * gdb.python/py-objfile.exp: Add "dir" test.
15048
ffd19d61
YQ
150492016-05-23 Yao Qi <yao.qi@linaro.org>
15050
15051 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15052 * gdb.arch/thumb2-it.exp: Likewise.
15053
9e8f9b05
SM
150542016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15055
15056 * gdb.mi/mi-threads-interrupt.c: New file.
15057 * gdb.mi/mi-threads-interrupt.exp: New file.
15058
61c6156d
SM
150592016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15060
15061 PR gdb/18077
15062 * gdb.mi/mi-async-run.exp: New file.
15063 * gdb.mi/mi-async-run.c: New file.
15064
67218854
TT
150652016-05-17 Tom Tromey <tom@tromey.com>
15066 Manish Goregaokar <manishsmail@gmail.com>
15067
15068 * lib/rust-support.exp: New file.
15069 * lib/gdb.exp (skip_rust_tests): New proc.
15070 (build_executable_from_specs): Handle rust.
15071 * lib/future.exp (gdb_find_rustc): New proc.
15072 (gdb_default_target_compile): Handle rust.
15073 * gdb.rust/expr.exp: New file.
15074 * gdb.rust/generics.exp: New file.
15075 * gdb.rust/generics.rs: New file.
15076 * gdb.rust/methods.exp: New file.
15077 * gdb.rust/methods.rs: New file.
15078 * gdb.rust/modules.exp: New file.
15079 * gdb.rust/modules.rs: New file.
15080 * gdb.rust/simple.exp: New file.
15081 * gdb.rust/simple.rs: New file.
15082
c44af4eb
TT
150832016-05-17 Tom Tromey <tom@tromey.com>
15084
15085 * gdb.base/default.exp (set language): Add rust.
15086
dcd1f979
TT
150872016-05-17 Tom Tromey <tom@tromey.com>
15088
15089 * gdb.gdb/unittest.exp: New file.
15090
155b7f57
YQ
150912016-05-16 Yao Qi <yao.qi@linaro.org>
15092
15093 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15094 shell_prompt. Update shell_prompt_re.
15095
8ddd5a6c
DE
150962016-05-12 Doug Evans <dje@google.com>
15097
15098 PR symtab/19999
15099 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15100 $options when building executable.
15101 * gdb.dwarf2/fission-loclists-pie.S: New file.
15102 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15103
02e370d9
SM
151042016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15105
15106 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15107 of [is_remote target],
15108
8929ad8b
SM
151092016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15110
15111 * lib/gdb.exp (use_gdb_stub): New procedure.
15112
6c447423
DE
151132016-05-03 Yunlian Jiang <yunlian@google.com>
15114 Doug Evans <dje@google.com>
15115
15116 PR symtab/19914
15117 * gdb.dwarf2/dwp-sepdebug.c: New file.
15118 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15119
444e826c
SM
151202016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15121
15122 * gdb.base/detach.exp: Remove is_remote check.
15123
740feeaa
SM
151242016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15125
15126 * gdb.base/annota-input-while-running.exp: Don't check for
15127 [is_remote target]. Enable annotations after running to main.
15128 Remove unused "set test..." line.
15129
9080ac9d
SM
151302016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15131
15132 * gdb.trace/trace-enable-disable.exp: New file.
15133 * gdb.trace/trace-enable-disable.c: New file.
15134
952ebca5
SM
151352016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15136
15137 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15138 use it in info sharedlibrary test.
15139 * gdb.trace/ftrace-lock.exp: Likewise.
15140 * gdb.trace/ftrace.exp: Likewise.
15141 * gdb.trace/range-stepping.exp: Likewise.
15142 * gdb.trace/trace-break.exp: Likewise.
15143 * gdb.trace/trace-condition.exp: Likewise.
15144 * gdb.trace/trace-mt.exp: Likewise.
15145
d9019901
SM
151462016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15147
15148 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15149 (gdb_load_shlib): ... this.
15150 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15151 gdb_load_shlib.
15152 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15153 * gdb.base/ctxobj.exp: Likewise.
15154 * gdb.base/dprintf-pending.exp: Likewise.
15155 * gdb.base/dso2dso.exp: Likewise.
15156 * gdb.base/fixsection.exp: Likewise.
15157 * gdb.base/gcore-relro.exp: Likewise.
15158 * gdb.base/gdb1555.exp: Likewise.
15159 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15160 * gdb.base/gnu-ifunc.exp: Likewise.
15161 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15162 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15163 * gdb.base/pending.exp: Likewise.
15164 * gdb.base/print-file-var.exp: Likewise.
15165 * gdb.base/print-symbol-loading.exp: Likewise.
15166 * gdb.base/shlib-call.exp: Likewise.
15167 * gdb.base/shreloc.exp: Likewise.
15168 * gdb.base/so-impl-ld.exp: Likewise.
15169 * gdb.base/solib-disc.exp: Likewise.
15170 * gdb.base/solib-nodir.exp: Likewise.
15171 * gdb.base/solib-overlap.exp: Likewise.
15172 * gdb.base/solib-symbol.exp: Likewise.
15173 * gdb.base/solib-weak.exp (do_test): Likewise.
15174 * gdb.base/sym-file.exp: Likewise.
15175 * gdb.base/symtab-search-order.exp: Likewise.
15176 * gdb.base/type-opaque.exp: Likewise.
15177 * gdb.base/unload.exp: Likewise.
15178 * gdb.base/watchpoint-solib.exp: Likewise.
15179 * gdb.compile/compile.exp: Likewise.
15180 * gdb.cp/gdb2384.exp: Likewise.
15181 * gdb.cp/infcall-dlopen.exp: Likewise.
15182 * gdb.cp/re-set-overloaded.exp: Likewise.
15183 * gdb.fortran/library-module.exp: Likewise.
15184 * gdb.opt/solib-intra-step.exp: Likewise.
15185 * gdb.python/py-finish-breakpoint.exp: Likewise.
15186 * gdb.python/py-shared.exp: Likewise.
15187 * gdb.reverse/solib-precsave.exp: Likewise.
15188 * gdb.reverse/solib-reverse.exp: Likewise.
15189 * gdb.server/solib-list.exp: Likewise.
15190 * gdb.threads/dlopen-libpthread.exp: Likewise.
15191 * gdb.threads/tls-shared.exp: Likewise.
15192 * gdb.threads/tls-so_extern.exp: Likewise.
15193 * gdb.trace/change-loc.exp: Likewise.
15194 * gdb.trace/ftrace-lock.exp: Likewise.
15195 * gdb.trace/ftrace.exp: Likewise.
15196 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15197 * gdb.trace/pending.exp: Likewise.
15198 * gdb.trace/range-stepping.exp: Likewise.
15199 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15200 (strace_info_marker): Likewise.
15201 (strace_probe_marker): Likewise.
15202 (strace_trace_on_same_addr): Likewise.
15203 (strace_trace_on_diff_addr): Likewise.
15204 * gdb.trace/trace-break.exp: Likewise.
15205 * gdb.trace/trace-condition.exp: Likewise.
15206 * gdb.trace/trace-mt.exp: Likewise.
15207
fca4cfd9
SM
152082016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15209
15210 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15211 result of gdb_remote_download.
15212 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15213 * gdb.base/dso2dso.exp: Likewise.
15214 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15215 * gdb.base/print-file-var.exp: Likewise.
15216 * gdb.base/shlib-call.exp: Likewise.
15217 * gdb.base/shreloc.exp: Likewise.
15218 * gdb.base/solib-overlap.exp: Likewise.
15219 * gdb.base/solib-weak.exp (do_test): Likewise.
15220 * gdb.base/unload.exp: Likewise.
15221
11cf4ffb
YQ
152222016-04-27 Yao Qi <yao.qi@linaro.org>
15223
15224 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15225 exists.
15226
3e2e34f8
KB
152272016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15228
15229 * vla-type.exp: Print structure from toplevel.
15230
8f07e298
BH
152312016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15232
15233 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15234 of dynamic types.
15235 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15236 of dynamic types.
15237
9920b434
BH
152382016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15239
15240 * gdb.fortran/vla-type.f90: New file.
15241 * gdb.fortran/vla-type.exp: New file.
15242
f3abeff5
YQ
152432016-04-25 Yao Qi <yao.qi@linaro.org>
15244
15245 * gdb.base/branch-to-self.c: New file.
15246 * gdb.base/branch-to-self.exp: New file.
15247
0a5d52f0
YQ
152482016-04-22 Yao Qi <yao.qi@linaro.org>
15249
15250 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15251 more after $hex.
15252
495346f6
YQ
152532016-04-22 Yao Qi <yao.qi@linaro.org>
15254
15255 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15256 * gdb.base/annota3.exp: Likewise.
15257
4a7e075c
YQ
152582016-04-22 Yao Qi <yao.qi@linaro.org>
15259
15260 * gdb.reverse/step-precsave.exp: Do one step and test program
15261 stops in "callee" and do multiple steps until program goes out
15262 of "callee".
15263 * gdb.reverse/step-reverse.exp: Likewise.
15264
5b061e98
YQ
152652016-04-22 Yao Qi <yao.qi@linaro.org>
15266
15267 * gdb.trace/signal.exp: Also pass if
15268 $tracepoint_hits($i) > $iterations.
15269
5c5dc57f
YQ
152702016-04-22 Yao Qi <yao.qi@linaro.org>
15271
15272 * gdb.trace/signal.c: New file.
15273 * gdb.trace/signal.exp: New file.
15274
a55411b9
DE
152752016-04-19 Doug Evans <xdje42@gmail.com>
15276
15277 * gdb.base/bad-file.exp: New file.
15278
a22df60a
MG
152792016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15280
15281 * gdb.dwarf2/implref.exp: New file.
15282
0c13f7e5
BH
152832016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15284
15285 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15286 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15287 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15288 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15289 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15290 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15291 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15292 * lib/fortran.exp (fortran_int4): New procedure.
15293 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15294 (fortran_logical4): Likewise.
15295
9b9b09e9
BH
152962016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15297
15298 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15299
a14d1f4d
BH
153002016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15301
15302 * lib/compiler.c: Add Intel specific preprocessor macros.
15303 * lib/compiler.cc: Likewise.
25d49b86 15304
7d49b1d0
LM
153052016-04-13 Luis Machado <lgustavo@codesourcery.com>
15306
15307 * gdb.server/connect-with-no-symbol-file.c: New file.
15308 * gdb.server/connect-with-no-symbol-file.exp: New file.
15309
8392fa22
SM
153102016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15311
15312 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15313
8c4c4aeb
SM
153142016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15315
15316 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15317 standard output directory.
15318
45e3745e
AT
153192016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15320
15321 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15322
e26b7e41
MM
153232016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15324
15325 * gdb.btrace/instruction_history.c (loop): Add declaration.
15326
8ce09462
AT
153272016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15328
15329 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15330
2e88a1ea
SM
153312016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15332
15333 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15334 parentheses to print.
15335 (continue_handler): Likewise.
15336
f48e22e3
SM
153372016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15338
15339 * gdb.server/solib-list.exp: Remove is_remote check.
15340 Pass shlib= to gdb_compile. Don't link shared library with
15341 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15342 Run binary filename through "readlink -f" on the target.
15343
096be756
PA
153442016-04-08 Pedro Alves <palves@redhat.com>
15345
15346 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15347 interpreter filename as argument to gdbserver_spawn.
15348 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15349 Return empty if $last_loaded_file does not exist.
15350
06500533
JK
153512016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15352
15353 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15354 * gdb.base/jit-main.c: Use exit after usage.
15355
2d35e871
JK
153562016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15357
15358 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15359 GDBHISTSIZE prior to the tests.
15360 * gdb.base/gdbinit-history.exp: Likewise.
15361
153622016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15363
15364 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15365 instead of build_executable. Use gdb_load_shlibs.
15366
c8064e7e
YQ
153672016-04-07 Yao Qi <yao.qi@linaro.org>
15368
15369 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15370 Execute "si" command.
15371
bde47561
YQ
153722016-04-07 Yao Qi <yao.qi@linaro.org>
15373
15374 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15375 number instead of the comments on some line.
15376
b16f8a3b
DB
153772016-04-06 Don Breazeal <donb@codesourcery.com>
15378
15379 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15380 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15381
c2f901df
SM
153822016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15383
15384 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15385 standard_output_file. Remove unused binfile variable.
15386
ac17fda0
CU
153872016-04-05 Catalin Udma <catalin.udma@freescale.com>
15388
15389 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15390 * gdb.python/py-mi-objfile.exp: Match "list main" output
15391 in console format.
15392
03a8c4df
SM
153932016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15394
15395 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15396 absolute.
15397
6e774b13
SM
153982016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15399
15400 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15401 absolute.
15402 * gdb.trace/ftrace.exp: Likewise.
15403 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15404 targets as well.
15405 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15406 (gdb_load_shlibs): Copy libraries to test directory when testing
15407 natively. Only set solib-search-path if testing remotely.
15408 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15409
7817ea46
SM
154102016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15411
15412 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15413 gdb_download. Use it even if the target is not remote.
15414 * gdb.base/jit.exp (compile_jit_test): Likewise.
15415 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15416 output directory if the destination board is local, otherwise use
15417 the standard remote_download from DejaGnu.
15418 (gdb_download): Remove.
15419 (gdb_load_shlibs): Use gdb_remote_download instead of
15420 gdb_download.
15421 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15422 Use gdb_remote_download instead of gdb_download. Use it even if
15423 the target is not remote.
15424 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15425 instead of gdb_download.
15426
7beb7f68
SM
154272016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15428
15429 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15430 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15431 run.
15432
cc63428a
AV
154332016-04-01 Artemiy Volkov <artemiyv@acm.org>
15434
15435 PR gdb/19820
15436 * gdb.base/printcmds.exp: Add artificial arrays tests.
15437
64cdf930
PA
154382016-03-31 Pedro Alves <palves@redhat.com>
15439
15440 PR gdb/19858
15441 * gdb.base/jit-main.c: Include unistd.h.
15442 (ATTACH): Define to 0 if not already defined.
15443 (wait_for_gdb, mypid): New globals.
15444 (WAIT_FOR_GDB): New macro.
15445 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15446 some breakpoint locations.
15447 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15448 New procedures.
15449 (one_jit_test): Add REATTACH parameter, and handle it. Use
15450 continue_to_test_location.
15451 (top level): Test attach, and adjusts calls to one_jit_test.
15452
40dea8cb
PA
154532016-03-31 Pedro Alves <palves@redhat.com>
15454
15455 PR gdb/19858
15456 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15457 BINSUFFIX parameter, and handle it.
15458 (top level): Adjust calls compile_jit_test.
15459
e7ea3ec7
CU
154602016-03-31 Catalin Udma <catalin.udma@freescale.com>
15461
15462 PR python/19743
15463 * gdb.python/py-mi-events-gdb.py: New file.
15464 * gdb.python/py-mi-events.c: New file.
15465 * gdb.python/py-mi-events.exp: New file.
15466
e6359af3
YQ
154672016-03-30 Yao Qi <yao.qi@linaro.org>
15468
15469 * gdb.reverse/until-precsave.exp: Match function name only.
15470 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15471 Move malloc to a condition block.
15472 * gdb.reverse/until-reverse.exp: Match function name only.
15473
a4105d04
MK
154742016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15475
15476 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15477 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15478 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15479 variable for GPR 0 instead of assuming it is register 0.
15480 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15481 * lib/trace-support.exp: Add s390 registers.
15482
bfa6adb9
YQ
154832016-03-29 Yao Qi <yao.qi@linaro.org>
15484
15485 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15486
1e6697ea
YQ
154872016-03-24 Yao Qi <yao.qi@linaro.org>
15488
15489 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15490 test message.
15491
64bcd522
AA
154922016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15493
15494 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15495 maintaining separate logic for constructing the output path.
15496
7868401b
DB
154972016-03-16 Don Breazeal <donb@codesourcery.com>
15498
15499 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15500 Retry fork and waitpid on interrupted system call errors.
15501 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15502 Use with_timeout_factor to increase timeout by factor of 10.
15503
1cafadb4
DB
155042016-03-15 Don Breazeal <donb@codesourcery.com>
15505
15506 * gdb.cp/scope-err.cc: New test program.
15507 * gdb.cp/scope-err.exp: New test script.
15508 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15509 lines and "set breakpoint here" comment.
15510 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15511 Fixed some whitespace and format issues.
15512 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15513 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15514
81516450
DE
155152016-03-15 Doug Evans <dje@google.com>
15516
15517 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15518 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15519 All callers updated. Add tests for enums, mixed flags register.
15520
aa52b601
DE
155212016-03-15 Doug Evans <dje@google.com>
15522
15523 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15524 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15525
fa4ff313
SM
155262016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15527
15528 * gdb.base/default.exp: Add $_as_string to the list of expected
15529 convenience functions.
15530
f2403c39
AB
155312016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15532
15533 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15534
f2f3ccb9
SM
155352016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15536
15537 * gdb.python/py-as-string.exp: New file.
15538 * gdb.python/py-as-string.c: New file.
15539
00dbd492
PA
155402016-03-09 Pedro Alves <palves@redhat.com>
15541
15542 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15543 signal" -> "Thread NN received signal" output change.
15544 * gdb.threads/ia64-sigill.exp: Likewise.
15545 * gdb.threads/linux-dp.exp: Likewise.
15546 * gdb.threads/manythreads.exp: Likewise.
15547 * gdb.threads/pending-step.exp: Likewise.
15548 * gdb.threads/print-threads.exp: Likewise.
15549 * gdb.threads/sigstep-threads.exp: Likewise.
15550 * gdb.threads/staticthreads.exp: Likewise.
15551 * gdb.threads/tls.exp: Likewise.
15552
1e6697ea
YQ
155532016-03-09 Pedro Alves <palves@redhat.com>
15554
15555 * gdb.base/command-line-input.exp: New file.
15556
b04fd3be
MK
155572016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15558
15559 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15560 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15561 * gdb.trace/pending.exp: Accept leading dot before function name.
15562 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15563 * lib/trace-support.exp: Set registers for ppc.
15564
98fa59e9
MK
155652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15566
15567 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15568 use it for disassembly; accept .main in addition to main in backtrace.
15569
f77198c8
MK
155702016-03-09 Wei-cheng Wang <cole945@gmail.com>
15571 Marcin Kościelnicki <koriakin@0x04.net>
15572
15573 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15574 (gdb_recursion_test_ptr): New global variable.
15575 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15576 gdb_recursion_test.
15577 (gdb_c_test): Ditto.
15578
ba84e0da
MK
155792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15580
15581 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15582 ordering.
15583
4366d36e
MK
155842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15585
15586 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15587 (bar): Add bar_start_lbl label.
15588 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15589 of foo/bar for emitting DWARF and tracing.
15590
5eb264df
SDJ
155912016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15592
15593 * analyze-racy-logs.py: Set executable bit.
15594
fb6a751f
SDJ
155952016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15596
15597 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15598 (CHECK_TARGET_TMP): Likewise.
15599 (check-single-racy): New rule.
15600 (check-parallel-racy): Likewise.
15601 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15602 (do-check-parallel-racy): New rule.
15603 (check-racy/%.exp): Likewise.
15604 * README (Racy testcases): New section.
15605 * analyze-racy-logs.py: New file.
15606
bdf7e230
DE
156072016-03-03 Doug Evans <dje@google.com>
15608
15609 * gdb.base/skip.exp: Use with_test_prefix.
15610
4719d415
YQ
156112016-03-03 Yao Qi <yao.qi@linaro.org>
15612
15613 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15614 Invoke step_over_syscall "clone" and break_cond_on_syscall
15615 "clone".
15616 * gdb.base/step-over-clone.c: New file.
15617
ea507862
YQ
156182016-03-03 Yao Qi <yao.qi@linaro.org>
15619
15620 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15621 code format.
15622
8fc8cbda
YQ
156232016-03-03 Yao Qi <yao.qi@linaro.org>
15624
15625 * gdb.base/disp-step-fork.c: Rename to ...
15626 * gdb.base/step-over-fork.c: ... it. New file.
15627 * gdb.base/disp-step-vfork.c: Rename to ...
15628 * gdb.base/step-over-vfork.c: ... it. New file.
15629 * gdb.base/disp-step-syscall.exp: Rename to ...
15630 * gdb.base/step-over-syscall.exp: ... it. New file.
15631 (disp_step_cross_syscall): Rename to ...
15632 (step_over_syscall): ... it.
15633
92fa70b0
YQ
156342016-03-03 Yao Qi <yao.qi@linaro.org>
15635
15636 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15637 If target supports condition evaluation on target, invoke
15638 break_cond_on_syscall for fork and vfork.
15639
e197ad3c
YQ
156402016-03-03 Yao Qi <yao.qi@linaro.org>
15641
15642 * gdb.base/disp-step-syscall.exp: Don't invoke
15643 support_displaced_stepping.
15644 (disp_step_cross_syscall): Test with displaced stepping off and
15645 on if supported.
15646
0b47da9f
YQ
156472016-03-03 Yao Qi <yao.qi@linaro.org>
15648
15649 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15650 proc.
15651 (setup): New proc.
15652 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15653 and setup.
15654
065ab6dc
BH
156552016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15656
15657 * gdb.fortran/vla-history.exp: Remove breakpoint.
15658
07e448ad 156592016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15660
25d49b86
PA
15661 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15662 exceeds timeout.
07e448ad 15663
9ac2d526 156642016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15665
25d49b86
PA
15666 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15667 breakpoint.
9ac2d526 15668
17807369
BH
156692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15670
15671 * gdb.mi/vla.f90: Nullify pointer after declaration.
15672
86e501af
PA
156732016-03-01 Pedro Alves <palves@redhat.com>
15674
15675 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15676
1e903e32
PA
156772016-03-01 Pedro Alves <palves@redhat.com>
15678
15679 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15680 before anything else.
15681 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15682 _GNU_SOURCE here.
15683 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15684 before anything else.
15685 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15686
6ccb54e2
PA
156872016-03-01 Pedro Alves <palves@redhat.com>
15688
15689 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15690
30ca9da1
YQ
156912016-03-01 Yao Qi <yao.qi@linaro.org>
15692
15693 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15694 prepare_for_testing.
15695
dc856b38
YQ
156962016-03-01 Yao Qi <yao.qi@linaro.org>
15697
15698 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15699
4a932159
AA
157002016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15701
15702 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15703 manually constructing the output path.
15704
f2489477
AA
157052016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15706
15707 * gdb.arch/s390-stackless.S: New.
15708 * gdb.arch/s390-stackless.exp: New.
15709
38899f16
IB
157102016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15711
15712 * gdb.dlang/circular.c: New file.
15713 * gdb.dlang/circular.exp: New file.
15714
9fde51ed
YQ
157152016-02-26 Yao Qi <yao.qi@linaro.org>
15716
15717 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15718 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15719 (testcases): Update.
15720
ce90fefe
YQ
157212016-02-26 Yao Qi <yao.qi@linaro.org>
15722
15723 * gdb.reverse/aarch64.c: Rename to ...
15724 * gdb.reverse/insn-reverse.c: ... it.
15725 * gdb.reverse/aarch64.exp: Rename to ...
15726 * gdb.reverse/insn-reverse.exp: ... it.
15727
3263bceb
YQ
157282016-02-26 Yao Qi <yao.qi@linaro.org>
15729
15730 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15731 (testcase_ftype): New.
15732 (testcases): New array.
15733 (n_testcases): New.
15734 (main): Call each element in testcases.
15735 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15736 (read_testcase): New.
15737 Do the tests in a loop.
15738
6cb59ff1
YQ
157392016-02-25 Yao Qi <yao.qi@linaro.org>
15740
15741 * gdb.base/branches.c: Remove.
15742
ae91f625
MK
157432016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15744
15745 PR gdb/13808
15746 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15747
678b48b7
MK
157482016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15749
15750 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15751
7337a6f2
MK
157522016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15753
15754 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15755 change x86_64 call_insn to 'callq'.
15756
861ca91f
AT
157572016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15758
15759 * gdb.trace/tfile-avx.c: Move to...
15760 * gdb.trace/tracefile-pseudo-reg.c: Here.
15761 * gdb.trace/tfile-avx.exp: Move to...
15762 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15763
bf74e428
GB
157642016-02-24 Gary Benson <gbenson@redhat.com>
15765
15766 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15767 message on attach.
15768
cce0e923
DE
157692016-02-23 Doug Evans <dje@google.com>
15770
15771 * gdb.base/skip.c (test_skip): New function.
15772 (end_test_skip_file_and_function): New function.
15773 (test_skip_file_and_function): New function.
15774 * gdb.base/skip1.c (test_skip): New function.
15775 (skip1_test_skip_file_and_function): New function.
15776 * gdb.base/skip.exp: Add tests for new skip options.
15777 * gdb.base/skip-solib.exp: Update expected output.
15778 * gdb.perf/skip-command.cc: New file.
15779 * gdb.perf/skip-command.exp: New file.
15780 * gdb.perf/skip-command.py: New file.
15781
4000e47e
MK
157822016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15783
15784 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15785 info registers pattern.
15786
24f75ead
IB
157872016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15788
15789 * lib/future.exp: Add D support.
15790 (gdb_find_gdc): New proc.
15791 (gdb_default_target_compile): Add D support.
15792
fbb7bcbe
WW
157932016-02-18 Wei-cheng Wang <cole945@gmail.com>
15794
15795 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15796 user+system time.
15797 (trace_speed_test): Determine the iteration count for a time
15798 between 15..30 seconds.
15799
012b3a21
WT
158002016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15801
15802 * gdb.arch/i386-mpx-sigsegv.c: New file.
15803 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15804 * gdb.arch/i386-mpx-simple_segv.c: New file.
15805 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15806
2d5189bd
YQ
158072016-02-18 Yao Qi <yao.qi@linaro.org>
15808
15809 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15810 Don't call setup_kfail.
15811
40fb20d0
YQ
158122016-02-18 Yao Qi <yao.qi@linaro.org>
15813
15814 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15815 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15816
21b1f8d2
DE
158172016-02-16 Doug Evans <dje@google.com>
15818
15819 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15820 * gdb.base/skip1.c: Ditto.
15821 * gdb.base/skip.exp: Whitespace cleanup.
15822
4041ed77
DB
158232016-02-16 Don Breazeal <donb@codesourcery.com>
15824
15825 PR remote/19496
15826 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15827 Remove kfail for PR remote/19496.
15828
c4ef31bf
SM
158292016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15830
15831 * lib/gdb.exp (standard_temp_file): Return a path specific to
15832 the runtest invocation.
15833
266b65b3
SM
158342016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15835
15836 * gdb.trace/save-trace.exp: Change relative path to be in the
15837 standard output directory.
15838
a7a0a6a9
JK
158392016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15840
15841 * gdb.arch/i386-prologue.c: Add missing prototypes.
15842
c99dbb42
JK
158432016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15844
15845 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15846 * gdb.arch/i386-prologue.exp: Likewise.
15847 * gdb.arch/i386-size.exp: Likewise.
15848
aa480355
SM
158492016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15850
15851 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15852 define object file path.
15853 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15854 file path.
15855 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15856 standard_output_file to define binfile.
15857
ba881f50
JK
158582016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15859
15860 Fix compatibility with recent gfortran-5.3.1.
15861 * gdb.fortran/vla-history.exp (print vla1 allocated)
15862 (print vla2 allocated, print $2, print $3): Remove
15863 (print $4): Rename to ...
15864 (print $2): ... here.
15865 (print $9): Rename to ...
15866 (print $5): ... here.
15867 (print $10): Rename to ...
15868 (print $6): ... here.
15869 * gdb.fortran/vla.f90: Add pvla initialization.
15870
e9fb005c
JK
158712016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15872
15873 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15874 New test.
15875 * gdb.fortran/vla-value-sub.exp: Likewise.
15876
e44e00ff
MK
158772016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15878
15879 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15880
97e94151
SM
158812016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15882
15883 * i386-biarch-core.exp: Define corefile using
15884 standard_output_file.
15885
01113bc1
YQ
158862016-02-12 Yao Qi <yao.qi@linaro.org>
15887
15888 * gdb.arch/arm-single-step-kernel-helper.c: New.
15889 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15890
33b4777c
MM
158912016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15892
15893 * gdb.btrace/tailcall-only.exp: New.
15894 * gdb.btrace/tailcall-only.c: New.
15895 * gdb.btrace/x86_64-tailcall-only.S: New.
15896 * gdb.btrace/i686-tailcall-only.S: New.
15897
acc23c11
PA
158982016-02-11 Pedro Alves <palves@redhat.com>
15899
15900 * README (Parallel testing): Add missing double quotes.
15901
e352bf0a
PA
159022016-02-11 Pedro Alves <palves@redhat.com>
15903
15904 * README (Parallel testing): New section.
15905 (GDB_PARALLEL): Rewrite.
15906 (FORCE_PARALLEL): Document.
15907
9f5fed78
MK
159082016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15909
15910 * gdb.trace/tfile-avx.c: New test.
15911 * gdb.trace/tfile-avx.exp: New test.
15912
9ef9e6a6
KS
159132016-02-09 Keith Seitz <keiths@redhat.com>
15914
15915 PR breakpoints/19546
15916 * gdb.base/infcall-exec.c: New file.
15917 * gdb.base/infcall-exec2.c: New file.
15918 * gdb.base/infcall-exec.exp: New file.
15919
a96e36da
KS
159202016-02-09 Keith Seitz <keiths@redhat.com>
15921
15922 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15923 (toplevel): Call test_bkpt_address.
15924
9f61929f
KS
159252016-02-09 Keith Seitz <keiths@redhat.com>
15926
15927 PR python/19506
15928 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15929 (toplevel): Call test_bkpt_address.
15930
1e94266c
SM
159312016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15932
15933 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15934 to AC_OUTPUT.
15935 * configure: Regenerate.
15936
2a7f3dff
PA
159372016-02-09 Pedro Alves <palves@redhat.com>
15938
15939 PR breakpoints/19548
15940 * gdb.base/execl-update-breakpoints.c (some_function): New
15941 function.
15942 (main): Call it.
15943 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15944 Tighten expected GDB output.
15945
2151ccc5
SM
159462016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15947
15948 * Makefile.in (ALL_SUBDIRS): Remove.
15949 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15950 (distclean maintainer-clean realclean): Likewise.
15951 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15952 * configure: Regenerate.
15953 * gdb.ada/Makefile.in: Delete.
15954 * gdb.arch/Makefile.in: Likewise.
15955 * gdb.asm/Makefile.in: Likewise.
15956 * gdb.base/Makefile.in: Likewise.
15957 * gdb.btrace/Makefile.in: Likewise.
15958 * gdb.cell/Makefile.in: Likewise.
15959 * gdb.compile/Makefile.in: Likewise.
15960 * gdb.cp/Makefile.in: Likewise.
15961 * gdb.disasm/Makefile.in: Likewise.
15962 * gdb.dlang/Makefile.in: Likewise.
15963 * gdb.dwarf2/Makefile.in: Likewise.
15964 * gdb.fortran/Makefile.in: Likewise.
15965 * gdb.gdb/Makefile.in: Likewise.
15966 * gdb.go/Makefile.in: Likewise.
15967 * gdb.guile/Makefile.in: Likewise.
15968 * gdb.java/Makefile.in: Likewise.
15969 * gdb.linespec/Makefile.in: Likewise.
15970 * gdb.mi/Makefile.in: Likewise.
15971 * gdb.modula2/Makefile.in: Likewise.
15972 * gdb.multi/Makefile.in: Likewise.
15973 * gdb.objc/Makefile.in: Likewise.
15974 * gdb.opencl/Makefile.in: Likewise.
15975 * gdb.opt/Makefile.in: Likewise.
15976 * gdb.pascal/Makefile.in: Likewise.
15977 * gdb.perf/Makefile.in: Likewise.
15978 * gdb.python/Makefile.in: Likewise.
15979 * gdb.reverse/Makefile.in: Likewise.
15980 * gdb.server/Makefile.in: Likewise.
15981 * gdb.stabs/Makefile.in: Likewise.
15982 * gdb.threads/Makefile.in: Likewise.
15983 * gdb.trace/Makefile.in: Likewise.
15984 * gdb.xml/Makefile.in: Likewise.
15985 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15986 GDB_PARALLEL.
15987 (standard_output_file): Remove check for GDB_PARALLEL, always
15988 return path in outputs/$subdir/$testname.
15989
437277d4
SM
159902016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15991
15992 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15993 (site.exp): Assign abs_srcdir to tcl's srcdir.
15994
31d913c7
YQ
159952016-02-04 Yao Qi <yao.qi@linaro.org>
15996
15997 * gdb.base/foll-exec-mode.c: Include limits.h.
15998 (main): Add parameters argc and argv. Get directory from
15999 argv[0].
16000 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16001 compilation.
16002 * gdb.base/foll-exec.c: Include limits.h.
16003 (main): Add parameters argc and argv.
16004 Get directory from argv[0].
16005 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16006 Adjust tests on the number of lines as source code changed.
16007 * gdb.base/foll-vfork-exit.c: Include limits.h.
16008 (main): Add one line of statement before vfork.
16009 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16010 (main): Add parameters argc and argv. Get directory from
16011 argv[0].
16012 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16013 (setup_gdb): Set tbreak to skip some source lines.
16014 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16015 (main): Add parameters argc and argv. Get directory from
16016 argv[0].
16017 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16018 compilation.
16019 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16020 (main): Add parameters argc and argv. Get directory from
16021 argv[0].
16022 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16023 compilation.
16024
9482b9fb
DE
160252016-02-01 Doug Evans <dje@google.com>
16026
16027 * gdb.base/skip.exp: Clean up multiple references to same test name.
16028
6b2e4f10
PA
160292016-02-01 Pedro Alves <palves@redhat.com>
16030
ccb6afd6 16031 PR remote/19496
6b2e4f10
PA
16032 * gdb.threads/forking-threads-plus-breakpoint.exp
16033 (displaced_stepping_supported): New global.
16034 (probe_displaced_stepping_support): New procedure.
16035 (do_test): Add 'displaced' parameter, and use it.
16036 (top level): Check for displaced stepping support. Add displaced
16037 stepping on/off testing axis.
16038
37a8db1a
AB
160392016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16040
16041 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16042 pointer. Don't perform further tests on the unassociated pointer
16043 if the first test fails.
16044
5fdf6324
AB
160452016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16046
16047 * gdb.base/max-value-size.c: New file.
16048 * gdb.base/max-value-size.exp: New file.
16049 * gdb.base/huge.exp: Disable max-value-size for this test.
16050
935c6144
IB
160512016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16052
16053 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16054
7fe8399d
YQ
160552016-01-28 Yao Qi <yao.qi@linaro.org>
16056
16057 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16058
a2077e25
PA
160592016-01-25 Pedro Alves <palves@redhat.com>
16060
16061 PR threads/19461
16062 * gdb.base/fork-running-state.c: New file.
16063 * gdb.base/fork-running-state.exp: New file.
16064
1d2736d4
PA
160652016-01-25 Pedro Alves <palves@redhat.com>
16066
16067 PR gdb/19494
16068 * gdb.base/catch-fork-kill.c: New file.
16069 * gdb.base/catch-fork-kill.exp: New file.
16070
f1da4b11
PA
160712016-01-25 Pedro Alves <palves@redhat.com>
16072
16073 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16074 Delete, moved to lib/gdb.exp.
16075 * gdb.threads/forking-threads-plus-breakpoint.exp
16076 (foreach_with_prefix): Likewise.
16077 * gdb.threads/process-dies-while-handling-bp.exp
16078 (foreach_with_prefix): Likewise.
16079 * lib/gdb.exp (foreach_with_prefix): New procedure.
16080
45f38546
MK
160812016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16082
16083 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16084 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16085
dc29a1ce
MK
160862016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16087
16088 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16089 endian targets.
16090
092127d7
JK
160912016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16092 Pedro Alves <palves@redhat.com>
16093
16094 Fix testsuite compatibility with Guile.
16095 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16096 number.
16097
31d765d3
JK
160982016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16099
16100 Fix testsuite compatibility with Guile.
16101 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16102 (thread 1): New test for backtrace through signal handler.
16103
1ac78c04
YQ
161042016-01-22 Yao Qi <yao.qi@linaro.org>
16105
16106 PR testsuite/19491
16107 * gdb.base/multi-forks.c: Include
16108 ../lib/unbuffer_output.c
16109 (main): Call gdb_unbuffer_output.
16110
4f5946a8
DE
161112016-01-21 Doug Evans <dje@google.com>
16112
16113 * lib/ada.exp (gdb_compile_ada): Fix typo.
16114
305e13e6
JB
161152016-01-21 Joel Brobecker <brobecker@adacore.com>
16116
16117 * gdb.base/break-fun-addr.exp: New file.
16118 * gdb.base/break-fun-addr1.c: New file.
16119 * gdb.base/break-fun-addr2.c: New file.
16120
5f5dfff6
SM
161212016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16122
16123 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16124 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16125 enum flag values.
16126
fd356fa2
AA
161272016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16128
16129 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16130 when GDB can not set the vector return value. Add more comments
16131 for clarification.
16132
9df22175
AT
161332016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16134
16135 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16136 command.
16137
41d1845e
SM
161382016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16139
16140 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16141
01ac6840
SM
161422016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16143
16144 * Makefile.in (check-single): Pass --status to runtest.
16145 (check/%.exp): Likewise.
16146
161472016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16148
16149 * Makefile.in (check-parallel): Propagate return code from make
16150 do-check-parallel.
16151
bd0a71fa
MK
161522016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16153
16154 * gdb.trace/ftrace.exp: Fix expected message on continue.
16155 * gdb.trace/pending.exp: Fix expected message on continue.
16156 * gdb.trace/trace-break.exp: Fix expected message on continue.
16157
8bcbad33
SM
161582016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16159
16160 * lib/gdb.exp (gdb_test): Remove unused global references.
16161
f303dbd6
PA
161622016-01-18 Pedro Alves <palves@redhat.com>
16163
16164 * gdb.base/async-shell.exp: Adjust expected output.
16165 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16166 * gdb.base/siginfo-thread.exp: Adjust expected output.
16167 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16168 * gdb.java/jnpe.exp: Adjust expected output.
16169 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16170 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16171 * gdb.threads/leader-exit.exp: Adjust expected output.
16172 * gdb.threads/manythreads.exp: Adjust expected output.
16173 * gdb.threads/pthreads.exp: Adjust expected output.
16174 * gdb.threads/schedlock.exp: Adjust expected output.
16175 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16176 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16177 expected output.
16178 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16179 output.
16180 * gdb.threads/sigthread.exp: Adjust expected output.
16181 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16182
b2789696
YQ
161832016-01-18 Yao Qi <yao.qi@linaro.org>
16184
16185 * gdb.guile/scm-section-script.c: Replace @progbits with
16186 %progbits.
16187 * gdb.python/py-section-script.c: Likewise.
16188
71ef29a8
PA
161892016-01-15 Pedro Alves <palves@redhat.com>
16190
16191 * gdb.multi/tids.exp: Test star wildcard ranges.
16192
3f5b7598
PA
161932016-01-15 Pedro Alves <palves@redhat.com>
16194
16195 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16196 command from "thread apply" invocation.
16197 (thr_apply_info_thr_invalid): Default the expected output to the
16198 input tid list.
16199 (top level): Add tests that use convenience variables. Add tests
16200 for "thread apply" with a valid TID list, but missing the command.
16201
663f6d42
PA
162022016-01-13 Pedro Alves <palves@redhat.com>
16203
16204 * gdb.base/default.exp: Expect $_gthread as well.
16205 * gdb.multi/tids.exp: Test $_gthread.
16206 * gdb.threads/thread-specific.exp: Test $_gthread.
16207
c84f6bbf
PA
162082016-01-13 Pedro Alves <palves@redhat.com>
16209
16210 * gdb.multi/tids.exp: Test "info threads -gid".
16211
22a02324
PA
162122016-01-13 Pedro Alves <palves@redhat.com>
16213
16214 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16215 Breakpoint.thread.
16216 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16217
5d5658a1
PA
162182016-01-07 Pedro Alves <palves@redhat.com>
16219
16220 * gdb.base/break.exp: Adjust to output changes.
16221 * gdb.base/hbreak2.exp: Likewise.
16222 * gdb.base/sepdebug.exp: Likewise.
16223 * gdb.base/watch_thread_num.exp: Likewise.
16224 * gdb.linespec/keywords.exp: Likewise.
16225 * gdb.multi/info-threads.exp: Likewise.
16226 * gdb.threads/thread-find.exp: Likewise.
16227 * gdb.multi/tids.c: New file.
16228 * gdb.multi/tids.exp: New file.
16229
84654457
PA
162302016-01-13 Pedro Alves <palves@redhat.com>
16231
16232 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16233
e3940304
PA
162342016-01-13 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.base/default.exp: Expect $_inferior as well.
16237 * gdb.multi/base.exp: Test $_inferior.
16238
a911d87a
PA
162392016-01-13 Pedro Alves <palves@redhat.com>
16240
16241 PR breakpoints/19388
16242 * gdb.base/catch-signal-siginfo-cond.c: New file.
16243 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16244
82075af2
JS
162452016-01-12 Josh Stone <jistone@redhat.com>
16246 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16247
16248 * gdb.base/catch-syscall.c (do_execve): New variable.
16249 (main): Conditionally trigger an execve.
16250 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16251 (test_catch_syscall_execve): New, check entry/return across execve.
16252 (do_syscall_tests): Call test_catch_syscall_execve.
16253
e46eeedd
PA
162542016-01-12 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.base/random-signal.exp (do_test): New procedure, with body
16257 of testcase moved in.
16258
01d8c27e
JK
162592016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16260 Pedro Alves <palves@redhat.com>
16261
16262 * gdb.base/funcargs.exp (finish from indirectly called function):
16263 Reintroduce the case for 'First'.
16264
9a706302
JK
162652016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16266 Pedro Alves <palves@redhat.com>
16267
16268 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16269 (tcatch_vfork_then_child_follow_exec)
16270 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16271 identification.
16272
c0ecb95f
JK
162732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16274
16275 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16276 and repeats to unlimited.
16277 * gdb.python/py-value.exp: Likewise.
16278 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16279 and repeats to unlimited.
16280
6cfc1fcb
JK
162812016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16282
16283 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16284 and reordering the functions.
16285 * gdb.multi/hangout.c: Likewise.
16286 * gdb.multi/hello.c: Likewise.
16287
582a1b00
SM
162882016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16289
16290 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16291 absolute.
16292 (SingleStatisticTestResult.report): Use dict.keys instead of
16293 dict.iterkeys.
16294
79bc59cb
PA
162952016-01-06 Pedro Alves <palves@redhat.com>
16296
16297 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16298
43368e1d
MM
162992016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16300
16301 * gdb.btrace/dlopen.exp: New.
16302 * gdb.btrace/dlopen.c: New.
16303 * gdb.btrace/dlopen-dso.c: New.
16304
79fad5b8
SL
163052015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16306
16307 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16308 PATTERN argument is optional.
16309
ab8314b3
JB
163102015-12-24 Joel Brobecker <brobecker@adacore.com>
16311
16312 * lib/ada.exp (target_compile_ada_from_dir): New function.
16313 (gdb_compile_ada): Reimplement avoiding the use of project files.
16314 * gdb.ada/gnat_ada.gpr: Delete.
16315 * gdb.ada/cond_lang.exp: Adjust test to make path before
16316 filename optional.
16317 * gdb.ada/small_reg_param.exp: Likewise.
16318
fe33faff
SM
163192015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16320
16321 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16322
6d265cb4
TP
163232015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16324
16325 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16326 case.
16327
10125099
SM
163282015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16329
16330 * gdb.base/break.exp: Remove dead code.
16331 * gdb.base/sepdebug.exp: Likewise.
16332
3ca22649
SM
163332015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16334
16335 * gdb.asm/asm-source.exp: Remove HP-UX references.
16336 * gdb.base/annota1.exp: Likewise.
16337 * gdb.base/annota3.exp: Likewise.
16338 * gdb.base/attach.exp: Likewise.
16339 * gdb.base/bigcore.exp: Likewise.
16340 * gdb.base/break.exp: Likewise.
16341 * gdb.base/call-ar-st.exp: Likewise.
16342 * gdb.base/callfuncs.exp: Likewise.
16343 * gdb.base/catch-fork-static.exp: Likewise.
16344 * gdb.base/display.exp: Likewise.
16345 * gdb.base/foll-exec-mode.exp: Likewise.
16346 * gdb.base/foll-exec.exp: Likewise.
16347 * gdb.base/foll-fork.exp: Likewise.
16348 * gdb.base/foll-vfork.exp: Likewise.
16349 * gdb.base/funcargs.exp: Likewise.
16350 * gdb.base/hbreak2.exp: Likewise.
16351 * gdb.base/inferior-died.exp: Likewise.
16352 * gdb.base/interrupt.exp: Likewise.
16353 * gdb.base/multi-forks.exp: Likewise.
16354 * gdb.base/nodebug.exp: Likewise.
16355 * gdb.base/sepdebug.exp: Likewise.
16356 * gdb.base/solib1.c: Likewise.
16357 * gdb.base/step-test.exp: Likewise.
16358 * gdb.mi/non-stop.c: Likewise.
16359 * gdb.mi/pthreads.c: Likewise.
16360 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16361 * gdb.threads/pthreads.c: Likewise.
16362 * gdb.threads/staticthreads.exp: Likewise.
16363 * lib/future.exp: Likewise.
16364 * lib/gdb.exp: Likewise.
16365 * gdb.base/so-indr-cl.c: Remove.
16366 * gdb.base/so-indr-cl.exp: Likewise.
16367 * gdb.base/solib.c: Likewise.
16368 * gdb.base/solib.exp: Likewise.
16369 * gdb.base/solib2.c: Likewise.
16370
b6304613
SM
163712015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16372
16373 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16374 * gdb.base/call-ar-st.exp: Likewise.
16375 * gdb.base/callfuncs.exp: Likewise.
16376 * gdb.base/condbreak.exp: Likewise.
16377 * gdb.base/constvars.exp: Likewise.
16378 * gdb.base/hbreak2.exp: Likewise.
16379 * gdb.base/langs.exp: Likewise.
16380 * gdb.base/list.exp: Likewise.
16381 * gdb.base/long_long.exp: Likewise.
16382 * gdb.base/ptype.exp: Likewise.
16383 * gdb.base/scope.exp: Likewise.
16384 * gdb.base/signals.exp: Likewise.
16385 * gdb.base/so-impl-ld.exp: Likewise.
16386 * gdb.base/varargs.exp: Likewise.
16387 * gdb.base/volatile.exp: Likewise.
16388 * gdb.base/whatis.exp: Likewise.
16389 * gdb.cp/cplusfuncs.exp: Likewise.
16390 * gdb.cp/inherit.exp: Likewise.
16391 * gdb.cp/local.exp: Likewise.
16392 * gdb.cp/member-ptr.exp: Likewise.
16393 * gdb.cp/method.exp: Likewise.
16394 * gdb.cp/overload.exp: Likewise.
16395 * gdb.cp/templates.exp: Likewise.
16396 * gdb.stabs/weird.exp: Likewise.
16397 * lib/compiler.c: Likewise.
16398 * lib/compiler.cc: Likewise.
16399 * lib/cp-support.exp: Likewise.
16400 * lib/gdb.exp: Likewise.
16401
bf401b07
SM
164022015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16403
16404 * configure.ac: Remove HP-UX case.
16405 * configure: Regenerate.
16406
aff9c0f8
SM
164072015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16408
16409 * lib/gdb.exp (gdb_compile): Add function doc.
16410
a6904d5a
PA
164112015-12-17 Pedro Alves <palves@redhat.com>
16412
16413 PR threads/19354
16414 * gdb.multi/info-threads.exp: New file.
16415
a22279dd
YQ
164162015-12-15 Yao Qi <yao.qi@linaro.org>
16417
16418 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16419 is aarch64*-*-*.
16420
0588c796
SL
164212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16422
16423 * gdb.base/history-duplicates.exp: Skip if no readline support.
16424
5d978e17
SL
164252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16426
16427 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16428
7e763b86
SL
164292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16430
16431 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16432
87a3a92c
SL
164332015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16434
16435 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16436 ctrl-C if nointerrupts target property is set.
16437 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16438 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16439 * gdb.base/paginate-bg-execution.exp: Likewise.
16440 * gdb.base/paginate-execution-startup.exp: Likewise.
16441 * gdb.base/random-signal.exp: Likewise.
16442 * gdb.base/range-stepping.exp: Likewise.
16443 * gdb.cp/annota2.exp: Likewise.
16444 * gdb.cp/annota3.exp: Likewise.
16445 * gdb.gdb/selftest.exp: Likewise.
16446 * gdb.threads/continue-pending-status.exp: Likewise.
16447 * gdb.threads/leader-exit.exp: Likewise.
16448 * gdb.threads/manythreads.exp: Likewise.
16449 * gdb.threads/pthreads.exp: Likewise.
16450 * gdb.threads/schedlock.exp: Likewise.
16451 * gdb.threads/sigthread.exp: Likewise.
16452
a8f077dc
DB
164532015-12-11 Don Breazeal <donb@codesourcery.com>
16454
16455 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16456 remote.
16457 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16458 * gdb.base/foll-exec.exp (main): Enable for target remote.
16459 * gdb.base/foll-fork.exp (main): Likewise.
16460 * gdb.base/foll-vfork.exp (main): Likewise.
16461 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16462 (proc continue_to_exit_bp_loc): Use clean_restart.
16463 * gdb.base/pie-execl.exp (main): Disable for target remote.
16464 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16465 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16466 * gdb.threads/execl.exp (main): Likewise.
16467 * gdb.threads/fork-child-threads.exp (main): Likewise.
16468 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16469 remote.
16470 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16471 remote.
16472 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16473 pid.tid style ptids, instead of just tid.
16474 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16475 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16476 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16477 ptids, instead of just tid.
16478
3b2464a8
AB
164792015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16480
16481 * gdb.base/list.exp (test_list_forward): Add end of file error
16482 test.
16483 (test_repeat_list_command): Add end of file error test.
16484 (test_list_backwards): Add beginning of file error test.
16485
a0def019
AB
164862015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16487
16488 * gdb.base/list.exp (test_list_invalid_args): New function,
16489 defined, and called.
16490
5c000dff
AB
164912015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16492
16493 * gdb.base/list.exp (test_list): Make test names unique.
16494
f1637ebe
YQ
164952015-12-11 Yao Qi <yao.qi@linaro.org>
16496
16497 * gdb.base/coremaker2.c: Remove.
16498
36d6fc0a
PA
164992015-12-10 Pedro Alves <palves@redhat.com>
16500
16501 * gdb.multi/base.exp: Remove stale "spaces" references.
16502
762f7747
PA
165032015-12-10 Pedro Alves <palves@redhat.com>
16504
16505 * gdb.multi/base.exp: Don't use nowarnings.
16506 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16507 * gdb.multi/hangout.c: Include stdio.h.
16508 * gdb.multi/hello.c: Include stdlib.h.
16509 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16510 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16511 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16512
28d2bfb9
AB
165132015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16514
16515 * gdb.dwarf2/dw2-ranges-base.c: New file.
16516 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16517 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16518 support additional line table, and debug ranges generation.
16519 (Dwarf::ranges): New function, generate .debug_ranges.
16520 (Dwarf::lines): Support generating simple line table programs.
16521 (Dwarf::assemble): Initialise new namespace variables.
16522
5fc2beac
KB
165232015-12-09 Kevin Buettner <kevinb@redhat.com>
16524
16525 * gdb.base/async.exp (proc test_background): Add case for
16526 asynchronous execution not supported.
16527
1c35a88f
LM
165282015-12-09 Luis Machado <lgustavo@codesourcery.com>
16529
16530 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16531 format and change test names to make them unique.
16532
b593e3d9
RK
165332015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16534 Pedro Alves <pedro@redhat.com>
16535
16536 PR gdb/18702
16537 Add checking of floatformats setup on x86_64 hosts.
16538 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16539 (smallval, bigval): New labels/constants.
16540 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16541 float" after loading bigval and smallval.
16542
d72413e6
PMR
165432015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16544
16545 * gdb.ada/fun_overload_menu.exp: New testcase.
16546 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16547
ece66d65
JS
165482015-12-04 Josh Stone <jistone@redhat.com>
16549
16550 * gdb.base/catch-fork-static.exp: New.
16551
41d0efca
YQ
165522015-12-03 Yao Qi <yao.qi@linaro.org>
16553
16554 * gdb.base/sizeof.c: Don't include stdio.h and
16555 ../lib/unbuffer_output.c.
16556 (main): New variable 'size' and 'value'. Remove printf and
16557 gdb_unbuffer_output. Assign return value to size and value.
16558 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16559 at the beginning.
16560 (check_sizeof): Check the result by printing variable 'size'.
16561 (check_valueof): Check the result by printing variable 'value'.
16562
99fd02d9
YQ
165632015-12-01 Yao Qi <yao.qi@linaro.org>
16564
16565 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16566 for aarch64*-*-linux* target.
16567
f2faf941
PA
165682015-11-30 Pedro Alves <palves@redhat.com>
16569
16570 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16571
04bf20c5
PA
165722015-11-30 Pedro Alves <palves@redhat.com>
16573
16574 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16575 Handle non-stop mode vCont replies.
16576
09df4675
PA
165772015-11-30 Pedro Alves <palves@redhat.com>
16578
16579 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16580 prepare_for_testing. Start gdb with "set non-stop on" appended to
16581 GDBFLAGS. Lax expected stop output.
16582
58b584af
YQ
165832015-11-27 Yao Qi <yao.qi@linaro.org>
16584
16585 * gdb.arch/arm-neon.exp: New.
16586 * gdb.arch/arm-neon.c: New.
16587
dfcb77a8
YQ
165882015-11-27 Yao Qi <yao.qi@linaro.org>
16589
16590 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16591
88e8ec1b
YQ
165922015-11-27 Yao Qi <yao.qi@linaro.org>
16593
16594 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16595 frames-invalid annotation.
16596
bfde72c2
YQ
165972015-11-27 Yao Qi <yao.qi@linaro.org>
16598
16599 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16600
f6512a69
SM
166012015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16602
16603 * gdb.threads/names.exp: New file.
16604 * gdb.threads/names.c: New file.
16605 * README: Mention gdb,no_thread_names.
16606
46a3515b
MM
166072015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16608
16609 PR 19297
16610 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16611 support" error.
16612
62147a22
PA
166132015-11-24 Pedro Alves <palves@redhat.com>
16614
16615 PR 17539
16616 * gdb.base/display.exp: Expect displays to be sorted in ascending
16617 order. Use multi_line.
16618 * gdb.base/solib-display.exp: Likewise.
16619
2f341b6e
PA
166202015-11-24 Pedro Alves <palves@redhat.com>
16621
16622 PR 17539
25d49b86
PA
16623 * gdb.base/display.exp: Expect displays to be sorted in ascending
16624 order. Use multi_line.
16625 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16626
7e0aa6aa
PA
166272015-11-24 Pedro Alves <palves@redhat.com>
16628
16629 PR 17539
16630 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16631 threads in ascending order.
16632 * gdb.base/foll-fork.exp: Likewise.
16633 * gdb.base/foll-vfork.exp: Likewise.
16634 * gdb.base/multi-forks.exp: Likewise.
16635 * gdb.mi/mi-nonstop.exp: Likewise.
16636 * gdb.mi/mi-nsintrall.exp: Likewise.
16637 * gdb.multi/base.exp: Likewise.
16638 * gdb.multi/multi-arch.exp: Likewise.
16639 * gdb.python/py-inferior.exp: Likewise.
16640 * gdb.threads/break-while-running.exp: Likewise.
16641 * gdb.threads/execl.exp: Likewise.
16642 * gdb.threads/gcore-thread.exp: Likewise.
16643 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16644 * gdb.threads/kill.exp: Likewise.
16645 * gdb.threads/linux-dp.exp: Likewise.
16646 * gdb.threads/multiple-step-overs.exp: Likewise.
16647 * gdb.threads/next-bp-other-thread.exp: Likewise.
16648 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16649 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16650 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16651 * gdb.threads/thread-find.exp: Likewise.
16652 * gdb.threads/tls.exp: Likewise.
16653 * lib/mi-support.exp (mi_reverse_list): Delete.
16654 (mi_check_thread_states): No longer reverse list.
16655
2cc57ad8
PA
166562015-11-24 Pedro Alves <palves@redhat.com>
16657
16658 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16659 use lowercase.
16660
c93e8391
SM
166612015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16662
16663 * gdb.trace/actions.c: Include trace-common.h.
16664 (main): Add a location for a fast tracepoint.
16665 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16666 the normal tracepoints.
16667 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16668
045ccf91
SM
166692015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16670
16671 * save-trace.exp: Factor out code to these...
16672 (gdb_save_tracepoints): New.
16673 (gdb_load_tracepoints): New.
16674 (do_save_load_test): New.
16675
5506f9f6
KB
166762015-11-23 Kevin Buettner <kevinb@redhat.com>
16677
16678 * gdb.base/asmlabel.exp: New test.
16679 * gdb.base/asmlabel.c: New test case.
16680
16c3b12f
JB
166812015-11-23 Joel Brobecker <brobecker@adacore.com>
16682
16683 * gdb.base/wrong_frame_bt_full-main.c: New file.
16684 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16685 * gdb.base/wrong_frame_bt_full.exp: New file.
16686
155bfbd3
JB
166872015-11-23 Joel Brobecker <brobecker@adacore.com>
16688
16689 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16690
bb097445
JM
166912015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16692
206853a0 16693 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16694 pstate register when comparing registers values in
16695 sparc64-*-linux-gnu targets to avoid spurious differences.
16696
9c88ed8f
JM
166972015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16698
206853a0 16699 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16700
96161e25
SL
167012015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16702
16703 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16704 as type argument to gdb_compile.
16705 * gdb.base/nested-subp2.exp: Likewise.
16706 * gdb.base/nested-subp3.exp: Likewise.
16707
340c2830
DV
167082015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16709
16710 * lib/dwarf.exp (_note): Fix left shift of negative value.
16711 * gdb.trace/trace-condition.exp: Likewise.
16712
c1862d0f
YQ
167132015-11-13 Yao Qi <yao.qi@linaro.org>
16714
16715 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16716 comments about d10v.
16717 (test_scalar_returns): Likewise.
16718 * gdb.base/d10v.ld: Remove.
16719 * gdb.base/overlays.exp: Remove the target triplet checking for
16720 d10v-*-*.
16721 * gdb.base/structs.exp (test_struct_returns): Remove the
16722 comments about d10v.
16723 (test_struct_calls): Likewise.
16724
77ae9c19
YQ
167252015-11-13 Yao Qi <yao.qi@linaro.org>
16726
16727 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16728 * gdb.base/gnu_vector.c: Don't include stdio.h.
16729 (main): Don't print res and call add_some_intvecs.
16730
430e004e
MK
167312015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16732
16733 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16734 macro.
16735 (func5): Removed.
16736 (func4): Use FAST_TRACEPOINT_LABEL.
16737 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16738 macro.
16739 (func): Removed.
16740 (thread_function): Use FAST_TRACEPOINT_LABEL.
16741 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16742 (func): Remove.
16743 (marker): Use FAST_TRACEPOINT_LABEL.
16744 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16745 (pendfunc1): Remove.
16746 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16747 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16748 (foo): Remove.
16749 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16750 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16751 macro.
16752 (func): Remove.
16753 (marker): Use FAST_TRACEPOINT_LABEL.
16754 * gdb.trace/trace-common.h: New header.
16755 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16756 macro.
16757 (func): Remove.
16758 (marker): Use FAST_TRACEPOINT_LABEL.
16759 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16760 (func): Remove.
16761 (thread_function): Use FAST_TRACEPOINT_LABEL.
16762
6e7675a7
MK
167632015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16764
16765 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16766 in front.
16767 * gdb.trace/change-loc.exp: Use global pcreg definition.
16768 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16769 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16770 in front.
16771 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16772 * gdb.trace/pending.exp: Likewise.
16773 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16774 * gdb.trace/trace-break.exp: Likewise.
16775 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16776 in front.
16777 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16778 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16779 in front.
16780 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16781
dddc0e16
JB
167822015-11-09 Joel Brobecker <brobecker@adacore.com>
16783
16784 * gdb.ada/fin_fun_out: New testcase.
16785
c6f0b406
KB
167862015-11-07 Kevin Buettner <kevinb@redhat.com>
16787
16788 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16789 value associated with DW_AT_byte_size.
16790 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16791 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16792 DW_AT_upper_bound.
16793
f01dcfd9
KB
167942015-11-07 Kevin Buettner <kevinb@redhat.com>
16795
16796 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16797 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16798 version.
16799 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16800 gdb.dwarf2/dw2-canonicalize-type.exp,
16801 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16802 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16803 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16804 provided by gdb_target_symbol_prefix_flags_asm.
16805 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16806 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16807 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16808 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16809 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16810 macros where needed). Use this macro for symbols which require
16811 the prefix provided by SYMBOL_PREFIX.
16812
2223449a
KB
168132015-11-05 Kevin Buettner <kevinb@redhat.com>
16814
16815 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16816 New procs.
16817 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16818 representing expressions, of more than one list element.
16819 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16820 to prepend linker symbol prefix to f.
16821 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16822 table_1 and table_2.
16823 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16824 Likewise, for f and g.
16825 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16826 for ptr.
16827 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16828 for main.
16829 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16830 table_1_ptr and table_2_ptr.
16831
6f2f1a3a
JK
168322015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16833 Joel Brobecker <brobecker@adacore.com>
16834
16835 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16836
566c56c9
MK
168372015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16838
16839 * gdb.reverse/s390-mvcle.c: New test.
16840 * gdb.reverse/s390-mvcle.exp: New file.
16841 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16842
d5f0636b
MK
168432015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16844
16845 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16846
7ad8b86c
MK
168472015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16848
16849 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16850 reaching marker2.
16851 * gdb.reverse/getresuid-reverse.exp: Likewise.
16852 * gdb.reverse/pipe-reverse.exp: Likewise.
16853 * gdb.reverse/readv-reverse.exp: Likewise.
16854 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16855 * gdb.reverse/time-reverse.exp: Likewise.
16856 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16857
4081c0f1
YQ
168582015-10-30 Yao Qi <yao.qi@linaro.org>
16859
16860 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16861 (empty_cycle): Remove.
16862 (main): Don't call empty_cycle. Don't use watch_count_done.
16863 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16864 empty_cycle. Rewrite the code counting HW watchpoints.
16865
452b4ba5
MK
168662015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16867
16868 * gdb.reverse/fstatat-reverse.c: New test.
16869 * gdb.reverse/fstatat-reverse.exp: New file.
16870 * gdb.reverse/getresuid-reverse.c: New test.
16871 * gdb.reverse/getresuid-reverse.exp: New file.
16872 * gdb.reverse/pipe-reverse.c: New test.
16873 * gdb.reverse/pipe-reverse.exp: New file.
16874 * gdb.reverse/readv-reverse.c: New test.
16875 * gdb.reverse/readv-reverse.exp: New file.
16876 * gdb.reverse/recvmsg-reverse.c: New test.
16877 * gdb.reverse/recvmsg-reverse.exp: New file.
16878 * gdb.reverse/time-reverse.c: New test.
16879 * gdb.reverse/time-reverse.exp: New file.
16880 * gdb.reverse/waitpid-reverse.c: New test.
16881 * gdb.reverse/waitpid-reverse.exp: New file.
16882
5e2e7507
JK
168832015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16884
16885 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16886
0fde2c53
DE
168872015-10-26 Doug Evans <dje@google.com>
16888
16889 PR symtab/17391
16890 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16891 * gdb.dwarf2/bad-regnum.c: New file.
16892 * gdb.dwarf2/bad-regnum.exp: New file.
16893
1a70ae97
DE
168942015-10-26 Doug Evans <dje@google.com>
16895
16896 PR python/18938
16897 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16898 file.
16899
27dc26ab
JK
169002015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16901
16902 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16903 for a change by "Mention language in compile error message".
16904
bed91f4d
SM
169052015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16906
16907 PR python/18073
16908 * gdb.python/py-type.c (C::a_method): New.
16909 (C::a_const_method): New.
16910 (C::a_static_method): New.
16911 (a_function): New.
16912 * gdb.python/py-type.exp (test_fields): Test getting fields
16913 from function and method.
16914
3f2f83dd
KB
169152015-10-21 Keven Boell <keven.boell@intel.com>
16916
16917 * gdb.fortran/vla-alloc-assoc.exp: New file.
16918 * gdb.fortran/vla-datatypes.exp: New file.
16919 * gdb.fortran/vla-datatypes.f90: New file.
16920 * gdb.fortran/vla-history.exp: New file.
16921 * gdb.fortran/vla-ptype-sub.exp: New file.
16922 * gdb.fortran/vla-ptype.exp: New file.
16923 * gdb.fortran/vla-sizeof.exp: New file.
16924 * gdb.fortran/vla-sub.f90: New file.
16925 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16926 * gdb.fortran/vla-value-sub-finish.exp: New file.
16927 * gdb.fortran/vla-value-sub.exp: New file.
16928 * gdb.fortran/vla-value.exp: New file.
16929 * gdb.fortran/vla-ptr-info.exp: New file.
16930 * gdb.mi/mi-vla-fortran.exp: New file.
16931 * gdb.mi/vla.f90: New file.
16932
27145d50
SL
169332015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16934
16935 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16936 of hardwired timeout value.
16937
5f3ff4f8
JK
169382015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16939 Pedro Alves <palves@redhat.com>
16940
16941 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16942 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16943
bfd09d20
JS
169442015-10-19 Josh Stone <jistone@redhat.com>
16945
16946 * gdb.base/catch-syscall.c: Include <sched.h>.
16947 (unknown_syscall): New variable.
16948 (main): Trigger a vfork and an unknown syscall.
16949 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16950 (unknown_syscall_number): Likewise.
16951 (check_call_to_syscall): Accept an optional syscall pattern.
16952 (check_return_from_syscall): Likewise.
16953 (check_continue): Likewise.
16954 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16955 (test_catch_syscall_skipping_return): New test toggling off 'catch
16956 syscall' to step over the syscall return, then toggling back on.
16957 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16958 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16959 (do_syscall_tests): Call test_catch_syscall_without_args and
16960 test_catch_syscall_mid_vfork.
16961 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16962 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16963
b32b93c6
AS
169642015-10-19 Andrew Stubbs <ams@codesourcery.com>
16965
16966 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16967 print g_vE): Add new pass patterns.
16968 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16969 print various symbol names for vptr fields.
16970
9d622bda
AB
169712015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16972
16973 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16974 results.
16975
0fd8ac1c
YQ
169762015-10-12 Yao Qi <yao.qi@linaro.org>
16977
16978 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16979
34240514
YQ
169802015-10-12 Yao Qi <yao.qi@linaro.org>
16981
16982 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16983 is aarch64*-*-linux*.
16984
8240f442
YQ
169852015-10-12 Yao Qi <yao.qi@linaro.org>
16986
16987 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16988 (can_relocate_bcond_true): ... it.
16989 (can_relocate_bcond_false): New function.
16990 (foo): Likewise.
16991 (can_relocate_bl): Likewise.
16992 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16993 can_relocate_bl.
16994
2520f728
PMR
169952015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16996
16997 * gdb.base/nested-addr.c: New file.
16998 * gdb.base/nested-addr.exp: New testcase.
16999
abcef95a
MM
170002015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17001
17002 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17003 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17004 its output. Ignore the output of "record goto begin" and instead
17005 check that GDB is replaying.
17006
145e3ddb
PA
170072015-10-09 Pedro Alves <palves@redhat.com>
17008
17009 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17010 (top level): Use it in the run with no args test.
17011
d5d8c4e1
IB
170122015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17013
17014 * gdb.dlang/properties.exp: New file.
17015
06e635ef
SL
170162015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17017
17018 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17019 whether or not address 0x1000 is mapped on the target.
17020
e019fd1d
SM
170212015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17022
17023 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17024 build.
17025
77ba2a67
MM
170262015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17027
17028 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17029 instruction-history test.
17030
c60eb31f
DE
170312015-09-28 Doug Evans <dje@google.com>
17032
17033 * gdb.base/gcore.c (array_func): Add reference to static_array.
17034
9a3c8263
SM
170352015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17036
17037 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17038 source line.
17039
9720e656
SL
170402015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17041
17042 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17043 short or char as base type.
17044
938d3bf2
SL
170452015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17046
17047 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17048 to allow any size enum.
17049
e6c2c623
PMR
170502015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17051
17052 * gdb.ada/array_ptr_renaming.exp: New testcase.
17053 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17054 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17055
06da0f77
PL
170562015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17057
17058 * gdb.trace/ftrace-lock.c: New file.
17059 * gdb.trace/ftrace-lock.exp: New file.
17060
4f51c22a
PL
170612015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17062
17063 * gdb.arch/insn-reloc.c: New file.
17064 * gdb.arch/ftrace-insn-reloc.exp: New file.
17065
7041adf4
PL
170662015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17067
17068 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17069 instruction.
17070 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17071 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17072 * gdb.trace/range-stepping.c: Likewise.
17073 * gdb.trace/trace-break.c: Likewise.
17074 * gdb.trace/trace-mt.c (thread_function): Likewise.
17075 * gdb.trace/ftrace.c (marker): Likewise.
17076 * gdb.trace/trace-condition.c (marker): Likewise.
17077 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17078 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17079 is_aarch64_target.
17080
015d2e7e
DE
170812015-09-18 Doug Evans <xdje42@gmail.com>
17082
17083 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17084 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17085
26b188a2
SL
170862015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17087
17088 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17089 the breakpoint.
17090
79dc332b
SL
170912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17092
17093 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17094 the pending breakpoint. Remove timeout override for "Run till
17095 MI pending breakpoint on pendfunc3 on thread 2" test.
17096
f57929f2
SL
170972015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17098
17099 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17100 filename pattern.
17101
3f469b17
SL
171022015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17103
17104 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17105 in breakpoint filename pattern.
17106
515b89b3
SL
171072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17108
7800dbe4
SL
17109 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17110
171112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17112
515b89b3
SL
17113 * gdb.linespec/explicit.exp: Check for readline support for
17114 tab-completion tests. Fix obvious typo.
17115
d2939ba2
MM
171162015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17117
17118 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17119 and replay.
17120
cbb55fa7
MM
171212015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17122
17123 * gdb.btrace/non-stop.c: New.
17124 * gdb.btrace/non-stop.exp: New.
17125
43691ca1
PL
171262015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17127 Yao Qi <yao.qi@linaro.org>
17128
17129 * gdb.trace/trace-condition.c: New file.
17130 * gdb.trace/trace-condition.exp: New file.
17131
d78908cf
WW
171322015-09-16 Wei-cheng Wang <cole945@gmail.com>
17133
17134 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17135 for testing bytecode compilation.
17136
1ed415e2
PA
171372015-09-16 Pedro Alves <palves@redhat.com>
17138 Sandra Loosemore <sandra@codesourcery.com>
17139
17140 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17141 (SECONDS): Redefine.
17142 (main): Call pthread_kill and alarm early.
17143 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17144 support.
17145 (test): If the target can't hardware step and doesn't support
17146 displaced stepping, increase the timeout.
17147
d136eff5
PA
171482015-09-16 Pedro Alves <palves@redhat.com>
17149
17150 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17151 (enable_debug): New procedures.
17152 (test): Use them. Bail out if waiting for threads fails.
17153 (top level): Bail out if a test fails.
17154
991f019c
YQ
171552015-09-16 Yao Qi <yao.qi@linaro.org>
17156
17157 * gdb.asm/asm-source.exp: Set asm-arch for
17158 aarch64*-*-* target.
17159 * gdb.asm/aarch64.inc: New file.
17160
bfca584f
PMR
171612015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17162
17163 * gdb.ada/array_of_variable_length.exp: New testcase.
17164 * gdb.ada/array_of_variable_length/foo.adb: New file.
17165 * gdb.ada/array_of_variable_length/pck.adb: New file.
17166 * gdb.ada/array_of_variable_length/pck.ads: New file.
17167
b326e587
DE
171682015-09-15 Doug Evans <dje@google.com>
17169
17170 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17171 of function static local variable.
17172
5382cfab
PW
171732015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17174
17175 * gdb.threads/tls-so_extern.exp: New test file.
17176 * gdb.threads/tls-so_extern.c: New test file.
17177 * gdb.threads/tls-so_extern_main.c: New test file.
17178
141c5cc4
JK
171792015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17180
17181 * gdb.opt/solib-intra-step-lib.c: New file.
17182 * gdb.opt/solib-intra-step-main.c: New file.
17183 * gdb.opt/solib-intra-step.exp: New file.
17184
d15dcecd
PA
171852015-09-15 Pedro Alves <palves@redhat.com>
17186
17187 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17188 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17189
4c2f2a79
PA
171902015-09-14 Pedro Alves <palves@redhat.com>
17191
17192 * gdb.base/hook-stop-continue.c: Delete.
17193 * gdb.base/hook-stop-continue.exp: Delete.
17194 * gdb.base/hook-stop-frame.c: Delete.
17195 * gdb.base/hook-stop-frame.exp: Delete.
17196 * gdb.base/hook-stop.c: New file.
17197 * gdb.base/hook-stop.exp: New file.
17198
919e6dbe
PMR
171992015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17200
17201 * gdb.ada/access_to_packed_array.exp: New testcase.
17202 * gdb.ada/access_to_packed_array/foo.adb: New file.
17203 * gdb.ada/access_to_packed_array/pack.adb: New file.
17204 * gdb.ada/access_to_packed_array/pack.ads: New file.
17205
157280a4
MM
172062015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17207
17208 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17209 buffer size test.
17210
2fd33e94
DB
172112015-09-11 Don Breazeal <donb@codesourcery.com>
17212
17213 * gdb.base/foll-exec.c: Add copyright header. Fix
17214 formatting issues.
17215 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17216 (do_exec_tests): Use clean_restart in place of zap_session,
17217 and for test initialization. Fix formatting issues. Use
17218 fail in place of perror.
17219 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17220 an expect statement to match an expression with output from
17221 the program under debug.
17222 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17223 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17224 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17225 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17226 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17227
e70b6e8e
DE
172282015-09-09 Doug Evans <dje@google.com>
17229
17230 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17231
7a551a51
DE
172322015-09-09 Doug Evans <dje@google.com>
17233
17234 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17235
4c666f84
DE
172362015-09-09 Doug Evans <dje@google.com>
17237
17238 * gdb.base/savedregs.exp: Fix typo.
17239
243a9253
PA
172402015-09-09 Pedro Alves <palves@redhat.com>
17241
17242 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17243
c0fa8fbd
SL
172442015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17245
17246 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17247 command actually switches threads. Give up on remaining
17248 tests if target fails to stop at breakpoint.
17249
cd7c1778
PMR
172502015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17251
17252 * gdb.ada/funcall_char.exp: New testcase.
17253 * gdb.ada/funcall_char/foo.adb: New file.
17254
dc5c8746
PMR
172552015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17256
17257 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17258 expected outputs. Add two testcases for completing ambiguous
17259 functions.
17260 * gdb.ada/complete/aux_pck.adb: New file.
17261 * gdb.ada/complete/aux_pck.ads: New file.
17262 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17263 Ambiguous_Func functions.
17264 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17265 * gdb.ada/complete/pck.adb: Likewise.
17266
4e83a1e7
UW
172672015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17268
17269 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17270 failures to run the test program under GDB.
17271
8ce74153
LM
172722015-08-26 Luis Machado <lgustavo@codesourcery.com>
17273
17274 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17275 to C.
17276
e9756d52
PP
172772015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17278
17279 * gdb.base/run-after-attach.exp: New test file.
17280 * gdb.base/run-after-attach.c: New test file.
17281
8d37573b
DB
172822015-08-26 Don Breazeal <donb@codesourcery.com>
17283
17284 * gdb.base/foll-exec-2.c: New test program.
17285 * gdb.base/foll-exec-2.exp: New test.
17286
63e43d3a
PMR
172872015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17288
17289 * gdb.base/nested-subp1.exp: New file.
17290 * gdb.base/nested-subp1.c: New file.
17291 * gdb.base/nested-subp2.exp: New file.
17292 * gdb.base/nested-subp2.c: New file.
17293 * gdb.base/nested-subp3.exp: New file.
17294 * gdb.base/nested-subp3.c: New file.
17295
3d40fbb5
PA
172962015-08-24 Pedro Alves <palves@redhat.com>
17297
17298 * gdb.server/connect-without-multi-process.c: New file.
17299 * gdb.server/connect-without-multi-process.exp: New file.
17300
4422ac93
LM
173012015-08-24 Luis Machado <lgustavo@codesourcery.com>
17302
17303 * gdb.opt/inline-markers.c: Make z int.
17304
91dddb86
LM
173052015-08-24 Luis Machado <lgustavo@codesourcery.com>
17306
17307 * gdb.opt/inline-markers.c: Make z volatile.
17308
a48847ee
LM
173092015-08-24 Luis Machado <lgustavo@codesourcery.com>
17310
17311 * gdb.opt/inline-bt.c: New volatile global z.
17312 * gdb.opt/inline-cmds.c: Likewise.
17313 * gdb.opt/inline-locals.c: Likewise.
17314 * gdb.opt/inline-markers.c: New extern global z.
17315 (marker): Use z.
17316 (inline_fn): Likewise.
17317
0ebbc52b
PA
173182015-08-24 Pedro Alves <palves@redhat.com>
17319
17320 * config/m32r-stub.exp: Remove file.
17321 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17322 * gdb.base/call-rt-st.exp: Likewise.
17323 * gdb.base/call-strs.exp: Likewise.
17324 * gdb.base/default.exp: Remove references to h8300-*-hms and
17325 *-*-udi*.
17326 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17327
77c365df
AA
173282015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17329
17330 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17331 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17332 and "return" use KFAIL when GDB can not read/write the vector
17333 return value.
17334
4313b8c0
GB
173352015-08-21 Gary Benson <gbenson@redhat.com>
17336
17337 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17338
0e433b32
PA
173392015-08-20 Pedro Alves <palves@redhat.com>
17340
17341 * gdb.server/solib-list.exp: No longer expect an interior stop in
17342 non-stop mode.
17343
221e1a37
PA
173442015-08-20 Pedro Alves <palves@redhat.com>
17345
17346 * gdb.server/connect-stopped-target.c: New file.
17347 * gdb.server/connect-stopped-target.exp: New file.
17348
40e3ad0e
PA
173492015-08-20 Pedro Alves <palves@redhat.com>
17350
17351 * gdb.dwarf2/comp-unit-lang.exp: New file.
17352 * gdb.dwarf2/comp-unit-lang.c: New file.
17353
af39b327
PMR
173542015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17355
17356 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17357 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17358
7d45c7c3 173592015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17360
7d45c7c3
KB
17361 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17362 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17363
4d6cceb4
DE
173642015-08-18 Doug Evans <dje@google.com>
17365 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17366
17367 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17368 skip_python_tests. New arg prompt_regexp.
17369 (skip_python_tests): New function.
17370 * lib/mi-support.exp (mi_skip_python_tests): New function.
17371 * gdb.python/py-mi-objfile-gdb.py: New file.
17372 * gdb.python/py-mi-objfile.c: New file.
17373 * gdb.python/py-mi-objfile.exp: New file.
17374
ad89c2aa
KS
173752015-08-17 Keith Seitz <keiths@redhat.com>
17376
17377 * gdb.linespec/explicit.exp: Move strace test from here ...
17378 * gdb.trace/strace.exp: ... to here.
17379
e3ae3c43
PP
173802015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17381
17382 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17383 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17384
604b2636
DE
173852015-08-14 Doug Evans <xdje42@gmail.com>
17386
17387 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17388 inferior before selecting a new file.
17389
6ff0ba5f
DE
173902015-08-14 Doug Evans <xdje42@gmail.com>
17391
17392 * gdb.mi/mi-disassemble.exp: Update.
17393 * gdb.base/disasm-optim.S: New file.
17394 * gdb.base/disasm-optim.c: New file.
17395 * gdb.base/disasm-optim.h: New file.
17396 * gdb.base/disasm-optim.exp: New file.
17397
9ca98f92
KS
173982015-08-14 Keith Seitz <keiths@redhat.com>
17399
17400 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17401 "evaluated-by".
17402
52bbc560
JB
174032015-08-13 Joel Brobecker <brobecker@adacore.com>
17404
17405 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17406
5d8c3ed3
PMR
174072015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17408
17409 * gdb.ada/fun_renaming.exp: New testcase.
17410 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17411 * gdb.ada/fun_renaming/pack.adb: New file.
17412 * gdb.ada/fun_renaming/pack.ads: New file.
17413
ea8812bc
KS
174142015-08-12 Keith Seitz <keiths@redhat.com>
17415
17416 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17417 gdb_get_line_number.
17418
4dafcdeb
JB
174192015-08-12 Joel Brobecker <brobecker@adacore.com>
17420
17421 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17422 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17423 gdb.base/dso2dso.exp: New files.
17424
5ba32597
SDJ
174252015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17426 Pedro Alves <palves@redhat.com>
17427 Keith Seitz <keiths@redhat.com>
17428
17429 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17430 GDBFLAGS.
17431
b6dafabf
PP
174322015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17433
17434 * gdb.base/gdbhistsize-history.exp
17435 (test_histsize_history_setting): Use save_vars.
17436 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17437 Use save_vars.
17438 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17439 * gdb.base/readline.exp: Use save_vars.
17440
abe8e607
PP
174412015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17442
17443 * lib/gdb.exp (save_vars): New proc.
17444
629500fa
KS
174452015-08-11 Keith Seitz <keiths@redhat.com>
17446
17447 * gdb.base/help.exp: Update help_breakpoint_text.
17448
eb8c4e2e
KS
174492015-08-11 Keith Seitz <keiths@redhat.com>
17450
17451 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17452 (at toplevel): Call test_explicit_breakpoints.
17453 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17454 breakpoints.
17455 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17456 breakpoint conditions, "-cond".
17457
87f0e720
KS
174582015-08-11 Keith Seitz <keiths@redhat.com>
17459
17460 * gdb.linespec/3explicit.c: New file.
17461 * gdb.linespec/cpexplicit.cc: New file.
17462 * gdb.linespec/cpexplicit.exp: New file.
17463 * gdb.linespec/explicit.c: New file.
17464 * gdb.linespec/explicit.exp: New file.
17465 * gdb.linespec/explicit2.c: New file.
17466 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17467 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17468 before using in the matching pattern.
17469 Clarify that `prefix' is a regular expression.
17470
f00aae0f
KS
174712015-08-11 Keith Seitz <keiths@redhat.com>
17472
17473 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17474 test.
17475 Add tests for missing ",FMT" and ",".
17476
e27852be
DE
174772015-08-10 Doug Evans <dje@google.com>
17478 Keith Seitz <keiths@redhat.com>
17479
17480 PR gdb/17960
17481 * gdb.base/completion.exp: Add location completer tests.
17482
7f03bd92
PA
174832015-08-07 Pedro Alves <palves@redhat.com>
17484
17485 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17486 tests here.
17487 (top level): Run do_test with and without displaced stepping.
17488
3fc8eb30
PA
174892015-08-07 Pedro Alves <palves@redhat.com>
17490
17491 * gdb.base/valgrind-disp-step.c: New file.
17492 * gdb.base/valgrind-disp-step.exp: New file.
17493
d4569d7b
PA
174942015-08-07 Pedro Alves <palves@redhat.com>
17495
17496 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17497 Delete function.
17498 (main): Add alarm. Run an infinite loop instead of calling
17499 wait_threads.
17500 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17501 comment.
17502 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17503 Delete function.
17504 (main): Add alarm. Run an infinite loop instead of calling
17505 wait_threads.
17506 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17507 comment.
17508
e1316e60
PA
175092015-08-07 Pedro Alves <palves@redhat.com>
17510
17511 * gdb.base/checkpoint-ns.exp: New file.
17512 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17513 standard_testfile.
17514
da8c46d2
MM
175152015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17516
17517 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17518 * gdb.btrace/instruction_history.exp: Update.
17519 * gdb.btrace/tsx.exp: New.
17520 * gdb.btrace/tsx.c: New.
17521
de1c2c52
PA
175222015-08-06 Pedro Alves <palves@redhat.com>
17523
17524 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17525 increase timeout.
17526 * gdb.reverse/until-precsave.exp: Bump timeouts.
17527
782e0bf4
PA
175282015-08-06 Pedro Alves <palves@redhat.com>
17529
17530 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17531
83e97ed0
PA
175322015-08-06 Pedro Alves <palves@redhat.com>
17533
17534 PR gdb/18749
17535 * gdb.threads/process-dies-while-handling-bp.c: New file.
17536 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17537
863d01bd
PA
175382015-08-06 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17541 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17542
0a39bb32
PA
175432015-08-05 Pedro Alves <palves@redhat.com>
17544
17545 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17546 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17547
ee2d2b10
SL
175482015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17549
17550 * gdb.base/bp-permanent.exp: Report test as unsupported if
17551 the target cannot stop at the permanent breakpoint.
17552
4e1bdb00
DE
175532015-08-03 Doug Evans <dje@google.com>
17554
17555 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17556 10000.
17557
3d338901
DE
175582015-08-03 Doug Evans <dje@google.com>
17559
17560 * Makefile.in (workers/%.worker, build-perf): New rule.
17561 (GDB_PERFTEST_MODE): New variable.
17562 (check-perf): Use it.
17563 (clean): Clean up gdb.perf parallel build subdirs.
17564 * lib/build-piece.exp: New file.
17565 * lib/gdb.exp (make_gdb_parallel_path): New function
17566 (standard_output_file, standard_temp_file): Call it.
17567 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17568 of $GDB_PARALLEL.
17569 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17570
af061d3e
DE
175712015-08-03 Doug Evans <dje@google.com>
17572
8e1afc81 17573 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17574 (LOG_FILE_NAME): New global.
17575 (TextReporter.__init__): Initialize self.txt_sum.
17576 (TextReporter.report): Add support for multiple data-points.
17577 Move report to perftest.sum, put raw data in perftest.log.
17578 (TextReporter.start): Open sum and log files.
17579 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17580 * gdb.perf/lib/perftest/testresult.py
17581 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17582
2c8c5d37
PA
175832015-07-31 Pedro Alves <palves@redhat.com>
17584
17585 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17586 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17587 kill_wait_spawned_process instead of explicit "kill -9".
17588 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17589 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17590 kill_wait_spawned_process.
17591 * gdb.base/attach-twice.exp: Likewise.
17592 * gdb.base/attach.exp: Likewise.
17593 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17594 gdb_test_multiple.
17595 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17596 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17597 kill_wait_spawned_process.
17598 * gdb.base/valgrind-infcall.exp: Likewise.
17599 * gdb.multi/multi-attach.exp: Likewise.
17600 * gdb.python/py-prompt.exp: Likewise.
17601 * gdb.python/py-sync-interp.exp: Likewise.
17602 * gdb.server/ext-attach.exp: Likewise.
17603 * gdb.threads/attach-into-signal.exp (corefunc): Use
17604 spawn_wait_for_attach, spawn_id_get_pid and
17605 kill_wait_spawned_process.
17606 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17607 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17608 spawn_id_get_pid and kill_wait_spawned_process.
17609 * gdb.threads/attach-stopped.exp (corefunc): Use
17610 spawn_wait_for_attach, spawn_id_get_pid and
17611 kill_wait_spawned_process.
17612 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17613 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17614 kill_wait_spawned_process instead of explicit "kill -9".
17615 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17616 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17617 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17618 processes. Don't map cygwin/windows pids here. Now returns a
17619 spawn id list.
17620
032a0fca
SL
176212015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17622
17623 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17624 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17625 correct patch.
17626
61a934ca
SL
176272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17628
17629 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17630
4bc4d428
SL
176312015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17632
17633 Reapply:
17634 2014-05-21 Mark Wielaard <mjw@redhat.com>
17635
17636 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17637
998d452a
PA
176382015-07-30 Pedro Alves <palves@redhat.com>
17639
17640 * linux-low.c (handle_extended_wait): Set the child's last
17641 reported status to TARGET_WAITKIND_STOPPED.
17642
69dde7dc
PA
176432015-07-30 Pedro Alves <palves@redhat.com>
17644
17645 PR threads/18600
17646 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17647 only shows inferior 1.
17648
4dd63d48
PA
176492015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17650 Pedro Alves <palves@redhat.com>
17651
17652 PR threads/18600
17653 * gdb.threads/fork-plus-threads.c: New file.
17654 * gdb.threads/fork-plus-threads.exp: New file.
17655
d618e4c5
PP
176562015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17657
17658 * gdb.base/batch-preserve-term-settings.exp
17659 (test_terminal_settings_preserved_after_cli_exit): Use
17660 send_quit_command.
17661
1eef6428
PA
176622015-07-29 Pedro Alves <palves@redhat.com>
17663 Don Breazeal <donb@codesourcery.com>
17664
17665 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17666 output from both inferior_spawn_id and gdb_spawn_id.
17667
7da5b897
SDJ
176682015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17669
17670 * gdb.threads/attach-into-signal.exp (corefunc): Use
17671 with_test_prefix on nested loops, uniquefying the test messages.
17672
dac804df
SDJ
176732015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17674
17675 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17676 commit.
17677
06265e53
PP
176782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17679
17680 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17681 New proc.
17682 (test_terminal_settings_preserved_after_sigterm): New test.
17683
18206ca3
PP
176842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17685
17686 * gdb.base/batch-preserve-term-settings.exp
17687 (test_terminal_settings_preserved_after_cli_exit): New test.
17688
90074d11
PP
176892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17690
17691 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17692 manipulation of saved_gdbflags.
17693 (test_terminal_settings_preserved): Remove global declaration of
17694 the unused variable pagination_prompt. Remove manipulation of
17695 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17696 GDBFLAGS.
17697
eb1a7902
PA
176982015-07-29 Pedro Alves <palves@redhat.com>
17699
17700 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17701
8b75dd3b
PA
177022015-07-29 Pedro Alves <palves@redhat.com>
17703
17704 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17705 at the top.
17706
dedad4e3
PA
177072015-07-29 Pedro Alves <palves@redhat.com>
17708
17709 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17710 (main): Call gdb_unbuffer_output.
17711 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17712 (main): Call gdb_unbuffer_output.
17713 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17714 (main): Call gdb_unbuffer_output.
17715 * gdb.base/call-strs.exp: Adjust to step over the
17716 gdb_unbuffer_output call.
17717 * gdb.base/catch-gdb-caused-signals.c: Include
17718 "../lib/unbuffer_output.c".
17719 (main): Call gdb_unbuffer_output.
17720 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17721 (main): Call gdb_unbuffer_output.
17722 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17723 (main): Call gdb_unbuffer_output.
17724 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17725 (main): Call gdb_unbuffer_output.
17726 * gdb.base/shlib-call.exp: Adjust to step over the
17727 gdb_unbuffer_output call.
17728 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17729 (main): Call gdb_unbuffer_output.
17730 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17731 (main): Call gdb_unbuffer_output.
17732 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17733 (main): Rename to ...
17734 (test): ... this.
17735 (main): Reimplement.
17736 * gdb.base/varargs.exp: Run to test instead of to main.
17737 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17738 (main): Call gdb_unbuffer_output.
17739
58789a91
PA
177402015-07-29 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17743 factore out from mi_continue_dprintf. For call-style dprintfs,
17744 expect dprintf output out of $inferior_spawn_id.
17745 (mi_continue_dprintf): Use mi_expect_dprintf.
17746 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17747 (main): Call gdb_unbuffer_output.
17748
e8376742
PA
177492015-07-29 Pedro Alves <palves@redhat.com>
17750
17751 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17752 (default_mi_gdb_start): Set inferior_spawn_id instead of
17753 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17754 gdb_spawn_id.
17755 (mi_gdb_test): Always expect inferior output from both
17756 $inferior_spawn_id and $gdb_spawn_id.
17757
08280010
PA
177582015-07-29 Pedro Alves <palves@redhat.com>
17759
17760 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17761 send_inferior and $inferior_spawn_id.
17762
4d30e432
PA
177632015-07-29 Pedro Alves <palves@redhat.com>
17764
17765 * gdb.gdb/complaints.exp (test_initial_complaints)
17766 (test_serial_complaints, test_short_complaints): Use
17767 gdb_test_stdio.
17768 (test_empty_complaint): Handle $inferior_spawn_id !=
17769 $gdb_spawn_id.
17770
0d30a335
PA
177712015-07-29 Pedro Alves <palves@redhat.com>
17772
17773 * gdb.base/varargs.exp: Use gdb_test_stdio.
17774
39413b29
PA
177752015-07-29 Pedro Alves <palves@redhat.com>
17776
17777 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17778
7cb000a9
PA
177792015-07-29 Pedro Alves <palves@redhat.com>
17780
17781 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17782
d7b8ac82
PA
177832015-07-29 Pedro Alves <palves@redhat.com>
17784
17785 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17786 parameter into two new parameters, "inf_result" and "gdb_result".
17787 Expect inferior output and gdb output from $inferior_spawn_id and
17788 $gdb_spawn_id, respectively. Adjust all callers.
17789
789c3a0c
PA
177902015-07-29 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17793 of gdb_test_sequence.
17794
77e760c3
PA
177952015-07-29 Pedro Alves <palves@redhat.com>
17796
17797 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17798 (saw_spurious_output): Expect inferior output from
17799 $inferior_spawn_id. Use gdb_test_stdio.
17800
8396d2cd
PA
178012015-07-29 Pedro Alves <palves@redhat.com>
17802
17803 * gdb.base/dprintf.exp: Use standard_testfile. Change
17804 prepare_for_testing call.
17805 (srcfile): Don't set.
17806 (restart): New procedure.
17807 (test_dprintf): New procecure, use to continue over dprintfs.
17808 (test_call, test_agent): New procedures, tests moved here.
17809 Restart gdb and recreate dprintfs. Adjust expected output.
17810
2051d61f
PA
178112015-07-29 Pedro Alves <palves@redhat.com>
17812
17813 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17814
452397af
PA
178152015-07-29 Pedro Alves <palves@redhat.com>
17816
17817 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17818
8aed9555
PA
178192015-07-29 Pedro Alves <palves@redhat.com>
17820
17821 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17822 gdb_test_stdio.
17823
188a61b4
PA
178242015-07-29 Pedro Alves <palves@redhat.com>
17825
17826 * lib/gdb.exp (gdb_test_stdio): New procedure.
17827
12264a45
PA
178282015-07-29 Pedro Alves <palves@redhat.com>
17829
17830 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17831
23ffc893
PA
178322015-07-29 Pedro Alves <palves@redhat.com>
17833
17834 * gdb.base/call-signal-resume.exp: Remove check for
17835 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17836 * gdb.base/unwindonsignal.exp: Likewise.
17837 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17838 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17839
65566918
PA
178402015-07-29 Pedro Alves <palves@redhat.com>
17841
17842 * gdb.base/siginfo-addr.c (pass): New function.
17843 (handler): Call it iff si_addr is correct.
17844 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17845 Set a breakpoint at "pass" and continue to it.
17846
d60a9221
SDJ
178472015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17848
17849 * gdb.python/py-objfile.exp: Make some tests have unique names.
17850 * gdb.python/py-pp-registration.exp: Likewise.
17851
bde40b8f
PA
178522015-07-28 Pedro Alves <palves@redhat.com>
17853
17854 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17855
13e1dec8
SM
178562015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17857
17858 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17859
da33c9a7
SM
178602015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17861
17862 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17863
077836f7
PP
178642015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17865
17866 * gdb.base/gdb-sigterm-2.exp: New test.
17867
b8cc7b2e
DE
178682015-07-25 Doug Evans <xdje42@gmail.com>
17869
17870 Revert:
17871 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17872 (workers/%.worker, build-perf): New rule.
17873 (GDB_PERFTEST_MODE): New variable.
17874 (check-perf): Use it.
17875 (clean): Clean up gdb.perf parallel build subdirs.
17876 * lib/build-piece.exp: New file.
17877 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17878 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17879 name.
17880 (standard_temp_file): Ditto.
17881 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17882 of $GDB_PARALLEL.
17883
c8bd4544
DE
178842015-07-24 Doug Evans <dje@google.com>
17885
17886 * gdb.perf/lib/perftest/utils.py: New file.
17887 * gdb.perf/gm-hello.cc: New file.
17888 * gdb.perf/gm-pervasive-typedef.cc: New file.
17889 * gdb.perf/gm-pervasive-typedef.h: New file.
17890 * gdb.perf/gm-std.cc: New file.
17891 * gdb.perf/gm-std.h: New file.
17892 * gdb.perf/gm-use-cerr.cc: New file.
17893 * gdb.perf/gm-utils.h: New file.
17894 * gdb.perf/gmonster-null-lookup.py: New file.
17895 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17896 * gdb.perf/gmonster-print-cerr.py: New file.
17897 * gdb.perf/gmonster-ptype-string.py: New file.
17898 * gdb.perf/gmonster-runto-main.py: New file.
17899 * gdb.perf/gmonster-select-file.py: New file.
17900 * gdb.perf/gmonster1-null-lookup.exp: New file.
17901 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17902 * gdb.perf/gmonster1-print-cerr.exp: New file.
17903 * gdb.perf/gmonster1-ptype-string.exp: New file.
17904 * gdb.perf/gmonster1-runto-main.exp: New file.
17905 * gdb.perf/gmonster1-select-file.exp: New file.
17906 * gdb.perf/gmonster1.cc: New file.
17907 * gdb.perf/gmonster1.exp: New file.
17908 * gdb.perf/gmonster2-null-lookup.exp: New file.
17909 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17910 * gdb.perf/gmonster2-print-cerr.exp: New file.
17911 * gdb.perf/gmonster2-ptype-string.exp: New file.
17912 * gdb.perf/gmonster2-runto-main.exp: New file.
17913 * gdb.perf/gmonster2-select-file.exp: New file.
17914 * gdb.perf/gmonster2.cc: New file.
17915 * gdb.perf/gmonster2.exp: New file.
17916
6eab34f3
DE
179172015-07-24 Doug Evans <dje@google.com>
17918
17919 * gdb.perf/README: New file.
17920 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17921 * lib/gen-perf-test.exp: New file.
17922
63738bfd
DE
179232015-07-24 Doug Evans <dje@google.com>
17924
17925 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17926 (PerfTest::startup): New function.
17927 (PerfTest::run): Return result of calling body.
17928 (PerfTest::assemble): Rewrite.
17929 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17930 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17931 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17932 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17933 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17934
7b606f95
DE
179352015-07-24 Doug Evans <dje@google.com>
17936
17937 * lib/gdb.exp (clean_restart): Make executable optional.
17938
a97b16b8
DE
179392015-07-24 Doug Evans <dje@google.com>
17940
17941 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17942 compiler_info references.
17943 * gdb.cp/temargs.exp: Ditto.
17944 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17945 (get_compiler_info): Early exit if already computed. Set compiler_info
17946 to "unknown" if there was a problem.
17947 (test_compiler_info): Add function comment. Call get_compiler_info.
17948
35baa57f
DE
179492015-07-24 Doug Evans <dje@google.com>
17950
17951 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17952 (workers/%.worker, build-perf): New rule.
17953 (GDB_PERFTEST_MODE): New variable.
17954 (check-perf): Use it.
17955 (clean): Clean up gdb.perf parallel build subdirs.
17956 * lib/build-piece.exp: New file.
17957 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17958 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17959 name.
17960 (standard_temp_file): Ditto.
17961 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17962 of $GDB_PARALLEL.
17963
6ebea266
DE
179642015-07-24 Doug Evans <dje@google.com>
17965
17966 * lib/future.exp (gdb_default_target_compile): New option
17967 "early_flags".
17968 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17969 --as-needed.
17970
1e76a7e9
SDJ
179712015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17972
17973 * gdb.base/catch-syscall.exp: Call gdb_exit before
17974 gdb_skip_xml_test.
17975
5068630a
PA
179762015-07-24 Pedro Alves <palves@redhat.com>
17977
17978 * gdb.python/py-events.exp: Accept output between the stop event
17979 and the prompt.
17980 * gdb.python/py-evsignal.exp: Likewise.
17981 * gdb.python/py-evthreads.exp: Likewise.
17982
77598427
PA
179832015-07-24 Pedro Alves <palves@redhat.com>
17984
17985 PR gdb/18717
17986 * gdb.threads/non-ldr-exit.c: New file.
17987 * gdb.threads/non-ldr-exit.exp: New file.
17988
11e6c98f
YQ
179892015-07-24 Yao Qi <yao.qi@linaro.org>
17990
17991 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17992 restarting process.
17993
51aee833
YQ
179942015-07-24 Yao Qi <yao.qi@linaro.org>
17995
17996 * gdb.server/ext-restart.exp: New file.
17997
8cfe207c
YQ
179982015-07-24 Yao Qi <yao.qi@linaro.org>
17999
18000 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18001 argument options.
18002 * gdb.server/ext-wrapper.exp: New file.
18003
cc12ce38
DE
180042015-07-23 Doug Evans <dje@google.com>
18005
18006 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18007 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18008
d0d84780
PMR
180092015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18010
18011 * gdb.ada/var_arr_typedef.exp: New testcase.
18012 * gdb.ada/var_arr_typedef/pack.adb: New file.
18013 * gdb.ada/var_arr_typedef/pack.ads: New file.
18014 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18015
8b558f79
JB
180162015-07-20 Joel Brobecker <brobecker@adacore.com>
18017
18018 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18019
775a3298
JK
180202015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18021
18022 * gdb.arch/i386-biarch-core.exp: Replace istarget
18023 by "complete set gnutarget". Remove expectation for the "core-file"
18024 command.
18025
db1ff28b
JK
180262015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18027
18028 Revert the previous commit:
18029 Tests for validate symbol file using build-id.
18030
0a94970d
JK
180312015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18032
18033 Tests for validate symbol file using build-id.
18034 * gdb.base/solib-mismatch-lib.c: New file.
18035 * gdb.base/solib-mismatch-libmod.c: New file.
18036 * gdb.base/solib-mismatch.c: New file.
18037 * gdb.base/solib-mismatch.exp: New file.
18038
03346981
SL
180392015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18040
18041 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18042 nios2-*-linux*.
18043 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18044 * gdb.base/siginfo.exp: Likewise.
18045 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18046
42422cc7
PL
180472015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18048
18049 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18050 Move it to ...
18051 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18052 ... here.
18053 * gdb.trace/range-stepping.exp: Check that the target supports
18054 range stepping.
18055
cfa68bae
JK
180562015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18057
18058 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18059
8ffdba26
PA
180602015-07-14 Pedro Alves <palves@redhat.com>
18061
18062 * gdb.base/killed-outside.exp: New file.
18063 * gdb.base/killed-outside.c: New file.
18064
218a5a11
JK
180652015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18066
18067 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18068 (n at main): New.
18069 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18070
e03ed3c6
AA
180712015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18072
18073 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18074 infcall tests instead of setting up for KFAIL.
18075
485668e5
MM
180762015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18077
18078 * gdb.btrace/record_goto-step.exp: New.
18079
08464196
JK
180802015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18081
18082 PR compile/18484
18083 * gdb.compile/compile.c (struct struct_type): Add volatile to
18084 selffield's type.
18085 * gdb.compile/compile.exp
18086 (compile code struct_object.selffield = &struct_object): Skip further
18087 struct_object tests if this one xfails.
18088
bcf5c1d9
RC
180892015-07-08 Robert O'Callahan <robert@ocallahan.org>
18090
18091 PR exp/18617
18092 * gdb.trace/ax.exp: Add test.
18093
4931af25
YQ
180942015-07-07 Yao Qi <yao.qi@linaro.org>
18095
18096 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18097 instead of istarget "aarch64*-*-*".
18098 * gdb.arch/aarch64-fp.exp: Likewise.
18099 * gdb.base/float.exp: Likewise.
18100 * gdb.reverse/aarch64.exp: Likewise.
18101 * lib/gdb.exp (is_aarch64_target): New proc.
18102
9fcf688e
YQ
181032015-07-07 Yao Qi <yao.qi@linaro.org>
18104
18105 * lib/gdb.exp (is_aarch32_target): New proc.
18106 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18107 instead of "istarget "arm*-*-*"".
18108 * gdb.arch/arm-disp-step.exp: Likewise.
18109 * gdb.arch/thumb-bx-pc.exp: Likewise.
18110 * gdb.arch/thumb-prologue.exp: Likewise.
18111 * gdb.arch/thumb-singlestep.exp: Likewise.
18112 * gdb.base/disp-step-syscall.exp: Likewise.
18113 * gdb.base/float.exp: Likewise.
18114
fbd8d50d
YQ
181152015-07-07 Yao Qi <yao.qi@linaro.org>
18116
18117 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18118 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18119
71be1fdc
YQ
181202015-07-07 Yao Qi <yao.qi@linaro.org>
18121
18122 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18123 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18124 if it exists.
18125 * gdb.multi/multi-arch.exp: Likewise.
18126
3e221d36
SM
181272015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18128
18129 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18130 print.
18131
d441430b
YQ
181322015-07-07 Yao Qi <yao.qi@linaro.org>
18133
18134 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18135
06f810bd
MG
181362015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18137
18138 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18139 '[' and ']' characters.
18140
5e61e7c0
IB
181412015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18142
18143 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18144
28bf096c
PA
181452015-06-29 Pedro Alves <palves@redhat.com>
18146
18147 PR threads/18127
18148 * gdb.threads/hand-call-new-thread.c: New file.
18149 * gdb.threads/hand-call-new-thread.c: New file.
18150
ee93cd5e
KS
181512015-06-26 Keith Seitz <keiths@redhat.com>
18152 Doug Evans <dje@google.com>
18153
18154 PR 16253
18155 * gdb.cp/var-tag-2.cc: New file.
18156 * gdb.cp/var-tag-3.cc: New file.
18157 * gdb.cp/var-tag-4.cc: New file.
18158 * gdb.cp/var-tag.cc: New file.
18159 * gdb.cp/var-tag.exp: New file.
18160
fc637f04
PP
181612015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18162
18163 * gdb.base/history-duplicates.exp: New test.
18164
2e52ae68
PP
181652015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18166
18167 * gdb.base/completion.exp: Test the completion of the "focus"
18168 command.
18169
6e22494e
JK
181702015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18171
18172 * gdb.arch/amd64-prologue-skip.S: New file.
18173 * gdb.arch/amd64-prologue-skip.exp: New file.
18174
bf7b9cd9
SM
181752015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18176
18177 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18178 is_address_zero_readable check.
18179
201e8dfd
PB
181802015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18181
18182 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18183 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18184
5cd867b4
YQ
181852015-06-24 Yao Qi <yao.qi@linaro.org>
18186
18187 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18188 linux targets.
18189
4d7be007
YQ
181902015-06-24 Yao Qi <yao.qi@linaro.org>
18191
18192 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18193 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18194 * gdb.base/siginfo-thread.exp: Likewise.
18195
07fcd301
YQ
181962015-06-22 Yao Qi <yao.qi@linaro.org>
18197
18198 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18199
52042a00
YQ
182002015-06-22 Yao Qi <yao.qi@linaro.org>
18201
18202 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18203 aarch64*-*-*.
18204 (skip_hw_watchpoint_tests): Likewise.
18205
74bd41ce
PP
182062015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18207
18208 * gdb.base/gdbinit-history.exp: Test the interaction between
18209 setting GDBHISTSIZE and setting the history size via .gdbinit.
18210
bc460514
PP
182112015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18212
18213 PR gdb/16999
18214 * gdb.base/gdbhistsize-history.exp: New test.
18215
b58c513b
PP
182162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18217
18218 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18219 with GDBHISTSIZE.
18220 * gdb.base/readline.exp: Likewise.
18221
92046791
YQ
182222015-06-17 Yao Qi <yao.qi@linaro.org>
18223
18224 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18225 line.
18226
2093d2d3
PP
182272015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18228
18229 * gdb.base/gdbinit-history.exp: Add test case to check that
18230 an unlimited history file does not get truncated on exit.
18231
e6c693af
AA
182322015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18233
18234 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18235 (VECTOR): New macro. Use it...
18236 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18237 ...for these typedefs.
18238 (int8, char1, int1, double1): New typedefs.
18239 (struct just_int2, struct two_int2): New structures.
18240 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18241 (add_structvecs, add_singlevecs): New functions.
18242 (main): Call add_some_intvecs twice.
18243 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18244 the compile and exit upon failure. Try compiling for the "native"
18245 architecture. Test inferior function calls with vector arguments
18246 and vector return value handling with "finish" and "return".
18247
c74f7d1c
JT
182482015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18249
18250 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18251 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18252 PE file.
18253 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18254
98aa42ee
AT
182552015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18256
18257 PR breakpoints/16465
18258 * gdb.mi/mi-dprintf-pending.c: New file.
18259 * gdb.mi/mi-dprintf-pending.exp: New test.
18260 * gdb.mi/mi-dprintf-pendshr.c: New file.
18261
7d73c23c 182622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18263 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18264
18265 * gdb.arch/i386-mpx-map.c: New file.
18266 * gdb.arch/i386-mpx-map.exp: New File.
18267
182682015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18269
18270 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18271 * gdb.arch/i386-mpx.exp: Indentation fixed.
18272
182732015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18274
18275 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18276 function and improved indentation.
18277 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18278 gdb_test_multiple. Added additional tests to skip the test.
18279
182802015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18281
18282 * gdb.arch/i386-avx512.c: Change path in include file.
18283 * gdb.arch/i386-avx512.exp: Change include dir path
18284 compilation flag.
18285 * gdb.arch/i386-mpx.c: Change path in include file.
18286 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18287 flag.
18288
d5eba19a
JK
182892015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18290
18291 * gdb.compile/compile-print.exp (compile print *vararray@3)
18292 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18293
7f361056
JK
182942015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18295
18296 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18297 (do not keep jit in memory): ... this.
18298 (expect 5): Change it to ...
18299 (expect no 5): ... this.
18300
3b462ec2
SM
183012015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18302
18303 PR gdb/15564
18304 * gdb.mi/mi-detach.exp: New file.
18305
e0619de6
JK
183062015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18307
18308 PR symtab/18392
18309 * gdb.arch/amd64-tailcall-self.S: New file.
18310 * gdb.arch/amd64-tailcall-self.c: New file.
18311 * gdb.arch/amd64-tailcall-self.exp: New file.
18312
e970cb34
DB
183132015-05-28 Don Breazeal <donb@codesourcery.com>
18314
18315 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18316 tests for remote targets by checking is_target_gdbserver.
18317
b2e2f908
DE
183182015-05-27 Doug Evans <dje@google.com>
18319
18320 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18321 * gdb.dwarf2/opaque-type-lookup.c: New file.
18322 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18323
82c7be31
DE
183242015-05-26 Doug Evans <dje@google.com>
18325
18326 * gdb.cp/iostream.cc: New file.
18327 * gdb.cp/iostream.exp: New file.
18328
b4f54984
DE
183292015-05-26 Doug Evans <dje@google.com>
18330
18331 * gdb.dwarf2/dw2-op-call.exp: Update.
18332 * gdb.dwarf2/dw4-sig-types.exp: Update.
18333 * gdb.dwarf2/implptr.exp: Update.
18334 * gdb.mi/mi-cmd-param-changed.exp: Update.
18335
4ea6efe9
DE
183362015-05-26 Doug Evans <dje@google.com>
18337
18338 * gdb.python/py-lazy-string.c: New file.
18339 * gdb.python/py-lazy-string.exp: New file.
18340 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18341 (main): Update. Add estring3.
18342 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18343 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18344
f6bb7db3
YQ
183452015-05-26 Omair Javaid <omair.javaid@linaro.org>
18346 Yao Qi <yao.qi@linaro.org>
18347
18348 * gdb.reverse/aarch64.c: New.
18349 * gdb.reverse/aarch64.exp: New.
18350
a81bfbd0
OJ
183512015-05-26 Omair Javaid <omair.javaid@linaro.org>
18352
25d49b86
PA
18353 * lib/gdb.exp (supports_process_record): Return true for
18354 aarch64*-linux*.
a81bfbd0
OJ
18355 (supports_reverse): Likewise.
18356
158bf1b4
PP
183572015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18358
18359 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18360 Use with_test_prefix.
18361
a0145030
AB
183622015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18363
18364 * gdb.base/completion.exp: Add test for completion of layout
18365 names.
18366
ebe3b578
AB
183672015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18368
18369 * lib/gdb.exp (skip_tui_tests): New proc.
18370 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18371
84204ed7
PA
183722015-05-19 Pedro Alves <palves@redhat.com>
18373
18374 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18375 Save the whole env array instead of just HOME. Unset HISTSIZE in
18376 the environment while testing. Restore whole environment
18377 afterwards.
18378
37442ce1
DE
183792015-05-16 Doug Evans <xdje42@gmail.com>
18380
18381 * gdb.guile/scm-ports.c: New file.
18382 * gdb.guile/scm-ports.exp: Add memory port tests.
18383
36de76f9
JK
183842015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18385
18386 * gdb.compile/compile-print.c: New file.
18387 * gdb.compile/compile-print.exp: New file.
18388
3a9558c4
JK
183892015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18390
18391 * gdb.compile/compile-ops.exp: Cast param to void.
18392 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18393 (compile code struct_object.selffield = &struct_object): Add xfail.
18394
aa715135
JG
183952015-05-15 Joel Brobecker <brobecker@adacore.com>
18396
18397 * gdb.ada/arr_enum_with_gap: New testcase.
18398
931e5bc3
JG
183992015-05-15 Joel Brobecker <brobecker@adacore.com>
18400
18401 * gdb.ada/byte_packed_arr: New testcase.
18402
9cd4d857
JB
184032015-05-15 Joel Brobecker <brobecker@adacore.com>
18404
18405 * gdb.ada/pckd_neg: New testcase.
18406
ebfd00d2
PP
184072015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18408
18409 PR gdb/17820
18410 * gdb.base/gdbinit-history.exp: New test.
18411 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18412 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18413
4c082a81
SC
184142015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18415
18416 * gdb.python/py-xmethods.cc: Enhance test case.
18417 * gdb.python/py-xmethods.exp: New tests.
18418 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18419 function.
18420 (B_indexoper): Likewise.
18421 (global_dm_list) : Add new xmethod worker functions.
18422
f7797074
SDJ
184232015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18424
18425 * gdb.base/coredump-filter.exp: Correctly unset
18426 "coredump_var_addr" array.
18427
a4674e4e
PA
184282015-05-08 Pedro Alves <palves@redhat.com>
18429
18430 * gdb.server/non-existing-program.exp: Unset spawn_id.
18431
df2eb078
SC
184322015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18433
18434 PR python/18291
18435 * gdb.python/py-xmethods.exp: Add tests.
18436
422349a3
YQ
184372015-05-08 Yao Qi <yao.qi@linaro.org>
18438
18439 PR gdb/18208
18440 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18441 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18442 function set_coredump_filter, and remove remote_exec call.
18443 Remove argument ipid. Callers update.
18444 (top level): Don't get inferior's PID.
18445
63fc80ce
AA
184462015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18447
18448 * gdb.base/watch_thread_num.exp: Skip test on targets without
18449 access watchpoints.
18450
80ad801e
PA
184512015-05-06 Pedro Alves <palves@redhat.com>
18452
18453 PR server/18081
18454 * gdb.server/non-existing-program.exp: New file.
18455
0fa7fe50
JB
184562015-05-05 Joel Brobecker <brobecker@adacore.com>
18457
18458 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18459
3ea89b92
PMR
184602015-05-05 Joel Brobecker <brobecker@adacore.com>
18461
18462 * gdb.ada/out_of_line_in_inlined: New testcase.
18463
87b8eff0
JB
184642015-05-05 Joel Brobecker <brobecker@adacore.com>
18465
18466 * gdb.ada/var_rec_arr: New testcase.
18467
5fccc635
YQ
184682015-04-30 Yao Qi <yao.qi@linaro.org>
18469
18470 * gdb.base/break-idempotent.exp: If
18471 skip_hw_watchpoint_multi_tests returns true, skip the tests
18472 on "rwatch" and "awatch".
18473
42d38f42
YQ
184742015-04-30 Yao Qi <yao.qi@linaro.org>
18475
18476 * gdb.base/relativedebug.exp: Invoke gdb command
18477 "info sharedlibrary", and if libc.so doesn't have debug info,
18478 skip the test.
18479
2ce1cdbf
DE
184802015-04-29 Doug Evans <dje@google.com>
18481
18482 * gdb.python/py-xmethods.exp: Add ptype tests.
18483 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18484 get_result_type method.
18485
f24a38c5
LM
184862015-04-29 Luis Machado <lgustavo@codesourcery.com>
18487
18488 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18489 the target does not support hardware watchpoints.
18490
ecbf2b3c
LM
184912015-04-29 Luis Machado <lgustavo@codesourcery.com>
18492
18493 * gdb.base/break-always.exp: Abort testing if writing to memory
18494 causes an error.
18495
34f5f757
DE
184962015-04-28 Doug Evans <dje@google.com>
18497
18498 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18499 * gdb.python/py-pp-registration.exp: ... here. New file.
18500 * gdb.python/py-pp-registration.c: New file.
18501 * gdb.python/py-pp-registration.py: New file.
18502
69b4374a
DE
185032015-04-28 Doug Evans <dje@google.com>
18504
18505 * gdb.python/py-bad-printers.c: New file.
18506 * gdb.python/py-bad-printers.py: New file.
18507 * gdb.python/py-bad-printers.exp: New file.
18508
59fb7612
SS
185092015-04-28 Sasha Smundak <asmundak@google.com>
18510
18511 * gdb.python/py-type.exp: New test.
18512
2631b16a
AW
185132015-04-28 Andy Wingo <wingo@igalia.com>
18514
18515 * gdb.python/py-parameter.exp:
18516 * gdb.guile/scm-parameter.exp: Escape the path that we are
18517 matching against, as it might contain characters that are special
18518 to regular expressions.
18519
460efde1
JB
185202015-04-27 Joel Brobecker <brobecker@adacore.com>
18521
18522 * gdb.ada/rec_comp: New testcase.
18523
2d369d8e
SDJ
185242015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18525
18526 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18527 before using it.
18528
cf75d6c3
AB
185292015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18530
18531 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18532 new tests for verilog output.
18533
8dbe7ca5
YQ
185342015-04-24 Yao Qi <yao.qi@linaro.org>
18535
18536 * boards/remote-gdbserver-on-localhost.exp: New file.
18537
4ef9fb2f
PA
185382015-04-23 Pedro Alves <palves@redhat.com>
18539
18540 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18541 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18542 "end of file", remove $inferior_spawn_id from the indirect list.
18543
0a803169
PA
185442015-04-23 Pedro Alves <palves@redhat.com>
18545
18546 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18547
749ef8f8
PA
185482015-04-23 Pedro Alves <palves@redhat.com>
18549
18550 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18551 on $any_spawn_id instead of only on $gdb_spawn_id.
18552
8aae4344
PM
185532015-04-21 Pierre Muller <muller@sourceware.org>
18554
18555 PR pascal/17815
18556 * lib/pascal.exp (gpc_compile): Add new option "class".
18557 (fpc_compile): Likewise.
18558 * gdb.pascal/case-insensitive-symbols.pas: New file.
18559 * gdb.pascal/case-insensitive-symbols.exp: New file.
18560
1586c8fb
GB
185612015-04-20 Gary Benson <gbenson@redhat.com>
18562
18563 * gdb.base/attach.exp: Fix three extended remote failures.
18564
1b6e6f5c
GB
185652015-04-17 Gary Benson <gbenson@redhat.com>
18566
18567 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18568 the main executable over the remote protocol.
18569
e797481d
PA
185702015-04-16 Pedro Alves <palves@redhat.com>
18571
18572 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18573 a new gdbserver if gdbserver_reconnect_p is set.
18574
1ca99c42
PA
185752015-04-16 Pedro Alves <palves@redhat.com>
18576
18577 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18578 is set, don't exit gdbserver.
18579
af9fd6f8
AA
185802015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18581
18582 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18583 appropriate .insn, such that an older assembler can be used.
18584 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18585 the z/Architecture instruction set on 31-bit targets as well.
18586
04ff1e61
AA
185872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18588
18589 * gdb.go/handcall.exp: Remove all logic related to the first
18590 breakpoint and rely on go_runto_main instead.
18591 * gdb.go/strings.exp: Likewise.
18592 * gdb.go/unsafe.exp: Likewise.
18593 * gdb.go/hello.exp: Likewise. Also rename the remaining
18594 breakpoint marker to "breakpoint 1".
18595 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18596 * gdb.go/strings.go: Likewise.
18597 * gdb.go/unsafe.go: Likewise.
18598 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18599 "set breakpoint 2 here" and rename the remaining breakpoint marker
18600 to "breakpoint 1".
18601
40d2f8d6
SM
186022015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18603
18604 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18605 if itertools.imap is not present.
18606 * gdb.python/py-objfile.exp: Add parentheses.
18607 * gdb.python/py-type.exp: Same.
18608 * gdb.python/py-unwind-maint.py: Same.
18609
8cbc97c6
YQ
186102015-04-15 Yao Qi <yao.qi@linaro.org>
18611
18612 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18613 of ":$ptr_size" and set its form explicitly.
18614
45fd756c
YQ
186152015-04-15 Pedro Alves <palves@redhat.com>
18616 Yao Qi <yao.qi@linaro.org>
18617
18618 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18619 timeout by factor of 4.
18620 (test_regular_watch): Likewise.
18621 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18622 * gdb.reverse/sigall-reverse.exp: Likewise.
18623 * gdb.reverse/until-precsave.exp: Likewise.
18624 * lib/gdb.exp (with_timeout_factor): New proc.
18625 (gdb_expect): Move some code to ...
18626 (get_largest_timeout): ... here. New procedure.
18627
9e811bc3
LM
186282015-04-14 Luis Machado <lgustavo@codesourcery.com>
18629
18630 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18631
0ff6fcb2
LM
186322015-04-13 Luis Machado <lgustavo@codesourcery.com>
18633
18634 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18635 to write to the .text section.
18636
7578d5f7
LM
186372015-04-13 Luis Machado <lgustavo@codesourcery.com>
18638
18639 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18640 Handle the case of targets that do not provide PID information.
18641
2efe15c4
YQ
186422015-04-13 Yao Qi <yao.qi@linaro.org>
18643
18644 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18645 and use expect instead of gdb_expect.
18646
8cd8f2f8
SDJ
186472015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18648
18649 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18650 "coredump_var_addr" to avoid naming conflict with other testcases.
18651
9ee41772
PA
186522015-04-10 Pedro Alves <palves@redhat.com>
18653
18654 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18655 gdb_test_sequence and gdb_assert.
18656
07473109
PA
186572015-04-10 Pedro Alves <palves@redhat.com>
18658
18659 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18660 test messages that don't include the breakpoint address.
18661
de3db44c
YQ
186622015-04-10 Yao Qi <yao.qi@linaro.org>
18663
18664 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18665 false for some offset and width combinations which aren't
18666 supported by linux kernel.
18667
c79d856c
PA
186682015-04-10 Pedro Alves <palves@redhat.com>
18669
18670 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18671 procedure, factored out from ...
18672 (top level): ... here. Add "set displaced-stepping" testing axis.
18673 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18674 parameter "displaced". Use it.
18675 (top level): Use foreach and add "set displaced-stepping" testing
18676 axis.
18677
ebc90b50
PA
186782015-04-10 Pedro Alves <palves@redhat.com>
18679
18680 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18681 Remove comment.
18682 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18683 both the address of the instruction that triggers the watchpoint
18684 and the address of the instruction immediately after, and use
18685 those addresses for the test. Fix comment.
18686
8f572e5c
PA
186872015-04-10 Pedro Alves <palves@redhat.com>
18688
18689 * gdb.base/sigstep.exp (breakpoint_to_handler)
18690 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18691 Test "backtrace" in handler.
18692 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18693 (top level): Add new "displaced" test axis to
18694 breakpoint_to_handler, breakpoint_to_handler_entry and
18695 breakpoint_over_handler.
18696
8d707a12
PA
186972015-04-10 Pedro Alves <palves@redhat.com>
18698
18699 PR gdb/18216
18700 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18701
ef713951
YQ
187022015-04-10 Yao Qi <yao.qi@linaro.org>
18703
18704 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18705 (test_add_rn_pc): New function.
18706 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18707 (top level): Invoke test_add_rn_pc.
18708
906d60cf
PA
187092015-04-10 Pedro Alves <palves@redhat.com>
18710
18711 PR gdb/13858
18712 * gdb.base/step-over-no-symbols.exp: New file.
18713
f2983cc3
AW
187142015-04-09 Andy Wingo <wingo@igalia.com>
18715
18716 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18717 after the Python tests.
18718
6d62641c
SDJ
187192015-04-08 Keith Seitz <keiths@redhat.com>
18720
18721 PR python/16699
18722 * gdb.python/py-completion.exp: New tests for completion.
18723 * gdb.python/py-completion.py (CompleteLimit1): New class.
18724 (CompleteLimit2): Likewise.
18725 (CompleteLimit3): Likewise.
18726 (CompleteLimit4): Likewise.
18727 (CompleteLimit5): Likewise.
18728 (CompleteLimit6): Likewise.
18729 (CompleteLimit7): Likewise.
18730
f3770638
PA
187312015-04-08 Pedro Alves <palves@redhat.com>
18732
18733 PR gdb/18214
18734 PR gdb/18216
18735 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18736 function.
18737 (main): Install it as SIGUSR1 handler.
18738 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18739 parameter. Always use "setup" as prefix. Toggle "set
18740 displaced-stepping" off/on depending on global. Don't switch to
18741 thread 1 here.
18742 (top level): Add displaced stepping "off/on" test axis. Update
18743 "setup" calls. Wrap each subtest with with_test_prefix. Test
18744 continuing with a queued signal in each thread.
18745
4496bed7
PA
187462015-04-08 Pedro Alves <palves@redhat.com>
18747
18748 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18749 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18750 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18751 Return early if running to main fails.
18752 * gdb.trace/while-stepping.exp: Likewise.
18753
b97fde92
PA
187542015-04-07 Pedro Alves <palves@redhat.com>
18755
18756 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18757 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18758 interact with inferior program.
18759
f71c18e7
PA
187602015-04-07 Pedro Alves <palves@redhat.com>
18761
18762 * lib/gdb.exp (inferior_spawn_id): New global.
18763 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18764 spawn id after processing the user code.
18765 (default_gdb_start): Set inferior_spawn_id.
18766 (send_inferior): New procedure.
18767 * lib/gdbserver-support.exp (gdbserver_start): Set
18768 inferior_spawn_id.
18769 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18770
6423214f
PA
187712015-04-07 Pedro Alves <palves@redhat.com>
18772
18773 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18774 * lib/gdbserver-support.exp (gdbserver_start): Make
18775 $server_spawn_id global.
18776 (gdbserver_start): Don't wait for gdbserver's spawn id with
18777 expect_background.
18778 (close_gdbserver): New procedure.
18779 (gdb_exit): Rename the default version and reimplement.
18780
71c0ee8c
PA
187812015-04-07 Pedro Alves <palves@redhat.com>
18782
72f4393d 18783 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18784 append the substituted item, not the original item.
18785
203bc29b
PA
187862015-04-07 Pedro Alves <palves@redhat.com>
18787
18788 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18789 gdb_expect.
18790
508a3ddf
PA
187912015-04-07 Pedro Alves <palves@redhat.com>
18792
18793 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18794 output appearing once only.
18795
9f6dbe2b
PA
187962015-04-07 Pedro Alves <palves@redhat.com>
18797
18798 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18799 that doesn't expect anything. Return early if running to main
18800 fails.
18801
337532fa
YQ
188022015-04-07 Yao Qi <yao.qi@linaro.org>
18803
18804 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18805 (child_function): Call alarm.
18806 (main): Move call to alarm into the loop.
18807 * gdb.threads/non-stop-fair-events.exp: Build program with
18808 -DTIMEOUT=$timeout.
18809
01b622d4
DE
188102015-04-06 Doug Evans <xdje42@gmail.com>
18811
18812 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18813 Fix dest parameter to board_info.
18814 (fpc_compile): Ditto.
18815 (gdb_compile_pascal): Rename dest arg to destfile.
18816
961f4160
PMR
188172015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18818
18819 * gdb.ada/funcall_ref.exp: New file.
18820 * gdb.ada/funcall_ref/foo.adb: New file.
18821
cafda597
YQ
188222015-04-02 Yao Qi <yao.qi@linaro.org>
18823
18824 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18825 is remote.
18826
fed040c6
GB
188272015-04-02 Gary Benson <gbenson@redhat.com>
18828
18829 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18830
d11916aa
SS
188312015-04-01 Sasha Smundak <asmundak@google.com>
18832
18833 * gdb.python/py-unwind-maint.c: New file.
18834 * gdb.python/py-unwind-maint.exp: New test.
18835 * gdb.python/py-unwind-maint.py: New file.
18836 * gdb.python/py-unwind.c: New file.
18837 * gdb.python/py-unwind.exp: New test.
18838 * gdb.python/py-unwind.py: New test.
18839
a1471180
PA
188402015-04-01 Pedro Alves <palves@redhat.com>
18841
18842 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18843 to fail instead of non-existent $test.
18844
0bbeccb1
PA
188452015-04-01 Pedro Alves <palves@redhat.com>
18846
18847 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18848 GDBFLAGS if not empty.
18849
3c724c8c
PMR
188502015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18851
18852 * gdb.ada/complete.exp: Remove "multi_line".
18853 * gdb.ada/info_exc.exp: Remove "multi_line".
18854 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18855 * gdb.ada/ptype_field.exp: Remove "multi_line".
18856 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18857 * gdb.ada/tagged.exp: Remove "multi_line".
18858 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18859 [multi_line ...]
18860 * gdb.btrace/delta.exp: Likewise.
18861 * gdb.btrace/exception.exp: Likewise.
18862 * gdb.btrace/function_call_history.exp: Likewise.
18863 * gdb.btrace/instruction_history.exp: Likewise.
18864 * gdb.btrace/nohist.exp: Likewise.
18865 * gdb.btrace/record_goto.exp: Likewise.
18866 * gdb.btrace/segv.exp: Likewise.
18867 * gdb.btrace/stepi.exp: Likewise.
18868 * gdb.btrace/tailcall.exp: Likewise.
18869 * gdb.btrace/unknown_functions.exp: Likewise.
18870 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18871 * lib/gdb.exp: Add the "multi_line" helper.
18872
4eec2deb
PA
188732015-04-01 Pedro Alves <palves@redhat.com>
18874
18875 * gdb.threads/tid-reuse.c: New file.
18876 * gdb.threads/tid-reuse.exp: New file.
18877
df8411da
SDJ
188782015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18879
18880 PR corefiles/16092
18881 * gdb.base/coredump-filter.c: New file.
18882 * gdb.base/coredump-filter.exp: Likewise.
18883
6ef37366
PM
188842015-03-27 Petr Machata <pmachata@redhat.com>
18885
18886 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18887 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18888 (Dwarf::assemble): Initialize them.
18889 (Dwarf::lines): New function.
18890
7ec911b0
JT
188912015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18892
18893 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18894 SYMBOL_PREFIX for x86_64-*-cygwin.
18895
ff908ebf
AW
188962015-03-26 Andy Wingo <wingo@igalia.com>
18897
18898 PR symtab/18148
18899 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18900 const_value but not a location.
18901 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18902 location defined in non-main CUs are visible.
18903
6d5f0679
YQ
189042015-03-26 Yao Qi <yao.qi@linaro.org>
18905
18906 PR testsuite/18139
18907 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18908 Add a line number entry for the same line.
18909 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18910 Add a line number entry for the same line.
18911
2898689b
YQ
189122015-03-26 Yao Qi <yao.qi@linaro.org>
18913
18914 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18915 .int 0.
18916 (func): Likewise. Add .Lfunc_1 label.
18917 Use .Lfunc_1 label.
18918 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18919 .int 0.
18920 (func): Likewise.
18921 Use .Lfunc_1 label.
18922
85180498
YQ
189232015-03-26 Yao Qi <yao.qi@linaro.org>
18924
18925 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18926 Call gdb_compile instead to compile each .s files without debug
18927 information.
18928
8aa08a8d
YQ
189292015-03-26 Yao Qi <yao.qi@linaro.org>
18930
18931 * gdb.base/savedregs.exp (process_saved_regs): Make
18932 "Saved registers:" optional in the pattern.
18933
66849923
MM
189342015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18935
18936 * gdb.btrace/next.exp: Merged into step.exp.
18937 * gdb.btrace/finish.exp: Merged into step.exp.
18938 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18939 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18940 "record goto" and checking the exact replay position.
18941 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18942 check for "Recording format" in "info record" output.
18943 * gdb.btrace/record_goto.exp: Choose test file based on target.
18944 * gdb.btrace/x86-record_goto.S: Renamed into ...
18945 * gdb.btrace/x86_64-record_goto.S: ... this.
18946 * gdb.btrace/i686-record_goto.S: New.
18947 * gdb.btrace/x86-tailcall.S: Renamed into ...
18948 * gdb.btrace/x86_64-tailcall.S: ... this.
18949 * gdb.btrace/i686-tailcall.S: New.
18950 * gdb.btrace/x86-tailcall.c: Renamed into ...
18951 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18952 separate statements. Update test.
18953 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18954 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18955 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18956 * gdb.btrace/tailcall.exp: Choose test file based on target.
18957 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18958
11cc1b74
MM
189592015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18960
18961 * gdb.btrace/exception.exp: Increase BTS buffer size.
18962
a25d8bf9
PA
189632015-03-24 Pedro Alves <palves@redhat.com>
18964
18965 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18966
856e7dd6
PA
189672015-03-24 Pedro Alves <palves@redhat.com>
18968
18969 * gdb.threads/schedlock.exp (test_step): No longer expect that
18970 "set scheduler-locking step" with "next" over a function call runs
18971 threads unlocked.
18972
ad235a41
AT
189732015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18974
18975 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18976
15630549
AT
189772015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18978
18979 PR breakpoints/16466
18980 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18981 * gdb.mi/mi-pending.c (thread_func): New function.
18982 (int main): Add threading support required.
18983 * gdb.mi/mi-pending.exp: Add tests for this issue.
18984 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18985 (pendfunc2): Remove stdio dependency.
18986 * gdb.mi/mi-pendshr2.c: New file.
18987
693dca06
KS
189882015-03-23 Keith Seitz <keiths@redhat.com>
18989
18990 * gdb.linespec/keywords.c: New file.
18991 * gdb.linespec/keywords.exp: New file.
18992
7e993ebf
KS
189932015-03-23 Keith Seitz <keiths@redhat.com>
18994
18995 PR gdb/18021
18996 * gdb.dwarf2/staticvirtual.exp: New test.
18997
bc23328c
JK
189982015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18999
19000 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19001 * README: Remove HP-UX and gdb.hp.
19002 (configuration):
19003 * configure: Regenerate.
19004 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19005 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19006 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19007 gdb.hp/gdb.defects/Makefile.
19008 * gdb.hp/Makefile.in: File deleted.
19009 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19010 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19011 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19012 * gdb.hp/gdb.aCC/run.c: File deleted.
19013 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19014 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19015 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19016 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19017 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19018 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19019 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19020 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19021 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19022 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19023 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19024 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19025 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19026 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19027 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19028 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19029 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19030 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19031 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19032 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19033 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19034 * gdb.hp/gdb.compat/average.c: File deleted.
19035 * gdb.hp/gdb.compat/sum.c: File deleted.
19036 * gdb.hp/gdb.compat/xdb.c: File deleted.
19037 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19038 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19039 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19040 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19041 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19042 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19043 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19044 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19045 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19046 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19047 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19048 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19049 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19050 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19051 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19052 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19053 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19054 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19055 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19056 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19057 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19058 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19059 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19060 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19061 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19062 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19063 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19064 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19065 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19066 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19067 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19068 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19069 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19070 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19071 * gdb.hp/tools/odump: File deleted.
19072
8bf3b159
PA
190732015-03-19 Pedro Alves <palves@redhat.com>
19074
19075 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19076 (saw_thread_3): New globals.
19077 (top level): Increment them when an event for the corresponding
19078 thread is seen.
19079 (no thread starvation): New test.
19080
eb54c8bf
PA
190812015-03-19 Pedro Alves <palves@redhat.com>
19082
19083 * gdb.threads/continue-pending-status.c: New file.
19084 * gdb.threads/continue-pending-status.exp: New file.
19085
32d2e5d6
PA
190862015-03-18 Pedro Alves <palves@redhat.com>
19087
19088 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19089 Use gdb_is_target_remote instead of is_remote. Use
19090 gdb_test_multiple instead of gdb_expect. Exit early if
19091 gdb_test_multiple hits its internal matches. Tighten stepi tests
19092 expected output. Fail on exit with any signal, instead of just
19093 SIGILL.
19094
f68f11b7
YQ
190952015-03-18 Yao Qi <yao.qi@linaro.org>
19096
19097 PR tdep/18107
19098 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19099 variable.
19100 * gdb.base/catch-syscall.exp: Don't skip it on
19101 aarch64*-*-linux* target. Remove elements in all_syscalls.
19102 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19103 target.
19104 (setup_all_syscalls): New proc.
19105
ca5fd19b
YQ
191062015-03-16 Yao Qi <yao.qi@linaro.org>
19107
19108 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19109 (top level): Skip tests if valid_addr_p returns false for
19110 $cmd1 or $cmd2.
19111
85642ba0
AW
191122015-03-11 Andy Wingo <wingo@igalia.com>
19113
19114 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19115
e03f9645
YQ
191162015-03-11 Yao Qi <yao.qi@linaro.org>
19117
19118 * gdb.base/catch-syscall.exp: Fix typo in comments.
19119
5d0962b2
YQ
191202015-03-11 Yao Qi <yao.qi@linaro.org>
19121
19122 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19123
b2df3cef
PA
191242015-03-09 Pedro Alves <palves@redhat.com>
19125
19126 * dg-extract-results.py: Delete.
19127
ef878e53
PA
191282015-03-09 Pedro Alves <palves@redhat.com>
19129
19130 Merge dg-extract-results.sh from GCC upstream (r218843).
19131
19132 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19133 * dg-extract-results.sh: Use --text with grep to avoid issues with
19134 binary files. Fall back to cat -v, if that doesn't work.
19135
9494d219
PA
191362015-03-05 Pedro Alves <palves@redhat.com>
19137
19138 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19139
a8d9763a
SM
191402015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19141
19142 * lib/mi-support.exp (mi_expect_interrupt): Accept
19143 alternative event for when in all-stop mode.
19144
be9957b8
PA
191452015-03-04 Pedro Alves <palves@redhat.com>
19146
19147 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19148
d57be0f4 191492015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19150
19151 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19152
c214c7cf
AA
191532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19154
19155 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19156 regexps for GDB's current line display, accept a hex address
19157 preceding the line number.
19158
6d74a497
AA
191592015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19160
19161 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19162 the 'arch1' variable for "s390*-linux*" targets.
19163
511aee7c
PA
191642015-03-04 Pedro Alves <palves@redhat.com>
19165
19166 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19167 (main): Pass missing retval argument to pthread_join call.
19168
95e50b27
PA
191692015-03-02 Pedro Alves <palves@redhat.com>
19170
19171 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19172 (top level): Call do_test with non-stop as well.
19173
28054d69
PA
191742015-03-02 Pedro Alves <palves@redhat.com>
19175
19176 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19177 -1.
19178
4fa5d7b4
AA
191792015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19180
19181 * gdb.arch/s390-vregs.exp: New test.
19182 * gdb.arch/s390-vregs.S: New file.
19183
97c18565
PA
191842015-02-27 Pedro Alves <palves@redhat.com>
19185
19186 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19187 call to catch_command_errors.
19188 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19189 catch_command_errors.
19190
a37bfa30
PA
191912015-02-27 Pedro Alves <palves@redhat.com>
19192
19193 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19194 "true" for boolean result.
19195 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19196 prototype of main.
19197
6f98576f
PA
191982015-02-27 Pedro Alves <palves@redhat.com>
19199
19200 * lib/unbuffer_output.c: New file.
19201 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19202 (main): Call gdb_unbuffer_output.
19203
eba5ab56
YQ
192042015-02-27 Yao Qi <yao.qi@linaro.org>
19205
19206 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19207 target.
19208
0def5aaa
DE
192092015-02-26 Doug Evans <dje@google.com>
19210
19211 * gdb.cp/class2.cc (Dbase, D): New classes.
19212 (main): New local delta.
19213 * gdb.cp/class2.exp: Test printing delta.
19214 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19215 (dynbar): New global.
19216 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19217
081a1c2c
JK
192182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19219
19220 * gdb.compile/compile-ifunc.c: New file.
19221 * gdb.compile/compile-ifunc.exp: New file.
19222
2f41223f
AT
192232015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19224
19225 * gdb.base/structs.exp: Check for correct struct on finish.
19226
03eddd80
YQ
192272015-02-26 Yao Qi <yao.qi@linaro.org>
19228
19229 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19230 is zero.
19231
80c57053
JK
192322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19233
19234 * gdb.arch/cordic.ko.bz2: New file.
19235 * gdb.arch/cordic.ko.debug.bz2: New file.
19236 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19237
21613c12
YQ
192382015-02-25 Yao Qi <yao.qi@linaro.org>
19239
19240 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19241 aarch64*-*-* target.
19242
d8b901ed
PA
192432015-02-23 Pedro Alves <palves@redhat.com>
19244
19245 * lib/gdb.exp (delete_breakpoints): Rewrite using
19246 gdb_test_multiple.
19247
e5b85ead
PA
192482015-02-23 Pedro Alves <palves@redhat.com>
19249
19250 * gdb.base/info-os.c: Include stdlib.h.
19251
85c3a371
DE
192522015-02-22 Doug Evans <xdje42@gmail.com>
19253
19254 PR symtab/17855
19255 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19256 is read after symbols have been re-read.
19257 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19258 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19259
96553a0c
DE
192602015-02-21 Doug Evans <dje@google.com>
19261
19262 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19263
97a0c697
JK
192642015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19265
19266 PR corefiles/17808
19267 * gdb.arch/i386-biarch-core.core.bz2: New file.
19268 * gdb.arch/i386-biarch-core.exp: New file.
19269
a47cd6e9
PA
192702015-02-21 Pedro Alves <palves@redhat.com>
19271
19272 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19273 runto_main fails.
19274
c5facdc4
PA
192752015-02-20 Pedro Alves <palves@redhat.com>
19276
19277 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19278 info probes.
19279
2db9a427
PA
192802015-02-20 Pedro Alves <palves@redhat.com>
19281
19282 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19283
60fb7e9e
PA
192842015-02-20 Pedro Alves <palves@redhat.com>
19285
19286 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19287 clean_restart before gdb_target_supports_trace.
19288
5c5019c2
PA
192892015-02-20 Pedro Alves <palves@redhat.com>
19290
19291 PR threads/18006
19292 * gdb.threads/clone-thread_db.c: New file.
19293 * gdb.threads/clone-thread_db.exp: New file.
19294
c9587f88
AT
192952015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19296
19297 PR breakpoints/16812
19298 * gdb.base/catch-gdb-caused-signals.c: New file.
19299 * gdb.base/catch-gdb-caused-signals.exp: New file.
19300
f6a88844
JM
193012015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19302
19303 * configure: Regenerated.
19304 * configure.ac: Use GDB_AC_TRANSFORM.
19305 * aclocal.m4: sinclude ../transform.m4.
19306
497c491b
JM
193072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19308
19309 * lib/dtrace.exp: New file.
19310 * gdb.base/dtrace-probe.exp: Likewise.
19311 * gdb.base/dtrace-probe.d: Likewise.
19312 * gdb.base/dtrace-probe.c: Likewise.
19313 * lib/pdtrace.in: Likewise.
19314 * configure.ac: Output variables with the transformed names of
19315 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19316 * configure: Regenerated.
19317
03e98035
JM
193182015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19319
19320 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19321 expected message when trying to access $_probe_* convenience
19322 variables while not on a probe.
19323
63cc30e9
JK
193242015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19325
19326 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19327
0703599a
PA
193282015-02-11 Pedro Alves <pedro@codesourcery.com>
19329
19330 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19331 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19332
7e60a48e
DE
193332015-02-10 Doug Evans <xdje42@gmail.com>
19334
19335 * lib/gdb.exp (gdb_load): Always return a result.
19336
01b088bc
PA
193372015-02-10 Pedro Alves <palves@redhat.com>
19338
19339 * gdb.threads/signal-sigtrap.c: New file.
19340 * gdb.threads/signal-sigtrap.exp: New file.
19341
b05ec7a5
AT
193422015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19343
19344 * gdb.trace/no-attach-trace.c: New file.
19345 * gdb.trace/no-attach-trace.exp: New file.
19346
a2c2acaf
MW
193472015-02-09 Mark Wielaard <mjw@redhat.com>
19348
19349 * gdb.dwarf2/atomic.c: New file.
19350 * gdb.dwarf2/atomic-type.exp: Likewise.
19351
31fd9caa
MM
193522015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19353
19354 * gdb.btrace/buffer-size.exp: Update "info record" output.
19355 * gdb.btrace/delta.exp: Update "info record" output.
19356 * gdb.btrace/enable.exp: Update "info record" output.
19357 * gdb.btrace/finish.exp: Update "info record" output.
19358 * gdb.btrace/instruction_history.exp: Update "info record" output.
19359 * gdb.btrace/next.exp: Update "info record" output.
19360 * gdb.btrace/nexti.exp: Update "info record" output.
19361 * gdb.btrace/step.exp: Update "info record" output.
19362 * gdb.btrace/stepi.exp: Update "info record" output.
19363 * gdb.btrace/nohist.exp: Update "info record" output.
19364
d33501a5
MM
193652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19366
19367 * gdb.btrace/buffer-size: New.
19368
f4abbc16
MM
193692015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19370
19371 * gdb.btrace/delta.exp: Update "info record" output.
19372 * gdb.btrace/enable.exp: Update "info record" output.
19373 * gdb.btrace/finish.exp: Update "info record" output.
19374 * gdb.btrace/instruction_history.exp: Update "info record" output.
19375 * gdb.btrace/next.exp: Update "info record" output.
19376 * gdb.btrace/nexti.exp: Update "info record" output.
19377 * gdb.btrace/step.exp: Update "info record" output.
19378 * gdb.btrace/stepi.exp: Update "info record" output.
19379 * gdb.btrace/nohist.exp: Update "info record" output.
19380
b9d61307
SM
193812015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19382
19383 PR gdb/15678
19384 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19385
e584fdbc
PA
193862015-02-06 Pedro Alves <palves@redhat.com>
19387
19388 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19389 macro.
19390 (seconds_left, again): New globals.
19391 (main): Wait seconds_left in a 1-second sleep loop instead of
19392 sleeping 180 seconds. If 'again' is set, reset the seconds
19393 counter.
19394 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19395 'again' in the inferior before detaching. Print the seconds left.
19396 (options): New global.
19397 (top level): Build program with -DTIMEOUT=$timeout.
19398
77f41761
PA
193992015-02-06 Pedro Alves <palves@redhat.com>
19400
19401 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19402 determine how many seconds to pass to 'alarm'.
19403 * gdb.base/gdb-sigterm.exp (top level): Build program with
19404 -DTIMEOUT=$timeout.
19405 (do_test): Return success/failure indication. Add more verbose
19406 logging. Don't fail if 200 single steps are seen. Instead, fail
19407 when the test times out.
19408 (passes): New global.
19409 (top level): Break the testing loop if testing fails on any
19410 iteration. Use gdb_assert.
19411
b9394193
DB
194122015-02-04 Don Breazeal <donb@codesourcery.com>
19413
19414 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19415 and initialize them.
19416 (ipc_cleanup): New function.
19417 (main): Don't declare shmid, semid, and msqid. Add a call to
19418 atexit so that we call ipc_cleanup on exit.
19419
42d9e528
PA
194202015-02-04 Pedro Alves <palves@redhat.com>
19421
19422 * boards/native-extended-gdbserver.exp: Remove any target variant
19423 specifications from the board name before clearing the isremote
19424 flag from board_info.
19425
ae6ae975
DE
194262015-01-31 Doug Evans <xdje42@gmail.com>
19427
19428 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19429
cfb069a8
GB
194302015-01-31 Gary Benson <gbenson@redhat.com>
19431
19432 * gdb.base/completion.exp: Disable completion limiting for
19433 existing tests. Add new tests to check completion limiting.
19434 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19435
5dd31d79
DE
194362015-01-31 Doug Evans <xdje42@gmail.com>
19437
19438 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19439
9f050062
DE
194402015-01-31 Doug Evans <xdje42@gmail.com>
19441
19442 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19443 entries. Duplicate file section script entries.
19444 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19445 inlined entries. Add test for safe-path rejection.
19446 * gdb.python/py-section-script.c: Add duplicate inlined section script
19447 entries. Duplicate file section script entries.
19448 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19449 inlined entries. Add test for safe-path rejection.
19450
df25ebbd
JB
194512015-01-29 Joel Brobecker <brobecker@adacore.com>
19452
19453 * gdb.ada/disc_arr_bound: New testcase.
19454
4a0ca9ec
JB
194552015-01-29 Joel Brobecker <brobecker@adacore.com>
19456
19457 * gdb.ada/mi_var_array: New testcase.
19458
3a8b707a
DE
194592015-01-27 Doug Evans <dje@google.com>
19460
19461 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19462 Add test for objfile.filename, objfile.username after objfile
19463 has been unloaded.
19464
f8313f6e
JB
194652015-01-26 Joel Brobecker <brobecker@adacore.com>
19466
19467 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19468 the second test to print the name attribute of value
19469 returned by the call to gdb.lookup_type, and adjust
19470 the expected output accordingly.
19471
37bc665e
MW
194722015-01-25 Mark Wielaard <mjw@redhat.com>
19473
19474 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19475 * gdb.base/disp-step-fork.c: Include unistd.h.
19476 * gdb.base/siginfo-obj.c: Include stdio.h.
19477 * gdb.base/siginfo-thread.c: Likewise.
19478 * gdb.mi/non-stop.c: Include unistd.h.
19479 * gdb.mi/nsthrexec.c: Include stdio.h.
19480 * gdb.mi/pthreads.c: Include unistd.h.
19481 * gdb.modula2/unbounded1.c (main): Declare returns int.
19482 * gdb.reverse/consecutive-reverse.c: Likewise.
19483 * gdb.threads/create-fail.c: Include unistd.h.
19484 * gdb.threads/killed.c: Likewise.
19485 * gdb.threads/linux-dp.c: Likewise.
19486 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19487 * gdb.threads/non-ldr-exc-2.c: Likewise.
19488 * gdb.threads/non-ldr-exc-3.c: Likewise.
19489 * gdb.threads/non-ldr-exc-4.c: Likewise.
19490 * gdb.threads/pthreads.c: Include unistd.h.
19491 (main): Declare returns int.
19492 * gdb.threads/tls-main.c (foo): New declaration.
19493 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19494
f7e5394d
SM
194952015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19496
19497 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19498 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19499
743649fd
MW
195002015-01-15 Mark Wielaard <mjw@redhat.com>
19501
19502 * gdb.base/noreturn-return.c: New file.
19503 * gdb.base/noreturn-return.exp: New file.
19504 * gdb.base/noreturn-finish.c: New file.
19505 * gdb.base/noreturn-finish.exp: New file.
19506
198297aa
PA
195072015-01-23 Pedro Alves <palves@redhat.com>
19508
19509 * gdb.threads/continue-pending-after-query.c: New file.
19510 * gdb.threads/continue-pending-after-query.exp: New file.
19511
717cf30c
AG
195122015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19513 Simon Marchi <simon.marchi@ericsson.com>
19514
19515 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19516 * gdb.base/valgrind-db-attach.exp: Same.
19517 * gdb.base/valgrind-infcall.exp: Same.
19518 * lib/mi-support.exp (default_mi_gdb_start): Same.
19519 * lib/prompt.exp (default_prompt_gdb_start): Same.
19520 * lib/gdb.exp (default_gdb_spawn): Same.
19521 (gdb_interact): New.
19522
19523
4b62a76e
JK
195242015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19525
19526 * gdb.compile/compile.exp (pointer to jit function): New test.
19527
b4cdae6f
WW
195282015-01-17 Wei-cheng Wang <cole945@gmail.com>
19529
19530 * lib/gdb.exp (supports_process_record): Return true for
19531 powerpc*-*-linux*.
19532 (supports_reverse): Likewise.
19533
d221e7ef
DB
195342015-01-15 Don Breazeal <donb@codesourcery.com>
19535
19536 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19537 instead of checking whether the target board is remote and
19538 use spawn_wait_for_attach instead of exec/sleep.
19539 * gdb.base/attach-twice.exp: Likewise.
19540
bafffb51
JB
195412015-01-15 Joel Brobecker <brobecker@adacore.com>
19542
19543 * gdb.ada/var_arr_attrs: New testcase.
19544
5589af0e
PA
195452015-01-14 Pedro Alves <palves@redhat.com>
19546 Joel Brobecker <brobecker@adacore.com>
19547
19548 PR gdb/17525
19549 * gdb.base/bp-cmds-execution-x-script.c: New file.
19550 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19551 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19552
6c400b59
PA
195532015-01-14 Pedro Alves <palves@redhat.com>
19554
19555 PR cli/17828
19556 * gdb.base/batch-preserve-term-settings.c: New file.
19557 * gdb.base/batch-preserve-term-settings.exp: New file.
19558
e02c96a7
DE
195592015-01-13 Doug Evans <dje@google.com>
19560
19561 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19562 binary.
19563
576fd14c
JB
195642015-01-13 Joel Brobecker <brobecker@adacore.com>
19565
19566 * Makefile.in (clean mostlyclean): Do not delete *.py.
19567
04dccad0
JB
195682015-01-13 Joel Brobecker <brobecker@adacore.com>
19569
19570 * gdb.python/py-lookup-type.exp: New file.
19571
3d230f71
PA
195722015-01-12 Pedro Alves <palves@redhat.com>
19573
19574 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19575 restore GDBFLAGS before returning.
19576
7e67715d
JK
195772015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19578
19579 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19580 is_amd64_regs_target and is_x86_like_target.
19581
f2e0d4b4
DE
195822015-01-11 Doug Evans <xdje42@gmail.com>
19583
19584 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19585 is given without an explicit form.
19586 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19587 attributes.
19588 * gdb.dwarf/corrupt.exp: Ditto.
19589 * gdb.dwarf2/enum-type.exp: Ditto.
19590 * gdb.trace/entry-values.exp: Ditto.
19591 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19592
439250fb
DE
195932015-01-11 Doug Evans <xdje42@gmail.com>
19594
19595 PR gdb/15830
19596 * gdb.base/maint.exp: Remove references to "maint demangle".
19597 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19598 Add tests for explicitly specifying language to demangle.
19599 * gdb.dlang/demangle.exp: Ditto.
19600
ede9f622
PA
196012015-01-09 Pedro Alves <palves@redhat.com>
19602
19603 * gdb.threads/non-stop-fair-events.c: New file.
19604 * gdb.threads/non-stop-fair-events.exp: New file.
19605
a7b796db
PA
196062015-01-09 Pedro Alves <palves@redhat.com>
19607
19608 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19609 the global scope. Set a breakpoint after all threads are started
19610 rather than stepping over two source lines. Expect the prompt.
19611 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19612 global.
19613 (NUM): Now 15.
19614 (main): Use threads_started_barrier to wait for all threads to
19615 start. Main thread no longer calls thread_function. Exit after
19616 180 seconds.
19617 (loop): New function.
19618 (thread_function): Wait on threads_started_barrier barrier. Call
19619 'loop' at each iteration.
19620 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19621 threads have started, instead of hardcoding number of "next"
19622 steps. Use an access watchpoint instead of a write watchpoint.
19623
9665ffdd
PA
196242015-01-09 Pedro Alves <palves@redhat.com>
19625
19626 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19627 (thread_func): Wait on barrier.
19628 (main): Wait for all threads to start before stopping GDB.
19629 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19630 global.
19631 (thread1_func, thread2_func): Wait on barrier.
19632 (main): Wait for all threads to start before stopping GDB.
19633 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19634 New global.
19635 (thread1_func, thread2_func): Wait on barrier.
19636 (main): Wait for all threads to start before stopping GDB.
19637
c945a99f
PA
196382015-01-09 Pedro Alves <palves@redhat.com>
19639
19640 * gdb.threads/attach-many-short-lived-threads.c: New file.
19641 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19642
c1a747c1
PA
196432014-01-09 Pedro Alves <palves@redhat.com>
19644
19645 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19646 instead of to thread 2.
19647 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19648 Add barrier around each pthread_create call instead of around all
19649 calls.
19650 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19651 Set a break on thread_function and have the child threads hit it
19652 one at at a time.
19653
60b3033e
PA
196542015-01-09 Pedro Alves <palves@redhat.com>
19655
19656 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19657 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19658 false.
19659 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19660 checking whether the target board is remote.
19661 * gdb.multi/multi-attach.exp: Likewise.
19662 * gdb.python/py-sync-interp.exp: Likewise.
19663 * gdb.server/ext-attach.exp: Likewise.
19664 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19665 tests that need to attach, instead of checking whether the target
19666 board is remote at the top of the file.
19667
acc018ac
YQ
196682015-01-08 Yao Qi <yao@codesourcery.com>
19669
19670 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19671
50a18af8
JK
196722015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19673
19674 Fix testcase compilation.
19675 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19676
8503d6e1
JB
196772015-01-06 Joel Brobecker <brobecker@adacore.com>
19678
19679 * gdb.python/py-type.exp: Add a couple test about empty
19680 array creation, and negative-length array creation.
19681
cc73dbcc
DE
196822015-01-02 Doug Evans <xdje42@gmail.com>
19683
19684 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19685
0300bbc7
DE
196862015-01-02 Doug Evans <dje@google.com>
19687
19688 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19689
9d85a0ec
YQ
196902014-12-29 Yao Qi <yao@codesourcery.com>
19691
19692 * gdb.trace/entry-values.exp: Update comments. Rename variable
19693 bar_call_foo to returned_from_foo.
19694
87186c6a
MMN
196952014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19696
19697 PR gdb/17394
19698 * gdb.linespec/break-asm-file.c: New file.
19699 * gdb.linespec/break-asm-file.exp: New file.
19700 * gdb.linespec/break-asm-file0.s: New file.
19701 * gdb.linespec/break-asm-file1.s: New file.
19702
1bab7383
YQ
197032014-12-18 Nigel Stephens <nigel@mips.com>
19704 Maciej W. Rozycki <macro@codesourcery.com>
19705
19706 * gdb.base/float.exp: Handle the new output from "info float" on
19707 MIPS targets.
19708
1bc1068a
JK
197092014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19710
19711 Fix MinGW compilation.
19712 * gdb.compile/compile-ops.exp: Update untested message if
19713 !skip_compile_feature_tests.
19714 * gdb.compile/compile-setjmp.exp: Likewise.
19715 * gdb.compile/compile-tls.exp: Likewise.
19716 * gdb.compile/compile.exp: Likewise.
19717 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19718 supported on this host".
19719
b6615d10
DE
197202014-12-16 Doug Evans <xdje42@gmail.com>
19721
19722 * boards/stabs.exp: New file.
19723
25dda427
AA
197242014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19725
19726 * gdb.base/completion.exp: Adjust to format changes of "maint
19727 print user-registers".
19728
bf330350
CU
197292014-12-16 Catalin Udma <catalin.udma@freescale.com>
19730
19731 PR server/17457
19732 * gdb.arch/aarch64-fp.c: New file.
19733 * gdb.arch/aarch64-fp.exp: New file.
19734
395cf596
SDJ
197352014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19736
19737 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19738 r210637, r210913, r211666, r215400, r215817).
19739
19740 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19741 * dg-extract-results.py: New file.
19742 * dg-extract-results.sh: Use it if the environment seems
19743 suitable.
19744
19745 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19746
19747 * dg-extract-results.py (parse_run): Handle warnings that
19748 are printed before a test harness is run.
19749
19750 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19751
19752 * dg-extract-results.py (Named): Remove __cmp__ method.
19753 (output_variation): Use a key to sort variation.harnesses.
19754
19755 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19756
19757 * dg-extract-results.py: For Python 3, force sys.stdout to
19758 handle surrogate escape sequences.
19759 (safe_open): New function.
19760 (output_segment, main): Use it.
19761
19762 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19763
19764 * dg-extract-results.py (Prog.result_re): Include options
19765 in test name.
19766
19767 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19768
19769 * dg-extract-results.py (output_variation): Always sort if
19770 do_sum.
19771
e882ef3c
SM
197722014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19773
19774 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19775 as long as we get pagination notifications.
19776
4992aa20
JM
197772014-12-15 Jason Merrill <jason@redhat.com>
19778
19779 * Makefile.in (check-gdb.%): Restore.
19780 * README: Mention it.
19781
c1b5a1a6
JB
197822014-12-13 Joel Brobecker <brobecker@adacore.com>
19783
19784 * gdb.ada/str_uninit: New testcase.
19785
5537b577
JK
197862014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19787
19788 PR symtab/17642
19789 * gdb.base/vla-stub-define.c: New file.
19790 * gdb.base/vla-stub.c: New file.
19791 * gdb.base/vla-stub.exp: New file.
19792
bb2ec1b3
TT
197932014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19794 Jan Kratochvil <jan.kratochvil@redhat.com>
19795 Tom Tromey <tromey@redhat.com>
19796
19797 * configure.ac: Add gdb.compile/.
19798 * configure: Regenerate.
19799 * gdb.compile/Makefile.in: New file.
19800 * gdb.compile/compile-ops.exp: New file.
19801 * gdb.compile/compile-ops.c: New file.
19802 * gdb.compile/compile-tls.c: New file.
19803 * gdb.compile/compile-tls.exp: New file.
19804 * gdb.compile/compile-constvar.S: New file.
19805 * gdb.compile/compile-constvar.c: New file.
19806 * gdb.compile/compile-mod.c: New file.
19807 * gdb.compile/compile-nodebug.c: New file.
19808 * gdb.compile/compile-setjmp-mod.c: New file.
19809 * gdb.compile/compile-setjmp.c: New file.
19810 * gdb.compile/compile-setjmp.exp: New file.
19811 * gdb.compile/compile-shlib.c: New file.
19812 * gdb.compile/compile.c: New file.
19813 * gdb.compile/compile.exp: New file.
19814 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19815
4ff709eb
TT
198162014-12-12 Tom Tromey <tromey@redhat.com>
19817
19818 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19819 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19820
6dddd6a5
DE
198212014-12-12 Doug Evans <dje@google.com>
19822
19823 * lib/gdb-python.exp (get_python_valueof): New function.
19824 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19825
71c24708
AA
198262014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19827
19828 * gdb.base/completion.exp: Add test for completion of "info
19829 registers ".
19830
3e29f34a
MR
198312014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19832
19833 * gdb.base/func-ptrs.c: New file.
19834 * gdb.base/func-ptrs.exp: New file.
19835
fc126975
SM
198362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19837
19838 PR breakpoints/17012
19839 * gdb.base/dprintf-detach.c: New file.
19840 * gdb.base/dprintf-detach.exp: New file.
19841
0a46d518
SM
198422014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19843
19844 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19845 * lib/gdb.exp (target_is_gdbserver): New procedure.
19846
a0be3e44
DE
198472014-12-08 Doug Evans <dje@google.com>
19848
19849 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19850
df1b803a
YQ
198512014-12-05 Yao Qi <yao@codesourcery.com>
19852
19853 * gdb.guile/scm-error.exp: Remove the third argument to
19854 gdb_remote_download.
19855 * gdb.guile/scm-frame-args.exp: Likewise.
19856 * gdb.guile/scm-section-script.exp: Likewise.
19857
ddb9f679
YQ
198582014-12-05 Yao Qi <yao@codesourcery.com>
19859
19860 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19861
86e4ed39
DE
198622014-12-04 Doug Evans <dje@google.com>
19863
19864 * gdb.python/py-objfile.exp: Add tests for
19865 objfile.add_separate_debug_file.
19866
7c50a931
DE
198672014-12-04 Doug Evans <dje@google.com>
19868
19869 * lib/gdb.exp (get_build_id): New function.
19870 (build_id_debug_filename_get): Rewrite to use it.
19871 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19872
621661e3
MR
198732014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19874
19875 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19876 `method(long)', not just 0x0.
19877 * gdb.cp/nsalias.exp: Align code labels to 4.
19878 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19879 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19880 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19881 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19882 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19883 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19884
29f0c3b7
DE
198852014-12-02 Doug Evans <dje@google.com>
19886
e1e061e7 19887 PR symtab/17602
29f0c3b7 19888 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19889 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19890 * gdb.cp/anon-ns.exp: Update.
19891
162078c8
NB
198922014-12-02 Nick Bull <nicholaspbull@gmail.com>
19893
19894 * gdb.python/py-events.py (inferior_call_handler): New.
19895 (register_changed_handler, memory_changed_handler): New.
19896 (test_events.invoke): Register new handlers.
19897 * gdb.python/py-events.exp: Add tests for inferior call,
19898 memory_changed and register_changed events.
19899
fdb09caf
AA
199002014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19901
19902 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19903 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19904 if the linker doesn't understand this.
19905
55cfb2c4
SM
199062014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19907
19908 * gdb.python/python.exp: Change expected reply to help().
19909
9e8cd6df
YQ
199102014-12-01 Yao Qi <yao@codesourcery.com>
19911
19912 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19913 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19914 * configure: Re-generated.
19915
6c659fc2
SC
199162014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19917
19918 * gdb.cp/chained-calls.cc: New file.
19919 * gdb.cp/chained-calls.exp: New file.
19920 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19921
d7fc3181
SM
199222014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19923
19924 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19925 * gdb.dwarf2/symtab-producer.exp: Same.
19926 * gdb.gdb/python-interrupts.exp: Same.
19927 * gdb.gdb/python-selftest.exp: Same.
19928 * gdb.python/py-linetable.exp: Same.
19929 * gdb.python/py-type.exp: Same.
19930 * gdb.python/py-value-cc.exp: Same.
19931 * gdb.python/py-value.exp: Same.
19932
10e79639
YQ
199332014-11-28 Yao Qi <yao@codesourcery.com>
19934
19935 * gdb.base/break-probes.exp: Match library name prefixed with
19936 sysroot.
19937
f28a0564
SM
199382014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19939
19940 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19941 test expected output. Add parentheses for the call to print.
19942 Remove L suffix from integers.
19943
3fe1ce1d
DE
199442014-11-26 Doug Evans <dje@google.com>
19945
19946 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19947
84429e27
YQ
199482014-11-22 Yao Qi <yao@codesourcery.com>
19949
19950 * gdb.trace/entry-values.c: Remove asms.
19951 (foo): Add foo_label.
19952 (bar): Add bar_label.
19953 * gdb.trace/entry-values.exp: Remove code computing foo's
19954 length and bar's length.
19955 (Dwarf::assemble): Invoke function_range for bar and use
19956 MACRO_AT_func for foo.
19957
26741859
YQ
199582014-11-22 Yao Qi <yao@codesourcery.com>
19959
19960 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19961 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19962 Use .Lgcc43_procstart instead of gcc43.
19963
45e44d27
JB
199642014-11-21 Joel Brobecker <brobecker@adacore.com>
19965
19966 * gdb.ada/n_arr_bound: New testcase.
19967
458c8db8
SDJ
199682014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19969
19970 PR breakpoints/10737
19971 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19972 test_catch_syscall_multi_arch.
19973 (test_catch_syscall_multi_arch): New function.
19974
43f3e411
DE
199752014-11-20 Doug Evans <xdje42@gmail.com>
19976
19977 * gdb.base/maint.exp: Update expected output.
19978
0d7b2549
AA
199792014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19980
19981 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19982 4-byte instruction on S390.
19983
8908fca5
JB
199842014-11-19 Joel Brobecker <brobecker@adacore.com>
19985
19986 * gdb.ada/arr_arr: New testcase.
19987
4a46959e
JB
199882014-11-19 Joel Brobecker <brobecker@adacore.com>
19989
19990 * gdb.ada/pkd_arr_elem: New Testcase.
19991
470e2f4e
LM
199922014-11-18 Luis Machado <lgustavo@codesourcery.com>
19993
19994 * gdb.reverse/break-precsave: Expect completion message for
19995 core file reads.
19996 * gdb.reverse/consecutive-precsave.exp: Likewise.
19997 * gdb.reverse/finish-precsave.exp: Likewise.
19998 * gdb.reverse/i386-precsave.exp: Likewise.
19999 * gdb.reverse/machinestate-precsave.exp: Likewise.
20000 * gdb.reverse/sigall-precsave.exp: Likewise.
20001 * gdb.reverse/solib-precsave.exp: Likewise.
20002 * gdb.reverse/step-precsave.exp: Likewise.
20003 * gdb.reverse/until-precsave.exp: Likewise.
20004 * gdb.reverse/watch-precsave.exp: Likewise.
20005
a267f3ad
AA
200062014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20007
20008 * gdb.base/bp-permanent.c: Include unistd.h.
20009 * gdb.python/py-framefilter-mi.c (main): Add return type.
20010 * gdb.python/py-framefilter.c (main): Likewise.
20011 * gdb.trace/actions-changed.c (main): Likewise.
20012
12084a9a
AA
200132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20014
20015 * gdb.mi/until.c: Add eye-catchers.
20016 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20017 line numbers.
20018
dc7e1a77
AA
200192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20020
20021 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20022 function header variants in break1.c.
20023 * gdb.base/ena-dis-br.exp: Likewise.
20024 * gdb.base/hbreak2.exp: Likewise.
20025 * gdb.reverse/until-precsave.exp: Drop references to removed
20026 non-prototype function header variants in ur1.c.
20027 * gdb.reverse/until-reverse.exp: Likewise.
20028
41c77605
PM
200292014-11-17 Petr Machata <pmachata@redhat.com>
20030
20031 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20032 ${_cu_offset_size} bytes abbrev offset.
20033
34248c3a
DE
200342014-11-15 Doug Evans <xdje42@gmail.com>
20035
20036 PR symtab/17559
20037 * gdb.base/line-symtabs.exp: New file.
20038 * gdb.base/line-symtabs.c: New file.
20039 * gdb.base/line-symtabs.h: New file.
20040
646da059
YQ
200412014-11-14 Yao Qi <yao@codesourcery.com>
20042
20043 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20044 (func): Add label func_label.
20045 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20046 Replace low_pc and high_pc with MACRO_AT_range.
20047 Replace name, low_pc and high_pc with MACRO_AT_func.
20048
9301ebe6
YQ
200492014-11-14 Yao Qi <yao@codesourcery.com>
20050
20051 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20052 Replace name, low_pc and high_pc with MACRO_AT_func.
20053
f166b542
YQ
200542014-11-14 Yao Qi <yao@codesourcery.com>
20055
20056 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20057 produce debug information.
20058 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20059
0f6e71e3
YQ
200602014-11-14 Yao Qi <yao@codesourcery.com>
20061
20062 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20063 object and get function length.
20064 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20065 with MACRO_AT_func.
20066 (top-level): Replace gdb_compile and clean_restart with
20067 prepare_for_testing.
20068 * gdb.dwarf2/main.c (main): Add label main_label.
20069
876c4df9
YQ
200702014-11-14 Yao Qi <yao@codesourcery.com>
20071
20072 * lib/dwarf.exp (function_range): New procedure.
20073 (Dwarf::_handle_macro_at_func): New procedure.
20074 (Dwarf::_handle_macro_at_range): New procedure.
20075 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20076
02ad9cf1
YQ
200772014-11-14 Yao Qi <yao@codesourcery.com>
20078
20079 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20080 (_handle_attribute): New procedure.
20081
a59add0c
AA
200822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20083
20084 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20085 * gdb.base/call-sc.c (zed): Likewise.
20086 * gdb.base/checkpoint.c (main): Likewise.
20087 * gdb.base/dump.c (main): Likewise.
20088 * gdb.base/gcore.c (main): Likewise.
20089 * gdb.base/huge.c (main): Likewise.
20090 * gdb.base/multi-forks.c (main): Likewise.
20091 * gdb.base/pr10179-a.c (main): Likewise.
20092 * gdb.base/savedregs.c (main): Likewise.
20093 * gdb.base/sigaltstack.c (main): Likewise.
20094 * gdb.base/siginfo.c (main): Likewise.
20095 * gdb.base/structs.c (zed): Likewise.
20096 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20097 * gdb.mi/mi-syn-frame.c (main): Likewise.
20098 * gdb.mi/until.c (foo, main): Likewise.
20099 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20100 * gdb.base/solib-weak.c (foo): Declare.
20101 * gdb.base/attach-twice.c: Include stdio.h.
20102 * gdb.base/weaklib1.c: Likewise.
20103 * gdb.base/weaklib2.c: Likewise.
20104 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20105 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20106 unistd.h.
20107 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20108 * gdb.mi/mi-exit-code.c: Likewise.
20109 * gdb.base/break-interp-lib.c: Include string.h.
20110 * gdb.base/coremaker.c: Likewise.
20111 * gdb.base/testenv.c: Likewise.
20112 * gdb.python/py-finish-breakpoint.c: Likewise.
20113 * gdb.base/inferior-died.c: Include sys/wait.h.
20114 * gdb.base/fileio.c: Include time.h.
20115 * gdb.base/async-shell.c: Include unistd.h.
20116 * gdb.base/dprintf-non-stop.c: Likewise.
20117 * gdb.base/info-os.c: Likewise.
20118 * gdb.mi/mi-console.c: Likewise.
20119 * gdb.mi/watch-nonstop.c: Likewise.
20120 * gdb.python/py-events.c: Likewise.
20121 * gdb.base/async.c (baz): Move up before its invocation.
20122 * gdb.base/code_elim2.c (my_global_func): Likewise.
20123 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20124 * gdb.base/advance.c (func2): Likewise.
20125
3b5d5997
AA
201262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20127
20128 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20129 variant.
20130 * gdb.base/annota3.c: Likewise.
20131 * gdb.base/async.c: Likewise.
20132 * gdb.base/average.c: Likewise.
20133 * gdb.base/call-ar-st.c: Likewise.
20134 * gdb.base/call-rt-st.c: Likewise.
20135 * gdb.base/call-sc.c: Likewise.
20136 * gdb.base/call-strs.c: Likewise.
20137 * gdb.base/ending-run.c: Likewise.
20138 * gdb.base/execd-prog.c: Likewise.
20139 * gdb.base/exprs.c: Likewise.
20140 * gdb.base/foll-exec.c: Likewise.
20141 * gdb.base/foll-fork.c: Likewise.
20142 * gdb.base/foll-vfork.c: Likewise.
20143 * gdb.base/funcargs.c: Likewise.
20144 * gdb.base/gcore.c: Likewise.
20145 * gdb.base/jump.c: Likewise.
20146 * gdb.base/langs0.c: Likewise.
20147 * gdb.base/langs1.c: Likewise.
20148 * gdb.base/langs2.c: Likewise.
20149 * gdb.base/mips_pro.c: Likewise.
20150 * gdb.base/nodebug.c: Likewise.
20151 * gdb.base/opaque0.c: Likewise.
20152 * gdb.base/opaque1.c: Likewise.
20153 * gdb.base/recurse.c: Likewise.
20154 * gdb.base/run.c: Likewise.
20155 * gdb.base/scope0.c: Likewise.
20156 * gdb.base/scope1.c: Likewise.
20157 * gdb.base/setshow.c: Likewise.
20158 * gdb.base/setvar.c: Likewise.
20159 * gdb.base/shmain.c: Likewise.
20160 * gdb.base/shr1.c: Likewise.
20161 * gdb.base/shr2.c: Likewise.
20162 * gdb.base/sigall.c: Likewise.
20163 * gdb.base/signals.c: Likewise.
20164 * gdb.base/so-indr-cl.c: Likewise.
20165 * gdb.base/solib2.c: Likewise.
20166 * gdb.base/structs.c: Likewise.
20167 * gdb.base/sum.c: Likewise.
20168 * gdb.base/vforked-prog.c: Likewise.
20169 * gdb.base/watchpoint.c: Likewise.
20170 * gdb.reverse/shr2.c: Likewise.
20171 * gdb.reverse/until-reverse.c: Likewise.
20172 * gdb.reverse/ur1.c: Likewise.
20173 * gdb.reverse/watch-reverse.c: Likewise.
20174
066a77c5
AA
201752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20176
20177 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20178 variant.
20179 * gdb.base/sepdebug.exp: Drop references to removed code.
20180
4f204ea5
AA
201812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20182
20183 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20184 variant. Preserve original line numbering.
20185 * gdb.base/list1.c: Likewise.
20186
3b377a3a
AA
201872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20188
20189 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20190 variant.
20191 * gdb.base/break1.c: Likewise.
20192 * gdb.base/break.exp: Drop references to removed code.
20193
e444df73
AA
201942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20195
20196 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20197 variant.
20198
8008f2a7
AA
201992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20200
20201 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20202
a5a06887
AA
202032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20204
20205 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20206 logic into perform_all_tests() and invoke it with and without
20207 function header prototypes.
20208 (do_function_calls): Remove conditional XFAIL for PR 5318.
20209 (rerun_and_prepare): Remove duplicate code.
20210 (perform_all_tests): New. Main logic moved here.
20211
44dba9b9
AA
202122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20213
20214 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20215 code guarded by #ifdef NO_PROTOTYPES.
20216 (t_double_many_args): Likewise.
20217 (DEF_FUNC_MANY_ARGS_1): Likewise.
20218 (DEF_FUNC_VALUES_1): Likewise.
20219 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20220 guarded by #ifdef PROTOTYPES.
20221
d1fbcd56
AA
202222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20223
20224 * gdb.mi/mi-console.c: Add eye-catcher.
20225 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20226 instead of literal line number.
20227
b0e59b8f
AA
202282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20229
20230 * gdb.base/shr2.c: Add eye-catcher.
20231 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20232 line number.
20233
78f98cca
AA
202342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20235
20236 * gdb.base/jump.c: Add eye-catchers.
20237 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20238 numbers.
20239
58fa2af0
AA
202402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20241
20242 * gdb.base/execd-prog.c: Add eye-catchers.
20243 * gdb.base/foll-exec.c: Likewise.
20244 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20245 line numbers.
20246
04e5059b
AA
202472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20248
20249 * gdb.base/ending-run.c: Add eye-catchers.
20250 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20251 literal line numbers.
20252
dbfdb174
AA
202532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20254
20255 * gdb.base/call-rt-st.c: Add eye-catchers.
20256 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20257 literal line numbers.
20258
888a2ade
AA
202592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20260
20261 * gdb.base/call-ar-st.c: Add eye-catchers.
20262 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20263 literal line numbers.
20264
6acc2dde
AA
202652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20266
20267 * gdb.base/average.c: Add eye-catchers.
20268 * gdb.base/sum.c: Likewise.
20269 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20270 regexps dynamically.
20271
9ecfcd1d
AA
202722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20273
20274 * gdb.base/solib1.c: Add eye-catchers.
20275 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20276 literal line numbers.
20277
78708b7c
PA
202782014-11-12 Pedro Alves <palves@redhat.com>
20279
20280 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20281 leader has exited.
20282
af48d08f
PA
202832014-11-12 Pedro Alves <palves@redhat.com>
20284
20285 * gdb.arch/i386-bp_permanent.c: New file.
20286 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20287 (srcfile): Set to i386-bp_permanent.c.
20288 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20289 that stepi does not execute the 'leave' instruction, instead of
20290 testing it does execute.
20291 * gdb.base/bp-permanent.c: New file.
20292 * gdb.base/bp-permanent.exp: New file.
20293
af3768e9
DE
202942014-11-10 Doug Evans <xdje42@gmail.com>
20295
20296 PR symtab/17564
20297 * gdb.base/symtab-search-order.exp: New file.
20298 * gdb.base/symtab-search-order.c: New file.
20299 * gdb.base/symtab-search-order-1.c: New file.
20300 * gdb.base/symtab-search-order-shlib-1.c: New file.
20301
9de00a4a
PA
203022014-11-07 Pedro Alves <palves@redhat.com>
20303
20304 PR gdb/17511
20305 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20306 i?86-*-linux*.
20307
e0f52461
SC
203082014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20309
20310 PR c++/17494
20311 * gdb.cp/pr17494.cc: New file.
20312 * gdb.cp/pr17494.exp: New file.
20313
6ce8c980
YQ
203142014-11-02 Yao Qi <yao@codesourcery.com>
20315
20316 * gdb.python/python.exp: Get working directory and match the
20317 output of "set extended-prompt \\w " with it.
20318
02be9a71
DE
203192014-10-30 Doug Evans <dje@google.com>
20320
20321 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20322 in objfiles.
20323 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20324 in progspaces.
20325
3bdff46b
LM
203262014-10-30 Janis Johnson <janisjo@codesourcery.com>
20327
20328 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20329 * gdb.base/realname-expand.exp: Likewise.
20330 * gdb.linespec/macro-relative.exp: Likewise.
20331
ab917dfb
PA
203322014-10-29 Pedro Alves <palves@redhat.com>
20333
20334 PR gdb/17408
20335 * gdb.threads/schedlock.c (some_function): New function.
20336 (call_function): New global.
20337 (MAYBE_CALL_SOME_FUNCTION): New macro.
20338 (thread_function): Call it.
20339 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20340 and use it instead of a global counter. Adjust all callers.
20341 (get_current_thread): Use "find current thread" for test message
20342 here rather than having all callers pass down the same string.
20343 (goto_loop): New procedure, factored out from ...
20344 (my_continue): ... this.
20345 (step_ten_loops): Change parameter from test message to command to
20346 use. Adjust.
20347 (list_count): Delete global.
20348 (check_result): New procedure, factored out from duplicate top
20349 level code.
20350 (continue tests): Wrap in with_test_prefix.
20351 (test_step): New procedure, factored out from duplicate top level
20352 code.
20353 (top level): Test "step" in combination with all scheduler-locking
20354 modes. Test "next" in combination with all scheduler-locking
20355 modes, and in combination with stepping over a function call or
20356 not.
20357 * gdb.threads/next-bp-other-thread.c: New file.
20358 * gdb.threads/next-bp-other-thread.exp: New file.
20359
d3d4baed
PA
203602014-10-29 Pedro Alves <palves@redhat.com>
20361
20362 PR python/17372
20363 * gdb.python/python.exp: Test a multi-line command that spawns
20364 interactive Python.
20365 * gdb.base/multi-line-starts-subshell.exp: New file.
20366
563e8d85
YQ
203672014-10-29 Yao Qi <yao@codesourcery.com>
20368
20369 * gdb.base/fileio.exp: Make directories on host.
20370
0ea4d52e
YQ
203712014-10-29 Yao Qi <yao@codesourcery.com>
20372
20373 * gdb.base/fileio.c (test_write): Close the file.
20374
7f5ef605
PA
203752014-10-28 Pedro Alves <palves@redhat.com>
20376
20377 PR gdb/12623
20378 * gdb.base/sigstep.c (no_handler): New global.
20379 (main): If 'no_handler is true, set the signal handlers to
20380 SIG_IGN.
20381 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20382 with_sw_watch and no_handler parameters. Handle them.
20383 (top level) <stepping over handler when stopped at a breakpoint
20384 test>: Add a test axis for testing with a software watchpoint, and
20385 another for testing with the signal handler set to SIG_IGN.
20386 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20387 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20388
abbdbd03
PA
203892014-10-28 Pedro Alves <palves@redhat.com>
20390
20391 PR gdb/17511
20392 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20393 * gdb.base/sigstep.exp (other_handler_location): New global.
20394 (advance): Support stepping into the signal handler, and running
20395 commands while in the handler.
20396 (in_handler_map): New global.
20397 (top level): In the advance test, add combinations for getting
20398 into the handler with stepping commands, and for running commands
20399 in the handler. Add comment descripting the advancei tests.
20400
1df4399f
PA
204012014-10-28 Pedro Alves <palves@redhat.com>
20402
20403 * gdb.base/sigstep.exp: Use build_executable instead of
20404 prepare_for_testing.
20405 (top level): Move code that starts GDB, runs to main and creates a
20406 display to ...
20407 (restart): ... this new procedure.
20408 (top level): Move backtrace from signal handler test to ...
20409 (validate_backtrace): ... this new procedure.
20410 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20411 with_test_prefix. Always restart GDB.
20412 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20413 with_test_prefix. Always restart GDB. No need to delete
20414 breakpoints after the test.
20415 (test_skip_handler): Remove prefix parameter.
20416 (skip_over_handler, breakpoint_to_handler)
20417 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20418 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20419 restart GDB. No need to delete breakpoints after the test.
20420 (top level): Use foreach to call the test procedures with
20421 different commands.
20422
a5b6e449
PA
204232014-10-28 Pedro Alves <palves@redhat.com>
20424
20425 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20426 instead of GNATS numbers.
20427 * gdb.base/sigbpt.exp: Likewise.
20428 * gdb.base/siginfo.exp: Likewise.
20429 * gdb.base/sigstep.exp: Likewise.
20430
e5f8a7cc
PA
204312014-10-27 Pedro Alves <palves@redhat.com>
20432
20433 * gdb.base/sigstep.c (dummy): New global.
20434 (main): Issue a couple writes to the new global.
20435 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20436 procedures.
20437 (skip_over_handler): Use test_skip_handler.
20438 (top level): Call skip_over_handler for stepi and nexti too.
20439 (breakpoint_over_handler): Use test_skip_handler.
20440 (top level): Call breakpoint_over_handler for stepi and nexti too.
20441
763905a3
YQ
204422014-10-27 Yao Qi <yao@codesourcery.com>
20443
20444 * gdb.trace/tfile.c (adjust_function_address)
20445 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20446 function descriptor.
20447
6f259a23
DB
204482014-10-24 Don Breazeal <donb@codesourcery.com>
20449
20450 * gdb.base/foll-fork.exp (test_follow_fork,
20451 catch_fork_child_follow): Check for updated fork messages emitted
20452 from infrun.c.
20453 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20454 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20455 vfork_and_exec_child_follow_through_step): Check for updated vfork
20456 messages emitted from infrun.c.
20457
09dd9a69
PA
204582014-10-24 Pedro Alves <palves@redhat.com>
20459
20460 * gdb.base/corefile.exp: Remove references to ultrix.
20461 * gdb.base/interrupt.exp: Likewise.
20462 * gdb.base/whatis.exp: Likewise.
20463 * gdb.gdb/selftest.exp: Likewise.
20464 * gdb.threads/manythreads.exp: Likewise.
20465 * gdb.threads/print-threads.exp: Likewise.
20466 * gdb.threads/pthreads.exp:: Likewise.
20467 * gdb.threads/schedlock.exp: Likewise.
20468
3433cfa5
SC
204692014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20470
20471 * gdb.cp/non-trivial-retval.cc: Add a test case.
20472 * gdb.cp/non-trivial-retval.exp: Add a test.
20473
092f880b
YQ
204742014-10-20 Yao Qi <yao@codesourcery.com>
20475
20476 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20477 * gdb.python/py-objfile-script-gdb.py: New file.
20478 * gdb.python/py-objfile-script.exp: Update reference to
20479 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20480 of remote_download. Remove the dest file.
20481
acbdb7f3
YQ
204822014-10-20 Yao Qi <yao@codesourcery.com>
20483
20484 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20485 * gdb.base/step-line.exp: Likewise.
20486 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20487 * gdb.dwarf2/dw2-basic.exp: Likewise.
20488 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20489 * gdb.dwarf2/dw2-filename.exp: Likewise.
20490 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20491 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20492 * gdb.dwarf2/dw2-producer.exp: Likewise.
20493 * gdb.dwarf2/mac-fileno.exp: Likewise.
20494 * gdb.python/py-frame-args.exp: Likewise.
20495 * gdb.python/py-framefilter.exp: Likewise.
20496 * gdb.python/py-mi.exp: Likewise.
20497 * gdb.python/py-objfile-script.exp: Likewise
20498 * gdb.python/py-pp-integral.exp: Likewise.
20499 * gdb.python/py-pp-re-notag.exp: Likewise.
20500 * gdb.python/py-prettyprint.exp: Likewise.
20501 * gdb.python/py-section-script.exp: Likewise.
20502 * gdb.python/py-typeprint.exp: Likewise.
20503 * gdb.python/py-xmethods.exp: Likewise.
20504 * gdb.stabs/weird.exp: Likewise.
20505 * gdb.xml/tdesc-regs.exp: Likewise.
20506
bd286a29
KCY
205072014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20508
20509 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20510 (out_cu): Use addr_len for the size of addresses.
20511 (out_line): Likewise. Size DW_LNE_set_address instruction
20512 according to addr_len.
20513 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20514 (FUNC): Add START_INSNS to definition.
20515
673dc4a0
YQ
205162014-10-18 Yao Qi <yao@codesourcery.com>
20517
20518 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20519 gdb_has_argv0 return true.
20520 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20521 check [target_info exists noargs], check [gdb_has_argv0]
20522 instead.
20523 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20524 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20525 procedures.
20526
4ffbba72
DE
205272014-10-17 Doug Evans <dje@google.com>
20528
20529 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20530 event.
20531 * gdb.python/py-events.py: Add clear_objfiles event.
20532
d096d8c1
DE
205332014-10-17 Doug Evans <dje@google.com>
20534
20535 * gdb.python/py-objfile.exp: Test progspace attribute.
20536
a80db015
LM
205372014-10-17 Luis Machado <lgustavo@codesourcery.com>
20538
20539 * gdb.guile/scm-breakpoint.exp: Do not assume any
20540 directory separators when matching source file paths.
20541 * gdb.python/py-breakpoint.exp: Likewise.
20542 * gdb.reverse/break-precsave.exp: Likewise.
20543 * gdb.reverse/break-reverse.exp: Likewise.
20544 * gdb.reverse/consecutive-precsave.exp: Likewise.
20545 * gdb.reverse/finish-precsave.exp: Likewise.
20546 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20547 * gdb.reverse/finish-reverse.exp: Likewise.
20548 * gdb.reverse/i386-precsave.exp: Likewise.
20549 * gdb.reverse/i387-env-reverse.exp: Likewise.
20550 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20551 * gdb.reverse/machinestate-precsave.exp: Likewise.
20552 * gdb.reverse/machinestate.exp: Likewise.
20553 * gdb.reverse/sigall-precsave.exp: Likewise.
20554 * gdb.reverse/solib-precsave.exp: Likewise.
20555 * gdb.reverse/step-precsave.exp: Likewise.
20556 * gdb.reverse/until-precsave.exp: Likewise.
20557 * gdb.reverse/watch-precsave.exp: Likewise.
20558 * gdb.reverse/watch-reverse.exp: Likewise.
20559
b22089ab
YQ
205602014-10-17 Yao Qi <yao@codesourcery.com>
20561
20562 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20563 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20564
6c4486e6
PA
205652014-10-17 Pedro Alves <palves@redhat.com>
20566
20567 PR gdb/17471
20568 * gdb.base/bg-execution-repeat.c: New file.
20569 * gdb.base/bg-execution-repeat.exp: New file.
20570
0ff33695
PA
205712014-10-17 Pedro Alves <palves@redhat.com>
20572
20573 PR gdb/17300
20574 * gdb.base/continue-all-already-running.c: New file.
20575 * gdb.base/continue-all-already-running.exp: New file.
20576
6fdebc3d
PA
205772014-10-17 Pedro Alves <palves@redhat.com>
20578
20579 PR gdb/17472
20580 * gdb.base/annota-input-while-running.c: New file.
20581 * gdb.base/annota-input-while-running.exp: New file.
20582
32a8097b
PA
205832014-10-17 Pedro Alves <palves@redhat.com>
20584
20585 * gdb.base/callfuncs.exp: emove references to osf.
20586 * gdb.base/sigall.exp: Likewise.
20587 * gdb.gdb/selftest.exp: Likewise.
20588 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20589 * gdb.mi/non-stop.c: Likewise.
20590 * gdb.mi/pthreads.c: Likewise.
20591 * gdb.reverse/sigall-precsave.exp: Likewise.
20592 * gdb.reverse/sigall-reverse.exp: Likewise.
20593 * gdb.threads/pthreads.c: Likewise.
20594 * gdb.threads/pthreads.exp: Likewise.
20595
7a3517ff
YQ
205962014-10-17 Yao Qi <yao@codesourcery.com>
20597
20598 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20599 check 'target_info exists noargs'.
20600 (test_command_prompt_position): Likewise.
20601 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20602 Remove "set args".
20603 (progvar_simple_while_test): Likewise.
20604 (progvar_complex_if_while_test): Likewise.
20605 (if_while_breakpoint_command_test): Likewise.
20606 (infrun_breakpoint_command_test): Likewise.
20607 (breakpoint_command_test): Likewise.
20608 (watchpoint_command_test): Likewise.
20609 (bp_deleted_in_command_test): Likewise.
20610 (temporary_breakpoint_commands): Likewise.
20611
bb99c472
YQ
206122014-10-16 Yao Qi <yao@codesourcery.com>
20613
20614 * gdb.base/remotetimeout.exp: Remove noargs checking.
20615
7c16b83e
PA
206162014-10-15 Pedro Alves <palves@redhat.com>
20617
20618 PR breakpoints/9649
20619 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20620 * gdb.base/breakpoint-in-ro-region.exp
20621 (probe_target_hardware_step): New procedure.
20622 (top level): Probe hardware stepping and hardware breakpoint
20623 support. Test stepping through a read-only region, with both
20624 "breakpoint auto-hw" on and off and both "always-inserted" on and
20625 off.
20626
35a49624
IB
206272014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20628
20629 * gdb.dlang/demangle.exp: Update for demangling changes.
20630
2d1c107c
SC
206312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20632
20633 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20634 * gdb.cp/non-trivial-retval.exp: Add new tests.
20635
778811d5
SC
206362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20637
20638 PR c++/13403
20639 PR c++/15154
20640 * gdb.cp/non-trivial-retval.cc: New file.
20641 * gdb.cp/non-trivial-retval.exp: New file.
20642
10c5f0a8
YQ
206432014-10-15 Yao Qi <yao@codesourcery.com>
20644
20645 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20646 remote host.
20647
65d7b369
YQ
206482014-10-15 Yao Qi <yao@codesourcery.com>
20649
20650 * gdb.python/py-symbol.exp: Match file base name if host is
20651 remote, otherwise match file name with dir name.
20652 * gdb.python/py-symtab.exp: Likewise.
20653 * gdb.python/python.exp: Likewise.
20654
46dc1394
YQ
206552014-10-15 Yao Qi <yao@codesourcery.com>
20656
20657 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20658 pattern.
20659 * gdb.python/py-symtab.exp: Likewise.
20660 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20661 locationn.
20662
c40cc657
JB
206632014-10-14 Joel Brobecker <brobecker@adacore.com>
20664
20665 * gdb.ada/addr_arith: New testcase.
20666
2abf49e1
MR
206672014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20668
20669 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20670 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20671 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20672 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20673
f7088df3
SDJ
206742014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20675
20676 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20677 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20678 * gdb.arch/stap-eval-lang-ada.exp: New file.
20679
4dc06805
YQ
206802014-10-14 Yao Qi <yao@codesourcery.com>
20681
20682 * gdb.mi/mi-var-child.c (nothing1): New function.
20683 (nothing2): New function.
20684 (do_children_tests): Set function pointers by nothing1 and
20685 nothing2.
20686 * gdb.mi/mi-var-child.exp: Step over new added statements.
20687 Update test to match the new output.
20688 * gdb.mi/var-cmd.c (nothing1): New function.
20689 (nothing2): New function.
20690 (do_children_tests): Set function pointers by nothing1 and
20691 nothing2.
20692 * gdb.mi/mi-var-display.exp: Update test to match output.
20693 Step to the line specified by $line_dct_nothing.
20694 Increase the number of lines to step.
20695
46a93de2
YQ
206962014-10-14 Yao Qi <yao@codesourcery.com>
20697
20698 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20699 tests.
20700 * gdb.mi/mi2-var-child.exp: Likewise.
20701
14ea52ee
DE
207022014-10-13 Doug Evans <dje@google.com>
20703
20704 * gdb.python/py-objfile.exp: Change name of file name test.
20705
e5c6e92b
DE
207062014-10-13 Doug Evans <dje@google.com>
20707
20708 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20709 from the start of the CU.
20710
c780cc2f
JK
207112014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20712 Yao Qi <yao@codesourcery.com>
20713
20714 Fix "save breakpoints" for "catch" command.
20715 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20716 Remove -nonewline. Match also the added "main" line.
20717
99894e11
JK
207182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20719
20720 Fix "save breakpoints" for "disable $bpnum" command.
20721 * gdb.base/save-bp.c (main): Add label.
20722 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20723
6e1ac5a3
JK
207242014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20725
20726 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20727
754dd2b0
YQ
207282014-10-11 Yao Qi <yao@codesourcery.com>
20729
20730 * gdb.server/server-kill.exp: Execute command
20731 "set remote trace-status-packet on" before "tstatus".
20732
f90183d7
YQ
207332014-10-11 Yao Qi <yao@codesourcery.com>
20734
20735 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20736 (main): Call getppid.
20737 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20738 and continue to it. Read variable "server_pid".
20739
bf40a607
YQ
207402014-10-11 Yao Qi <yao@codesourcery.com>
20741
20742 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20743
052ca370
YQ
207442014-10-11 Yao Qi <yao@codesourcery.com>
20745
20746 * gdb.threads/thread-find.exp: Don't execute command
20747 "info threads".
20748 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20749 * gdb.threads/linux-dp.exp: Don't check the condition
20750 $threads_created equals to zero.
20751
3831839c
PA
207522014-10-10 Pedro Alves <palves@redhat.com>
20753
20754 * gdb.base/bigcore.exp: Remove references to IRIX.
20755 * gdb.base/funcargs.exp: Likewise.
20756 * gdb.base/interrupt.exp: Likewise.
20757 * gdb.base/mips_pro.exp: Likewise.
20758 * gdb.base/nodebug.exp: Likewise.
20759 * gdb.base/setvar.exp: Likewise.
20760 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20761
8b9a549d
PA
207622014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20763 Pedro Alves <palves@redhat.com>
20764
20765 PR symtab/14466
20766 * gdb.base/vdso-warning.c: New file.
20767 * gdb.base/vdso-warning.exp: New file.
20768
d48ba5e8
DE
207692014-10-02 Doug Evans <dje@google.com>
20770
20771 * gdb.base/structs.c (main): Don't run forever.
20772
2278c276
PA
207732014-10-02 Pedro Alves <palves@redhat.com>
20774
20775 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20776 (top level) <stop threads 1, stop threads 2>: Use it.
20777
b57bacec
PA
207782014-10-02 Pedro Alves <palves@redhat.com>
20779
20780 * gdb.threads/break-while-running.exp (test): Add new
20781 'update_thread_list' argument. Skip "info threads" if false.
20782 (top level): Add new 'update_thread_list' axis.
20783
13fd3ff3
PA
207842014-10-02 Pedro Alves <palves@redhat.com>
20785
20786 PR breakpoints/17431
20787 * gdb.base/execl-update-breakpoints.c: New file.
20788 * gdb.base/execl-update-breakpoints.exp: New file.
20789
0fec99e8
PA
207902014-10-01 Pedro Alves <palves@redhat.com>
20791
20792 * gdb.base/breakpoint-in-ro-region.c: New file.
20793 * gdb.base/breakpoint-in-ro-region.exp: New file.
20794
2ddf4301
SM
207952014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20796
20797 * gdb.mi/mi-exit-code.exp: New file.
20798 * gdb.mi/mi-exit-code.c: New file.
20799
6a5f3f43
YQ
208002014-09-30 Yao Qi <yao@codesourcery.com>
20801
20802 * lib/prelink-support.exp (build_executable_own_libs): Error if
20803 the target isn't native.
20804
345bcc73
YQ
208052014-09-30 Yao Qi <yao@codesourcery.com>
20806
20807 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20808 false.
20809
a25a5a45
PA
208102014-09-22 Pedro Alves <palves@redhat.com>
20811
20812 * gdb.threads/break-while-running.exp: New file.
20813 * gdb.threads/break-while-running.c: New file.
20814
00ba3162
YQ
208152014-09-19 Yao Qi <yao@codesourcery.com>
20816
20817 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20818 Invoke test. Restart GDB with --readnow and invoke test again.
20819
c3b7b696
YQ
208202014-09-19 Yao Qi <yao@codesourcery.com>
20821
20822 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20823 proc set_breakpoint_on_gcd_function. Invoke
20824 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20825 invoke set_breakpoint_on_gcd_function again.
20826
2b4fd423
DE
208272014-09-18 Doug Evans <dje@google.com>
20828
20829 * gdb.dwarf2/symtab-producer.exp: New file.
20830
a5947601
SDJ
208312014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20832
20833 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20834 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20835 * gdb.base/global-var-nested-by-dso.c: Likewise.
20836 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20837
91c19059
SDJ
208382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20839 Pedro Alves <palves@redhat.com>
20840
20841 * gdb.base/watch-bitfields.exp: Pass string other than test file
20842 name to prepare_for_testing.
20843 (watch): New procedure.
20844 (expect_watchpoint): Use with_test_prefix.
20845 (top level): Factor out tests to ...
20846 (test_watch_location, test_regular_watch): ... these new
20847 procedures, and use with_test_prefix and gdb_continue_to_end.
20848
bb9d5f81
PP
208492014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20850
20851 PR breakpoints/12526
20852 * gdb.base/watch-bitfields.exp: New file.
20853 * gdb.base/watch-bitfields.c: New file.
20854
635856f5
PA
208552014-09-16 Pedro Alves <palves@redhat.com>
20856
20857 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20858 software and hardware addresses, not software address against
20859 itself.
20860
7280ceea
PA
208612014-09-16 Pedro Alves <palves@redhat.com>
20862
20863 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20864 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20865
428b16bd
PA
208662014-09-16 Pedro Alves <palves@redhat.com>
20867
20868 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20869 files.
20870 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20871 "*-*-vxworks*" throughout.
20872 * gdb.base/break.exp: Likewise.
20873 * gdb.base/default.exp: Likewise.
20874 * gdb.base/scope.exp: Likewise.
20875 * gdb.base/sepdebug.exp: Likewise.
20876 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20877 throughout.
20878 * gdb.base/run.c: Likewise.
20879 * gdb.base/sepdebug.c: Likewise.
20880 * gdb.hp/gdb.aCC/run.c: Likewise.
20881 * gdb.reverse/until-reverse.c: Likewise.
20882 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20883
666d413c
YQ
208842014-09-16 Yao Qi <yao@codesourcery.com>
20885
20886 * boards/local-remote-host-native.exp: New file.
20887
57cbd724
DE
208882014-09-14 Doug Evans <xdje42@gmail.com>
20889
20890 * gdb.threads/queue-signal.c (thread_count): New variable.
20891 (thread_count_mutex, thread_count_condvar): New variables.
20892 (incr_thread_count, wait_all_threads_running): New functions.
20893 (main): Wait for all threads to be in their thread functions.
20894
81219e53
DE
208952014-09-13 Doug Evans <xdje42@gmail.com>
20896
20897 * gdb.threads/queue-signal.c: New file.
20898 * gdb.threads/queue-signal.exp: New file.
20899
3714cea7
DE
209002014-09-13 Doug Evans <xdje42@gmail.com>
20901
20902 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20903 be consistent with what default_gdb_init uses.
20904 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20905 the plain text of the prompt. Add some logging printfs.
20906 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20907
fa43b1d7
PA
209082014-09-12 Pedro Alves <palves@redhat.com>
20909
20910 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20911 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20912 * gdb.arch/i386-size-overlap.exp: Likewise.
20913 * gdb.arch/i386-size.exp: Likewise.
20914 * gdb.arch/i386-unwind.exp: Likewise.
20915 * gdb.base/a2-run.exp: Likewise.
20916 * gdb.base/break.exp: Likewise.
20917 * gdb.base/charset.exp: Likewise.
20918 * gdb.base/chng-syms.exp: Likewise.
20919 * gdb.base/commands.exp: Likewise.
20920 * gdb.base/dbx.exp: Likewise.
20921 * gdb.base/find.exp: Likewise.
20922 * gdb.base/funcargs.exp: Likewise.
20923 * gdb.base/jit-simple.exp: Likewise.
20924 * gdb.base/reread.exp: Likewise.
20925 * gdb.base/sepdebug.exp: Likewise.
20926 * gdb.base/step-bt.exp: Likewise.
20927 * gdb.cp/mb-inline.exp: Likewise.
20928 * gdb.cp/mb-templates.exp: Likewise.
20929 * gdb.objc/basicclass.exp: Likewise.
20930 * gdb.threads/killed.exp: Likewise.
20931
9d9bf2df
EBM
209322014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20933
20934 PR tdep/17379
20935 * gdb.arch/powerpc-stackless.S: New file.
20936 * gdb.arch/powerpc-stackless.exp: New file.
20937
1cf2f1b0
JK
209382014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20939
20940 * gdb.base/attach.c: Include unistd.h.
20941 (main): Call alarm. Add label postloop.
20942 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20943 gdb_breakpoint, gdb_continue_to_breakpoint.
20944 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20945
98880d46
PA
209462014-09-11 Pedro Alves <palves@redhat.com>
20947
20948 PR gdb/17347
20949 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20950 * gdb.base/attach.exp (test_command_line_attach_run): New
20951 procedure.
20952 (top level): Call it.
20953
4c92ff2c
PA
209542014-09-11 Pedro Alves <palves@redhat.com>
20955
20956 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20957 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20958 (do_command_attach_tests): Use spawn_wait_for_attach.
20959 * gdb.base/solib-overlap.exp: Likewise.
20960 * gdb.multi/multi-attach.exp: Likewise.
20961 * gdb.python/py-prompt.exp: Likewise.
20962 * gdb.python/py-sync-interp.exp: Likewise.
20963 * gdb.server/ext-attach.exp: Likewise.
20964
3adc1a7d
GKB
209652014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20966
20967 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20968 command in testcase. Simplify testcase.
20969
96334934
JB
209702014-09-10 Joel Brobecker <brobecker@adacore.com>
20971
20972 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20973
eb479039
JB
209742014-09-10 Joel Brobecker <brobecker@adacore.com>
20975
20976 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20977
deede10c
JB
209782014-09-10 Joel Brobecker <brobecker@adacore.com>
20979
20980 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20981
7828a5f5
JB
209822014-09-10 Joel Brobecker <brobecker@adacore.com>
20983
20984 * gdb.dwarf2/dynarr-ptr.c: New file.
20985 * gdb.dwarf2/dynarr-ptr.exp: New file.
20986
33aeebcf
MR
209872014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20988
20989 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20990 of 30 rather than hardcoding 120 for a slow test case. Take the
20991 `gdb,timeout' target setting into account for this calculation.
20992 Don't extend the timeout for the test cases that don't need it.
20993
7b415901
MR
209942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20995
20996 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20997 a factor of 2 for a slow test case. Take the `gdb,timeout'
20998 target setting into account for this calculation.
20999 * gdb.reverse/until-precsave.exp: Increase the timeout by
21000 a factor of 15 and 3 respectively rather than adding 120
21001 for a pair of slow test cases. Take the `gdb,timeout'
21002 target setting into account for this calculation.
21003
4a40f85a
MR
210042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21005
21006 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21007 timeout, don't pass one down to gdb_expect.
21008 (gdb_expect): Rework timeout selection.
21009
09635af7
MR
210102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21011
21012 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21013 exception on timeout.
21014 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21015 (gdbserver_start_extended): Catch any `gdbserver_start' error
21016 exceptions.
21017 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21018 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21019 `gdbserver_gdb_load' error exceptions.
21020
2bdd10b7
MR
210212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21022
21023 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21024 120 on waiting for the TCP socket to open.
21025
316935f0
DE
210262014-09-09 Doug Evans <xdje42@gmail.com>
21027
21028 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21029 _caller_matches, _any_caller_is, _any_caller_matches.
21030
83740597
DE
210312014-09-09 Doug Evans <xdje42@gmail.com>
21032
21033 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21034
4c122fc3
YQ
210352014-09-09 Yao Qi <yao@codesourcery.com>
21036
21037 * gdb.mi/mi-var-display.exp: Set print symbol off.
21038
a9f116cb
GKB
210392014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21040
21041 PR gdb/17035
21042 * gdb.base/commands.exp: Add tests to verify user-defined
21043 commands with empty bodies.
21044 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21045 python commands in `show user command`.
21046 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21047 scheme commands in `show user command`.
21048
c75bd3a2
JK
210492014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21050
21051 PR python/17355
21052 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21053 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21054 * gdb.python/py-framefilter-invalidarg.exp: New file.
21055 * gdb.python/py-framefilter-invalidarg.py: New file.
21056
faa42425
DE
210572014-09-06 Doug Evans <xdje42@gmail.com>
21058
21059 PR 15276
21060 * gdb.python/py-caller-is.c: New file.
21061 * gdb.python/py-caller-is.exp: New file.
21062
474ca4f6
SDJ
210632014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21064
21065 PR gdb/17235
21066 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21067 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21068
eb0b0463
SDJ
210692014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21070
21071 PR fortran/17237
21072 * gdb.fortran/print-formatted.exp: New file.
21073 * gdb.fortran/print-formatted.f90: Likewise.
21074
5f3b99cf
SS
210752014-09-03 Sasha Smundak <asmundak@google.com>
21076
21077 * gdb.python/py-frame.exp: Test Frame.read_register.
21078
7d793aa9
SDJ
210792014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21080
21081 PR python/16699
21082 * gdb.python/py-completion.exp: New file.
21083 * gdb.python/py-completion.py: Likewise.
21084
fb0576e9
DE
210852014-08-28 Doug Evans <dje@google.com>
21086
21087 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21088 eax,etc. are live with values set by gdb and thus the compiler can't
21089 use them.
21090 * gdb.arch/i386-pseudo.c (main): Ditto.
21091
ee92b0dd
DE
210922014-08-27 Doug Evans <dje@google.com>
21093
21094 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21095
6649db35
DE
210962014-08-25 Doug Evans <dje@google.com>
21097
21098 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21099 (main): Ditto.
21100
564b7600
DE
211012014-08-25 Doug Evans <dje@google.com>
21102
21103 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21104
3881fb67
YQ
211052014-08-24 Yao Qi <yao@codesourcery.com>
21106
21107 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21108 symbol off.
21109 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21110
a05a36a5
DE
211112014-08-22 Doug Evans <dje@google.com>
21112
21113 PR 17276
21114 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21115 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21116 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21117
7c343b48
YQ
211182014-08-22 Yao Qi <yao@codesourcery.com>
21119
21120 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21121 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21122 * gdb.python/python.exp: Likewise. Use .py file on the host
21123 instead of the build.
21124
22fd09ae
JK
211252014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21126
21127 * gdb.threads/gcore-stale-thread.c: New file.
21128 * gdb.threads/gcore-stale-thread.exp: New file.
21129
a8454a7c
PA
211302014-08-21 Pedro Alves <palves@redhat.com>
21131
21132 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21133 * gdb.base/gcore-relro-pie.exp: Likewise.
21134 * gdb.base/gcore-relro.exp: Likewise.
21135 * gdb.base/gcore.exp: Likewise.
21136 * gdb.base/print-symbol-loading.exp: Likewise.
21137 * gdb.threads/gcore-thread.exp: Likewise.
21138 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21139
2a31c623
PA
211402014-08-20 Pedro Alves <palves@redhat.com>
21141 Jan Kratochvil <jan.kratochvil@redhat.com>
21142
21143 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21144 configure.
21145 (EXPECT): Handle READ1 being set.
21146 (all): Depend on EXTRA_RULES.
21147 (check-read1, expect-read1, read1.so, read1): New rules.
21148 * README (Testsuite Parameters): Document the READ1 make variable.
21149 (Race detection): New section.
21150 * configure: Regenerate.
21151 * configure.ac: If build==host==target, and running under a
21152 GNU/glibc system, add read1 to the extra Makefile rules.
21153 (EXTRA_RULES): AC_SUBST it.
21154 * lib/read1.c: New file.
21155
d36430db
JB
211562014-08-20 Joel Brobecker <brobecker@adacore.com>
21157
21158 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21159 the handling of variables declared as a typedef to an array
21160 which a DW_AT_data_location attribute.
21161
9a0dc9e3
PA
211622014-08-19 Andrew Burgess <aburgess@broadcom.com>
21163 Pedro Alves <palves@redhat.com>
21164
21165 PR symtab/14604
21166 PR symtab/14605
21167 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21168 gdb_test.
21169
0718a8da
PA
211702014-08-19 Pedro Alves <palves@redhat.com>
21171
21172 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21173
13b448cd
YQ
211742014-08-19 Yao Qi <yao@codesourcery.com>
21175
21176 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21177 right line.
21178
1cbf5077
DB
211792014-08-18 David Blaikie <dblaikie@gmail.com>
21180
21181 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21182
bf0fae19
JB
211832014-08-18 Joel Brobecker <brobecker@adacore.com>
21184
21185 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21186 attribute in array range.
21187
3c8c5dcc
JB
211882014-08-18 Joel Brobecker <brobecker@adacore.com>
21189
21190 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21191
e66d4446
SC
211922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21193
21194 PR c++/17132
21195 * gdb.cp/pr17132.cc: New file.
21196 * gdb.cp/pr17132.exp: New file.
21197
940df408
SC
211982014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21199
21200 * gdb.python/py-xmethods.py (A_getarrayind)
21201 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21202 Use 'print' with function call syntax.
21203 (E_method_matcher.match): Fix tab vs space indentation mixup.
21204
ebcc6c3a
YQ
212052014-08-15 Yao Qi <yao@codesourcery.com>
21206
21207 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21208 false.
21209
775e0f04
YQ
212102014-08-15 Yao Qi <yao@codesourcery.com>
21211
21212 * gdb.cp/casts.exp: Set print symbol off.
21213 * gdb.cp/class2.exp: Likewise.
21214 * gdb.cp/overload.exp: Likewise.
21215 * gdb.cp/templates.exp: Likewise.
21216
d769e349
DE
212172014-08-11 Doug Evans <dje@google.com>
21218
21219 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21220 (test_load_shlib): Update.
21221
20c6f1e1
YQ
212222014-08-09 Yao Qi <yao@codesourcery.com>
21223
21224 * gdb.base/display.exp: Invoke is_address_zero_readable.
21225 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21226 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21227 * gdb.base/hbreak-unmapped.exp: Return if
21228 is_address_zero_readable returns true.
21229 * gdb.base/signest.exp: Likewise.
21230 * gdb.base/signull.exp: Likewise.
21231 * gdb.base/sigbpt.exp: Likewise.
21232 * gdb.guile/scm-disasm.exp: Do the test if
21233 is_address_zero_readable returns false.
21234 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21235 * gdb.python/py-arch.exp: Likewise.
21236 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21237 * lib/gdb.exp (is_address_zero_readable): New proc.
21238
5792e8e3
YQ
212392014-08-09 Yao Qi <yao@codesourcery.com>
21240
21241 PR testsuite/13443
21242 * gdb.mi/mi-var-display.exp: Make test messages unique.
21243
3cecbbbe
TT
212442014-08-04 Tom Tromey <tromey@redhat.com>
21245
21246 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21247 target 0".
21248
00b51ff5
TT
212492014-08-04 Tom Tromey <tromey@redhat.com>
21250
21251 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21252 "target_resume".
21253
6908c509
JB
212542014-08-01 Joel Brobecker <brobecker@adacore.com>
21255
21256 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21257 inner_vla_struct_object_size.
21258 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21259 as xfail.
21260
cc6563d2
PA
212612014-07-30 Pedro Alves <palves@redhat.com>
21262
21263 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21264 comment.
21265
7e09a223
YQ
212662014-07-29 Yao Qi <yao@codesourcery.com>
21267
21268 PR gdb/17206
21269 * gdb.base/until-nodebug.exp: New.
21270
7ebdbe92
DE
212712014-07-28 Doug Evans <xdje42@gmail.com>
21272
21273 PR guile/17203
21274 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21275 previously existing parameter, and previously ambiguously spelled
21276 parameter.
21277
fdb1adc6
WN
212782014-07-28 Will Newton <will.newton@linaro.org>
21279
21280 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21281
186fcde0
DE
212822014-07-26 Ludovic Courtès <ludo@gnu.org>
21283 Doug Evans <xdje42@gmail.com>
21284
21285 PR guile/17146
21286 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21287
70509625
PA
212882014-07-25 Pedro Alves <palves@redhat.com>
21289
21290 * gdb.threads/signal-command-handle-nopass.c: New file.
21291 * gdb.threads/signal-command-handle-nopass.exp: New file.
21292 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21293 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21294 * gdb.threads/signal-delivered-right-thread.c: New file.
21295 * gdb.threads/signal-delivered-right-thread.exp: New file.
21296
c3f814a1
PA
212972014-07-25 Pedro Alves <palves@redhat.com>
21298
21299 * gdb.base/double-prompt-target-event-error.exp
21300 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21301 match.
21302 (cancel_pagination_in_target_event): Rework double prompt
21303 detection.
21304 * gdb.base/paginate-after-ctrl-c-running.exp
21305 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21306 <return>' match.
21307 * gdb.base/paginate-bg-execution.exp
21308 (test_bg_execution_pagination_return)
21309 (test_bg_execution_pagination_cancel): Remove '-notransfer
21310 <return>' matches.
21311 * gdb.base/paginate-execution-startup.exp
21312 (test_fg_execution_pagination_return)
21313 (test_fg_execution_pagination_cancel): Remove '-notransfer
21314 <return>' matches.
21315 * gdb.base/paginate-inferior-exit.exp
21316 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21317 match.
21318 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21319 * lib/gdb.exp (pagination_prompt): Run text through
21320 string_to_regexp.
21321 (gdb_test_multiple): Match $pagination_prompt instead of
21322 "<return>".
21323 (string_to_regexp): Move to lib/gdb-utils.exp.
21324
e214cf6c
JK
213252014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21326
21327 * gdb.arch/amd64-entry-value-paramref.S: New file.
21328 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21329 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21330 * gdb.arch/amd64-optimout-repeat.S: New file.
21331 * gdb.arch/amd64-optimout-repeat.c: New file.
21332 * gdb.arch/amd64-optimout-repeat.exp: New file.
21333
17d0c5c8
JK
213342014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21335
21336 PR gdb/17170
21337 * gdb.base/statistics.exp: New file.
21338
b8b8facf
DE
213392014-07-17 Doug Evans <dje@google.com>
21340
74b49205 21341 PR gdb/17170
b8b8facf
DE
21342 * gdb.base/maint.exp: Update testing of per-command stats.
21343
1b5d0ab3
PA
213442014-07-16 Pedro Alves <palves@redhat.com>
21345
21346 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21347 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21348 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21349 (tfile_write_buf): New functions.
21350 (add_memory_block): Rewrite using the above.
21351 (adjust_function_address): New function.
21352 (FUNCTION_ADDRESS): New macro.
21353 (write_basic_trace_file): Remove short_x local, and use
21354 tfile_write_16. Change type of func_addr local to unsigned long
21355 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21356 here. Cast argument of add_memory_block to char pointer.
21357 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21358 (main): Remove parameters.
21359 * gdb.trace/tfile.exp: Remove nowarnings.
21360
4d974e88
SM
213612014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21362
21363 * gdb.base/debug-expr.exp: Test string evaluation with
21364 "debug expression" on.
21365
41e99568
PA
213662014-07-15 Pedro Alves <palves@redhat.com>
21367
21368 * gdb.base/reread.exp: Use clean_restart.
21369
487d9753
PL
213702014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21371
21372 * gdb.arch/avr-flash-qualifer.c: New.
21373 * gdb.arch/avr-flash-qualifer.exp: New.
21374
cc1c52ad
PA
213752014-07-14 Pedro Alves <palves@redhat.com>
21376
21377 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21378 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21379
1e973570
PA
213802014-07-14 Pedro Alves <palves@redhat.com>
21381
21382 * gdb.base/double-prompt-target-event-error.c: New file.
21383 * gdb.base/double-prompt-target-event-error.exp: New file.
21384
93d6eb10
PA
213852014-07-14 Pedro Alves <palves@redhat.com>
21386
21387 PR gdb/17072
21388 * gdb.base/paginate-inferior-exit.c: New file.
21389 * gdb.base/paginate-inferior-exit.exp: New file.
21390
0017922d
PA
213912014-07-14 Pedro Alves <palves@redhat.com>
21392
21393 PR gdb/17072
21394 * gdb.base/paginate-bg-execution.c: New file.
21395 * gdb.base/paginate-bg-execution.exp: New file.
21396
94696ad3
PA
213972014-07-14 Pedro Alves <palves@redhat.com>
21398
21399 PR gdb/17072
21400 * gdb.base/paginate-execution-startup.c: New file.
21401 * gdb.base/paginate-execution-startup.exp: New file.
21402 * lib/gdb.exp (pagination_prompt): New global.
21403 (default_gdb_spawn): New procedure, factored out from
21404 default_gdb_spawn.
21405 (default_gdb_start): Adjust to call default_gdb_spawn.
21406 (gdb_spawn): New procedure.
21407
bd293940
PA
214082014-07-14 Pedro Alves <palves@redhat.com>
21409
21410 * lib/gdb.exp (gdb_assert): New procedure.
21411 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21412
c933f875
PA
214132014-07-14 Pedro Alves <palves@redhat.com>
21414
21415 * gdb.base/execution-termios.c: New file.
21416 * gdb.base/execution-termios.exp: New file.
21417
d98b7a16
TT
214182014-07-14 Tom Tromey <tromey@redhat.com>
21419
21420 * gdb.cp/vla-cxx.cc: New file.
21421 * gdb.cp/vla-cxx.exp: New file.
21422
548740d6
TT
214232014-07-14 Tom Tromey <tromey@redhat.com>
21424
21425 * gdb.reverse/rerun-prec.c: New file.
21426 * gdb.reverse/rerun-prec.exp: New file.
21427
a25eb028
MR
214282014-07-12 Maciej W. Rozycki <macro@mips.com>
21429 Maciej W. Rozycki <macro@codesourcery.com>
21430
21431 * lib/gdb-utils.exp: New file.
21432 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21433 inline `gdb_init_command' processing.
21434 (gdb_start_cmd): Likewise.
21435 * lib/mi-support.exp (mi_run_cmd): Likewise.
21436 * README: Document `gdb_init_command' and `gdb_init_commands'.
21437
218c2655
JK
214382014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21439
21440 Fix false FAIL running under a very long directory name.
21441 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21442 and "set print elements 10000". Twice.
21443
5401fde3
YQ
214442014-07-11 Yao Qi <yao@codesourcery.com>
21445
21446 * gdb.base/exprs.exp: "set print symbol off".
21447
e76126e8
PA
214482014-07-11 Pedro Alves <palves@redhat.com>
21449
21450 * gdb.threads/kill.c: New file.
21451 * gdb.threads/kill.exp: New file.
21452
2d6f0de6
YQ
214532014-07-10 Yao Qi <yao@codesourcery.com>
21454
21455 * gdb.trace/tfile.c (write_basic_trace_file)
21456 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21457 address written to trace file.
21458
7180e04a
PA
214592014-07-09 Pedro Alves <palves@redhat.com>
21460
21461 * gdb.base/attach-wait-input.exp: New file.
21462 * gdb.base/attach-wait-input.c: New file.
21463
9a9a7608
AB
214642014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21465
21466 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21467 setting up test structures.
21468 (main): Call new test function.
21469 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21470 test function, continue into test function and walk test
21471 structures.
21472
161ac41e
YQ
214732014-07-02 Yao Qi <yao@codesourcery.com>
21474
21475 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21476 'bar_start' at the beginning of functions 'foo' and 'bar'
21477 respectively.
21478 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21479 instead of 'foo' and 'bar'.
21480
1f267ae3
MM
214812014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21482
21483 * gdb.btrace/segv.exp: New.
21484 * gdb.btrace/segv.c: New.
21485
2b239efb
LM
214862014-07-02 Luis Machado <lgustavo@codesourcery.com>
21487
21488 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21489 instruction.
21490
cf363f18
MW
214912014-06-30 Mark Wielaard <mjw@redhat.com>
21492
21493 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21494 vulture, vilify, villar): New volatile array constants.
21495 (vindictive, vegetation): New const volatile array constants.
21496 * gdb.base/volatile.exp: Test volatile and const volatile array
21497 types.
21498
aebf9d24
AA
214992014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21500
21501 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21502 target lacks support for awatch, rwatch, or hbreak.
21503
b67a2c6f
YQ
215042014-06-27 Yao Qi <yao@codesourcery.com>
21505
21506 * gdb.multi/dummy-frame-restore.exp: New.
21507 * gdb.multi/dummy-frame-restore.c: New.
21508
aef92902
MM
215092014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21510
21511 * gdb.btrace/gcore.exp: New.
21512
8e9db26e
PA
215132014-06-23 Pedro Alves <palves@redhat.com>
21514
21515 * gdb.base/watchpoint-reuse-slot.c: New file.
21516 * gdb.base/watchpoint-reuse-slot.exp: New file.
21517
70afc5b7
SC
215182014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21519
21520 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21521 progspace's filename in 'info', 'enable' and 'disable' command
21522 tests.
21523
b972bd9c
JK
215242014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21525
21526 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21527 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21528 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21529
125f8a3d
GB
215302014-06-20 Gary Benson <gbenson@redhat.com>
21531
21532 * gdb.arch/i386-avx.exp: Fix include file location.
21533 * gdb.arch/i386-sse.exp: Likewise.
21534
3ed9baed
IB
215352014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21536
21537 * gdb.dlang/expression.exp: New file.
21538
034f788c
PA
215392014-06-19 Pedro Alves <palves@redhat.com>
21540
21541 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21542 out from ...
21543 (top level): ... here. Iterate running tests under different
21544 scheduler-locking settings.
21545
45371d0c
LM
215462014-06-18 Luis Machado <lgustavo@codesourcery.com>
21547
21548 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21549 to DW_FORM_addr and use non-zero addresses.
21550
5d376983
SC
215512014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21552
21553 PR gdb/17017
21554 * gdb.python/py-xmethods.cc: Add global function call counters and
21555 increment them in their respective functions. Remove "cout"
21556 statements.
21557 * gdb.python/py-xmethods.exp: Make tests check the global function
21558 call counters instead of depending on inferior IO.
21559
a1aa2221
LM
215602014-06-18 Don Breazeal <donb@codesourcery.com>
21561
21562 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21563 Deleted procedure.
21564 (explicit_fork_parent_follow): Deleted procedure.
21565 (explicit_fork_child_follow): Deleted procedure.
21566 (test_follow_fork): New procedure.
21567 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21568 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21569 procedure calls.
21570
0fc05997
YQ
215712014-06-17 Yao Qi <yao@codesourcery.com>
21572
21573 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21574 CP1252.
21575
70795c52
LM
215762014-06-17 Luis Machado <lgustavo@codesourcery.com>
21577
21578 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21579 Initialize ptr and S explicitly.
21580 (skip_type_update_when_not_use_rtti_test): Likewise.
21581
6be47f0c
KS
215822014-06-16 Keith Seitz <keiths@redhat.com>
21583
21584 PR mi/15863
21585 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21586 the inferior is started.
21587
d03de421
PA
215882014-06-16 Pedro Alves <palves@redhat.com>
21589
21590 * gdb.base/break-main-file-remove-fail.c: New file.
21591 * gdb.base/break-main-file-remove-fail.exp: New file.
21592 * gdb.base/break-unload-file.exp: Use build_executable instead of
21593 prepare_for_testing.
21594 (test_break): New parameter "initial_load". Handle it.
21595 (top level): Add initial_load cmdline/file axis.
21596
f9579b99
TT
215972014-06-12 Tom Tromey <tromey@redhat.com>
21598
21599 * gdb.base/completion.exp: Don't use directory name in test.
21600
3657956b
GB
216012014-06-09 Gary Benson <gbenson@redhat.com>
21602
21603 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21604 separate the always-available ANSI-standard signals from the
21605 signals that require checking.
21606 (main): Likewise.
21607 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21608 Likewise.
21609 (main): Likewise.
21610
4186eb54
KS
216112014-06-07 Keith Seitz <keiths@redhat.com>
21612
21613 Revert:
21614 PR c++/16253
21615 * gdb.cp/var-tag.cc: New file.
21616 * gdb.cp/var-tag.exp: New file.
21617 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21618 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21619 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21620 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21621
25326a28 216222014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21623
21624 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21625
829155c9
PA
216262014-06-06 Pedro Alves <palves@redhat.com>
21627
21628 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21629 in target debug output instead of looking at RSP packets,
21630 disabling the test on any target that uses hardware stepping.
21631 Update comments.
21632
61c8d22e
PA
216332014-06-06 Pedro Alves <palves@redhat.com>
21634
21635 * gdb.base/break-unload-file.exp: Fix typo.
21636
d9a47287
YQ
216372014-06-06 Yao Qi <yao@codesourcery.com>
21638
21639 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21640 from "jit_function" to "^jit_function".
21641
e5e01dbf
YQ
216422014-06-06 Yao Qi <yao@codesourcery.com>
21643
21644 * gdb.base/async.c (foo): Add one statement.
21645 * gdb.base/async.exp: Get the next instruction address and
21646 match the output of "nexti" by instruction address. Match
21647 the hex address in the output of "finish".
21648
73ba372c
GB
216492014-06-06 Gary Benson <gbenson@redhat.com>
21650
21651 * gdb.base/call-signals.c: Remove preprocessor conditionals
21652 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21653 SIGSEGV and SIGTERM.
21654 * gdb.base/sigall.c: Likewise.
21655 * gdb.base/unwindonsignal.c: Likewise.
21656 * gdb.reverse/sigall-reverse.c: Likewise.
21657
831517df
YQ
216582014-06-06 Yao Qi <yao@codesourcery.com>
21659
21660 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21661 readable, skip the test.
21662
b8b91e98
YQ
216632014-06-06 Yao Qi <yao@codesourcery.com>
21664
21665 * gdb.threads/staticthreads.c (thread_function): Move the line
21666 setting breakpoint on forward.
21667 * gdb.threads/staticthreads.exp: Update comments.
21668
fb934770
LC
216692014-06-05 Ludovic Courtès <ludo@gnu.org>
21670
21671 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21672 "history-append! type error".
21673
6ef284bd
SM
216742014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21675
21676 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21677 erroneous dprintf expected input.
21678
a872e241
DE
216792014-06-04 Doug Evans <xdje42@gmail.com>
21680
21681 * gdb.guile/scm-generics.exp: Delete.
21682
16f691fb
DE
216832014-06-04 Doug Evans <xdje42@gmail.com>
21684
21685 * gdb.guile/scm-breakpoint.exp: Update.
21686 Add tests for breakpoint registration.
21687
012370f6
TT
216882014-06-04 Tom Tromey <tromey@redhat.com>
21689
21690 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21691 VLA-in-union.
21692 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21693 inner_vla_struct, vla_union types. Initialize objects of those
21694 types and compute their sizes.
21695
9f5a4cef
HZ
216962014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21697 Hui Zhu <hui@codesourcery.com>
21698
21699 * gdb.base/fileio.exp: Add test for shell not available as well as
21700 available.
21701 * gdb.base/fileio.c (test_system): Check for shell twice.
21702
90a45c4d
YQ
217032014-06-04 Yao Qi <yao@codesourcery.com>
21704
21705 * gdb.base/auto-connect-native-target.exp: Remove redundant
21706 space from the regexp pattern.
21707
70017e41
YQ
217082014-06-04 Yao Qi <yao@codesourcery.com>
21709
21710 * gdb.base/default.exp: Replace "child" with "native" in
21711 regexp pattern.
21712
883964a7
SC
217132014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21714
21715 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21716 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21717 * gdb.python/py-xmethods.py: Python script supporting the
21718 new testcase and tests.
21719
ef370185
JB
217202014-06-03 Joel Brobecker <brobecker@adacore.com>
21721 Pedro Alves <palves@redhat.com>
21722
21723 PR breakpoints/17000
21724 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21725 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21726
1e2ccb61
BM
217272014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21728
21729 * gdb.base/subst.exp: Add tests to verify partial path matching
21730 output.
21731
c6ec5ab2
PA
217322014-06-03 Pedro Alves <palves@redhat.com>
21733
21734 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21735 target that doesn't use software single-stepping.
21736
835c559f
PA
217372014-06-03 Pedro Alves <palves@redhat.com>
21738
21739 PR breakpoints/17000
21740 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21741 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21742
06eb1586
DE
217432014-06-02 Doug Evans <xdje42@gmail.com>
21744
21745 * gdb.guile/scm-parameter.exp: New file.
21746
e698b8c4
DE
217472014-06-02 Doug Evans <xdje42@gmail.com>
21748
21749 * gdb.guile/scm-cmd.c: New file.
21750 * gdb.guile/scm-cmd.exp: New file.
21751
ded03782
DE
217522014-06-02 Doug Evans <xdje42@gmail.com>
21753
21754 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21755 pretty-printer lookup.
21756 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21757 (make-pp_s-printer): Call it.
21758 (make-pretty-printer-from-dict): New function.
21759 (lookup-pretty-printer-maker-from-dict): New function.
21760 (*pretty-printer*): Simplify.
21761 (make-objfile-pp_s-printer): New function.
21762 (install-objfile-pretty-printers!): New function.
21763 (make-progspace-pp_s-printer): New function.
21764 (install-progspace-pretty-printers!): New function.
21765 * gdb.guile/scm-progspace.c: New file.
21766 * gdb.guile/scm-progspace.exp: New file.
21767
41fac0cf
PA
217682014-06-02 Pedro Alves <palves@redhat.com>
21769
21770 * gdb.base/dprintf-bp-same-addr.c: New file.
21771 * gdb.base/dprintf-bp-same-addr.exp: New file.
21772
96ae5695
EBM
217732014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21774
21775 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21776 * gdb.arch/powerpc-power.s: Likewise.
21777
da02b3a8
JB
217782014-06-02 Joel Brobecker <brobecker@adacore.com>
21779
21780 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21781
c72b2e7b
YQ
217822014-06-01 Yao Qi <yao@codesourcery.com>
21783
21784 * gdb.base/watchpoint.exp (test_watch_location): Check null
21785 pointer can be dereferenced. If not, do the test, otherwise
21786 skip it.
21787
53e8a631
AB
217882014-05-30 Andrew Burgess <aburgess@broadcom.com>
21789
21790 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21791 results.
21792 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21793
938f0e2f
AB
217942014-05-30 Andrew Burgess <aburgess@broadcom.com>
21795
21796 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21797 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21798 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21799 * gdb.arch/amd64-invalid-stack-top.c: New file.
21800 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21801
9ba6657a
PA
218022014-05-30 Pedro Alves <palves@redhat.com>
21803
21804 PR breakpoints/17000
21805 * gdb.base/sss-bp-on-user-bp.c: New file.
21806 * gdb.base/sss-bp-on-user-bp.exp: New file.
21807
522c09bf
DB
218082014-05-30 David Blaikie <dblaikie@gmail.com>
21809
21810 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21811 gnu_inline semantics via attribute.
21812 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21813 source explicitly specifies the required semantics.
21814
bf4ef81e
MR
218152014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21816
21817 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21818
329ea579
PA
218192014-05-29 Pedro Alves <palves@redhat.com>
21820 Tom Tromey <tromey@redhat.com>
21821
21822 * gdb.base/async-shell.exp: Don't enable target-async.
21823 * gdb.base/async.exp
21824 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21825 parameter. Adjust.
21826 (top level): Don't test with "target-async".
21827 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21828 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21829 * gdb.base/inferior-died.exp: Don't enable target-async.
21830 * gdb.base/interrupt-noterm.exp: Likewise.
21831 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21832 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21833 * gdb.mi/mi-nonstop.exp: Likewise.
21834 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21835 * gdb.mi/mi-nsintrall.exp: Likewise.
21836 * gdb.mi/mi-nsmoribund.exp: Likewise.
21837 * gdb.mi/mi-nsthrexec.exp: Likewise.
21838 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21839 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21840 * gdb.python/py-evsignal.exp: Don't enable target-async.
21841 * gdb.python/py-evthreads.exp: Likewise.
21842 * gdb.python/py-prompt.exp: Likewise.
21843 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21844 * gdb.server/solib-list.exp: Don't enable target-async.
21845 * gdb.threads/thread-specific-bp.exp: Likewise.
21846 * lib/mi-support.exp: Adjust to use mi-async.
21847
fd664c91
PA
218482014-05-29 Pedro Alves <palves@redhat.com>
21849
21850 PR gdb/13860
21851 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21852 reason, even in sync mode.
21853
251bde03
PA
218542014-05-29 Pedro Alves <palves@redhat.com>
21855 Hui Zhu <hui@codesourcery.com>
21856
21857 PR PR15693
21858 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21859 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21860 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21861 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21862
7f3c0343
JB
218632014-05-28 Joel Brobecker <brobecker@adacore.com>
21864
21865 * config/monitor.exp (gdb_target_monitor): Replace use of
21866 "set remotebaud" by "set serial baud".
21867
b2715b27
AW
218682014-05-26 Andy Wingo <wingo@igalia.com>
21869
21870 * gdb.guile/scm-breakpoint.exp:
21871 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21872 properties instead of gdb-object-properties.
21873
498a4489
YQ
218742014-05-26 Yao Qi <yao@codesourcery.com>
21875
21876 * gdb.server/no-thread-db.exp: Specify source file name
21877 explicitly when setting a breakpoint.
21878
589fdceb
MM
218792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21880
21881 * gdb.btrace/vdso.c: New.
21882 * gdb.btrace/vdso.exp: New.
21883
e9089e05
MM
218842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21885
21886 * gdb.base/gcore.exp (capture_command_output): Move ...
21887 * lib/gdb.exp (capture_command_output): ... here.
21888
67b5c0c1
MM
218892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21890
21891 * gdb.btrace/data.exp: Test memory access during btrace replay.
21892
a2199296
SM
218932014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21894
21895 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21896
17b2616c
PA
218972014-05-21 Pedro Alves <palves@redhat.com>
21898
21899 PR gdb/13860
21900 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21901 (top level): Test that output related to execution commands is
21902 sent to the console with CLI commands, but not with MI commands.
21903 Test that breakpoint events are always mirrored to the console.
21904 Also expect the new source line to be output after a "next" in
21905 async mode too. Make it a pass/fail test.
21906 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21907 output.
21908 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21909
5166082f
PA
219102014-05-21 Pedro Alves <palves@redhat.com>
21911
21912 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21913 Use them to test variations of "list" after reaching a breakpoint.
21914 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21915 Test "list" with listsize 10 after reaching a breakpoint.
21916 * gdb.python/python.exp (decode_line current location line
21917 number): Adjust expected line number.
21918
2f25d70f
SM
219192014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21920
21921 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21922 behavior for $args, pass it directly to "run".
21923
ff604a67
MR
219242014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21925
21926 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21927 30000 to 65536.
21928
6a3cb8e8
PA
219292014-05-21 Pedro Alves <palves@redhat.com>
21930
21931 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21932 auto-connect-native-target off".
21933 * gdb.base/auto-connect-native-target.c: New file.
21934 * gdb.base/auto-connect-native-target.exp: New file.
21935
4ebfc96e
PA
219362014-05-21 Pedro Alves <palves@redhat.com>
21937
21938 * gdb.base/default.exp: Test "target native" instead of "target
21939 child".
21940
36d46afb
MW
219412014-05-21 Mark Wielaard <mjw@redhat.com>
21942
21943 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21944
5876f503
JK
219452014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21946
21947 Fix TLS access for -static -pthread.
21948 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21949 <HAVE_TLS> (thread_function, main): Initialize it.
21950 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21951 Add clean_restart.
21952 <$have_tls != "">: Check TLSVAR.
21953
0256a6ac
PA
219542014-05-21 Pedro Alves <palves@redhat.com>
21955
21956 * gdb.base/dcache-line-read-error.c: New.
21957 * gdb.base/dcache-line-read-error.exp: New.
21958
936d2992
PA
219592014-05-20 Pedro Alves <palves@redhat.com>
21960
21961 * gdb.base/compare-sections.c: New file.
21962 * gdb.base/compare-sections.exp: New file.
21963
802e8e6d
PA
219642014-05-20 Pedro Alves <palves@redhat.com>
21965
21966 * gdb.base/break-idempotent.c: New file.
21967 * gdb.base/break-idempotent.exp: New file.
21968
e59fa00f
MM
219692014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21970
21971 * gdb.btrace/nohist.exp: New.
21972
8b696e31
YQ
219732014-05-20 Yao Qi <yao@codesourcery.com>
21974
21975 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21976 gdb.reverse directory and gdb_reverse_timeout exists in board
21977 setting.
21978 * README: Document gdb_reverse_timeout.
21979
73c9764f
YQ
219802014-05-20 Yao Qi <yao@codesourcery.com>
21981
21982 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21983 'test_file_name'. Treat args as a string instead of a list.
21984 (gdb_init): Rename argument 'args' by 'test_file_name'.
21985
f1f4348a
JK
219862014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21987
21988 * gdb.arch/powerpc-power.exp: New file.
21989 * gdb.arch/powerpc-power.s: New file.
21990
0dbe70ce
DE
219912014-05-16 Doug Evans <dje@google.com>
21992
21993 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21994 * gdb.base/completion.exp: Check that all expected files exist
21995 before doing file completion.
0dbe70ce 21996
8d551b02
DE
219972014-05-16 Doug Evans <dje@google.com>
21998
21999 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22000 Update.
22001 (do_syscall_tests_without_xml): Update.
22002
73eb7709
PA
220032014-05-16 Pedro Alves <palves@redhat.com>
22004
22005 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22006 instead of "unknown output after running".
22007
3fae92fc
YQ
220082014-05-16 Yao Qi <yao@codesourcery.com>
22009
22010 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22011 file1.txt from host at the end.
22012 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22013
c2b2ccc5
DE
220142014-05-15 Doug Evans <dje@google.com>
22015
22016 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22017 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22018 loading file. Add test for TU lookup.
22019
8c217a4b
SM
220202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22021
22022 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22023 calling "-exec-arguments" or "set args" before running the
22024 inferior.
22025
3deb39c6
SM
220262014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22027
22028 * lib/mi-support.exp (mi_expect_stop): Expect message for
22029 inferiors that exit with non-zero exit code.
22030
71a79f8c
YQ
220312014-05-14 Yao Qi <yao@codesourcery.com>
22032
22033 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22034 match absolute path on remote host.
22035 (test_file_list_exec_source_files): Remove "/" from the
22036 pattern.
22037
f23fcd46
YQ
220382014-05-14 Yao Qi <yao@codesourcery.com>
22039
22040 * boards/local-remote-host-notty.exp (${board}_file): New
22041 proc.
22042
9404b58f
KM
220432014-05-07 Kyle McMartin <kyle@redhat.com>
22044
22045 Pushed by Joel Brobecker <brobecker@adacore.com>.
22046 * gdb.arch/aarch64-atomic-inst.c: New file.
22047 * gdb.arch/aarch64-atomic-inst.exp: New file.
22048
5e45f04c
YQ
220492014-05-07 Yao Qi <yao@codesourcery.com>
22050
22051 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22052 in current context" too.
22053
c888a17d
KS
220542014-05-05 Keith Seitz <keiths@redhat.com>
22055
22056 * gdb.linespec/ls-dollar.exp: Add test for linespec
22057 file:convenience_variable.
22058
290a839c
YQ
220592014-05-05 Yao Qi <yao@codesourcery.com>
22060
22061 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22062 traceframes into tfile and ctf trace files. Read data from
22063 trace file and test collected data.
22064 (gdb_collect_locals_test): Likewise.
22065 (gdb_unavailable_registers_test): Likewise.
22066 (gdb_unavailable_floats): Likewise.
22067 (gdb_collect_globals_test): Likewise.
22068 (top-level): Append "ctf" to trace_file_targets if GDB
22069 supports.
22070
b5262cd0
YQ
220712014-05-05 Yao Qi <yao@codesourcery.com>
22072
22073 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22074 code to ...
22075 (gdb_collect_args_test_1): ... it. New proc.
22076 (gdb_collect_locals_test): Move some code to ...
22077 (gdb_collect_locals_test_1): ... it. New proc.
22078 (gdb_unavailable_registers_test): Move some code to ...
22079 (gdb_unavailable_registers_test_1): ... it. New proc.
22080 (gdb_unavailable_floats): Move some code to ...
22081 (gdb_unavailable_floats_1): ... it. New proc.
22082
30a1e6cc
SDJ
220832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22084
22085 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22086 probes to test for bitness recognition.
22087 * gdb.arch/amd64-stap-optional-prefix.exp
22088 (test_probe_value_without_reg): New procedure.
22089 Add code to test for different kinds of bitness.
22090
f33da99a
SDJ
220912014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22092
22093 PR breakpoints/16889
22094 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22095 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22096
5b80f00d
PA
220972014-05-01 Pedro Alves <palves@redhat.com>
22098
22099 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22100 gdb_file_cmd if no file is specified.
22101 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22102 last_loaded_file to set the remote exec-file.
22103
f8c2a73c
PA
221042014-05-01 Pedro Alves <palves@redhat.com>
22105
22106 * boards/local-remote-host.exp: New file.
22107
be6e8ac7
PA
221082014-05-01 Pedro Alves <palves@redhat.com>
22109
22110 * boards/local-remote-host.exp: Rename to ...
22111 * boards/local-remote-host-notty.exp: ... this.
22112
cac0dc8f
JB
221132014-04-28 Joel Brobecker <brobecker@adacore.com>
22114
22115 * gdb.ada/dyn_arrayidx: New testcase.
22116
9730e6cc
YQ
221172014-04-26 Yao Qi <yao@codesourcery.com>
22118
22119 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22120 and compute the length of function main. Save it in
22121 $main_length.
22122 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22123 (top-level): Use gdb_compile to compile objects into
22124 executable and restart GDB. Remove invocation to
22125 prepare_for_testing.
22126
7ae1a6a6
PA
221272014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22128 Pedro Alves <palves@redhat.com>
22129
22130 PR server/16255
22131 * gdb.multi/multi-attach.c: New file.
22132 * gdb.multi/multi-attach.exp: New file.
22133
4082afcc
PA
221342014-04-25 Pedro Alves <palves@redhat.com>
22135
22136 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22137 user.
22138 (top level): Test that "set remote conditional-breakpoints-packet
22139 off" works as intended.
22140 * gdb.base/dprintf.exp: Test that "set remote
22141 breakpoint-commands-packet off" works as intended.
22142 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22143 New function.
22144 (top level): Call it.
22145 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22146 remote fast-tracepoints-packet off" works as intended.
22147 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22148 * lib/gdb.exp (gdb_is_target_remote): ... here.
22149
2abc3f8d
DB
221502014-04-24 David Blaikie <dblaikie@gmail.com>
22151
22152 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22153 ensure clang would not discard them.
22154 * gdb.base/gdbvars.c: Ditto.
22155 * gdb.base/memattr.c: Ditto.
22156 * gdb.base/whatis.c: Ditto.
22157 * gdb.python/py-prettyprint.c: Ditto.
22158 * gdb.trace/actions.c: Ditto.
22159 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22160 ensure clang would not discard it.
22161
bfd39632
DB
221622014-04-24 David Blaikie <dblaikie@gmail.com>
22163
22164 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22165 clang to emit the full definition of type required by the test
22166 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22167
22842ff6
DB
221682014-04-24 David Blaikie <dblaikie@gmail.com>
22169
22170 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22171 coax Clang into emitting the definition of the type.
22172 * gdb.cp/pr10728-x.h (y): Ditto.
22173 * gdb.cp/pr10728-y.cc (y): Ditto.
22174
c2e827ad
DB
221752014-04-24 David Blaikie <dblaikie@gmail.com>
22176
22177 * gdb.base/label.exp: XFAIL label related tests under Clang.
22178 * gdb.cp/cplabel.exp: Ditto.
22179 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22180 under Clang those using labels.
22181
4c2d33e7
YQ
221822014-04-25 Yao Qi <yao@codesourcery.com>
22183
22184 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22185 double_label.
22186 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22187 partial_label and double_label.
22188
56083b99
DB
221892014-04-24 David Blaikie <dblaikie@gmail.com>
22190
22191 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22192
25d4e99d
DB
221932014-04-24 David Blaikie <dblaikie@gmail.com>
22194
22195 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22196 of the function to work across GCC and Clang.
22197 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22198 pointer types (const void ** const V void **).
22199
01f9f808
MS
222002014-04-24 Michael Sturm <michael.sturm@mintel.com>
22201 Walfred Tedeschi <walfred.tedeschi@intel.com>
22202
22203 * Makefile.in (EXECUTABLES): Added i386-avx512.
22204 * gdb.arch/i386-avx512.c: New file.
22205 * gdb.arch/i386-avx512.exp: Likewise.
22206
4b48d439
KS
222072014-04-23 Keith Seitz <keiths@redhat.com>
22208
22209 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22210 (mi_make_breakpoint_table): New procedure.
22211 (mi_create_breakpoint): Use mi_make_breakpoint
22212 and return the result.
22213 (mi_make_breakpoint): New procedure.
22214 (mi_build_kv_pairs): New procedure.
22215
22216 * gdb.mi/mi-break.exp: Remove unused globals,
22217 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22218 All callers updated.
22219 * gdb.mi/mi-dprintf.exp: Use variable to track command
22220 number.
22221 Update all callers of mi_create_breakpoint and use
22222 mi_make_breakpoint_table.
22223 Remove any unused global variables.
22224 * gdb.mi/mi-nonstop.exp: Likewise.
22225 * gdb.mi/mi-nsintrall.exp: Likewise.
22226 * gdb.mi/mi-nsmoribund.exp: Likewise.
22227 * gdb.mi/mi-nsthrexec.exp: Likewise.
22228 * gdb.mi/mi-reverse.exp: Likewise.
22229 * gdb.mi/mi-simplerun.exp: Likewise.
22230 * gdb.mi/mi-stepn.exp: Likewise.
22231 * gdb.mi/mi-syn-frame.exp: Likewise.
22232 * gdb.mi/mi-until.exp: Likewise.
22233 * gdb.mi/mi-var-cp.exp: Likewise.
22234 * gdb.mi/mi-var-display.exp: Likewise.
22235 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22236 * gdb.mi/mi2-var-child.exp: Likewise.
22237 * gdb.mi/mi-vla-c99.exp: Likewise.
22238 * lib/mi-support.exp: Likewise.
22239
22240 From Ian Lance Taylor <iant@cygnus.com>:
22241 * lib/gdb.exp (parse_args): New procedure.
22242
08351840
PA
222432014-04-23 Pedro Alves <palves@redhat.com>
22244
22245 * gdb.base/break-unload-file.c: New file.
22246 * gdb.base/break-unload-file.exp: New file.
22247 * gdb.base/sym-file-lib.c (baz): New function.
22248 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22249 field.
22250 (load): Store the segment's mapped size.
22251 (unload): New function.
22252 (unload_shlib): New function.
22253 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22254 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22255 set a breakpoint at baz, and call it.
22256 * gdb.base/sym-file.exp: New tests for stale breakpoint
22257 instructions.
22258
076855f9
PA
222592014-04-23 Pedro Alves <palves@redhat.com>
22260
22261 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22262 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22263 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22264 * gdb.base/hbreak-unmapped.c: New file.
22265 * gdb.base/hbreak-unmapped.exp: New file.
22266 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22267 * lib/gdb.exp (gdb_is_target_remote): ... here.
22268
483805cf
PA
222692014-04-22 Pedro Alves <palves@redhat.com>
22270
22271 * gdb.base/consecutive-step-over.c: New file.
22272 * gdb.base/consecutive-step-over.exp: New file.
22273
06d97543
PA
222742014-04-22 Pedro Alves <palves@redhat.com>
22275
22276 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22277 instead of send_gdb/gdb_expect.
22278
b4429ea2
YQ
222792014-04-22 Yao Qi <yao@codesourcery.com>
22280
22281 * lib/trace-support.exp (generate_tracefile): New procedure.
22282 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22283 return 0.
22284 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22285 if generate_tracefile returns 1.
22286
51d48146
PA
222872014-04-18 Tom Tromey <palves@redhat.com>
22288 Pedro alves <tromey@redhat.com>
22289
22290 PR backtrace/15558
22291 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22292 with a backtrace limit.
22293 * gdb.python/py-frame-inline.exp: Test running to an inline
22294 function with a backtrace limit, and printing the newest frame.
22295 * gdb.python/py-frame-inline.c (main): Call f.
22296
bd1dce5f
MS
222972014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22298
22299 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22300
40d1a503
MS
223012014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22302
22303 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22304 Drop prefix from unsupported source file path.
22305
389b98f7
YQ
223062014-04-17 Yao Qi <yao@codesourcery.com>
22307
22308 * lib/gdb.exp (with_target_charset): New proc.
22309 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22310 with_target_charset.
22311 (test_print_strings): Likewise.
22312 (test_repeat_bytes): Likewise.
22313 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22314 for some tests.
22315
22869d73
KS
223162014-04-16 Keith Seitz <keiths@redhat.com>
22317
22318 PR gdb/15827
22319 * gdb.dwarf2/corrupt.c: New file.
22320 * gdb.dwarf2/corrupt.exp: New file.
22321
c4f87ca6
KS
223222014-04-16 Keith Seitz <keiths@redhat.com>
22323
22324 PR c++/16597
22325 * gdb.cp/namelessclass.cc: New file.
22326 * gdb.cp/namelessclass.exp: New file.
22327 * gdb.cp/namelessclass.S: New file.
22328
ab19de87
DE
223292014-04-16 Doug Evans <dje@google.com>
22330
22331 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22332 Add comment.
22333 (gdbserver_default_get_comm_port): New function.
22334 (gdbserver_start): Check if board file provided
22335 "gdbserver,get_comm_port" and use it if so.
22336 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22337 (gdb,socketport): Set to "stdio".
22338 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22339 (stdio_gdbserver_template): Delete.
22340 (${board}_get_remote_address): Update.
22341 (${board}_build_remote_cmd): Delete.
22342 (${board}_get_comm_port): New function.
22343 (${board}_spawn): Update.
22344 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22345 Delete.
22346 (${board}_get_remote_address): Update.
22347 (${board}_get_comm_port): New function.
22348
fc98a809
AB
223492014-04-16 Andrew Burgess <aburgess@broadcom.com>
22350
22351 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22352 appearing in any order.
22353
87fd9e6e
DE
223542014-04-15 Doug Evans <dje@google.com>
22355
22356 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22357 uninitialized value of "description".
22358
099fc3ea
KS
223592014-04-15 Keith Seitz <keiths@redhat.com>
22360
22361 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22362 Remove unused globals.
22363 (test_running_the_program): Likewise.
22364 (test_controlled_execution): Likewise.
22365 (test_controlling_breakpoints): Likewise.
22366 (test_program_termination): Likewise.
22367
5da151d4
KS
223682014-04-15 Keith Seitz <keiths@redhat.com>
22369
22370 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22371 unused globals.
22372 (test_rbreak_creation_and_listing): Likewise.
22373 (test_ignore_count): Likewise.
22374 (test_error): Likewise.
22375
35e5d2f0
PA
223762014-04-15 Pedro Alves <palves@redhat.com>
22377
22378 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22379 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22380 sym-file-loader.c.
22381 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22382 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22383 to sym-file-loader.c.
22384 (struct library): Forward declare.
22385 (load_shlib, lookup_function): Change prototypes.
22386 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22387 (translate_offset): Remove declarations.
22388 (get_text_addr): New declaration.
22389 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22390 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22391 sym-file-loader.h.
22392 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22393 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22394 here from sym-file-loader.h.
22395 (struct library): New structure.
22396 (load_shlib, lookup_function): Change prototypes and adjust to
22397 work with a struct library.
22398 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22399 (translate_offset): Make static.
22400 (get_text_addr): New function.
22401 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22402
eb4c1710
PA
224032014-04-15 Pedro Alves <palves@redhat.com>
22404
22405 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22406
2d1baf52
PA
224072014-04-15 Pedro Alves <palves@redhat.com>
22408
22409 * gdb.base/sym-file-loader.c: Include <limits.h>.
22410 (SELF_LINK): New define.
22411 (get_origin): New function.
22412 (load_shlib): Use it.
22413 * gdb.base/sym-file.exp: Don't early return if the target is
22414 remote. Use runto_main, and issue fail is that fails. Use
22415 gdb_load_shlibs.
22416 (shlib_name): Delete.
22417 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22418
7dd6df01
PA
224192014-04-15 Pedro Alves <palves@redhat.com>
22420
22421 * gdb.base/sym-file.exp: Remove regex characters from test
22422 message. Don't refer to breakpoint numbers in test messages.
22423
b50c8614
KS
224242014-04-14 Keith Seitz <keiths@redhat.com>
22425
22426 PR c++/16253
22427 * gdb.cp/var-tag.cc: New file.
22428 * gdb.cp/var-tag.exp: New file.
22429 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22430 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22431 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22432 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22433
3d567982
TT
224342014-04-14 Tom Tromey <tromey@redhat.com>
22435
22436 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22437 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22438 type.
22439 * gdb.cp/enum-class.exp: New file.
22440 * gdb.cp/enum-class.cc: New file.
22441
0626fc76
TT
224422014-04-14 Tom Tromey <tromey@redhat.com>
22443
22444 * gdb.dwarf2/enum-type.exp: New file.
22445
dca325b3
SA
224462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22447
22448 * gdb.mi/mi-vla-c99.exp: New file.
22449 * gdb.mi/vla.c: New file.
22450
5854b38a
SA
224512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22452
22453 * gdb.base/vla-datatypes.c: New file.
22454 * gdb.base/vla-datatypes.exp: New file.
22455
463bb957
SA
224562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22457
22458 * gdb.base/vla-ptr.c: New file.
22459 * gdb.base/vla-ptr.exp: New file.
22460
3dd170be
SA
224612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22462
22463 * gdb.dwarf2/count.exp: New file.
22464
5ecaaa66
SA
224652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22466
22467 * gdb.base/vla-sideeffect.c: New file.
22468 * gdb.base/vla-sideeffect.exp: New file.
22469
41f1ada5
DB
224702014-04-14 David Blaikie <dblaikie@gmail.com>
22471
22472 * gdb.mi/non-stop.c: Add return value for non-void function return
22473 statement.
22474 * gdb.threads/staticthreads.c: Ditto.
22475
0be03e84
DE
224762014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22477 Doug Evans <xdje42@gmail.com>
22478
22479 * gdb.guile/scm-value.c: Improve test case.
22480 * gdb.guile/scm-value.exp: Add new test.
22481
f180a1fb
DB
224822014-04-11 David Blaikie <dblaikie@gmail.com>
22483
22484 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22485 override Clang's default.
22486
6b662e19
JB
224872014-04-11 Joel Brobecker <brobecker@adacore.com>
22488
22489 Revert the following changes (regressions):
22490
22491 * gdb.base/vla-sideeffect.c: New file.
22492 * gdb.base/vla-sideeffect.exp: New file.
22493
22494 * gdb.dwarf2/count.exp: New file.
22495
22496 * gdb.base/vla-multi.c: New file.
22497 * gdb.base/vla-multi.exp: New file.
22498
22499 * gdb.base/vla-ptr.c: New file.
22500 * gdb.base/vla-ptr.exp: New file.
22501
22502 * gdb.base/vla-datatypes.c: New file.
22503 * gdb.base/vla-datatypes.exp: New file.
22504
22505 * gdb.mi/mi-vla-c99.exp: New file.
22506 * gdb.mi/vla.c: New file.
22507
245a5f0b
KS
225082014-04-11 Keith Seitz <keiths@redhat.com>
22509
22510 PR c++/16675
22511 * gdb.cp/cpsizeof.exp: New file.
22512 * gdb.cp/cpsizeof.cc: New file.
22513
58a84dcf
SA
225142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22515
191a8a90
JB
22516 * gdb.mi/mi-vla-c99.exp: New file.
22517 * gdb.mi/vla.c: New file.
58a84dcf 22518
c8655f75
SA
225192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22520
22521 * gdb.base/vla-datatypes.c: New file.
22522 * gdb.base/vla-datatypes.exp: New file.
22523
024e13b4
SA
225242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22525
22526 * gdb.base/vla-ptr.c: New file.
22527 * gdb.base/vla-ptr.exp: New file.
22528
1a237e0e
SA
225292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22530
22531 * gdb.base/vla-multi.c: New file.
22532 * gdb.base/vla-multi.exp: New file.
22533
504f3432
SA
225342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22535
22536 * gdb.dwarf2/count.exp: New file.
22537
3bce8237
SA
225382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22539
191a8a90
JB
22540 * gdb.base/vla-sideeffect.c: New file.
22541 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22542
322f9c21
YQ
225432014-04-11 Yao Qi <yao@codesourcery.com>
22544
22545 * gdb.base/completion.exp: Check file exists before running tests
22546 on file completion.
22547
d708bcd1
PA
225482014-04-10 Pedro Alves <palves@redhat.com>
22549
22550 * gdb.base/cond-eval-mode.c: New file.
22551 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22552 prepare_for_testing to build the new file. Check result of
22553 runto_main.
22554 (test_break, test_watch): New procedures.
22555 (top level): Use them.
22556
ae1d2761
PM
225572014-04-08 Pierre Muller <muller@sourceware.org>
22558
22559 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22560 Ctrl-V use for mingw hosts.
22561
7af389b8
SC
225622014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22563
22564 * gdb.python/py-value.c: Improve test case.
22565 * gdb.python/py-value.exp: Add new test.
22566
5e703181
DE
225672014-04-07 David Blaikie <dblaikie@gmail.com>
22568
22569 * lib/compiler.c: Identify the clang compiler.
22570 * lib/compiler.cc: Ditto.
22571
9810b410
YQ
225722014-04-03 Yao Qi <yao@codesourcery.com>
22573
22574 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22575
98d1b8dc
AB
225762014-04-01 Anton Blanchard <anton@samba.org>
22577
22578 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22579 messages unique.
22580
3114cea1
AB
225812014-04-01 Anton Blanchard <anton@samba.org>
22582
22583 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22584 prepare_for_testing.
22585
62f7182c
AB
225862014-04-01 Anton Blanchard <anton@samba.org>
22587
22588 * gdb.arch/ppc64-atomic-inst.c: Remove.
22589 * gdb.arch/ppc64-atomic-inst.S: New file.
22590 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22591
770e7fc7
DE
225922014-03-31 Doug Evans <dje@google.com>
22593
22594 * gdb.base/print-symbol-loading-lib.c: New file.
22595 * gdb.base/print-symbol-loading-main.c: New file.
22596 * gdb.base/print-symbol-loading.exp: New file.
22597
46e2bafa
YQ
225982014-03-31 Yao Qi <yao@codesourcery.com>
22599
22600 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22601
8776cfe9
JB
226022014-03-28 Joel Brobecker <brobecker@adacore.com>
22603
22604 * gdb.ada/mi_dyn_arr: New testcase.
22605
5d1ef361
DE
226062014-03-27 Doug Evans <dje@google.com>
22607
22608 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22609
b5bee914
YQ
226102014-03-27 Yao Qi <yao@codesourcery.com>
22611
22612 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22613 if target is nios2-*-*.
22614
0d4d0e77
YQ
226152014-03-26 Yao Qi <yao@codesourcery.com>
22616
22617 * lib/gdb.exp (readline_is_used): New proc.
22618 * gdb.base/completion.exp: Move tests on command complete up.
22619 Skip the rest of tests if readline is not used.
22620 * gdb.ada/complete.exp: Skp the test if readline is not
22621 used.
22622 * gdb.base/filesym.exp: Likewise.
22623 * gdb.base/macscp.exp: Likewise.
22624 * gdb.base/readline-ask.exp: Likewise.
22625 * gdb.base/readline.exp: Likewise.
22626 * gdb.python/py-cmd.exp: Likewise.
22627 * gdb.trace/tfile.exp: Likewise.
22628
29361eee
YQ
226292014-03-26 Yao Qi <yao@codesourcery.com>
22630
22631 * gdb.base/macscp.exp: Fix code format issues.
22632
bc9a5525
UW
226332014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22634
22635 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22636 * gdb.asm/powerpc64le.inc: New file.
22637
d3839ede
PA
226382014-03-25 Pedro Alves <palves@redhat.com>
22639 Doug Evans <dje@google.com>
22640
22641 * gdb.base/source-execution.c: New file.
22642 * gdb.base/source-execution.exp: New file.
22643 * gdb.base/source-execution.gdb: New file.
22644
01672a57
DE
226452014-03-24 Doug Evans <dje@google.com>
22646
22647 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22648 using fission.
22649
88bbeca9
HZ
226502014-03-24 Hui Zhu <hui@codesourcery.com>
22651 Pedro Alves <palves@redhat.com>
22652
22653 PR breakpoints/16101
22654 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22655 test pass/fail messages. Detect missing support for dprintf when
22656 breakpoints are actually inserted.
22657 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22658 breakpoints are actually inserted.
22659 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22660 fails.
22661
d2348791
JK
226622014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22663
22664 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22665
feef67ab
DE
226662014-03-22 Doug Evans <xdje42@gmail.com>
22667
22668 * gdb.python/python.exp (python not supported): Verify multi-line
22669 python command issues an error.
25d743f9 22670 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22671 guile command issues an error.
feef67ab 22672
ecebef6a
MR
226732014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22674
22675 * gdb.threads/thread-specific.exp: Handle the lack of usable
22676 $this_breakpoint and $this_thread.
22677
ccdd1909
HZ
226782014-03-21 Hui Zhu <hui@codesourcery.com>
22679
22680 * gdb.base/attach.exp (do_command_attach_tests): New.
22681
beb460e8
PA
226822014-03-20 Tom Tromey <tromey@redhat.com>
22683 Pedro Alves <palves@redhat.com>
22684
22685 PR cli/15718
22686 * gdb.base/condbreak-call-false.c: New file.
22687 * gdb.base/condbreak-call-false.exp: New file.
22688
40acf43a
PA
226892014-03-20 Pedro Alves <palves@redhat.com>
22690
22691 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22692 Delete.
22693 (block_signals, unblock_signals): Delete.
22694 (child_function_2, main): Remove references to deleted variable
22695 and functions.
22696
9f5e1e02
PA
226972014-03-20 Pedro Alves <palves@redhat.com>
22698
22699 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22700 Use pthread_kill to signal thread 2.
22701 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22702 Adjust to make the test send itself a signal rather than using the
22703 host's "kill" command.
22704
99619bea
PA
227052014-03-20 Pedro Alves <palves@redhat.com>
22706
22707 * gdb.threads/multiple-step-overs.c: New file.
22708 * gdb.threads/multiple-step-overs.exp: New file.
22709 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22710 Adjust expected infrun debug output.
22711
2adfaa28
PA
227122014-03-20 Pedro Alves <palves@redhat.com>
22713
22714 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22715 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22716
31e77af2
PA
227172014-03-20 Pedro Alves <palves@redhat.com>
22718
22719 PR breakpoints/7143
22720 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22721 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22722 of gdb_test_multiple.
22723 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22724 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22725
b9f437de
PA
227262014-03-20 Pedro Alves <palves@redhat.com>
22727
22728 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22729 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22730
05adc73e
PA
227312014-03-19 Pedro Alves <palves@redhat.com>
22732
22733 * gdb.base/async.exp: Remove early return.
22734
6048b950
PA
227352014-03-19 Pedro Alves <palves@redhat.com>
22736
22737 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22738
8bcfb00a
PA
227392014-03-19 Pedro Alves <palves@redhat.com>
22740
22741 * gdb.base/async.exp (test_background): Expect \r\n after
22742 "completed." in the fail pattern.
22743
884e37dc
PA
227442014-03-19 Pedro Alves <palves@redhat.com>
22745
22746 * gdb.base/async.exp (test_background): New procedure.
22747 Use it for all background execution command tests.
22748
148e57e2
PA
227492014-03-19 Pedro Alves <palves@redhat.com>
22750
22751 * gdb.base/async.exp: Use prepare_for_testing.
22752
f48088c7
PA
227532014-03-19 Pedro Alves <palves@redhat.com>
22754
22755 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22756 the same line.
22757
e2f6c966
PA
227582014-03-19 Pedro Alves <palves@redhat.com>
22759
22760 * gdb.base/async.c (main): Add "jump here" and "until here" line
22761 marker comments.
22762 * gdb.base/async.exp (jump_here): New global.
22763 (jump& test): Use it.
22764 (until_here): New global.
22765 (until& test): Use it.
22766
c30568d4
PA
227672014-03-19 Pedro Alves <palves@redhat.com>
22768
22769 * gdb.base/async.exp: Don't frob gdb_protocol.
22770
0172b6a7
DE
227712014-03-18 Doug Evans <xdje42@gmail.com>
22772
22773 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22774 Fix spelling of exec-done-display.
22775
06c868a8
JK
227762014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22777
22778 PR gdb/15358
22779 * gdb.base/gdb-sigterm.c: New file.
22780 * gdb.base/gdb-sigterm.exp: New file.
22781
0c7e1a46
PA
227822014-03-18 Pedro Alves <palves@redhat.com>
22783
22784 PR gdb/13860
22785 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22786 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22787 solib-event.
22788
f7c77d93
JB
227892014-03-17 Joel Brobecker <brobecker@adacore.com>
22790
22791 * gdb.ada/pckd_arr_ren: New testcase.
22792
5a1e8c7a
DE
227932014-03-13 Doug Evans <xdje42@gmail.com>
22794
22795 PR guile/16612
22796 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22797 collect after discarding symbols.
22798
350e1a76
DE
227992014-03-13 Ludovic Courtès <ludo@gnu.org>
22800 Doug Evans <xdje42@gmail.com>
22801
22802 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22803 to history survives a gc.
22804
a69900ae
PA
228052014-03-13 Pedro Alves <palves@redhat.com>
22806
22807 * gdb.base/default.exp: Don't test "target procfs".
22808
5db9f0bd
PA
228092014-03-13 Pedro Alves <palves@redhat.com>
22810
22811 * gdb.base/default.exp: Update "target child" and "target procfs"
22812 tests to not expect "Unix".
22813
b3ccfe11
TT
228142014-03-12 Tom Tromey <tromey@redhat.com>
22815
22816 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22817 New procs. Add target-async tests.
22818 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22819 Add target-async tests.
22820
646f4417
AA
228212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22822
22823 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22824 'func_start' and 'func_end' for the beginning and end of the
22825 function code, respectively.
22826 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22827 'func_end' instead of 'func' and 'main'.
22828
288c211f
AA
228292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22830
22831 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22832 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22833 generate the debug info assembler source.
22834
e0c0f156
AA
228352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22836
22837 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22838 * gdb.dwarf2/arr-subrange.exp: Likewise.
22839 * gdb.dwarf2/dwz.exp: Likewise.
22840 * gdb.dwarf2/method-ptr.exp: Likewise.
22841 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22842 * gdb.dwarf2/subrange.exp: Likewise.
22843 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22844 * gdb.dwarf2/implptrpiece.exp: Likewise.
22845 * gdb.dwarf2/nostaticblock.exp: Likewise.
22846
0e5c4555
AA
228472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22848
22849 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22850 directory to absolute path name arguments.
22851
5ec18f2b
JG
228522014-03-10 Joel Brobecker <brobecker@adacore.com>
22853
22854 * gdb.ada/tagged_access: New testcase.
22855
847fc4f2
MM
228562014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22857
22858 * gdb.btrace/data.exp: Update expected output.
22859
cc3da688
YQ
228602014-03-06 Yao Qi <yao@codesourcery.com>
22861
22862 * gdb.trace/pr16508.exp: New file.
22863
0f26cec1
PA
228642014-03-05 Pedro Alves <palves@redhat.com>
22865
22866 PR gdb/16575
22867 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22868 procedure.
22869 (top level): Adjust to use it. Add tests that exercise breakpoint
22870 interaction with the code-cache.
22871
7a5a839f
LC
228722014-02-26 Ludovic Courtès <ludo@gnu.org>
22873
22874 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22875 test for 'history-append!'.
22876
31aa7e4e
JB
228772014-02-26 Joel Brobecker <brobecker@adacore.com>
22878
22879 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22880 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22881 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22882 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22883 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22884 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22885
1b588015
JB
228862014-02-26 Joel Brobecker <brobecker@adacore.com>
22887
22888 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22889 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22890 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22891
55426c9d
JB
228922014-02-26 Joel Brobecker <brobecker@adacore.com>
22893
22894 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22895
dc53a7ad
JB
228962014-02-26 Joel Brobecker <brobecker@adacore.com>
22897
22898 * gdb.dwarf2/arr-stride.c: New file.
22899 * gdb.dwarf2/arr-stride.exp: New file.
22900
12ab52e9
PA
229012014-02-26 Pedro Alves <palves@redhat.com>
22902
22903 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22904 that won't ever trigger. Make sure that GDB reports the correct
22905 breakpoint that caused the stop.
22906
849c862e
JK
229072014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22908
22909 PR gdb/16626
22910 * gdb.base/auto-load-script: New file.
22911 * gdb.base/auto-load.c: New file.
22912 * gdb.base/auto-load.exp: New file.
22913
71b7d793
JK
22914 PR gdb/16626
22915 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22916
e2f0d509
JK
229172014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22918
22919 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22920 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22921
50cc37c8
DE
229222014-02-24 Doug Evans <dje@google.com>
22923
22924 * lib/gdb.exp (run_on_host): Log error output if program fails.
22925
ea4758f2
PA
229262014-02-21 Pedro Alves <palves@redhat.com>
22927
22928 * gdb.threads/step-after-sr-lock.c: Rename to ...
22929 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22930 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22931 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22932 ... this.
22933
d7b30f67
SDJ
229342014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22935
22936 PR tdep/16397
22937 * gdb.arch/amd64-stap-special-operands.exp: New file.
22938 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22939 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22940 * gdb.arch/amd64-stap-triplet.S: Likewise.
22941 * gdb.arch/amd64-stap-triplet.c: Likewise.
22942
83deb43f
JB
229432014-02-20 Joel Brobecker <brobecker@adacore.com>
22944
22945 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22946 in .section pseudo-op.
22947
adde2bff
DE
229482014-02-20 lin zuojian <manjian2006@gmail.com>
22949 Joel Brobecker <brobecker@adacore.com>
22950 Doug Evans <xdje42@gmail.com>
22951
22952 PR symtab/16581
22953 * gdb.dwarf2/dw2-icycle.S: New file.
22954 * gdb.dwarf2/dw2-icycle.c: New file.
22955 * gdb.dwarf2/dw2-icycle.exp: New file.
22956
f7bd0f78
SC
229572014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22958
22959 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22960 operations on gdb.Value objects.
22961 * gdb.python/py-value-cc.exp: Add new test to test operations on
22962 gdb.Value objects.
22963
c17ef0d5
DE
229642014-02-18 Doug Evans <dje@google.com>
22965
22966 * Makefile.in (TESTS): New variable.
22967 (expanded_tests, expanded_tests_or_none): New variables
22968 (check-single): Pass $(expanded_tests_or_none) to runtest.
22969 (check-parallel): Only run tests in $(TESTS) if non-empty.
22970 (check/no-matching-tests-found): New rule.
22971 * README: Document TESTS makefile variable.
22972
5dd3176f
DE
229732014-02-18 Doug Evans <dje@google.com>
22974
22975 * Makefile.in (check-parallel): rm -rf outputs temp.
22976
0b10be4f
JK
229772014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22978
22979 Fix "ERROR: no fileid for" in the testsuite.
22980 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22981
85f224e7
DE
229822014-02-12 Doug Evans <dje@google.com>
22983
22984 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22985 (MISCELLANEOUS): New variable.
22986 (clean): rm -rf $(MISCELLANEOUS).
22987 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22988 dwp live in the same directory as symlinks, with each symlink pointed
22989 to a differently named file in a different directory.
22990
149b30ff
DE
229912014-02-11 Doug Evans <dje@google.com>
22992
22993 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22994 of Tcl file commands.
22995
1dfdac32
MK
229962014-02-10 Mark Kettenis <kettenis@gnu.org>
22997
22998 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22999 "kill -SIGUSR1 -1".
23000
aa4fb036
JB
230012014-02-10 Joel Brobecker <brobecker@adacore.com>
23002
23003 * gdb.ada/tick_length_array_enum_idx: New testcase.
23004
ed3ef339
DE
230052014-02-10 Doug Evans <xdje42@gmail.com>
23006
23007 * configure.ac (AC_OUTPUT): Add gdb.guile.
23008 * configure: Regenerate.
23009 * lib/gdb-guile.exp: New file.
23010 * lib/gdb.exp (get_target_charset): New function.
23011 * gdb.base/help.exp: Update expected output from "apropos apropos".
23012 * gdb.guile/Makefile.in: New file.
23013 * gdb.guile/guile.exp: New file.
23014 * gdb.guile/scm-arch.c: New file.
23015 * gdb.guile/scm-arch.exp: New file.
23016 * gdb.guile/scm-block.c: New file.
23017 * gdb.guile/scm-block.exp: New file.
23018 * gdb.guile/scm-breakpoint.c: New file.
23019 * gdb.guile/scm-breakpoint.exp: New file.
23020 * gdb.guile/scm-disasm.c: New file.
23021 * gdb.guile/scm-disasm.exp: New file.
23022 * gdb.guile/scm-equal.c: New file.
23023 * gdb.guile/scm-equal.exp: New file.
23024 * gdb.guile/scm-error.exp: New file.
23025 * gdb.guile/scm-error.scm: New file.
23026 * gdb.guile/scm-frame-args.c: New file.
23027 * gdb.guile/scm-frame-args.exp: New file.
23028 * gdb.guile/scm-frame-args.scm: New file.
23029 * gdb.guile/scm-frame-inline.c: New file.
23030 * gdb.guile/scm-frame-inline.exp: New file.
23031 * gdb.guile/scm-frame.c: New file.
23032 * gdb.guile/scm-frame.exp: New file.
23033 * gdb.guile/scm-generics.exp: New file.
23034 * gdb.guile/scm-gsmob.exp: New file.
23035 * gdb.guile/scm-iterator.c: New file.
23036 * gdb.guile/scm-iterator.exp: New file.
23037 * gdb.guile/scm-math.c: New file.
23038 * gdb.guile/scm-math.exp: New file.
23039 * gdb.guile/scm-objfile-script-gdb.in: New file.
23040 * gdb.guile/scm-objfile-script.c: New file.
23041 * gdb.guile/scm-objfile-script.exp: New file.
23042 * gdb.guile/scm-objfile.c: New file.
23043 * gdb.guile/scm-objfile.exp: New file.
23044 * gdb.guile/scm-ports.exp: New file.
23045 * gdb.guile/scm-pretty-print.c: New file.
23046 * gdb.guile/scm-pretty-print.exp: New file.
23047 * gdb.guile/scm-pretty-print.scm: New file.
23048 * gdb.guile/scm-section-script.c: New file.
23049 * gdb.guile/scm-section-script.exp: New file.
23050 * gdb.guile/scm-section-script.scm: New file.
23051 * gdb.guile/scm-symbol.c: New file.
23052 * gdb.guile/scm-symbol.exp: New file.
23053 * gdb.guile/scm-symtab-2.c: New file.
23054 * gdb.guile/scm-symtab.c: New file.
23055 * gdb.guile/scm-symtab.exp: New file.
23056 * gdb.guile/scm-type.c: New file.
23057 * gdb.guile/scm-type.exp: New file.
23058 * gdb.guile/scm-value-cc.cc: New file.
23059 * gdb.guile/scm-value-cc.exp: New file.
23060 * gdb.guile/scm-value.c: New file.
23061 * gdb.guile/scm-value.exp: New file.
23062 * gdb.guile/source2.scm: New file.
23063 * gdb.guile/types-module.cc: New file.
23064 * gdb.guile/types-module.exp: New file.
23065
7026a7c1
YQ
230662014-02-10 Yao Qi <yao@codesourcery.com>
23067
23068 PR testsuite/16543
23069 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23070 * configure: Regenerated.
23071 * Makefile.in: New file.
23072
6c466447
AS
230732014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23074
23075 * gdb.python/py-framefilter.exp: Fix typo.
23076
6e854735
YQ
230772014-02-08 Yao Qi <yao@codesourcery.com>
23078
23079 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23080 that no =breakpoint-modified is emitted when breakpoints are
23081 modified through MI commands.
23082
d137e6dc
PA
230832014-02-07 Pedro Alves <pedro@codesourcery.com>
23084 Pedro Alves <palves@redhat.com>
23085
23086 * gdb.threads/step-after-sr-lock.c: New file.
23087 * gdb.threads/step-after-sr-lock.exp: New file.
23088
b5ee5a50
PA
230892014-02-07 Pedro Alves <palves@redhat.com>
23090
23091 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23092
3c77faf3
JK
230932014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23094
23095 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23096 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23097
6dddc817
DE
230982014-02-06 Doug Evans <xdje42@gmail.com>
23099
23100 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23101 output.
23102
23103 * gdb.gdb/python-interrupts.exp: New file.
23104
de7b2893
YQ
231052014-02-05 Yao Qi <yao@codesourcery.com>
23106
23107 * gdb.trace/report.exp (use_collected_data): Test the output
23108 of "info threads" and "info inferiors".
23109
66d032ac
YQ
231102014-02-05 Yao Qi <yao@codesourcery.com>
23111
23112 Revert this patch:
23113
23114 2013-05-24 Yao Qi <yao@codesourcery.com>
23115
23116 * gdb.trace/tfile.exp: Test inferior and thread.
23117
591a12a1
UW
231182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23119
23120 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23121 on a function.
23122 * gdb.base/step-bt.c: Call hello via function pointer to make
23123 sure its first instruction is executed on powerpc64le-linux.
23124
0ff3e01f
UW
231252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23126
23127 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23128
084ee545
UW
231292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23130
23131 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23132 of the test patterns for use on little-endian systems.
23133
6ed14ff3
UW
231342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23135
23136 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23137 (decimal_vector): Fix for little-endian.
23138
401e27fd
JM
231392014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23140
23141 * gdb.arch/sparc-sysstep.exp: New file.
23142 * gdb.arch/sparc-sysstep.c: Likewise.
23143
23144 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23145
8b924729
EBM
231462014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23147
23148 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23149
fb151210
JB
231502014-01-23 Tom Tromey <tromey@redhat.com>
23151
23152 * gdb.ada/array_char_idx: New testcase.
23153
0740f8d8
TT
231542014-01-23 Tom Tromey <tromey@redhat.com>
23155
23156 PR python/16487:
23157 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23158 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23159 classes.
23160
21909fa1
TT
231612014-01-23 Tom Tromey <tromey@redhat.com>
23162
23163 PR python/16491:
23164 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23165 string from an inferior frame.
23166 * gdb.python/py-framefilter-mi.exp: Update.
23167
87ce2a04
DE
231682014-01-22 Doug Evans <dje@google.com>
23169
23170 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23171
237b092b
AA
231722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23173
23174 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23175
d674a709
AA
231762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23177
23178 * gdb.trace/entry-values.exp: Remove excess space character from
23179 regex patterns. Handle s390 call instruction.
23180
20fa3390
AA
231812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23182
23183 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23184 define "*_start" label. Make "name" static.
23185 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23186 ${name} by references to ${name}_start.
23187
78466714
AA
231882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23189
23190 * gdb.base/info-macros.exp: Remove "debug" from the compile
23191 options.
23192
ec9f644a
IB
231932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23194
23195 * gdb.dlang/demangle.exp: New file.
23196
94b1b47e
IB
231972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23198
23199 * gdb.dlang/primitive-types.exp: New file.
23200
7f420862
IB
232012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23202
23203 * configure.ac: Create gdb.dlang/Makefile.
23204 * configure: Regenerate.
23205 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23206 * gdb.dlang/Makefile.in: New file.
23207 * lib/d-support.exp: New file.
23208 * lib/gdb.exp (skip_d_tests): New proc.
23209
52834460
MM
232102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23211
23212 * gdb.btrace/delta.exp: Check reverse stepi.
23213 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23214 * gdb.btrace/finish.exp: New.
23215 * gdb.btrace/next.exp: New.
23216 * gdb.btrace/nexti.exp: New.
23217 * gdb.btrace/record_goto.c: Add comments.
23218 * gdb.btrace/step.exp: New.
23219 * gdb.btrace/stepi.exp: New.
23220 * gdb.btrace/multi-thread-step.c: New.
23221 * gdb.btrace/multi-thread-step.exp: New.
23222 * gdb.btrace/rn-dl-bind.c: New.
23223 * gdb.btrace/rn-dl-bind.exp: New.
23224 * gdb.btrace/data.c: New.
23225 * gdb.btrace/data.exp: New.
23226 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23227
6e07b1d2
MM
232282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23229
23230 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23231 * gdb.btrace/exception.exp: Update.
23232 * gdb.btrace/instruction_history.exp: Update.
23233 * gdb.btrace/record_goto.exp: Update.
23234 * gdb.btrace/tailcall.exp: Update.
23235 * gdb.btrace/unknown_functions.exp: Update.
23236 * gdb.btrace/delta.exp: New.
23237
0b722aec
MM
232382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23239
23240 * gdb.btrace/record_goto.exp: Add backtrace test.
23241 * gdb.btrace/tailcall.exp: Add backtrace test.
23242
066ce621
MM
232432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23244
23245 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23246 * gdb.btrace/record_goto.c: New.
23247 * gdb.btrace/record_goto.exp: New.
23248 * gdb.btrace/x86-record_goto.S: New.
23249
0688d04e
MM
232502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23251
23252 * gdb.btrace/function_call_history.exp: Update tests.
23253 * gdb.btrace/instruction_history.exp: Update tests.
23254
8710b709
MM
232552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23256
23257 * gdb.btrace/function_call_history.exp: Fix expected field
23258 order for "record function-call-history".
23259 Add new tests for "record function-call-history /c".
23260 * gdb.btrace/exception.cc: New.
23261 * gdb.btrace/exception.exp: New.
23262 * gdb.btrace/tailcall.exp: New.
23263 * gdb.btrace/x86-tailcall.S: New.
23264 * gdb.btrace/x86-tailcall.c: New.
23265 * gdb.btrace/unknown_functions.c: New.
23266 * gdb.btrace/unknown_functions.exp: New.
23267 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23268
5de9129b
MM
232692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23270
23271 * gdb.btrace/instruction_history.exp: Update.
23272 * gdb.btrace/function_call_history.exp: Update.
23273
23a7fe75
MM
232742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23275
23276 * gdb.btrace/function_call_history.exp: Fix expected function
23277 trace.
23278 * gdb.btrace/instruction_history.exp: Initialize traced.
23279 Remove traced_functions.
23280
724c7dd8
MM
232812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23282
23283 * gdb.btrace/function_call_history.exp: Update
23284 * gdb.btrace/instruction_history.exp: Update.
23285
6d78d93b
MM
232862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23287
23288 * gdb.btrace/enable.exp: Update expected text.
23289
93a360cc
OJ
232902014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23291
23292 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23293 bytes.
23294
3772b53f
MR
232952014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23296
23297 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23298
596662fa
OJ
232992014-01-15 Omair Javaid <omair.javaid@linaro.org>
23300
23301 * lib/gdb.exp (supports_process_record): Return true for
23302 arm*-linux*. (supports_reverse): Likewise.
23303
b5b08fb4
SC
233042014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23305
23306 PR python/15464
23307 PR python/16113
23308 * gdb.python/py-type.c: Enhance test case.
23309 * gdb.python/py-value-cc.cc: Likewise
23310 * gdb.python/py-type.exp: Add new tests.
23311 * gdb.python/py-value-cc.exp: Likewise
23312
52d7fb13
AA
233132014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23314 Pedro Alves <palves@redhat.com>
23315
23316 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23317 Make "name" extern.
23318 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23319 references to ${name}_start by references to ${name}.
23320
a2cd8cfe
JB
233212014-01-10 Joel Brobecker <brobecker@adacore.com>
23322
23323 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23324
4e23fced
JB
233252014-01-10 Joel Brobecker <brobecker@adacore.com>
23326
23327 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23328
c6a9e42c
PA
233292014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23330 Pedro Alves <palves@redhat.com>
23331
23332 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23333 mi_gdb_target_load.
c6a9e42c 23334
b7ea362b
PA
233352014-01-08 Pedro Alves <palves@redhat.com>
23336
23337 * gdb.threads/reconnect-signal.c: New file.
23338 * gdb.threads/reconnect-signal.exp: New file.
23339
5e3f4fab
EBM
233402014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23341
23342 * gdb.base/source-dir.exp: New file.
23343
79301218
JB
233442014-01-07 Joel Brobecker <brobecker@adacore.com>
23345
23346 * gdb.ada/mi_interface: New testcase.
23347
8e355c5d
JB
233482014-01-07 Joel Brobecker <brobecker@adacore.com>
23349
23350 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23351 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23352 gdb.ada/pp-rec-component/pck.ads: New files.
23353
c0d48811
JB
233542014-01-07 Joel Brobecker <brobecker@adacore.com>
23355
23356 * gdb.python/py-pp-integral.c: New file.
23357 * gdb.python/py-pp-integral.py: New file.
23358 * gdb.python/py-pp-integral.exp: New file.
23359
17b609c3 23360For older changes see ChangeLog-1993-2013.
c906108c 23361\f
8d8cb839
EZ
23362;; Local Variables:
23363;; mode: change-log
23364;; left-margin: 8
23365;; fill-column: 74
23366;; version-control: never
23367;; End:
902f2ccb 23368
3666a048 23369 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23370 Copying and distribution of this file, with or without modification,
23371 are permitted provided the copyright notice and this notice are preserved.