gdb/python: don't allow the user to delete window title attributes
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e0c23e11
AB
12021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.python/tui-window.exp: Add new tests.
4 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
5 TestWindow object into global the_window.
6 <remote_title>: New method.
7 (delete_window_title): New function.
8
1cf23996
AB
92021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
10
11 * gdb.tui/winheight.exp: Add more tests.
12
2708dbbd
AB
132021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
14
15 * gdb.python/py-framefilter.exp: Update expected results.
16 * gdb.python/python.exp: Update expected results.
17
cd074e04
AB
182021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
19
20 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
21 about bug in GDB, update expected results, and add more tests.
22
5fb97639
AB
232021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * gdb.tui/scroll.exp: New file.
26 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
27 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
28 remaining lines up.
29 (Term::check_region_contents): New proc.
30 (Term::check_box_contents): Use check_region_contents.
31
c0e56745
TV
322021-02-06 Tom de Vries <tdevries@suse.de>
33
34 PR testsuite/26922
35 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
36 scrolling.
37
0e857c82
TV
382021-02-05 Tom de Vries <tdevries@suse.de>
39
40 PR breakpoints/27313
41 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
42 rejected.
43
a22ec6e8
TV
442021-02-05 Tom de Vries <tdevries@suse.de>
45
46 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
47 * gdb.fortran/mixed-lang-stack.exp: Same.
48
ae710496
TV
492021-02-05 Tom de Vries <tdevries@suse.de>
50
51 PR exp/27265
52 * gdb.base/complex-parts.exp: Add tests.
53
d3b54e63
TV
542021-02-05 Tom de Vries <tdevries@suse.de>
55
56 PR symtab/27307
57 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
58
3eccb1c8
SV
592021-02-04 Shahab Vahedi <shahab@synopsys.com>
60
61 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
62
a71501e2
PA
632021-02-03 Pedro Alves <pedro@palves.net>
64
65 * gdb.threads/detach-step-over.c: New file.
66 * gdb.threads/detach-step-over.exp: New file.
67
92234eb1
PA
682021-02-03 Pedro Alves <pedro@palves.net>
69
70 * gdb.threads/attach-non-stop.c: New file.
71 * gdb.threads/attach-non-stop.exp: New file.
72
2e3773ff
LS
732021-02-02 Lancelot SIX <lsix@lancelotsix.com>
74
75 * gdb.base/inferior-noarg.c: New test.
76 * gdb.base/inferior-noarg.exp: New test.
77
e0bd9202
SM
782021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
79
80 * gdb.base/scope.exp: Use proc_with_prefix.
81
9307efbe
SM
822021-02-02 Simon Marchi <simon.marchi@efficios.com>
83
84 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
85 table proc.
86 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
87 .debug_rnglists table without offset array.
88 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
89 .debug_loclists table without offset array.
90
2b0c7f41
SM
912021-02-02 Simon Marchi <simon.marchi@efficios.com>
92
93 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
94 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
95 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
96 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
97 attribute
98
ecfda20d
SM
992021-02-02 Simon Marchi <simon.marchi@efficios.com>
100
101 PR gdb/26813
102 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
103 (loclists): New proc.
104 * gdb.dwarf2/loclists-multiple-cus.c: New.
105 * gdb.dwarf2/loclists-multiple-cus.exp: New.
106 * gdb.dwarf2/loclists-sec-offset.c: New.
107 * gdb.dwarf2/loclists-sec-offset.exp: New.
108
6b0933da
SM
1092021-02-02 Simon Marchi <simon.marchi@efficios.com>
110
111 * lib/dwarf.exp (_location): Add parameters.
112 (_handle_DW_FORM): Adjust.
113
962effa7
SM
1142021-02-02 Simon Marchi <simon.marchi@efficios.com>
115
116 PR gdb/26813
117 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
118 (cu): Generate header for DWARF 5.
119 (rnglists): New proc.
120 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
121 * gdb.dwarf2/rnglists-sec-offset.exp: New.
122
2bd3e4b8
TV
1232021-02-02 Tom de Vries <tdevries@suse.de>
124
125 PR symtab/24620
126 * gdb.dwarf2/fission-reread.exp: Add test-case.
127
c39c8637
TV
1282021-02-01 Tom de Vries <tdevries@suse.de>
129
130 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
131 * gdb.dwarf2/fission-loclists-pie.S: Same.
132 * gdb.dwarf2/fission-loclists.S: Same.
133 * gdb.dwarf2/fission-multi-cu.S: Same.
134 * gdb.dwarf2/fission-reread.S: Same.
135 * gdb.dwarf2/fission-base.exp: Use DWO.
136 * gdb.dwarf2/fission-loclists-pie.exp: Same.
137 * gdb.dwarf2/fission-loclists.exp: Same.
138 * gdb.dwarf2/fission-multi-cu.exp: Same.
139 * gdb.dwarf2/fission-reread.exp: Same.
140
ebde6f2d
TV
1412021-01-29 Tom de Vries <tdevries@suse.de>
142
143 PR breakpoints/26063
144 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
145 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
146
620ec3ca
TV
1472021-01-29 Tom de Vries <tdevries@suse.de>
148
149 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
150
cdeba395
TV
1512021-01-28 Tom de Vries <tdevries@suse.de>
152
153 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
154 in the backtrace, and use that in the rest of the test instead of
155 hardcoded constant 3. Use "frame" instead of "up" for robustness.
156
c47b145e
TV
1572021-01-28 Tom de Vries <tdevries@suse.de>
158
159 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
160 * gdb.arch/i386-sse-stack-align.c: Same.
161 * gdb.arch/i386-sse-stack-align.exp: Same.
162
47918cca
AB
1632021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
164
165 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
166
2f985dd1
TV
1672021-01-28 Tom de Vries <tdevries@suse.de>
168
169 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
170
22efa3d3
TV
1712021-01-28 Tom de Vries <tdevries@suse.de>
172
173 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
174 "maint info line-table". Make PASS pattern more specific. Make
175 FAIL pattern work for -m32.
176
59b59f08
LS
1772021-01-27 Lancelot SIX <lsix@lancelotsix.com>
178
179 PR gdb/27133
180 * gdb.base/ui-redirect.exp: Add test case that ensures that
181 redirecting both logging and debug does not cause gdb to crash.
182
183
807f647c
MM
1842021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
185
186 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
187
4ca40594
TV
1882021-01-26 Tom de Vries <tdevries@suse.de>
189
190 * gdb.threads/killed-outside.exp: Allow regular output.
191
d0021af3
TV
1922021-01-26 Tom de Vries <tdevries@suse.de>
193
194 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
195
9f6c202e
TV
1962021-01-25 Tom de Vries <tdevries@suse.de>
197
198 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
199 * lib/gdb.exp: Use gdb_load_no_complaints.
200
a625a8c9
TT
2012021-01-25 Tom Tromey <tromey@adacore.com>
202
203 * gdb.ada/fixed_points.exp: Add regression test.
204 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
205 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
206
19184910
TT
2072021-01-25 Tom Tromey <tromey@adacore.com>
208
209 * gdb.ada/local-enum.exp: Add enumerator resolution test.
210
acd6125f
TT
2112021-01-25 Tom Tromey <tromey@adacore.com>
212
213 * gdb.ada/local-enum.exp: New file.
214 * gdb.ada/local-enum/local.adb: New file.
215
1af4c9c4
TT
2162021-01-23 Tom Tromey <tom@tromey.com>
217
218 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
219
705646c0
BE
2202021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
221
222 * gdb.base/line65535.exp: Fix test expectation.
223
0ac85db5
SM
2242021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
225
226 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
227 suppression.
228 (default_gdb_exit): Likewise.
229 (default_gdb_spawn): Likewise.
230 (send_gdb): Likewise.
231 (gdb_expect): Likewise.
232 (gdb_expect_list): Likewise.
233 (default_gdb_init): Likewise.
234 (gdb_suppress_entire_file): Remove.
235 (gdb_suppress_tests): Remove.
236 (gdb_stop_suppressing_tests): Remove.
237 (gdb_clear_suppressed): Remove.
238 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
239 related to test suppression.
240 (default_mi_gdb_start): Likewise.
241 (mi_gdb_reinitialize_dir): Likewise.
242 (mi_gdb_test): Likewise.
243 (mi_run_cmd_full): Likewise.
244 (mi_runto_helper): Likewise.
245 (mi_execute_to): Likewise.
246 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
247 * gdb.base/bitfields.exp: Likewise.
248 * gdb.base/bitfields2.exp: Likewise.
249 * gdb.base/break.exp: Likewise.
250 * gdb.base/call-sc.exp: Likewise.
251 * gdb.base/callfuncs.exp: Likewise.
252 * gdb.base/dfp-test.exp: Likewise.
253 * gdb.base/endian.exp: Likewise.
254 * gdb.base/exprs.exp: Likewise.
255 * gdb.base/funcargs.exp: Likewise.
256 * gdb.base/hbreak2.exp: Likewise.
257 * gdb.base/recurse.exp: Likewise.
258 * gdb.base/scope.exp: Likewise.
259 * gdb.base/sepdebug.exp: Likewise.
260 * gdb.base/structs.exp: Likewise.
261 * gdb.base/until.exp: Likewise.
262 * gdb.cp/misc.exp: Likewise.
263
9d2d8a16
AB
2642021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
265
266 PR cli/25956
267 * gdb.base/style.exp (run_style_tests): Add version string test.
268 (test_startup_version_string): Use version style name.
269 * lib/gdb-utils.exp (style): Handle version style name.
270
e7b43072
AB
2712021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
272
273 * gdb.base/style.exp (limited_style): New proc.
274 (clean_restart_and_disable): New proc.
275 (run_style_tests): New proc. Most of the old tests from this file
276 are now in this proc.
277 (test_startup_version_string): New proc. Reamining test from the
278 old file is in this proc.
279
2189c312
SM
2802021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
281
282 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
283 Adjust to "set debug remote" changes.
284
cd211c75
LM
2852021-01-21 Luis Machado <luis.machado@linaro.org>
286
287 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
288 message.
289
730af663
SM
2902021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
291
292 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
293
325d39e4
HD
2942021-01-21 Hannes Domani <ssbssa@yahoo.de>
295
296 PR python/19151
297 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
298
c3e96aa7
SM
2992021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
300
301 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
302
6571ffc6
SM
3032021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
304
305 * lib/tuiterm.exp: Add links in comments.
306
7c794afd
TV
3072021-01-20 Tom de Vries <tdevries@suse.de>
308
309 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
310 offset.
311
1402665c
TV
3122021-01-20 Tom de Vries <tdevries@suse.de>
313
314 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
315
6f52fdf4
SDJ
3162021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
317
318 * gdb.arch/amd64-stap-expressions.S: New file.
319 * gdb.arch/amd64-stap-expressions.exp: New file.
320
14852123
TV
3212021-01-19 Tom de Vries <tdevries@suse.de>
322
323 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
324 sequence.
325
0c4e2c6c
TV
3262021-01-19 Tom de Vries <tdevries@suse.de>
327
328 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
329
02baa133
AB
3302021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
331
332 * gdb.fortran/array-slices.exp (run_test): Avoid including
333 addresses in test names.
334
10f92414
TV
3352021-01-15 Tom de Vries <tdevries@suse.de>
336
337 PR testsuite/26997
338 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
339 when adding sizeof.
340
116d0cf1
TV
3412021-01-14 Tom de Vries <tdevries@suse.de>
342
343 PR testsuite/24590
344 * gdb.base/style.exp: Handle shorter argv in frame command output.
345
8f66807b
AB
3462021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
347
348 PR gdb/26819
349 * gdb.server/stop-reply-no-thread-multi.c: New file.
350 * gdb.server/stop-reply-no-thread-multi.exp: New file.
351
3f94e588
TV
3522021-01-12 Tom de Vries <tdevries@suse.de>
353
354 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
355 (main): Remove call to have_mpx.
356 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
357 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
358 (main): Remote call to have_mpx.
359 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
360 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
361 (main): Remove call to have_mpx.
362 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
363 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
364 (main): Remove call to have_mpx.
365 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
366 * gdb.arch/i386-mpx.c (have_mpx): Remove.
367 (main): Remote call to have_mpx.
368 * gdb.arch/i386-mpx.exp: Use have_mpx.
369 * lib/gdb.exp (have_mpx): New proc.
370
5291fe3c
SP
3712021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
372
373 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
374
18bfb505
TV
3752021-01-12 Tom de Vries <tdevries@suse.de>
376
377 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
378
ce38f5ed
AB
3792021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
380
381 * gdb.fortran/debug-expr.exp: Add new tests.
382
7c654b71
AB
3832021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * gdb.fortran/dot-ops.exp: Add new tests.
386
10dadadc
TV
3872021-01-11 Tom de Vries <tdevries@suse.de>
388
389 PR testsuite/26968
390 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
391 Move insn setting $eax to before probe point.
392
66beed02
TT
3932021-01-09 Tom Tromey <tom@tromey.com>
394
395 * gdb.trace/ax.exp: Do not require an "ext".
396
8fc48b79
TT
3972021-01-08 Tom Tromey <tromey@adacore.com>
398
399 * gdb.ada/voidctx/pck.adb: New file.
400 * gdb.ada/voidctx/pck.ads: New file.
401 * gdb.ada/voidctx/voidctx.adb: New file.
402 * gdb.ada/voidctx.exp: New file.
403
6abd4cf2
SM
4042021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
405
406 PR gdb/27157
407 * gdb.base/empty-host-env-vars.exp: New test.
408
d00f0868
AB
4092021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
410
411 * gdb.base/completion.exp: Add a new test.
412
3c8c6de2
AB
4132021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
414
415 * gdb.fortran/intvar-dynamic-types.exp: New file.
416 * gdb.fortran/intvar-dynamic-types.f90: New file.
417
e3436813
AB
4182021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
419
420 * gdb.fortran/intvar-array.exp: New file.
421 * gdb.fortran/intvar-array.f90: New file.
422
d4813f10
TT
4232021-01-07 Tom Tromey <tromey@adacore.com>
424
425 * gdb.ada/assign_arr.exp: Add 'others' test.
426
b49180ac
TT
4272021-01-06 Tom Tromey <tromey@adacore.com>
428
429 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
430 (FP4_Type): New type.
431 (FP4_Var): New variable.
432 * gdb.ada/fixed_points/fixed_points.adb: Update.
433 * gdb.ada/fixed_points.exp: Add tests for binary operators.
434
3c55062c
SM
4352021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
436
437 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
438 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
439 Pass prompt containing debug print to gdb_test_sequence.
440
e4ad960a
TV
4412021-01-04 Tom de Vries <tdevries@suse.de>
442
443 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
444
3ec3145c
SM
4452021-01-04 Simon Marchi <simon.marchi@efficios.com>
446
447
448
8dc558a0
SM
4492021-01-04 Simon Marchi <simon.marchi@efficios.com>
450
451 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
452 * gdb.server/connect-without-multi-process.exp: Likewise.
453 * gdb.server/exit-multiple-threads.exp: Likewise.
454 * gdb.server/ext-attach.exp: Likewise.
455 * gdb.server/ext-restart.exp: Likewise.
456 * gdb.server/ext-run.exp: Likewise.
457 * gdb.server/ext-wrapper.exp: Likewise.
458 * gdb.server/multi-ui-errors.exp: Likewise.
459 * gdb.server/no-thread-db.exp: Likewise.
460 * gdb.server/reconnect-ctrl-c.exp: Likewise.
461 * gdb.server/run-without-local-binary.exp: Likewise.
462 * gdb.server/server-kill.exp: Likewise.
463 * gdb.server/server-run.exp: Likewise.
464 * gdb.server/solib-list.exp: Likewise.
465 * gdb.server/stop-reply-no-thread.exp: Likewise.
466 * gdb.server/wrapper.exp: Likewise.
467 * gdb.server/sysroot.exp: Increase timeout when testing the
468 target: sysroot.
469
d8387cc8
SM
4702021-01-04 Simon Marchi <simon.marchi@efficios.com>
471
472 * gdb.server/server-run.exp: Use clean_restart.
473
5169ae34
SM
4742021-01-04 Simon Marchi <simon.marchi@efficios.com>
475
476 * gdb.server/ext-run.exp: Use clean_restart.
477
7b0ff8a2
SM
4782021-01-04 Simon Marchi <simon.marchi@efficios.com>
479
480 * gdb.server/stop-reply-no-thread.exp: Use build_executable
481 instead of prepare_for_testing.
482
a754fbdf
SM
4832021-01-04 Simon Marchi <simon.marchi@efficios.com>
484
485 * gdb.server/solib-list.exp: Use clean_restart.
486
c5e71b33
TV
4872021-01-04 Tom de Vries <tdevries@suse.de>
488
489 * gdb.base/morestack.c: Remove printf.
490 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
491
9b243007
TT
4922020-12-31 Tom Tromey <tom@tromey.com>
493
494 * gdb.rust/simple.exp: Update output for Rust 1.49.
495
4ff509e7
BE
4962020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
497
498 * gdb.cp/step-and-next-inline.exp: Fix test case.
499
391750c3
SM
5002020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
501
502 * gdb.python/py-frame-args.exp: De-duplicate test names.
503
b7874836
AB
5042020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 PR gdb/27059
507 * gdb.dwarf2/dyn-type-unallocated.c: New file.
508 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
509
e1ff6226
PW
5102020-12-21 Peter Waller <p@pwaller.net>
511
512 * gdb.base/style-interp-exec-mi.exp: New.
513 * gdb.base/style-interp-exec-mi.c: New.
514
ca01f1bf
SM
5152020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
516
517 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
518 gdb_test. Use proc_with_prefix.
519
0fe69a94
MM
5202020-12-21 Markus Metzger <markus.t.metzger@intel.com>
521
522 * gdb.btrace/exception.exp: Build with nopie.
523 * gdb.btrace/function_call_history.exp: Likewise.
524 * gdb.btrace/unknown_functions.exp: Likewise.
525
806e7575
MM
5262020-12-21 Markus Metzger <markus.t.metzger@intel.com>
527
528 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
529
493d2172
MM
5302020-12-21 Markus Metzger <markus.t.metzger@intel.com>
531
532 * gdb.python/py-record-btrace.exp: Make test names unique.
533 * gdb.python/py-record-full.exp: Likewise.
534
1a1c0afc
MM
5352020-12-21 Markus Metzger <markus.t.metzger@intel.com>
536
537 * gdb.btrace/data.exp: Make test names unique.
538 * gdb.btrace/delta.exp: Likewise.
539 * gdb.btrace/enable.exp: Likewise.
540 * gdb.btrace/function_call_history.exp: Likewise.
541 * gdb.btrace/nohist.exp: Likewise.
542 * gdb.btrace/non-stop.exp: Likewise.
543 * gdb.btrace/rn-dl-bind.exp: Likewise.
544 * gdb.btrace/step.exp: Likewise.
545 * gdb.btrace/stepi.exp: Likewise.
546 * gdb.btrace/tailcall.exp: Likewise.
547
98d837f0
MM
5482020-12-21 Markus Metzger <markus.t.metzger@intel.com>
549
550 * gdb.btrace/enable.exp: Update error message.
551 * gdb.btrace/multi-inferior.exp: Likewise.
552 * gdb.btrace/reconnect.exp: Likewise.
553 * gdb.python/py-record-btrace.exp: Likewise.
554 * gdb.python/py-record-full.exp: Likewise.
555
c541fa7c
TV
5562020-12-20 Tom de Vries <tdevries@suse.de>
557
558 * lib/gdb.exp (save_target_board_info): New proc.
559 (gdb_compile_shlib): Use save_target_board_info.
560
60108e47
TV
5612020-12-19 Tom de Vries <tdevries@suse.de>
562
563 * lib/gdb.exp (supports_scalar_storage_order_attribute)
564 (supports_gnuc): New proc.
565 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
566 test_compiler_info calls. Add unsupported message.
567 * gdb.base/endianity.c: Use TEST_SSO.
568
fa639f55
HD
5692020-12-19 Hannes Domani <ssbssa@yahoo.de>
570
571 PR exp/27070
572 * gdb.python/compare-enum-type-a.c: New test.
573 * gdb.python/compare-enum-type-b.c: New test.
574 * gdb.python/compare-enum-type.exp: New file.
575 * gdb.python/compare-enum-type.h: New test.
576
4aea001f
HD
5772020-12-18 Hannes Domani <ssbssa@yahoo.de>
578
579 * gdb.python/py-format-string.exp: Add tests for address keyword.
580
b3f9469b
HD
5812020-12-18 Hannes Domani <ssbssa@yahoo.de>
582
583 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
584
86ef42bd
TT
5852020-12-18 Tom Tromey <tromey@adacore.com>
586
587 * gdb.ada/fixed_points.exp: Also run with
588 -fgnat-encodings=minimal. Update expected output.
589
93df4a1d
SM
5902020-12-16 Simon Marchi <simon.marchi@efficios.com>
591
592 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
593 * gdb.base/continue-all-already-running.exp: Likewise.
594 * gdb.base/moribund-step.exp: Likewise.
595 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
596
592995fa
TV
5972020-12-16 Tom de Vries <tdevries@suse.de>
598
599 * gdb.base/batch-preserve-term-settings.exp:
600
1e61189d
TV
6012020-12-16 Tom de Vries <tdevries@suse.de>
602
603 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
604 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
605
19007d95
LM
6062020-12-16 Luis Machado <luis.machado@linaro.org>
607
608 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
609 pointer-based memory accesses.
610 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
611 hw watchpoint cases.
612
a33fc9ae
RK
6132020-12-15 Rae Kim <rae.kim@gmail.com>
614
615 * gdb.base/document.exp: New test.
616
0e5ad442
TT
6172020-12-15 Tom Tromey <tromey@adacore.com>
618
619 * gdb.base/style.exp: Add deprecation tests.
620
60598dbd
SM
6212020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
622
623 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
624
8cd6d968
MW
6252020-12-14 Mark Wielaard <mark@klomp.org>
626
627 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
628 specially, set attr_form_comment to the actual FORM string used.
629
eab9267c
MW
6302020-12-14 Mark Wielaard <mark@klomp.org>
631
632 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
633 _constants(SPECIAL_expr) here, but set it...
634 (Dwarf::cu): ...here based on _cu_version.
635
2f413264
TV
6362020-12-14 Tom de Vries <tdevries@suse.de>
637
638 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
639 pass -fPIC.
640 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
641 * gdb.base/break-probes.exp: Same.
642 * gdb.base/ctxobj.exp: Same.
643 * gdb.base/dso2dso.exp: Same.
644 * gdb.base/global-var-nested-by-dso.exp: Same.
645 * gdb.base/info-shared.exp: Same.
646 * gdb.base/jit-reader-simple.exp: Same.
647 * gdb.base/print-file-var.exp: Same.
648 * gdb.base/skip-solib.exp: Same.
649 * gdb.btrace/dlopen.exp: Same.
650
18f1cb1f
TV
6512020-12-14 Tom de Vries <tdevries@suse.de>
652
653 PR testsuite/26963
654 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
655
519155c9
TV
6562020-12-14 Tom de Vries <tdevries@suse.de>
657
658 PR testsuite/26962
659 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
660 cast it to its declared type".
661
153f6e6c
TV
6622020-12-14 Tom de Vries <tdevries@suse.de>
663
664 PR testsuite/26951
665 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
666 shell prompt.
667
86b44259
TT
6682020-12-14 Tom Tromey <tromey@adacore.com>
669
670 * gdb.ada/nested.exp: Add new tests.
671 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
672
e26624c6
TT
6732020-12-14 Tom Tromey <tromey@adacore.com>
674
675 * gdb.dwarf2/ada-thick-pointer.exp: New file.
676
a3bdae4e
TT
6772020-12-14 Tom Tromey <tromey@adacore.com>
678
679 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
680
862fcbd8
TV
6812020-12-13 Tom de Vries <tdevries@suse.de>
682
683 PR testsuite/26953
684 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
685 attribute support if compiler doesn't support it.
686
a406a98e
TV
6872020-12-13 Tom de Vries <tdevries@suse.de>
688
689 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
690 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
691 source to shared lib. Add ada to options.
692
5d7e6ed0
TV
6932020-12-13 Tom de Vries <tdevries@suse.de>
694
695 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
696 calling gnatbind and gnatlink.
697
ee9812a0
AB
6982020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
699
700 * gdb.base/dcache-flush.c: New file.
701 * gdb.base/dcache-flush.exp: New file.
702
50a5f187
AB
7032020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
706 commands.
707 * gdb.base/killed-outside.exp: Likewise.
708 * gdb.opt/inline-bt.exp: Likewise.
709 * gdb.perf/gmonster-null-lookup.py: Likewise.
710 * gdb.perf/gmonster-print-cerr.py: Likewise.
711 * gdb.perf/gmonster-ptype-string.py: Likewise.
712 * gdb.python/py-unwind.exp: Likewise.
713
19c659f1
AB
7142020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.base/commands.exp: Update expected results.
717
9ef6d4a1
AB
7182020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 PR cli/15104
721 * gdb.base/commands.exp: Add additional tests.
722 * gdb.base/completion.exp: Add additional tests.
723
1536146f
AB
7242020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
725
726 * gdb.base/completion.exp: Add additional tests.
727
346e7e19
TV
7282020-12-11 Tom de Vries <tdevries@suse.de>
729
730 PR testsuite/26991
731 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
732 violations by setting bounds registers if the bounds are passed in the
733 Bounds Table.
734
9cd7a95a
TV
7352020-12-11 Tom de Vries <tdevries@suse.de>
736
737 PR testsuite/26954
738 * gdb.base/float128.exp: Detect and handle no mpfr support.
739
4483a8e7
SM
7402020-12-10 Simon Marchi <simon.marchi@efficios.com>
741
742 PR gdb/24694
743 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
744 calls.
745
10067028
TV
7462020-12-10 Tom de Vries <tdevries@suse.de>
747
748 PR testsuite/26947
749 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
750 braces for tcl 8.5 and earlier.
751
5b56203a
SM
7522020-12-09 Simon Marchi <simon.marchi@efficios.com>
753
754 PR 26875, PR 26901
755 * gdb.base/flexible-array-member.c: New test.
756 * gdb.base/flexible-array-member.exp: New test.
757
b46551b2
TV
7582020-12-08 Tom de Vries <tdevries@suse.de>
759
760 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
761 using is_amd64_regs_target.
762
8439f446
TV
7632020-12-08 Tom de Vries <tdevries@suse.de>
764
765 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
766 self_id.
767
bc545da7
PA
7682020-12-07 Pedro Alves <pedro@palves.net>
769
770 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
771 'additional_flags' variable.
772
1f58f6c2
TBA
7732020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
774
775 * gdb.linespec/explicit.exp: Extend with a test to check completing
776 '-' after seemingly complete options.
777
5759831a
TBA
7782020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
779
780 * gdb.linespec/keywords.exp: Add tests to check positional
781 flexibility of "-force-condition".
782
21e051b3
TBA
7832020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
784
785 * gdb.base/bp-cmds-run-with-ex.c: New file.
786 * gdb.base/bp-cmds-run-with-ex.exp: New file.
787 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
788 * gdb.gdb/python-interrupts.exp: Update the call to
789 'catch_command_errors' with the new argument.
790 * gdb.gdb/python-selftest.exp: Ditto.
791
187b041e
SM
7922020-12-04 Simon Marchi <simon.marchi@efficios.com>
793
794 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
795 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
796 * gdb.threads/non-stop-fair-events.exp: Likewise.
797
3b7a962d
SM
7982020-12-04 Simon Marchi <simon.marchi@efficios.com>
799
800 * gdb.threads/step-over-exec.exp: New.
801 * gdb.threads/step-over-exec.c: New.
802 * gdb.threads/step-over-exec-execd.c: New.
803 * lib/my-syscalls.S: New.
804 * lib/my-syscalls.h: New.
805
e633b117
SM
8062020-12-04 Simon Marchi <simon.marchi@efficios.com>
807
808 * lib/dwarf.exp (declare_labels): Use name as text if text is
809 not provided.
810
67748e0f
TV
8112020-12-04 Tom de Vries <tdevries@suse.de>
812
813 PR testsuite/26990
814 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
815 are unsupported.
816
a8d13675
TV
8172020-12-04 Tom de Vries <tdevries@suse.de>
818
819 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
820 clause.
821
f17727b3
TV
8222020-12-04 Tom de Vries <tdevries@suse.de>
823
824 * gdb.reverse/insn-reverse.exp: Fix count handling.
825
a1499830
TV
8262020-12-04 Tom de Vries <tdevries@suse.de>
827
828 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
829 __x86_64__.
830
9c027c2f
TV
8312020-12-04 Tom de Vries <tdevries@suse.de>
832
833 * gdb.reverse/insn-reverse.c (test_nr): New var.
834 (usage, parse_args): New function.
835 (main): Call parse_args. Only run test for test_nr.
836 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
837 and bail out. Run subtests individually, using an inferior arg
838 specifying the subtest.
839
533b2ae0
AB
8402020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
841
842 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
843
e4502042
AB
8442020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
845
846 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
847 update test to use this.
848
f55a9a37
SM
8492020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
850
851 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
852
0a6155a0
SM
8532020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
854
855 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
856 (do_test): Don't use with_test_prefix.
857 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
858 (do_test): Don't use with_test_prefix.
859 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
860 (do_test): Don't use with_test_prefix.
861 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
862 (do_test): Don't use with_test_prefix.
863
4d56d64a
SM
8642020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
865
866 * gdb.threads/non-ldr-exit.exp: Fix comment.
867
54e75f29
AB
8682020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
869
870 * gdb.xml/maint-xml-dump-03.xml: New file.
871
7ce05d21
TV
8722020-11-30 Tom de Vries <tdevries@suse.de>
873
874 PR symtab/26905
875 * gdb.dwarf2/count.exp: Remove kfails.
876
50757f95
TBA
8772020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
878
879 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
880 indices.
881
4afa9fd9
JB
8822020-11-24 Joel Brobecker <brobecker@adacore.com>
883
884 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
885 the "ptype pck__fp1_range_var" test for the module-2 and pascal
886 languages. Remove the associated setup_xfail.
887
15a491af
SM
8882020-11-23 Simon Marchi <simon.marchi@efficios.com>
889
890 * lib/gdb.exp (gdb_assert): Show error message on error.
891
891615f0
TV
8922020-11-23 Tom de Vries <tdevries@suse.de>
893
894 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
895 * gdb.ada/mod_from_name.exp: Same.
896 * gdb.ada/pckd_arr_ren.exp: Same.
897
19922582
SM
8982020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
899
900 * gdb.base/template.exp: New.
901 * gdb.base/template.c: New.
902
117c628d
GB
9032020-11-22 Gary Benson <gbenson@redhat.com>
904
905 PR gdb/26905
906 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
907 is defined using a DW_AT_count which references another DIE.
908
da39d3ba
TV
9092020-11-21 Tom de Vries <tdevries@suse.de>
910
911 * gdb.base/vla-ptr.exp: Add XFAIL.
912
a5c641b5
AB
9132020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * gdb.fortran/array-slices-bad.exp: New file.
916 * gdb.fortran/array-slices-bad.f90: New file.
917 * gdb.fortran/array-slices-sub-slices.exp: New file.
918 * gdb.fortran/array-slices-sub-slices.f90: New file.
919 * gdb.fortran/array-slices.exp: Rewrite tests.
920 * gdb.fortran/array-slices.f90: Rewrite tests.
921 * gdb.fortran/vla-sizeof.exp: Correct expected results.
922
a15a5258
AB
9232020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
924
925 * gdb.base/completion.exp: Add new completion tests.
926
7cb2893d
SM
9272020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
928
929 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
930 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
931 * gdb.mi/mi-nsintrall.exp: Likewise.
932 * gdb.mi/mi-nsmoribund.exp: Likewise.
933 * gdb.mi/mi-nsthrexec.exp: Likewise.
934 * gdb.mi/mi-watch-nonstop.exp: Likewise.
935
cf144ec8
SM
9362020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
937
938 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
939 of perror.
940
6b6a3e05
JM
9412020-11-18 Joseph Myers <joseph@codesourcery.com>
942
943 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
944 $arg.exe exists but $arg does not.
945
811bdca0
GB
9462020-11-17 Gary Benson <gbenson@redhat.com>
947
948 * gdb.trace/trace-common.h (x86_trace_dummy): Add
949 __attribute__ ((used)).
950
c72e3136
AB
9512020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
952
953 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
954
037d7135
AB
9552020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
956
957 * gdb.base/completion.exp: Add new tests.
958
119e99bb
TT
9592020-11-16 Tom Tromey <tromey@adacore.com>
960
961 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
962 tests.
963
b74dbc20
JB
9642020-11-15 Joel Brobecker <brobecker@adacore.com>
965
966 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
967 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
968 (main): Add reference to pck__fp1_var2.
969 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
970
0a12719e
JB
9712020-11-15 Joel Brobecker <brobecker@adacore.com>
972
973 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
974
0c9150e4
JB
9752020-11-15 Joel Brobecker <brobecker@adacore.com>
976
977 * gdb.ada/fixed_points.exp: Add ptype tests.
978 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
979
b26daff9
JB
9802020-11-15 Joel Brobecker <brobecker@adacore.com>
981
982 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
983
09584414
JB
9842020-11-15 Joel Brobecker <brobecker@adacore.com>
985
986 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
987 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
988 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
989 New files.
990 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
991
992 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
993 New files.
994
9dd02fc0
AB
9952020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
996
997 PR cli/26879
998 * gdb.fortran/completion.exp: New file.
999 * gdb.fortran/completion.f90: New file.
1000
5643c500
JM
10012020-11-12 Joseph Myers <joseph@codesourcery.com>
1002
1003 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1004 but $arg does not.
1005
7bea47f0
AB
10062020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1007
1008 * gdb.fortran/types.exp: Add more tests.
1009
1f2624a3
TT
10102020-11-12 Tom Tromey <tom@tromey.com>
1011
1012 PR rust/26799:
1013 * gdb.rust/traits.exp: Remove kfails.
1014
9e74f0ae
GB
10152020-11-12 Gary Benson <gbenson@redhat.com>
1016
1017 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1018 statement.
1019
acb994fa
SM
10202020-11-11 Simon Marchi <simon.marchi@efficios.com>
1021
1022 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1023 always-inserted" axis.
1024 (do_test): Add breakpoint_always_inserted parameter.
1025
95016fd2
TT
10262020-11-10 Tom Tromey <tromey@adacore.com>
1027
1028 * gdb.ada/bias.exp: Update.
1029 * gdb.ada/bias/bias.adb (X): Change value.
1030
83100a74
GB
10312020-11-10 Gary Benson <gbenson@redhat.com>
1032
1033 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1034 regexp fragment in parentheses to prevent false matching.
1035
6ff174a7
GB
10362020-11-10 Gary Benson <gbenson@redhat.com>
1037
1038 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1039
eb24648c
GB
10402020-11-10 Gary Benson <gbenson@redhat.com>
1041
1042 * gdb.cp/step-and-next-inline.exp: Only require
1043 -gstatement-frontiers when building with GCC.
1044 Only setup KFAIL's for GCC issues when using
1045 a GCC-built executable.
1046
86775fab
AB
10472020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1048
1049 * gdb.base/debug-expr.c: Add extra function to allow for an
1050 additional test.
1051 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1052 to this proc with gdb_test_debug_expr. Add an extra test.
1053 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1054 to this proc with gdb_test_debug_expr, give the tests names
1055 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1056 calls to this proc with gdb_test_debug_expr, give the tests names
1057 * gdb.fortran/debug-expr.exp: New file.
1058 * gdb.fortran/debug-expr.f90: New file.
1059 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1060
a1945bd4
SM
10612020-11-06 Simon Marchi <simon.marchi@efficios.com>
1062
1063 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1064 proceduresu.
1065 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1066 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1067 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1068 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1069 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1070 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1071 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1072 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1073
9c91c725
TT
10742020-11-04 Tom Tromey <tromey@adacore.com>
1075
1076 * gdb.ada/funcall_ref.exp: Update.
1077 * gdb.ada/var_rec_arr.exp: Update.
1078
8d9fd3a1
TT
10792020-11-04 Tom Tromey <tromey@adacore.com>
1080
1081 * gdb.ada/rec_ptype.exp: New file.
1082 * gdb.ada/rec_ptype/main.adb: New file.
1083 * gdb.ada/rec_ptype/p.ads: New file.
1084
d8f62e84
TT
10852020-11-04 Tom Tromey <tromey@adacore.com>
1086
1087 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1088 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1089 (PT_Full): New variable.
1090 * gdb.ada/tick_length_array_enum_idx/pck.adb
1091 (Full_PT): New type.
1092
7ff5b937
TT
10932020-11-04 Tom Tromey <tromey@adacore.com>
1094
1095 * gdb.ada/array_of_variant.exp: New file.
1096 * gdb.ada/array_of_variant/p.adb: New file.
1097 * gdb.ada/array_of_variant/pck.ads: New file.
1098 * gdb.ada/array_of_variant/pck.adb: New file.
1099
10f6a3ad
TT
11002020-11-04 Tom Tromey <tromey@adacore.com>
1101
1102 * gdb.ada/enum_idx_packed.exp: Add test.
1103 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1104 New variable.
1105 * gdb.ada/enum_idx_packed/pck.ads (Short)
1106 (Multi_Dimension, Multi_Dimension_Access): New types.
1107
b72795a8
TT
11082020-11-04 Tom Tromey <tromey@adacore.com>
1109
1110 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1111
24aa1b02
TT
11122020-11-04 Tom Tromey <tromey@adacore.com>
1113
1114 * gdb.ada/set_pckd_arr_elt.exp: Also test
1115 -fgnat-encodings=minimal. Add tests.
1116 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1117 Call Update_Small a second time.
1118 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1119 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1120 (Variant_Access): New types.
1121 (New_Variant): Declare.
1122
c9a28cbe
TT
11232020-11-04 Tom Tromey <tromey@adacore.com>
1124
1125 * gdb.ada/mod_from_name.exp: Test printing slice.
1126
57567375
TT
11272020-11-04 Tom Tromey <tromey@adacore.com>
1128
1129 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1130 values.
1131 * gdb.ada/access_to_unbounded_array.exp: Test different
1132 -fgnat-encodings values.
1133 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1134 values.
1135 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1136 values.
1137 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1138 values.
1139 * gdb.ada/array_of_variable_length.exp: Test different
1140 -fgnat-encodings values.
1141 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1142 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1143 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1144 change.
1145 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1146 values.
1147 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1148 * gdb.ada/out_of_line_in_inlined.exp: Test different
1149 -fgnat-encodings values.
1150 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1151 values.
1152 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1153 values.
1154 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1155 -fgnat-encodings values.
1156 * gdb.ada/variant_record_packed_array.exp: Test different
1157 -fgnat-encodings values.
1158
a7400e44
TT
11592020-11-04 Tom Tromey <tromey@adacore.com>
1160
1161 * gdb.ada/enum_idx_packed.exp: Add tests.
1162 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1163 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1164 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1165 declarations.
1166
c40907bf
TV
11672020-11-03 Tom de Vries <tdevries@suse.de>
1168
1169 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1170 terminator comments.
1171 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1172 terminator.
1173
f468977a
SM
11742020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1175
1176 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1177 integer format test with regexp.
1178
1c2bec19
GB
11792020-11-02 Gary Benson <gbenson@redhat.com>
1180
1181 * gdb.base/print-file-var.exp (test): Separate compiler and
1182 linker options, and build using build_executable_from_specs
1183 to accommodate this.
1184
6539a36d
GB
11852020-11-02 Gary Benson <gbenson@redhat.com>
1186
1187 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1188 for .c files compiled as C++ with Clang if any shared
1189 libraries are specified.
1190
7ea44a51
GB
11912020-11-02 Gary Benson <gbenson@redhat.com>
1192
1193 * lib/attributes.h: New header.
1194 * gdb.base/backtrace.c: Include the above. Replace
1195 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1196 * gdb.base/infcall-nested-structs.c: Likewise.
1197 * gdb.base/vla-optimized-out.c: Likewise.
1198
ab8f783d
TV
11992020-11-02 Tom de Vries <tdevries@suse.de>
1200
1201 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1202
d77c9224
JB
12032020-11-01 Joel Brobecker <brobecker@adacore.com>
1204
1205 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1206 System.Min_Int and System.Max_Int with smaller hardcoded
1207 constants.
1208
0e5b0dd0
SM
12092020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1210
1211 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1212 * configure: Re-generate.
1213
136821d9
SM
12142020-10-30 Simon Marchi <simon.marchi@efficios.com>
1215
1216 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1217 expected output.
1218
b78b3a29
TBA
12192020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1220
1221 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1222 behavior.
1223 * gdb.base/paginate-bg-execution.exp: Ditto.
1224 * gdb.base/paginate-inferior-exit.exp: Ditto.
1225 * gdb.base/double-prompt-target-event-error.c: Remove.
1226 * gdb.base/double-prompt-target-event-error.exp: Remove.
1227
cfaa8f76
TBA
12282020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1229
1230 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1231 inferiors' and 'detach inferiors' do not change the current
1232 inferior.
1233
0ad0e70c
TV
12342020-10-29 Tom de Vries <tdevries@suse.de>
1235
1236 * gdb.threads/tls.exp: Fix DUPLICATEs.
1237
99cc6b2a
TV
12382020-10-28 Tom de Vries <tdevries@suse.de>
1239
1240 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1241
efe9b873
TV
12422020-10-28 Tom de Vries <tdevries@suse.de>
1243
1244 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1245 * gdb.base/reread.exp: Same.
1246
6b68fd45
TV
12472020-10-28 Tom de Vries <tdevries@suse.de>
1248
1249 * lib/gdb.exp (readnow): Handle arg.
1250 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1251
32a5f98a
TV
12522020-10-28 Tom de Vries <tdevries@suse.de>
1253
1254 * gdb.base/relocate.exp: Update regexp for -readnow.
1255
f93b8760
TV
12562020-10-28 Tom de Vries <tdevries@suse.de>
1257
1258 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1259 -readnow.
1260
1b00ef06
TV
12612020-10-28 Tom de Vries <tdevries@suse.de>
1262
1263 PR symtab/26772
1264 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1265 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1266
364bb903
TV
12672020-10-28 Tom de Vries <tdevries@suse.de>
1268
1269 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1270 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1271 complaint during file command for -readnow.
1272
445a033f
TV
12732020-10-28 Tom de Vries <tdevries@suse.de>
1274
1275 * gdb.cp/nsalias.exp: Fix typo in test name.
1276
fdd67a42
TV
12772020-10-28 Tom de Vries <tdevries@suse.de>
1278
1279 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1280
706baf4c
TV
12812020-10-28 Tom de Vries <tdevries@suse.de>
1282
1283 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1284 -readnow.
1285
b448cca5
TV
12862020-10-27 Tom de Vries <tdevries@suse.de>
1287
1288 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1289
5868da03
TV
12902020-10-27 Tom de Vries <tdevries@suse.de>
1291
1292 * gdb.base/maint.exp: Update for -readnow.
1293
06db6ec3
TV
12942020-10-27 Tom de Vries <tdevries@suse.de>
1295
1296 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1297 -readnow.
1298
934a1764
GB
12992020-10-14 Gary Benson <gbenson@redhat.com>
1300
1301 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1302 "_vptr$Base" as correct, in addition to "_vptr.Base".
1303 (test_mixed): Likewise.
1304
0bf21fbd
GB
13052020-10-27 Gary Benson <gbenson@redhat.com>
1306
1307 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1308 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1309
b1d4d8d1
TBA
13102020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1311
1312 * gdb.base/condbreak.exp: Update the completion tests to
1313 consider the '-force' flag.
1314
bd24c5d6
TV
13152020-10-27 Tom de Vries <tdevries@suse.de>
1316
1317 * gdb.base/list-ambiguous-readnow.exp: New file.
1318
733d554a
TBA
13192020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1320
1321 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1322 the condition.
1323 * gdb.linespec/cpcompletion.exp: Update to consider the
1324 '-force-condition' keyword.
1325 * gdb.linespec/explicit.exp: Ditto.
1326 * lib/completion-support.exp: Ditto.
1327
b5fa468f
TBA
13282020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1329
1330 * gdb.base/condbreak-multi-context.cc: New file.
1331 * gdb.base/condbreak-multi-context.exp: New file.
1332
b3247276
TT
13332020-10-26 Tom Tromey <tom@tromey.com>
1334
1335 * lib/mi-support.exp (default_mi_gdb_start): Call
1336 gdb_stdin_log_init.
1337 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1338 subtract one from gdb_instances.
1339 (gdb_stdin_log_write): Flush in_file.
1340
1c47ec3e
TV
13412020-10-26 Tom de Vries <tdevries@suse.de>
1342
1343 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1344
6390859c
TT
13452020-10-26 Tom Tromey <tromey@adacore.com>
1346
1347 * gdb.ada/unsigned_range/foo.adb: New file.
1348 * gdb.ada/unsigned_range/pack.adb: New file.
1349 * gdb.ada/unsigned_range/pack.ads: New file.
1350 * gdb.ada/unsigned_range.exp: New file.
1351
55c3ad88
TV
13522020-10-26 Tom de Vries <tdevries@suse.de>
1353
1354 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1355
1612c4bb
TV
13562020-10-26 Tom de Vries <tdevries@suse.de>
1357
1358 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1359 for CU.
1360 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1361
7d72802b
TV
13622020-10-23 Tom de Vries <tdevries@suse.de>
1363
1364 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1365 DW_FORM_string.
1366 (Dwarf::_default_form): New proc.
1367 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1368 guessed.
1369
9476b583
TV
13702020-10-23 Tom de Vries <tdevries@suse.de>
1371
1372 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1373 * gdb.dwarf2/atomic-type.exp: Same.
1374 * gdb.dwarf2/bad-regnum.exp: Same.
1375 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1376 * gdb.dwarf2/dw2-align.exp: Same.
1377 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1378 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1379 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1380 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1381 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1382 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1383 * gdb.dwarf2/enum-type.exp: Same.
1384 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1385 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1386 * gdb.dwarf2/main-subprogram.exp: Same.
1387 * gdb.dwarf2/missing-type-name.exp: Same.
1388 * gdb.dwarf2/nonvar-access.exp: Same.
1389 * gdb.dwarf2/typedef-void-finish.exp: Same.
1390 * gdb.dwarf2/var-access.exp: Same.
1391 * gdb.dwarf2/void-type.exp: Same.
1392
4a636814
SM
13932020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1394
1395 PR gdb/26693
1396 * gdb.dwarf2/template-specification-full-name.exp: New test.
1397
557fc257
LM
13982020-10-22 Luis Machado <luis.machado@linaro.org>
1399
1400 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1401 expected an offset from the function.
1402 * gdb.base/msym-bp.exp (test): Likewise.
1403
6b4c676c
AB
14042020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1405
1406 * gdb.fortran/array-slices.exp: Add a new test.
1407
98cec4f6
GB
14082020-10-21 Gary Benson <gbenson@redhat.com>
1409
1410 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1411 fullname test with Clang. Also expand comments generally.
1412
ae86f581
TV
14132020-10-20 Tom de Vries <tdevries@suse.de>
1414
1415 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1416
8c161360
TV
14172020-10-20 Tom de Vries <tdevries@suse.de>
1418
1419 * gdb.dwarf2/arr-stride.c: Remove.
1420 * gdb.dwarf2/arr-stride.exp: Use main.c.
1421 * gdb.dwarf2/arr-subrange.c: Remove.
1422 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1423 * gdb.dwarf2/bad-regnum.c: Remove.
1424 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1425 * gdb.dwarf2/corrupt.c: Remove.
1426 * gdb.dwarf2/corrupt.exp: Use main.c.
1427 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1428 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1429 * gdb.dwarf2/dw2-icycle.c: Remove.
1430 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1431 * gdb.dwarf2/formdata16.c: Remove.
1432 * gdb.dwarf2/formdata16.exp: Use main.c.
1433 * gdb.dwarf2/implptrconst.c: Remove.
1434 * gdb.dwarf2/implptrconst.exp: Use main.c.
1435 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1436 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1437 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1438 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1439
9c2412ec
TV
14402020-10-20 Tom de Vries <tdevries@suse.de>
1441
1442 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1443 file.
1444 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1445
0cd2ad78
TV
14462020-10-20 Tom de Vries <tdevries@suse.de>
1447
1448 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1449 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1450 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1451 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1452 * gdb.dwarf2/dw2-ranges.exp: Same.
1453 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1454 * gdb.dwarf2/var-access.exp: Same.
1455
22cc388e
TT
14562020-10-19 Tom Tromey <tromey@adacore.com>
1457
1458 PR tui/26719
1459 * gdb.tui/list.exp: Check source window contents after focus
1460 change.
1461
520596f2
TV
14622020-10-17 Tom de Vries <tdevries@suse.de>
1463
1464 PR symtab/26317
1465 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1466
d1c8a76d
TV
14672020-10-17 Tom de Vries <tdevries@suse.de>
1468
1469 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1470 as suffix.
1471 * gdb.dwarf2/atomic.c: Rename to ...
1472 * gdb.dwarf2/atomic-type.c: ... this.
1473 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1474 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1475 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1476 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1477 * gdb.dwarf2/fission-mix2.c: Rename to ...
1478 * gdb.dwarf2/fission-mix-2.c: ... this.
1479 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1480 standard_testfile.
1481 * gdb.dwarf2/ada-valprint-error.exp: Same.
1482 * gdb.dwarf2/arr-stride.exp: Same.
1483 * gdb.dwarf2/arr-subrange.exp: Same.
1484 * gdb.dwarf2/atomic-type.exp: Same.
1485 * gdb.dwarf2/bad-regnum.exp: Same.
1486 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1487 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1488 * gdb.dwarf2/clang-debug-names.exp: Same.
1489 * gdb.dwarf2/comp-unit-lang.exp: Same.
1490 * gdb.dwarf2/corrupt.exp: Same.
1491 * gdb.dwarf2/count.exp: Same.
1492 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1493 * gdb.dwarf2/data-loc.exp: Same.
1494 * gdb.dwarf2/dw2-align.exp: Same.
1495 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1496 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1497 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1498 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1499 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1500 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1501 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1502 * gdb.dwarf2/dw2-inline-param.exp: Same.
1503 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1504 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1505 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1506 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1507 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1508 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1509 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1510 * gdb.dwarf2/dw2-param-error.exp: Same.
1511 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1512 * gdb.dwarf2/dw2-ranges.exp: Same.
1513 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1514 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1515 * gdb.dwarf2/dw4-sig-types.exp: Same.
1516 * gdb.dwarf2/dynarr-ptr.exp: Same.
1517 * gdb.dwarf2/enum-type.exp: Same.
1518 * gdb.dwarf2/fission-mix.exp: Same.
1519 * gdb.dwarf2/formdata16.exp: Same.
1520 * gdb.dwarf2/implptrconst.exp: Same.
1521 * gdb.dwarf2/implptrpiece.exp: Same.
1522 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1523 * gdb.dwarf2/main-subprogram.exp: Same.
1524 * gdb.dwarf2/method-ptr.exp: Same.
1525 * gdb.dwarf2/missing-sig-type.exp: Same.
1526 * gdb.dwarf2/nonvar-access.exp: Same.
1527 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1528 * gdb.dwarf2/shortpiece.exp: Same.
1529 * gdb.dwarf2/staticvirtual.exp: Same.
1530 * gdb.dwarf2/subrange.exp: Same.
1531 * gdb.dwarf2/symtab-producer.exp: Same.
1532 * gdb.dwarf2/typedef-void-finish.exp: Same.
1533 * gdb.dwarf2/var-access.exp: Same.
1534 * gdb.dwarf2/variant.exp: Same.
1535 * gdb.dwarf2/void-type.exp: Same.
1536 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1537 dw2-ranges-main.c.
1538 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1539
472d09c1
TV
15402020-10-16 Tom de Vries <tdevries@suse.de>
1541
1542 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1543
afe75f6d
TV
15442020-10-16 Tom de Vries <tdevries@suse.de>
1545
1546 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1547
8c8bd0ba
TV
15482020-10-14 Tom de Vries <tdevries@suse.de>
1549
1550 PR testsuite/26732
1551 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1552 scenario 2.
1553 * gdb.ada/mi_catch_ex_hand.exp: Same.
1554
b75d55d4
PA
15552020-10-13 Pedro Alves <pedro@palves.net>
1556
1557 * lib/mi-support.exp (mi_clean_restart): New.
1558 (mi_run_to_main): Delete.
1559 All callers adjust to use mi_clean_restart / mi_runto_main.
1560
e777225b
PA
15612020-10-13 Pedro Alves <pedro@palves.net>
1562
1563 * config/monitor.exp: Use "list -q".
1564 * gdb.arch/gdb1558.exp: Use "break -q".
1565 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1566 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1567 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1568 * gdb.base/commands.exp: Use "break -q".
1569 * gdb.base/condbreak.exp: Use "break -q".
1570 * gdb.base/ctf-ptype.exp: Use "list -q".
1571 * gdb.base/define.exp: Use "break -q".
1572 * gdb.base/del.exp: Use "break -q".
1573 * gdb.base/fullname.exp: Use "break -q".
1574 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1575 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1576 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1577 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1578 "hbreak -q".
1579 * gdb.base/included.exp: Use "list -q".
1580 * gdb.base/label.exp: Use "break -q".
1581 * gdb.base/lineinc.exp: Use "break -q".
1582 * gdb.base/list.exp: Use "list -q".
1583 * gdb.base/macscp.exp: Use "list -q".
1584 * gdb.base/pending.exp: Use "break -q".
1585 * gdb.base/prologue-include.exp: Use "break -q".
1586 * gdb.base/ptype.exp: Use "list -q".
1587 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1588 * gdb.base/server-del-break.exp: Use "break -q".
1589 * gdb.base/style.exp: Use "break -q".
1590 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1591 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1592 * gdb.cp/exception.exp: Use "tbreak -q".
1593 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1594 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1595 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1596 * gdb.dwarf2/pr13961.exp: Use "break -q".
1597 * gdb.linespec/explicit.exp: Use "list -q".
1598 * gdb.linespec/linespec.exp: Use "break -q".
1599 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1600 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1601 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1602 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1603 * gdb.trace/change-loc.exp: Use "break -q".
1604 * gdb.trace/pending.exp: Use "break -q".
1605 * gdb.tui/basic.exp: Use "list -q".
1606 * gdb.tui/list-before.exp: Use "list -q".
1607 * gdb.tui/list.exp: Use "list -q".
1608 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1609
8abd8ee8
PA
16102020-10-13 Pedro Alves <pedro@palves.net>
1611
1612 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1613 saved breakpoints file.
1614 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1615 inspecting breakpoint list.
1616 * lib/gdb.exp (runto_main): Add "qualified" to options.
1617 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1618 and handle it.
1619 (mi_runto_main): Pass 1 as qualified argument.
1620
f71e6719
PA
16212020-10-13 Pedro Alves <pedro@palves.net>
1622
1623 * lib/mi-support.exp (mi_runto_main): New proc.
1624 (mi_run_to_main): Use it.
1625 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1626 * gdb.mi/mi-var-cmd.exp: Likewise.
1627 * gdb.mi/mi-var-invalidate.exp: Likewise.
1628 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1629 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1630 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1631 * gdb.mi/user-selected-context-sync.exp: Likewise.
1632 * gdb.opt/inline-cmds.exp: Likewise.
1633 * gdb.python/py-framefilter-mi.exp: Likewise.
1634 * gdb.python/py-mi.exp: Likewise.
1635
50441f0f
PA
16362020-10-13 Pedro Alves <pedro@palves.net>
1637
1638 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1639 "runto main".
1640 * gdb.ada/small_reg_param.exp: Likewise.
1641 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1642 * gdb.base/annota1.exp: Likewise.
1643 * gdb.base/anon.exp: Likewise.
1644 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1645 * gdb.base/dprintf-non-stop.exp: Likewise.
1646 * gdb.base/dprintf.exp: Likewise.
1647 * gdb.base/gdb11530.exp: Likewise.
1648 * gdb.base/gdb11531.exp: Likewise.
1649 * gdb.base/gnu_vector.exp: Likewise.
1650 * gdb.base/interrupt-noterm.exp: Likewise.
1651 * gdb.base/memattr.exp: Likewise.
1652 * gdb.base/step-over-syscall.exp: Likewise.
1653 * gdb.base/watch-cond-infcall.exp: Likewise.
1654 * gdb.base/watch-read.exp: Likewise.
1655 * gdb.base/watch-vfork.exp: Likewise.
1656 * gdb.base/watch_thread_num.exp: Likewise.
1657 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1658 * gdb.guile/scm-frame-inline.exp: Likewise.
1659 * gdb.linespec/explicit.exp: Likewise.
1660 * gdb.opt/inline-break.exp: Likewise.
1661 * gdb.python/py-frame-inline.exp: Likewise.
1662 * gdb.reverse/break-precsave.exp: Likewise.
1663 * gdb.reverse/break-reverse.exp: Likewise.
1664 * gdb.reverse/consecutive-precsave.exp: Likewise.
1665 * gdb.reverse/consecutive-reverse.exp: Likewise.
1666 * gdb.reverse/finish-precsave.exp: Likewise.
1667 * gdb.reverse/finish-reverse.exp: Likewise.
1668 * gdb.reverse/fstatat-reverse.exp: Likewise.
1669 * gdb.reverse/getresuid-reverse.exp: Likewise.
1670 * gdb.reverse/i386-precsave.exp: Likewise.
1671 * gdb.reverse/i386-reverse.exp: Likewise.
1672 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1673 * gdb.reverse/i387-env-reverse.exp: Likewise.
1674 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1675 * gdb.reverse/insn-reverse.exp: Likewise.
1676 * gdb.reverse/machinestate-precsave.exp: Likewise.
1677 * gdb.reverse/machinestate.exp: Likewise.
1678 * gdb.reverse/pipe-reverse.exp: Likewise.
1679 * gdb.reverse/readv-reverse.exp: Likewise.
1680 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1681 * gdb.reverse/rerun-prec.exp: Likewise.
1682 * gdb.reverse/s390-mvcle.exp: Likewise.
1683 * gdb.reverse/solib-precsave.exp: Likewise.
1684 * gdb.reverse/solib-reverse.exp: Likewise.
1685 * gdb.reverse/step-precsave.exp: Likewise.
1686 * gdb.reverse/step-reverse.exp: Likewise.
1687 * gdb.reverse/time-reverse.exp: Likewise.
1688 * gdb.reverse/until-precsave.exp: Likewise.
1689 * gdb.reverse/until-reverse.exp: Likewise.
1690 * gdb.reverse/waitpid-reverse.exp: Likewise.
1691 * gdb.reverse/watch-precsave.exp: Likewise.
1692 * gdb.reverse/watch-reverse.exp: Likewise.
1693 * gdb.threads/kill.exp: Likewise.
1694 * gdb.threads/tid-reuse.exp: Likewise.
1695
d3a07122
SM
16962020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1697
1698 PR gdb/26642
1699 * gdb.base/maint-target-async-off.c: New test.
1700 * gdb.base/maint-target-async-off.exp: New test.
1701
c65c6c42
AM
17022020-10-13 Alan Modra <amodra@gmail.com>
1703
1704 * gdb.arch/powerpc-altivec.s,
1705 * gdb.arch/powerpc-power7.s,
1706 * gdb.arch/powerpc-power8.s,
1707 * gdb.arch/powerpc-power9.s,
1708 * gdb.arch/powerpc-vsx.s,
1709 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1710 * gdb.arch/powerpc-altivec.exp,
1711 * gdb.arch/powerpc-power7.exp,
1712 * gdb.arch/powerpc-power8.exp,
1713 * gdb.arch/powerpc-power9.exp,
1714 * gdb.arch/powerpc-vsx.exp,
1715 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1716 disassembly of mfvsrd/mtvsrd.
1717
f4a0f710
AM
17182020-10-13 Alan Modra <amodra@gmail.com>
1719
1720 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1721 "target architecture" output.
1722 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1723 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1724 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1725 * gdb.arch/s390-disassembler-options.exp: Likewise.
1726
87a37e5e
PA
17272020-10-12 Pedro Alves <pedro@palves.net>
1728
1729 PR exp/26602
1730 PR c++/26550
1731 * gdb.cp/ambiguous.cc (marker1): Delete.
1732 (main): Initialize all the fields of the locals. Replace marker1
1733 call with a "set breakpoint here" marker.
1734 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1735 instead of running to marker1. Add tests printing all the
1736 variables and all the fields of the variables.
1737 (test_ambiguous): New proc, expecting the new GDB output when a
1738 field access is ambiguous. Change all "warning: X ambiguous"
1739 tests to use it.
1740
71e1b6b0
GB
17412020-10-12 Gary Benson <gbenson@redhat.com>
1742
1743 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1744 * gdb.base/msym-bp-2.c (foo): Likewise.
1745 * gdb.base/msym-lang.c (foo): Likewise.
1746 * gdb.base/msym-lang-main.c (foo): Likewise.
1747 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1748 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1749 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1750 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1751 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1752 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1753 * gdb.python/py-objfile.c (static_var): Likewise.
1754 * gdb.python/py-symbol.c (rr): Likewise.
1755 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1756 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1757
9370fd51
AB
17582020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1759
1760 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1761 output of backtrace.
1762
7c184d33
TT
17632020-10-09 Tom Tromey <tromey@adacore.com>
1764
1765 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1766 (Rec): Add field. Fix range.
1767 * gdb.ada/scalar_storage.exp: Update.
1768
3d87245c
HD
17692020-10-09 Hannes Domani <ssbssa@yahoo.de>
1770
1771 PR exp/26714
1772 * gdb.base/printcmds.exp: Add tests for void results.
1773
f5c4b229
JV
17742020-10-09 Jan Vrany <jan.vrany@labware.com>
1775
1776 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1777 is emmited for both 'set directories' and 'directory' commands.
1778
b2701685
TT
17792020-10-08 Tom Tromey <tom@tromey.com>
1780
1781 * gdb.base/style.exp: Check that "main"'s name is styled.
1782
e86efb33
TT
17832020-10-07 Tom Tromey <tromey@adacore.com>
1784
1785 * gdb.base/find.exp: Rename some tests.
1786
30897591
GB
17872020-10-06 Gary Benson <gbenson@redhat.com>
1788
1789 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1790 * gdb.base/list1.c (unused): Likewise.
1791
ced4a4c1
GB
17922020-10-06 Gary Benson <gbenson@redhat.com>
1793
1794 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1795 __attribute__ ((used)).
1796 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1797
ed3bdac4
AB
17982020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1801 make use of regions throughout.
1802 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1803 not {...}.
1804 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1805
cd096ec8
HD
18062020-10-05 Hannes Domani <ssbssa@yahoo.de>
1807
1808 * gdb.base/call-sc.c: Fix return struct on stack test case.
1809 * gdb.base/call-sc.exp: Likewise.
1810
3ee6f75d
GB
18112020-10-02 Gary Benson <gbenson@redhat.com>
1812
1813 * README: Fix "paralell".
1814
f65825ec
GB
18152020-09-30 Gary Benson <gbenson@redhat.com>
1816
1817 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1818 Convert directive to lowercase.
1819 (.Labbrev1_begin): Add missing label.
1820 (abbrev code 0x1): Remove DW_AT_stmt_list.
1821 (.Ldie_b): Likewise.
1822
5f278258
TT
18232020-09-27 Tom Tromey <tom@tromey.com>
1824
1825 * gdb.tui/new-layout.exp: Use with_test_prefix.
1826
8f9929bb
GR
18272020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1828
1829 PR python/26586
1830 * gdb.python/python.exp: add test cases for the from_tty
1831 argument to gdb.execute.
1832
c20c017b
GB
18332020-09-25 Gary Benson <gbenson@redhat.com>
1834
1835 * gdb.base/infcall-nested-structs.exp.tcl: Add
1836 additional_flags=-Wno-tautological-compare for C++
1837 tests when compiling using Clang.
1838
68d654af
GB
18392020-09-25 Gary Benson <gbenson@redhat.com>
1840
1841 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1842 for .c files.
1843
b551a89f
TT
18442020-09-24 Tom Tromey <tromey@adacore.com>
1845
1846 PR tui/26638:
1847 * gdb.tui/list.exp: Check output of "focus next".
1848
20a5fcbd
TT
18492020-09-23 Tom Tromey <tom@tromey.com>
1850
1851 * gdb.dwarf2/intbits.exp: New file.
1852 * gdb.dwarf2/intbits.c: New file.
1853
b167e53f
PA
18542020-09-20 Pedro Alves <pedro@palves.net>
1855
1856 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1857 spawn_id before calling remote_close. Close secondary MI channel.
1858
dbc49e9f
PA
18592020-09-20 Pedro Alves <pedro@palves.net>
1860
1861 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1862 fails.
1863
c8d5abea
AB
18642020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1865
1866 * gdb.fortran/array-slices.exp: Update expected results.
1867 * gdb.fortran/class-allocatable-array.exp: Likewise.
1868 * gdb.fortran/multi-dim.exp: Likewise.
1869 * gdb.fortran/vla-type.exp: Likewise.
1870 * gdb.mi/mi-vla-fortran.exp: Likewise.
1871
14f9473c
VC
18722020-09-18 Victor Collod <vcollod@nvidia.com>
1873
1874 PR gdb/26635
1875 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1876 compatible with i386, and move it to...
1877 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1878 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1879 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1880
e8ef12b9
PA
18812020-09-18 Pedro Alves <pedro@palves.net>
1882
1883 PR gdb/26631
1884 * gdb.multi/multi-target-thread-find.exp: New file.
1885
e11daf7a
PA
18862020-09-18 Pedro Alves <pedro@palves.net>
1887
1888 * gdb.multi/multi-target-continue.exp: New file, factored out from
1889 multi-target.exp.
1890 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1891 multi-target.exp.
1892 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1893 multi-target.exp.
1894 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1895 multi-target.exp.
1896 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1897 multi-target.exp.
1898 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1899 multi-target.exp.
1900 * gdb.multi/multi-target.exp: Delete.
1901
d0edc2b8
AB
19022020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1903
1904 * gdb.fortran/array-slices.exp: Add missing message data.
1905
7474326c
PA
19062020-09-17 Pedro Alves <pedro@palves.net>
1907
1908 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1909
dd23068d
PA
19102020-09-17 Pedro Alves <pedro@palves.net>
1911
1912 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1913 full prototype.
1914
0640a543
PA
19152020-09-17 Pedro Alves <pedro@palves.net>
1916
1917 * gdb.python/py-as-string.c: Add cast.
1918
ef0cdbc1
PA
19192020-09-17 Pedro Alves <pedro@palves.net>
1920
1921 * gdb.base/sizeof.c (fill): Add cast.
1922
3a5eeb8b
PA
19232020-09-17 Pedro Alves <pedro@palves.net>
1924
1925 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1926
a8129512
PA
19272020-09-17 Pedro Alves <pedro@palves.net>
1928
1929 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1930 linkage name.
1931 * gdb.base/prologue.exp: Use print /d.
1932 * gdb.base/symbol-alias.exp: Handle C++ output.
1933 * gdb.base/symbol-alias2.c: Handle C++ output.
1934 [__cplusplus] (func): Explicitly specify linkage name.
1935
a83cdcb6
PA
19362020-09-17 Pedro Alves <pedro@palves.net>
1937
1938 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1939 (struct my_key_t): ... this. Adjust all references.
1940 (struct value_t): Rename to ...
1941 (struct my_value_t): ... this. Adjust all references.
1942 (create_map, add_map_element, create_map_map)
1943 (add_map_map_element): Add casts.
1944
d4bcee5c
PA
19452020-09-17 Pedro Alves <pedro@palves.net>
1946
1947 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1948 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1949
81f90489
PA
19502020-09-17 Pedro Alves <pedro@palves.net>
1951
1952 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1953
0a229804
PA
19542020-09-17 Pedro Alves <pedro@palves.net>
1955
1956 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1957 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1958 (charfoo, intfoo): Define full prototype.
1959 * gdb.base/ptype1.c (charfoo): Define full prototype.
1960 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1961 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1962
c3e5138d
PA
19632020-09-17 Pedro Alves <pedro@palves.net>
1964
1965 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1966 Don't define.
1967 (utf_32_string): Compile for both C and C++.
1968 * gdb.base/charset.exp: Use "print /d".
1969
151fdbad
PA
19702020-09-17 Pedro Alves <pedro@palves.net>
1971
1972 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1973 (nullptr): Rename to ...
1974 (null_ptr): ... this.
1975 * gdb.base/watchpoint.exp: Adjust to rename.
1976
18a25b64
PA
19772020-09-17 Pedro Alves <pedro@palves.net>
1978
1979 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1980 (three_not_flag): Add casts.
1981
11fac337
PA
19822020-09-17 Pedro Alves <pedro@palves.net>
1983
1984 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1985 char array.
1986 (main): Add references to Barrier, TestStrings, TestStringsH and
1987 TestStringsW.
1988 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1989 and expect a full prototype in C++.
1990
52626c58
PA
19912020-09-17 Pedro Alves <pedro@palves.net>
1992
1993 * gdb.base/nested-addr.c (main): Add cast.
1994 * gdb.base/nested-addr.exp: Use "print /d".
1995
52bb0902
PA
19962020-09-17 Pedro Alves <pedro@palves.net>
1997
1998 * gdb.base/break.exp (func): New. Use it throughout when
1999 expecting a function name.
2000
73e18ac9
PA
20012020-09-17 Pedro Alves <pedro@palves.net>
2002
2003 * gdb.base/display.exp: Issue "set print asm-demangle on".
2004
c8b18808
PA
20052020-09-17 Pedro Alves <pedro@palves.net>
2006
2007 * gdb.base/find.c: Include <string.h>.
2008 (init_bufs): Add cast.
2009 * gdb.base/find.exp: Issue "set print asm-demangle on".
2010
fe830662
TT
20112020-09-16 Tom Tromey <tromey@adacore.com>
2012
2013 PR gdb/26598:
2014 * gdb.base/skipcxx.exp: New file.
2015 * gdb.base/skipcxx.cc: New file.
2016
945ff6e2
TV
20172020-09-16 Tom de Vries <tdevries@suse.de>
2018
2019 PR testsuite/26617
2020 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2021 WITH_DEBUG_SECTIONS is defined.
2022 (xstr, str): New macro.
2023 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2024 to get start and size of _Dmain.
2025 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2026 using additional_flags.
2027
da1df1db
TBA
20282020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2029
2030 * gdb.base/bp-cmds-sourced-script.c: New file.
2031 * gdb.base/bp-cmds-sourced-script.exp: New test.
2032 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2033
337882d4
TV
20342020-09-16 Tom de Vries <tdevries@suse.de>
2035
2036 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2037 get the gdb prompt after issuing "monitor exit".
2038
7361f908
TV
20392020-09-16 Tom de Vries <tdevries@suse.de>
2040
2041 PR testsuite/26624
2042 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2043
4d91ddd3
TV
20442020-09-16 Tom de Vries <tdevries@suse.de>
2045
2046 PR testsuite/26618
2047 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2048
08cc37dd
TT
20492020-09-15 Tom Tromey <tromey@adacore.com>
2050
2051 PR rust/26197:
2052 * lib/rust-support.exp (rust_llvm_version): New proc.
2053 * gdb.rust/simple.exp: Check rust_llvm_version.
2054
ee6372f2
TV
20552020-09-14 Tom de Vries <tdevries@suse.de>
2056
2057 * gdb.rust/traits.exp: Fix PATH warning.
2058
dc3a371e
PA
20592020-09-13 Pedro Alves <pedro@palves.net>
2060
2061 * gdb.base/catch-follow-exec.c (main): Add explicit return
2062 statement.
2063 * gdb.base/catch-signal.c (main): Likewise.
2064 * gdb.base/condbreak-call-false.c (main): Likewise.
2065 * gdb.base/consecutive.c (main): Add explicit return
2066 statement and return type.
2067 * gdb.base/cursal.c (main): Add explicit return statement.
2068 * gdb.base/cvexpr.c (main): Likewise.
2069 * gdb.base/display.c (main): Add explicit return statement and
2070 return type.
2071 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2072 * gdb.base/endianity.c (main): Likewise.
2073 * gdb.base/execd-prog.c (main): Likewise.
2074 * gdb.base/gdb1090.c (main): Likewise.
2075 * gdb.base/info_qt.c (main): Likewise.
2076 * gdb.base/lineinc.c (main): Likewise.
2077 * gdb.base/load-command.c (main): Likewise.
2078 * gdb.base/macscp1.c (main): Likewise.
2079 * gdb.base/pr10179-a.c (main): Likewise.
2080 * gdb.base/quit-live.c (main): Likewise.
2081 * gdb.base/scope0.c (main): Likewise.
2082 * gdb.base/settings.c (main): Likewise.
2083 * gdb.base/stack-checking.c (main): Return int.
2084 * gdb.base/varargs.c (main): Add explicit return statement.
2085 * gdb.cp/ambiguous.cc (main): Likewise.
2086 * gdb.cp/anon-struct.cc (main): Likewise.
2087 * gdb.cp/anon-union.cc (main): Likewise.
2088 * gdb.cp/bool.cc (main): Likewise.
2089 * gdb.cp/bs15503.cc (main): Likewise.
2090 * gdb.cp/cplusfuncs.cc (main): Likewise.
2091 * gdb.cp/cttiadd.cc (main): Likewise.
2092 * gdb.cp/extern-c.cc (main): Likewise.
2093 * gdb.cp/filename.cc (main): Likewise.
2094 * gdb.cp/formatted-ref.cc (main): Likewise.
2095 * gdb.cp/mb-ctor.cc (main): Likewise.
2096 * gdb.cp/member-ptr.cc (main): Likewise.
2097 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2098 * gdb.cp/overload-const.cc (main): Likewise.
2099 * gdb.cp/paren-type.cc (main): Likewise.
2100 * gdb.cp/parse-lang.cc (main): Likewise.
2101 * gdb.cp/pr-1023.cc (main): Likewise.
2102 * gdb.cp/psmang1.cc (main): Likewise.
2103 * gdb.cp/readnow-language.cc (main): Likewise.
2104 * gdb.cp/ref-params.cc (main): Likewise.
2105 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2106 * gdb.cp/virtbase2.cc (main): Likewise.
2107 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2108 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2109 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2110 * gdb.mi/mi-console.c (main): Likewise.
2111 * gdb.mi/mi-read-memory.c (main): Likewise.
2112 * gdb.modula2/multidim.c (main): Likewise.
2113 * gdb.opt/inline-small-func.c (main): Likewise.
2114 * gdb.python/py-rbreak.c (main): Likewise.
2115 * gdb.stabs/exclfwd1.c (main): Likewise.
2116 * gdb.trace/qtro.c (main): Likewise.
2117
af26601c
PA
21182020-09-13 Pedro Alves <pedro@palves.net>
2119
2120 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2121 instead of getenv.
2122
2f4b83cd
PA
21232020-09-13 Pedro Alves <pedro@palves.net>
2124
2125 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2126 instead of spawning GDB with remote_spawn.
2127 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2128 gdb_spawn instead of spawning GDB with remote_spawn.
2129
c49da0e4
PA
21302020-09-13 Pedro Alves <pedro@palves.net>
2131
2132 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2133 file and add calls to first and second.
2134 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2135 add call to f.
2136
6791b117
PA
21372020-09-13 Pedro Alves <pedro@palves.net>
2138
2139 * gdb.mi/mi-break-qualified.cc: New file.
2140 * gdb.mi/mi-break-qualified.exp: New file.
2141 * lib/mi-support.exp (mi_create_breakpoint_multi)
2142 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2143 procedures.
2144 (mi_create_breakpoint_1): New, factored out from
2145 mi_create_breakpoint.
2146
3b8d4c5c
PA
21472020-09-13 Pedro Alves <pedro@palves.net>
2148
2149 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2150 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2151 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2152 (register_class): Delete.
2153 (main): Don't call register_class.
2154
d5f96005
PA
21552020-09-13 Pedro Alves <pedro@palves.net>
2156
2157 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2158 (do_tests): Remove "calling method for small class" test.
2159 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2160 (register_class): Delete.
2161 (main): Don't call register_class.
2162 * gdb.cp/call-method-register.exp: New file, based on bits removed
2163 from classes.exp.
2164 * gdb.cp/call-method-register.cc: New file, based on bits removed
2165 from classes.cc.
2166
77f2120b
PA
21672020-09-13 Pedro Alves <pedro@palves.net>
2168
2169 * gdb.base/msym-bp-2.c: New.
2170 * gdb.base/msym-bp-shl-lib.c: New file.
2171 * gdb.base/msym-bp-shl-main-2.c: New file.
2172 * gdb.base/msym-bp-shl-main.c: New file.
2173 * gdb.base/msym-bp-shl.exp: New file.
2174 * gdb.base/msym-bp.c: New file.
2175 * gdb.base/msym-bp.exp: New file.
2176
32aea73e
JB
21772020-09-13 Joel Brobecker <brobecker@adacore.com>
2178
2179 * gdb.base/default.exp: Change $_gdb_major to 11.
2180
2a67f09d
FW
21812020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2182 Felix Willgerodt <Felix.Willgerodt@intel.com>
2183
2184 * x86-avx512bf16.c: New file.
2185 * x86-avx512bf16.exp: Likewise.
2186 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2187
ad570dd7
TV
21882020-09-11 Tom de Vries <tdevries@suse.de>
2189
2190 PR exp/26602
2191 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2192
a56f7391
TBA
21932020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2194
2195 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2196
918619e5
AM
21972020-09-10 Alan Modra <amodra@gmail.com>
2198
2199 PR 26597
2200 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2201
cac1e71d
TV
22022020-09-08 Tom de Vries <tdevries@suse.de>
2203
2204 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2205 after gdb_starti_cmd.
2206
c5cd900e
AKS
22072020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2208
2209 * lib/fortran.exp (fortran_complex8): New proc.
2210 (fortran_complex16): New proc.
2211 * gdb.fortran/complex.exp: Use routines from fortran.exp
2212 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2213 * gdb.fortran/vla-ptr-info.exp: Likewise.
2214
8f5c6526
TV
22152020-09-03 Tom de Vries <tdevries@suse.de>
2216
2217 PR breakpoint/26546
2218 * gdb.base/label-without-address.exp: Runto main first.
2219
02c6f3f1
TT
22202020-09-02 Tom Tromey <tromey@adacore.com>
2221
2222 * gdb.ada/mi_var_access.exp: Test children of access variable.
2223 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2224 * gdb.ada/mi_var_array.exp: Update.
2225
efe24f05
KB
22262020-08-31 Kevin Buettner <kevinb@redhat.com>
2227
2228 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2229 on docker w/ AUFS storage driver.
2230
973695d6
KB
22312020-08-31 Kevin Buettner <kevinb@redhat.com>
2232
2233 * gdb.base/corefile2.exp (renamed binfile): New tests.
2234
f3bd50f1
SM
22352020-08-31 Simon Marchi <simon.marchi@efficios.com>
2236
2237 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2238
22b9b4b0
SL
22392020-08-31 Simon Marchi <simon.marchi@efficios.com>
2240
2241 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2242 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2243
8efaf6b3
SM
22442020-08-31 Simon Marchi <simon.marchi@efficios.com>
2245
2246 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2247 output, printing a "not saved" value from history and printing a
2248 convenience variable created from a "not saved" value.
2249
e840f2e3
TV
22502020-08-31 Tom de Vries <tdevries@suse.de>
2251
2252 * gdb.base/eh_return.exp: Use nopie.
2253
8f57f343
PA
22542020-08-28 Pedro Alves <pedro@palves.net>
2255
2256 * gdb.base/advance-until-multiple-locations.exp
2257 (advance_overload, until_overload): Adjust to match the
2258 frame/function header instead of the source line text.
2259
626d2320
TV
22602020-08-28 Tom de Vries <tdevries@suse.de>
2261
2262 * gdb.base/label-without-address.c: New test.
2263 * gdb.base/label-without-address.exp: New file.
2264
df631783
PA
22652020-08-27 Pedro Alves <pedro@palves.net>
2266
2267 PR gdb/26523
2268 PR gdb/26524
2269 * gdb.base/advance-until-multiple-locations.cc: New.
2270 * gdb.base/advance-until-multiple-locations.exp: New.
2271
48b076bb
SM
22722020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2273
2274 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2275
c2015ce4
AB
22762020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2277
2278 * gdb.arch/amd64-byte.exp: Make test names unique, use
2279 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2280 * gdb.arch/amd64-dword.exp: Likewise.
2281 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2282 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2283 unique.
2284 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2285 * gdb.arch/amd64-word.exp: Make test names unique, use
2286 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2287 * gdb.arch/i386-byte.exp: Make test names unique, use
2288 gdb_breakpoint.
2289 * gdb.arch/i386-word.exp: Likewise.
2290
995d3a19
SV
22912020-08-25 Shahab Vahedi <shahab@synopsys.com>
2292
2293 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2294
8cac2b31
SM
22952020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2296
2297 PR gdb/26532
2298 * gdb.threads/stepi-random-signal.exp: Update pattern.
2299
2bc19622
SM
23002020-08-25 Simon Marchi <simon.marchi@efficios.com>
2301
2302 PR gdb/26532
2303 * gdb.base/ui-redirect.exp: Update pattern.
2304
b04aa1fc
GB
23052020-08-25 Gary Benson <gbenson@redhat.com>
2306
2307 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2308 when compiling with clang.
8571e9c8 2309 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2310
9f68b453
GB
23112020-08-25 Gary Benson <gbenson@redhat.com>
2312
2313 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2314 Add additional_flags=-Wno-inaccessible-base when compiling
2315 with GCC >= 10.1 or clang. Add additional_flags=-w when
2316 compiling with GCC < 10.
2317
3945d2d7
GM
23182020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2319
2320 PR m2/26372
fc5d6901
SM
2321 * gdb.modula2/multidim.c: New file.
2322 * gdb.modula2/multidim.exp: New file.
3945d2d7 2323
60122dbe
SM
23242020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2325
2326 * lib/gdb.exp (runto): Always emit fail on internal error.
2327
1eb8556f
SM
23282020-08-24 Simon Marchi <simon.marchi@efficios.com>
2329
2330 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2331 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2332 Likewise.
2333 * gdb.threads/stepi-random-signal.exp: Likewise.
2334
33bf4c5c
TBA
23352020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2336
2337 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2338 * gdb.trace/strace.exp: Ditto.
2339
c2fd7fae
AKS
23402020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2341
2342 * gdb.fortran/vla-type.exp: Skip commands not required for
2343 the Flang compiled binaries after prologue fix.
2344
326afb72
TT
23452020-08-17 Tom de Vries <tdevries@suse.de>
2346 Tom Tromey <tromey@adacore.com>
2347
2348 PR rust/26197:
2349 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2350
3ae7ab99
TT
23512020-08-17 Tom Tromey <tromey@adacore.com>
2352
2353 * gdb.ada/mi_var_access.exp: New file.
2354 * gdb.ada/mi_var_access/mi_access.adb: New file.
2355 * gdb.ada/mi_var_access/pck.adb: New file.
2356 * gdb.ada/mi_var_access/pck.ads: New file.
2357
f569c1c5
TV
23582020-08-16 Tom de Vries <tdevries@suse.de>
2359
2360 PR gdb/25350
2361 * gdb.base/eh_return.c: New test.
2362 * gdb.base/eh_return.exp: New file.
2363
3d11c30a
TV
23642020-08-15 Tom de Vries <tdevries@suse.de>
2365
2366 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2367 (mixed_func_1d_): Use fortran_charlen_t in decl.
2368
547ce8f0
TV
23692020-08-15 Tom de Vries <tdevries@suse.de>
2370
2371 PR backtrace/26390
2372 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2373 Update expected pattern.
2374
a54a7f13
PA
23752020-08-13 Pedro Alves <pedro@palves.net>
2376
2377 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2378 * gdb.fortran/library-module.exp: Likewise.
2379 * gdb.fortran/logical.exp: Likewise.
2380 * gdb.fortran/module.exp: Likewise.
2381 * gdb.fortran/print_type.exp: Likewise.
2382 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2383 * gdb.fortran/vla-datatypes.exp: Likewise.
2384 * gdb.fortran/vla-history.exp: Likewise.
2385 * gdb.fortran/vla-ptr-info.exp: Likewise.
2386 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2387 * gdb.fortran/vla-ptype.exp: Likewise.
2388 * gdb.fortran/vla-sizeof.exp: Likewise.
2389 * gdb.fortran/vla-type.exp: Likewise.
2390 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2391 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2392 * gdb.fortran/vla-value-sub.exp: Likewise.
2393 * gdb.fortran/vla-value.exp: Likewise.
2394
7a82e903
PA
23952020-08-13 Pedro Alves <pedro@palves.net>
2396
2397 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2398 * gdb.ada/access_to_packed_array.exp: Likewise.
2399 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2400 * gdb.ada/addr_arith.exp: Likewise.
2401 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2402 * gdb.ada/arr_arr.exp: Likewise.
2403 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2404 * gdb.ada/array_bounds.exp: Likewise.
2405 * gdb.ada/array_of_variable_length.exp: Likewise.
2406 * gdb.ada/array_ptr_renaming.exp: Likewise.
2407 * gdb.ada/array_subscript_addr.exp: Likewise.
2408 * gdb.ada/arraydim.exp: Likewise.
2409 * gdb.ada/arrayparam.exp: Likewise.
2410 * gdb.ada/arrayptr.exp: Likewise.
2411 * gdb.ada/assign_1.exp: Likewise.
2412 * gdb.ada/assign_arr.exp: Likewise.
2413 * gdb.ada/atomic_enum.exp: Likewise.
2414 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2415 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2416 * gdb.ada/bias.exp: Likewise.
2417 * gdb.ada/boolean_expr.exp: Likewise.
2418 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2419 * gdb.ada/bp_enum_homonym.exp: Likewise.
2420 * gdb.ada/bp_inlined_func.exp: Likewise.
2421 * gdb.ada/bp_on_var.exp: Likewise.
2422 * gdb.ada/bp_range_type.exp: Likewise.
2423 * gdb.ada/bp_reset.exp: Likewise.
2424 * gdb.ada/call_pn.exp: Likewise.
2425 * gdb.ada/catch_assert_if.exp: Likewise.
2426 * gdb.ada/catch_ex.exp: Likewise.
2427 * gdb.ada/catch_ex_std.exp: Likewise.
2428 * gdb.ada/char_enum.exp: Likewise.
2429 * gdb.ada/char_param.exp: Likewise.
2430 * gdb.ada/complete.exp: Likewise.
2431 * gdb.ada/cond_lang.exp: Likewise.
2432 * gdb.ada/convvar_comp.exp: Likewise.
2433 * gdb.ada/dgopt.exp: Likewise.
2434 * gdb.ada/disc_arr_bound.exp: Likewise.
2435 * gdb.ada/display_nested.exp: Likewise.
2436 * gdb.ada/dot_all.exp: Likewise.
2437 * gdb.ada/dyn_loc.exp: Likewise.
2438 * gdb.ada/dyn_stride.exp: Likewise.
2439 * gdb.ada/excep_handle.exp: Likewise.
2440 * gdb.ada/expr_delims.exp: Likewise.
2441 * gdb.ada/expr_with_funcall.exp: Likewise.
2442 * gdb.ada/exprs.exp: Likewise.
2443 * gdb.ada/fin_fun_out.exp: Likewise.
2444 * gdb.ada/fixed_cmp.exp: Likewise.
2445 * gdb.ada/formatted_ref.exp: Likewise.
2446 * gdb.ada/frame_arg_lang.exp: Likewise.
2447 * gdb.ada/frame_args.exp: Likewise.
2448 * gdb.ada/fullname_bp.exp: Likewise.
2449 * gdb.ada/fun_addr.exp: Likewise.
2450 * gdb.ada/fun_in_declare.exp: Likewise.
2451 * gdb.ada/fun_overload_menu.exp: Likewise.
2452 * gdb.ada/fun_renaming.exp: Likewise.
2453 * gdb.ada/funcall_char.exp: Likewise.
2454 * gdb.ada/funcall_param.exp: Likewise.
2455 * gdb.ada/funcall_ptr.exp: Likewise.
2456 * gdb.ada/funcall_ref.exp: Likewise.
2457 * gdb.ada/homonym.exp: Likewise.
2458 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2459 * gdb.ada/info_auto_lang.exp: Likewise.
2460 * gdb.ada/info_exc.exp: Likewise.
2461 * gdb.ada/info_types.exp: Likewise.
2462 * gdb.ada/int_deref.exp: Likewise.
2463 * gdb.ada/interface.exp: Likewise.
2464 * gdb.ada/iwide.exp: Likewise.
2465 * gdb.ada/lang_switch.exp: Likewise.
2466 * gdb.ada/length_cond.exp: Likewise.
2467 * gdb.ada/maint_with_ada.exp: Likewise.
2468 * gdb.ada/mi_catch_assert.exp: Likewise.
2469 * gdb.ada/mi_catch_ex.exp: Likewise.
2470 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2471 * gdb.ada/mi_dyn_arr.exp: Likewise.
2472 * gdb.ada/mi_ex_cond.exp: Likewise.
2473 * gdb.ada/mi_exc_info.exp: Likewise.
2474 * gdb.ada/mi_interface.exp: Likewise.
2475 * gdb.ada/mi_prot.exp: Likewise.
2476 * gdb.ada/mi_ref_changeable.exp: Likewise.
2477 * gdb.ada/mi_string_access.exp: Likewise.
2478 * gdb.ada/mi_task_arg.exp: Likewise.
2479 * gdb.ada/mi_task_info.exp: Likewise.
2480 * gdb.ada/mi_var_array.exp: Likewise.
2481 * gdb.ada/mi_var_union.exp: Likewise.
2482 * gdb.ada/mi_variant.exp: Likewise.
2483 * gdb.ada/minsyms.exp: Likewise.
2484 * gdb.ada/mod_from_name.exp: Likewise.
2485 * gdb.ada/nested.exp: Likewise.
2486 * gdb.ada/null_array.exp: Likewise.
2487 * gdb.ada/optim_drec.exp: Likewise.
2488 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2489 * gdb.ada/packed_array_assign.exp: Likewise.
2490 * gdb.ada/packed_tagged.exp: Likewise.
2491 * gdb.ada/pp-rec-component.exp: Likewise.
2492 * gdb.ada/print_chars.exp: Likewise.
2493 * gdb.ada/print_pc.exp: Likewise.
2494 * gdb.ada/ptr_typedef.exp: Likewise.
2495 * gdb.ada/ptype_arith_binop.exp: Likewise.
2496 * gdb.ada/ptype_array.exp: Likewise.
2497 * gdb.ada/ptype_field.exp: Likewise.
2498 * gdb.ada/ptype_tagged_param.exp: Likewise.
2499 * gdb.ada/ptype_union.exp: Likewise.
2500 * gdb.ada/py_range.exp: Likewise.
2501 * gdb.ada/py_taft.exp: Likewise.
2502 * gdb.ada/rdv_wait.exp: Likewise.
2503 * gdb.ada/rec_comp.exp: Likewise.
2504 * gdb.ada/rec_return.exp: Likewise.
2505 * gdb.ada/ref_param.exp: Likewise.
2506 * gdb.ada/ref_tick_size.exp: Likewise.
2507 * gdb.ada/rename_subscript_param.exp: Likewise.
2508 * gdb.ada/repeat_dyn.exp: Likewise.
2509 * gdb.ada/same_component_name.exp: Likewise.
2510 * gdb.ada/same_enum.exp: Likewise.
2511 * gdb.ada/scalar_storage.exp: Likewise.
2512 * gdb.ada/set_wstr.exp: Likewise.
2513 * gdb.ada/small_reg_param.exp: Likewise.
2514 * gdb.ada/str_binop_equal.exp: Likewise.
2515 * gdb.ada/str_ref_cmp.exp: Likewise.
2516 * gdb.ada/str_uninit.exp: Likewise.
2517 * gdb.ada/sub_variant.exp: Likewise.
2518 * gdb.ada/sym_print_name.exp: Likewise.
2519 * gdb.ada/taft_type.exp: Likewise.
2520 * gdb.ada/tagged.exp: Likewise.
2521 * gdb.ada/tagged_access.exp: Likewise.
2522 * gdb.ada/task_bp.exp: Likewise.
2523 * gdb.ada/task_switch_in_core.exp: Likewise.
2524 * gdb.ada/tasks.exp: Likewise.
2525 * gdb.ada/tick_last_segv.exp: Likewise.
2526 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2527 * gdb.ada/type_coercion.exp: Likewise.
2528 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2529 * gdb.ada/unchecked_union.exp: Likewise.
2530 * gdb.ada/uninitialized_vars.exp: Likewise.
2531 * gdb.ada/var_arr_attrs.exp: Likewise.
2532 * gdb.ada/var_arr_typedef.exp: Likewise.
2533 * gdb.ada/var_rec_arr.exp: Likewise.
2534 * gdb.ada/variant-record.exp: Likewise.
2535 * gdb.ada/variant.exp: Likewise.
2536 * gdb.ada/variant_record_packed_array.exp: Likewise.
2537 * gdb.ada/varsize_limit.exp: Likewise.
2538 * gdb.ada/whatis_array_val.exp: Likewise.
2539 * gdb.ada/widewide.exp: Likewise.
2540 * gdb.ada/win_fu_syms.exp: Likewise.
2541
25422020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2543
2544 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2545
10c381b5
AB
25462020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2547
2548 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2549 unset the array variable.
2550
8f34b746
TV
25512020-08-03 Tom de Vries <tdevries@suse.de>
2552
2553 PR symtab/26333
2554 * lib/dwarf.exp (DW_LNE_user): New proc.
2555 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2556 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2557
0245e136
KB
25582020-07-31 Kevin Buettner <kevinb@redhat.com>
2559
2560 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2561 to 'uintptr_t'
2562 (inttypes.h): Include.
2563
9ef1ec5d
KB
25642020-07-31 Kevin Buettner <kevinb@redhat.com>
2565
2566 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2567 (C5_24k): Delete.
2568 (C5_8k, C5_64k, C5_256k): New macros.
2569 (buf_ro): Allocate 256 KiB of initialized data.
2570
4c55e970
TBA
25712020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2572
2573 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2574 that attempt to overwrite an existing condition with a condition
2575 that fails parsing and also with a condition that parses fine
2576 but contains junk at the end.
2577
1e620590
TBA
25782020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2579
2580 * gdb.base/condbreak-bad.c: New test.
2581 * gdb.base/condbreak-bad.exp: New file.
2582
e12dcc50
TV
25832020-07-30 Tom de Vries <tdevries@suse.de>
2584
2585 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2586 out of ...
2587 (GDBInfoModuleSymbols::check_entry): ... here.
2588 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2589 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2590 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2591
6cc64caa
TV
25922020-07-30 Tom de Vries <tdevries@suse.de>
2593
2594 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2595 "__class_some_module_Number_t" optional.
2596
90fd07fc
TV
25972020-07-29 Tom de Vries <tdevries@suse.de>
2598
2599 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2600 multiple locations.
2601
f5c79e97
TV
26022020-07-29 Tom de Vries <tdevries@suse.de>
2603
2604 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2605 rather than function name.
2606
f75a0693
AB
26072020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2608
2609 PR symtab/26270:
2610 * gdb.cp/disasm-func-name.cc: New file.
2611 * gdb.cp/disasm-func-name.exp: New file.
2612
4888741a
TT
26132020-07-28 Tom Tromey <tromey@adacore.com>
2614
2615 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2616 'varval' location.
2617
43d5901d
AB
26182020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2619
2620 * gdb.python/py-unwind.py: Update to make use of a register
2621 descriptor.
2622
14fa8fb3
AB
26232020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2624
2625 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2626
e79eb02f
AB
26272020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2628
2629 PR fortran/23051
2630 PR fortran/26139
2631 * gdb.fortran/class-allocatable-array.exp: New file.
2632 * gdb.fortran/class-allocatable-array.f90: New file.
2633 * gdb.fortran/pointer-to-pointer.exp: New file.
2634 * gdb.fortran/pointer-to-pointer.f90: New file.
2635
876518dd
TV
26362020-07-25 Tom de Vries <tdevries@suse.de>
2637
2638 PR symtab/26243
2639 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2640 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2641
6dcfb80a
TV
26422020-07-24 Tom de Vries <tdevries@suse.de>
2643
2644 PR testsuite/26293
2645 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2646
e7bc9db8
PA
26472020-07-23 Pedro Alves <pedro@palves.net>
2648
2649 * gdb.server/server-kill.exp (prepare): New, factored out from the
2650 top level.
2651 (kill_server): New.
2652 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2653 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2654
78344df7
AB
26552020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2656
2657 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2658
25dfed24
SL
26592020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2660
2661 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2662 Initialize to empty string at top level.
2663 (gdb_wrapper_init): Revert check for file existence on build.
2664 Build the wrapper in its default place, not a build-specific
2665 location. When host == build, make the pathname absolute.
2666 (gdb_compile): Delete leftover declaration of
2667 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2668 string instead of uninitialized.
2669
7da515fd
KB
26702020-07-22 Kevin Buettner <kevinb@redhat.com>
2671
2672 * gdb.base/corefile2.exp: New file.
2673 * gdb.base/coremaker2.exp: New file.
2674
9c5ec5c2
KB
26752020-07-22 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.base/coredump-filter.exp: Add second
2678 non-Private-Shared-Anon-File test.
2679 (test_disasm): Rename binfile for test which is expected
2680 to fail.
2681
f9e233c9
KB
26822020-07-22 Kevin Buettner <kevinb@redhat.com>
2683
2684 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2685 data in core file".
2686 * gdb.base/coremaker.c (buf2ro): New global.
2687 (mmapdata): Add a read-only mmap mapping.
2688
94c265d7
KB
26892020-07-22 Kevin Buettner <kevinb@redhat.com>
2690
2691 PR corefiles/25631
2692 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2693 New test.
2694 * gdb.base/coremaker.c (buf3): New global.
2695 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2696 flags.
2697
26982020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2699
2700 * gdb.base/coremaker.c (filler_ro): New global constant.
2701
32fa152e
TT
27022020-07-22 Tom Tromey <tromey@adacore.com>
2703
2704 * gdb.ada/mi_prot.exp: New file.
2705 * gdb.ada/mi_prot/pkg.adb: New file.
2706 * gdb.ada/mi_prot/pkg.ads: New file.
2707 * gdb.ada/mi_prot/prot.adb: New file.
2708
c8474dc3
TBA
27092020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2710
2711 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2712 loads two JITers.
2713
baf8791e
AB
27142020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2715
2716 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2717
f7306dac
AB
27182020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2719
2720 * gdb.python/py-arch-reg-names.exp: Additional tests.
2721
6d3d6e4b
TV
27222020-07-21 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2725 breakpoint locations".
2726 * gdb.reverse/solib-reverse.exp: Same.
2727
803d0592
TV
27282020-07-21 Tom de Vries <tdevries@suse.de>
2729
2730 * gdb.reverse/step-reverse.c (callee): Merge statements.
2731
e9bdc510
TV
27322020-07-21 Tom de Vries <tdevries@suse.de>
2733
2734 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2735 line numbers for some variables.
2736
f0f9e75a
TV
27372020-07-21 Tom de Vries <tdevries@suse.de>
2738
2739 * gdb.opt/inline-locals.c (init_array): New func.
2740 (func1): Use init_array.
2741 * gdb.opt/inline-locals.exp: Update pattern.
2742
bd460ecb
TV
27432020-07-21 Tom de Vries <tdevries@suse.de>
2744
2745 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2746 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2747
ae5369e7
LC
27482020-07-20 Ludovic Courtès <ludo@gnu.org>
2749
2750 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2751 * gdb.guile/types-module.exp: Remove "ERROR:" from
2752 regexps since Guile 3.0 no longer prints that.
2753
68cf161c
LC
27542020-07-20 Ludovic Courtès <ludo@gnu.org>
2755
2756 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2757 error regexp to match on Guile 2.2.
2758
c14b4913
GB
27592020-07-20 Gary Benson <gbenson@redhat.com>
2760
2761 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2762 with clang.
2763
b243ba58
TV
27642020-07-20 Tom de Vries <tdevries@suse.de>
2765
2766 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2767 (omp_set_lock_in_order): New function.
2768 (single_scope, multi_scope, nested_func, nested_parallel): Use
2769 omp_set_lock_in_order and omp_unset_lock.
2770 (main): Init and destroy lock and lock2.
2771
c06ad8b5
TV
27722020-07-20 Tom de Vries <tdevries@suse.de>
2773
2774 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2775
6e22f117
TV
27762020-07-20 Tom de Vries <tdevries@suse.de>
2777
2778 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2779
33176ea7
TV
27802020-07-17 Tom de Vries <tdevries@suse.de>
2781
2782 * gdb.base/valgrind-infcall-2.c: New test.
2783 * gdb.base/valgrind-infcall-2.exp: New file.
2784 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2785
90c3ec2d
TV
27862020-07-17 Tom de Vries <tdevries@suse.de>
2787
2788 * gdb.dlang/circular.c (found): Use found_label as label name.
2789 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2790 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2791 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2792 * gdb.dwarf2/ada-linkage-name.exp: Same.
2793 * gdb.dwarf2/arr-subrange.exp: Same.
2794 * gdb.dwarf2/atomic-type.exp: Same.
2795 * gdb.dwarf2/comp-unit-lang.exp: Same.
2796 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2797 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2798 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2799 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2800 * gdb.dwarf2/implptr-64bit.exp: Same.
2801 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2802 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2803 * gdb.dwarf2/imported-unit.exp: Same.
2804 * gdb.dwarf2/main-subprogram.exp: Same.
2805 * gdb.dwarf2/missing-type-name.exp: Same.
2806 * gdb.dwarf2/nonvar-access.exp: Same.
2807 * gdb.dwarf2/struct-with-sig.exp: Same.
2808 * gdb.dwarf2/typedef-void-finish.exp: Same.
2809 * gdb.dwarf2/void-type.exp: Same.
2810
10da644d
TV
28112020-07-17 Tom de Vries <tdevries@suse.de>
2812
2813 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2814 src parameter.
2815 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2816 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2817 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2818 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2819 * gdb.dwarf2/dwz.exp: Same.
2820 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2821 * gdb.dwarf2/implref-array.exp: Same.
2822 * gdb.dwarf2/implref-const.exp: Same.
2823 * gdb.dwarf2/implref-global.exp: Same.
2824 * gdb.dwarf2/implref-struct.exp: Same.
2825 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2826 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2827 * gdb.dwarf2/var-access.exp: Same.
2828 * gdb.dwarf2/varval.exp: Same.
2829 * gdb.trace/entry-values.exp: Same.
2830
315e6afc
TV
28312020-07-17 Tom de Vries <tdevries@suse.de>
2832
2833 * lib/dwarf.exp (Dwarf::extern): Remove.
2834 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2835 * gdb.dlang/circular.exp: Same.
2836 * gdb.dwarf2/comp-unit-lang.exp: Same.
2837 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2838 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2839 * gdb.dwarf2/dwz.exp: Same.
2840 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2841 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2842 * gdb.dwarf2/imported-unit.exp: Same.
2843 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2844
5597c940
SL
28452020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2846
2847 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2848 Use double quotes instead of single quotes.
2849
d0ce17d8
CT
28502020-07-16 Caroline Tice <cmtice@google.com>
2851
2852 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2853 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2854
853772cc
TV
28552020-07-16 Tom de Vries <tdevries@suse.de>
2856
2857 * lib/dwarf.exp (program): Initialize _line.
2858 (DW_LNE_end_sequence): Reinitialize _line.
2859 (DW_LNS_advance_line): Update _line.
2860 (line): New proc.
2861 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2862 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2863 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2864 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2865 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2866 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2867
fe07b572
AB
28682020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2869
2870 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2871 generic.
2872
52781cce
TV
28732020-07-15 Tom de Vries <tdevries@suse.de>
2874
2875 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2876 is_amd64_regs_target.
2877
3dcc261c
AB
28782020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2879
2880 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2881 * gdb.fortran/ptype-on-functions.f90: Likewise.
2882
054a0959
SM
28832020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2884
2885 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2886 values in documentation for addr_size to 4 and 8.
2887
ccb9eba6
AB
28882020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2889
2890 * gdb.arch/amd64-osabi.exp: Update.
2891 * gdb.arch/arm-disassembler-options.exp: Update.
2892 * gdb.arch/powerpc-disassembler-options.exp: Update.
2893 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2894 * gdb.arch/s390-disassembler-options.exp: Update.
2895 * gdb.base/all-architectures.exp.tcl: Update.
2896 * gdb.base/attach-pie-noexec.exp: Update.
2897 * gdb.base/catch-syscall.exp: Update.
2898 * gdb.xml/tdesc-arch.exp: Update.
2899
025a39a7
TV
29002020-07-14 Tom de Vries <tdevries@suse.de>
2901
2902 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2903 (local_gettid): ... this.
2904 (fn): Update.
2905
74e4b667
SL
29062020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2907
2908 * gdb.base/info_sources.exp: Skip directory match tests on
2909 remote hosts.
2910
f413dd74
GB
29112020-07-13 Gary Benson <gbenson@redhat.com>
2912
2913 * gdb.base/savedregs.exp (caller): Use parentheses to
2914 make expected expression evaluation ordering explicit.
2915
915771bb
GB
29162020-07-13 Gary Benson <gbenson@redhat.com>
2917
2918 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2919
2a122642
GB
29202020-07-13 Gary Benson <gbenson@redhat.com>
2921
2922 * gdb.base/bigcore.c (main): Use a volatile pointer when
2923 attempting to trigger a SIGSEGV.
2924 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2925 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2926 * gdb.base/savedregs.c (thrower): Likewise.
2927 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2928
3f00c730
GB
29292020-07-13 Gary Benson <gbenson@redhat.com>
2930
2931 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2932 defining and using VLA structure fields into...
2933 * gdb.base/vla-struct-fields.c: New file.
2934 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2935 tests into...
2936 * gdb.base/vla-struct-fields.exp: New file.
2937
963eeee4
TV
29382020-07-13 Tom de Vries <tdevries@suse.de>
2939
2940 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2941 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2942 * gdb.base/gold-gdb-index.exp: Same.
2943 * gdb.base/morestack.exp: Same.
2944
0ed35c9a
DX
29452020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2946
2947 PR rust/26121
2948 * gdb.rust/modules.rs: Prevent linker from discarding test
2949 symbol.
2950
4fdba23d
PA
29512020-07-10 Pedro Alves <pedro@palves.net>
2952
2953 PR gdb/26199
2954 * gdb.multi/multi-target.c (exit_thread): New.
2955 (thread_start): Break loop if EXIT_THREAD.
2956 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2957 (top level) Call test_no_resumed.
2958
15f3b077
TT
29592020-07-08 Tom Tromey <tromey@adacore.com>
2960
2961 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2962 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2963
9fc501fd
AB
29642020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2965
2966 PR python/22748
2967 * gdb.opt/inline-frame-tailcall.c: New file.
2968 * gdb.opt/inline-frame-tailcall.exp: New file.
2969 * gdb.python/py-unwind-inline.c: New file.
2970 * gdb.python/py-unwind-inline.exp: New file.
2971 * gdb.python/py-unwind-inline.py: New file.
2972
64cb3757
AB
29732020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2974
2975 * gdb.python/py-arch-reg-groups.exp: New file.
2976
0f767f94
AB
29772020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2978
2979 * gdb.python/py-arch-reg-names.exp: New file.
2980
87dbc774
AB
29812020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2982
2983 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2984 gdb.PendingFrame.architecture method.
2985
d8cc8af6
TV
29862020-07-06 Tom de Vries <tdevries@suse.de>
2987
2988 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2989
3c8ea5be
PA
29902020-07-03 Pedro Alves <palves@redhat.com>
2991
2992 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2993 explicitly write negative numbers.
2994 * gdb.base/structs2.exp: Adjust expected output.
2995
bf90c83a
PA
29962020-07-03 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.base/charset.c (init_string): Change all char parameters to
2999 unsigned char parameters.
3000
2eb82157
PA
30012020-07-03 Pedro Alves <palves@redhat.com>
3002
3003 * gdb.base/call-sc.exp (start_scalars_test): Use
3004 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3005 * gdb.base/overlays.c: Remove references to PARAMS.
3006 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3007 * gdb.base/reread.exp: Don't set 'prototypes' global.
3008 * gdb.base/structs.exp (start_structs_test): Use
3009 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3010 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3011 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3012 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3013 call.
3014 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3015
9adda7af
PA
30162020-07-03 Pedro Alves <palves@redhat.com>
3017
3018 * gdb.base/m32rovly.c: Delete.
3019 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3020
2a17c803
PW
30212020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3022
3023 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3024 of gdb_py_test_multiple.
3025 * gdb.python/py-cmd.exp: Likewise.
3026 * gdb.python/py-events.exp: Likewise.
3027 * gdb.python/py-function.exp: Likewise.
3028 * gdb.python/py-inferior.exp: Likewise.
3029 * gdb.python/py-infthread.exp: Likewise.
3030 * gdb.python/py-linetable.exp: Likewise.
3031 * gdb.python/py-parameter.exp: Likewise.
3032 * gdb.python/py-value.exp: Likewise.
3033
b011fe1a
TV
30342020-06-30 Tom de Vries <tdevries@suse.de>
3035
3036 PR testsuite/26175
3037 * lib/future.exp (gdb_default_target_compile): Detect and handle
3038 early_flags.
3039
df5b8876
SM
30402020-06-29 Simon Marchi <simon.marchi@efficios.com>
3041
3042 * boards/simavr.exp (gdb_load): Catch errors when closing
3043 previous connection. Close connection, wait for process and
3044 unset simavr_spawn_id on failure.
3045
a3ca48cd
TV
30462020-06-29 Tom de Vries <tdevries@suse.de>
3047
3048 * lib/gdb.exp (unknown): Make test-case unresolved.
3049
b0237c0e
TV
30502020-06-29 Tom de Vries <tdevries@suse.de>
3051
3052 PR gdb/25475
3053 * gdb.server/solib-list.exp: Verify that the symbol reload
3054 confirmation question is asked.
3055
c0b3b3bd
PW
30562020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3057
3058 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3059 have a input seq nr in each pass message.
fe4c3d43 3060 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3061 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3062 * gdb.python/python.exp: Make test names unique,
3063 use gdb_test_multiline instead of gdb_py_test_multiple,
3064 use $gdb_test_name.
3065 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3066
1776e3e5
NA
30672020-06-26 Nick Alcock <nick.alcock@oracle.com>
3068
3069 * configure.ac: Add --enable-libctf.
3070 * aclocal.m4: sinclude ../config/enable.m4.
3071 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3072 * lib/gdb.exp (skip_ctf_tests): Use it.
3073 * gdb.base/ctf-constvars.exp: Error message tweak.
3074 * gdb.base/ctf-ptype.exp: Likewise.
3075 * configure: Regenerate.
3076
f53b3eeb
GB
30772020-06-26 Gary Benson <gbenson@redhat.com>
3078
3079 * gdb.cp/try_catch.cc: Include string.h.
3080 (main): Replace comparison against string literal with
3081 strcmp, avoiding build failure with -Wstring-compare.
3082 Add "marker test-complete".
3083 * gdb.cp/try_catch.exp: Run the test to the above marker,
3084 then verify that the value of "test" is still true.
3085
6d74da72
AB
30862020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3087
3088 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3089
2e52d038
AB
30902020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3091
3092 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3093
3b9fce96
AB
30942020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3095
3096 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3097 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3098 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3099 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3100 * gdb.arch/riscv-tdesc-loading.exp: New file.
3101
ed69cbc8
AB
31022020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3103
3104 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3105
767a879e
AB
31062020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3107
3108 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3109 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3110 * gdb.arch/riscv-tdesc-regs.c: New file.
3111 * gdb.arch/riscv-tdesc-regs.exp: New file.
3112
221db974
PA
31132020-06-24 Pedro Alves <palves@redhat.com>
3114
3115 * gdb.arch/amd64-entry-value-paramref.exp: Use
3116 prepare_for_testing_full and don't pass "c++" for the .S file
3117 build spec.
3118 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3119 $options, since it's an assembly file. Remove -Wno-deprecated.
3120 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3121 compiling C++ programs.
3122
331733cd
PA
31232020-06-24 Pedro Alves <palves@redhat.com>
3124
3125 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3126 Clang, add "-Wno-unknown-warning-option" to the options.
3127
caa7fd04
AB
31282020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3129
3130 * gdb.xml/tdesc-reload.c: New file.
3131 * gdb.xml/tdesc-reload.exp: New file.
3132 * gdb.xml/maint-xml-dump-01.xml: New file.
3133 * gdb.xml/maint-xml-dump-02.xml: New file.
3134 * gdb.xml/maint-xml-dump.exp: New file.
3135
bb8d1260
SL
31362020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3137
3138 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3139 Adjust for omitted commands when TUI is disabled.
3140
7e4b9c4c
GB
31412020-06-23 Gary Benson <gbenson@redhat.com>
3142 Pedro Alves <palves@redhat.com>
3143
3144 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3145 * gdb.cp/nsimport.cc: Likewise.
3146 * gdb.cp/nsnested.cc: Likewise.
3147 * gdb.cp/nsnoimports.cc: Likewise.
3148 * gdb.cp/nsusing.cc: Likewise.
3149 * gdb.cp/smartp.cc: Likewise.
3150 * gdb.python/py-pp-integral.c: Likewise.
3151 * gdb.python/py-pp-re-notag.c: Likewise.
3152
2e573c0a
GB
31532020-06-23 Gary Benson <gbenson@redhat.com>
3154
3155 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3156 * gdb.cp/nsimport.cc: Likewise.
3157 * gdb.cp/nsnested.cc: Likewise.
3158 * gdb.cp/nsnoimports.cc: Likewise.
3159 * gdb.cp/nsusing.cc: Likewise.
3160 * gdb.cp/smartp.cc: Likewise.
3161 * gdb.python/py-pp-integral.c: Likewise.
3162 * gdb.python/py-pp-re-notag.c: Likewise.
3163
746ebfe8
PW
31642020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3165
3166 * gdb.base/default-args.exp: New test.
3167 * gdb.base/default-args.c: New file.
3168 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3169 * gdb.base/default.exp: Update to new help text.
3170 * gdb.base/help.exp: Likewise.
3171 * gdb.base/page.exp: Likewise.
3172 * gdb.base/style.exp: Likewise.
3173 * gdb.guile/guile.exp: Likewise.
3174 * gdb.python/python.exp: Likewise.
3175
e822f2cd
SL
31762020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3177
3178 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3179 remote host. Fix search path syntax on Windows host.
3180
48e9cc84
PW
31812020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3182
3183 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3184 over 'exec-file-mismatch'.
3185 * gdb.base/attach.c: Mark should_exit volatile.
3186 * gdb.base/attach2.c: Likewise. Add a comment explaining
3187 why the sleep cannot be big.
3188 * gdb.base/attach3.c: New file.
3189
160f8a8f
SL
31902020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3191
3192 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3193 prefix optional.
3194
4d91c2a4
SL
31952020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3196
3197 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3198 for remote host.
3199
87f83f20
SL
32002020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3201 Hafiz Abid Qadeer <abidh@codesourcery.com>
3202
3203 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3204 file sent to remote host.
3205 (top level): Allow int32_t as type of 32-bit register.
3206
37ab8655
TV
32072020-06-19 Tom de Vries <tdevries@suse.de>
3208
3209 * lib/gdb.exp (gdb_note): New proc.
3210 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3211 (gdb_default_target_compile): ... here. Only call
3212 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3213 (use_gdb_compile): Change to array.
3214 (toplevel): Update sets of use_gdb_compile to specify language.
3215 Warn about default_target_compile override. Store dejagnu's version
3216 of default_target_compile in dejagnu_default_target_compile.
3217
a8a56685
TV
32182020-06-18 Tom de Vries <tdevries@suse.de>
3219
3220 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3221 (default_gdb_init): ... here.
3222
581bea2c
SL
32232020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3224
3225 Fix TUI support checks in gdb.tui tests.
3226
3227 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3228 just say UNSUPPORTED.
3229 * gdb.tui/corefile-run.exp: Likewise.
3230 * gdb.tui/empty.exp: Likewise.
3231 * gdb.tui/list-before.exp: Likewise.
3232 * gdb.tui/list.exp: Likewise.
3233 * gdb.tui/main.exp: Likewise.
3234 * gdb.tui/regs.exp: Likewise.
3235 * gdb.tui/resize.exp: Likewise.
3236 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3237 * gdb.tui/tui-layout-asm.exp: Likewise.
3238 * gdb.tui/tui-missing-src.exp: Likewise.
3239 * gdb.tui/winheight.exp: Likewise.
3240 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3241
05e682e3
SL
32422020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3243
3244 Fix TCL error in gdb.python/py-format-string.exp.
3245
3246 * gdb.python/py-format-string.exp: Move test for python support
3247 earlier, out of function body.
3248
efb763a5
SM
32492020-06-15 Simon Marchi <simon.marchi@efficios.com>
3250
3251 * gdb.base/index-cache-load-twice.c: New.
3252 * gdb.base/index-cache-load-twice.exp: New.
3253
43327b20
KS
32542020-06-17 Keith Seitz <keiths@redhat.com>
3255
99cf27cf 3256 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3257 when executing "gdb --configuration".
3258
081e778c
TV
32592020-06-17 Tom de Vries <tdevries@suse.de>
3260
3261 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3262 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3263 conditional on presence of gdb_tcl_unknown.
3264 (gdb_finish): Make override undo conditional on presence of
3265 gdb_tcl_unknown.
3266
d2d1ea20
TT
32672020-06-16 Tom Tromey <tom@tromey.com>
3268
3269 * gdb.python/tui-window.py (failwin): New function. Register it
3270 as a TUI window type.
3271 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3272
c802e8a7
GB
32732020-06-16 Gary Benson <gbenson@redhat.com>
3274
3275 * gdb.python/py-nested-maps.c (create_map): Add missing return
3276 value.
3277 (create_map_map): Likewise.
3278
ff08abb8
TBA
32792020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3280
3281 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3282 variable.
3283 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3284 and use the already-defined 'options' variable.
3285
a29d5112
AB
32862020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3287 Tom de Vries <tdevries@suse.de>
3288
3289 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3290 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3291 (gdb_setup_known_globals): New proc.
3292 (gdb_cleanup_globals): New proc.
3293 * lib/gdb.exp (load_lib): New override proc.
3294 (gdb_stdin_log_init): Set var in_file as persistent global.
3295 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3296 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3297 fpc_compiler as persistent global.
3298
8c74a764
TV
32992020-06-12 Tom de Vries <tdevries@suse.de>
3300
3301 * lib/tuiterm.exp (spawn): Rename to ...
3302 (tui_spawn): ... this.
3303 (toplevel): Move rename of spawn ...
3304 (gdb_init_tuiterm): ... here. New proc.
3305 (gdb_finish_tuiterm): New proc.
3306 * lib/gdb.exp (gdb_finish_hooks): New global var.
3307 (gdb_finish): Handle gdb_finish_hooks.
3308 (tuiterm_env): New proc.
3309 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3310 tuiterm_env.
3311 * gdb.tui/basic.exp: Same.
3312 * gdb.tui/corefile-run.exp: Same.
3313 * gdb.tui/empty.exp: Same.
3314 * gdb.tui/list-before.exp: Same.
3315 * gdb.tui/list.exp: Same.
3316 * gdb.tui/main.exp: Same.
3317 * gdb.tui/new-layout.exp: Same.
3318 * gdb.tui/regs.exp: Same.
3319 * gdb.tui/resize.exp: Same.
3320 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3321 * gdb.tui/tui-layout-asm.exp: Same.
3322 * gdb.tui/tui-missing-src.exp: Same.
3323 * gdb.tui/winheight.exp: Same.
3324
26783bce
TV
33252020-06-12 Tom de Vries <tdevries@suse.de>
3326
3327 PR testsuite/26110
3328 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3329 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3330
2b4e6a3f
TT
33312020-06-11 Tom Tromey <tom@tromey.com>
3332
3333 PR gdb/18318:
3334 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3335 floating point tests.
3336
2f33032a
KS
33372020-06-11 Keith Seitz <keiths@redhat.com>
3338
3339 PR gdb/21356
3340 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3341 vla_struct.
3342 Add new struct vla_typedef and union vla_typedef_union and
3343 corresponding instantiation objects.
3344 Initialize new objects.
3345 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3346 and vla_typedef_union_object.
3347 Fixup type for vla_struct_object.
3348
a8baf0a3
TV
33492020-06-11 Tom de Vries <tdevries@suse.de>
3350
3351 * lib/gdb.exp (with_override): New proc, factored out of ...
3352 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3353
7ab96794
TV
33542020-06-10 Tom de Vries <tdevries@suse.de>
3355
3356 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3357
cab5c3b7
SM
33582020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3359
3360 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3361 parameter, update callers.
3362
f8c41851
SM
33632020-06-04 Simon Marchi <simon.marchi@efficios.com>
3364
3365 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3366 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3367 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3368
1c07a73f
TV
33692020-06-04 Tom de Vries <tdevries@suse.de>
3370
3371 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3372
95146b5d
TV
33732020-06-04 Tom de Vries <tdevries@suse.de>
3374
3375 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3376 exp_continue.
3377
0cfcd4f0
TV
33782020-06-04 Tom de Vries <tdevries@suse.de>
3379
3380 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3381
f9b5d5ea
TV
33822020-06-03 Tom de Vries <tdevries@suse.de>
3383
3384 PR symtab/26046
3385 * gdb.cp/breakpoint-locs-2.cc: New test.
3386 * gdb.cp/breakpoint-locs.cc: New test.
3387 * gdb.cp/breakpoint-locs.exp: New file.
3388 * gdb.cp/breakpoint-locs.h: New test.
3389
5144dfba
TV
33902020-06-03 Tom de Vries <tdevries@suse.de>
3391
3392 PR testsuite/25609
3393 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3394 value of global verbose.
3395 * gdb.base/jit-elf.exp: Same.
3396 * gdb.base/jit-reader.exp: Same.
3397
621eacdf
TV
33982020-06-02 Tom de Vries <tdevries@suse.de>
3399
3400 * gdb.dwarf2/multidictionary.exp: Don't use
3401 gdb_spawn_with_cmdline_opts.
3402
1313c56e
AB
34032020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3404
3405 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3406 use_header case.
3407 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3408 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3409 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3410 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3411 * gdb.dwarf2/dw2-inline-header.c: New file.
3412 * gdb.dwarf2/dw2-inline-header.h: New file.
3413
f68f85b5
PA
34142020-05-30 Pedro Alves <palves@redhat.com>
3415
3416 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3417 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3418
678048e8
GB
34192020-05-29 Gary Benson <gbenson@redhat.com>
3420
3421 * gdb.compile/compile-cplus.exp (additional_flags): Also
3422 set when building with clang.
3423 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3424 when building with clang.
3425
9fcafd23
GB
34262020-05-29 Gary Benson <gbenson@redhat.com>
3427
3428 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3429 building with clang.
3430 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3431
735d5a07
GB
34322020-05-29 Gary Benson <gbenson@redhat.com>
3433
3434 * gdb.cp/koenig.exp (prepare_for_testing): Add
3435 additional_flags=-Wno-unused-comparison.
3436 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3437
4ad2c6a0
GB
34382020-05-28 Gary Benson <gbenson@redhat.com>
3439
3440 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3441 statement.
3442
09fe663e
GB
34432020-05-28 Gary Benson <gbenson@redhat.com>
3444
3445 * gdb.cp/classes.exp (prepare_for_testing): Add
3446 additional_flags=-Wno-deprecated-register.
3447 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3448 * gdb.cp/misc.exp: Likewise.
3449
cee00f17
GB
34502020-05-28 Gary Benson <gbenson@redhat.com>
3451
3452 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3453 (test_op_new::operator new): Add return statement.
3454 (test_op_new_array::operator new[]): Likewise.
3455
636edd00
PA
34562020-05-27 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3459 check. Use test_gdb_complete_unique instead of
3460 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3461 test_gdb_complete_multiple instead of
3462 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3463
c2b75043
LM
34642020-05-27 Luis Machado <luis.machado@linaro.org>
3465
3466 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3467 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3468 * gdb.arch/arm-disassembler-options.exp: Likewise.
3469 * gdb.arch/arm-disp-step.exp: Likewise.
3470 * gdb.arch/thumb-prologue.exp: Likewise.
3471 * gdb.base/async.exp: Likewise.
3472 * gdb.base/auxv.exp: Likewise.
3473 * gdb.base/complex-parts.exp: Likewise.
3474 * gdb.base/ena-dis-br.exp: Likewise.
3475 * gdb.base/foll-exec.exp: Likewise.
3476 * gdb.base/permissions.exp: Likewise.
3477 * gdb.base/relocate.exp: Likewise.
3478 * gdb.base/return2.exp: Likewise.
3479 * gdb.base/sigbpt.exp: Likewise.
3480 * gdb.base/siginfo-obj.exp: Likewise.
3481 * gdb.cp/converts.exp: Likewise.
3482 * gdb.cp/exceptprint.exp: Likewise.
3483 * gdb.cp/inherit.exp: Likewise.
3484 * gdb.cp/nsnoimports.exp: Likewise.
3485 * gdb.cp/virtbase2.exp: Likewise.
3486 * gdb.mi/mi-var-cmd.exp: Likewise.
3487 * gdb.mi/var-cmd.c: Likewise.
3488
53a47a3e
TT
34892020-05-26 Tom Tromey <tromey@adacore.com>
3490
3491 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3492
0bc2354b
TT
34932020-05-26 Tom Tromey <tromey@adacore.com>
3494
3495 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3496 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3497 type.
3498 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3499 variable.
3500
0db49895
CBG
35012020-05-26 Christian Biesinger <cbiesinger@google.com>
3502
3503 * Makefile.in: Use = instead of == for the test command
3504 for portability.
3505
40d22035
TV
35062020-05-26 Tom de Vries <tdevries@suse.de>
3507
3508 * gdb.base/gold-gdb-index-2.c: New test.
3509 * gdb.base/gold-gdb-index.c: New test.
3510 * gdb.base/gold-gdb-index.exp: New file.
3511 * gdb.base/gold-gdb-index.h: New test.
3512
043e2e02
TV
35132020-05-25 Tom de Vries <tdevries@suse.de>
3514
3515 * boards/gold-gdb-index.exp: New file.
3516
462f72c5
SM
35172020-05-25 Simon Marchi <simon.marchi@efficios.com>
3518
3519 * boards/simavr.exp: New file.
3520
6cf66e76
SM
35212020-05-25 Simon Marchi <simon.marchi@efficios.com>
3522
3523 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3524 * gdb.base/inferior-args.exp: New file.
3525 * gdb.base/inferior-args.c: New file.
3526
75d04512
SM
35272020-05-25 Simon Marchi <simon.marchi@efficios.com>
3528
3529 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3530 inferior_args. Pass it to gdb_reload.
3531 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3532 inferior_args.
3533 (gdb_reload): Add inferior_args argument.
3534 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3535 pass it to gdbserver_run.
3536 * boards/native-gdbserver.exp: Do not set noargs.
3537 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3538 inferior_args argument.
3539 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3540 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3541 * gdb.base/args.exp: Likewise.
3542
42cf1844
TV
35432020-05-25 Tom de Vries <tdevries@suse.de>
3544
3545 * lib/gdb.exp (exec_is_pie): Add comment.
3546
8f7d38ef
TV
35472020-05-25 Tom de Vries <tdevries@suse.de>
3548
3549 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3550 instead of $binfile in the untested message.
3551
465e1b0f
TV
35522020-05-25 Tom de Vries <tdevries@suse.de>
3553
3554 PR testsuite/26031
3555 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3556
3c5a0e02
TV
35572020-05-25 Tom de Vries <tdevries@suse.de>
3558
3559 * boards/gold.exp: New file.
3560
0a4f5f8c
TT
35612020-05-23 Tom Tromey <tom@tromey.com>
3562
3563 * gdb.base/style.exp: Remove completion styling test.
3564 * lib/gdb-utils.exp (style): Remove completion styles.
3565
eca1f90c
TT
35662020-05-23 Tom Tromey <tom@tromey.com>
3567
3568 * gdb.base/style.exp: Add completion styling test.
3569 * lib/gdb-utils.exp (style): Add completion styles.
3570
7c13f4e8
AB
35712020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3572
3573 * gdb.base/annota1.exp: Update expected results.
3574 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3575 test name.
3576 * gdb.cp/annota3.exp: Update expected results.
3577
41977d16
SM
35782020-05-20 Simon Marchi <simon.marchi@efficios.com>
3579
3580 PR gdb/26016
3581 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3582 against MAP_FAILED.
3583 * gdb.base/coremaker.c (mmapdata): Likewise.
3584 * gdb.base/jit-reader-host.c (main): Likewise.
3585 * gdb.base/sym-file-loader.c (load): Likewise.
3586 (load_shlib): Likewise.
3587
b4757f2e
TT
35882020-05-20 Tom Tromey <tromey@adacore.com>
3589
3590 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3591
9a0bacfb
TV
35922020-05-20 Tom de Vries <tdevries@suse.de>
3593
3594 PR symtab/25833
3595 * gdb.base/with-mf-inc.c: New test.
3596 * gdb.base/with-mf-main.c: New test.
3597 * gdb.base/with-mf.exp: New file.
3598
76571211
TT
35992020-05-19 Tom Tromey <tromey@adacore.com>
3600
3601 * gdb.rust/simple.exp: Restore missing test result.
3602
4cd9f3d5
TV
36032020-05-19 Tom de Vries <tdevries@suse.de>
3604
3605 * gdb.base/gdb-caching-proc.exp: Fix typo.
3606
7d874253
TT
36072020-05-19 Tom Tromey <tromey@adacore.com>
3608
3609 * gdb.rust/simple.exp: Add some test descriptions.
3610 (test_one_slice): Use with_test_prefix.
3611
1d727695
TV
36122020-05-18 Tom de Vries <tdevries@suse.de>
3613
3614 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3615
7f32a4d5
PA
36162020-05-17 Pedro Alves <palves@redhat.com>
3617
3618 PR gdb/25741
3619 * gdb.base/hw-sw-break-same-address.exp: New file.
3620
7cfd74cf
PA
36212020-05-16 Pedro Alves <palves@redhat.com>
3622
3623 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3624 LAST_LOADED_FILE accordingly.
3625
57b4f16e
PW
36262020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3627
3628 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3629
7c05caf7
PW
36302020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3631
3632 * gdb.base/help.exp: Test apropos and help for commands
3633 having aliases. Fixed comments not starting with an
3634 upper-case letter or not finishing with a dot.
3635
7aa1b46f
PW
36362020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3637
3b3aaacb
PW
3638 * gdb.base/alias.exp: Update help output check.
3639
57b4f16e 36402020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3641
7aa1b46f
PW
3642 * gdb.base/default.exp: Update output following fixes.
3643
0605465f
PW
36442020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3645
3646 * gdb.base/alias.exp: Test aliases starting with a prefix of
3647 another alias.
3648
86e4e63d
GB
36492020-05-15 Gary Benson <gbenson@redhat.com>
3650
3651 * gdb.base/info-os.c (main): Add return statement.
3652 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3653 * gdb.base/large-frame-2.c (func): Likewise.
3654 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3655 * gdb.base/pr10179-b.c (foo2): Likewise.
3656 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3657 * gdb.base/watch-cond.c (func): Likewise.
3658 * gdb.multi/goodbye.c (verylongfun): Likewise.
3659 * gdb.multi/hello.c (commonfun): Likewise.
3660 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3661 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3662 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3663 Likewise.
3664 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3665 * gdb.threads/interrupt-while-step-over.c (child_function):
3666 Likewise.
3667 * gdb.trace/actions-changed.c (end): Likewise.
3668
163df4df
GB
36692020-05-15 Gary Benson <gbenson@redhat.com>
3670
3671 * gdb.opencl/callfuncs.exp: Report when test skipped.
3672 * gdb.opencl/convs_casts.exp: Likewise.
3673 * gdb.opencl/datatypes.exp: Likewise.
3674 * gdb.opencl/operators.exp: Likewise.
3675 * gdb.opencl/vec_comps.exp: Likewise.
3676
6dbc505a
TV
36772020-05-15 Tom de Vries <tdevries@suse.de>
3678
3679 * gdb.base/align.exp.in: Rename to ...
3680 * gdb.base/align.exp.tcl: ... this.
3681 * gdb.base/align-c++.exp: Update.
3682 * gdb.base/align-c.exp: Update.
3683 * gdb.base/all-architectures.exp.in: Rename to ...
3684 * gdb.base/all-architectures.exp: ... this.
3685 * gdb.base/all-architectures-0.exp: Update.
3686 * gdb.base/all-architectures-1.exp: Update.
3687 * gdb.base/all-architectures-2.exp: Update.
3688 * gdb.base/all-architectures-3.exp: Update.
3689 * gdb.base/all-architectures-4.exp: Update.
3690 * gdb.base/all-architectures-5.exp: Update.
3691 * gdb.base/all-architectures-6.exp: Update.
3692 * gdb.base/all-architectures-7.exp: Update.
3693 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3694 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3695 * gdb.base/infcall-nested-structs-c++.exp: Update.
3696 * gdb.base/infcall-nested-structs-c.exp: Update.
3697 * gdb.base/info-types.exp.in: Rename to ...
3698 * gdb.base/info-types.exp.tcl: ... this.
3699 * gdb.base/info-types-c++.exp: Update.
3700 * gdb.base/info-types-c.exp: Update.
3701 * gdb.base/max-depth.exp.in: Rename to ...
3702 * gdb.base/max-depth.exp.tcl: ... this.
3703 * gdb.base/max-depth-c++.exp: Update.
3704 * gdb.base/max-depth-c.exp: Update.
3705 * gdb.cp/cpexprs.exp.in: Rename to ...
3706 * gdb.cp/cpexprs.exp.tcl: ... this.
3707 * gdb.cp/cpexprs-debug-types.exp: Update.
3708 * gdb.cp/cpexprs.exp: Update.
3709 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3710 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3711 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3712 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3713 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3714 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3715 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3716 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3717 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3718 * gdb.dwarf2/clang-debug-names.exp: Update.
3719
d1034d78
AB
37202020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3721
3722 * lib/check-test-names.exp: Remove code that prevents this file
3723 loading when tests are run in parallel.
3724
3c5c3649
PA
37252020-05-15 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.multi/multi-kill.exp (start_inferior): Remove
3728 'testpid' parameter. Refer to namespace variable directly.
3729 (testpid): Declare as namespace variable.
3730
272c36b8
PA
37312020-05-15 Pedro Alves <palves@redhat.com>
3732
3733 * gdb.multi/multi-kill.exp: Wrap in namespace.
3734 (start_inferior): Add TESTPID parameter. Use it instead of the
3735 testpid global.
3736 (top level): Define empty TESTPID array, and pass it down to
3737 start_inferior.
3738
02eba61a
TV
37392020-05-14 Tom de Vries <tdevries@suse.de>
3740
3741 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3742 output.
3743
971a3747
TV
37442020-05-14 Tom de Vries <tdevries@suse.de>
3745
3746 * gdb.base/align.exp: Split into ...
3747 * gdb.base/align.exp.in: ...
3748 * gdb.base/align-c++.exp: ...
3749 * gdb.base/align-c.exp: ... these.
3750 * gdb.base/infcall-nested-structs.exp: Split into ...
3751 * gdb.base/infcall-nested-structs.exp.in: ...
3752 * gdb.base/infcall-nested-structs-c++.exp: ...
3753 * gdb.base/infcall-nested-structs-c.exp: ... these.
3754 * gdb.base/info-types.exp: Split into ...
3755 * gdb.base/info-types.exp.in: ...
3756 * gdb.base/info-types-c++.exp: ...
3757 * gdb.base/info-types-c.exp: ... these.
3758 * gdb.base/max-depth.exp: Split into ...
3759 * gdb.base/max-depth.exp.in: ...
3760 * gdb.base/max-depth-c++.exp: ...
3761 * gdb.base/max-depth-c.exp: ... these.
3762 * gdb.cp/infcall-nodebug.exp: Split into ...
3763 * gdb.cp/infcall-nodebug.exp.in: ...
3764 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3765 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3766 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3767 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3768
a05575d3
TBA
37692020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3770 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.multi/multi-exit.c: New file.
3773 * gdb.multi/multi-exit.exp: New file.
3774 * gdb.multi/multi-kill.c: New file.
3775 * gdb.multi/multi-kill.exp: New file.
3776
6ad82919
TBA
37772020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3778
3779 * gdb.base/annota1.exp: Update the expected output.
3780 * gdb.cp/annota2.exp: Ditto.
3781
843f4d93
AB
37822020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3783
3784 * lib/check-test-names.exp: Disable when testing is being run in
3785 parallel.
3786
c7c66341
TV
37872020-05-12 Tom de Vries <tdevries@suse.de>
3788
3789 * gdb.base/jit-elf.exp: Fix string concat.
3790
1b59ca1c
TV
37912020-05-12 Tom de Vries <tdevries@suse.de>
3792
3793 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3794 messages.
3795
b4991d29
TV
37962020-05-12 Tom de Vries <tdevries@suse.de>
3797
3798 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3799
dbb0ab10
TV
38002020-05-12 Tom de Vries <tdevries@suse.de>
3801
3802 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3803 * gdb.ada/mi_catch_ex.exp: Same.
3804 * gdb.ada/mi_catch_ex_hand.exp: Same.
3805
7549fed8
TV
38062020-05-12 Tom de Vries <tdevries@suse.de>
3807
3808 * gdb.fortran/complex.exp: Use with_test_prefix.
3809
af2d5cd8
TV
38102020-05-12 Tom de Vries <tdevries@suse.de>
3811
3812 * gdb.trace/passcount.exp: Fix test-names.
3813
7c121311
TV
38142020-05-12 Tom de Vries <tdevries@suse.de>
3815
3816 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3817
c9f3b40e
TV
38182020-05-12 Tom de Vries <tdevries@suse.de>
3819
3820 * gdb.gdb/complaints.exp: Use with_test_prefix.
3821 * gdb.xml/tdesc-regs.exp: Same.
3822 * gdb.opt/inline-locals.exp: Fix test name.
3823
111b33f0
TV
38242020-05-12 Tom de Vries <tdevries@suse.de>
3825
3826 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3827 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3828 * gdb.dwarf2/implref-struct.exp: Same.
3829 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3830 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3831
ebf47080
SM
38322020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3833
3834 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3835
d30dcd12
AB
38362020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3837
3838 * lib/check-test-names.exp (all_test_names): New module variable.
3839 (counts): Add 'duplicates' field.
3840 (_check_duplicates): New procedure.
3841 (check): Also check for duplicates.
3842 (do_log_summary): Print duplicates count.
3843 (do_reset_vars): Reset counter for duplicate test names, and
3844 discard all know test names.
3845
34584c09
AB
38462020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3847
3848 * lib/gdb.exp: Include check-test-names.exp library.
3849 * lib/check-test-names.exp: New file.
3850
e0002117
TV
38512020-05-11 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3854
53f539a3
KS
38552020-05-11 Keith Seitz <keiths@redhat.com>
3856
3857 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3858
113ee09a
TV
38592020-05-11 Tom de Vries <tdevries@suse.de>
3860
3861 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3862 * gdb.cp/cpexprs.exp.in: .. here.
3863 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3864 cpexprs.exp.
3865
ba3e70b0
KS
38662020-05-11 Keith Seitz <keiths@redhat.com>
3867
3868 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3869 test names.
3870 * gdb.ada/arrayptr.exp: Likewise.
3871 * gdb.ada/assign_arr.exp: Likewise.
3872 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3873 * gdb.ada/bp_on_var.exp: Likewise.
3874 * gdb.ada/call_pn.exp: Likewise.
3875 * gdb.ada/complete.exp: Likewise.
3876 * gdb.ada/fun_overload_menu.exp: Likewise.
3877 * gdb.ada/funcall_param.exp: Likewise.
3878 * gdb.ada/funcall_ref.exp: Likewise.
3879 * gdb.ada/packed_array_assign.exp: Likewise.
3880 * gdb.ada/same_component_name.exp: Likewise.
3881 * gdb.ada/type_coercion.exp: Likewise.
3882 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3883 * gdb.ada/variant_record_packed_array.exp: Likewise.
3884
3ee6bb11
TV
38852020-05-11 Tom de Vries <tdevries@suse.de>
3886
3887 PR symtab/25941
3888 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3889 out of ...
3890 * gdb.dwarf2/clang-debug-names.exp: ... here.
3891 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3892 clang-debug-names.exp.in.
3893 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3894 * gdb.dwarf2/clang-debug-names-2.c: New test.
3895
86cd6bc8
AKS
38962020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3897
3898 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3899 (fortran_runto_main): New Proc, fortran version of runto_main.
3900 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3901 * gdb.fortran/array-bounds.exp: Likewise.
3902 * gdb.fortran/array-slices.exp: Likewise.
3903 * gdb.fortran/block-data.exp: Likewise.
3904 * gdb.fortran/charset.exp: Likewise.
3905 * gdb.fortran/common-block.exp: Likewise.
3906 * gdb.fortran/complex.exp: Likewise.
3907 * gdb.fortran/derived-type-function.exp: Likewise.
3908 * gdb.fortran/derived-type.exp: Likewise.
3909 * gdb.fortran/info-modules.exp: Likewise.
3910 * gdb.fortran/info-types.exp: Likewise.
3911 * gdb.fortran/intrinsics.exp: Likewise.
3912 * gdb.fortran/library-module.exp: Likewise.
3913 * gdb.fortran/logical.exp: Likewise.
3914 * gdb.fortran/max-depth.exp: Likewise.
3915 * gdb.fortran/module.exp: Likewise.
3916 * gdb.fortran/multi-dim.exp: Likewise.
3917 * gdb.fortran/nested-funcs.exp: Likewise.
3918 * gdb.fortran/print-formatted.exp: Likewise.
3919 * gdb.fortran/print_type.exp: Likewise.
3920 * gdb.fortran/printing-types.exp: Likewise.
3921 * gdb.fortran/ptr-indentation.exp: Likewise.
3922 * gdb.fortran/ptype-on-functions.exp: Likewise.
3923 * gdb.fortran/subarray.exp: Likewise.
3924 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3925 * gdb.fortran/vla-datatypes.exp: Likewise.
3926 * gdb.fortran/vla-history.exp: Likewise.
3927 * gdb.fortran/vla-ptr-info.exp: Likewise.
3928 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3929 * gdb.fortran/vla-ptype.exp: Likewise.
3930 * gdb.fortran/vla-sizeof.exp: Likewise.
3931 * gdb.fortran/vla-type.exp: Likewise.
3932 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3933 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3934 * gdb.fortran/vla-value-sub.exp: Likewise.
3935 * gdb.fortran/vla-value.exp: Likewise.
3936 * gdb.fortran/whatis_type.exp: Likewise.
3937 * gdb.mi/mi-var-child-f.exp: Likewise.
3938
6dc55ce9 39392020-05-09 Tom de Vries <tdevries@suse.de>
3940
3941 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3942
283cb58c
TV
39432020-05-08 Tom de Vries <tdevries@suse.de>
3944
3945 * gdb.dwarf2/clang-debug-names.c: New test.
3946 * gdb.dwarf2/clang-debug-names.exp: New file.
3947
ac4a4f1c
SM
39482020-05-06 Simon Marchi <simon.marchi@efficios.com>
3949
3950 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3951 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3952
24fe640b
TV
39532020-05-06 Tom de Vries <tdevries@suse.de>
3954
3955 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3956 breakpoint is at a "recommended breakpoint location".
3957 * gdb.reverse/consecutive-reverse.exp: Same.
3958
0d8683a3
TV
39592020-05-06 Tom de Vries <tdevries@suse.de>
3960
3961 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3962 address.
3963
b8983c46
TV
39642020-05-06 Tom de Vries <tdevries@suse.de>
3965
3966 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3967
abf6d805
TV
39682020-05-06 Tom de Vries <tdevries@suse.de>
3969
3970 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3971 info for r.
3972
0fc2a808
TV
39732020-05-06 Tom de Vries <tdevries@suse.de>
3974
3975 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3976 necessary.
3977
873dd427
TV
39782020-05-06 Tom de Vries <tdevries@suse.de>
3979
3980 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3981 void.
3982
7c99e7e2
TV
39832020-05-06 Tom de Vries <tdevries@suse.de>
3984
3985 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3986 of ...
3987 * gdb.base/async.exp: ... here.
3988 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3989 "recommended breakpoint location".
3990
6173d6a6
TV
39912020-05-06 Tom de Vries <tdevries@suse.de>
3992
3993 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3994
6015a067
TV
39952020-05-04 Tom de Vries <tdevries@suse.de>
3996
3997 * gdb.base/async.exp: Check whether instruction addresses are a
3998 "recommended breakpoint location".
3999
3b6acaee
TT
40002020-05-03 Tom Tromey <tom@tromey.com>
4001
4002 * gdb.base/sepdebug.exp: Remove "catch" test.
4003 * gdb.base/break.exp: Remove "catch" test.
4004 * gdb.base/default.exp: Update expected output.
4005
5beb4d17
TV
40062020-05-02 Tom de Vries <tdevries@suse.de>
4007
4008 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4009 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4010 * gdb.arch/i386-mpx-map.exp: Same.
4011 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4012 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4013 * gdb.arch/i386-mpx.exp: Same.
4014
8caf140d
TV
40152020-05-02 Tom de Vries <tdevries@suse.de>
4016
4017 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4018
693196cb
TV
40192020-05-01 Tom de Vries <tdevries@suse.de>
4020
4021 * gdb.ada/operator_bp.exp: Allow more than required amount of
4022 breakpoint.
4023
53ae0aa9
TV
40242020-05-01 Tom de Vries <tdevries@suse.de>
4025
4026 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4027
ee9d1e5f
HD
40282020-04-30 Hannes Domani <ssbssa@yahoo.de>
4029
4030 PR gdb/18706
4031 * gdb.cp/stub-array-size.cc: New test.
4032 * gdb.cp/stub-array-size.exp: New file.
4033 * gdb.cp/stub-array-size.h: New test.
4034 * gdb.cp/stub-array-size2.cc: New test.
4035
d5cf82c0
HD
40362020-04-30 Hannes Domani <ssbssa@yahoo.de>
4037
4038 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4039 output to the new format.
4040
42e165c3
SM
40412020-04-29 Simon Marchi <simon.marchi@efficios.com>
4042
4043 * gdb.base/break.exp: Use with_test_prefix.
4044
6e4e3fe1
TV
40452020-04-29 Tom de Vries <tdevries@suse.de>
4046
4047 * lib/gdb.exp (debug_types): New proc.
4048 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4049 * gdb.python/py-symtab.exp: Same.
4050
d642b692
HD
40512020-04-29 Hannes Domani <ssbssa@yahoo.de>
4052
4053 PR gdb/17320
4054 * gdb.base/pretty-array.c: New test.
4055 * gdb.base/pretty-array.exp: New file.
4056
ea90f227
TV
40572020-04-29 Tom de Vries <tdevries@suse.de>
4058
4059 PR symtab/25889
4060 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4061 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4062 and include cpexprs.exp.
4063
a65189c9
TV
40642020-04-28 Mark Williams <mark@myosotissp.com>
4065
4066 PR gdb/24480
4067 * dw4-toplevel-types.exp: Test for top level types.
4068 * dw4-toplevel-types.cc: Test for top level types.
4069
32d1f47a
TBA
40702020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4071
4072 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4073 (theads -> threads).
4074
56a4f5a1
TV
40752020-04-28 Tom de Vries <tdevries@suse.de>
4076
4077 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4078
0b2f8a3b
TV
40792020-04-28 Tom de Vries <tdevries@suse.de>
4080
4081 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4082
5390c717
TV
40832020-04-28 Tom de Vries <tdevries@suse.de>
4084
4085 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4086
15cd93d0
TV
40872020-04-28 Tom de Vries <tdevries@suse.de>
4088
4089 * gdb.dwarf2/main-foo.c: New test.
4090 * gdb.dwarf2/struct-with-sig.exp: New file.
4091
d472f0fb
TV
40922020-04-25 Tom de Vries <tdevries@suse.de>
4093
4094 * boards/debug-types.exp: New file.
4095
8d840e05
AB
40962020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4097
4098 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4099
bcfe6157
TT
41002020-04-24 Tom Tromey <tom@tromey.com>
4101
4102 PR symtab/12707:
4103 * gdb.python/py-symbol.exp: Update expected results for
4104 linkage_name test.
4105 * gdb.cp/print-demangle.exp: New file.
4106 * gdb.base/c-linkage-name.exp: Fix test.
4107 * gdb.guile/scm-symbol.exp: Update expected results for
4108 linkage_name test.
4109
f049a313
TT
41102020-04-24 Tom Tromey <tom@tromey.com>
4111
4112 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4113 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4114 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4115 assembler.
4116
7cf28874
TV
41172020-04-24 Tom de Vries <tdevries@suse.de>
4118
4119 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4120 C++.
4121
dac2fef7
TT
41222020-04-24 Tom Tromey <tromey@adacore.com>
4123
4124 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4125 values.
4126 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4127 values. Update test for minimal encodings.
4128 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4129 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4130 values. Update test for minimal encodings.
4131
1acda803
TT
41322020-04-24 Tom Tromey <tromey@adacore.com>
4133
4134 PR python/23662:
4135 * gdb.ada/variant.exp: Add Python checks.
4136 * gdb.rust/simple.exp: Add dynamic type checks.
4137
adfb9815
TT
41382020-04-24 Tom Tromey <tromey@adacore.com>
4139
4140 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4141 Make array type matching more lax.
4142 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4143 * gdb.ada/mi_variant.exp: New file.
4144 * gdb.ada/mi_variant/pck.ads: New file.
4145 * gdb.ada/mi_variant/pkg.adb: New file.
4146 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4147 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4148
7d79de9a
TT
41492020-04-24 Tom Tromey <tromey@adacore.com>
4150
4151 * gdb.ada/variant.exp: Add dynamic field offset tests.
4152 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4153 * gdb.ada/variant/pkg.adb: Add new variables.
4154
f8e89861
TT
41552020-04-24 Tom Tromey <tromey@adacore.com>
4156
4157 * gdb.ada/variant.exp: New file
4158 * gdb.ada/variant/pkg.adb: New file
4159 * gdb.ada/variant/pck.adb: New file
4160
86e887ae
TV
41612020-04-24 Tom de Vries <tdevries@suse.de>
4162
4163 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4164
88428775
TV
41652020-04-24 Tom de Vries <tdevries@suse.de>
4166
4167 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4168 flags.
4169
4e86f6e7
TV
41702020-04-24 Tom de Vries <tdevries@suse.de>
4171
4172 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4173
2016d3e6
TV
41742020-04-24 Tom de Vries <tdevries@suse.de>
4175
4176 * lib/gdb.exp (default_gdb_start): Handle eof.
4177 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4178 failure.
4179 * gdb.base/readnever.exp: Handle clean_restart failure.
4180
70bc38f5
TV
41812020-04-23 Tom de Vries <tdevries@suse.de>
4182
4183 * gdb.base/decl-before-def.exp: Run to main and print a again.
4184
de82891c
TV
41852020-04-23 Tom de Vries <tdevries@suse.de>
4186
4187 * gdb.base/decl-before-def-decl.c: New test.
4188 * gdb.base/decl-before-def-def.c: New test.
4189 * gdb.base/decl-before-def.exp: New file.
4190
96038148
TV
41912020-04-23 Tom de Vries <tdevries@suse.de>
4192
4193 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4194
54ac3df1
TV
41952020-04-22 Tom de Vries <tdevries@suse.de>
4196
4197 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4198 debug_info_offset.
4199 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4200 before $objsfile in the line line.
4201
714534e1
TV
42022020-04-22 Tom de Vries <tdevries@suse.de>
4203
4204 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4205
16a7dbf4
MS
42062020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4207
4208 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4209 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4210 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4211 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4212 * gdb.base/jit-protocol.h: Update definitions to match all usage
4213 contexts.
4214
42152020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4216
4217 * gdb.base: Rename all jit related test and source files.
4218
42192020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4220
4221 * gdb.base/jit-reader.exp: Relax register output check.
4222
317d2668
TV
42232020-04-22 Tom de Vries <tdevries@suse.de>
4224
4225 PR symtab/25764
4226 * gdb.base/psym-external-decl-2.c: New test.
4227 * gdb.base/psym-external-decl.c: New test.
4228 * gdb.base/psym-external-decl.exp: New file.
4229 * gdb.threads/tls.exp: Add PR25807 kfail.
4230
eea9e357
TV
42312020-04-22 Tom de Vries <tdevries@suse.de>
4232
4233 PR symtab/25801
4234 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4235 in "info source" output.
4236
3d5afab3
TV
42372020-04-22 Tom de Vries <tdevries@suse.de>
4238
4239 PR symtab/25700
4240 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4241 symtab for imported_unit.c.
4242
b32102f6
GB
42432020-04-21 Gary Benson <gbenson@redhat.com>
4244
4245 * gdb.base/advance.c (func): New argument, to match call site.
4246 (func2, func3): Add return statements.
4247
d43b7a2d
TBA
42482020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4249
4250 * gdb.multi/run-only-second-inf.c: New file.
4251 * gdb.multi/run-only-second-inf.exp: New file.
4252
d89edf9b
MM
42532020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4254
4255 * gdb.btrace/multi-inferior.c: New test.
4256 * gdb.btrace/multi-inferior.exp: New file.
4257
1a476b6d
MM
42582020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4259
4260 * gdb.btrace/enable-new-thread.c: New test.
4261 * gdb.btrace/enable-new-thread.exp: New file.
4262
4778a5f8
TV
42632020-04-21 Tom de Vries <tdevries@suse.de>
4264
4265 PR gdb/25471
4266 * gdb.threads/killed-outside.c: New test.
4267 * gdb.threads/killed-outside.exp: New file.
4268
9b2c992c
GB
42692020-04-20 Gary Benson <gbenson@redhat.com>
4270
4271 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4272 * gdb.base/nested-subp2.exp: Likewise.
4273 * gdb.base/nested-subp3.exp: Likewise.
4274
b5d1d6f7
GB
42752020-04-20 Gary Benson <gbenson@redhat.com>
4276
4277 * gdb.base/nested-subp1.exp: Disable test when using clang.
4278 * gdb.base/nested-subp2.exp: Likewise.
4279 * gdb.base/nested-subp3.exp: Likewise.
4280
25230285
GB
42812020-04-20 Gary Benson <gbenson@redhat.com>
4282
4283 * gdb.cp/exception.cc: Fix compilation error with clang.
4284
fa93cc8f
GB
42852020-04-20 Gary Benson <gbenson@redhat.com>
4286
809730f3 4287 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4288
e0c45f30
GB
42892020-04-20 Gary Benson <gbenson@redhat.com>
4290
4291 * gdb.base/jit-main.c: Fix compilation error with clang.
4292
4ddfec93
KR
42932020-04-17 Kamil Rytarowski <n54@gmx.com>
4294
4295 * gdb.base/attach-twice.c: Include "sys/types.h".
4296 (PTRACE_ATTACH): Add fallback definition.
4297 (main): Pass `0' to the 4th argument of `ptrace'.
4298
2bed205e
KR
42992020-04-17 Kamil Rytarowski <n54@gmx.com>
4300
4301 * gdb.base/fork-running-state.c: Include "signal.h".
4302
0743fc83
TT
43032020-04-17 Tom Tromey <tromey@adacore.com>
4304
4305 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4306 Update tests.
4307 * gdb.btrace/cpu.exp: Update tests.
4308 * gdb.base/maint.exp: Update tests.
4309 * gdb.base/default.exp: Update tests.
4310 * gdb.base/completion.exp: Update tests.
4311
efba5c23
TV
43122020-04-16 Tom de Vries <tdevries@suse.de>
4313
4314 PR symtab/25791
4315 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4316 (ensure_gdb_index): and factor out and move ...
4317 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4318 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4319
d191d716
TV
43202020-04-16 Tom de Vries <tdevries@suse.de>
4321
4322 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4323 loading exec.
4324
99f1bc6a
AB
43252020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4326
4327 * gdb.base/many-completions.exp: New file.
4328
194d088f
TV
43292020-04-14 Tom de Vries <tdevries@suse.de>
4330
4331 PR symtab/25718
4332 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4333
c1a66c06
TV
43342020-04-14 Tom de Vries <tdevries@suse.de>
4335
4336 PR symtab/25720
4337 * gdb.base/maint-expand-symbols-header-file.c: New test.
4338 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4339 * gdb.base/maint-expand-symbols-header-file.h: New test.
4340
21b0982c
AB
43412020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4342
4343 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4344 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4345 get_func_info.
4346 (get_func_info): Delete.
4347 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4348 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4349 * lib/dwarf.exp (get_func_info): New function.
4350
dd1cab06
TV
43512020-04-13 Tom de Vries <tdevries@suse.de>
4352
4353 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4354 to what find_gnatmake does.
4355
71ea2b6b
TV
43562020-04-10 Tom de Vries <tdevries@suse.de>
4357
4358 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4359 -readnow.
4360
bdfc1e8a
TV
43612020-04-10 Tom de Vries <tdevries@suse.de>
4362
4363 PR cli/25808
4364 * gdb.base/style.c: Add leading newlines.
4365 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4366 Check listing of main's one-line body.
4367
14ca8ecf
TV
43682020-04-08 Tom de Vries <tdevries@suse.de>
4369
4370 * lib/gdb.exp (psymtabs_p): New proc.
4371 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4372 importing unit" unsupported if there are no partial symbols.
4373
e21d048f
TV
43742020-04-08 Tom de Vries <tdevries@suse.de>
4375
4376 PR testsuite/25760
4377 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4378
25c11aca
TV
43792020-04-07 Tom de Vries <tdevries@suse.de>
4380
4381 PR symtab/25796
4382 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4383
5707e24b
TV
43842020-04-07 Tom de Vries <tdevries@suse.de>
4385
4386 * gdb.base/check-psymtab.c: New test.
4387 * gdb.base/check-psymtab.exp: New file.
4388
6ee448cc
TT
43892020-04-06 Tom Tromey <tromey@adacore.com>
4390
4391 * gdb.ada/variant-record/proc.adb: New file.
4392 * gdb.ada/variant-record/value.adb: New file.
4393 * gdb.ada/variant-record/value.s: New file.
4394 * gdb.ada/variant-record.exp: New file.
4395
9e7c9a03
HD
43962020-04-03 Hannes Domani <ssbssa@yahoo.de>
4397
4398 PR gdb/25325
4399 * gdb.cp/typed-enum.cc: New test.
4400 * gdb.cp/typed-enum.exp: New file.
4401
c90d28ac
AB
44022020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4403
4404 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4405 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4406 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4407 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4408 * gdb.opt/inline-small-func.c: New file.
4409 * gdb.opt/inline-small-func.exp: New file.
4410 * gdb.opt/inline-small-func.h: New file.
4411
34e9a9fa
AB
44122020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4413
4414 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4415 function.
4416
6a354911
AB
44172020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4418
4419 * lib/dwarf.exp (function_range): Allow compiler options to be
4420 specified.
4421
880d9777
TV
44222020-04-02 Tom de Vries <tdevries@suse.de>
4423
4424 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4425 __attribute__((always_inline)).
4426 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4427
f32682ea
TV
44282020-04-02 Tom de Vries <tdevries@suse.de>
4429
4430 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4431 (gdbserver_gdb_exit): ... here. Add timeout warning.
4432 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4433 (connect_target_extended_remote): Append new server_spawn_id to
4434 server_spawn_ids.
4435 (cleanup): New proc.
4436 (setup, <toplevel>): Call cleanup.
4437
d3214198
TV
44382020-04-02 Tom de Vries <tdevries@suse.de>
4439
4440 * gdb.base/main-psymtab.exp: New file.
4441
cc77ed24
TV
44422020-04-02 Tom de Vries <tdevries@suse.de>
4443
4444 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4445
3638a098
TT
44462020-04-01 Tom Tromey <tom@tromey.com>
4447
4448 * gdb.base/complex-parts.exp: Add type tests.
4449
c34e8714
TT
44502020-04-01 Tom Tromey <tom@tromey.com>
4451
4452 * gdb.base/complex-parts.exp: Add arithmetic tests.
4453
981c08ce
TT
44542020-04-01 Tom Tromey <tom@tromey.com>
4455
4456 * gdb.compile/compile.exp: Update.
4457 * gdb.compile/compile-cplus.exp: Update.
4458 * gdb.base/varargs.exp: Update.
4459 * gdb.base/floatn.exp: Update.
4460 * gdb.base/endianity.exp: Update.
4461 * gdb.base/callfuncs.exp (do_function_calls): Update.
4462 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4463 (complex_float_integral_args): Update.
4464 * gdb.base/complex.exp: Update.
4465 * gdb.base/complex-parts.exp: Update.
4466
3d1cfd43
TT
44672020-04-01 Tom Tromey <tromey@adacore.com>
4468
4469 * gdb.rust/union.rs: New file.
4470 * gdb.rust/union.exp: New file.
4471 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4472 (main): Update.
4473 * gdb.rust/simple.exp: Move union tests to union.exp.
4474
e033dfa9
TT
44752020-04-01 Tom Tromey <tromey@adacore.com>
4476
4477 * gdb.rust/simple.rs (main): Remove "y0".
4478
53cccef1
TBA
44792020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4480
4481 * gdb.multi/stop-all-on-exit.c: New test.
4482 * gdb.multi/stop-all-on-exit.exp: New file.
4483
60e22c1e
HD
44842020-04-01 Hannes Domani <ssbssa@yahoo.de>
4485
4486 PR gdb/24789
4487 * gdb.cp/misc.cc: Add integer reference variable.
4488 * gdb.cp/misc.exp: Add test.
4489
e139a727
TBA
44902020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4491
4492 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4493 scenario to cover execution until the end and also the case
4494
16b0db75
TV
44952020-03-31 Tom de Vries <tdevries@suse.de>
4496
4497 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4498 c. Use "maint info symtabs" to check symtab expansion.
4499
c0502da6
TV
45002020-03-30 Tom de Vries <tdevries@suse.de>
4501
4502 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4503 unsupported.
4504 (verify_psymtab_expanded): Move ...
4505 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4506 test.
4507 (readnow): New proc.
4508
5935fd15
AB
45092020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4510
4511 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4512 with $hex.
4513
1773be9e
TT
45142020-03-20 Tom Tromey <tromey@adacore.com>
4515
4516 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4517
70304be9
TT
45182020-03-20 Tom Tromey <tromey@adacore.com>
4519
4520 * gdb.ada/sub_variant/subv.adb: New file.
4521 * gdb.ada/sub_variant.exp: New file.
4522
0dd7b8f7
TV
45232020-03-20 Tom de Vries <tdevries@suse.de>
4524
4525 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4526 first break fails.
4527 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4528
cada5fc9
AB
45292020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4530
4531 * gdb.server/exit-multiple-threads.c: New file.
4532 * gdb.server/exit-multiple-threads.exp: New file.
4533
6b8c53f2
AB
45342020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4535
4536 * gdb.fortran/mixed-lang-stack.c: New file.
4537 * gdb.fortran/mixed-lang-stack.cpp: New file.
4538 * gdb.fortran/mixed-lang-stack.exp: New file.
4539 * gdb.fortran/mixed-lang-stack.f90: New file.
4540
19a2740f
AB
45412020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4542
4543 * gdb.linespec/cp-completion-aliases.cc: New file.
4544 * gdb.linespec/cp-completion-aliases.exp: New file.
4545
d8c8b848
TV
45462020-03-19 Tom de Vries <tdevries@suse.de>
4547
4548 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4549 more precise.
4550
a9933ccf
TV
45512020-03-18 Tom de Vries <tdevries@suse.de>
4552
4553 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4554 * gdb.dwarf2/break-inline-psymtab.c: New test.
4555 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4556
2f89101f
TV
45572020-03-16 Tom de Vries <tdevries@suse.de>
4558
4559 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4560 cache_verify and cache_verify_proc.
4561
6b9374f1
TV
45622020-03-15 Tom de Vries <tdevries@suse.de>
4563
4564 * gdb.server/solib-list.exp: Handle
4565 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4566
eaeaf44c
TV
45672020-03-15 Tom de Vries <tdevries@suse.de>
4568
4569 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4570 objfiles".
4571
3293bbaf
TT
45722020-03-14 Tom Tromey <tom@tromey.com>
4573
4574 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4575
ab44624c
TV
45762020-03-14 Tom de Vries <tdevries@suse.de>
4577
4578 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4579
54c43825
TV
45802020-03-14 Tom de Vries <tdevries@suse.de>
4581
4582 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4583 result in line-by-line fashion.
4584
2ac70237
TV
45852020-03-14 Tom de Vries <tdevries@suse.de>
4586
4587 * lib/gdb.exp (supports_statement_frontiers): New proc.
4588 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4589
09546b56
TV
45902020-03-14 Tom de Vries <tdevries@suse.de>
4591
4592 * gdb.base/printcmds.exp: Add missing quoting for "print
4593 teststring2".
4594
a1f6a07c
TT
45952020-03-13 Tom Tromey <tom@tromey.com>
4596
4597 * gdb.base/printcmds.exp (test_print_strings): Add regression
4598 test.
4599 * gdb.base/printcmds.c (charptr): New typedef.
4600 (teststring2): New global.
4601
1b83d09c
AB
46022020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4603
4604 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4605 full path in the test name.
4606 (test_ld): Add some with_test_prefix blocks to make test names
4607 unique.
4608
2d61316c
TV
46092020-03-13 Tom de Vries <tdevries@suse.de>
4610
4611 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4612
2e9145ac
TV
46132020-03-13 Tom de Vries <tdevries@suse.de>
4614
4615 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4616
96c7f873
TV
46172020-03-13 Tom de Vries <tdevries@suse.de>
4618
4619 PR symtab/25646
4620 * gdb.dwarf2/imported-unit.exp: Add test.
4621
49ba92c0
TV
46222020-03-13 Tom de Vries <tdevries@suse.de>
4623
4624 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4625 (var1, var2): New variable.
4626 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4627 matching symbols.
4628
301b21e0
TV
46292020-03-13 Tom de Vries <tdevries@suse.de>
4630
4631 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4632 (Term::command): Use prompt prefix.
4633 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4634 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4635 command_no_prompt_prefix instead of prefix.
4636 * gdb.tui/tui-layout-asm.exp: Same.
4637
3f512721
SM
46382020-03-12 Simon Marchi <simon.marchi@efficios.com>
4639
4640 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4641
40310f30
SM
46422020-03-12 Simon Marchi <simon.marchi@efficios.com>
4643
4644 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4645 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4646 on" while stepping over the test instruction, match printed
4647 message.
4648
09252140
TV
46492020-03-12 Tom de Vries <tdevries@suse.de>
4650
4651 * gdb.base/info-types.exp: Use exp_continue during matching of output
4652 of "info types".
4653
14e9c72c
TV
46542020-03-12 Tom de Vries <tdevries@suse.de>
4655
4656 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4657
e515d67e
TV
46582020-03-12 Tom de Vries <tdevries@suse.de>
4659
4660 * gdb.fortran/module.exp: Use exp_continue during matching of output
4661 of "info variable -n".
4662
307eafd8
TV
46632020-03-12 Tom de Vries <tdevries@suse.de>
4664
4665 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4666 gdb.dwarf2/dw2-ranges-base.c.
4667
9a2de3fc
TV
46682020-03-12 Tom de Vries <tdevries@suse.de>
4669
4670 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4671 in presence of GLIBC debuginfo.
4672
3217502e
TV
46732020-03-12 Tom de Vries <tdevries@suse.de>
4674
4675 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4676 $core.
4677
1281424c
TV
46782020-03-12 Tom de Vries <tdevries@suse.de>
4679
4680 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4681 more precise.
4682
038b97fc
SM
46832020-03-11 Simon Marchi <simon.marchi@efficios.com>
4684
4685 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4686 from Unix to Windows path.
4687
5308d1e7
TV
46882020-03-11 Tom de Vries <tdevries@suse.de>
4689
4690 * gdb.ada/minsyms.exp: Set language to ada.
4691
f870f78f
TV
46922020-03-11 Tom de Vries <tdevries@suse.de>
4693
4694 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4695
5a13315d
TV
46962020-03-11 Tom de Vries <tdevries@suse.de>
4697
4698 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4699
976862ed
TT
47002020-03-11 Tom Tromey <tromey@adacore.com>
4701
4702 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4703
7462c383
TV
47042020-03-11 Tom de Vries <tdevries@suse.de>
4705
4706 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4707
1c6c46a0
TV
47082020-03-11 Tom de Vries <tdevries@suse.de>
4709
4710 * gdb.base/break-interp.exp: Limit verbose scope.
4711
44f41bb7
TV
47122020-03-11 Tom de Vries <tdevries@suse.de>
4713
4714 * gdb.fortran/logical.f90: Define variable with character type.
4715 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4716
b76f3a42
TV
47172020-03-11 Tom de Vries <tdevries@suse.de>
4718
4719 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4720
1c33af77
TV
47212020-03-11 Tom de Vries <tdevries@suse.de>
4722
4723 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4724 symtabs.
4725
8c95582d
AB
47262020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4727 Bernd Edlinger <bernd.edlinger@hotmail.de>
4728
4729 * gdb.cp/step-and-next-inline.cc: New file.
4730 * gdb.cp/step-and-next-inline.exp: New file.
4731 * gdb.cp/step-and-next-inline.h: New file.
4732 * gdb.dwarf2/dw2-is-stmt.c: New file.
4733 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4734 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4735 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4736 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4737
cecf8547
AB
47382020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4739
4740 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4741 is-stmt flag in the line table.
4742
0ba678c9
TV
47432020-03-09 Tom de Vries <tdevries@suse.de>
4744
4745 * lib/gdb.exp (cached_file): Create cache dir.
4746
72fbdf83
TV
47472020-03-07 Tom de Vries <tdevries@suse.de>
4748
4749 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4750 * gdb.cp/rvalue-ref-params.exp: Same.
4751
436b5e99
TV
47522020-03-06 Tom de Vries <tdevries@suse.de>
4753
4754 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4755 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4756
09f2921c
TV
47572020-03-06 Tom de Vries <tdevries@suse.de>
4758
4759 * README: Fix "the the".
4760 * gdb.base/dprintf.exp: Same.
4761
50a3cc5d
TV
47622020-03-05 Tom de Vries <tdevries@suse.de>
4763
4764 * gdb.base/maint.exp: Update "main print statistics" expected output.
4765
0a709cba
AKS
47662020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4767
4768 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4769 (fortran_int8): Likewise.
4770 (fortran_real4): Likewise.
4771 (fortran_real8): Likewise.
4772 (fortran_complex4): Likewise.
4773 (fortran_logical4): Likewise.
4774 (fortran_character1): Likewise.
4775
5e5d66b6
AB
47762020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4777
4778 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4779 printed as true.
4780
7b973adc
SDJ
47812020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4782
4783 * gdb.base/printcmds.exp: Add test to verify printf of a
4784 variable holding an address.
4785
478e490a
TV
47862020-03-03 Tom de Vries <tdevries@suse.de>
4787
4788 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4789
1ef44e86
TV
47902020-03-03 Tom de Vries <tdevries@suse.de>
4791
4792 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4793 gdb_test_multiple call.
4794
b98cc2cf
TV
47952020-03-03 Tom de Vries <tdevries@suse.de>
4796
4797 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4798 gdb_test_multiple calls.
4799
63e163f2
AB
48002020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4801
4802 * gdb.base/default.exp: Remove test of 'set history filename'.
4803 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4804 filename to the empty string.
4805 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4806 and GDBHISTSIZE.
4807
24ed6739
AB
48082020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4809
4810 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4811 disabled.
4812
590003dc 48132020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4814 Tom de Vries <tdevries@suse.de>
590003dc
TV
4815
4816 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4817 -prompt prefix, before user_code argument. Add -lbl option likewise.
4818 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4819 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4820 argument.
4821 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4822 have "\r\n" at start-of-line, instead of at end-of-line.
4823
f5e46084
SM
48242020-02-28 Simon Marchi <simon.marchi@efficios.com>
4825
4826 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4827 libinproctrace.so.
4828
f7a7000d
LM
48292020-02-28 Luis Machado <luis.machado@linaro.org>
4830
4831 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4832 to "p/x".
4833
718e0816
LM
48342020-02-28 Luis Machado <luis.machado@linaro.org>
4835
4836 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4837 asm/ptrace.h and error.h.
4838
13c3a74a
TV
48392020-02-28 Tom de Vries <tdevries@suse.de>
4840
4841 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4842 (struct wrapper, do_something, mundane/symada__cS): Move ...
4843 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4844 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4845 Update "print symada__cS before partial symtab expansion" regexp.
4846 Update breakpoint location. Flush symbol cache after expansion.
4847
85d2d5bb
LM
48482020-02-28 Luis Machado <luis.machado@linaro.org>
4849
4850 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4851
3608f86c
TV
48522020-02-27 Tom de Vries <tdevries@suse.de>
4853
4854 * config/sid.exp: Remove unused globals.
4855 * gdb.base/attach.exp: Same.
4856 * gdb.base/catch-load.exp: Same.
4857 * gdb.base/dbx.exp: Same.
4858 * lib/gdb.exp: Same.
4859 * lib/mi-support.exp: Same.
4860 * lib/prompt.exp: Same.
4861
c8d4f6df
TV
48622020-02-27 Tom de Vries <tdevries@suse.de>
4863
4864 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4865 not set.
4866
0d79cdc4
AM
48672020-02-26 Aaron Merey <amerey@redhat.com>
4868
4869 * gdb.debuginfod: New directory for debuginfod tests.
4870 * gdb.debuginfod/main.c: New test file.
4871 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4872
0dce4280
TV
48732020-02-26 Tom de Vries <tdevries@suse.de>
4874
4875 PR gdb/25603
4876 * gdb.base/persistent-lang.cc: New test.
4877 * gdb.base/persistent-lang.exp: New file.
4878
9e80cfa1
AB
48792020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4880
4881 * gdb.fortran/derived-type-striding.exp: Add a new test.
4882 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4883 new test.
4884
2078dbb2
AB
48852020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4886
4887 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4888 names.
4889
70d49700
TV
48902020-02-25 Tom de Vries <tdevries@suse.de>
4891
4892 PR go/18926
4893 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4894
a88ef40d
TV
48952020-02-24 Tom de Vries <tdevries@suse.de>
4896
4897 PR gdb/25592
4898 * gdb.base/info-locals-unused-static-var.c: New test.
4899 * gdb.base/info-locals-unused-static-var.exp: New file.
4900
01b1af32
TT
49012020-02-22 Tom Tromey <tom@tromey.com>
4902
4903 * gdb.python/tui-window.exp: New file.
4904 * gdb.python/tui-window.py: New file.
4905
7c043ba6
TT
49062020-02-22 Tom Tromey <tom@tromey.com>
4907
4908 PR tui/17850:
4909 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4910 tests.
4911
c22fef7e
TT
49122020-02-22 Tom Tromey <tom@tromey.com>
4913
4914 * gdb.tui/new-layout.exp: Add sub-layout tests.
4915
ee325b61
TT
49162020-02-22 Tom Tromey <tom@tromey.com>
4917
4918 * gdb.tui/new-layout.exp: New file.
4919
3f0cbb04
TT
49202020-02-22 Tom Tromey <tom@tromey.com>
4921
4922 * gdb.rust/rust-style.rs: New file.
4923 * gdb.rust/rust-style.exp: New file.
4924 * gdb.base/style.exp: Test structure printing.
4925 * gdb.base/style.c (struct some_struct): New type.
4926 (enum etype): New type.
4927 (struct_value): New global.
4928
75525152
TV
49292020-02-21 Tom de Vries <tdevries@suse.de>
4930
4931 PR go/18926
4932 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4933 Remove blanket xfails. Use message argument for gdb_breakpoint.
4934 Make continuing to breakpoint test conditional on setting breakpoint.
4935 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4936 DW_AT_name attribute. Add xfail for GCC PR93866.
4937
bd360d30
AB
49382020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4939
4940 * gdb.dwarf2/cpp-linkage-name.c: New file.
4941 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4942
c7adb09f 49432020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4944
4945 * lib/gdb.exp (gdb_wrapper_init): Reset
4946 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4947 not exist.
4948
a9c79803
TV
49492020-02-20 Tom de Vries <tdevries@suse.de>
4950
4951 PR go/17018
4952 * gdb.go/hello.exp: Copy ...
4953 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4954 print of st to print value of global definition. Add xfail for GCC
4955 PR93844.
4956 * gdb.go/hello.exp: Remove printing of st before definition.
4957 * gdb.go/hello.go: Copy ...
4958 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4959 to st.
4960 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4961
d7445728
TV
49622020-02-20 Tom de Vries <tdevries@suse.de>
4963
4964 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4965 (gdb_simple_compile): Handle compile_flags go by using .go extension
4966 for source file.
4967 * gdb.go/chan.exp: Use support_go_compile.
4968 * gdb.go/handcall.exp: Same.
4969 * gdb.go/hello.exp: Same.
4970 * gdb.go/integers.exp: Same.
4971 * gdb.go/max-depth.exp: Same.
4972 * gdb.go/methods.exp: Same.
4973 * gdb.go/package.exp: Same.
4974 * gdb.go/strings.exp: Same.
4975 * gdb.go/types.exp: Same.
4976 * gdb.go/unsafe.exp: Same.
4977
c9c41e6d
TV
49782020-02-19 Tom de Vries <tdevries@suse.de>
4979
4980 * gdb.python/lib-types.exp: Make xfail more strict.
4981
f20ff837
TV
49822020-02-19 Tom de Vries <tdevries@suse.de>
4983
4984 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4985
08410482
DE
49862020-02-19 Doug Evans <dje@google.com>
4987
4988 PR rust/25535
4989 * gdb.rust/simple.exp: Add test.
4990 * gdb.rust/simple.rs: Add test.
4991
623563f7
TV
49922020-02-19 Tom de Vries <tdevries@suse.de>
4993
4994 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4995 output line-by-line.
4996
d3308cfd
TV
49972020-02-19 Tom de Vries <tdevries@suse.de>
4998
4999 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5000
86cbc5dc
TV
50012020-02-19 Tom de Vries <tdevries@suse.de>
5002
5003 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5004 prelink.
5005
9db2b96b
TV
50062020-02-19 Tom de Vries <tdevries@suse.de>
5007
5008 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5009 (gdb_do_cache): Use gdb_do_cache_wrap.
5010 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5011
89e2fdc5
TV
50122020-02-19 Tom de Vries <tdevries@suse.de>
5013
5014 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5015 gdb_compile option.
5016
373d7ac0
SM
50172020-02-18 Simon Marchi <simon.marchi@efficios.com>
5018
5019 * gdb.base/printcmds.exp (test_print_enums): Update expected
5020 output.
5021
b29a2df0
SM
50222020-02-18 Simon Marchi <simon.marchi@efficios.com>
5023
5024 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5025 for "unknown".
5026
6740f0cc
SM
50272020-02-18 Simon Marchi <simon.marchi@efficios.com>
5028
5029 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5030 enumerator.
5031
edd45eb0
SM
50322020-02-18 Simon Marchi <simon.marchi@efficios.com>
5033
5034 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5035 FE_, add FE_NONE.
5036 (three): Update.
5037 (enum flag_enum_without_zero): New enum.
5038 (flag_enum_without_zero): New variable.
5039 (enum not_flag_enum): New enum.
5040 (three_not_flag): New variable.
5041 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5042 (test_print_enums): Add more tests for printing flag enums.
5043
d4295de4
TV
50442020-02-18 Tom de Vries <tdevries@suse.de>
5045
5046 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5047 (gdb_compile_ada): ... here.
5048 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5049 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5050
f251f505
TT
50512020-02-14 Tom Tromey <tom@tromey.com>
5052
5053 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5054 build directory.
5055 * boards/gdbserver-base.exp: Update path to gdbserver.
5056
8f432634
TV
50572020-02-13 Tom de Vries <tdevries@suse.de>
5058
5059 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5060
92b6eaf7
TV
50612020-02-13 Tom de Vries <tdevries@suse.de>
5062
5063 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5064 are missing.
5065
f3b0f7fe
TV
50662020-02-13 Tom de Vries <tdevries@suse.de>
5067
5068 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5069 call.
5070
f6be8713
SDJ
50712020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5072
5073 PR tui/25126
5074 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5075 * gdb.base/cached-source-file.c: New file.
5076 * gdb.base/cached-source-file.exp: New file.
5077
b2770d5e
TV
50782020-02-11 Tom de Vries <tdevries@suse.de>
5079
5080 PR testsuite/25488
5081 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5082
44f6938e
TV
50832020-02-10 Tom de Vries <tdevries@suse.de>
5084
5085 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5086
5f0e2eb7
MR
50872020-02-10 Maciej W. Rozycki <macro@wdc.com>
5088
5089 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5090 and $after_addr are both integers before making a comparison.
5091
46ce2b6f
TV
50922020-02-09 Tom de Vries <tdevries@suse.de>
5093
5094 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5095 command output and paste it into gdb.log. If any, paste catch message
5096 to gdb.log.
5097
5abbbe1d
TT
50982020-02-07 Tom Tromey <tromey@adacore.com>
5099
5100 PR breakpoints/24915:
5101 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5102
1d5d29e7
SV
51032020-02-06 Shahab Vahedi <shahab@synopsys.com>
5104
5105 * gdb.tui/tui-missing-src.exp: Add the "missing source
5106 file" test for the TUI.
5107
b0999b9b
AB
51082020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5109
5110 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5111 including a port number in the output.
5112
c3b149eb
AKS
51132020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5114
5115 * lib/fortran.exp (fortran_int4): Handle clang.
5116 (fortran_int8): Likewise.
5117 (fortran_real4): Likewise.
5118 (fortran_real8): Likewise.
5119 (fortran_complex4): Likewise.
5120 (fortran_logical4): Likewise.
5121 (fortran_character1): Likewise.
5122
f8dcc90b
TV
51232020-02-04 Tom de Vries <tdevries@suse.de>
5124
5125 * README (Race detection): Add note.
5126
f90ac7c2
TV
51272020-02-04 Tom de Vries <tdevries@suse.de>
5128
5129 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5130
780636ae
TV
51312020-02-04 Tom de Vries <tdevries@suse.de>
5132
5133 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5134
5d2e1193
RA
51352020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5136
5137 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5138 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5139 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5140 blttar, bnetarl.
5141 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5142 binary for blttar, bnetarl.
5143 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5144 wait instruction. Delete ldmx test.
5145 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5146
e409c542
AKS
51472020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5148
5149 * gdb.fortran/array-bounds-high.exp: New file.
5150 * gdb.fortran/array-bounds-high.f90: New file.
5151
b0029748
LD
51522020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5153
5154 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5155 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5156
195a8287
TV
51572020-02-01 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5160
42330a68
AB
51612020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5162
5163 PR tui/9765
5164 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5165 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5166
b62a8028
LM
51672020-01-29 Luis Machado <luis.machado@linaro.org>
5168
5169 * gdb.arch/aarch64-brk-patterns.c: New source file.
5170 * gdb.arch/aarch64-brk-patterns.exp: New test.
5171
5f440116
TBA
51722020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5173
5174 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5175 GCC/Clang version.
5176 * gdb.cp/pass-by-ref.exp: Ditto.
5177
ee2a6fc6
TV
51782020-01-29 Tom de Vries <tdevries@suse.de>
5179
5180 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5181 * gdb.threads/watchpoint-fork-mt.c: Same.
5182 * gdb.threads/watchpoint-fork-parent.c: Same.
5183 * gdb.threads/watchpoint-fork-st.c: Same.
5184 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5185
16b10d6e
LM
51862020-01-27 Luis Machado <luis.machado@linaro.org>
5187
5188 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5189 sitting at a syscall instruction when we hit the syscall function's
5190 breakpoint.
5191 Check PC against one obtained with the x command.
5192 Validate syscall number.
5193 (step_over_syscall): Don't continue to the syscall instruction if
5194 we're already there.
5195
b1468492
PW
51962020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5197
5198 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5199
7ffa82e1
AB
52002020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5201
5202 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5203 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5204
3d92a3e3
AB
52052020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5206
5207 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5208 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5209
94a72be7
AB
52102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5211
5212 * gdb.base/maint.exp: Update line table parsing test.
5213 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5214
53af73bf
PA
52152020-01-24 Pedro Alves <palves@redhat.com>
5216
5217 PR gdb/25410
5218 * gdb.multi/multi-re-run-1.c: New.
5219 * gdb.multi/multi-re-run-2.c: New.
5220 * gdb.multi/multi-re-run.exp: New.
5221
1ba1ac88
AB
52222020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5223
5224 PR gdb/23718
5225 * gdb.server/server-kill-python.exp: New file.
5226
f3364a6d
AB
52272020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5228
5229 * gdb.server/multi-ui-errors.c: New file.
5230 * gdb.server/multi-ui-errors.exp: New file.
5231
733d0a67
AB
52322020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5233
5234 PR tui/9765
5235 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5236
4f13c1c0
TT
52372020-01-19 Tom Tromey <tom@tromey.com>
5238
5239 * gdb.tui/main.exp: Add check for plain "file".
5240
40c94099
CB
52412020-01-16 Christian Biesinger <cbiesinger@google.com>
5242
5243 * lib/gdb.exp: Fix spelling error (seperatelly).
5244
ff47f4f0
TT
52452020-01-14 Tom Tromey <tom@tromey.com>
5246
5247 PR symtab/12535:
5248 * gdb.python/python.exp: Test decode_line with empty string
5249 argument.
5250
717c684d
BE
52512020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5252
5253 * gdb.base/skip-inline.exp: Extend test.
5254
44e4c775
AB
52552020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5256
5257 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5258 * gdb.dwarf2/dw2-bad-elf.c: New file.
5259 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5260
d93c6db7
AB
52612020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5262
5263 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5264 _line_saw_file.
5265
9a6d629c
AB
52662020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5267
5268 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5269 border.
5270
d9ebdab7
TBA
52712020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5272
5273 * gdb.multi/multi-target.exp (setup): Factor out "info
5274 connections" and "info inferiors" tests to ...
5275 (test_info_inferiors): ... this new procedure.
5276 (top level): Run new "info-inferiors" tests.
5277
f3c469b9
PA
52782020-01-10 Pedro Alves <palves@redhat.com>
5279
5280 * gdb.server/bkpt-other-inferior.exp: New file.
5281
121b3efd
PA
52822020-01-10 Pedro Alves <palves@redhat.com>
5283
5284 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5285 of "add-inferior".
5286 * gdb.base/quit-live.exp: Likewise.
5287 * gdb.base/remote-exec-file.exp: Likewise.
5288 * gdb.guile/scm-progspace.exp: Likewise.
5289 * gdb.linespec/linespec.exp: Likewise.
5290 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5291 * gdb.mi/user-selected-context-sync.exp: Likewise.
5292 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5293 "info inferiors" tests.
5294 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5295 "add-inferior".
5296 * gdb.multi/watchpoint-multi.exp: Likewise.
5297 * gdb.python/py-inferior.exp: Likewise.
5298 * gdb.server/extended-remote-restart.exp: Likewise.
5299 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5300 "info inferiors".
5301 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5302 * gdb.trace/report.exp: Likewise.
5303
1dadb1dd
PA
53042020-01-10 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.multi/multi-target.c: New file.
5307 * gdb.multi/multi-target.exp: New file.
5308 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5309 mode requested, but remote does not support non-stop".
5310
78f2c40a
PA
53112020-01-10 Pedro Alves <palves@redhat.com>
5312
5313 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5314 disconnect before reconnecting.
5315
e7af6c70
TBA
53162020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5317 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.server/connect-without-multi-process.exp: Also test
5320 continuing to end.
5321
acdf84a6
PA
53222020-01-10 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.base/remote-exec-file.exp: New file.
5325
873657b9
PA
53262020-01-10 Pedro Alves <palves@redhat.com>
5327
5328 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5329 output.
5330 * gdb.threads/async.c: New.
5331 * gdb.threads/async.exp: New.
5332 * gdb.multi/tids-gid-reset.c: New.
5333 * gdb.multi/tids-gid-reset.exp: New.
5334
7f0ae84c
GB
53352020-01-10 George Barrett <bob@bob131.so>
5336
5337 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5338 to help in finding the image relocation offset.
5339 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5340 options in arguments.
5341 (stap_test_no_debuginfo): Likewise.
5342 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5343 test variants.
5344 (stap_test): Add null semaphore relocation test.
5345
47e9d49d
GB
53462020-01-10 George Barrett <bob@bob131.so>
5347
5348 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5349 * gdb.base/stap-probe.exp: Likewise.
5350 (stap_test): Pass argument as an additional flag.
5351 (stap_test_no_debuginfo): Likewise.
5352 (stap_test): Check `info probes stap' output for semaphore
5353 addresses if the test binary is supposed to have them.
5354
f5a7c406
AB
53552020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5356
5357 * gdb.tui/basic.exp: Add more scrolling tests.
5358
9ae6bf64
TT
53592020-01-09 Tom Tromey <tom@tromey.com>
5360
5361 PR tui/18932:
5362 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5363 meangingful value.
5364 (Term::command, Term::resize): Update.
5365 * gdb.tui/basic.exp: Add scrolling test.
5366
b2efe70c
AB
53672020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5368
5369 * gdb.tui/tui-layout-asm.exp: New file.
5370
3804da7e
AB
53712020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5372
5373 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5374
b40aa28f
AB
53752020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5376
5377 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5378 (Term::enter_tui): Use Term::prepare_for_tui.
5379
63ffd7c9
AB
53802020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5381
5382 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5383 called.
5384
3be966f6
AB
53852020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5386
5387 * gdb.base/skip.exp: Fix race condition in test.
5388
153d79c4
AB
53892020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5390
5391 * gdb.base/backtrace.c: New file.
5392 * gdb.base/backtrace.exp: New file.
5393
f2302a34
AB
53942020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5395
5396 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5397
6ec1d75e
PW
53982020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5399
5400 * gdb.base/style.exp: Test that warnings are styled.
5401
c296cbe6
BE
54022019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5403
5404 * gdb.base/line65535.exp: New file.
5405 * gdb.base/line65535.c: New file.
5406
b28a729d
SM
54072019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5408
5409 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5410 * lib/gnat_debug_info_test.adb: New file.
5411 * gdb.ada/ptype_tagged_param.exp: Use
5412 gnat_runtime_has_debug_info, expect a different output if
5413 runtime does not have debug info.
5414
7f2d7a0d
SM
54152019-12-20 Simon Marchi <simon.marchi@efficios.com>
5416
5417 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5418 (another) quote in test name.
5419
f3bce483
SM
54202019-12-20 Simon Marchi <simon.marchi@efficios.com>
5421
5422 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5423 Add quote in test name.
5424
c855a912
TBA
54252019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5426
5427 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5428 directory instead.
5429 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5430 * gdb.cp/pass-by-ref-2.cc: New file.
5431 * gdb.cp/pass-by-ref-2.exp: New file.
5432
fc9d2d72
TT
54332019-12-20 Tom Tromey <tom@tromey.com>
5434
5435 * gdb.tui/list-before.exp: New file.
5436
77b97e00
TT
54372019-12-20 Tom Tromey <tom@tromey.com>
5438
5439 * gdb.tui/list.exp: Check for source on initial listing.
5440
f69656d0
TT
54412019-12-11 Tom Tromey <tromey@adacore.com>
5442
5443 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5444 Add crlf test.
5445
99a55965
SM
54462019-12-18 Simon Marchi <simon.marchi@efficios.com>
5447
5448 * gdb.base/default.exp: Update value of $_gdb_major.
5449
5024637f
BE
54502019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5451
5452 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5453
b63634be
BE
54542019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5455
5456 * gdb.base/skip.exp: Whitespace fix.
5457
45d73523
BE
54582019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5459
5460 * gdb.base/skip-inline.c: New file.
5461 * gdb.base/skip-inline.exp: New file.
5462
d043f8c8
SM
54632019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5464
5465 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5466 jit_function_00 to jit_function_stack_mangle.
5467 * gdb.base/jithost.c (jit_function_t): Rename to...
5468 (jit_function_stack_mangle_t): ... this.
5469 (jit_function_add_t): New typedef.
5470 (jit_function_00_code): Rename to...
5471 (jit_function_stack_mangle_code): ... this, make static.
5472 (jit_function_add_code): New.
5473 (main): Generate "add" function and call it. Adjust to changes
5474 in jithost_abi.
5475 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5476 (struct jithost_abi) <begin, end>: Remove fields.
5477 <object, function_stack_mangle, function_add>: New fields.
5478 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5479 code_end>: Remove fields.
5480 <func_stack_mangle>: New field.
5481 (read_debug_info): Adjust to renaming, create block for "add"
5482 function.
5483 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5484
873de05c
TT
54852019-12-11 Tom Tromey <tom@tromey.com>
5486
5487 * gdb.tui/resize.exp: Fix regexp.
5488 * gdb.tui/regs.exp: Fix regexps.
5489 * gdb.tui/main.exp: Fix regexp.
5490
3d979945
TT
54912019-12-11 Tom Tromey <tom@tromey.com>
5492
5493 * gdb.tui/resize.exp: Update.
5494 * gdb.tui/empty.exp (layouts): Update.
5495
2192a9d3
TT
54962019-12-11 Tom Tromey <tom@tromey.com>
5497
5498 * gdb.tui/regs.exp: Update.
5499 * gdb.tui/empty.exp (layouts): Update.
5500 * gdb.tui/basic.exp: Update.
5501 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5502
d8edc8b7
PW
55032019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5504
5505 * gdb.base/options.exp: Add -raw-values in the print completion list.
5506 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5507
4c12d936
KB
55082019-12-10 Kevin Buettner <kevinb@redhat.com>
5509
5510 * gdb.threads/omp-par-scope.c: New file.
5511 * gdb/threads/omp-par-scope.exp: New file.
5512
26b911fb
KB
55132019-12-10 Kevin Buettner <kevinb@redhat.com>
5514
bb47f919
KB
5515 * lib/gdb.exp (support_nested_function_tests): New proc.
5516
55172019-12-10 Kevin Buettner <kevinb@redhat.com>
5518
5519 * lib/gdb.exp (gdb_compile_openmp): New proc.
5520 (build_executable_from_specs): Add an "openmp" option.
5521 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5522
6c71eb7d
TT
55232019-12-10 Tom Tromey <tromey@adacore.com>
5524
5525 * gdb.ada/unchecked_union.exp: New file.
5526 * gdb.ada/unchecked_union/pck.adb: New file.
5527 * gdb.ada/unchecked_union/pck.ads: New file.
5528 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5529 * gdb-utils.exp (string_to_regexp): Also quote "?".
5530
bac7c5cf
GB
55312019-12-10 George Barrett <bob@bob131.so>
5532
5533 Test scripted probe breakpoints.
5534 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5535 * gdb.python/py-breakpoint.c (main): Likewise.
5536 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5537 specifier test.
5538 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5539
330f1d38
TBA
55402019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5541
5542 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5543 an rvalue parameter.
5544 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5545 parameter.
5546
b43315e2
AB
55472019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5548
5549 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5550 modules.
5551
54f73dad
AB
55522019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5553
5554 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5555 broken version of GCC.
5556
d57cbee9
AB
55572019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5558
5559 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5560 sym-info-cmds library.
5561 * gdb.fortran/info-types.exp: Likewise.
5562 * lib/sym-info-cmds.exp: New file.
5563
c14aab8c
TV
55642019-12-08 Tom de Vries <tdevries@suse.de>
5565
5566 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5567
aa2d5a42
KS
55682019-12-07 Keith Seitz <keiths@redhat.com>
5569
5570 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5571 * gdb.base/corefile-buildid-shlib.c: New file.
5572 * gdb.base/corefile-buildid.c: New file.
5573 * gdb.base/corefile-buildid.exp: New file.
5574
93e55f0a
TV
55752019-12-06 Tom de Vries <tdevries@suse.de>
5576
5577 * gdb.dwarf2/varval.exp: Add decl before def test.
5578
c7d12402
TBA
55792019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5580
5581 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5582
06acc08f
TBA
55832019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5584
5585 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5586 CV and reference conversion for overload resolution.
5587 * gdb.cp/rvalue-ref-overload.exp: Test it.
5588
e0fad1ea
PW
55892019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5590
5591 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5592 * gdb.base/frameapply.exp: Test faas without command.
5593
8d70a9f0
AB
55942019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5595
5596 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5597 Fortran tests.
5598 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5599 order.
5600
36c8fb93
AB
56012019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5602
5603 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5604 casting to type with no kind specified.
5605 (test_basic_parsing_of_type_kinds): Additional tests for types
5606 with no kind specified, and add tests for single/double
5607 precision/complex types.
5608
4139ff00
TT
56092019-12-04 Tom Tromey <tromey@adacore.com>
5610
5611 * gdb.base/endianity.c (struct other) <x>: New field.
5612 (main): Initialize it.
5613 * gdb.base/endianity.exp: Update.
5614
a05cf17a
TT
56152019-12-04 Tom Tromey <tromey@adacore.com>
5616
5617 * gdb.ada/scalar_storage/storage.adb: New file.
5618 * gdb.ada/scalar_storage/pck.adb: New file.
5619 * gdb.ada/scalar_storage/pck.ads: New file.
5620 * gdb.ada/scalar_storage.exp: New file.
5621
103a685e
TT
56222019-12-04 Tom Tromey <tromey@adacore.com>
5623
5624 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5625 (main): Initialize it.
5626 * gdb.base/endianity.exp: Update.
5627
c2512106
AB
56282019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5629
5630 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5631
293b38d6
AB
56322019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5633
5634 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5635 -symbol-info-module-functions and -symbol-info-module-variables.
5636
216a7e6b
AB
56372019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5638
5639 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5640
5bbd8269
AB
56412019-12-01 Richard Bunt <richard.bunt@arm.com>
5642 Andrew Burgess <andrew.burgess@embecosm.com>
5643
5644 * gdb.fortran/derived-type-striding.exp: New file.
5645 * gdb.fortran/derived-type-striding.f90: New file.
5646 * gdb.fortran/array-slices.exp: New file.
5647 * gdb.fortran/array-slices.f90: New file.
5648
be09caf1
PW
56492019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5650
5651 * gdb.base/define.exp: Test . in command names.
5652 * gdb.base/setshow.exp: Update test, as . is now part of
5653 command name.
5654
643c0cbe
PW
56552019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5656
5657 * gdb.base/define-prefix.exp: New file.
5658
dcdec678
AB
56592019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5660
5661 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5662 compile.
5663 (skip_btrace_pt_tests): Likewise.
5664
640ab947
AB
56652019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5666
5667 * gdb.fortran/info-modules.exp: Compile source files in correct
5668 order.
5669
d22670f0
KB
56702019-11-27 Kevin Buettner <kevinb@redhat.com>
5671
5672 * gdb.dwarf2/imported-unit.exp: New file.
5673 * gdb.dwarf2/imported-unit.c: New file.
5674
db5960b4
AB
56752019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5676
5677 * gdb.mi/mi-fortran-modules-2.f90: New file.
5678 * gdb.mi/mi-fortran-modules.exp: New file.
5679 * gdb.mi/mi-fortran-modules.f90: New file.
5680
7dc42066
AB
56812019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5682
5683 * gdb.mi/mi-sym-info-1.c: New file.
5684 * gdb.mi/mi-sym-info-2.c: New file.
5685 * gdb.mi/mi-sym-info.exp: New file.
5686
0dfeecca
TT
56872019-11-22 Tom Tromey <tromey@adacore.com>
5688
5689 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5690 * gdb.ada/tasks/foo.adb: Add another stopping location.
5691
34877895
PJ
56922019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5693
5694 * gdb.base/endianity.c: New test.
5695 * gdb.base/endianity.exp: New file.
5696
2e84f897
LD
56972019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5698
5699 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5700
65d1cd5f
TV
57012019-11-21 Tom de Vries <tdevries@suse.de>
5702
5703 PR gdb/24956
5704 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5705
4f22c3f4
SDJ
57062019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5707
5708 * gdb.python/py-progspace.exp: Add missing parentheses on some
5709 'print' commands.
5710
9f6ad286
TT
57112019-11-19 Tom Tromey <tom@tromey.com>
5712
5713 * gdb.tui/winheight.exp: New file.
5714
0b8dbf3f
AB
57152019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5716
5717 * gdb.base/ctf-whatis.c: Delete.
5718 * gdb.base/ctf-whatis.exp: Delete.
5719 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5720
f833b7a7
AB
57212019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5722
5723 * gdb.base/ctf-cvexpr.exp: Delete.
5724 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5725
30d0a636
AB
57262019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5727
5728 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5729 the compiler. Clean up header comment a little.
5730 * gdb.base/ctf-ptype.exp: Likewise.
5731 * gdb.base/ctf-whatis.exp: Likewise.
5732 * lib/gdb.exp (skip_ctf_tests): New proc.
5733
494409bb
SDJ
57342019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5735
5736 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5737 * gdb.tui/corefile-run.exp: New file.
5738
55708e99
TT
57392019-11-14 Tom Tromey <tromey@adacore.com>
5740
5741 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5742 regression tests.
5743
45e42163
TT
57442019-11-12 Tom Tromey <tom@tromey.com>
5745
5746 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5747 after any command. Expect prompt after WAIT_FOR is seen.
5748 (enter_tui): Enable resize messages.
5749 (command): Expect command in output.
5750 (get_line): Avoid error when cursor appears to be off-screen.
5751 (dump_screen): Include screen size in title.
5752 (_do_resize): New proc, from "resize".
5753 (resize): Rewrite. Do resize in two steps.
5754 * gdb.tui/empty.exp (layouts): Fix entries.
5755 (check_boxes): Remove xfail.
5756 (check_text): Dump screen on failure.
5757
086baaf1
AB
57582019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5759
5760 * gdb.python/py-symbol.exp: Add test for
5761 gdb.lookup_static_symbols.
5762
09ff83af
AB
57632019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5764
5765 * gdb.python/py-symbol.c: Declare and call function from new
5766 py-symbol-2.c file.
5767 * gdb.python/py-symbol.exp: Compile both source files, and add new
5768 tests for gdb.lookup_static_symbol.
5769 * gdb.python/py-symbol-2.c: New file.
5770
11af934b
TV
57712019-11-02 Tom de Vries <tdevries@suse.de>
5772
5773 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5774 * gdb.base/anon.exp: Same.
5775 * gdb.base/auto-connect-native-target.exp: Same.
5776 * gdb.base/call-ar-st.exp: Same.
5777 * gdb.base/catch-syscall.exp: Same.
5778 * gdb.base/commands.exp: Same.
5779 * gdb.base/default.exp: Same.
5780 * gdb.base/display.exp: Same.
5781 * gdb.base/float.exp: Same.
5782 * gdb.base/foll-fork.exp: Same.
5783 * gdb.base/help.exp: Same.
5784 * gdb.base/info-macros.exp: Same.
5785 * gdb.base/info-proc.exp: Same.
5786 * gdb.base/info-target.exp: Same.
5787 * gdb.base/long_long.exp: Same.
5788 * gdb.base/macscp.exp: Same.
5789 * gdb.base/memattr.exp: Same.
5790 * gdb.base/nofield.exp: Same.
5791 * gdb.base/pointers.exp: Same.
5792 * gdb.base/printcmds.exp: Same.
5793 * gdb.base/ptype.exp: Same.
5794 * gdb.base/restore.exp: Same.
5795 * gdb.base/return.exp: Same.
5796 * gdb.base/scope.exp: Same.
5797 * gdb.base/set-noassign.exp: Same.
5798 * gdb.base/setshow.exp: Same.
5799 * gdb.base/shlib-call.exp: Same.
5800 * gdb.base/signals.exp: Same.
5801 * gdb.base/sigstep.exp: Same.
5802 * gdb.base/skip.exp: Same.
5803 * gdb.base/solib-symbol.exp: Same.
5804 * gdb.base/stap-probe.exp: Same.
5805 * gdb.base/step-line.exp: Same.
5806 * gdb.base/step-test.exp: Same.
5807 * gdb.base/style.exp: Same.
5808 * gdb.base/varargs.exp: Same.
5809 * gdb.base/vla-datatypes.exp: Same.
5810 * gdb.base/vla-ptr.exp: Same.
5811 * gdb.base/vla-sideeffect.exp: Same.
5812 * gdb.base/volatile.exp: Same.
5813 * gdb.base/watch-cond-infcall.exp: Same.
5814 * gdb.base/watchpoint.exp: Same.
5815
e96ec2ba
TV
58162019-11-02 Tom de Vries <tdevries@suse.de>
5817
5818 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5819 * gdb.cp/cpexprs.exp: Same.
5820 * gdb.cp/except-multi-location.exp: Same.
5821 * gdb.cp/exceptprint.exp: Same.
5822 * gdb.cp/gdb2384.exp: Same.
5823 * gdb.cp/inherit.exp: Same.
5824 * gdb.cp/m-static.exp: Same.
5825 * gdb.cp/meth-typedefs.exp: Same.
5826 * gdb.cp/misc.exp: Same.
5827 * gdb.cp/namespace.exp: Same.
5828 * gdb.cp/non-trivial-retval.exp: Same.
5829 * gdb.cp/overload.exp: Same.
5830 * gdb.cp/pr17132.exp: Same.
5831 * gdb.cp/re-set-overloaded.exp: Same.
5832 * gdb.cp/rvalue-ref-types.exp: Same.
5833 * gdb.cp/templates.exp: Same.
5834
bd5766ec
LM
58352019-11-01 Luis Machado <luis.machado@linaro.org>
5836
5837 PR gdb/25124
5838
5839 * gdb.arch/pr25124.S: New file.
5840 * gdb.arch/pr25124.exp: New file.
5841
165f8965
AB
58422019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5843
5844 * gdb.fortran/info-modules.exp: Update expected results, and add
5845 additional tests for 'info module functinos', and 'info module
5846 variables'.
5847 * gdb.fortran/info-types.exp: Update expected results.
5848 * gdb.fortran/info-types.f90: Extend testcase with additional
5849 module variables and functions.
5850
59c35742
AB
58512019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5852
5853 * gdb.fortran/info-modules.exp: New file.
5854 * gdb.fortran/info-types.exp: Build with new file.
5855 * gdb.fortran/info-types.f90: Include and use new module.
5856 * gdb.fortran/info-types-2.f90: New file.
5857
f3fb2519
PW
58582019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5859
5860 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5861 * gdb.base/settings.exp: Test all settings types using
5862 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5863 that now verifies that the value of "maint show" is the same as
5864 returned by the settings functions. Test the type of the
5865 maintenance settings.
5866 * gdb.base/default.exp: Update show_conv_list.
5867
d1e36019
TV
58682019-10-31 Tom de Vries <tdevries@suse.de>
5869
5870 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5871 gdb_test.
5872 * gdb.arch/amd64-disp-step.exp: Same.
5873 * gdb.asm/asm-source.exp: Same.
5874 * gdb.btrace/buffer-size.exp: Same.
5875 * gdb.btrace/cpu.exp: Same.
5876 * gdb.btrace/enable.exp: Same.
5877 * gdb.dwarf2/count.exp: Same.
5878 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5879 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5880 * gdb.fortran/vla-datatypes.exp: Same.
5881 * gdb.fortran/vla-history.exp: Same.
5882 * gdb.fortran/vla-ptype.exp: Same.
5883 * gdb.fortran/vla-value.exp: Same.
5884 * gdb.fortran/whatis_type.exp: Same.
5885 * gdb.guile/guile.exp: Same.
5886 * gdb.multi/tids.exp: Same.
5887 * gdb.python/py-finish-breakpoint.exp: Same.
5888 * gdb.python/py-framefilter.exp: Same.
5889 * gdb.python/py-pp-registration.exp: Same.
5890 * gdb.python/py-xmethods.exp: Same.
5891 * gdb.python/python.exp: Same.
5892 * gdb.server/connect-with-no-symbol-file.exp: Same.
5893 * gdb.server/no-thread-db.exp: Same.
5894 * gdb.server/run-without-local-binary.exp: Same.
5895 * gdb.stabs/weird.exp: Same.
5896 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5897 * gdb.threads/thread-find.exp: Same.
5898 * gdb.threads/tls-shared.exp: Same.
5899 * gdb.threads/tls.exp: Same.
5900 * gdb.threads/wp-replication.exp: Same.
5901 * gdb.trace/ax.exp: Same.
5902 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5903
3d11e68e
TV
59042019-10-31 Tom de Vries <tdevries@suse.de>
5905
5906 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5907 * gdb.ada/array_subscript_addr.exp: Same.
5908 * gdb.ada/arrayidx.exp: Same.
5909 * gdb.ada/arrayparam.exp: Same.
5910 * gdb.ada/arrayptr.exp: Same.
5911 * gdb.ada/boolean_expr.exp: Same.
5912 * gdb.ada/call_pn.exp: Same.
5913 * gdb.ada/complete.exp: Same.
5914 * gdb.ada/fixed_cmp.exp: Same.
5915 * gdb.ada/fun_addr.exp: Same.
5916 * gdb.ada/funcall_param.exp: Same.
5917 * gdb.ada/interface.exp: Same.
5918 * gdb.ada/mod_from_name.exp: Same.
5919 * gdb.ada/null_array.exp: Same.
5920 * gdb.ada/packed_array.exp: Same.
5921 * gdb.ada/packed_tagged.exp: Same.
5922 * gdb.ada/print_chars.exp: Same.
5923 * gdb.ada/print_pc.exp: Same.
5924 * gdb.ada/ptype_arith_binop.exp: Same.
5925 * gdb.ada/ptype_field.exp: Same.
5926 * gdb.ada/ptype_tagged_param.exp: Same.
5927 * gdb.ada/rec_return.exp: Same.
5928 * gdb.ada/ref_tick_size.exp: Same.
5929 * gdb.ada/str_ref_cmp.exp: Same.
5930 * gdb.ada/taft_type.exp: Same.
5931 * gdb.ada/tagged.exp: Same.
5932 * gdb.ada/type_coercion.exp: Same.
5933 * gdb.ada/uninitialized_vars.exp: Same.
5934
60b6ede8
TV
59352019-10-30 Tom de Vries <tdevries@suse.de>
5936
5937 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5938
30baf67b
TV
59392019-10-26 Tom de Vries <tdevries@suse.de>
5940
5941 * gdb.base/bigcore.c: Fix typos in comments.
5942 * gdb.base/ctf-ptype.c: Same.
5943 * gdb.base/long_long.c: Same.
5944 * gdb.dwarf2/dw2-op-out-param.S: Same.
5945 * gdb.python/py-evthreads.c: Same.
5946 * gdb.reverse/i387-stack-reverse.c: Same.
5947 * gdb.trace/tfile.c: Same.
5948 * lib/compiler.c: Same.
5949 * lib/compiler.cc: Same.
5950
158da0d1
TV
59512019-10-25 Tom de Vries <tdevries@suse.de>
5952
5953 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5954 gdb_test_multiple calls.
5955 * gdb.reverse/sigall-reverse.exp: Same.
5956 * gdb.reverse/solib-precsave.exp: Same.
5957 * gdb.reverse/solib-reverse.exp: Same.
5958 * gdb.reverse/until-precsave.exp: Same.
5959 * gdb.reverse/until-reverse.exp: Same.
5960
4ccdfbec
TV
59612019-10-24 Tom de Vries <tdevries@suse.de>
5962
5963 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5964 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5965 kfail using -wrap pattern flag and convenience variable
5966 gdb_test_name.
5967
33d569b7
AB
59682019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5969
5970 * gdb.python/py-progspace.exp: Add tests for the
5971 Progspace.block_for_pc method.
5972
4d0b984b
TT
59732019-10-23 Tom Tromey <tom@tromey.com>
5974
5975 * configure: Rebuild.
5976 * aclocal.m4: Use m4_include, not sinclude.
5977
94cb3754
TV
59782019-10-21 Tom de Vries <tdevries@suse.de>
5979
5980 * gdb.base/infcall-nested-structs.c: Add
5981 __attribute__((noinline,noclone)) to all functions.
5982 (call_all): Add missing variable initialization. Simplify return value.
5983 (breakpt): Increment volatile variable, to prevent call from being
5984 optimized out.
5985 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5986
062f1fc1
TV
59872019-10-17 Tom de Vries <tdevries@suse.de>
5988
5989 * gdb.fortran/module.exp: Allow info variables to print info for files
5990 other than module.f90.
5991
0b54364d
AB
59922019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5993
5994 * gdb.fortran/module.exp: Extend with 'info variables' test.
5995
7ff5fae7
AB
59962019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5997
5998 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5999 F77_FOR_TARGET.
6000
d10eccaa
TV
60012019-10-16 Tom de Vries <tdevries@suse.de>
6002
6003 PR tdep/25096
6004 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6005
745ff14e
TV
60062019-10-16 Tom de Vries <tdevries@suse.de>
6007
6008 PR tdep/24104
6009 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6010 Add KFAIL for PR tdep/25096.
6011
03e1ab94
TV
60122019-10-16 Tom de Vries <tdevries@suse.de>
6013
6014 PR testsuite/25059
6015 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6016
b17fcc10
TV
60172019-10-16 Tom de Vries <tdevries@suse.de>
6018
6019 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6020 as signed.
6021
9223170f
SM
60222019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6023
6024 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6025 one instead of increasing timeout.
6026
d6e76313
TV
60272019-10-13 Tom de Vries <tdevries@suse.de>
6028
6029 PR record/25038
6030 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6031 * gdb.reverse/sigall-reverse.exp: Same.
6032 * gdb.reverse/solib-precsave.exp: Same.
6033 * gdb.reverse/solib-reverse.exp: Same.
6034 * gdb.reverse/step-precsave.exp: Same.
6035 * gdb.reverse/until-precsave.exp: Same.
6036 * gdb.reverse/until-reverse.exp: Same.
6037 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6038
6dfc0041
AA
60392019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6040
6041 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6042 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6043 (cmp_struct_05_01, cmp_struct_static_02_01)
6044 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6045 comparisons.
6046
abcf2cc8
TV
60472019-10-10 Tom de Vries <tdevries@suse.de>
6048
6049 PR testsuite/24888
6050 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6051 gnatlink.
6052
a50faaf6
TV
60532019-10-09 Tom de Vries <tdevries@suse.de>
6054
6055 PR testsuite/25048
6056 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6057
60ff3cd7
AB
60582019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6059
6060 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6061 exceptions due to missing debug information.
6062
dfee8566
TV
60632019-10-07 Tom de Vries <tdevries@suse.de>
6064
6065 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6066
3d63690a
AB
60672019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6068
6069 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6070 * gdb.base/annota1.exp: Update to use gdb_test_name.
6071
30d1f018
WP
60722019-10-07 Weimin Pan <weimin.pan@oracle.com>
6073
6074 * gdb.base/ctf-whatis.exp: New file.
6075 * gdb.base/ctf-whatis.c: New file.
6076 * gdb.base/ctf-ptype.exp: New file.
6077 * gdb.base/ctf-ptype.c: New file.
6078 * gdb.base/ctf-constvars.exp: New file.
6079 * gdb.base/ctf-constvars.c: New file.
6080 * gdb.base/ctf-cvexpr.exp: New file.
6081
4dbbb47c
TV
60822019-10-04 Tom de Vries <tdevries@suse.de>
6083
6084 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6085 for loop.
6086
77c2dba3
TT
60872019-10-03 Tom Tromey <tom@tromey.com>
6088
6089 PR rust/24976:
6090 * gdb.rust/simple.rs (Union2): New type.
6091 (main): Use Union2.
6092 * gdb.rust/simple.exp: Add test.
6093
179aed7f
AB
60942019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6095
6096 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6097 nested function prefix.
6098
0a4b0913
AB
60992019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6100 Richard Bunt <richard.bunt@arm.com>
6101 Andrew Burgess <andrew.burgess@embecosm.com>
6102
6103 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6104 nested functions.
6105 * gdb.fortran/nested-funcs.f90: Update expected results.
6106 * gdb.fortran/nested-funcs-2.exp: New file.
6107 * gdb.fortran/nested-funcs-2.f90: New file.
6108
082cce05
AB
61092019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6110
6111 * gdb.python/py-parameter.exp: Make test names unique.
6112 * gdb.python/py-template.exp: Likewise.
6113 * gdb.python/py-value.exp: Likewise.
6114
2b74ba5a
AB
61152019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6116
6117 * gdb.base/break-interp.exp: Reduce test name duplication.
6118 * gdb.base/call-sc.exp: Likewise.
6119 * gdb.base/callfuncs.exp: Likewise.
6120 * gdb.base/charset.exp: Likewise.
6121 * gdb.base/dump.exp: Likewise.
6122 * gdb.base/ena-dis-br.exp: Likewise.
6123 * gdb.base/relational.exp: Likewise.
6124 * gdb.base/step-over-syscall.exp: Likewise.
6125 * gdb.base/structs.exp: Likewise.
6126
58eb20d5
AB
61272019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6128
6129 * gdb.linespec/explicit.exp: Make test names unique.
6130 * gdb.linespec/ls-errs.exp: Likewise.
6131
4d421147
AB
61322019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6133
6134 * gdb.reverse/break-precsave.exp: Make test names unique.
6135 * gdb.reverse/break-reverse.exp: Likewise.
6136 * gdb.reverse/finish-precsave.exp: Likewise.
6137 * gdb.reverse/finish-reverse.exp: Likewise.
6138 * gdb.reverse/machinestate-precsave.exp: Likewise.
6139 * gdb.reverse/machinestate.exp: Likewise.
6140 * gdb.reverse/readv-reverse.exp: Likewise.
6141 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6142 * gdb.reverse/sigall-precsave.exp: Likewise.
6143 * gdb.reverse/sigall-reverse.exp: Likewise.
6144 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6145 * gdb.reverse/watch-precsave.exp: Likewise.
6146 * gdb.reverse/watch-reverse.exp: Likewise.
6147
d8c06f22
AB
61482019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6149
6150 * gdb.threads/stop-with-handle.c: New file.
6151 * gdb.threads/stop-with-handle.exp: New file.
6152
3a56ed86
TV
61532019-10-03 Tom de Vries <tdevries@suse.de>
6154
6155 PR testsuite/25059
6156 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6157 directory" line to be missing.
6158
42275044
TV
61592019-10-03 Tom de Vries <tdevries@suse.de>
6160
6161 PR testsuite/25059
6162 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6163 type optional.
6164
9ef62df0
AA
61652019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6166
6167 * gdb.python/py-format-string.c (string.h): New include.
6168 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6169 the same value, for endianness-independence.
6170 * gdb.python/py-format-string.exp (default_regexp_dict)
6171 (test_pretty_structs, test_format): Adjust expected output to the
6172 changed initialization.
6173
37f6a7f4
TT
61742019-10-02 Tom Tromey <tromey@adacore.com>
6175
6176 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6177
1d58d6a2
PA
61782019-10-02 Pedro Alves <palves@redhat.com>
6179 Andrew Burgess <andrew.burgess@embecosm.com>
6180
6181 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6182 "print-file-var.h".
6183 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6184 (get_version_1): Print this_version_id and its address.
6185 Add extern "C" wrappers around interface functions.
6186 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6187 "print-file-var.h".
6188 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6189 (get_version_2): Print this_version_id and its address.
6190 Add extern "C" wrappers around interface functions.
6191 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6192 <stddef.h> and "print-file-var.h".
6193 Add extern "C" wrappers around interface functions.
6194 [VERSION_ID_MAIN] (this_version_id): Define.
6195 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6196 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6197 up extern "C" blocks.
6198 * gdb.base/print-file-var.exp (test): New, factored out from top
6199 level.
6200 (top level): Test all combinations of attribute hidden or not,
6201 dlopen or not, and this_version_id symbol in main file or not.
6202 Compile tests as both C++ and C, make test names unique.
6203
d770d56f
TT
62042019-10-01 Tom Tromey <tom@tromey.com>
6205
6206 * gdb.base/style.exp: Test "show logging filename".
6207
7f6aba03
TT
62082019-10-01 Tom Tromey <tom@tromey.com>
6209
6210 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6211 * gdb.base/style.exp: Add metadata style test.
6212
14309bb6
TT
62132019-10-01 Tom Tromey <tom@tromey.com>
6214
6215 * gdb.base/style.exp: Test "pwd".
6216
2a3c1174
PA
62172019-10-01 Tom Tromey <tom@tromey.com>
6218
6219 * gdb.base/style.exp: Update tests.
6220
53d666ec
AA
62212019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6222
6223 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6224 'six' to unsigned.
6225 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6226 'five'. Use an all-ones bit pattern for each.
6227 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6228 to its changed values.
6229
4a56a520
TT
62302019-09-30 Tom Tromey <tromey@adacore.com>
6231
6232 * gdb.rust/traits.rs: Disable all warnings.
6233
0df0352a
TV
62342019-09-29 Tom de Vries <tdevries@suse.de>
6235
aac66a4c 6236 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6237
73d9a918
TV
62382019-09-29 Tom de Vries <tdevries@suse.de>
6239
6240 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6241
060b3ab4
TV
62422019-09-27 Tom de Vries <tdevries@suse.de>
6243
6244 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6245
68f7d34d
TV
62462019-09-27 Tom de Vries <tdevries@suse.de>
6247
6248 PR record/23188
6249 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6250
5d63b30a
TT
62512019-09-26 Tom Tromey <tromey@adacore.com>
6252
6253 * gdb.ada/py_taft.exp: New file.
6254 * gdb.ada/py_taft/main.adb: New file.
6255 * gdb.ada/py_taft/pkg.adb: New file.
6256 * gdb.ada/py_taft/pkg.ads: New file.
6257
3d435220
TV
62582019-09-24 Tom de Vries <tdevries@suse.de>
6259
6260 PR gdb/24598
6261 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6262
77d03678
TV
62632019-09-22 Tom de Vries <tdevries@suse.de>
6264
6265 * gdb.base/restore.exp: Allow register variables to be optimized out at
6266 -O0.
6267
abf516c6
UW
62682019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6269
6270 * gdb.arch/spu-info.exp: Remove file.
6271 * gdb.arch/spu-info.c: Remove file.
6272 * gdb.arch/spu-ls.exp: Remove file.
6273 * gdb.arch/spu-ls.c: Remove file.
6274
6275 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6276 * gdb.asm/spu.inc: Remove file.
6277
6278 * gdb.base/dump.exp: Remove support for spu*-*-*.
6279 * gdb.base/stack-checking.exp: Likewise.
6280 * gdb.base/overlays.exp: Likewise.
6281 * gdb.base/ovlymgr.c: Likewise.
6282 * gdb.base/spu.ld: Remove file.
6283
6284 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6285 * gdb.cp/cpexprs.exp: Likewise.
6286 * gdb.cp/exception.exp: Likewise.
6287 * gdb.cp/gdb2495.exp: Likewise.
6288 * gdb.cp/mb-templates.exp: Likewise.
6289 * gdb.cp/pr9167.exp: Likewise.
6290 * gdb.cp/userdef.exp: Likewise.
6291
6292 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6293
6294 * gdb.cell: Remove directory.
6295 * lib/cell.exp: Remove file.
6296
e452e88f
TV
62972019-09-19 Tom de Vries <tdevries@suse.de>
6298
6299 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6300
8a625130
TV
63012019-09-19 Tom de Vries <tdevries@suse.de>
6302
6303 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6304
81dc3ab5
TV
63052019-09-19 Tom de Vries <tdevries@suse.de>
6306
6307 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6308 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6309 (gdb_target_cmd): ... here.
6310 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6311 value 2.
6312
b078f3ac
AB
63132019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6314
6315 * gdb.base/source-dir.exp: Avoid having directory names in test
6316 names.
6317
f1b620e9
MG
63182019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6319
6320 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6321 directory.
6322
67f3ed6a
AB
63232019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6324
6325 * gdb.base/list-missing-source.exp: New file.
6326
d1b70248
TV
63272019-09-14 Tom de Vries <tdevries@suse.de>
6328
6329 PR teststuite/24599
6330 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6331 * lib/ada.exp (gnatmake_version_at_least): New proc.
6332
5fabdcd6
AB
63332019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6334
6335 * gdb.base/maint.exp: Use exec_has_index_section.
6336
aa17805f
AB
63372019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6338
6339 * gdb.base/maint.exp: Add test for 'maint info sections'.
6340
25e5c209
TV
63412019-09-12 Tom de Vries <tdevries@suse.de>
6342
6343 * gdb.base/store.exp: Allow register variables to be optimized out at
6344 -O0.
6345
4993045d
PW
63462019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6347
6348 * gdb.ada/rdv_wait.exp: Update to new task names.
6349 * gdb.base/task_switch_in_core.exp: Likewise.
6350 * gdb.base/info_sources_base.c: Likewise.
6351
8a516164
TT
63522019-09-10 Tom Tromey <tromey@adacore.com>
6353
6354 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6355
aa391654
TT
63562019-09-10 Tom Tromey <tromey@adacore.com>
6357
6358 * gdb.ada/dgopt.exp: New file.
6359 * gdb.ada/dgopt/x.adb: New file.
6360
8634b462
TT
63612019-09-08 Tom Tromey <tom@tromey.com>
6362
6363 * gdb.tui/resize.exp: Remove setup_xfail.
6364 * gdb.tui/regs.exp: Remove setup_xfail.
6365 * gdb.tui/basic.exp: Remove setup_xfail.
6366
736b0f76
DB
63672019-09-06 David Blaikie <dblaikie@gmail.com>
6368
6369 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6370 * gdb.cp/cplabel.exp: Ditto.
6371 * gdb.linespec/ls-errs.exp: Ditto.
6372
30331a6c
TV
63732019-09-05 Tom de Vries <tdevries@suse.de>
6374
6375 * lib/gdb.exp (cmp_file_string): New proc.
6376 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6377 runto_main. Verify save breakpoints output.
6378
98b0ebab
PW
63792019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6380
6381 * gdb.base/info-var.exp: Test info variables without running
6382 to main, to avoid expect's buffer overflow.
6383
4e962e74
TT
63842019-09-03 Tom Tromey <tromey@adacore.com>
6385
6386 * gdb.ada/bias.exp: New file.
6387 * gdb.ada/bias/bias.adb: New file.
6388 * gdb.ada/print_chars.exp: Add regression test.
6389 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6390 (MC): New variable.
6391
2ea1a07a
SL
63922019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6393
6394 * gdb.base/argv0-symlink.exp: Run only on native target
6395 and local host.
6396
8077c50d
TV
63972019-08-29 Tom de Vries <tdevries@suse.de>
6398
6399 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6400 diverse debug info.
6401 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6402
48352473
TV
64032019-08-28 Tom de Vries <tdevries@suse.de>
6404
6405 * gdb.base/info-var.exp: Allow info variables to print info for files
6406 other than info-var-f1.c and info-var-f2.c.
6407
d8f27c60
AB
64082019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6409
6410 * gdb.fortran/info-types.exp: Add module.
6411 * gdb.fortran/info-types.f90: Update expected results.
6412
1f20c35e
AB
64132019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6414
6415 * gdb.fortran/info-types.exp: New file.
6416 * gdb.fortran/info-types.f90: New file.
6417 * lib/fortran.exp (fortran_character1): New proc.
6418
4acfdd20
AB
64192019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6420
6421 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6422 functions'. Reindent as needed.
6423 * gdb.base/info-var-f1.c: New file.
6424 * gdb.base/info-var-f2.c: New file.
6425 * gdb.base/info-var.exp: New file.
6426 * gdb.base/info-var.h: New file.
6427
5c31b358
TV
64282019-08-26 Tom de Vries <tdevries@suse.de>
6429
6430 PR c++/24852
6431 * gdb.cp/no-libstdcxx-probe.exp: New test.
6432
b694989f
TV
64332019-08-26 Tom de Vries <tdevries@suse.de>
6434
6435 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6436 * tests need to be skipped.
6437 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6438 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6439 mi_skip_libstdcxx_probe_tests.
6440
d9c4ba53
SDJ
64412019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6442
6443 * gdb.python/py-xmethods.exp: Use raw strings when passing
6444 arguments to SimpleXMethodMatcher.
6445
395fad09
TV
64462019-08-22 Tom de Vries <tdevries@suse.de>
6447
6448 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6449 more informative.
6450
26c957f1
PA
64512019-08-21 Pedro Alves <palves@redhat.com>
6452
6453 * gdb.base/with.exp: Test "with" with no arguments.
6454
61f80d5d
TV
64552019-08-21 Tom de Vries <tdevries@suse.de>
6456
6457 * gdb.base/gdb-caching-proc.exp: Sort files.
6458
d7a11d13
TV
64592019-08-20 Tom de Vries <tdevries@suse.de>
6460
6461 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6462 compilation.
6463
34dafe9f
TV
64642019-08-16 Tom de Vries <tdevries@suse.de>
6465
6466 * gdb.base/compare-sections.exp ("after run to main"): Allow
6467 mismatched read-only sections for PIE executables.
6468
398fdd60
TT
64692019-08-16 Tom Tromey <tom@tromey.com>
6470
6471 * lib/tuiterm.exp (_csi_Z): New proc.
6472 * gdb.tui/basic.exp: Update window positions.
6473 * gdb.tui/empty.exp: Update window positions.
6474
d8f9e51c
SL
64752019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6476
6477 * gdb.base/examine-backward.exp: Correct regexp for
6478 "examine 3 bytes backward from ${address_zero}".
6479
3df505f6
TT
64802019-08-15 Tom Tromey <tom@tromey.com>
6481
6482 * gdb.tui/empty.exp: Enable resizing tests.
6483
272560b5
TT
64842019-08-15 Tom Tromey <tromey@adacore.com>
6485
6486 * gdb.ada/char_enum.exp: Add regression tests.
6487 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6488 and '0'.
6489 (Char, Gchar): Update.
6490 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6491
08235187
CB
64922019-08-15 Christian Biesinger <cbiesinger@google.com>
6493
6494 * gdb.python/python.exp: Expect a leading underscore on
6495 GdbOutput{,Error}File.
6496
22a2ab04
SL
64972019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6498
6499 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6500 Windows host.
6501
835b995b
SL
65022019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6503
6504 * gdb.base/batch-preserve-term-settings.exp
6505 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6506
97dd8e07
CB
65072019-08-15 Christian Biesinger <cbiesinger@google.com>
6508
6509 * lib/gdb.exp: When running on a mingw target, replace
6510 /x/ with x:/.
6511
75faf5c4
AH
65122019-08-14 Alan Hayward <alan.hayward@arm.com>
6513
6514 * gdb.arch/aarch64-prologue.c: New test.
6515 * gdb.arch/aarch64-prologue.exp: New file.
6516
abc6c00f
TV
65172019-08-13 Tom de Vries <tdevries@suse.de>
6518
6519 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6520 Thread.
6521
74c2c1f4
SL
65222019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6523
6524 * gdb.python/py-completion.exp: Download the .py file to the host
6525 and use its host pathname. Conditionalize tests that use
6526 tab completion and manipulate files on the build machine.
6527 * gdb.python/py-events.exp: Download the .py file to the host
6528 and use its host pathname.
6529 * gdb.python/py-evsignal.exp: Likewise.
6530 * gdb.python/py-evthreads.exp: Likewise.
6531 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6532 pathname syntax.
6533 * gdb.python/py-framefilter.exp: Download the .py file to the right
6534 place on the host. Match Windows pathname syntax.
6535 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6536 .py file to the host and use its host pathname.
6537 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6538 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6539 build pathname. Skip symlink test on Windows host. Add missing
6540 newline at end of file.
6541 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6542 and use its host pathname.
6543 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6544 * gdb.python/py-section-script.exp: Use host location of binfile
6545 on safe-path. Use correct path separator on Windows host.
6546 Reorder alternatives in gdb_test_multiple to prevent matching
6547 the wrong alternative on success.
6548 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6549
ca2589f3
PP
65502019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6551
6552 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6553 expect the GDB inferior to no longer immediately stop after
6554 being resumed with "signal SIGINT".
6555
020a839d
SL
65562019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6557
6558 * gdb.linespec/break-ask.exp: Generalize regexps to match
6559 Windows pathnames too.
6560
128d6509
TV
65612019-08-08 Tom de Vries <tdevries@suse.de>
6562
6563 PR testsuite/24862
6564 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6565
590042fc
PW
65662019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6567
6568 * gdb.base/style.exp: Update tests for help doc new invariants.
6569 * gdb.base/help.exp: Likewise.
6570
046bebe1
TT
65712019-08-06 Tom Tromey <tom@tromey.com>
6572
6573 * gdb.base/style.exp: Add disassemble test.
6574 * gdb.base/style.c (some_called_function): New function.
6575 (main): Use it.
6576
0b27c27d
CB
65772019-08-05 Christian Biesinger <cbiesinger@google.com>
6578
6579 * gdb.python/py-block.exp: Test dictionary access on blocks.
6580
580f1034
SM
65812019-08-05 Simon Marchi <simon.marchi@efficios.com>
6582
6583 PR gdb/24863
6584 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6585 -list-thread-groups --available test when running under
6586 check-read1.
6587
d86bd7cb
TV
65882019-08-05 Tom de Vries <tdevries@suse.de>
6589
6590 PR testsuite/24863
6591 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6592 * gdb.base/help.exp: Use with_read1_timeout_factor.
6593 * gdb.base/info-macros.exp: Same.
6594 * gdb.cp/nested-types.exp: Same.
6595
a80cf5d8
TV
65962019-08-05 Tom de Vries <tdevries@suse.de>
6597
6598 * lib/gdb.exp (version_at_least): Factor out of ...
6599 (tcl_version_at_least): ... here.
6600 (gdb_compile): Fail if pie results in non-PIE executable.
6601 (readelf_version, readelf_prints_pie): New proc.
6602 (exec_is_pie): Return -1 if unknown.
6603
d0962838
TV
66042019-08-05 Tom de Vries <tdevries@suse.de>
6605
6606 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6607
2252ff3d
SL
66082019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6609
6610 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6611
26655f53
SL
66122019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6613
6614 * lib/completion-support.exp (test_gdb_complete_none): Skip
6615 tab completion tests if no readline support.
6616 (test_gdb_complete_unique_re): Likewise.
6617 (test_gdb_complete_multiple): Likewise.
6618
db4dc13e
PW
66192019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6620
6621 * gdb.base/info_sources.exp: New file.
6622 * gdb.base/info_sources.c: New file.
6623 * gdb.base/info_sources_base.c: New file.
6624
0eba165a
PFC
66252019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6626
6627 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6628 prefix argument.
6629 (test_exit_status): Add prefix argument.
6630
59bd512b
TV
66312019-08-01 Tom de Vries <tdevries@suse.de>
6632
6633 PR testsuite/24863
6634 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6635 calling exp_continue for new thread and thread exited messages.
6636
2a3ad588
TV
66372019-08-01 Tom de Vries <tdevries@suse.de>
6638
6639 PR testsuite/24863
6640 * gdb.base/structs.exp: Fix check-read1 timeout using
6641 gdb_test_sequence.
6642 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6643
117eb594
TV
66442019-08-01 Tom de Vries <tdevries@suse.de>
6645
6646 PR testsuite/24863
6647 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6648 line.
6649
ed591340
TV
66502019-08-01 Tom de Vries <tdevries@suse.de>
6651
6652 PR testsuite/24863
6653 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6654
aa3b6533
TT
66552019-07-30 Tom Tromey <tromey@adacore.com>
6656
6657 * gdb.ada/display_nested.exp: New file.
6658 * gdb.ada/display_nested/foo.adb: New file.
6659 * gdb.ada/display_nested/pack.adb: New file.
6660 * gdb.ada/display_nested/pack.ads: New file.
6661
2906593f
CB
66622019-07-30 Christian Biesinger <cbiesinger@google.com>
6663
6664 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6665 namespace.
6666 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6667
0f575925
TV
66682019-07-30 Tom de Vries <tdevries@suse.de>
6669
6670 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6671 instead.
6672
b13057d9
TV
66732019-07-30 Tom de Vries <tdevries@suse.de>
6674
6675 PR testsuite/24834
6676 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6677 (exec_is_pie): New proc.
6678
5c4dde85
CB
66792019-07-29 Christian Biesinger <cbiesinger@google.com>
6680
6681 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6682
c620ed88
CB
66832019-07-29 Christian Biesinger <cbiesinger@google.com>
6684
6685 * gdb.python/py-objfile.c: Add global and static vars.
6686 * gdb.python/py-objfile.exp: Test new functions Objfile.
6687 lookup_global_symbol and lookup_static_symbol.
6688
3d235706
TT
66892019-07-29 Tom Tromey <tom@tromey.com>
6690
6691 * lib/tuiterm.exp (Term::_csi_@): New proc.
6692 (Term::_csi_X): Don't move cursor.
6693
c7e4c0a6
PW
66942019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6695
6696 * gdb.base/options.exp: Update backtrace - completion to
6697 new option -frame-info.
6698 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6699 Test new 'set print frame-info'. Test backtrace -frame-info
6700 overriding 'set print frame-info'.
6701 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6702 Test new 'set print frame-info'.
6703 Verify consistency of backtrace with and without filters, with and
6704 without -no-filters.
6705 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6706 default.
6707
de28a3b7
TV
67082019-07-29 Tom de Vries <tdevries@suse.de>
6709
6710 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6711 no arguments".
6712
507dd60e
TV
67132019-07-29 Tom de Vries <tdevries@suse.de>
6714
6715 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6716 is a substring of the first for "complete non-unique file name".
6717
5beafce9
TV
67182019-07-29 Tom de Vries <tdevries@suse.de>
6719
6720 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6721 with ".*".
6722
2d274232
TV
67232019-07-29 Tom de Vries <tdevries@suse.de>
6724
6725 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6726 Pass prompt_regexp parameter to gdb_test_multiple calls.
6727
9197cd8b
TV
67282019-07-29 Tom de Vries <tdevries@suse.de>
6729
6730 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6731 print registers" regexps.
9197cd8b 6732
b528dae0
TV
67332019-07-29 Tom de Vries <tdevries@suse.de>
6734
6735 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6736
d17725d7
TV
67372019-07-29 Tom de Vries <tdevries@suse.de>
6738
6739 PR gdb/24855
6740 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6741 (skip_python_tests_prompt): Add prompt_regexp argument to
6742 gdb_test_multiple calls.
6743
52b75bf1
TT
67442019-07-27 Tom Tromey <tom@tromey.com>
6745
6746 * gdb.tui/main.exp: New file.
6747
2b1d00c2
TT
67482019-07-27 Tom Tromey <tom@tromey.com>
6749
6750 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6751 optional.
6752 * gdb.tui/empty.exp: New file.
6753
ded631d5
TT
67542019-07-27 Tom Tromey <tom@tromey.com>
6755
6756 * lib/tuiterm.exp (spawn): New proc.
6757 (Term::resize): New proc.
6758 * gdb.tui/resize.exp: New file.
6759
58ac439d
TT
67602019-07-27 Tom Tromey <tom@tromey.com>
6761
6762 * gdb.tui/list.exp: New file.
6763
fe1f56ee
TT
67642019-07-27 Tom Tromey <tom@tromey.com>
6765
6766 * gdb.tui/regs.exp: New file.
6767
f790b310
TT
67682019-07-27 Tom Tromey <tom@tromey.com>
6769
6770 * gdb.tui/basic.exp: Add "layout split" test.
6771
d95fc6ee
TT
67722019-07-27 Tom Tromey <tom@tromey.com>
6773
6774 * gdb.tui/basic.exp: Add "layout asm" test.
6775
c3786b3a
TT
67762019-07-27 Tom Tromey <tom@tromey.com>
6777
6778 * lib/tuiterm.exp: New file.
6779 * gdb.tui/basic.exp: New file.
6780
98a617f8
KB
67812019-07-27 Kevin Buettner <kevinb@redhat.com>
6782
6783 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6784 Enable tests associated with this flag. Adjust regex
6785 referencing "foo_low" to now refer to "foo_cold" instead.
6786
5c076da4
KB
67872019-07-27 Kevin Buettner <kevinb@redhat.com>
6788
6789 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6790 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6791 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6792 foo_cold. Revise comments to match.
6793 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6794 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6795 were wrapped into this proc; Call do_test in loop from outermost
6796 level.
6797 (foo_low): Rename all occurrences to "foo_cold".
6798 (backtrace from baz): New test.
6799 (x2/i foo_cold): New test.
6800 (info line *foo_cold): New test.
6801
1512d3b7
TV
68022019-07-26 Tom de Vries <tdevries@suse.de>
6803
6804 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6805
297989a1
TV
68062019-07-25 Tom de Vries <tdevries@suse.de>
6807
6808 PR testsuite/24830
6809 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6810 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6811 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6812 (skip_libstdcxx_probe_tests): ... here.
6813 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6814
b3b965fb
TV
68152019-07-24 Tom de Vries <tdevries@suse.de>
6816
6817 PR testsuite/24807
6818 * gdb.objc/basicclass.m: Include stdio.h.
6819 * gdb.objc/nondebug.m: Same.
6820 * gdb.objc/objcdecode.m: Same.
6821
4625b4d0
TV
68222019-07-24 Tom de Vries <tdevries@suse.de>
6823
6824 PR testsuite/24612
6825 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6826 additional_flags.
6827
024a5840
TV
68282019-07-24 Tom de Vries <tdevries@suse.de>
6829
6830 PR testsuite/24831
6831 * gdb.multi/tids.exp: Update error messages for info threads.
6832
c76ddaa3
TV
68332019-07-24 Tom de Vries <tdevries@suse.de>
6834
6835 * gdb.base/info-types.exp: Allow info types to print info for more than
6836 one file.
6837
9a618ef6
TV
68382019-07-23 Tom de Vries <tdevries@suse.de>
6839
6840 PR testsuite/24842
6841 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6842 gdb_spawn_with_cmdline_opts.
6843
40eadf04
SP
68442019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6845
6846 * gdb.arch/arm-cmse-sgstubs.c: New test.
6847 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6848
5ba29434
TV
68492019-07-23 Tom de Vries <tdevries@suse.de>
6850
6851 PR testsuite/24711
6852 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6853 issuing next command.
6854
a8e9d247
AB
68552019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6856
6857 * gdb.ada/info_auto_lang.exp: Update expected results.
6858 * gdb.base/info-types.c: Add additional types to check.
6859 * gdb.base/info-types.exp: Update expected results.
6860
eb86c5e2
AB
68612019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6862
6863 * gdb.base/info-types.c: New file.
6864 * gdb.base/info-types.exp: New file.
6865
01e175fe
AB
68662019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6867
6868 * gdb.arch/riscv-bp-infcall.c: New file.
6869 * gdb.arch/riscv-bp-infcall.exp: New file.
6870
6b78c3f8
AB
68712019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6872
6873 PR breakpoints/24541
6874 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6875
da738167
TV
68762019-07-14 Tom de Vries <tdevries@suse.de>
6877
6878 PR testsuite/24760
6879 * gdb.objc/basicclass.exp: Fix unterminated string.
6880
0d4e84ed
AB
68812019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6882 Andrew Burgess <andrew.burgess@embecosm.com>
6883
6884 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6885 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6886 negative bounds.
6887 * gdb.fortran/vla-value.exp: Print elements of an array with
6888 negative bounds.
6889 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6890 testing.
6891
021d8588
AB
68922019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6893
6894 * gdb.base/options.exp (expect_string): Dequote strings in
6895 results.
6896 (test-string): Test strings with different quoting and reindent.
6897
f06f1252
TT
68982019-07-10 Tom Tromey <tromey@adacore.com>
6899
6900 * gdb.ada/mi_ex_cond.exp: Update expected results.
6901 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6902 * gdb.ada/mi_catch_ex.exp: Update expected results.
6903 * gdb.ada/mi_catch_assert.exp: Update expected results.
6904 * gdb.ada/catch_ex.exp (catch_exception_info)
6905 (catch_exception_entry, catch_assert_entry)
6906 (catch_unhandled_entry): Update.
6907 * gdb.ada/catch_assert_if.exp: Update expected results.
6908
b863685d
RB
69092019-07-10 Richard Bunt <richard.bunt@arm.com>
6910 Stephen Roberts <stephen.roberts@arm.com>
6911
6912 * gdb.base/define.exp: Restore original prompt.
6913
cb1e4e32
PA
69142019-07-09 Pedro Alves <palves@redhat.com>
6915
6916 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6917 breakpoints" output.
6918 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6919 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6920 throw" creates breakpoint.
6921 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6922 'type="catchpoint"'.
6923
b58a68fe
PA
69242019-07-09 Pedro Alves <palves@redhat.com>
6925
6926 PR c++/15468
6927 * gdb.cp/except-multi-location-lib.cc: New.
6928 * gdb.cp/except-multi-location-main.cc: New.
6929 * gdb.cp/except-multi-location.exp: New.
6930
0826779b
PW
69312019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6932
6933 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6934 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6935 argument and update callers.
6936
5b0e2db4
AB
69372019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6938
6939 * gdb.arch/amd64-break-on-asm-line.S: New file.
6940 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6941
1f6f6e21
PW
69422019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6943
6944 * gdb.base/printcmds.exp: Test printing C string and
6945 C wide string convenience vars without transiting via the inferior.
6946 Also make test names unique.
6947
ea142fbf
AH
69482019-07-08 Alan Hayward <alan.hayward@arm.com>
6949
5862c886 6950 PR breakpoints/25011
ea142fbf
AH
6951 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6952
213fd9fa
PA
69532019-07-04 Pedro Alves <palves@redhat.com>
6954
6955 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6956 body returned ok(0), break(3) or continue(4).
6957 * gdb.testsuite/foreach_with_prefix.exp: New file.
6958
2b40fda7
AH
69592019-07-04 Alan Hayward <alan.hayward@arm.com>
6960
6961 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6962
a26c8de0
PA
69632019-07-03 Pedro Alves <palves@redhat.com>
6964
6965 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6966 "return -code".
6967
5f4ba3e7
PA
69682019-07-03 Pedro Alves <palves@redhat.com>
6969
6970 PR cli/24732
6971 * gdb.base/shell.exp: Load completion-support.exp.
6972 Adjust expected error output. Add completion tests.
6973
a994424f
PA
69742019-07-03 Pedro Alves <palves@redhat.com>
6975
6976 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6977 string_to_regexp.
6978
3d9be6f5
PA
69792019-07-03 Pedro Alves <palves@redhat.com>
6980
6981 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6982 (expect_integer): Adjust to expect "-string".
6983 (expect_string): New.
6984 (all_options): Expect "-string".
6985 (test-flag, test-boolean): Adjust to expect "-string".
6986 (test-string): New proc.
6987 (top level): Call it.
6988
41fc454c
PA
69892019-07-03 Pedro Alves <palves@redhat.com>
6990
6991 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6992 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6993 the expected output in the success.
6994
b2b2a215
PA
69952019-07-03 Pedro Alves <palves@redhat.com>
6996
6997 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6998 Split one gdb_test_multiple call in two to avoid a race.
6999
fdbc9870
PA
70002019-07-03 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.base/with.c: New file.
7003 * gdb.base/with.exp: New file.
7004
c6ac8931
PA
70052019-07-03 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.base/settings.exp: Replace all references to "maint
7008 test-settings set" with references to "maint set test-settings",
7009 and all references to "maint test-settings show" with references
7010 to "maint show test-settings".
7011
970f9d09
PA
70122019-07-03 Pedro Alves <palves@redhat.com>
7013
7014 * gdb.base/settings.exp (test-string): Adjust expected out when
7015 testing "maint test-settings show filename"
7016
54d66006
PA
70172019-07-02 Pedro Alves <palves@redhat.com>
7018
7019 * gdb.base/options.exp (test-info-threads): New procedure.
7020 (top level): Call it.
7021
10d06d82
TT
70222019-06-28 Tom Tromey <tromey@adacore.com>
7023
7024 * gdb.dwarf2/ada-linkage-name.c: New file.
7025 * gdb.dwarf2/ada-linkage-name.exp: New file.
7026
3d507ff2
TT
70272019-06-27 Tom Tromey <tromey@adacore.com>
7028
d039f014 7029 PR c++/20020:
3d507ff2
TT
7030 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7031
8af58ffe
TV
70322019-06-26 Tom de Vries <tdevries@suse.de>
7033
7034 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7035
22e21752
TV
70362019-06-26 Tom de Vries <tdevries@suse.de>
7037
7038 * gdb.base/index-cache.exp: Add back missing debug option.
7039
b65b566c
PW
70402019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7041
7042 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7043
5c2c8c69
TV
70442019-06-25 Tom de Vries <tdevries@suse.de>
7045
7046 PR testsuite/24727
7047 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7048
164e3873
TV
70492019-06-24 Tom de Vries <tdevries@suse.de>
7050
7051 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7052
824eacee
TV
70532019-06-24 Tom de Vries <tdevries@suse.de>
7054
7055 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7056 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7057 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7058
385b97d3
TV
70592019-06-24 Tom de Vries <tdevries@suse.de>
7060
7061 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7062
c596f180
TV
70632019-06-21 Tom de Vries <tdevries@suse.de>
7064
7065 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7066
b13a7d03
TV
70672019-06-21 Tom de Vries <tdevries@suse.de>
7068
7069 PR testsuite/24518
7070 PR ada/24713
7071 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7072 index.
7073
899277ae
TT
70742019-06-19 Tom Tromey <tromey@adacore.com>
7075
7076 * gdb.ada/length_cond.exp: Add intro comment.
7077
680e1bee
TT
70782019-06-19 Tom Tromey <tromey@adacore.com>
7079
7080 * gdb.ada/length_cond.exp: New file.
7081 * gdb.ada/length_cond/length_cond.adb: New file.
7082 * gdb.ada/length_cond/pck.adb: New file.
7083 * gdb.ada/length_cond/pck.ads: New file.
7084
0ed4690a
TV
70852019-06-18 Tom de Vries <tdevries@suse.de>
7086
7087 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7088
d20ed5fd
TT
70892019-06-18 Tom Tromey <tromey@adacore.com>
7090
7091 * gdb.base/list0.h: Add comment explaining control character.
7092
86e04673
TV
70932019-06-18 Tom de Vries <tdevries@suse.de>
7094
7095 * boards/fission.exp: Break up long debug_flags line.
7096
c4973306
SM
70972019-06-16 Tom de Vries <tdevries@suse.de>
7098
7099 PR gdb/24445
7100 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7101 generated index.
7102
93cb9841
AB
71032019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7104
7105 PR gdb/24686
7106 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7107 improve detection of bug gdb/24541.
7108
399aaebd
SM
71092019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7110
7111 PR gdb/24669
7112 * gdb.base/index-cache.exp (uses_readnow,
7113 expecting_index_cache_use): Define global variable.
7114 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7115 expecting_index_cache_use.
7116
584a927c
AB
71172019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7118 Andrew Burgess <andrew.burgess@embecosm.com>
7119
7120 * gdb.fortran/pointers.f90: New file.
7121 * gdb.fortran/print_type.exp: New file.
7122 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7123 * gdb.fortran/vla-type.exp: Likewise.
7124 * gdb.fortran/vla-value.exp: Likewise.
7125 * gdb.mi/mi-vla-fortran.exp: Likewise.
7126
30056ea0
AB
71272019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7128
7129 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7130 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7131 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7132 as a stop reason.
7133
ec8e2b6d
AB
71342019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7135
7136 * gdb.base/annota1.exp: Update expected results.
7137 * gdb.cp/annota2.exp: Likewise.
7138 * gdb.cp/annota3.exp: Likewise.
7139
09e4c4e1
AB
71402019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7141
7142 * gdb.base/style-logging.exp: Remove path from test name.
7143
0735b091
TT
71442019-06-14 Tom Tromey <tromey@adacore.com>
7145
7146 PR gdb/24502:
7147 * gdb.base/style-logging.exp: New file.
7148
f5686554
TT
71492019-06-14 Tom Tromey <tromey@adacore.com>
7150
7151 * gdb.base/symfile-warn.exp: New file.
7152 * gdb.base/symfile-warn.c: New file.
7153
a0c1ffed
TT
71542019-06-14 Tom Tromey <tromey@adacore.com>
7155
7156 * gdb.base/annotate-symlink.exp: New file.
7157
f411722c
TT
71582019-06-14 Tom Tromey <tromey@adacore.com>
7159
7160 * gdb.ada/set_wstr.exp: Add reassignment test.
7161
4268ec18
TT
71622019-06-14 Tom Tromey <tromey@adacore.com>
7163
7164 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7165 'unchecked_access and 'unrestricted_access as well.
7166
9a9e394b
TT
71672019-06-14 Tom Tromey <tromey@adacore.com>
7168
7169 PR ada/24539:
7170 * gdb.ada/vla.exp: Update tests.
7171 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7172 pragma.
7173
4c048731
PA
71742019-06-13 Pedro Alves <palves@redhat.com>
7175
7176 * gdb.base/settings.exp (test-integer): Test junk after
7177 "unlimited".
7178
6665660a
PA
71792019-06-13 Pedro Alves <palves@redhat.com>
7180
7181 * gdb.base/options.exp (test-thread-apply): New.
7182 (top level): Call it.
7183
5d707134
PA
71842019-06-13 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.base/options.exp (test-frame-apply): New.
7187 (top level): Test print commands with different "frame apply"
7188 prefixes.
7189
e2a689da
PA
71902019-06-13 Pedro Alves <palves@redhat.com>
7191
e79be6e5 7192 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7193 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7194 'max_completions' parameter and handle it.
7195 (test_gdb_completion_offers_commands): New.
7196
90a1ef87
PA
71972019-06-13 Pedro Alves <palves@redhat.com>
7198
7199 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7200
d4c16835
PA
72012019-06-13 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.base/options.exp (test-backtrace): New.
7204 (top level): Call it.
7205
2daf894e
PA
72062019-06-13 Pedro Alves <palves@redhat.com>
7207
7208 * gdb.guile/scm-frame-args.exp: Use "set print
7209 raw-frame-arguments" instead of "set print raw frame-arguments".
7210 * gdb.python/py-frame-args.exp: Likewise.
7211
e6ed716c
PA
72122019-06-13 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.compile/compile.exp: Adjust expected output to option
7215 processing changes.
7216
7d8062de
PA
72172019-06-13 Pedro Alves <palves@redhat.com>
7218
7219 * gdb.base/options.exp: Build executable.
7220 (test-print): New procedure.
7221 (top level): Call it, once for "print" and another for "compile
7222 print".
7223
9d0faba9
PA
72242019-06-13 Pedro Alves <palves@redhat.com>
7225
7226 * gdb.base/options.c: New file.
7227 * gdb.base/options.exp: New file.
7228
dee7b4c8
PA
72292019-06-13 Pedro Alves <palves@redhat.com>
7230
7231 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7232 that "o" is ambiguous.
7233
dca0f6c0
PA
72342019-06-13 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.base/settings.c: New file.
7237 * gdb.base/settings.exp: New file.
7238
ccf46844
PA
72392019-06-13 Pedro Alves <palves@redhat.com>
7240
7241 * gdb.base/completion.exp: Fix comment typo.
7242
b9a3f842
PA
72432019-06-13 Pedro Alves <palves@redhat.com>
7244
7245 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7246 foo --1" test.
7247
d106773e
PA
72482019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7249
7250 * gdb.fortran/block-data.f: New.
7251 * gdb.fortran/block-data.exp: New.
7252
fea82da0
TV
72532019-06-11 Tom de Vries <tdevries@suse.de>
7254
7255 PR testsuite/24521
7256 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7257 message.
7258
8c2e74f1
TV
72592019-06-11 Tom de Vries <tdevries@suse.de>
7260
7261 PR testsuite/24521
7262 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7263
b49851c8
TV
72642019-06-11 Tom de Vries <tdevries@suse.de>
7265
7266 * boards/readnow.exp: New file.
7267
a7067863
AB
72682019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7269
7270 * gdb.fortran/vla-sizeof.exp: Update expected results.
7271
1a3da2cd
AB
72722019-06-06 Amos Bird <amosbird@gmail.com>
7273
7274 * gdb.base/annota1.exp (thread_switch): Add test for
7275 thread-exited annotation.
7276
3847a7bf
TT
72772019-06-06 Tom Tromey <tromey@adacore.com>
7278
7279 * gdb.base/maint.exp: Expect command started/finished output.
7280
0088ba59
AB
72812019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7282
7283 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7284 comment.
7285 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7286
312617a3
AB
72872019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7288
7289 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7290 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7291 * gdb.arch/riscv-unwind-long-insn.c: New file.
7292 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7293
e1f2e1a2
CB
72942019-06-04 Christian Biesinger <cbiesinger@google.com>
7295
d3238f7d 7296 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7297
206584bd
PW
72982019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7299
7300 * lib/gdb.exp (help_list_trailer): New regexp variable
7301 factorizing the help trailer message.
7302 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7303 arg to allow to better factorize various tests.
7304 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7305 (test_prefix_command_help): Use help_list_trailer.
7306 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7307 * gdb.guile/scm-cmd.exp: Likewise.
7308 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7309 * gdb.base/help.exp: Use test_user_defined_class_help.
7310 * gdb.base/style.exp: Add tests for styling of help and apropos.
7311 * lib/gdb-utils.exp (style): Add title and highlight styles.
7312
708dc93e
PW
73132019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7314
7315 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7316 $_shell_exitsignal.
7317 * gdb.base/default.exp: Update for new convenience variables.
7318
f49055a5
TT
73192019-05-29 Tom Tromey <tromey@adacore.com>
7320
7321 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7322 to "break complete ada" test case's regexp.
7323
4330d61d
TT
73242019-05-29 Tom Tromey <tromey@adacore.com>
7325
7326 PR c++/20020:
7327 * gdb.cp/constexpr-field.exp: New file.
7328 * gdb.cp/constexpr-field.cc: New file.
7329
000439d5
TT
73302019-05-29 Tom Tromey <tromey@adacore.com>
7331
7332 * gdb.base/finish.exp (finish_no_print): New proc.
7333 (finish_tests): Call it.
7334
5a01c34c
TV
73352019-05-24 Tom de Vries <tdevries@suse.de>
7336
7337 * gdb.dwarf2/gdb-add-index.exp: New file.
7338
18125b16
TT
73392019-05-22 Tom Tromey <tromey@adacore.com>
7340
7341 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7342 * gdb.base/style.exp: Use "style".
7343 * lib/gdb-utils.exp (style): New proc.
7344
af1a8d03
TV
73452019-05-22 Tom de Vries <tdevries@suse.de>
7346
7347 * gdb.base/align.exp: Require c++11.
7348
e7fe496b
TV
73492019-05-22 Tom de Vries <tdevries@suse.de>
7350
7351 PR testsuite/24586
7352 * gdb.python/py-mi-var-info-path-expression.exp: Call
7353 mi_skip_python_tests to check if python is supported.
7354
8fca4da0
AH
73552019-05-22 Alan Hayward <alan.hayward@arm.com>
7356
7357 * gdb.arch/aarch64-pauth.c: New test.
7358 * gdb.arch/aarch64-pauth.exp: New file.
7359
b7060614
AH
73602019-05-22 Alan Hayward <alan.hayward@arm.com>
7361
7362 * README (Re-running Tests Outside The Testsuite): New section.
7363
669d0468
TV
73642019-05-21 Tom de Vries <tdevries@suse.de>
7365
7366 * gdb.arch/amd64-eval.exp: Require c++11.
7367 * gdb.base/max-depth.exp: Same.
7368 * gdb.compile/compile-cplus-array-decay.exp: Same.
7369 * gdb.cp/meth-typedefs.exp: Same.
7370 * gdb.cp/subtypes.exp: Same.
7371 * gdb.cp/temargs.exp: Same.
7372
ce3ebcaa
AH
73732019-05-21 Alan Hayward <alan.hayward@arm.com>
7374
7375 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7376
34d11c68
AB
73772019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7378
7379 PR gdb/18644
7380 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7381 * gdb.fortran/printing-types.exp: Add new test.
7382 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7383 testing.
7384 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7385 setup_kfail call.
7386
87781e84
AH
73872019-05-17 Alan Hayward <alan.hayward@arm.com>
7388
7389 * README (Running the Testsuite): Change example.
7390 (Testsuite Parameters): Remove TRANSCRIPT.
7391 * lib/gdb.exp: Remove TRANSCRIPT check.
7392
b420b89e
AH
73932019-05-17 Alan Hayward <alan.hayward@arm.com>
7394
7395 * README (Testsuite Parameters): Add replay logging to
7396 GDBSERVER_DEBUG.
7397 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7398 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7399 as a comma separated list.
7400 (gdb_debug_init): Override procedure.
7401
408e9b8b
AH
74022019-05-17 Alan Hayward <alan.hayward@arm.com>
7403
7404 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7405 (gdb_write_cmd_file): New procedure.
7406 * lib/gdbserver-support.exp (gdbserver_start): Call
7407 gdbserver_write_cmd_file.
7408 (gdbserver_write_cmd_file): New procedure.
7409
f9e2e39d
AH
74102019-05-17 Alan Hayward <alan.hayward@arm.com>
7411
7412 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7413 (delete_breakpoints): Likewise.
7414 (gdb_run_cmd): Likewise.
7415 (gdb_start_cmd): Likewise.
7416 (gdb_starti_cmd): Likewise.
7417 (gdb_internal_error_resync): Likewise.
7418 (gdb_test_multiple): Likewise.
7419 (gdb_reinitialize_dir): Likewise.
7420 (default_gdb_exit): Likewise.
7421 (gdb_file_cmd): Mark kill as optional.
7422 (default_gdb_start): Call gdb_stdin_log_init.
7423 (send_gdb): Call gdb_stdin_log_write.
7424 (rerun_to_main): Mark Y as an answer.
7425 (gdb_stdin_log_init): New function.
7426 (gdb_stdin_log_write): Likewise.
7427
81f47ac2
AH
74282019-05-17 Alan Hayward <alan.hayward@arm.com>
7429
7430 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7431 * gdb.base/debug-expr.exp: Likewise.
7432 * gdb.base/foll-fork.exp: Likewise.
7433 * gdb.base/foll-vfork.exp: Likewise.
7434 * gdb.base/fork-print-inferior-events.exp: Likewise.
7435 * gdb.base/gdb-sigterm.exp: Likewise.
7436 * gdb.base/gdbinit-history.exp: Likewise.
7437 * gdb.base/osabi.exp: Likewise.
7438 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7439 * gdb.base/ui-redirect.exp: Likewise.
7440 * gdb.gdb/unittest.exp: Likewise.
7441 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7442 * gdb.mi/mi-watch.exp: Likewise.
7443 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7444 * gdb.mi/user-selected-context-sync.exp: Likewise.
7445 * gdb.python/python.exp: Disable debug test when debugging.
7446 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7447 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7448 Likewise.
7449 * gdb.threads/stepi-random-signal.exp: Likewise.
7450
29b52314
AH
74512019-05-17 Alan Hayward <alan.hayward@arm.com>
7452
7453 * Makefile.in: Pass through GDB_DEBUG.
7454 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7455 (gdb,debug): Add board setting.
7456 * lib/gdb.exp (default_gdb_start): Start debugging.
7457 (gdb_debug_enabled): New procedure.
7458 (gdb_debug_init): Likewise.
29b52314
AH
7459
74602019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7461
29b52314
AH
7462 * Makefile.in: Pass through GDB_DEBUG.
7463 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7464 (gdb,debug): Add board setting.
7465 * lib/gdb.exp (default_gdb_start): Start debugging.
7466 (gdb_debug_enabled): New procedure.
7467 (gdb_debug_init): Likewise.
29b52314 7468
ca1285d1
AH
74692019-05-17 Alan Hayward <alan.hayward@arm.com>
7470
7471 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7472
f3a09c80
AH
74732019-05-17 Alan Hayward <alan.hayward@arm.com>
7474
7475 * gdb.base/ui-redirect.exp: Test redirection.
7476
26648588
JV
74772019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7478
7479 * gdb.mi/mi-complete.exp: New file.
7480 * gdb.mi/mi-complete.cc: Likewise.
7481
14237686
AB
74822019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7483
7484 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7485 indexed and sliced arrays, and pointers to arrays.
7486
e7bd7fba
TT
74872019-05-14 Tom Tromey <tromey@adacore.com>
7488
7489 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7490 styling test.
7491
2764128d
TV
74922019-05-14 Tom de Vries <tdevries@suse.de>
7493
7494 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7495 selection entry encoding.
7496
71bed2db
TT
74972019-05-10 Tom Tromey <tromey@adacore.com>
7498
7499 * gdb.ada/info_exc.exp: Add "complete" test.
7500
63b667ad
TV
75012019-05-09 Tom de Vries <tdevries@suse.de>
7502
7503 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7504 CU-relative.
7505
9cfd2b89
TV
75062019-05-09 Tom de Vries <tdevries@suse.de>
7507
7508 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7509 CU-relative.
7510
2228ef77
XR
75112019-05-08 Joel Brobecker <brobecker@adacore.com>
7512
7513 * gdb.ada/frame_arg_lang.exp: New testcase.
7514 * gdb.ada/frame_arg_lang/bla.adb: New file.
7515 * gdb.ada/frame_arg_lang/pck.ads: New file.
7516 * gdb.ada/frame_arg_lang/pck.adb: New file.
7517 * gdb.ada/frame_arg_lang/foo.c: New file.
7518
80e55b13
TT
75192019-05-08 Tom Tromey <tromey@adacore.com>
7520
7521 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7522
9d3421af
TT
75232019-05-08 Tom Tromey <tromey@adacore.com>
7524
7525 * gdb.base/ptype-offsets.exp: Update tests.
7526
844333e2
TT
75272019-05-08 Tom Tromey <tromey@adacore.com>
7528
7529 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7530 cases.
7531 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7532 "short".
7533
988915ee
TT
75342019-05-08 Tom Tromey <tromey@adacore.com>
7535
7536 * gdb.ada/vla.exp: New file.
7537 * gdb.ada/vla/vla.adb: New file.
7538
7bd55dac
TV
75392019-05-07 Tom de Vries <tdevries@suse.de>
7540
7541 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7542
75f06e9d
TV
75432019-05-07 Tom de Vries <tdevries@suse.de>
7544
7545 PR testsuite/24522
7546 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7547 section.
7548
77e7aaa4
TV
75492019-05-07 Tom de Vries <tdevries@suse.de>
7550
7551 PR testsuite/24522
7552 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7553 .debug_aranges section.
7554
456ba0fa
TV
75552019-05-07 Tom de Vries <tdevries@suse.de>
7556
7557 PR testsuite/24159
7558 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7559
5a56d6a6
TV
75602019-05-06 Tom de Vries <tdevries@suse.de>
7561
7562 * lib/gdb.exp (exec_has_index_section): New proc.
7563 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7564 section.
7565
9d6d4be8
TV
75662019-05-04 Tom de Vries <tdevries@suse.de>
7567
7568 * boards/cc-with-debug-names.exp: New file.
7569
222a8d25
TT
75702019-05-03 Tom Tromey <tromey@adacore.com>
7571
7572 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7573 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7574 * gdb.ada/char_enum.exp: Add test.
7575
0fdfd794
TV
75762019-05-03 Tom de Vries <tdevries@suse.de>
7577
7578 * boards/cc-with-gdb-index.exp: New file.
7579
80062eb9
AB
75802019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7581
7582 * gdb.rust/simple.exp: Add new test case.
7583 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7584 (main): Initialise an instance of the new struct.
7585
4504bbde
TT
75862019-05-01 Tom Tromey <tromey@adacore.com>
7587
7588 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7589 record.
7590 (NPR): New variable.
7591 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7592 test.
7593
d48e62f4
TT
75942019-05-01 Tom Tromey <tromey@adacore.com>
7595
7596 * gdb.ada/packed_array_assign.exp: Add packed assignment
7597 regression test.
7598
f59f30f5
TV
75992019-05-01 Tom de Vries <tdevries@suse.de>
7600
7601 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7602
b70bfc54
TV
76032019-05-01 Tom de Vries <tdevries@suse.de>
7604
7605 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7606
15f18d14
AT
76072019-04-30 Ali Tamur <tamur@google.com>
7608
7609 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7610
2ff0a947
TT
76112019-04-30 Tom Tromey <tromey@adacore.com>
7612
7613 * lib/ada.exp (find_ada_tool): New proc.
7614 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7615 * gdb.ada/catch_ex_std.exp: New file.
7616 * gdb.ada/catch_ex_std/foo.adb: New file.
7617 * gdb.ada/catch_ex_std/some_package.adb: New file.
7618 * gdb.ada/catch_ex_std/some_package.ads: New file.
7619
a776957c
TT
76202019-04-30 Tom Tromey <tromey@adacore.com>
7621
7622 PR c++/24470:
7623 * gdb.cp/temargs.cc: Add test code from PR.
7624
bc68014d
AB
76252019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7626
7627 * gdb.fortran/vla-datatypes.exp: Update expected results.
7628 * gdb.fortran/vla-ptype.exp: Likewise.
7629 * gdb.fortran/vla-type.exp: Likewise.
7630 * gdb.fortran/vla-value.exp: Likewise.
7631
f1fdc960
AB
76322019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7633
7634 * gdb.fortran/ptr-indentation.exp: Update expected results.
7635 * gdb.fortran/ptype-on-functions.exp: Likewise.
7636 * gdb.fortran/vla-ptr-info.exp: Likewise.
7637 * gdb.fortran/vla-value.exp: Likewise.
7638
bf7a4de1
AB
76392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7640
7641 * gdb.fortran/ptype-on-functions.exp: New file.
7642 * gdb.fortran/ptype-on-functions.f90: New file.
7643
bbe75b9d
AB
76442019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7645
7646 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7647 case void string.
7648
1db455a7
AB
76492019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7650
7651 * gdb.fortran/complex.exp: Expand.
7652 * gdb.fortran/complex.f: Renamed to...
7653 * gdb.fortran/complex.f90: ...this, and extended to add more
7654 complex values.
7655
b6d03bb2
AB
76562019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7657
7658 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7659 MODULO, CMPLX.
7660
2e62ab40
AB
76612019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7662 Richard Bunt <richard.bunt@arm.com>
7663
7664 * gdb.base/max-depth.c: New file.
7665 * gdb.base/max-depth.exp: New file.
7666 * gdb.python/py-nested-maps.c: New file.
7667 * gdb.python/py-nested-maps.exp: New file.
7668 * gdb.python/py-nested-maps.py: New file.
7669 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7670 (test_all_common): Call test_max_depth.
7671 * gdb.fortran/max-depth.exp: New file.
7672 * gdb.fortran/max-depth.f90: New file.
7673 * gdb.go/max-depth.exp: New file.
7674 * gdb.go/max-depth.go: New file.
7675 * gdb.modula2/max-depth.exp: New file.
7676 * gdb.modula2/max-depth.c: New file.
7677 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7678
d2b584a5
TV
76792019-04-29 Tom de Vries <tdevries@suse.de>
7680
7681 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7682
136afab8
PW
76832019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7684
7685 * gdb.base/callexit.exp: Test may-call-functions off.
7686
725cbb63
KS
76872019-04-25 Keith Seitz <keiths@redhat.com>
7688
7689 PR c++/24367
7690 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7691 (another_incomplete_struct, test_incomplete): New definitions.
7692 (main): Use new definitions.
7693 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7694 functions.
7695
701adfb0
PA
76962019-04-25 Ali Tamur <tamur@google.com>
7697
7698 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7699
82433e3e
SDJ
77002019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7701
7702 PR corefiles/11608
7703 PR corefiles/18187
7704 * gdb.base/coredump-filter-build-id.exp: New file.
7705
dd06d4d6
AH
77062019-04-25 Alan Hayward <alan.hayward@arm.com>
7707
e79be6e5
SM
7708 * Makefile.in: Pass through GDBSERVER_DEBUG.
7709 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7710 (gdbserver,debug): Add board setting.
7711 * gdb.trace/tspeed.exp: Skip when debugging.
7712 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7713 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7714
1670072e
TT
77152019-04-24 Tom Tromey <tromey@adacore.com>
7716
7717 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7718 Rust.
7719
a59240a4
TT
77202019-04-24 Tom Tromey <tromey@adacore.com>
7721
7722 * gdb.arch/amd64-eval.exp: Test bitfield return.
7723 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7724 (class Foo) <return_bitfields>: New method.
7725 (main): Call it.
7726
b907456c
AB
77272019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7728
7729 * gdb.cp/many-args.cc: New file.
7730 * gdb.cp/many-args.exp: New file.
7731
5c565afd
TV
77322019-04-23 Tom de Vries <tdevries@suse.de>
7733
7734 PR gdb/24433
7735 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7736
ba22ff86
AH
77372019-04-23 Alan Hayward <alan.hayward@arm.com>
7738
7739 * gdb.trace/backtrace.exp: Use nopie flag.
7740 * gdb.trace/circ.exp: Likewise.
7741 * gdb.trace/collection.exp: Likewise.
7742 * gdb.trace/ftrace.exp: Likewise.
7743 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7744 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7745 * gdb.trace/qtro.exp: Likewise.
7746 * gdb.trace/read-memory.exp: Likewise.
7747 * gdb.trace/report.exp: Likewise.
7748 * gdb.trace/tfile.exp: Likewise.
7749 * gdb.trace/tfind.exp: Likewise.
7750 * gdb.trace/unavailable.exp: Likewise.
7751
7905fc35
PA
77522019-04-22 Pedro Alves <palves@redhat.com>
7753
7754 * gdb.base/solib-probes-nosharedlibrary.c,
7755 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7756
8ecb59f8
TT
77572019-04-19 Tom Tromey <tromey@adacore.com>
7758
7759 * gdb.ada/ptype_union.c: New file.
7760 * gdb.ada/ptype_union.exp: New file.
7761
62160ec9
TT
77622019-04-19 Tom Tromey <tromey@adacore.com>
7763
7764 PR symtab/24423:
7765 * gdb.base/list0.h (foo): Add a control-l character.
7766
36cd4ba5
TV
77672019-04-18 Tom de Vries <tdevries@suse.de>
7768
7769 PR gdb/24433
7770 * boards/local-board.exp: Set sysroot to "".
7771
b73715df
TV
77722019-04-18 Tom de Vries <tdevries@suse.de>
7773 Pedro Alves <palves@redhat.com>
7774
7775 PR gdb/24454
7776 * gdb.threads/vfork-follow-child-exec.c: New file.
7777 * gdb.threads/vfork-follow-child-exec.exp: New file.
7778 * gdb.threads/vfork-follow-child-exit.c: New file.
7779 * gdb.threads/vfork-follow-child-exit.exp: New file.
7780
4aa866af
LS
77812019-04-15 Leszek Swirski <leszeks@google.com>
7782
7783 * gdb.arch/amd64-eval.cc: New file.
7784 * gdb.arch/amd64-eval.exp: New file.
7785
e5a1a79a
AH
77862019-04-11 Alan Hayward <alan.hayward@arm.com>
7787
7788 * gdb.server/sysroot.c: New test.
7789 * gdb.server/sysroot.exp: New file.
7790 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7791 matching param.
7792
41077b66
AB
77932019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7794
7795 * gdb.base/align.exp: Extend test to cover structures containing
7796 only static fields.
7797
c30391f8
TV
77982019-04-11 Tom de Vries <tdevries@suse.de>
7799
7800 * boards/cc-with-dwz-m.exp: New file.
7801 * boards/cc-with-dwz.exp: New file.
7802 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7803
e242fd12
SM
78042019-04-09 Simon Marchi <simon.marchi@efficios.com>
7805
7806 * gdb.base/start-cpp.exp: New file.
7807 * gdb.base/start-cpp.cc: New file.
7808
2b0c8b01
KB
78092019-04-08 Kevin Buettner <kevinb@redhat.com>
7810
7811 * gdb.python/py-thrhandle.exp: Adjust tests to call
7812 thread_from_handle instead of thread_from_thread_handle.
7813
947210e5
KB
78142019-04-08 Kevin Buettner <kevinb@redhat.com>
7815
7816 * gdb.python/py-thrhandle.exp: Add tests for
7817 gdb.InferiorThread.handle.
7818
d7df6549
AB
78192019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7820
7821 * gdb.python/py-function.exp: Check calling helper function from
7822 all languages.
7823 * lib/gdb.exp (gdb_supported_languages): New proc.
7824
8bdc1658
AB
78252019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7826
7827 * gdb.base/complex-parts.c: New file.
7828 * gdb.base/complex-parts.exp: New file.
7829
05caa1d2
TT
78302019-04-01 Tom Tromey <tromey@adacore.com>
7831
7832 PR symtab/23331:
7833 * gdb.dwarf2/dw2-ranges-main.c: New file.
7834 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7835 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7836
7734102d
EZ
78372019-03-30 Simon Marchi <simark@simark.ca>
7838
7839 * gdb.base/default.exp: Add values for $_gdb_major and
7840 $_gdb_minor.
7841
188e1fa9
TT
78422019-03-29 Tom Tromey <tromey@adacore.com>
7843
7844 * gdb.base/help.exp: Tighten apropos regexp.
7845
2880242d
KS
78462019-03-29 Keith Seitz <keiths@redhat.com>
7847
7848 * gdb.fortran/array-bounds.exp: New file.
7849 * gdb.fortran/array-bounds.f90: New file.
7850
077cad8e
PW
78512019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7852
7853 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7854
80047cfc
PW
78552019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7856
7857 * gdb.multi/hello.c (main): Increase alarm timer.
7858
f489207e
SL
78592019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7860
7861 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7862 factor when no hardware watchpoint support.
7863
c92df149
AH
78642019-03-28 Alan Hayward <alan.hayward@arm.com>
7865 Pedro Alves <palves@redhat.com>
7866
7867 * boards/local-board.exp: set sysroot to /.
7868
933aebfa
AH
78692019-03-27 Alan Hayward <alan.hayward@arm.com>
7870
7871 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7872 in child.
7873
9f9aa852
AB
78742019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7875
7876 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7877 field.
7878 (make_container): Initialise new field.
7879 * gdb.python/py-prettyprint.exp: Add new tests.
7880 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7881 <display_hint>: New method.
7882
3714a195
AB
78832019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7884
7885 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7886 gdb_continue_to_breakpoint more throughout this test.
7887 (run_lang_tests) Supply unique test names, and use
7888 gdb_test_no_output.
7889
18c77628
AB
78902019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7891
7892 * gdb.base/finish-pretty.exp: Update expected results.
7893 * gdb.base/pretty-print.c: New file.
7894 * gdb.base/pretty-print.exp: New file.
7895
9a93502f
PA
78962019-03-25 Pedro Alves <palves@redhat.com>
7897
7898 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7899 move comments outside list. Append '-i "" eof' section.
7900
968aa7ae
AH
79012019-03-22 Alan Hayward <alan.hayward@arm.com>
7902
34a7f2a4 7903 PR testsuite/25016
968aa7ae
AH
7904 * README: Add pie options.
7905 * gdb.base/break-interp.exp: Ensure pie is disabled.
7906 * gdb.base/dump.exp: Likewise.
7907 * lib/gdb.exp (gdb_compile): Add pie option.
7908
4c7d57e7
TT
79092019-03-19 Tom Tromey <tromey@adacore.com>
7910
7911 * gdb.mi/mi2-cli-display.c: New file.
7912 * gdb.mi/mi2-cli-display.exp: New file.
7913
bff8c71f
TT
79142019-03-18 Joel Brobecker <brobecker@adacore.com>
7915 Tom Tromey <tromey@adacore.com>
7916
7917 * gdb.ada/ptype_array/pck.adb: New file.
7918 * gdb.ada/ptype_array/pck.ads: New file.
7919 * gdb.ada/ptype_array/foo.adb: New file.
7920 * gdb.ada/ptype_array.exp: New file.
7921
d085f989
TT
79222019-03-14 Tom Tromey <tromey@adacore.com>
7923
7924 * gdb.base/style.exp: Add "set style sources" test.
7925
b4be1b06
SM
79262019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7927
7928 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7929 * mi-breakpoint-multiple-locations.exp: ... this.
7930 (make_breakpoints_pattern): New proc.
7931 (do_test): Add mi_version parameter, test -break-insert,
7932 -break-info and =breakpoint-created.
7933
7cde5fc2
AB
79342019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7935
7936 * config/default.exp: Remove 'load_lib gdb.exp'.
7937 * config/monitor.exp: Likewise.
7938 * config/sid.exp: Likewise.
7939 * config/sim.exp: Likewise.
7940 * config/slite.exp: Likewise.
7941 * config/unix.exp: Likewise.
7942 * gdb.base/default.exp: Remove unhelpful comment.
7943
efbecbc1
AB
79442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7945
7946 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7947
0841c79a
AB
79482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7949
7950 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7951
4a270568
AB
79522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7953
7954 * gdb.fortran/type-kinds.exp: Update expected results.
7955
067630bd
AB
79562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7957
7958 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7959
3be47f7a
AB
79602019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7961
7962 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7963 function.
7964 (test_basic_parsing_of_type_kinds): Expand types tested.
7965 (test_parsing_invalid_type_kinds): New function.
7966
4d00f5d8
AB
79672019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7968
7969 * gdb.fortran/intrinsics.exp: New file.
7970 * gdb.fortran/intrinsics.f90: New file.
7971 * gdb.fortran/type-kinds.exp: New file.
7972
c8f91604
AB
79732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7974
7975 * gdb.fortran/dot-ops.exp: New file.
7976
dd9f2c76
AB
79772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7978
7979 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7980 Check upper and lower case logical literals.
7981
84ec9724
AB
79822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7983
7984 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7985 Remove duplicate tests.
7986
c3734e09
AH
79872019-03-06 Alan Hayward <alan.hayward@arm.com>
7988
7989 * lib/gdb.exp (builtin_cd): rename of cd.
7990 (cd): Override builtin.
7991
aa3cfbda
RB
79922019-03-06 Richard Bunt <richard.bunt@arm.com>
7993
7994 * gdb.fortran/function-calls.exp: New file.
7995 * gdb.fortran/function-calls.f90: New test.
7996
7b63ad86
RB
79972019-03-04 Richard Bunt <richard.bunt@arm.com>
7998
7999 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8000 on user program standard output.
8001 * gdb.fortran/short-circuit-argument-list.f90: Record function
8002 calls.
8003
01abb042
AH
80042019-02-28 Alan Hayward <alan.hayward@arm.com>
8005
c3734e09
AH
8006 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8007 failure.
01abb042 8008
92137da0
RO
80092019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8010
8011 PR gdb/8527
8012 * gdb.base/interrupt-daemon-attach.c,
8013 gdb.base/interrupt-daemon-attach.exp: New test.
8014
5862844d
PA
80152019-02-27 Pedro Alves <palves@redhat.com>
8016
8017 * gdb.base/page.exp: Add tests for "set width/height -1".
8018
8ed25214
PA
80192019-02-27 Pedro Alves <palves@redhat.com>
8020
8021 * gdb.base/page.exp: Add tests for "set/show width/height" with
8022 "infinite" values.
8023
6c28e44a
TT
80242019-02-27 Tom Tromey <tromey@adacore.com>
8025
8026 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8027 2.4.
8028 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8029 workaround.
8030
bf9a735e
AB
80312019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8032
8033 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8034 tests for structs with static members.
8035
8791793c
TT
80362019-02-26 Tom Tromey <tromey@adacore.com>
8037
8038 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8039 ValueError, not TypeError.
8040
bc2a507e
KB
80412019-02-26 Kevin Buettner <kevinb@redhat.com>
8042
8043 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8044 call from main program.
8045
e0e7d3bd
JB
80462019-02-23 Joel Brobecker <brobecker@adacore.com>
8047
8048 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8049 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8050 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8051 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8052 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8053
9600246d
KS
80542019-02-22 Keith Seitz <keiths@redhat.com>
8055
8056 PR symtab/23853
8057 * gdb.base/symlink-sourcefile.c: New file.
8058 * gdb.base/symlink-sourcefile.exp: New file.
8059
0c95f9ed
TT
80602019-02-20 Tom Tromey <tom@tromey.com>
8061
8062 * gdb.base/info_qt.exp: Update.
8063
6caa91b6
SM
80642019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8065
8066 * gdb.base/source.exp: Move "error in sourced script" code to
8067 the end.
8068 * gdb.base/source-error.gdb: Move contents to
8069 source-error-1.gdb. Add new code to source source-error-1.gdb.
8070 * gdb.base/source-error-1.gdb: New file, from previous
8071 source-error.gdb.
8072
6506371f
TT
80732019-02-17 Tom Tromey <tom@tromey.com>
8074
8075 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8076 for macro styling.
8077 * gdb.base/style.c (SOME_MACRO): New macro.
8078
a0087920
TT
80792019-02-17 Tom Tromey <tom@tromey.com>
8080
8081 * gdb.base/style.exp: Add line-wrapping tests.
8082 * gdb.base/page.exp: Add test for quitting during pagination.
8083
a2cd4f14
JB
80842019-02-17 Joel Brobecker <brobecker@adacore.com>
8085
8086 * gdb.ada/big_packed_array: New testcase.
8087 * gdb.ada/homonym.exp: Fix incorrect expected output for
8088 "break <homonym__get_value>" test.
8089
9d70ffbc
WP
80902019-02-13 Weimin Pan <weimin.pan@oracle.com>
8091
8092 PR breakpoints/21870
8093 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8094 and prepare_for_testing. Add comment.
8095 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8096 redundant cleanup call. Clean up comment.
8097
01c7ae81
WP
80982019-02-12 Weimin Pan <weimin.pan@oracle.com>
8099
8100 PR breakpoints/21870
8101 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8102 * gdb.arch/aarch64-dbreg-contents.c: New file.
8103
aff29d1c
JB
81042019-02-10 Joel Brobecker <brobecker@adacore.com>
8105
8106 * gdb.ada/mi_ref_changeable: New testcase.
8107
df0da8a2
AH
81082019-02-07 Alan Hayward <alan.hayward@arm.com>
8109
8110 * gdb.base/attach.exp: Add double attach test.
8111
bd447abb
SM
81122019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8113
8114 * lib/gdb.exp (default_gdb_start): Don't match pagination
8115 prompt.
8116 (gdb_init): Set stty_init.
8117
1dbc40b9
TT
81182019-01-27 Tom Tromey <tom@tromey.com>
8119
8120 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8121 skip_python_tests.
8122
353229bf
AH
81232019-01-24 Alan Hayward <alan.hayward@arm.com>
8124
8125 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8126 New structure.
8127 (struct struct_static_02_02): Likewise.
8128 (struct struct_static_02_03): Likewise.
8129 (struct struct_static_02_04): Likewise.
8130 (struct struct_static_04_01): Likewise.
8131 (struct struct_static_04_02): Likewise.
8132 (struct struct_static_04_03): Likewise.
8133 (struct struct_static_04_04): Likewise.
8134 (struct struct_static_06_01): Likewise.
8135 (struct struct_static_06_02): Likewise.
8136 (struct struct_static_06_03): Likewise.
8137 (struct struct_static_06_04): Likewise.
8138 (cmp_struct_static_02_01): Likewise.
8139 (cmp_struct_static_02_02): Likewise.
8140 (cmp_struct_static_02_03): Likewise.
8141 (cmp_struct_static_02_04): Likewise.
8142 (cmp_struct_static_04_01): Likewise.
8143 (cmp_struct_static_04_02): Likewise.
8144 (cmp_struct_static_04_03): Likewise.
8145 (cmp_struct_static_04_04): Likewise.
8146 (cmp_struct_static_06_01): Likewise.
8147 (cmp_struct_static_06_02): Likewise.
8148 (cmp_struct_static_06_03): Likewise.
8149 (cmp_struct_static_06_04): Likewise.
8150 (call_all): Test new structs.
8151 * gdb.base/infcall-nested-structs.exp: Likewise.
8152
73021deb
AH
81532019-01-21 Alan Hayward <alan.hayward@arm.com>
8154 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8155
fc65c7db
AH
81562019-01-21 Alan Hayward <alan.hayward@arm.com>
8157 * gdb.base/stack-protector.c: New test.
8158 * gdb.base/stack-protector.exp: New file.
8159 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8160 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8161 option.
8162 (gdb_compile): Remove stack protector for GCC and prevent
8163 recursion.
8164
c24bdb02
KS
81652019-01-16 Keith Seitz <keiths@redhat.com>
8166
8167 PR gdb/23773
8168 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8169
6f072a10
PFC
81702019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8171
8172 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8173 aliases.
8174 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8175 tests.
8176 * gdb.arch/powerpc-vector-regs.c: New file.
8177 * gdb.arch/powerpc-vector-regs.exp: New file.
8178
a7b8d682
PFC
81792019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8180
8181 * gdb.arch/altivec-regs.exp: Fix the list passed to
8182 gdb_expect_list when testing "info vector".
8183
6eb6fb67
AB
81842019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8185
8186 * gdb.base/style.exp: Don't include path in testname.
8187
b56f80d8
KS
81882019-01-10 Keith Seitz <keiths@redhat.com>
8189
8190 PR gdb/23712
8191 PR symtab/23010
8192 * gdb.dwarf2/multidictionary.exp: New file.
8193
041be526
SM
81942019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8195
8196 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8197 (test_gnuv3_style_demangling): ... this.
8198 (test_lucid_style_demangling): Remove.
8199 (test_arm_style_demangling): Remove.
8200 (test_hp_style_demangling): Remove.
8201 (do_tests): Remove calls to the above.
8202
d820d0c3
AB
82032019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8204
8205 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8206 case.
8207
f097f5ad
TT
82082019-01-06 Tom Tromey <tom@tromey.com>
8209
8210 PR gdb/28155:
8211 * gdb.dwarf2/typedef-void-finish.exp: New file.
8212
2cd8cc0b
TT
82132018-12-28 Tom Tromey <tom@tromey.com>
8214 Simon Marchi <simark@simark.ca>
8215
8216 * gdb.base/jit-exec.exp: New file.
8217 * gdb.base/jit-exec.c: New file.
8218 * gdb.base/jit-execd.c: New file.
8219
35fb8261
TT
82202018-12-28 Tom Tromey <tom@tromey.com>
8221
8222 * gdb.base/style.exp: Update test to check for address styling.
8223
47fd17cd
TT
82242018-12-28 Tom Tromey <tom@tromey.com>
8225
8226 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8227 message.
8228
d47032b7
TT
82292018-12-28 Tom Tromey <tom@tromey.com>
8230
8231 * gdb.base/style.exp: Add test for version number styling.
8232
af79b68d
TT
82332018-12-28 Tom Tromey <tom@tromey.com>
8234
8235 * gdb.base/style.exp: Add test for print_address_symbolic.
8236
0bb296cb
TT
82372018-12-28 Tom Tromey <tom@tromey.com>
8238
8239 * gdb.base/style.exp: Add test for breakpoint setting.
8240
80ae2043
TT
82412018-12-28 Tom Tromey <tom@tromey.com>
8242
8243 * gdb.base/style.exp: Add test for variable names.
8244
cbe56571
TT
82452018-12-28 Tom Tromey <tom@tromey.com>
8246
8247 * gdb.base/style.exp: New file.
8248 * gdb.base/style.c: New file.
8249
9162a27c
TT
82502018-12-28 Tom Tromey <tom@tromey.com>
8251
8252 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8253 "dumb".
8254 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8255 the TERM environment variable.
8256
bc543c90
TT
82572018-12-27 Tom Tromey <tom@tromey.com>
8258
8259 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8260 pagination test.
8261
6f0ffe50
AB
82622018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8263
8264 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8265 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8266
b5a1e557
PW
82672018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8268
8269 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8270 Filename a.adb changed to bp_fun_addr.adb.
8271 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8272
6e8b1ab2
JV
82732018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8274
8275 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8276 non-PIE executables.
8277 * README: Mention the gdb,nopie_flag board setting.
8278 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8279 non-PIE executable.
8280 * gdb.arch/amd64-entry-value.exp: Likewise.
8281 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8282 * gdb.arch/i386-float.exp: Likewise.
8283 * gdb.arch/i386-signal.exp: Likewise.
8284 * gdb.mi/mi-reg-undefined.exp: Likewise.
8285
d00a27c5
PM
82862018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8287
8288 PR gdb/23974
8289 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8290
161d081c
PW
82912018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8292
8293 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8294 Update order of results accordingly.
8295
b001de23
AB
82962018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8297
8298 * gdb.base/annota1.exp: Update a test regexp.
8299
99e1a184
AB
83002018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8301
8302 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8303
7a81c1e2
PW
83042018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8305
8306 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8307 (reuse_time): Initialize to REUSE_TIME_CAP.
8308 (check_rc): New function.
8309 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8310 Check pthread_create rc.
8311 (spawner_thread_func): Check pthread_create and pthread_join rc.
8312
73e8dc90
PA
83132018-12-08 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.base/list.exp (test_forward_search): Rename to ...
8316 (test_forward_reverse_search): ... this. Also test reverse-search
8317 and the forward-search alias.
8318
13f2ed32
AB
83192018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8320
8321 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8322 local timeout variable before return, and remove all local timeout
8323 variable entirely.
8324 (gdb_load): Likewise.
8325
64d27cfc
TV
83262018-12-01 Tom de Vries <tdevries@suse.de>
8327
8328 * gdb.base/gdb-caching-proc.exp: New file.
8329
f63c03b4
SDJ
83302018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8331
8332 * Makefile.in (TIMESTAMP): New variable.
8333 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8334 command.
8335 (check-single-racy): Likewise.
8336 (check/%.exp): Likewise.
8337 (check-racy/%.exp): Likewise.
8338 (workers/%.worker): Likewise.
8339 (build-perf): Likewise.
8340 (check-perf): Likewise.
8341 * README: Describe new "TS" and "TS_FORMAT" variables.
8342 * print-ts.py: New file.
8343
1c97054b
BF
83442018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8345
8346 PR python/23714
8347 * gdb.python/python.exp: Test command repetition after
8348 gdb.execute.
8349
1871a62d
AB
83502018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8351
8352 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8353 is correctly aligned.
8354
fb5e1ed9
PW
83552018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8356
8357 * gdb.ada/info_auto_lang.exp: New testcase.
8358 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8359 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8360 * gdb.ada/info_auto_lang/some_c.c: New file.
8361
43d397ca
PW
83622018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8363
8364 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8365 FUNC_lang language syntax.
8366
beddd671
PW
83672018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8368
8369 * gdb.base/info_minsym.c: New file.
8370 * gdb.base/info_minsym.exp: New file.
8371
73fc52c4
TT
83722018-11-19 Tom Tromey <tom@tromey.com>
8373
8374 PR rust/23625:
8375 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8376 * gdb.rust/expr.exp: Update expected output. Change one test.
8377
994b876a
TT
83782018-11-19 Tom Tromey <tom@tromey.com>
8379
8380 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8381
6769f276
PA
83822018-11-19 Pedro Alves <palves@redhat.com>
8383
8384 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8385 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8386 see the expected warning.
8387
38a72da0
AH
83882018-11-16 Alan Hayward <alan.hayward@arm.com>
8389
8390 PR gdb/22736:
8391 * gdb.cp/infcall-nodebug-lib.c: New test.
8392 * gdb.cp/infcall-nodebug-main.c: New test.
8393 * gdb.cp/infcall-nodebug.exp: New file.
8394
53a89d6e
SM
83952018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8396
8397 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8398 completer tests.
8399
9325300d
TV
84002018-11-09 Tom de Vries <tdevries@suse.de>
8401
8402 * gdb.base/msym-lang.c: New test.
8403 * gdb.base/msym-lang.exp: New file.
8404 * gdb.base/msym-lang-main.c: New test.
8405
20f0d60d
TT
84062018-11-08 Tom Tromey <tom@tromey.com>
8407
8408 PR gdb/23555:
8409 PR gdb/23838:
8410 * gdb.base/warning.exp: New file.
8411
b5420128
JB
84122018-11-08 Jan Beulich <jbeulich@suse.com>
8413
8414 * testsuite/gdb.arch/i386-avx512.c,
8415 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8416
cd115d61
AB
84172018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8418
8419 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8420 point hardware.
8421
35ee2dc2
AB
84222018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8423
8424 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8425 * gdb.dwarf2/missing-type-name.exp: New file.
8426
31aceee8
TV
84272018-11-06 Tom de Vries <tdevries@suse.de>
8428
8429 * gdb.base/many-headers.c: New test.
8430 * gdb.base/many-headers.exp: New file.
8431
109be305
JW
84322018-11-06 Jim Wilson <jimw@sifive.com>
8433
8434 * gdb.base/code_elim.exp: For riscv, set additional_flags
8435 to include -msmall-data-limit=0.
8436
e2b7af72
JB
84372018-11-01 Joel Brobecker <brobecker@adacore.com>
8438
8439 * gdb.ada/watch_minus_l: New testcase.
8440
cdcda965
SM
84412018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8442
8443 * gdb.arch/aix-sighandle.c: New file.
8444 * gdb.arch/aix-sighandle.exp: New file.
8445
92dcebf3
AB
84462018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8447
8448 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8449 registers being unions.
8450
68b9ac18
TV
84512018-10-31 Tom de Vries <tdevries@suse.de>
8452
8453 * lib/valgrind.exp: New file.
8454 (vgdb_start, vgdb_stop): New procs, factored out of ...
8455 * gdb.base/valgrind-bt.exp: ... here, ...
8456 * gdb.base/valgrind-disp-step.exp: ... here and ...
8457 * gdb.base/valgrind-infcall.exp: ... here.
8458
1443936e
TV
84592018-10-31 Tom de Vries <tdevries@suse.de>
8460
8461 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8462
eb77c9df
AB
84632018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8464
8465 * gdb.dwarf2/void-type.c: New file.
8466 * gdb.dwarf2/void-type.exp: New file.
8467
82b5e646
PW
84682018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8469
8470 * gdb.base/info_qt.c: New file.
8471 * gdb.base/info_qt.exp: New file.
8472
8d619c01
EBM
84732018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8474
8475 * gdb.arch/powerpc-htm-regs.c: New file.
8476 * gdb.arch/powerpc-htm-regs.exp: New file.
8477
f2cf6173
EBM
84782018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8479
8480 * gdb.arch/powerpc-tar.c: New file.
8481 * gdb.arch/powerpc-tar.exp: New file.
8482
7ca18ed6
EBM
84832018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8484
8485 * gdb.arch/powerpc-ppr-dscr.c: New file.
8486 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8487
bfcc0eba
TV
84882018-10-25 Tom de Vries <tdevries@suse.de>
8489
8490 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8491
fe1a5cad
TV
84922018-10-24 Tom de Vries <tdevries@suse.de>
8493
8494 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8495 longer exists error.
8496
a76dc3b7
TV
84972018-10-24 Tom de Vries <tdevries@suse.de>
8498
8499 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8500
4df46df7
TV
85012018-10-24 Tom de Vries <tdevries@suse.de>
8502
8503 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8504 --db-attach in valgrind.
8505
0dbfcfff
AB
85062018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8507
8508 * gdb.arch/riscv-reg-aliases.c: New file.
8509 * gdb.arch/riscv-reg-aliases.exp: New file.
8510
b04480b1
AH
85112018-10-19 Alan Hayward <alan.hayward@arm.com>
8512
8513 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8514
2c6ac8d7
AH
85152018-10-19 Alan Hayward <alan.hayward@arm.com>
8516
8517 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8518
2bc69f25
AH
85192018-10-19 Alan Hayward <alan.hayward@arm.com>
8520
8521 * gdb.cp/ovldbreak.exp: Fix regexps.
8522
1f1ae3a3
AH
85232018-10-19 Alan Hayward <alan.hayward@arm.com>
8524
8525 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8526
94c18618
SDJ
85272018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8528
8529 PR cli/23785
8530 * gdb.base/restore.exp: New test to check if "restore" with an
8531 invalid file doesn't segfault.
8532
812cd6eb
TV
85332018-10-18 Tom de Vries <tdevries@suse.de>
8534
8535 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8536 * gdb.ada/excep_handle.exp: Same.
8537 * gdb.ada/mi_string_access.exp: Same.
8538 * gdb.ada/mi_var_union.exp: Same.
8539 * gdb.arch/arc-analyze-prologue.exp: Same.
8540 * gdb.arch/arc-decode-insn.exp: Same.
8541 * gdb.base/readnever.exp: Same.
8542 * gdb.fortran/printing-types.exp: Same.
8543 * gdb.guile/scm-lazy-string.exp: Same.
8544
c4b90788
TV
85452018-10-16 Tom de Vries <tdevries@suse.de>
8546
8547 PR gdb/23730
8548 * gdb.base/catch-follow-exec.c: Add copyright notice.
8549 * gdb.base/catch-follow-exec.exp: Rewrite to use
8550 gdb_spawn_with_cmdline_opts. Require gdb-native.
8551
8bca2978
SL
85522018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8553
8554 * gdb.trace/actions-changed.exp: Check for arch support.
8555 * gdb.trace/actions.exp: Likewise.
8556 * gdb.trace/ax.exp: Likewise.
8557 * gdb.trace/backtrace.exp: Likewise.
8558 * gdb.trace/change-loc.exp: Likewise.
8559 * gdb.trace/deltrace.exp: Likewise.
8560 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8561 * gdb.trace/ftrace.exp: Likewise.
8562 * gdb.trace/infotrace.exp: Check for arch support.
8563 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8564 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8565 * gdb.trace/mi-tsv-changed.exp: Likewise.
8566 * gdb.trace/packetlen.exp: Likewise.
8567 * gdb.trace/passc-dyn.exp: Likewise.
8568 * gdb.trace/passcount.exp: Likewise.
8569 * gdb.trace/pending.exp: Likewise.
8570 * gdb.trace/range-stepping.exp: Check for shlib support.
8571 * gdb.trace/report.exp: Check for arch support.
8572 * gdb.trace/save-trace.exp: Likewise.
8573 * gdb.trace/signal.exp: Check for signal support.
8574 * gdb.trace/tfind.exp: Check for arch support.
8575 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8576 * gdb.trace/trace-common.h: Add comment.
8577 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8578 * gdb.trace/trace-enable-disable.exp: Likewise.
8579 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8580 * gdb.trace/tracecmd.exp: Check for arch support.
8581 * gdb.trace/tspeed.exp: Check for shlib and target support.
8582 * gdb.trace/tstatus.exp: Check for arch support.
8583 * gdb.trace/tsv.exp: Likewise.
8584 * gdb.trace/while-dyn.exp: Likewise.
8585 * gdb.trace/while-stepping.exp: Likewise.
8586 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8587
f9c49bff
SM
85882018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8589
8590 * gdb.trace/tspeed.exp: Remove nowarnings.
8591 (prepare_for_trace_test): Declare "global ipalib".
8592 * gdb.trace/tspeed.c: Include unistd.h.
8593 (main): Remove superfluous printf argument.
8594
d4330bde
SL
85952018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8596
8597 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8598 directory prefix on the filename.
8599
8ecfd7bd
SDJ
86002018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8601
8602 * gdb.gdb/unittest.exp: Update expected message informing that
8603 selftests have been disabled.
8604 * gdb.server/unittest.exp: Likewise.
8605
58bbcd02
TV
86062018-10-09 Tom de Vries <tdevries@suse.de>
8607
8608 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8609 with runto_main.
8610
9f6b697b
WP
86112018-10-08 Weimin Pan <weimin.pan@oracle.com>
8612
8613 PR c++/16841
8614 * gdb.cp/virtbase2.cc: New file.
8615 * gdb.cp/virtbase2.exp: New file.
8616
add5ded5
TT
86172018-10-06 Tom Tromey <tom@tromey.com>
8618
8619 PR python/19399:
8620 * gdb.python/py-inferior.exp: Add architecture test.
8621
f9e48344
TT
86222018-10-06 Tom Tromey <tom@tromey.com>
8623
8624 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8625 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8626
2a8be203
TT
86272018-10-06 Tom Tromey <tom@tromey.com>
8628
8629 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8630 of a "throw" catchpoint.
8631
e04caa70
SDJ
86322018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8633
8634 * gdb.base/info-proc.exp: Update string expected from "help info
8635 proc".
8636
5ca8c39f
TT
86372018-10-04 Tom Tromey <tom@tromey.com>
8638
8639 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8640 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8641 (test_initial_complaints, test_empty_complaints): Update.
8642 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8643
3453e7e4
TT
86442018-10-04 Tom Tromey <tom@tromey.com>
8645
8646 PR cli/19551:
8647 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8648 * lib/gdb.exp (gdb_file_cmd): Update.
8649 * gdb.stabs/weird.exp (print_weird_var): Update.
8650 * gdb.server/solib-list.exp: Update.
8651 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8652 * gdb.mi/mi-cli.exp: Update.
8653 * gdb.linespec/linespec.exp: Update.
8654 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8655 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8656 * gdb.cp/cp-relocate.exp: Update.
8657 * gdb.base/sym-file.exp: Update.
8658 * gdb.base/relocate.exp: Update.
8659 * gdb.base/readnever.exp: Update.
8660 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8661 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8662 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8663 * gdb.base/code_elim.exp: Update.
8664 * gdb.base/break-unload-file.exp (test_break): Update.
8665 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8666 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8667 Update.
8668 * gdb.base/attach.exp (do_attach_tests): Update.
8669 * gdb.base/sepdebug.exp: Update.
8670 * gdb.python/py-section-script.exp: Update.
8671
6afcf761
TT
86722018-10-04 Tom Tromey <tom@tromey.com>
8673
8674 PR cli/22234:
8675 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8676 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8677 output.
8678
fef1b293
TT
86792018-10-04 Tom Tromey <tom@tromey.com>
8680
8681 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8682 set width and height to 0.
8683 (test_command_line_attach_run): Use -quiet.
8684
ca98345e
SL
86852018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8686
8687 * lib/gdb.exp (skip_ifunc_tests): New.
8688 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8689 other compile failures.
8690 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8691
ff34e6ae
SM
86922018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8693
8694 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8695 is_amd64_regs_target.
8696
6bb8890e
AH
86972018-10-01 Alan Hayward <alan.hayward@arm.com>
8698
8699 * gdb.arch/aarch64-sighandler-regs.c: New test.
8700 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8701 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8702
224d30d3
MM
87032018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8704
8705 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8706 assembly.
8707
f67ffa6a
AB
87082018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8709
8710 * gdb.base/frame-selection.exp: New file.
8711 * gdb.base/frame-selection.c: New file.
8712
9fc3183f
AH
87132018-09-27 Alan Hayward <alan.hayward@arm.com>
8714
8715 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8716 pthread barrier.
8717 (main): Likewise.
8718
d354055e
AB
87192018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8720
8721 * gdb.base/large-frame-1.c: New file.
8722 * gdb.base/large-frame-2.c: New file.
8723 * gdb.base/large-frame.exp: New file.
8724 * gdb.base/large-frame.h: New file.
8725
db727370
JL
87262018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8727
8728 PR gdb/20948
8729 * gdb.base/write_mem.exp: New test.
8730 * gdb.base/write_mem.c: Likewise.
8731
ae778caf
TT
87322018-09-23 Tom Tromey <tom@tromey.com>
8733
8734 PR python/18852:
8735 * gdb.python/py-parameter.exp: Add test for parameter that throws
8736 on "set".
8737
fd3ba736
TT
87382018-09-23 Tom Tromey <tom@tromey.com>
8739
8740 PR python/17284:
8741 * gdb.python/py-template.exp (test_template_arg): Add test for
8742 negative template argument number.
8743
39a24317
TT
87442018-09-23 Tom Tromey <tom@tromey.com>
8745
8746 PR python/14062:
8747 * gdb.python/python.exp: Add test for post_event error.
8748
f5769a2c
TT
87492018-09-23 Tom Tromey <tom@tromey.com>
8750
8751 PR python/18170:
8752 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8753 convert pointers to int and long.
8754
1c1e54f6
TT
87552018-09-23 Tom Tromey <tom@tromey.com>
8756
8757 PR python/20126:
8758 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8759 signed-ness conversion tests.
8760
fb4fa946
TT
87612018-09-23 Tom Tromey <tom@tromey.com>
8762
8763 PR python/18352;
8764 * gdb.python/py-value.exp (test_float_conversion): New proc.
8765 Use it.
8766
a466edac
HAQ
87672018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8768
8769 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8770
4ee9b0c5
SL
87712018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8772
8773 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8774 no readline.
8775 * gdb.base/utf8-identifiers.exp: Likewise.
8776 * gdb.cp/cpcompletion.exp: Likewise.
8777 * gdb.linespec/cpcompletion.exp: Likewise.
8778 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8779 * gdb.linespec/cpls-ops.exp: Likewise.
8780
23be8da7
RB
87812018-09-19 Richard Bunt <richard.bunt@arm.com>
8782 Chris January <chris.january@arm.com>
8783
8784 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8785 * gdb.fortran/short-circuit-argument-list.exp: New file.
8786 * gdb.fortran/short-circuit-argument-list.f90: New test.
8787
5031d0ae
SDJ
87882018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8789
8790 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8791 "arch=" keyword when executing "-stack-list-frames".
8792
b4c0d1a4
SDJ
87932018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8794
8795 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8796 "arch=" keyword when executing "-stack-list-frames".
8797
7a6d2b45
SDJ
87982018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8799
8800 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8801 break ada".
8802
8588b356
SM
88032018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8804
8805 PR python/23669
8806 * gdb.python/python.exp: Test gdb.execute("show commands").
8807
65e65158
TT
88082018-09-16 Tom Tromey <tom@tromey.com>
8809
8810 * gdb.base/new-ui.exp (do_execution_tests): Update.
8811 * gdb.base/dbx.exp (test_breakpoints): Update.
8812
bf326452
AH
88132018-09-14 Alan Hayward <alan.hayward@arm.com>
8814
8815 * lib/gdb.exp (gdb_simple_compile): Add proc.
8816 (is_elf_target): Use gdb_simple_compile.
8817 (skip_altivec_tests): Likewise.
8818 (skip_vsx_tests): Likewise.
8819 (skip_tsx_tests): Likewise.
8820 (skip_btrace_tests): Likewise.
8821 (skip_btrace_pt_tests): Likewise.
8822 (gdb_can_simple_compile): Likewise.
8823 (gdb_has_argv0): Likewise.
8824 (gdb_target_symbol_prefix): Likewise.
8825 (target_supports_scheduler_locking): Likewise.
8826
2361b0fb
TT
88272018-09-13 Tom Tromey <tom@tromey.com>
8828
8829 * Makefile.in (TAGS): Recognize proc_with_prefix and
8830 gdb_caching_proc.
8831
0ae1a321
SM
88322018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8833
8834 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8835 method.
8836
a40bf0c2
SM
88372018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8838
8839 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8840 and a few other Inferior properties when the Inferior is no
8841 longer valid.
8842
4a3fe98f
TT
88432018-09-13 Tom Tromey <tom@tromey.com>
8844
8845 PR rust/23650:
8846 * gdb.rust/simple.exp: Add test for enum field access error.
8847
098b2108
TT
88482018-09-13 Tom Tromey <tom@tromey.com>
8849
8850 PR rust/23626:
8851 * gdb.rust/simple.rs (EmptyEnum): New type.
8852 (main): Use it.
8853 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8854
1256af7d
SM
88552018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8856
8857 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8858 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8859 * gdb.python/py-symtab.exp: Update test printing an objfile.
8860
4aa8e6c2
SM
88612018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8862
8863 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8864 object.
8865
c221b2f7
AH
88662018-09-12 Alan Hayward <alan.hayward@arm.com>
8867
8868 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8869 (support_complex_tests): Use gdb_can_simple_compile.
8870 (is_ilp32_target): Likewise.
8871 (is_lp64_target): Likewise.
8872 (is_64_target): Likewise.
8873 (is_amd64_regs_target): Likewise.
8874 (is_aarch32_target): Likewise.
8875 (gdb_int128_helper): Likewise.
8876
6f1107b5
JK
88772018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8878
8879 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8880
1f5d1570
JG
88812018-09-10 Jerome Guitton <guitton@adacore.com>
8882
8883 * gdb.ada/same_component_name: Add test for case of tagged record
8884 with variable-length fields.
8885
cc330e39
XR
88862018-09-10 Xavier Roirand <roirand@adacore.com>
8887
8888 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8889 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8890 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8891 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8892
b9c50e9a
XR
88932018-09-10 Xavier Roirand <roirand@adacore.com>
8894
8895 * gdb.ada/mi_string_access.exp: New testcase.
8896 * gdb.ada/mi_string_access/bar.adb: New file.
8897 * gdb.ada/mi_string_access/pck.adb: New file.
8898 * gdb.ada/mi_string_access/pck.asd: New file.
8899
2963898f
XR
89002018-09-10 Xavier Roirand <roirand@adacore.com>
8901
8902 * gdb.ada/mi_var_union.exp: New testcase.
8903 * gdb.ada/mi_var_union/bar.adb: New file.
8904 * gdb.ada/mi_var_union/pck.adb: New file.
8905 * gdb.ada/mi_var_union/pck.asd: New file.
8906
1aac008f
TT
89072018-09-08 Tom Tromey <tom@tromey.com>
8908
8909 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8910
332cf4c9
TT
89112018-09-08 Tom Tromey <tom@tromey.com>
8912
8913 PR python/16047:
8914 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8915 (register_pretty_printers): Register new printer.
8916 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8917 test.
8918 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8919 (an_int_type3): New global.
8920
424da6cf
JB
89212018-09-08 Joel Brobecker <brobecker@adacore.com>
8922
8923 * gdb.ada/expr_with_funcall: New testcase.
8924
2a62dfa9
JB
89252018-09-08 Joel Brobecker <brobecker@adacore.com>
8926
8927 * gdb.ada/packed_array_assign: New testcase.
8928
96b6697f
AB
89292018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8930
8931 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8932 names, and add test prefixes to make test names unique.
8933
e4a62c65
TV
89342018-09-05 Tom de Vries <tdevries@suse.de>
8935
8936 * gdb.dwarf2/varval.exp: Add test.
8937
dd083ee2
GB
89382018-09-04 Gary Benson <gbenson@redhat.com>
8939
8940 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8941 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8942
aef9346c
TT
89432018-08-31 Tom Tromey <tom@tromey.com>
8944
8945 * gdb.rust/simple.rs: Rename second variable "v".
8946
c67f2e15
AB
89472018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8948
8949 * gdb.base/funcargs.c (use_a): New function.
8950 (recurse): Call use_a.
8951
078a0207
KS
89522018-08-29 Keith Seitz <keiths@redhat.com>
8953
8954 * gdb.compile/compile-cplus-anonymous.cc: New file.
8955 * gdb.compile/compile-cplus-anonymous.exp: New file.
8956 * gdb.compile/compile-cplus-array-decay.cc: New file.
8957 * gdb.compile/compile-cplus-array-decay.exp: New file.
8958 * gdb.compile/compile-cplus-inherit.cc: New file.
8959 * gdb.compile/compile-cplus-inherit.exp: New file.
8960 * gdb.compile/compile-cplus-member.cc: New file.
8961 * gdb.compile/compile-cplus-member.exp: New file.
8962 * gdb.compile/compile-cplus-method.cc: New file.
8963 * gdb.compile/compile-cplus-method.exp: New file.
8964 * gdb.compile/compile-cplus-mod.c: "New" file.
8965 * gdb.compile/compile-cplus-namespace.cc: New file.
8966 * gdb.compile/compile-cplus-namespace.exp: New file.
8967 * gdb.compile/compile-cplus-nested.cc: New file.
8968 * gdb.compile/compile-cplus-nested.exp: New file.
8969 * gdb.compile/compile-cplus-print.c: "New" file.
8970 * gdb.compile/compile-cplus-print.exp: "New" file.
8971 * gdb.compile/compile-cplus-virtual.cc: New file.
8972 * gdb.compile/compile-cplus-virtual.exp: New file.
8973 * gdb.compile/compile-cplus.c: "New" file.
8974 * gdb.compile/compile-cplus.exp: "New" file.
8975 * lib/compile-support.exp: New file.
8976
b0f492b9
GB
89772018-08-16 Gary Benson <gbenson@redhat.com>
8978
8979 PR gdb/13000:
8980 * gdb.base/batch-exit-status.exp: New file.
8981 * gdb.base/batch-exit-status.good-commands: Likewise.
8982 * gdb.base/batch-exit-status.bad-commands: Likewise.
8983
36eb4c5f
AH
89842018-08-29 Alan Hayward <alan.hayward@arm.com>
8985
8986 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8987 (struct struct02): Likewise.
8988 (struct struct03): Likewise.
8989 (struct struct04): Likewise.
8990 (struct struct_01_01): New struct.
8991 (struct struct_01_02): Likewise.
8992 (struct struct_01_03): Likewise.
8993 (struct struct_01_04): Likewise.
8994 (struct struct_02_01): Likewise.
8995 (struct struct_02_02): Likewise.
8996 (struct struct_02_03): Likewise.
8997 (struct struct_02_04): Likewise.
8998 (struct struct_04_01): Likewise.
8999 (struct struct_04_02): Likewise.
9000 (struct struct_04_03): Likewise.
9001 (struct struct_04_04): Likewise.
9002 (struct struct_05_01): Likewise.
9003 (struct struct_05_02): Likewise.
9004 (struct struct_05_03): Likewise.
9005 (struct struct_05_04): Likewise.
9006 (cmp_struct01): Remove function.
9007 (cmp_struct02): Likewise.
9008 (cmp_struct03): Likewise.
9009 (cmp_struct04): Likewise.
9010 (cmp_struct_01_01): Add Function.
9011 (cmp_struct_01_02): Likewise.
9012 (cmp_struct_01_03): Likewise.
9013 (cmp_struct_01_04): Likewise.
9014 (cmp_struct_02_01): Likewise.
9015 (cmp_struct_02_02): Likewise.
9016 (cmp_struct_02_03): Likewise.
9017 (cmp_struct_02_04): Likewise.
9018 (cmp_struct_04_01): Likewise.
9019 (cmp_struct_04_02): Likewise.
9020 (cmp_struct_04_03): Likewise.
9021 (cmp_struct_04_04): Likewise.
9022 (cmp_struct_05_01): Likewise.
9023 (cmp_struct_05_02): Likewise.
9024 (cmp_struct_05_03): Likewise.
9025 (cmp_struct_05_04): Likewise.
9026 (call_all): Add new structs.
9027 * gdb.base/infcall-nested-structs.exp: Likewise.
9028
3bf9c013
JV
90292018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9030
9031 * gdb.python/py-framefilter-mi.exp: Update regexp to
9032 check for "arch" field in frame output.
9033
450d1e88
KB
90342018-08-23 Kevin Buettner <kevinb@redhat.com>
9035
9036 * gdb.dwarf2/dw2-ranges-func.c: New file.
9037 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9038
ae739fe7
SM
90392018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9040
9041 * gdb.base/term.exp: Compare terminal settings with values from
9042 the inferior.
9043 * gdb.base/term.c: Get and set terminal settings.
9044
6d52907e
JV
90452018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9046
9047 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9048 accommodate new "arch" field in frame output.
9049 * gdb.mi/mi-return.exp: Likewise.
9050 * gdb.mi/mi-stack.exp: Likewise.
9051 * gdb.mi/mi-syn-frame.exp: Likewise.
9052 * gdb.mi/user-selected-context-sync.exp: Likewise.
9053
be2d111a
MS
90542018-08-19 Michael Spang <spang@google.com>
9055
9056 PR gdb/11786
9057 * gdb.base/gcore-tls-pie.c: New file.
9058 * gdb.base/gcore-tls-pie.exp: New file.
9059
ae3a7c47
KB
90602018-08-18 Kevin Buettner <kevinb@redhat.com>
9061
9062 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9063 * gdb.dwarf2/varval.c: New file.
9064 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9065
2ecae92e
AH
90662018-08-17 Alan Hayward <alan.hayward@arm.com>
9067
9068 PR gdb/18931
9069 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9070
c1854f1d
KS
90712018-08-16 Keith Seitz <keiths@redhat.com>
9072
9073 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9074 tests expected to pass.
9075
26fb3983
JV
90762018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9077
9078 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9079 -data-disassemble -a.
9080 (test_disassembly_bogus_args): Likewise.
9081
67943c00
AB
90822018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9083
9084 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9085
5ff2bbae
AB
90862018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9087
9088 * gdb.base/vla-optimized-out.exp: Add new test.
9089
e5bbcd0f
AB
90902018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9091
9092 * gdb.base/vla-optimized-out-o3.exp: Delete.
9093 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9094 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9095 deleted tests.
9096
9d4a934c
AB
90972018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9098
9099 PR gdb/18050:
9100 * gdb.server/extended-remote-restart.c: New file.
9101 * gdb.server/extended-remote-restart.exp: New file.
9102
045cf012
SM
91032018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9104
9105 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9106 "set variable index = 42".
9107
87d6a7aa
SM
91082018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9109
9110 * boards/index-cache-gdb.exp: New file.
9111 * gdb.dwarf2/index-cache.exp: New file.
9112 * gdb.dwarf2/index-cache.c: New file.
9113 * gdb.base/maint.exp: Check if we are using the index cache.
9114
96d68bd4
RO
91152018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9116
9117 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9118 MAKEFLAGS.
9119
5a699617
RO
91202018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9121
9122 * dg-extract-results.sh: Move to toplevel contrib.
9123 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9124 * Makefile.in (check-parallel-racy): Likewise.
9125
5bd18990
AB
91262018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9127
9128 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9129 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9130 tests if the target supports scheduler locking.
9131
3fbbcf47
TV
91322018-08-04 Tom de Vries <tdevries@suse.de>
9133
9134 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9135
3e1d3d8c
TT
91362018-08-02 Tom Tromey <tom@tromey.com>
9137
9138 PR symtab/16842.
9139 * gdb.cp/temargs.exp: Test "info address" of a template
9140 parameter.
9141
5abe0f0c
JV
91422018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9143
9144 * gdb.python/py-mi-var-info-path-expression.c: New file.
9145 * gdb.python/py-mi-var-info-path-expression.py: New file.
9146 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9147
fb66cde8
SDJ
91482018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9149
9150 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9151 error after "cannot resolve name" string.
9152
c708f4d2
AB
91532018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9154
9155 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9156 started.
9157 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9158
37cc0cae
TV
91592018-07-28 Tom de Vries <tdevries@suse.de>
9160
9161 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9162
63b4ecf7
TV
91632018-07-26 Tom de Vries <tdevries@suse.de>
9164
9165 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9166
3c3bb058
AB
91672018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9168
9169 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9170 is visible.
9171
9e7f3bbb
TV
91722018-07-26 Tom de Vries <tdevries@suse.de>
9173
9174 PR breakpoints/23366
9175 * gdb.base/catch-follow-exec.c: New test.
9176 * gdb.base/catch-follow-exec.exp: New file.
9177
16f808ec
TV
91782018-07-25 Tom de Vries <tdevries@suse.de>
9179
9180 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9181 vla-optimized-out.c.
9182
d7154a8d
JV
91832018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9184
9185 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9186 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9187
232a0032
TV
91882018-07-20 Tom de Vries <tdevries@suse.de>
9189
9190 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9191 NOCLONE macro.
9192 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9193
fbb1d502
TV
91942018-07-19 Tom de Vries <tdevries@suse.de>
9195
9196 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9197 regular expression.
9198
42dc7699
TV
91992018-07-18 Tom de Vries <tdevries@suse.de>
9200
9201 * gdb.base/vla-optimized-out.c: New test.
9202 * gdb.base/vla-optimized-out.exp: New file.
9203
7f1f7e23
SDJ
92042018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9205
9206 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9207 message "No address associated with hostname" when gdbserver
9208 cannot resolve the hostname.
9209
5759ebb3
PW
92102018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9211
9212 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9213 Add some test prefixes to make tests unique.
9214
3606ccab
PW
92152018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9216
9217 * gdb.base/frameapply.c: New file.
9218 * gdb.base/frameapply.exp: New file.
9219
529c08b2
PW
92202018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9221
9222 * gdb.base/skip.exp: Update expected error message.
9223
c7ab0aef
SDJ
92242018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9225 Jan Kratochvil <jan.kratochvil@redhat.com>
9226 Paul Fertser <fercerpav@gmail.com>
9227 Tsutomu Seki <sekiriki@gmail.com>
9228
9229 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9230 parameter.
9231 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9232 by default.
9233 * boards/native-gdbserver.exp: Likewise.
9234 * gdb.server/run-without-local-binary.exp: Improve regexp used
9235 for detecting when a remote debugging connection succeeds.
9236 * gdb.server/server-connect.exp: New file.
9237 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9238 Do not prefix the port number with ":".
9239 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9240 support for detecting and using it. Add '$debughost_gdbserver'
9241 to the list of arguments used to start gdbserver. Handle case
9242 when gdbserver cannot resolve a network name.
9243
16ff70dd
SDJ
92442018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9245
9246 PR c++/23373
9247 * gdb.base/ptype-offsets.cc (struct static_member): New
9248 struct.
9249 (main) <stmember>: New variable.
9250 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9251 with a static member in it.
9252
3541979f
AB
92532018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9254
9255 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9256 watchpoints enabled and disabled.
9257
c8ad9b9a
AB
92582018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9259
9260 * gdb.base/examine-backward.exp: Still run tests around address
9261 0x0, even if address 0x0 is not readable. Update the pattern for
9262 matching address 0x0 in expected output.
9263
e0e5e971
AB
92642018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9265
9266 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9267 malloc/free.
9268
1ea5da02
TV
92692018-07-04 Tom de Vries <tdevries@suse.de>
9270
9271 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9272
471b9d15
MR
92732018-07-02 Maciej W. Rozycki <macro@mips.com>
9274
9275 PR tdep/8282
9276 * gdb.arch/mips-disassembler-options.exp: New test.
9277 * gdb.arch/mips-disassembler-options.s: New test source.
9278
75acb486
PA
92792018-06-29 Pedro Alves <palves@redhat.com>
9280
9281 * gdb.threads/names.exp: Adjust expected "info threads" output.
9282
cd2bb709
PA
92832018-06-29 Pedro Alves <palves@redhat.com>
9284
9285 * gdb.opt/inline-break.exp (line number, address): Add "info
9286 break" tests.
9287
991ff292
PA
92882018-06-29 Pedro Alves <palves@redhat.com>
9289
9290 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9291 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9292 number and address and running to them.
9293
356819b6 92942018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9295
9296 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9297
2512d7ef
JK
92982018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9299
9300 * lib/compiler.c: Remove executable permission flag.
9301
be1b6474
RB
93022018-06-28 Richard Bunt <richard.bunt@arm.com>
9303
9304 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9305 code.
9306 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9307
291f9a96
PT
93082018-06-28 Petr Tesarik <ptesarik@suse.cz>
9309
9310 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9311
ed6dfe51
PT
93122018-06-28 Petr Tesarik <ptesarik@suse.cz>
9313
9314 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9315 address argument is omitted.
9316
d4d429d5
PT
93172018-06-28 Petr Tesarik <ptesarik@suse.cz>
9318
9319 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9320
7ab6656f
OJ
93212018-06-27 Omair Javaid <omair.javaid@linaro.org>
9322
9323 PR gdb/21695
9324 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9325 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9326
a33ccfc7
TT
93272018-06-26 Tom Tromey <tom@tromey.com>
9328
9329 PR rust/22574:
9330 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9331 * gdb.rust/simple.rs (struct SimpleLayout): New.
9332
6d72d289
SM
93332018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9334
9335 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9336 "info registers" output.
9337
8363f9d5
RB
93382018-06-21 Richard Bunt <richard.bunt@arm.com>
9339
9340 * gdb.base/watchpoint-hw-attach.c: New test.
9341 * gdb.base/watchpoint-hw-attach.exp: New file.
9342
f00674fe
SM
93432018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9344
9345 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9346 through /bin/sh.
9347 * boards/dwarf4-gdb-index.exp: Likewise.
9348 * boards/fission-dwp.exp: Likewise.
9349
1d554008
UW
93502018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9351
9352 * gdb.base/float128.exp: Add comment and improved fail message
9353 to the failure case of "print large128" test.
9354
d0ac1c44
SM
93552018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9356
9357 * configure.ac: Remove AC_PREREQ.
9358 * configure: Re-generate.
9359
61b04dd0
PA
93602018-06-19 Pedro Alves <palves@redhat.com>
9361
9362 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9363 (func_extern_caller): New.
9364 (main): Call func_extern_caller.
9365 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9366 logic change.
9367
f63b508a
SM
93682018-06-18 Weimin Pan <weimin.pan@oracle.com>
9369
9370 PR gdb/16841
9371 * gdb.cp/typedef-base.cc: New file.
9372 * gdb.cp/typedef-base.exp: New file.
9373
0fe3a558
TV
93742018-06-18 Tom de Vries <tdevries@suse.de>
9375
9376 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9377
7010835a
AB
93782018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9379 Richard Bunt <Richard.Bunt@arm.com>
9380
9381 * gdb.threads/attach-slow-waitpid.c: New file.
9382 * gdb.threads/attach-slow-waitpid.exp: New file.
9383 * gdb.threads/slow-waitpid.c: New file.
9384
14897d65
PA
93852018-06-14 Pedro Alves <palves@redhat.com>
9386
9387 * gdb.base/fork-running-state.c: Include <errno.h>.
9388 (exit_if_relative_exits): New.
9389 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9390 exits.
9391 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9392 child exits.
9393
5d9a0608
TV
93942018-06-14 Tom de Vries <tdevries@suse.de>
9395
9396 PR cli/22573
9397 * gdb.base/finish-pretty.c: New test.
9398 * gdb.base/finish-pretty.exp: New file.
9399
11ae5818
PA
94002018-06-14 Pedro Alves <palves@redhat.com>
9401
9402 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9403 gdb's expected startup output.
9404
1d39de44
PA
94052018-06-14 Pedro Alves <palves@redhat.com>
9406
9407 * lib/selftest-support.exp (selftest_setup): Remove inlined
9408 function handling.
9409
70ee0000
TV
94102018-06-14 Tom de Vries <tdevries@suse.de>
9411
9412 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9413 matching of breakpoint printing.
9414
11f4b608
TV
94152018-06-13 Tom de Vries <tdevries@suse.de>
9416
9417 PR testsuite/23269
9418 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9419 (fork_child): ... here, and ...
9420 (fork_parent): ... here.
9421
94222018-06-12 Tom de Vries <tdevries@suse.de>
9423
9424 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9425
9516f85a
AB
94262018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9427 Stephen Roberts <stephen.roberts@arm.com>
9428
9429 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9430 rewrite test to describe action performed, rather than possible
9431 failure.
9432
5045b3d7
GB
94332018-06-08 Gary Benson <gbenson@redhat.com>
9434
9435 * gdb.threads/check-libthread-db.exp: New file.
9436 * gdb.threads/check-libthread-db.c: Likewise.
9437
c61b06a1
TT
94382018-06-05 Tom Tromey <tom@tromey.com>
9439
9440 * gdb.base/default.exp: Update expected "show version" output.
9441
eb6af809
TT
94422018-06-05 Tom Tromey <tom@tromey.com>
9443
9444 PR cli/12326:
9445 * gdb.cp/static-print-quit.exp: Update.
9446 * lib/gdb.exp (pagination_prompt): Update.
9447 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9448 * gdb.python/python.exp: Update.
9449
178d6a63
JB
94502018-06-04 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9453
8e817061
JB
94542018-06-01 Joel Brobecker <brobecker@adacore.com>
9455
9456 * gdb.ada/bp_fun_addr: New testcase.
9457
e86ca25f
TT
94582018-06-01 Tom Tromey <tom@tromey.com>
9459
9460 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9461 results.
9462 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9463 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9464 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9465 * gdb.base/maint.exp (maint_pass_if): Update.
9466
4b2dfa9d
MR
94672018-05-31 Maciej W. Rozycki <macro@mips.com>
9468
9469 * gdb.base/endian.exp: New test.
9470 * gdb.base/endian.c: New test source.
9471
45f25d6c
AB
94722018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9473
9474 PR gdb/23203
9475 * gdb.base/bt-selected-frame.c: New file.
9476 * gdb.base/bt-selected-frame.exp: New file.
9477 * lib/gdb.exp (get_current_frame_number): New function.
9478
d9f6d7f8
MR
94792018-05-24 Maciej W. Rozycki <macro@mips.com>
9480 Pedro Alves <palves@redhat.com>
9481
9482 * gdb.threads/tls-core.c: Include <stdlib.h>
9483 (thread_proc): Call `abort'.
9484 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9485 (tls_core_test): New procedure, bits factored out from ...
9486 (top level): ... here. Test both native cores and gcore cores.
9487
ff1cf532
TT
94882018-05-23 Tom Tromey <tom@tromey.com>
9489
9490 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9491
b98664d3
TT
94922018-05-23 Tom Tromey <tom@tromey.com>
9493
9494 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9495 symfile_complaints.
9496 (test_short_complaints): Likewise.
9497 (test_empty_complaints): Likewise.
9498 (test_initial_complaints): Update.
9499
4e9668d0
TT
95002018-05-23 Tom Tromey <tom@tromey.com>
9501
9502 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9503
43ba33c7
TT
95042018-05-23 Tom Tromey <tom@tromey.com>
9505
9506 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9507 (test_short_complaints): Update.
9508
035522c0
PA
95092018-05-22 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.base/remote.exp: Only gdb_start after compiling the
9512 testcase. Issue "disconnect" before testing "set remote" command
9513 defaults. Issue clean_restart before running to main.
9514
cc0be08f
PA
95152018-05-22 Pedro Alves <palves@redhat.com>
9516
9517 * gdb.base/remote.exp: Adjust expected output of "show remote
9518 memory-write-packet-size". Add tests for "set remote
9519 memory-write-packet-size 0" and "set remote
9520 memory-write-packet-size fixed/limit".
9521
b1b60145
PA
95222018-05-22 Pedro Alves <palves@redhat.com>
9523
9524 PR gdb/22973
9525 * gdb.base/utf8-identifiers.c: New file.
9526 * gdb.base/utf8-identifiers.exp: New file.
9527
0ec848ad
PFC
95282018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9529
9530 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9531
2c3305f6
PFC
95322018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9533
9534 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9535
ce1e8424
TT
95362018-05-18 Tom Tromey <tom@tromey.com>
9537
9538 * gdb.base/ptype-offsets.exp: Update.
9539
ddfe970e
KS
95402018-05-17 Keith Seitz <keiths@redhat.com>
9541
9542 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9543 in expected breakpoint stop locations.
9544 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9545 move to proper scope to test variable values.
9546 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9547 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9548 New functions.
9549 (main): Call not_inline_func3.
9550 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9551 inline_func1, inline_func2, and inline_func3. Test that when each
9552 breakpoint is hit, GDB properly reports both the stop location
9553 and the backtrace. Repeat tests for temporary breakpoints.
9554
0726fcc6
MR
95552018-05-15 Maciej W. Rozycki <macro@mips.com>
9556
9557 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9558 rather then trying to access it in determining whether the PID
9559 of `gdbserver' could have been retrieved.
9560
8ee22052
AB
95612018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9562
9563 * gdb.arch/amd64-init-x87-values.S: New file.
9564 * gdb.arch/amd64-init-x87-values.exp: New file.
9565
7785df48
JK
95662018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9567
9568 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9569
56bcdbea
TT
95702018-05-04 Tom Tromey <tom@tromey.com>
9571
9572 PR python/22730:
9573 * gdb.python/python.exp: Test multi-line execute.
9574
a913fffb
TT
95752018-05-04 Tom Tromey <tom@tromey.com>
9576
9577 PR python/22731:
9578 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9579
7a2c85f2
TT
95802018-05-04 Tom Tromey <tom@tromey.com>
9581
9582 PR gdb/11750:
9583 * gdb.base/define.exp: Test defining a user command inside a user
9584 command.
9585 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9586
a3b60e45
JK
95872018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9588 Pedro Alves <palves@redhat.com>
9589
9590 PR breakpoints/19806 and support for PR external/20207.
9591 * gdb.base/watchpoint-unaligned.c: New file.
9592 * gdb.base/watchpoint-unaligned.exp: New file.
9593
45fe4a03
AB
95942018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9595
9596 * gdb.base/maint.exp: Make test names unique, use
9597 test_prefix_command_help to test 'help maint info', and remove
9598 repeated test of 'help maint'.
9599
9be2ae8f
TT
96002018-05-04 Tom Tromey <tom@tromey.com>
9601
9602 PR gdb/22619:
9603 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9604 behavior.
9605
11859c31
AB
96062018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9607
9608 * gdb.base/maint.exp: Process output from 'maint print registers'
9609 line at a time.
9610
089a9490
AB
96112018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9612
9613 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9614 timeout.
9615
9b0797e2
AB
96162018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9617
9618 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9619 filter pattern.
9620
f6ac5f3d
PA
96212018-05-02 Pedro Alves <palves@redhat.com>
9622
9623 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9624 to_log_command renames.
9625 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9626
77d3c63b
TT
96272018-05-02 Tom Tromey <tom@tromey.com>
9628
9629 * gdb.python/py-parameter.exp: Set test message.
9630
0489430a
TT
96312018-05-02 Tom Tromey <tom@tromey.com>
9632
9633 PR python/20084:
9634 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9635 PARAM_ZUINTEGER_UNLIMITED tests.
9636
1632f8ba
DR
96372018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9638
9639 PR rust/23124
9640 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9641 when casting.
9642
6d7bb824
TT
96432018-04-30 Tom Tromey <tom@tromey.com>
9644
9645 * gdb.python/py-type.exp: Check align attribute.
9646 * gdb.python/py-type.c: New "aligncheck" global.
9647
007e1530
TT
96482018-04-30 Tom Tromey <tom@tromey.com>
9649
9650 PR exp/17095:
9651 * gdb.dwarf2/dw2-align.exp: New file.
9652 * gdb.cp/align.exp: New file.
9653 * gdb.base/align.exp: New file.
9654 * lib/gdb.exp (gdb_int128_helper): New proc.
9655 (has_int128_c, has_int128_cxx): New caching procs.
9656
6873858b
TT
96572018-04-27 Tom Tromey <tom@tromey.com>
9658
9659 PR rust/22545:
9660 * gdb.rust/simple.exp: Add inclusive range tests.
9661
79188d8d
PA
96622018-04-26 Pedro Alves <palves@redhat.com>
9663
9664 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9665 ifunc breakpoint locations correctly of ifunc breakpoints set
9666 while the program resolves the ifunc.
9667
c7075ad5
PA
96682018-04-26 Pedro Alves <palves@redhat.com>
9669
9670 * gdb.base/gnu-ifunc-final.c: New file.
9671 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9672 * gdb.base/gnu-ifunc.exp (executable): Delete.
9673 (staticexecutable): Adjust.
9674 (lib_opts, exec_opts): Delete.
9675 (make_binsuffix, build, set-break): New procedures.
9676 (misc_tests): New, with tests factored out from the top level.
9677 (top level): Test different combinations of ifunc resolver name,
9678 resolver with and with debug info, and ifunc target with and
9679 without debug info. Wrap static tests with with_target_prefix.
9680
8388016d
PA
96812018-04-26 Pedro Alves <palves@redhat.com>
9682
9683 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9684 return type" warnings.
9685
249b5733
PA
96862018-04-25 Pedro Alves <palves@redhat.com>
9687
9688 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9689 killed".
9690 * gdb.base/kill-after-signal.exp: Likewise.
9691 * gdb.threads/kill.exp: Likewise.
9692
f67c0c91
SDJ
96932018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9694 Sergio Durigan Junior <sergiodj@redhat.com>
9695 Pedro Alves <palves@redhat.com>
9696
9697 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9698 regexps to expect for '[Inferior ... detached]' as well.
9699 * gdb.base/attach.exp: Likewise.
9700 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9701 "gdb_continue_to_end".
9702 (test_catch_syscall_with_wrong_args): Likewise.
9703 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9704 ']'. Don't set 'verbose' on.
9705 * gdb.base/foll-vfork.exp: Likewise.
9706 * gdb.base/fork-print-inferior-events.c: New file.
9707 * gdb.base/fork-print-inferior-events.exp: New file.
9708 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9709 '[Inferior ... has been killed]' message.
9710 * gdb.base/kill-after-signal.exp: Likewise.
9711 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9712 detach message.
9713 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9714 message.
9715 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9716 regexps to expect for '[Inferior ... detached]' as well.
9717 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9718
0a8ddac4
SM
97192018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9720
9721 PR gdb/23104
9722 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9723
701adfb0
PA
97242018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9725
9726 PR gdb/23095
9727 * gdb.base/break-probes.exp: Pass shlib_load to
9728 prepare_for_testing. Set normal_bp to r_debug_state if target is
9729 bsd.
9730
d27d16bf
RB
97312018-04-19 Richard Bunt <richard.bunt@arm.com>
9732
9733 * gdb.threads/multiple-successive-infcall.c: New test.
9734 * gdb.threads/multiple-successive-infcall.exp: New file.
9735
a037790e
TT
97362018-04-17 Tom Tromey <tom@tromey.com>
9737
9738 * gdb.rust/simple.rs (Union): New type.
9739 (main): New local "u".
9740 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9741
e3a91079
AA
97422018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9743
9744 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9745 number information in output of "whereis" command.
9746 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9747
b744723f
AA
97482018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9749
9750 * gdb.ada/info_types.exp: Adjust expected output to the line
9751 numbers now printed by "info var/func/type".
9752 * gdb.base/completion.exp: Likewise.
9753 * gdb.base/included.exp: Likewise.
9754 * gdb.cp/cp-relocate.exp: Likewise.
9755 * gdb.cp/cplusfuncs.exp: Likewise.
9756 * gdb.cp/namespace.exp: Likewise.
9757 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9758
4a4495d6
MM
97592018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9760
9761 * gdb.btrace/cpu.exp: New.
9762
1d509aa6
MM
97632018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9764
9765 * gdb.base/step-indirect-call-thunk.exp: New.
9766 * gdb.base/step-indirect-call-thunk.c: New.
9767 * gdb.reverse/step-indirect-call-thunk.exp: New.
9768 * gdb.reverse/step-indirect-call-thunk.c: New.
9769
6295b6da
SM
97702018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9771
9772 * gdb.base/pie-fork.c: New file.
9773 * gdb.base/pie-fork.exp: New file.
9774
50146e70
TT
97752018-04-11 Tom Tromey <tom@tromey.com>
9776
9777 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9778
f50d8a2e
PA
97792018-04-10 Pedro Alves <palves@redhat.com>
9780
9781 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9782 exits. Instead loop running forever.
9783 (fork_parent): Run forever too.
9784
a0be7a36
SM
97852018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9786
9787 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9788 mi_continue_to_line.
9789 * gdb.mi/mi-stack.c (callee4): Add comment.
9790
9b73db36
SM
97912018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9792
9793 * gdb.mi/mi-stack.exp: Fix indentation.
9794
c912f608
SM
97952018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9796
9797 PR gdb/22979
9798 * gdb.arch/amd64-osabi.exp: New file.
9799
26540402
SM
98002018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9801
9802 PR gdb/22980
9803 * gdb.base/osabi.exp: New file.
9804
121ad66c 98052018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9806
9807 * gdb.cp/static-typedef-print.exp: New file.
9808 * gdb.cp/static-typedef-print.cc: New file.
9809
3fcded8f
JB
98102018-03-27 Joel Brobecker <brobecker@adacore.com>
9811
9812 * gdb.ada/varsize_limit: New testcase.
9813
59cc4834
JB
98142018-03-27 Joel Brobecker <brobecker@adacore.com>
9815
9816 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9817
9818 * gdb.ada/notcplusplus: New testcase.
9819
9820 * gdb.base/c-linkage-name.c: New file.
9821 * gdb.base/c-linkage-name.exp: New testcase.
9822
4ca59a9f
TT
98232018-03-26 Tom Tromey <tom@tromey.com>
9824
9825 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9826 * gdb.python/py-framefilter.py (name_error): New global.
9827 (ErrorInName.function): Use name_error.
9828
978d6c75
TT
98292018-03-26 Tom Tromey <tom@tromey.com>
9830
9831 PR backtrace/15582:
9832 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9833
b7fee5a3
KS
98342018-03-23 Keith Seitz <keiths@redhat.com>
9835
9836 PR c++/22968
9837 * gdb.cp/subtypes.exp: New file.
9838 * gdb.cp/subtypes.h: New file.
9839 * gdb.cp/subtypes.cc: New file.
9840 * gdb.cp/subtypes-2.cc: New file.
9841
376be529
AB
98422018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9843
9844 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9845 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9846 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9847 -nostartfiles when compiling the test. Confirm that all registers
9848 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9849
066cfa98
AB
98502018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9851
9852 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9853 option, syntax was wrong anyway.
9854 * gdb.arch/arm-disp-step.exp: Likewise.
9855 * gdb.arch/sparc64-regs.exp: Likewise.
9856 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9857 option, syntax was wrong anyway, switch to use
9858 prepare_for_testing.
9859 * gdb.arch/i386-disp-step.exp: Likewise.
9860
079670b9
AA
98612018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9862
9863 * gdb.ada/exec_changed.exp: Replace "target_info exists
9864 use_gdb_stub" by "use_gdb_stub".
9865 * gdb.ada/start.exp: Likewise.
9866 * gdb.base/async-shell.exp: Likewise.
9867 * gdb.base/attach-pie-misread.exp: Likewise.
9868 * gdb.base/attach-wait-input.exp: Likewise.
9869 * gdb.base/break-entry.exp: Likewise.
9870 * gdb.base/break-interp.exp: Likewise.
9871 * gdb.base/dprintf-detach.exp: Likewise.
9872 * gdb.base/nostdlib.exp: Likewise.
9873 * gdb.base/solib-nodir.exp: Likewise.
9874 * gdb.base/statistics.exp: Likewise.
9875 * gdb.base/testenv.exp: Likewise.
9876 * gdb.mi/mi-exec-run.exp: Likewise.
9877 * gdb.mi/mi-start.exp: Likewise.
9878 * gdb.multi/dummy-frame-restore.exp: Likewise.
9879 * gdb.multi/multi-arch-exec.exp: Likewise.
9880 * gdb.multi/multi-arch.exp: Likewise.
9881 * gdb.multi/tids.exp: Likewise.
9882 * gdb.multi/watchpoint-multi.exp: Likewise.
9883 * gdb.python/py-events.exp: Likewise.
9884 * gdb.threads/attach-into-signal.exp: Likewise.
9885 * gdb.threads/attach-stopped.exp: Likewise.
9886 * gdb.threads/threadapply.exp: Likewise.
9887 * lib/selftest-support.exp: Likewise.
9888
26d6cec4
AA
98892018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9890
9891 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9892
4ee89e90
SR
98932018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9894
9895 * gdb.perf/template-breakpoints.cc: New file.
9896 * gdb.perf/template-breakpoints.exp: New file.
9897 * gdb.perf/template-breakpoints.py: New file.
9898
92630041
TT
98992018-03-19 Tom Tromey <tom@tromey.com>
9900
9901 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9902 y0.
9903 * gdb.rust/simple.exp: Test bare identifier form of struct
9904 initializer.
9905
76727919
TT
99062018-03-19 Tom Tromey <tom@tromey.com>
9907
9908 * gdb.gdb/observer.exp: Remove.
9909
194ed413
AA
99102018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9911
9912 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9913 "qualified" option when setting breakpoints.
9914 * gdb.trace/backtrace.exp: Likewise.
9915 * gdb.trace/circ.exp: Likewise.
9916 * gdb.trace/collection.exp: Likewise.
9917 * gdb.trace/disconnected-tracing.exp: Likewise.
9918 * gdb.trace/ftrace-lock.exp: Likewise.
9919 * gdb.trace/ftrace.exp: Likewise.
9920 * gdb.trace/infotrace.exp: Likewise.
9921 * gdb.trace/packetlen.exp: Likewise.
9922 * gdb.trace/passc-dyn.exp: Likewise.
9923 * gdb.trace/qtro.exp: Likewise.
9924 * gdb.trace/read-memory.exp: Likewise.
9925 * gdb.trace/report.exp: Likewise.
9926 * gdb.trace/signal.exp: Likewise.
9927 * gdb.trace/status-stop.exp: Likewise.
9928 * gdb.trace/strace.exp: Likewise.
9929 * gdb.trace/tfind.exp: Likewise.
9930 * gdb.trace/trace-break.exp: Likewise.
9931 * gdb.trace/trace-condition.exp: Likewise.
9932 * gdb.trace/trace-mt.exp: Likewise.
9933 * gdb.trace/tstatus.exp: Likewise.
9934 * gdb.trace/tsv.exp: Likewise.
9935 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9936 * gdb.trace/unavailable.exp: Likewise.
9937 * gdb.trace/while-dyn.exp: Likewise.
9938
8b067d2c
AA
99392018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9940
9941 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9942 that libinproctrace is copied to the target.
9943
3ae9ce5d
TT
99442018-03-14 Tom Tromey <tom@tromey.com>
9945
9946 PR cli/14977:
9947 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9948 a null pointer.
9949 * gdb.base/wchar.exp: Likewise.
9950
b8c2339b
TT
99512018-03-14 Tom Tromey <tom@tromey.com>
9952
9953 PR cli/19918:
9954 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9955 flag.
9956
4872dc46
SM
99572018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9958
9959 PR gdb/22841
9960 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9961 "target" to remote_exec.
9962
e4fe3756
SM
99632018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9964
9965 PR gdb/22841
9966 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9967 ${board}_upload): Remove.
9968
e95a97d4
AA
99692018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9970
9971 * gdb.cp/watch-cp.cc: New test.
9972 * gdb.cp/watch-cp.exp: New file.
9973
dbbb1059
AB
99742018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9975
9976 * gdb.base/infcall-nested-structs.exp: New file.
9977 * gdb.base/infcall-nested-structs.c: New file.
9978 * gdb.base/float.exp: Add riscv support.
9979
ecc054c0
TP
99802018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9981
9982 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9983 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9984
25e3c82c
SDJ
99852018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9986
9987 * gdb.server/abspath.exp: New file.
9988 * lib/gdb.exp (with_cwd): New procedure.
9989
3083294d
SM
99902018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9991
9992 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9993 use it.
9994 (gdb_is_target_remote_prompt): New proc.
9995 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9996 (gdb_is_target_native): Pass prompt parameter to
9997 gdb_is_target_1.
9998
3275ef47
SM
99992018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10000
10001 * gdb.base/load-command.c: New file.
10002 * gdb.base/load-command.exp: New file.
10003 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10004 (gdb_is_target_1): ...this, and generalize for other targets
10005 than just remote.
10006 (gdb_is_target_remote): Use gdb_is_target_1.
10007 (gdb_is_target_native): use gdb_is_target_1.
10008
6893c19a
TT
100092018-02-26 Tom Tromey <tom@tromey.com>
10010
10011 PR python/16497:
10012 * gdb.python/py-framefilter.exp: Update test.
10013
2ddeaf8a
TT
100142018-02-26 Tom Tromey <tom@tromey.com>
10015
10016 * gdb.dwarf2/variant.c: New file.
10017 * gdb.dwarf2/variant.exp: New file.
10018
c9317f21
TT
100192018-02-26 Tom Tromey <tom@tromey.com>
10020
10021 * gdb.rust/simple.exp: Accept more possible results in enum test.
10022
6f6d0c26
SM
100232018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10024
10025 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10026 parentheses.
10027
11b03145
MR
100282018-02-23 Maciej W. Rozycki <macro@mips.com>
10029
10030 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10031 name of a variable: $actual_linejj -> $actual_line.
10032
54a27fe5
JB
100332018-02-21 John Baldwin <jhb@FreeBSD.org>
10034
10035 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10036
de65820c
MM
100372018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10038
10039 * gdb.btrace/buffer-size.exp: Do not force BTS.
10040
980548fd
PA
100412018-02-14 Pedro Alves <palves@redhat.com>
10042
10043 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10044 getting a "Quit".
10045
c4e12631
MM
100462018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10047
10048 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10049 Fix test name.
10050
c2e0e465
SM
100512018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10052
10053 * gdb.cp/m-static.exp: Check type of optimized out static
10054 member.
10055
f7216783
AB
100562018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10057
10058 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10059 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10060
0625771b
LS
100612018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10062 Leszek Swirski <leszeks@google.com>
10063
10064 * gdb.python/py-prettyprint.c
10065 (struct to_string_returns_value_inner,
10066 struct to_string_returns_value_wrapper): New.
10067 (main): Add tsrvw variable.
10068 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10069 ToStringReturnsValueWrapper): New classes.
10070 (register_pretty_printers): Register new pretty-printers.
10071 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10072 recursive pretty printer.
10073 * gdb.python/py-mi.exp: Likewise.
10074
59498c30
LS
100752018-02-01 Leszek Swirski <leszeks@google.com>
10076
10077 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10078 functions with the same name as an include file are parsed
10079 correctly.
10080
d4d38844
YQ
100812018-02-01 Yao Qi <yao.qi@linaro.org>
10082
10083 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10084 "\[^\r\n\]*".
10085
07e5f5cf
NP
100862018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10087
10088 * gdb.arch/powerpc-prologue-frame.s: New file.
10089 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10090 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10091
929b5ad4
JB
100922018-01-31 Joel Brobecker <brobecker@adacore.com>
10093
10094 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10095
e671cd59
PA
100962018-01-30 Pedro Alves <palves@redhat.com>
10097
10098 PR gdb/13211
10099 * gdb.base/interrupt-daemon.c: New.
10100 * gdb.base/interrupt-daemon.exp: New.
10101 * gdb.multi/multi-term-settings.c: New.
10102 * gdb.multi/multi-term-settings.exp: New.
10103
fc413dc4
JB
101042018-01-30 Joel Brobecker <brobecker@adacore.com>
10105
10106 * gdb.base/break.exp: Save the location where the breakpoint
10107 on break.c:47 was actually inserted when debugging the version
10108 compiled at -O2 and use it in the expected output of the "info
10109 break" test performed soon after.
10110
5c319bb2
PA
101112018-01-22 Pedro Alves <palves@redhat.com>
10112 Sergio Durigan Junior <sergiodj@redhat.com>
10113
10114 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10115 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10116
a9e40818
JB
101172018-01-22 Joel Brobecker <brobecker@adacore.com>
10118
10119 * gdb.base/break-include.c, gdb.base/break-include.inc,
10120 gdb.base/break-include.exp: New files.
10121 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10122 line number now being the actual line number where the breakpoint
10123 was inserted.
10124 * gdb.mi/mi-break.exp: Likewise.
10125 * gdb.mi/mi-reverse.exp: Likewise.
10126 * gdb.mi/mi-simplerun.exp: Ditto.
10127
e707fc44
AB
101282018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10129
10130 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10131 varobj.
10132 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10133
ae451627
AB
101342018-01-21 Don Breazeal <donb@codesourcery.com>
10135 Andrew Burgess <andrew.burgess@embecosm.com>
10136
10137 * gdb.mi/basics.c: Add new global.
10138 * gdb.mi/mi-frame-regs.exp: New file.
10139 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10140 case.
10141
b1b189e0
AB
101422018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10143
10144 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10145 non-parameter, and on an unknown symbol.
10146
fcfcc376
TT
101472018-01-19 Tom Tromey <tom@tromey.com>
10148
10149 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10150 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10151
634c1c31
AA
101522018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10153
10154 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10155 setrlimit and chdir to int.
10156
d6ad07fd
AA
101572018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10158
10159 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10160 function.
10161 (my_tend): Likewise.
10162 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10163 rationale of avoiding FP- and vector instructions.
10164
adf8243b
RK
101652018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10166
10167 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10168 "info reg" with "\[ \t\]*".
10169 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10170 "\[ \t\]+".
10171 * gdb.arch/s390-multiarch.exp: Ditto.
10172 * gdb.base/pc-fp.exp: Ditto.
10173 * gdb.reverse/i386-precsave.exp: Ditto.
10174 * gdb.reverse/i386-reverse.exp: Ditto.
10175 * gdb.reverse/i387-env-reverse.exp: Ditto.
10176 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10177
dcc06925
AA
101782018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10179
10180 * lib/gdb.exp (gdb_compile): Re-enable use of
10181 universal_compile_options for languages other than Rust.
10182
25d4fd80
AA
101832018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10184
10185 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10186
ee7f689e 101872018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10188
10189 PR gdb/16577
10190 * gdb.base/solib-vanish.exp: New.
10191 * gdb.base/solib-vanish-main.c: New.
10192 * gdb.base/solib-vanish-lib1.c: New.
10193 * gdb.base/solib-vanish-lib2.c: New.
10194
d8447b6b
YQ
101952018-01-17 Yao Qi <yao.qi@linaro.org>
10196
10197 * gdb.compile/compile.exp: Match the address printed for
10198 frame in the output of command "bt".
10199
86d6a90c
TT
102002018-01-15 Tom Tromey <tom@tromey.com>
10201
10202 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10203 compute sp_reg.
10204
cbcdb1aa
AB
102052018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10206
10207 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10208 to prepare.
10209 (prepare): Return 0 on error, 1 on success.
10210
eea61984
PA
102112018-01-12 Pedro Alves <palves@redhat.com>
10212
10213 * gdb.base/continue-after-aborted-step-over.c: New.
10214 * gdb.base/continue-after-aborted-step-over.exp: New.
10215
6181e9c2
SM
102162018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10217
10218 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10219 options when not creating an executable.
10220
3cada740
PA
102212018-01-11 Pedro Alves <palves@redhat.com>
10222
10223 PR remote/22597
10224 * gdb.server/stop-reply-no-thread.c: New file.
10225 * gdb.server/stop-reply-no-thread.exp: New file.
10226
c63d3e8d
PA
102272018-01-10 Pedro Alves <palves@redhat.com>
10228
10229 PR gdb/22670
10230 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10231 functions too. Test setting breakpoints and printing C functions
10232 with no debug info too.
10233 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10234
d4c2a405
PA
102352018-01-10 Pedro Alves <palves@redhat.com>
10236
10237 PR gdb/22670
10238 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10239 a fail.
10240
8825213e
PA
102412018-01-10 Pedro Alves <palves@redhat.com>
10242
10243 PR gdb/22670
10244 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10245
605fd3c6
YQ
102462018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10247
10248 * gdb.server/unittest.exp: Match the output in non-development
10249 mode.
10250
1e5ded6c
YQ
102512018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10252
10253 * gdb.gdb/unittest.exp: Match output in non-development mode.
10254
30066b0b
JB
102552018-01-08 Joel Brobecker <brobecker@adacore.com>
10256
10257 * gdb.ada/access_tagged_param.exp: Relax expected output
10258 for value of "ObjL" in "continue" to pck.inspect breakpoint
10259 test.
10260
04bafb1e
XR
102612018-01-08 Joel Brobecker <brobecker@adacore.com>
10262
9f86398b
JB
10263 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10264 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10265
e379cee6
PA
102662018-01-05 Pedro Alves <palves@redhat.com>
10267
10268 PR gdb/18653
10269 * gdb.base/libsegfault.exp: New.
10270
de63c46b
PA
102712018-01-05 Joel Brobecker <brobecker@adacore.com>
10272
10273 PR gdb/22670
10274 * gdb.ada/access_tagged_param.exp: New file.
10275 * gdb.ada/access_tagged_param/foo.adb: New file.
10276
f98fc17b
PA
102772018-01-05 Pedro Alves <palves@redhat.com>
10278
10279 PR gdb/22670
10280 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10281 exercise lower case too, and to exercise both full matching and
10282 wild matching.
10283
342f8240
JB
102842018-01-05 Joel Brobecker <brobecker@adacore.com>
10285
10286 * gdb.ada/rename_subscript_param: New testcase.
10287
7150d33c
JG
102882018-01-05 Jerome Guitton <guitton@adacore.com>
10289
10290 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10291
cc0e770c
JB
102922018-01-05 Joel Brobecker <brobecker@adacore.com>
10293
10294 * gdb.ada/convvar_comp: New testcase.
10295
672a41aa 102962018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10297
10298 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10299 (My_Table): New global variable.
10300 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10301
7365ec2f
JB
103022018-01-04 Joel Brobecker <brobecker@adacore.com>
10303
10304 PR gdb/22670
10305 * gdb.ada/maint_with_ada: New testcase.
10306
289483b6
JB
103072018-01-04 Joel Brobecker <brobecker@adacore.com>
10308
10309 PR gdb/22670
10310 * gdb.ada/bp_c_mixed_case: New testcase.
10311
344420da
JB
103122018-01-04 Joel Brobecker <brobecker@adacore.com>
10313
10314 PR gdb/22670
10315 * gdb.ada/complete.exp: Add "complete break ada" test.
10316
66fc87a0
JB
103172018-01-04 Joel Brobecker <brobecker@adacore.com>
10318
10319 PR gdb/22670
10320 * gdb.ada/info_addr_mixed_case: New testcase.
10321
9f757bf7
XR
103222018-01-03 Xavier Roirand <roirand@adacore.com>
10323
10324 * gdb.ada/excep_handle.exp: New testcase.
10325 * gdb.ada/excep_handle/foo.adb: New file.
10326 * gdb.ada/excep_handle/pck.ads: New file.
10327
bd570f80
JB
103282018-01-03 Joel Brobecker <brobecker@adacore.com>
10329
10330 * gdb.base/step-line.c: Add extra empty line in copyright header.
10331 * gdb.base/step-line.inp: Likewise.
10332
9fe561ab
JB
103332018-01-02 Joel Brobecker <brobecker@adacore.com>
10334
10335 * gdb.ada/dyn_stride.exp: Add slice test.
10336
a405673c
JB
103372018-01-02 Joel Brobecker <brobecker@adacore.com>
10338
10339 * gdb.ada/dyn_stride: New testcase.
10340
cef0f868
SH
103412017-12-27 Stafford Horne <shorne@gmail.com>
10342
10343 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10344 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10345
b67d92b0
SH
103462017-12-27 Stafford Horne <shorne@gmail.com>
10347
10348 * gdb.base/reggroups.c: New file.
10349 * gdb.base/reggroups.exp: New file.
10350
eccab96d
JB
103512017-12-18 Joel Brobecker <brobecker@adacore.com>
10352
10353 * gdb.dwarf2/ada-valprint-error.c: New file.
10354 * gdb.dwarf2/ada-valprint-error.exp: New file.
10355
0e2da9f0
JB
103562017-12-18 Joel Brobecker <brobecker@adacore.com>
10357
10358 * gdb.ada/assign_arr: New testcase.
10359
cb923fcc
XR
103602017-12-18 Xavier Roirand <roirand@adacore.com>
10361
10362 * gdb.ada/funcall_ptr: New testcase.
10363
7c161838
SDJ
103642017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10365
10366 PR cli/16224
10367 * gdb.base/ptype-offsets.cc: New file.
10368 * gdb.base/ptype-offsets.exp: New file.
10369
1af17fd9
YQ
103702017-12-15 Yao Qi <yao.qi@linaro.org>
10371
10372 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10373 if XML is disabled.
10374
828d5846
XR
103752017-12-15 Xavier Roirand <roirand@adacore.com>
10376
10377 * gdb.ada/same_component_name: New testcase.
10378
79e8fcaa
JB
103792017-12-14 Joel Brobecker <brobecker@adacore.com>
10380
10381 * gdb.ada/str_binop_equal: New testcase.
10382
e05fa6f9
JB
103832017-12-14 Joel Brobecker <brobecker@adacore.com>
10384
10385 * gdb.ada/task_switch_in_core: New testcase.
10386
b89641ba
SM
103872017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10388
10389 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10390 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10391 call test_bkpt_qualified.
10392 (test_bkpt_qualified): New proc.
10393
6892d2e4
PA
103942017-12-13 Pedro Alves <palves@redhat.com>
10395
10396 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10397 Tighten regexp by matching with an anchor.
10398
a22ecf70
PA
103992017-12-13 Pedro Alves <palves@redhat.com>
10400
10401 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10402 ("expression with namespace"): New set of tests.
10403 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10404 (Nested::Test_NS::qux): New.
10405 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10406 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10407
9937536c
JB
104082017-12-13 Joel Brobecker <brobecker@adacore.com>
10409
10410 * gdb.base/server-del-break.c: New file.
10411 * gdb.base/server-del-break.exp: New file.
10412
fe49c6f5
SH
104132017-12-12 Stafford Horne <shorne@gmail.com>
10414
10415 * gdb.xml/tdesc-regs.exp: Add or1k support.
10416
c3d18620
SH
104172017-12-12 Stafford Horne <shorne@gmail.com>
10418
10419 * gdb.base/bp-permanent.c: Define nop of or1k.
10420
c5f9cfc8
JB
104212017-12-11 Joel Brobecker <brobecker@adacore.com>
10422
10423 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10424 output with components being reordered.
10425
a9c135fc
JB
104262017-12-11 Joel Brobecker <brobecker@adacore.com>
10427
10428 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10429 output with components being reordered.
10430
927aa2e7
JK
104312017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10432 Pedro Alves <palves@redhat.com>
10433
10434 * gdb.base/maint.exp (check for .gdb_index): Check also for
10435 .debug_names.
10436 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10437 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10438 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10439 (.gdb_index used after symbol reloading): Support also .debug_names.
10440 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10441
f17d9474
YQ
104422017-12-08 Yao Qi <yao.qi@linaro.org>
10443
10444 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10445 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10446
a0de8c21
YQ
104472017-12-08 Yao Qi <yao.qi@linaro.org>
10448
10449 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10450 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10451
a738ea1d
YQ
104522017-12-08 Yao Qi <yao.qi@linaro.org>
10453
10454 * gdb.arch/aarch64-tagged-pointer.c: New file.
10455 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10456
1cd9a73b
SDJ
104572017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10458
10459 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10460 "int".
10461
fa6eb693
KS
104622017-12-07 Keith Seitz <keiths@redhat.com>
10463
10464 PR breakpoints/22569
10465 * gdb.linespec/ls-errs.exp: Change expected result of "break
10466 -source this file has spaces.c -line 3".
10467 Check that an explicit source file followed by whitespace is
10468 identified as an invalid explicit location.
10469
883fd55a
KS
104702017-12-07 Keith Seitz <keiths@redhat.com>
10471
10472 * gdb.cp/nested-types.cc: New file.
10473 * gdb.cp/nested-types.exp: New file.
10474 * lib/cp-support.exp: Load data-structures.exp library.
10475 (debug_cp_test_ptype_class): New global.
10476 (cp_ptype_class_verbose, next_line): New procedures.
10477 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10478 Add and document new return value.
10479 Switch the list of lines to a queue.
10480 Add support for new `type' key for nested type definitions.
10481 Add debugging/troubleshooting messages.
10482 * lib/data-structures.exp: New file.
10483
ec72db3e
SM
104842017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10485
10486 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10487 with proc_with_prefix, don't use with_test_prefix.
10488
99598d71
TT
104892017-12-07 Tom Tromey <tom@tromey.com>
10490
10491 * gdb.base/break.exp: Add test for empty "commands".
10492
a8806230
YQ
104932017-12-07 Yao Qi <yao.qi@linaro.org>
10494
10495 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10496 malloc and catch syscall.
10497
824cc835
PM
104982017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10499
e79be6e5 10500 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10501 tests for explicit locations.
10502
7cc244de
PA
105032017-12-06 Pedro Alves <palves@redhat.com>
10504
10505 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10506 force-disabling XML descriptions.
10507
50a1fdd5
PA
105082017-12-04 Pedro Alves <palves@redhat.com>
10509
10510 PR gdb/22499
10511 * gdb.arch/amd64-disp-step-avx.S: New file.
10512 * gdb.arch/amd64-disp-step-avx.exp: New file.
10513
f0fb2488
PA
105142017-12-03 Pedro Alves <palves@redhat.com>
10515
10516 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10517 and <string.h>.
10518 (parent_function): Print distinct messages when waitpid fails, or
10519 the child exits with a signal, or the child exits for an unhandled
10520 reason.
10521 * gdb.threads/process-dies-while-detaching.exp
10522 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10523 it. Wait for both inferior output and GDB's prompt. Use an
10524 indirect spawn id list.
10525 (do_detach): New parameter 'child_exit'. Use it to compute
10526 expected inferior output.
10527 (test_detach, test_detach_watch, test_detach_killed_outside):
10528 Adjust to pass down the expected child exit kind.
10529
97cbe998
SDJ
105302017-12-01 Joel Brobecker <brobecker@adacore.com>
10531 Sergio Durigan Junior <sergiodj@redhat.com>
10532 Pedro Alves <palves@redhat.com>
10533
10534 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10535
40fc416f
SDJ
105362017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10537
10538 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10539 to 'symbol-file' and 'add-symbol-file' can be
10540 position-independent.
10541
1cc75e92
YQ
105422017-12-01 Yao Qi <yao.qi@linaro.org>
10543
10544 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10545 the URL in copyright header.
10546 * gdb.arch/aarch64-fp.exp: Likewise.
10547 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10548 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10549 * gdb.base/expand-psymtabs.exp: Likewise.
10550 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10551 * gdb.fortran/common-block.exp: Likewise.
10552 * gdb.fortran/common-block.f90: Likewise.
10553 * gdb.fortran/logical.exp: Likewise.
10554 * gdb.fortran/vla-datatypes.f90: Likewise.
10555 * gdb.fortran/vla-sub.f90: Likewise.
10556
875fb7a7
JB
105572017-11-30 Joel Brobecker <brobecker@adacore.com>
10558
10559 * gdb.ada/repeat_dyn: New testcase.
10560
6f14765f
UW
105612017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10562
10563 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10564 Update for changed thread numbering.
10565 * gdb.cell/bt.exp: Update for changed GDB output.
10566
f1af7b94
SM
105672017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10568
10569 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10570 setting isremote by hand.
10571 * boards/dwarf4-gdb-index.exp: Likewise.
10572 * boards/fission.exp: Likewise.
10573 * boards/stabs.exp: Likewise.
10574
e3919f3e
PA
105752017-11-30 Pedro Alves <palves@redhat.com>
10576
10577 * gdb.linespec/cpls-ops.exp
10578 (check_explicit_skips_function_argument): Extract the underlying
10579 type of size_t instead of hardcoding it.
10580
bd69330d
PA
105812017-11-29 Pedro Alves <palves@redhat.com>
10582
10583 PR c++/19436
10584 * gdb.linespec/cpls-abi-tag.cc: New file.
10585 * gdb.linespec/cpls-abi-tag.exp: New file.
10586
a20714ff
PA
105872017-11-29 Pedro Alves <palves@redhat.com>
10588
10589 * gdb.base/langs.exp: Use -qualified.
10590 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10591 it.
10592 * gdb.cp/namespace.exp: Use -qualified.
10593 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10594 (overload-3, template-overload, template-ret-type, const-overload)
10595 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10596 procedures.
10597 (test_driver): Call them.
10598 * gdb.cp/save-bp-qualified.cc: New.
10599 * gdb.cp/save-bp-qualified.exp: New.
10600 * gdb.linespec/explicit.exp: Test -qualified.
10601 * lib/completion-support.exp (completion::explicit_opts_list): Add
10602 "-qualified".
10603 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10604
f6f1d339
PM
106052017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10606
10607 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10608
02ca603a
TT
106092017-11-29 Tom Tromey <tom@tromey.com>
10610
10611 * gdb.base/relocate.exp: Update invalid argument test.
10612 Add new tests for invalid arguments.
10613
ed6c0bfb
TP
106142017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10615
10616 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10617 Return 0 as a long.
10618 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10619
f106e10e
TP
106202017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10621
10622 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10623 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10624 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10625 func ().
10626 * gdb.cp/shadow.cc (B.func): Return 0.
10627
10329bb2
JB
106282017-11-27 Joel Brobecker <brobecker@adacore.com>
10629
10630 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10631 expected output in gdb_expect call to allow the exception
10632 message to be present as well. Fix syntax confusion to avoid
10633 TCL thinking that exception_name is an array.
10634
617cd4bc
UW
106352017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10636
10637 * gdb.arch/spu-info.c: Include <unistd.h>.
10638 (do_signal_test): Fix broken calls to write.
10639 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10640 Fix checks for empty mailboxes. Update signal tests for corrected
10641 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10642 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10643 * gdb.cell/arch.exp: Use standard_output_file.
10644 * gdb.cell/break.exp: Likewise.
10645 * gdb.cell/bt.exp: Likewise.
10646 * gdb.cell/core.exp: Likewise.
10647 * gdb.cell/dwarfaddr.exp: Likewise.
10648 * gdb.cell/ea-cache.exp: Likewise.
10649 * gdb.cell/ea-standalone.exp: Likewise.
10650 * gdb.cell/f-regs.exp: Likewise.
10651 * gdb.cell/fork.exp: Likewise.
10652 * gdb.cell/gcore.exp: Likewise.
10653 * gdb.cell/mem-access.exp: Likewise.
10654 * gdb.cell/ptype.exp: Likewise.
10655 * gdb.cell/registers.exp: Likewise.
10656 * gdb.cell/sizeof.exp: Likewise.
10657 * gdb.cell/solib-symbol.exp: Likewise.
10658 * gdb.cell/solib.exp: Likewise.
617cd4bc 10659
a81aaca0
PA
106602017-11-25 Pedro Alves <palves@redhat.com>
10661
10662 * gdb.base/complete-empty.exp: New file.
10663 * gdb.base/completion.exp: Adjust.
10664
6a3c6ee4
PA
106652017-11-25 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.linespec/cpls-ops.cc: New file.
10668 * gdb.linespec/cpls-ops.exp: New file.
10669 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10670 factored out from ...
10671 (test_complete_prefix_range): ... this.
10672
8955eb2d
PA
106732017-11-24 Pedro Alves <palves@redhat.com>
10674
10675 * gdb.linespec/cpcompletion.exp: New file.
10676 * gdb.linespec/cpls-hyphen.cc: New file.
10677 * gdb.linespec/cpls.cc: New file.
10678 * gdb.linespec/cpls2.cc: New file.
10679 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10680 test to use test_gdb_complete_unique. Add label completion,
10681 keyword completion and explicit location completion tests.
10682 * lib/completion-support.exp: New file.
10683
e547c119
JB
106842017-11-24 Joel Brobecker <brobecker@adacore.com>
10685
10686 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10687 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10688 when hitting an exception catchpoint.
10689
7c3c1aa8
YQ
106902017-11-22 Yao Qi <yao.qi@linaro.org>
10691
10692 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10693
41bd68f5
SM
106942017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10695
10696 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10697 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10698 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10699
1daad298
YQ
107002017-11-22 Yao Qi <yao.qi@linaro.org>
10701
10702 * gdb.base/info-os.exp: Pass pthreads.
10703 * gdb.multi/multi-attach.exp: Likewise.
10704
88465e87
YQ
107052017-11-22 Yao Qi <yao.qi@linaro.org>
10706
10707 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10708 compiler.
10709
dc196b23
YQ
107102017-11-22 Yao Qi <yao.qi@linaro.org>
10711
10712 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10713 * gdb.base/break-interp.exp: Likewise.
10714 * gdb.base/jit-attach-pie.exp: Likewise.
10715
2400729e
UW
107162017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10717
10718 * gdb.base/float128.c (large128): New variable.
10719 * gdb.base/float128.exp: Add test to print largest __float128 value.
10720
7a26362d
UW
107212017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10722
10723 * gdb.arch/vsx-regs.exp: Update register content checks.
10724
ed0f4273
UW
107252017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10726
10727 * gdb.arch/ppc-longdouble.exp: New file.
10728 * gdb.arch/ppc-longdouble.c: Likewise.
10729
a25d69c6
PA
107302017-11-21 Pedro Alves <palves@redhat.com>
10731
10732 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10733
73fcf641
PA
107342017-11-20 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10737 (long_double_typedef): New typedefs.
10738 Use DEF on double and long double.
10739 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10740 cases.
10741 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10742 and 'long_double_ptr_same_size' locals. Use them to decide
10743 whether cast from array/function to float is valid/invalid.
10744
71a3c369
TT
107452017-11-17 Tom Tromey <tom@tromey.com>
10746
10747 * gdb.rust/traits.rs: New file.
10748 * gdb.rust/traits.exp: New file.
10749
ced9779b
JB
107502017-11-17 Joel Brobecker <brobecker@adacore.com>
10751
10752 * gdb.ada/minsyms: New testcase.
10753
a0922d80
PA
107542017-11-16 Pedro Alves <palves@redhat.com>
10755
10756 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10757 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10758
ea04e54c
PA
107592017-11-16 Pedro Alves <palves@redhat.com>
10760
10761 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10762 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10763
e849ea89
PA
107642017-11-16 Pedro Alves <palves@redhat.com>
10765
10766 * gdb.server/reconnect-ctrl-c.c: New file.
10767 * gdb.server/reconnect-ctrl-c.exp: New file.
10768
d8ae99a7
PM
107692017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10770
10771 * gdb.python/py-rbreak.exp: New file.
10772 * gdb.python/py-rbreak.c: New file.
10773 * gdb.python/py-rbreak-func2.c: New file.
10774
968a13f8
PA
107752017-11-16 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10778 pattern.
10779 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10780 GDB.
10781
71774bc9
SM
107822017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10783
10784 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10785 regex.
10786
ddbb44cf
SM
107872017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10788
10789 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10790 test names.
10791
584a564f
PA
107922017-11-09 Pedro Alves <palves@redhat.com>
10793
10794 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10795 factored out from ...
10796 (top level): ... here, and adjusted to avoid expecting beyond the
10797 prompt in a single gdb_test_multiple.
10798
5ed7a928
PA
107992017-11-09 Pedro Alves <palves@redhat.com>
10800
10801 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10802 output.
10803 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10804 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10805 * gdb.server/ext-run.exp ("kill" test): Likewise.
10806 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10807
a60e0738
PA
108082017-11-09 Pedro Alves <palves@redhat.com>
10809
10810 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10811 match till end of line.
10812
2c88253f
PA
108132017-11-09 Pedro Alves <palves@redhat.com>
10814
10815 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10816
c7a38517
PA
108172017-11-09 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10820 New procedures, factored out from ...
10821 (top level): ... here, and adjusted to avoid expecting beyond the
10822 prompt in one go.
10823
f29f4b6b
PA
108242017-11-09 Pedro Alves <palves@redhat.com>
10825
10826 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10827 output. Fix '?' match.
10828
286acbb5
JB
108292017-11-08 Joel Brobecker <brobecker@adacore.com>
10830
10831 * gdb.ada/scoped_watch: New testcase.
10832 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10833 which is actually correct.
10834 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10835 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10836
62d7ae92
PA
108372017-11-08 Pedro Alves <palves@redhat.com>
10838
10839 * gdb.gdb/complaints.exp (test_initial_complaints)
10840 (test_serial_complaints, test_short_complaints): Call
10841 complaint_internal instead of complaint.
10842
280ca31f
DT
108432017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10844
10845 * gdb.threads/tls-core.c: New file.
10846 * gdb.threads/tls-core.exp: Likewise.
10847
b5ec771e
PA
108482017-11-08 Pedro Alves <palves@redhat.com>
10849
10850 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10851 (p Exported_Capitalized): New test.
10852 (p exported_capitalized): New test.
10853
a02b41a7
PA
108542017-11-07 Pedro Alves <palves@redhat.com>
10855
10856 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10857
95e95a6d
PA
108582017-11-07 Pedro Alves <palves@redhat.com>
10859
10860 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10861 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10862 (disable_invalid, disable_inverted, disable_negative): New
10863 procedures.
10864 ("bad numbers"): New set of tests.
10865
cee62dbd
PA
108662017-11-07 Pedro Alves <palves@redhat.com>
10867
10868 * gdb.cp/ena-dis-br-range.exp: Add tests.
10869
cc638e86
PA
108702017-11-07 Pedro Alves <palves@redhat.com>
10871
10872 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10873
d0fe4701
XR
108742017-11-07 Xavier Roirand <roirand@adacore.com>
10875 Pedro Alves <palves@redhat.com>
10876
10877 * gdb.base/ena-dis-br.exp: Add reference to
10878 gdb.cp/ena-dis-br-range.exp.
10879 * gdb.cp/ena-dis-br-range.exp: New file.
10880 * gdb.cp/ena-dis-br-range.cc: New file.
10881
46f67f80
PA
108822017-11-06 Pedro Alves <palves@redhat.com>
10883
10884 * gdb.base/attach-non-pgrp-leader.c: New.
10885 * gdb.base/attach-non-pgrp-leader.exp: New.
10886
726e1356
PA
108872017-11-06 Pedro Alves <palves@redhat.com>
10888
10889 * configure.ac: No longer check for termio.h and sgtty.h.
10890 * configure: Regenerate.
10891 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10892 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10893 Remove termio and sgtty code.
10894
50ab6ace
YQ
108952017-11-03 Yao Qi <yao.qi@linaro.org>
10896
10897 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10898 in GDB is disabled.
10899
8e68731c
YQ
109002017-11-03 Yao Qi <yao.qi@linaro.org>
10901
10902 * gdb.python/py-thrhandle.exp: Skip it if python is not
10903 enabled.
10904
3a87ae65
SM
109052017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10906
10907 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10908 as a breakpoint command.
10909
484d8d36
MD
109102017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10911
10912 PR python/21213
10913 * gdb.python/py-infthread.exp: Test calling
10914 InferiorThread.inferior () multiple times in a row.
10915
4a27f119
KS
109162017-10-27 Keith Seitz <keiths@redhat.com>
10917
10918 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10919 Test "info break" for every inlined function breakpoint.
10920
bb11dd58
YQ
109212017-10-27 Yao Qi <yao.qi@linaro.org>
10922
10923 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10924
a43f3893
PF
109252017-10-26 Patrick Frants <osscontribute@gmail.com>
10926
10927 * gdb.cp/classes.exp (test_static_members): Test printing
10928 Outer::instance.
10929 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10930 (Inner::instance, Outer::instance): New.
10931
792ccf00
PA
109322017-10-24 Pedro Alves <palves@redhat.com>
10933
10934 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10935 extra console" test in two stages.
10936
eb2bfbad
PA
109372017-10-24 Pedro Alves <palves@redhat.com>
10938
10939 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10940
1f75a651
PA
109412017-10-24 Pedro Alves <palves@redhat.com>
10942
10943 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10944 loop.
10945
779990d9
PA
109462017-10-24 Pedro Alves <palves@redhat.com>
10947
10948 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10949 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10950
ad9b8f5d
PA
109512017-10-24 Pedro Alves <palves@redhat.com>
10952
10953 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10954 parameter and handle it. Don't output read value in test name.
10955
fee6da6e
PA
109562017-10-24 Pedro Alves <palves@redhat.com>
10957
10958 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10959 custom test name.
10960
10389c2c
PA
109612017-10-24 Pedro Alves <palves@redhat.com>
10962
10963 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10964 include the unstable output directory name in the test's name.
10965 (initial_setup_simple) <'set args'>: Use custom test name.
10966
a80e65a9
PA
109672017-10-24 Pedro Alves <palves@redhat.com>
10968
10969 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10970 with explicit test name.
10971
15763a09
PA
109722017-10-20 Pedro Alves <palves@redhat.com>
10973
10974 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10975 'wait -i'. Use gdb_assert and remote_close.
10976
49a4ce2e
AB
109772017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10978
10979 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10980 number from variable rather than hard-coded.
10981
a75868f5
PA
109822017-10-19 Pedro Alves <palves@redhat.com>
10983
10984 * gdb.base/long-inferior-output.c: New file.
10985 * gdb.base/long-inferior-output.exp: New file.
10986
c8ba13ad
KS
109872017-11-18 Keith Seitz <keiths@redhat.com>
10988
10989 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10990 method.
10991 (main): Call it.
10992 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10993 Add additional user-defined conversion operator tests.
10994
b27de576
PA
109952017-10-17 Pedro Alves <palves@redhat.com>
10996
10997 * boards/native-stdio-gdbserver.exp: Load "local-board".
10998
8484c955
PA
109992017-10-17 Pedro Alves <palves@redhat.com>
11000
11001 * gdb.base/quit-live.c: New file.
11002 * gdb.base/quit-live.exp: New file.
11003
83d5a34d
KS
110042017-10-16 Keith Seitz <keiths@redhat.com>
11005
11006 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11007 (class_with_protected_typedef, class_with_private_typedef)
11008 (struct_with_public_typedef, struct_with_protected_typedef)
11009 (struct_with_private_typedef): New classes/structs.
11010 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11011 typedefs and access specifiers.
11012
739b3f1d
PA
110132017-10-16 Pedro Alves <palves@redhat.com>
11014 Simon Marchi <simon.marchi@polymtl.ca>
11015
11016 * README (Local vs Remote vs Native): New section.
11017 * boards/local-board.exp: New file, with bits factored out from
11018 ...
11019 * boards/native-extended-gdbserver.exp: ... here. Load
11020 "local-board".
11021 * boards/native-gdbserver.exp: Load "local-board".
11022 (${board}_spawn, ${board}_exec): Delete.
11023 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11024 ...
11025 * boards/stdio-gdbserver-base.exp: ... this new file.
11026 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11027 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11028 procedure.
11029 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11030 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11031 stdio_gdbserver_command.
11032 (${board}_get_remote_address, ${board}_get_comm_port)
11033 (${board}_download, ${board}_upload): Delete.
11034 (get_target_remote_pipe_cmd): New.
11035
fe68b953
SM
110362017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11037
11038 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11039 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11040 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11041 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11042 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11043 remove with_test_prefix.
11044
300b6685
PA
110452017-10-13 Pedro Alves <palves@redhat.com>
11046
11047 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11048 * gdb.base/annota1.exp: Use it instead of is_remote.
11049 * gdb.base/annota3.exp: Use it instead of is_remote.
11050 * gdb.cp/annota2.exp: Use it instead of is_remote.
11051 * gdb.cp/annota3.exp: Use it instead of is_remote.
11052 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11053
50500caf
PA
110542017-10-13 Pedro Alves <palves@redhat.com>
11055
11056 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11057 (test_num_test_vars, run_and_count_vars, find_env)
11058 (test_set_unset_env, test_inherit_env_var): New procedures.
11059 (top level): Use them.
11060
dad0c6d2
PA
110612017-10-13 Pedro Alves <palves@redhat.com>
11062
11063 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11064 also skip on stub-like targets.
11065
8b0553c1
PA
110662017-10-13 Pedro Alves <palves@redhat.com>
11067
11068 PR gdb/22293
11069 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11070 (top level): Move some tests to ...
11071 (test_not_found): ... this new procedure.
11072 (top level): Call it.
11073
7594f623
PA
110742017-10-13 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11077 expect different "info terminal" output if testing with a
11078 non-native target.
11079
ebe3b402
PA
110802017-10-13 Pedro Alves <palves@redhat.com>
11081 Simon Marchi <simon.marchi@polymtl.ca>
11082
11083 PR python/12966
11084 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11085
42f1b161
PA
110862017-10-13 Pedro Alves <palves@redhat.com>
11087
11088 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11089 already.
11090
8d6ef72b
PA
110912017-10-13 Pedro Alves <palves@redhat.com>
11092
11093 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11094 is_remote.
11095
d7bcd5b8
PA
110962017-10-13 Pedro Alves <palves@redhat.com>
11097
11098 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11099 is_remote.
11100
df479dc6
PA
111012017-10-13 Pedro Alves <palves@redhat.com>
11102
11103 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11104 is set.
11105 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11106 instead of is_remote.
11107
23fb630a
PA
111082017-10-13 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11111 (top level): Add comment.
11112
cc77b1dc
PA
111132017-10-13 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.base/remote.exp (top level): Fix comment typo and add
11116 missing return.
11117
27c9e813
PA
111182017-10-13 Pedro Alves <palves@redhat.com>
11119 Simon Marchi <simon.marchi@polymtl.ca>
11120
11121 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11122 calls and add comments. Skip test if use_gdb_stub is set.
11123 (top level): Use "set cwd" command instead of "cd" command.
11124
5e830d98
PA
111252017-10-13 Pedro Alves <palves@redhat.com>
11126
11127 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11128 is_remote target check.
11129
f5ca0032
PA
111302017-10-13 Pedro Alves <palves@redhat.com>
11131
11132 * gdb.base/scope.exp: Use build_executable + clean_restart +
11133 gdb_file_cmd instead of prepare_for_testing and no longer skip
11134 "before run" tests on is_remote target boards. Update comments.
11135 * boards/native-extended-gdbserver.exp
11136 (extended_gdbserver_load_last_file): New, factored out from ...
11137 (gdb_load): ... this. Move further below and add comment.
11138 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11139
8aed1c0d
PA
111402017-10-12 Pedro Alves <palves@redhat.com>
11141
11142 * gdb.base/attach.exp: Remove references to gdb64.
11143 * gdb.base/dbx.exp: Remove references to gdb64.
11144
cfa34c87
SM
111452017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11146 Pedro Alves <palves@redhat.com>
11147
11148 * gdb.base/label.exp: Remove is_remote target check.
11149
9192b7de
PA
111502017-10-12 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.base/auvx.exp (coredir): Update comment.
11153 (top level) <core_works>: Use "set cwd" command instead of "cd"
11154 command.
11155
6bf0052d
PA
111562017-10-12 Pedro Alves <palves@redhat.com>
11157 Simon Marchi <simon.marchi@polymtl.ca>
11158
11159 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11160 target boards.
11161
e48ef82d
PA
111622017-10-12 Pedro Alves <palves@redhat.com>
11163 Simon Marchi <simon.marchi@polymtl.ca>
11164
11165 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11166 Instead skip if there's any gdb_protocol set.
11167
8d7aea57
SM
111682017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11169 Pedro Alves <palves@redhat.com>
11170
11171 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11172
30440677
PA
111732017-10-12 Pedro Alves <palves@redhat.com>
11174 Simon Marchi <simon.marchi@polymtl.ca>
11175
11176 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11177 instead of on dejagnu remote boards.
11178
4e04f045 111792017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11180 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11181
11182 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11183 checks. Use build_executable + clean_restart instead of
11184 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11185 of enabling non-stop after starting gdb.
11186
871a186e
PA
111872017-10-12 Pedro Alves <palves@redhat.com>
11188
11189 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11190 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11191 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11192 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11193
56d704da
AK
111942017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11195
11196 * gdb.arch/arc-tdesc-cpu.exp: New file.
11197 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11198
2f20e312
SM
111992017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11200
11201 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11202
65630365
PA
112032017-10-10 Pedro Alves <palves@redhat.com>
11204
11205 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11206 expect CLI output.
11207
bf469271
PA
112082017-10-10 Pedro Alves <palves@redhat.com>
11209
11210 * lib/selftest-support.exp (selftest_setup): Update for
11211 captured_command_loop's prototype change.
11212
777a42f1
PA
112132017-10-09 Pedro Alves <palves@redhat.com>
11214
11215 Test both arch1=>arch2 and arch2=>arch1.
11216
11217 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11218 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11219 factored out to...
11220 (append_arch1_options, append_arch2_options, append_arch_options)
11221 (build_executables): New procedures.
11222 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11223 local.
11224 (top level): Add new 'first_arch' testing axis.
11225
cbd2b4e3
PA
112262017-10-09 Pedro Alves <palves@redhat.com>
11227
11228 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11229 (barrier): New.
11230 (thread_start, all_started): New functions.
11231 (main): Spawn new thread and wait until it is scheduled.
11232 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11233 option.
11234 (do_test): Add 'selected_thread' parameter. Run to all_started
11235 instead of main. Explicitly set the breakpoint at main. Switch
11236 to the SELECTED_THREAD thread.
11237 (top level): Test handling the exec event with either the main
11238 thread or the second thread selected.
11239
5c9e4427
PA
112402017-10-09 Pedro Alves <palves@redhat.com>
11241
11242 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11243 logic. Move STOP marker after the value checks.
11244 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11245 regexp.
11246
b3b7c423
SL
112472017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11248
11249 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11250
3b4b2f16
UW
112512017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11252
11253 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11254 integer-to-dfp conversion.
11255 * gdb.base/dfp-test.exp: Likewise.
11256
5cd63fda
PA
112572017-10-04 Pedro Alves <palves@redhat.com>
11258
11259 * gdb.multi/hangout.c: Include <unistd.h>.
11260 (hangout_loop): New function.
11261 (main): Call alarm. Call hangout_loop in a loop.
11262 * gdb.multi/hello.c: Include <unistd.h>.
11263 (hello_loop): New function.
11264 (main): Call alarm. Call hangout_loop in a loop.
11265 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11266 inferior with the other selected.
11267
4c71c105
SM
112682017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11269
11270 * gdb.mi/list-thread-groups-available.exp: New file.
11271 * gdb.mi/list-thread-groups-available.c: New file.
11272
bc3b087d
SDJ
112732017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11274
11275 * gdb.base/set-cwd.exp: Make it available on
11276 native-extended-gdbserver.
11277
d092c5a2
SDJ
112782017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11279
11280 * gdb.base/set-cwd.c: New file.
11281 * gdb.base/set-cwd.exp: Likewise.
11282
45320ffa
TT
112832017-10-02 Tom Tromey <tom@tromey.com>
11284
11285 PR rust/22236:
11286 * gdb.rust/simple.rs (main): New variable "fslice".
11287 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11288
b3e3859b
TT
112892017-10-02 Tom Tromey <tom@tromey.com>
11290
11291 * gdb.rust/simple.exp: Test ptype of a slice.
11292
01af5e0d
TT
112932017-10-02 Tom Tromey <tom@tromey.com>
11294
11295 * gdb.rust/simple.exp: Test index of slice.
11296
a9bbfbd8
TT
112972017-09-27 Tom Tromey <tom@tromey.com>
11298
11299 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11300
df8899e5
TP
113012017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11302 Pedro Alves <palves@redhat.com>
11303
11304 * gdb.base/compare-sections.exp (get value of read-only section): Read
11305 as unsigned value.
11306 (corrupt read-only section): Likewise and don't set written if patching
11307 failed.
11308
757bf54b
KB
113092017-09-21 Kevin Buettner <kevinb@redhat.com>
11310
11311 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11312 files.
11313
06871ae8
PA
113142017-09-20 Pedro Alves <palves@redhat.com>
11315
11316 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11317 symbol names in gdb's output.
11318 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11319
e5f25bc5
PA
113202017-09-20 Pedro Alves <palves@redhat.com>
11321
11322 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11323 Rename to ...
11324 (test_list_ambiguous_symbol): ... this and add a symbol name
11325 parameter. Adjust.
11326 (test_list_ambiguous_function): Reimplement on top of
11327 test_list_ambiguous_symbol and also test listing ambiguous
11328 variables.
11329 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11330 (ambiguous_fun): ... this.
11331 (ambiguous_var): New.
11332 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11333 (ambiguous_fun): ... this.
11334 (ambiguous_var): New.
11335
4e5a4f58
JB
113362017-09-19 John Baldwin <jhb@FreeBSD.org>
11337
11338 * gdb.base/starti.c: New file.
11339 * gdb.base/starti.exp: New file.
11340 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11341
26e53f3e
PA
113422017-09-14 Pedro Alves <palves@redhat.com>
11343
11344 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11345 (top level): Use it instead of runto.
11346
cb791d59
TT
113472017-09-11 Tom Tromey <tom@tromey.com>
11348
11349 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11350
7c96f8c1
TT
113512017-09-11 Tom Tromey <tom@tromey.com>
11352
11353 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11354 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11355
469412dd
CW
113562017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11357
11358 * gdb.fortran/printing-types.exp: New file.
11359 * gdb.fortran/printing-types.exp: New file.
11360
e0f86435
BH
113612017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11362
11363 * gdb.fortran/vla-ptype.exp: Fix typos.
11364 * gdb.fortran/vla-value.exp: Same.
11365
9e9af4be
BH
113662017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11367
11368 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11369 * gdb.mi/mi-var-child-f.exp: Likewise.
11370 * gdb.mi/mi-vla-fortran.exp: Likewise.
11371
a5ad232b 113722017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11373 Christoph Weinmann <christoph.t.weinmann@intel.com>
11374 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11375
11376 * gdb.fortran/ptr-indentation.f90: New file.
11377 * gdb.fortran/ptr-indentation.exp: New file.
11378
5aec60eb
TT
113792017-09-05 Tom Tromey <tom@tromey.com>
11380
11381 PR gdb/22010:
11382 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11383
8f8f8152
TP
113842017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11385
11386 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11387
fbd1b771
JK
113882017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11389
11390 * gdb.threads/tls-nodebug-pie.c: New file.
11391 * gdb.threads/tls-nodebug-pie.exp: New file.
11392
5eb5f850
TT
113932017-09-05 Tom Tromey <tom@tromey.com>
11394
11395 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11396 for rust.
11397
ae780a21
SM
113982017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11399
11400 * gdb.multi/multi-arch-exec.exp: Test with different
11401 "follow-exec-mode" settings.
11402 (do_test): New procedure.
11403
3693fdb3
PA
114042017-09-04 Pedro Alves <palves@redhat.com>
11405
11406 * gdb.base/func-static.c (S::method const, S::method volatile)
11407 (S::method volatile const): New methods.
11408 (c_s, v_s, cv_s): New instances.
11409 (main): Call method() on them.
11410 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11411 (cannot_resolve): New procedure.
11412 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11413 print-quote-unquoted columns.
11414 (do_test): Test printing each scope too.
11415
e68cb8e0
PA
114162017-09-04 Pedro Alves <palves@redhat.com>
11417
11418 * gdb.base/local-static.exp: Also test with
11419 class::method::variable wholly quoted.
11420 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11421
858be34c
PA
114222017-09-04 Pedro Alves <palves@redhat.com>
11423
11424 * gdb.base/local-static.c: New.
11425 * gdb.base/local-static.cc: New.
11426 * gdb.base/local-static.exp: New.
11427
46a4882b
PA
114282017-09-04 Pedro Alves <palves@redhat.com>
11429
11430 * gdb.asm/asm-source.exp: Add casts to int.
11431 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11432 (dataglobal64_1, dataglobal64_2): New globals.
11433 * gdb.base/nodebug.exp: Test different expressions involving the
11434 new globals, with print, whatis and ptype. Add casts to int.
11435 * gdb.base/solib-display.exp: Add casts to int.
11436 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11437 * gdb.cp/m-static.exp: Add cast to int.
11438 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11439 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11440 tls variable with no debug info without a cast. Test with a cast
11441 to int too.
11442 * gdb.trace/entry-values.exp: Add casts.
11443
2c5a2be1
PA
114442017-09-04 Pedro Alves <palves@redhat.com>
11445
11446 * gdb.base/nodebug.exp: Test that ptype's error about functions
11447 with unknown return type includes the function name too.
11448
7022349d
PA
114492017-09-04 Pedro Alves <palves@redhat.com>
11450
11451 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11452 return type of munmap in infcall.
11453 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11454 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11455 type of ftell in infcall.
11456 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11457 type of getpid in infcall.
11458 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11459 infcall.
11460 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11461 Bail on failure to extract the pid.
11462 * gdb.base/nodebug.c: #include <stdint.h>.
11463 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11464 New functions.
11465 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11466 Change expected output of print/whatis/ptype with functions with
11467 no debug info. Test all supported languages. Call
11468 test_call_promotion.
11469 * gdb.compile/compile.exp: Adjust expected output to expect
11470 warning.
11471 * gdb.threads/siginfo-threads.exp: Likewise.
11472
54990598
PA
114732017-09-04 Pedro Alves <palves@redhat.com>
11474
11475 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11476 "prototypes". Test calling float functions via prototyped and
11477 unprototyped function pointers.
11478 (perform_all_tests): New parameter "prototypes". Pass it down.
11479 (top level): Pass down "prototypes" parameter to
11480 perform_all_tests.
11481
34d16ea2
SM
114822017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11483
11484 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11485 Test with nested loops.
11486
9521ecda
SM
114872017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11488
11489 * gdb.base/commands.exp: Call the new procedures.
11490 (loop_break_test, loop_continue_test): New procedures.
11491
80a65e9b
SM
114922017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11493
11494 * gdb.base/commands.exp: Call new procedure.
11495 (define_if_without_arg_test): New procedure.
11496
e439fa14
PA
114972017-09-04 Pedro Alves <palves@redhat.com>
11498
11499 * gdb.base/list-ambiguous.exp: New file.
11500 * gdb.base/list-ambiguous0.c: New file.
11501 * gdb.base/list-ambiguous1.c: New file.
11502 * gdb.base/list.exp (test_list_range): Adjust expected output.
11503
0a2dde4a
SDJ
115042017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11505
11506 * gdb.base/share-env-with-gdbserver.c: New file.
11507 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11508
5e89eb3a
SM
115092017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11510
11511 * gdb.base/commands.exp (gdbvar_simple_if_test,
11512 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11513 progvar_simple_if_test, progvar_simple_while_test,
11514 progvar_complex_if_while_test, user_defined_command_test,
11515 user_defined_command_args_eval,
11516 user_defined_command_args_stack_test,
11517 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11518 temporary_breakpoint_commands,
11519 gdb_test_no_prompt, redefine_hook_test,
11520 redefine_backtrace_test): Remove "global gdb_prompt".
11521
fd437cbc
SM
115222017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11523
11524 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11525 New proc, call it from toplevel.
11526
87215ad1
SDJ
115272017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11528
11529 PR remote/21852
11530 * gdb.server/normal.c: New file, copied from gdb.base.
11531 * gdb.server/run-without-local-binary.exp: New file.
11532
58afddc6
WP
115332017-08-07 Weimin Pan <weimin.pan@oracle.com>
11534
11535 * gdb.arch/sparc64-adi.exp: New file.
11536 * gdb.arch/sparc64-adi.c: New file.
11537
5277199a
PA
115382017-08-22 Pedro Alves <palves@redhat.com>
11539
11540 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11541 (top level): Add "list all overloads" tests.
11542
14278e1f
TT
115432017-08-22 Tom Tromey <tom@tromey.com>
11544
11545 * gdb.gdb/xfullpath.exp: Remove.
11546
bf223d3e
PA
115472017-08-21 Pedro Alves <palves@redhat.com>
11548
11549 PR gdb/19487
11550 * gdb.base/symbol-alias.c: New.
11551 * gdb.base/symbol-alias2.c: New.
11552 * gdb.base/symbol-alias.exp: New.
11553
c973d0aa
PA
115542017-08-21 Pedro Alves <palves@redhat.com>
11555
11556 * gdb.base/dfp-test.c
11557 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11558 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11559 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11560 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11561 * gdb.base/whatis-ptype-typedefs.c: New.
11562 * gdb.base/whatis-ptype-typedefs.exp: New.
11563 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11564 (an_int, an_int_type, an_int_type2): New globals.
11565 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11566 involving typedefs and cast expressions.
11567 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11568 (lookup_typedefs_function): New.
11569 (typedefs_pretty_printers_dict): New.
11570 (top level): Register lookup_typedefs_function in
11571 gdb.pretty_printers.
11572
6d580b63
YQ
115732017-08-18 Yao Qi <yao.qi@linaro.org>
11574
11575 * gdb.server/unittest.exp: New.
11576
206726fb
SDJ
115772017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11578
11579 PR gdb/21954
11580 * gdb.base/environ.exp: Add test to check if 'unset environment'
11581 works.
11582
bf0ec4c2
AA
115832017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11584
11585 * lib/gdb.exp (universal_compile_options): New caching proc.
11586 (gdb_compile): Suppress GCC's coloring of messages.
11587
d6382fff
TT
115882017-08-14 Tom Tromey <tom@tromey.com>
11589
11590 PR gdb/21675:
11591 * gdb.base/printcmds.exp (test_radices): New function.
11592 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11593 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11594 * lib/gdb.exp (get_integer_valueof): Use p/d.
11595
c2c2dd9f
SM
115962017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11597
11598 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11599 characters.
11600
fdffd6f4
TT
116012017-08-05 Tom Tromey <tom@tromey.com>
11602
11603 * gdb.rust/simple.exp: Allow String to appear in a different
11604 namespace.
11605
27d41eac
YQ
116062017-07-26 Yao Qi <yao.qi@linaro.org>
11607
11608 * gdb.gdb/unittest.exp: Invoke command
11609 "maintenance check xml-descriptions".
11610
031ed05d
AA
116112017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11612
11613 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11614 calling context.
11615 (hex128): Drop erroneous calculation of parameters.
11616
dcd27ddf
SM
116172017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11618
11619 * gdb.python/py-unwind.exp: Disable stack protection when
11620 building test file.
11621
47e77640
PA
116222017-07-20 Pedro Alves <palves@redhat.com>
11623
11624 * gdb.base/default.exp (set language): Adjust expected output.
11625
62d2a18a
PA
116262017-07-20 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11629 (test_minsym): ... this, and make static.
11630 (get_pck__foo__bar__minsym): Rename to ...
11631 (get_test_minsym): ... this.
11632 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11633 symbol names and comments.
11634 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11635 (get_test_minsym): ... this.
11636 (pck__foo__bar__minsym__2): Rename to ...
11637 (test_minsym): ... this.
11638 (main): Adjust.
11639
c45ec17c
PA
116402017-07-17 Pedro Alves <palves@redhat.com>
11641
11642 * gdb.base/completion.exp: Adjust expected output.
11643 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11644 the completer works.
11645
c6756f62
PA
116462017-07-17 Pedro Alves <palves@redhat.com>
11647
11648 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11649
5bd68487
AB
116502017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11651
11652 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11653
8880f2a9
TT
116542017-07-14 Tom Tromey <tom@tromey.com>
11655
11656 PR rust/21764:
11657 * gdb.rust/simple.exp: Add tests.
11658
65547233
TT
116592017-07-14 Tom Tromey <tom@tromey.com>
11660
11661 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11662
8f14146e
PA
116632017-07-14 Pedro Alves <palves@redhat.com>
11664
11665 * gdb.linespec/base/one/thefile.cc (z1): New function.
11666 * gdb.linespec/base/two/thefile.cc (z2): New function.
11667 * gdb.linespec/linespec.exp: Add tests.
11668
b4365d02
AB
116692017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11670
11671 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11672 to mi_create_breakpoint.
11673
5d2cbaa5
AB
116742017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11675
11676 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11677 mi_create_breakpoint.
11678
11cb5716
IB
116792017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11680
11681 * gdb.dlang/demangle.exp: Update for demangling changes.
11682
03278692
TT
116832017-07-09 Tom Tromey <tom@tromey.com>
11684
11685 * gdb.dwarf2/shortpiece.exp: New file.
11686
33c5cd75
DB
116872017-07-06 David Blaikie <dblaikie@gmail.com>
11688
11689 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11690 built from fissiont-multi-cu{1,2}.c.
11691 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11692 except putting 'main' and 'func' in separate CUs in the same DWO file.
11693 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11694 test.
11695 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11696 test.
11697
8455d262
PA
116982017-07-06 Pedro Alves <palves@redhat.com>
11699
11700 * gdb.python/py-unwind.exp: Test flushregs.
11701
dc4bde35
SDJ
117022017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11703
11704 PR cli/21688
11705 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11706 tests for alias commands and trailing whitespace.
11707
51ed89aa
SDJ
117082017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11709
11710 PR cli/21688
11711 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11712 procedure. Call it.
11713
eb17d413
PA
117142017-06-29 Pedro Alves <palves@redhat.com>
11715
11716 * gdb.base/printcmds.exp: Add tests.
11717
41664b45
DG
117182017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11719
11720 PR gdb/21337
11721 * gdb.base/reread-readsym.exp: New file.
11722 * gdb.base/reread-readsym.c: New file.
11723
75312ae3
KB
117242017-06-21 Kevin Buettner <kevinb@redhat.com>
11725
11726 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11727 subpattern.
11728
66953522
PB
117292017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11730
11731 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11732 extended mnemonic.
11733 * gdb.arch/powerpc-power9.s: Likewise.
11734
5524b525
AA
117352017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11736
11737 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11738 on 32-bit x86 targets. Exploit is_*_target macros where
11739 appropriate.
11740
03c8af18
AA
117412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11742
11743 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11744 register pieces.
11745
3bf31011
AA
117462017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11747
11748 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11749 located in one or more DWARF pieces.
11750
805acca0
AA
117512017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11752
11753 * lib/gdb.exp (get_endianness): New proc.
11754 * gdb.arch/aarch64-fp.exp: Use it.
11755 * gdb.arch/altivec-regs.exp: Likewise.
11756 * gdb.arch/e500-regs.exp: Likewise.
11757 * gdb.arch/vsx-regs.exp: Likewise.
11758 * gdb.base/dump.exp: Likewise.
11759 * gdb.base/funcargs.exp: Likewise.
11760 * gdb.base/gnu_vector.exp: Likewise.
11761 * gdb.dwarf2/formdata16.exp: Likewise.
11762 * gdb.dwarf2/implptrpiece.exp: Likewise.
11763 * gdb.dwarf2/nonvar-access.exp: Likewise.
11764 * gdb.python/py-inferior.exp: Likewise.
11765 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11766
e9352324
AA
117672017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11768
11769 PR gdb/21226
11770 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11771 stack value pieces are taken from the LSB end.
11772
d5d1163e
AA
117732017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11774
11775 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11776 variable at nonzero offset.
11777
0567c986
AA
117782017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11779
11780 * gdb.dwarf2/var-access.c: New file.
11781 * gdb.dwarf2/var-access.exp: New test.
11782 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11783
973e9aab
TT
117842017-06-12 Tom Tromey <tom@tromey.com>
11785
11786 * gdb.dwarf2/formdata16.exp: Add tests.
11787
d9109c80
TT
117882017-06-12 Tom Tromey <tom@tromey.com>
11789
11790 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11791
30a25466
TT
117922017-06-12 Tom Tromey <tom@tromey.com>
11793
11794 PR exp/16225:
11795 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11796 * gdb.arch/vsx-regs.exp: Update tests.
11797 * gdb.arch/s390-vregs.exp (hex128): New proc.
11798 Update test.
11799 * gdb.arch/altivec-regs.exp: Update tests.
11800
aefd8b33
SDJ
118012017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11802
11803 * gdb.base/startup-with-shell.c: New file.
11804 * gdb.base/startup-with-shell.exp: Likewise.
11805
2090129c
SDJ
118062017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11807
11808 * gdb.server/non-existing-program.exp: Update regex in order to
11809 reflect the fact that gdbserver is now using fork_inferior (with a
11810 shell) to startup the inferior.
11811
8e86a419
SM
118122017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11813
11814 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11815 support function calls from GDB.
11816
e6cf65f2
TT
118172017-05-21 Tom Tromey <tom@tromey.com>
11818
11819 PR rust/21466:
11820 * gdb.rust/unsized.exp: New file.
11821 * gdb.rust/unsized.rs: New file.
11822
43cc5389
TT
118232017-05-19 Tom Tromey <tom@tromey.com>
11824
11825 PR rust/21484:
11826 * gdb.rust/watch.exp: New file.
11827 * gdb.rust/watch.rs: New file.
11828
ec8df234
TT
118292017-05-18 Tom Tromey <tom@tromey.com>
11830
11831 * gdb.rust/simple.exp: Allow Box to be qualified.
11832
3e3e7fae
TP
118332017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11834
11835 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11836
59cc050d
PA
118372017-05-18 Pedro Alves <palves@redhat.com>
11838
11839 * gdb.base/fileio.c (test_write, test_read, test_close)
11840 (test_fstat): Don't print 'ret' in the fail path.
11841
c8f6abd1
PA
118422017-05-18 Pedro Alves <palves@redhat.com>
11843
11844 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11845 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11846 (test_system, test_rename, test_unlink, test_time): Change
11847 prototypes.
11848 * gdb.base/fileio.exp (stop_msg): Adjust.
11849
d2a03b77
PA
118502017-05-18 Pedro Alves <palves@redhat.com>
11851
11852 * gdb.base/fileio.c (null_str): New global.
11853 (test_stat): Use it.
11854 * gdb.base/fileio.exp: Remove nowarnings.
11855
0d5c6999
YQ
118562017-05-17 Yao Qi <yao.qi@linaro.org>
11857
11858 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11859
21873064
YQ
118602017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11861
11862 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11863 argument command.
11864 (top-level): Invoke test_set_inferior_tty.
11865
d512d31c
PA
118662017-05-04 Pedro Alves <palves@redhat.com>
11867
11868 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11869 Add parens to print call for Python 3.
11870
90cef2ed
KS
118712017-05-03 Keith Seitz <keiths@redhat.com>
11872
11873 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11874 (main): Call it.
11875
14f819c8
TW
118762017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11877
11878 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11879 to prev and next.
11880
913aeadd
TW
118812017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11882
11883 * gdb.python/py-record-btrace.exp: Remove test for
11884 gdb.BtraceInstruction.error.
11885
a3be24ad
TW
118862017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11887
11888 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11889
ae20e79a
TW
118902017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11891
11892 * gdb.python/py-record-btrace-threads.c: New file.
11893 * gdb.python/py-record-btrace-threads.exp: New file.
11894
45ce1b47
SDJ
118952017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11896
11897 PR testsuite/8595
11898 * gdb.base/environ.exp: Make test available in all architectures.
11899 Move bits related to "info program" testing to
11900 gdb.base/info-program.exp. Rewrite tests to use the two new
11901 procedures mentione below.
11902 (test_set_show_env_var) New procedure.
11903 (test_set_show_env_var_equal): Likewise.
11904 * gdb.base/info-program.exp: New file.
11905
e15c3eb4
KS
119062017-04-27 Keith Seitz <keiths@redhat.com>
11907
11908 * gdb.cp/oranking.cc (test15): New function.
11909 (main): Call test15 and declare additional variables for testing.
11910 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11911 "p foo101('abc')" tests.
11912 Add tests for cv qualifier overloads.
11913 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11914 "lvalue reference overload" test.
11915 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11916 "print value of f1 on Child&& in f2" test.
11917
3a3fd0fd
PA
119182017-04-19 Pedro Alves <palves@redhat.com>
11919
11920 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11921 procedure.
11922 (top level): Call it.
11923 * lib/gdb.exp (gdb_define_cmd): New procedure.
11924
53375380
PA
119252017-04-12 Pedro Alves <palves@redhat.com>
11926
11927 PR gdb/21323
11928 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11929 (wchar): New global.
11930 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11931 (do_test_wide_char, wide_char_types_no_program, top level): Add
11932 wchar_t testing.
11933
53e710ac
PA
119342017-04-12 Pedro Alves <palves@redhat.com>
11935
11936 PR c++/21323
11937 * gdb.cp/wide_char_types.c: New file.
11938 * gdb.cp/wide_char_types.exp: New file.
11939
0ad9d8c7
SDJ
119402017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11941
11942 PR gdb/21352
11943 * gdb.trace/tsv.exp: Add test for "tsave -r".
11944
b1b45502
IB
119452017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11946
11947 * gdb.dlang/watch-loc.c: New file.
11948 * gdb.dlang/watch-loc.exp: New file.
11949
ec13808e
JK
119502017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11951
11952 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11953
fe5f7374
AK
119542017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11955
11956 * gdb.arch/arc-analyze-prologue.S: New file.
11957 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11958
eea78757
AK
119592017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11960
11961 * gdb.arch/arc-decode-insn.S: New file.
11962 * gdb.arch/arc-decode-insn.exp: Likewise.
11963
5badf10a
IR
119642017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11965
11966 PR tdep/20928
11967 * gdb.arch/sparc64-regs.exp: New file.
11968 * gdb.arch/sparc64-regs.S: Likewise.
11969
cee59b3f
TW
119702017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11971
11972 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11973 and memory view on Python 3.
11974
c0f55cc6
AV
119752017-03-20 Artemiy Volkov <artemiyv@acm.org>
11976 Keith Seitz <keiths@redhat.com>
11977
11978 PR gdb/14441
11979 * gdb.cp/demangle.exp: Add rvalue reference tests.
11980 * gdb.cp/rvalue-ref-casts.cc: New file.
11981 * gdb.cp/rvalue-ref-casts.exp: New file.
11982 * gdb.cp/rvalue-ref-overload.cc: New file.
11983 * gdb.cp/rvalue-ref-overload.exp: New file.
11984 * gdb.cp/rvalue-ref-params.cc: New file.
11985 * gdb.cp/rvalue-ref-params.exp: New file.
11986 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11987 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11988 * gdb.cp/rvalue-ref-types.cc: New file.
11989 * gdb.cp/rvalue-ref-types.exp: New file.
11990 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11991 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11992
51457a05
MAL
119932017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11994
11995 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11996 New procedure.
11997
5b291c04
MAL
119982017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11999
12000 * lib/mi-support.exp (mi_gdb_test): Add additional message
12001 for unexpected output.
12002
59a56148
AA
120032017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12004
12005 * gdb.base/examine-backward.c (Barrier): New character array
12006 constant, to ensure that TestStrings is preceded by a string
12007 terminator.
12008
7942e96e
AA
120092017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12010
12011 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12012 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12013 and implicit pointer into such a location.
12014
6ebac3fb
DE
120152017-03-16 Doug Evans <dje@google.com>
12016
12017 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12018
ec3b243d
TP
120192017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12020
12021 * gdb.cp/m-static.exp: Fix expectation for prototype of
12022 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12023
120242017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12025
12026 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12027 * gdb.guile/scm-lazy-string.c: New file.
12028 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12029 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12030 for pointer, array, typedef lazy strings.
12031
2cc36e25 120322017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12033
12034 PR python/17728, python/18439, python/18779
12035 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12036 * gdb.python/py-lazy-string.c (pointer): New typedef.
12037 (main): New locals ptr, array, typedef_ptr.
12038 * gdb.python/py-value.exp: Move lazy string tests to ...
12039 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12040 array, typedef lazy strings.
ec3b243d 12041
0efcde63
AK
120422017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12043
12044 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12045 Add optional 'test' parameter.
12046
7978d7c3
SM
120472017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12048
12049 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12050 Skip for versions of DejaGnu < 1.5.
12051
896c0c1e
SM
120522017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12053
12054 * lib/gdb.exp (dejagnu_version): New proc.
12055 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12056 Use dejagnu_version.
12057
5f4d1085
KS
120582017-03-10 Keith Seitz <keiths@redhat.com>
12059
12060 PR c++/8128
12061 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12062 type from destructor regexps.
12063 Add a branch which actually passes the test.
12064 Adjust "ptype t5i" test names.
12065
1de05205
PA
120662017-03-08 Pedro Alves <palves@redhat.com>
12067
12068 * gdb.base/step-over-exit.exp: Add explicit test message.
12069
c65d6b55
PA
120702017-03-08 Pedro Alves <palves@redhat.com>
12071
12072 PR gdb/18360
12073 * gdb.threads/interrupt-while-step-over.c: New file.
12074 * gdb.threads/interrupt-while-step-over.exp: New file.
12075
2e86a283
PA
120762017-03-08 Pedro Alves <palves@redhat.com>
12077
12078 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12079 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12080
25dcbff6
PA
120812017-03-08 Pedro Alves <palves@redhat.com>
12082
12083 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12084 PKRU as not supported as a PASS.
12085
dc9366eb
PA
120862017-03-08 Pedro Alves <palves@redhat.com>
12087
12088 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12089 prefix instead of $binfile1/$binfile2.
12090 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12091 in test message.
12092 * gdb.python/py-completion.exp: Use "load python file" as test
12093 messages instead of unstable path names.
12094
6e5d74e7
PA
120952017-03-08 Pedro Alves <palves@redhat.com>
12096 Jan Kratochvil <jan.kratochvil@redhat.com>
12097
12098 PR cli/21218
12099 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12100 New proc.
12101 (top level): Call it.
12102
9753a2f6
PA
121032017-03-08 Pedro Alves <palves@redhat.com>
12104
12105 PR tui/21216
12106 * gdb.tui/tui-nl-filtered-output.exp: New file.
12107
1a4dd9dd
PA
121082017-03-08 Pedro Alves <palves@redhat.com>
12109
12110 * gdb.base/completion.exp: Move TUI completion tests to ...
12111 * gdb.tui/completion.exp: ... this new file.
12112
7cbbff33
PA
121132017-03-08 Pedro Alves <palves@redhat.com>
12114
12115 * gdb.base/tui-disasm-long-lines.c,
12116 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12117 gdb.base/tui-layout.exp: Move to ...
12118 * gdb.tui/: ... this new directory.
12119
5f6fd321
PA
121202017-03-07 Pedro Alves <palves@redhat.com>
12121
12122 * gdb.base/tui-layout.c: New file.
12123 * gdb.base/tui-layout.exp: New file.
12124
44959fa8
PA
121252017-03-07 Pedro Alves <palves@redhat.com>
12126
12127 * gdb.base/tui-layout.c: Rename to ...
12128 * gdb.base/tui-disasm-long-lines.c: ... this.
12129 * gdb.base/tui-layout.exp: Rename to ...
12130 * gdb.base/tui-disasm-long-lines.exp: ... this.
12131
f8c4e718
PA
121322017-03-07 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12135
6dbb839a 121362017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12137
12138 * i386-mpx-call.c: New file.
12139 * i386-mpx-call.exp: New file.
12140
65b48a81
PB
121412017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12142
12143 * gdb.arch/powerpc-power.exp: Delete test.
12144 * gdb.arch/powerpc-power.s: Likewise.
12145 * gdb.disasm/disassembler-options.exp: New test.
12146 * gdb.arch/powerpc-altivec.exp: Likewise.
12147 * gdb.arch/powerpc-altivec.s: Likewise.
12148 * gdb.arch/powerpc-altivec2.exp: Likewise.
12149 * gdb.arch/powerpc-altivec2.s: Likewise.
12150 * gdb.arch/powerpc-altivec3.exp: Likewise.
12151 * gdb.arch/powerpc-altivec3.s: Likewise.
12152 * gdb.arch/powerpc-power7.exp: Likewise.
12153 * gdb.arch/powerpc-power7.s: Likewise.
12154 * gdb.arch/powerpc-power8.exp: Likewise.
12155 * gdb.arch/powerpc-power8.s: Likewise.
12156 * gdb.arch/powerpc-power9.exp: Likewise.
12157 * gdb.arch/powerpc-power9.s: Likewise.
12158 * gdb.arch/powerpc-vsx.exp: Likewise.
12159 * gdb.arch/powerpc-vsx.s: Likewise.
12160 * gdb.arch/powerpc-vsx2.exp: Likewise.
12161 * gdb.arch/powerpc-vsx2.s: Likewise.
12162 * gdb.arch/powerpc-vsx3.exp: Likewise.
12163 * gdb.arch/powerpc-vsx3.s: Likewise.
12164 * gdb.arch/arm-disassembler-options.exp: Likewise.
12165 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12166 * gdb.arch/s390-disassembler-options.exp: Likewise.
12167
17cd4947
LM
121682017-02-23 Luis Machado <lgustavo@codesourcery.com>
12169
12170 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12171 (check_supported_features): ... this. Changed return type to void.
12172 (supports_rdseed): New static global.
12173 (rdseed): Check supports_rdseed.
12174 (initialize): Call check_supported_features.
12175
2039d74e
EBM
121762017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12177
12178 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12179 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12180 and lqarx/stqcx.
12181 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12182 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12183
a51d7ecf
EBM
121842017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12185
12186 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12187 uppercase.
12188
0224619f
JK
121892017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12190
12191 * gdb.dwarf2/formdata16.c: New file.
12192 * gdb.dwarf2/formdata16.exp: New file.
12193 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12194
216f72a1
JK
121952017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12196
12197 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12198 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12199 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12200 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12201 DW_AT_GNU_*.
12202
43988095
JK
122032017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12204
12205 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12206
99e8a4f9
SDJ
122072017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12208
12209 PR gdb/21164
12210 * gdb.base/maint.exp: Add testcases for when the commands do
12211 not have arguments.
12212
b58a8c0c
TP
122132017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12214
12215 * gdb.cp/chained-calls.exp: Use p instead of P.
12216
4e746bb6
TW
122172017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12218
12219 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12220 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12221
3f77c769
TT
122222017-02-14 Tom Tromey <tom@tromey.com>
12223
12224 PR python/13598:
12225 * gdb.python/py-events.exp: Add before_prompt event tests.
12226
075beec0
AA
122272017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12228
12229 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12230
bf5f525c
LM
122312017-02-13 Luis Machado <lgustavo@codesourcery.com>
12232
12233 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12234 (main): Call my_unique_function_name.
12235 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12236 completion of patterns with a single match.
12237 Add missing -re switches to gdb_test_multiple calls.
12238
13a66184
LM
122392017-02-13 Luis Machado <lgustavo@codesourcery.com>
12240
12241 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12242 return if core file is not recognized.
12243
26a06916
SM
122442017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12245
12246 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12247 and extra UIs.
12248
b761ca9e
SM
122492017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12250
12251 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12252 proc_with_prefix.
12253
b964bee0
TT
122542017-02-10 Tom Tromey <tom@tromey.com>
12255
12256 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12257
18da0c51
MG
122582017-02-10 Martin Galvan <martingalvan@sourceware.org>
12259
12260 PR gdb/21122
12261 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12262
604c4576
JG
122632017-02-08 Jerome Guitton <guitton@adacore.com>
12264
12265 * gdb.base/define.exp: Add test for command abbreviations
12266 in define.
12267
20b477a7
LM
122682017-02-06 Luis Machado <lgustavo@codesourcery.com>
12269
12270 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12271 * gdb.reverse/insn-reverse-x86.c: New file.
12272
3f7b46f2
IR
122732017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12274
12275 PR tdep/20936
12276 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12277
f0fd41c1
TT
122782017-02-03 Tom Tromey <tom@tromey.com>
12279
12280 PR rust/21097:
12281 * gdb.rust/simple.exp: Add new tests.
12282
5be5dbf0
PA
122832017-02-02 Pedro Alves <palves@redhat.com>
12284
12285 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12286 tests.
12287
7346ef59
AA
122882017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12289
12290 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12291 taking a 2-byte value out of a 4-byte DWARF implicit value on
12292 big-endian targets.
12293 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12294 logic. Add test cases for DW_OP_implicit.
12295
787f0025
MM
122962017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12297
12298 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12299
68777c29
MM
123002017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12301
12302 * gdb.btrace/enable.exp: Call gdb_exit before
12303 skip_gdbserver_tests.
12304
0a1c7e28
MM
123052017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12306
12307 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12308 GDBFLAGS.
12309
b5ac99b0
MM
123102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12311
12312 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12313 the test is skipped.
12314 * gdb.btrace/data.exp: Likewise.
12315 * gdb.btrace/delta.exp: Likewise.
12316 * gdb.btrace/dlopen.exp: Likewise.
12317 * gdb.btrace/enable-running.exp: Likewise.
12318 * gdb.btrace/enable.exp: Likewise.
12319 * gdb.btrace/exception.exp: Likewise.
12320 * gdb.btrace/function_call_history.exp: Likewise.
12321 * gdb.btrace/gcore.exp: Likewise.
12322 * gdb.btrace/instruction_history.exp: Likewise.
12323 * gdb.btrace/multi-thread-step.exp: Likewise.
12324 * gdb.btrace/nohist.exp: Likewise.
12325 * gdb.btrace/non-stop.exp: Likewise.
12326 * gdb.btrace/reconnect.exp: Likewise.
12327 * gdb.btrace/record_goto-step.exp: Likewise.
12328 * gdb.btrace/record_goto.exp: Likewise.
12329 * gdb.btrace/rn-dl-bind.exp: Likewise.
12330 * gdb.btrace/segv.exp: Likewise.
12331 * gdb.btrace/step.exp: Likewise.
12332 * gdb.btrace/stepi.exp: Likewise.
12333 * gdb.btrace/tailcall-only.exp: Likewise.
12334 * gdb.btrace/tailcall.exp: Likewise.
12335 * gdb.btrace/tsx.exp: Likewise.
12336 * gdb.btrace/unknown_functions.exp: Likewise.
12337 * gdb.btrace/vdso.exp: Likewise.
12338
cd4007e4
MM
123392017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12340
12341 * gdb.btrace/enable-running.c: New.
12342 * gdb.btrace/enable-running.exp: New.
12343
2735833d
WT
123442017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12345
12346 * gdb.arch/amd64-gs_base.c: New file.
12347 * gdb.arch/amd64-gs_base.exp: New file.
12348
b51e1e94
LM
123492017-01-26 Luis Machado <lgustavo@codesourcery.com>
12350
12351 * lib/memory.exp: Remove spurious empty newlines.
12352
72ca0410
SM
123532017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12354
12355 * gdb.python/py-bad-printers.exp: Load python file using "source".
12356 * gdb.python/py-events.exp: Likewise.
12357 * gdb.python/py-evsignal.exp: Likewise.
12358 * gdb.python/py-evthreads.exp: Likewise.
12359 * gdb.python/py-frame-args.exp: Likewise.
12360 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12361 * gdb.python/py-framefilter-mi.exp: Likewise.
12362 * gdb.python/py-framefilter.exp: Likewise.
12363 * gdb.python/py-mi.exp: Likewise.
12364 * gdb.python/py-pp-maint.exp: Likewise.
12365 * gdb.python/py-pp-registration.exp: Likewise.
12366 * gdb.python/py-prettyprint.exp: Likewise.
12367 (run_lang_tests): Likewise.
12368 * gdb.python/py-typeprint.exp: Likewise.
12369
e309aa65
LM
123702017-01-26 Luis Machado <lgustavo@codesourcery.com>
12371
12372 * lib/memory.exp: New file.
12373 * lib/gdb.exp: Load memory.exp.
12374 * gdb.base/memattr.exp (delete_memory): Move proc to
12375 lib/memory.exp and rename to delete_memory_regions.
12376 Replace delete_memory with delete_memory_regions.
12377 Cleanup memory regions before tests.
12378 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12379 before tests.
12380
515aff23
LM
123812017-01-26 Luis Machado <lgustavo@codesourcery.com>
12382
12383 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12384 files.
12385 (initialize): New function conditionally defined.
12386 (testcases): Move within conditional block.
12387 (main): Call initialize.
12388 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12389 of gdb.reverse/insn-reverse.c.
12390 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12391 gdb.reverse/insn-reverse.c.
12392
d8b49cf0
YQ
123932017-01-26 Yao Qi <yao.qi@linaro.org>
12394
12395 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12396 disassemble on address 0.
12397
f13a9a0c
YQ
123982017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12399 Yao Qi <yao.qi@linaro.org>
12400
12401 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12402 * gdb.dwarf2/implptr-64bit.S: Remove.
12403 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12404 variables in caller's context. Add DW_OP_implicit_value.
12405
5ac95241
YQ
124062017-01-25 Yao Qi <yao.qi@linaro.org>
12407
12408 * lib/dwarf.exp (Dwarf::_location): Handle
12409 DW_OP_GNU_implicit_pointer with proper size.
12410
23e82930
LM
124112017-01-20 Luis Machado <lgustavo@codesourcery.com>
12412
12413 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12414 and add untested calls.
12415
d334ae25
LM
124162017-01-20 Luis Machado <lgustavo@codesourcery.com>
12417
12418 * gdb.python/python.exp: Check line number against what GDB thinks
12419 the line number is for func1.
12420
f5e6296e
IB
124212017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12422
12423 * gdb.dlang/debug-expr.exp: New file.
12424
5b362f04
LM
124252016-12-23 Luis Machado <lgustavo@codesourcery.com>
12426
12427 Fix test names for the following files:
12428
12429 * gdb.ada/exec_changed.exp
12430 * gdb.ada/info_types.exp
12431 * gdb.arch/aarch64-atomic-inst.exp
12432 * gdb.arch/aarch64-fp.exp
12433 * gdb.arch/altivec-abi.exp
12434 * gdb.arch/altivec-regs.exp
12435 * gdb.arch/amd64-byte.exp
12436 * gdb.arch/amd64-disp-step.exp
12437 * gdb.arch/amd64-dword.exp
12438 * gdb.arch/amd64-entry-value-inline.exp
12439 * gdb.arch/amd64-entry-value-param.exp
12440 * gdb.arch/amd64-entry-value-paramref.exp
12441 * gdb.arch/amd64-entry-value.exp
12442 * gdb.arch/amd64-i386-address.exp
12443 * gdb.arch/amd64-invalid-stack-middle.exp
12444 * gdb.arch/amd64-invalid-stack-top.exp
12445 * gdb.arch/amd64-optimout-repeat.exp
12446 * gdb.arch/amd64-prologue-skip.exp
12447 * gdb.arch/amd64-prologue-xmm.exp
12448 * gdb.arch/amd64-stap-special-operands.exp
12449 * gdb.arch/amd64-stap-wrong-subexp.exp
12450 * gdb.arch/amd64-tailcall-cxx.exp
12451 * gdb.arch/amd64-tailcall-noret.exp
12452 * gdb.arch/amd64-tailcall-ret.exp
12453 * gdb.arch/amd64-tailcall-self.exp
12454 * gdb.arch/amd64-word.exp
12455 * gdb.arch/arm-bl-branch-dest.exp
12456 * gdb.arch/arm-disp-step.exp
12457 * gdb.arch/arm-neon.exp
12458 * gdb.arch/arm-single-step-kernel-helper.exp
12459 * gdb.arch/avr-flash-qualifier.exp
12460 * gdb.arch/disp-step-insn-reloc.exp
12461 * gdb.arch/e500-abi.exp
12462 * gdb.arch/e500-regs.exp
12463 * gdb.arch/ftrace-insn-reloc.exp
12464 * gdb.arch/i386-avx512.exp
12465 * gdb.arch/i386-bp_permanent.exp
12466 * gdb.arch/i386-byte.exp
12467 * gdb.arch/i386-cfi-notcurrent.exp
12468 * gdb.arch/i386-disp-step.exp
12469 * gdb.arch/i386-dr3-watch.exp
12470 * gdb.arch/i386-float.exp
12471 * gdb.arch/i386-gnu-cfi.exp
12472 * gdb.arch/i386-mpx-map.exp
12473 * gdb.arch/i386-mpx-sigsegv.exp
12474 * gdb.arch/i386-mpx-simple_segv.exp
12475 * gdb.arch/i386-mpx.exp
12476 * gdb.arch/i386-permbkpt.exp
12477 * gdb.arch/i386-prologue.exp
12478 * gdb.arch/i386-signal.exp
12479 * gdb.arch/i386-size-overlap.exp
12480 * gdb.arch/i386-unwind.exp
12481 * gdb.arch/i386-word.exp
12482 * gdb.arch/mips-fcr.exp
12483 * gdb.arch/powerpc-d128-regs.exp
12484 * gdb.arch/powerpc-stackless.exp
12485 * gdb.arch/ppc64-atomic-inst.exp
12486 * gdb.arch/s390-stackless.exp
12487 * gdb.arch/s390-tdbregs.exp
12488 * gdb.arch/s390-vregs.exp
12489 * gdb.arch/sparc-sysstep.exp
12490 * gdb.arch/thumb-bx-pc.exp
12491 * gdb.arch/thumb-singlestep.exp
12492 * gdb.arch/thumb2-it.exp
12493 * gdb.arch/vsx-regs.exp
12494 * gdb.asm/asm-source.exp
12495 * gdb.base/a2-run.exp
12496 * gdb.base/advance.exp
12497 * gdb.base/all-bin.exp
12498 * gdb.base/anon.exp
12499 * gdb.base/args.exp
12500 * gdb.base/arithmet.exp
12501 * gdb.base/async-shell.exp
12502 * gdb.base/async.exp
12503 * gdb.base/attach-pie-noexec.exp
12504 * gdb.base/attach-twice.exp
12505 * gdb.base/auto-load.exp
12506 * gdb.base/bang.exp
12507 * gdb.base/bitfields.exp
12508 * gdb.base/break-always.exp
12509 * gdb.base/break-caller-line.exp
12510 * gdb.base/break-entry.exp
12511 * gdb.base/break-inline.exp
12512 * gdb.base/break-on-linker-gcd-function.exp
12513 * gdb.base/break-probes.exp
12514 * gdb.base/break.exp
12515 * gdb.base/breakpoint-shadow.exp
12516 * gdb.base/call-ar-st.exp
12517 * gdb.base/call-sc.exp
12518 * gdb.base/call-signal-resume.exp
12519 * gdb.base/call-strs.exp
12520 * gdb.base/callfuncs.exp
12521 * gdb.base/catch-fork-static.exp
12522 * gdb.base/catch-gdb-caused-signals.exp
12523 * gdb.base/catch-load.exp
12524 * gdb.base/catch-signal-fork.exp
12525 * gdb.base/catch-signal.exp
12526 * gdb.base/catch-syscall.exp
12527 * gdb.base/charset.exp
12528 * gdb.base/checkpoint.exp
12529 * gdb.base/chng-syms.exp
12530 * gdb.base/code-expr.exp
12531 * gdb.base/code_elim.exp
12532 * gdb.base/commands.exp
12533 * gdb.base/completion.exp
12534 * gdb.base/complex.exp
12535 * gdb.base/cond-expr.exp
12536 * gdb.base/condbreak.exp
12537 * gdb.base/consecutive.exp
12538 * gdb.base/continue-all-already-running.exp
12539 * gdb.base/coredump-filter.exp
12540 * gdb.base/corefile.exp
12541 * gdb.base/dbx.exp
12542 * gdb.base/debug-expr.exp
12543 * gdb.base/define.exp
12544 * gdb.base/del.exp
12545 * gdb.base/disabled-location.exp
12546 * gdb.base/disasm-end-cu.exp
12547 * gdb.base/disasm-optim.exp
12548 * gdb.base/display.exp
12549 * gdb.base/duplicate-bp.exp
12550 * gdb.base/ena-dis-br.exp
12551 * gdb.base/ending-run.exp
12552 * gdb.base/enumval.exp
12553 * gdb.base/environ.exp
12554 * gdb.base/eu-strip-infcall.exp
12555 * gdb.base/eval-avoid-side-effects.exp
12556 * gdb.base/eval-skip.exp
12557 * gdb.base/exitsignal.exp
12558 * gdb.base/expand-psymtabs.exp
12559 * gdb.base/filesym.exp
12560 * gdb.base/find-unmapped.exp
12561 * gdb.base/finish.exp
12562 * gdb.base/float.exp
12563 * gdb.base/foll-exec-mode.exp
12564 * gdb.base/foll-exec.exp
12565 * gdb.base/foll-fork.exp
12566 * gdb.base/fortran-sym-case.exp
12567 * gdb.base/freebpcmd.exp
12568 * gdb.base/func-ptr.exp
12569 * gdb.base/func-ptrs.exp
12570 * gdb.base/funcargs.exp
12571 * gdb.base/gcore-buffer-overflow.exp
12572 * gdb.base/gcore-relro-pie.exp
12573 * gdb.base/gcore-relro.exp
12574 * gdb.base/gcore.exp
12575 * gdb.base/gdb1090.exp
12576 * gdb.base/gdb11530.exp
12577 * gdb.base/gdb11531.exp
12578 * gdb.base/gdb1821.exp
12579 * gdb.base/gdbindex-stabs.exp
12580 * gdb.base/gdbvars.exp
12581 * gdb.base/hbreak.exp
12582 * gdb.base/hbreak2.exp
12583 * gdb.base/included.exp
12584 * gdb.base/infcall-input.exp
12585 * gdb.base/inferior-died.exp
12586 * gdb.base/infnan.exp
12587 * gdb.base/info-macros.exp
12588 * gdb.base/info-os.exp
12589 * gdb.base/info-proc.exp
12590 * gdb.base/info-shared.exp
12591 * gdb.base/info-target.exp
12592 * gdb.base/infoline.exp
12593 * gdb.base/interp.exp
12594 * gdb.base/interrupt.exp
12595 * gdb.base/jit-reader.exp
12596 * gdb.base/jit-simple.exp
12597 * gdb.base/kill-after-signal.exp
12598 * gdb.base/kill-detach-inferiors-cmd.exp
12599 * gdb.base/label.exp
12600 * gdb.base/langs.exp
12601 * gdb.base/ldbl_e308.exp
12602 * gdb.base/line-symtabs.exp
12603 * gdb.base/linespecs.exp
12604 * gdb.base/list.exp
12605 * gdb.base/long_long.exp
12606 * gdb.base/longest-types.exp
12607 * gdb.base/maint.exp
12608 * gdb.base/max-value-size.exp
12609 * gdb.base/memattr.exp
12610 * gdb.base/mips_pro.exp
12611 * gdb.base/morestack.exp
12612 * gdb.base/moribund-step.exp
12613 * gdb.base/multi-forks.exp
12614 * gdb.base/nested-addr.exp
12615 * gdb.base/nextoverexit.exp
12616 * gdb.base/noreturn-finish.exp
12617 * gdb.base/noreturn-return.exp
12618 * gdb.base/nostdlib.exp
12619 * gdb.base/offsets.exp
12620 * gdb.base/opaque.exp
12621 * gdb.base/pc-fp.exp
12622 * gdb.base/permissions.exp
12623 * gdb.base/print-symbol-loading.exp
12624 * gdb.base/prologue-include.exp
12625 * gdb.base/psymtab.exp
12626 * gdb.base/ptype.exp
12627 * gdb.base/random-signal.exp
12628 * gdb.base/randomize.exp
12629 * gdb.base/range-stepping.exp
12630 * gdb.base/readline-ask.exp
12631 * gdb.base/recpar.exp
12632 * gdb.base/recurse.exp
12633 * gdb.base/relational.exp
12634 * gdb.base/restore.exp
12635 * gdb.base/return-nodebug.exp
12636 * gdb.base/return.exp
12637 * gdb.base/run-after-attach.exp
12638 * gdb.base/save-bp.exp
12639 * gdb.base/scope.exp
12640 * gdb.base/sect-cmd.exp
12641 * gdb.base/set-lang-auto.exp
12642 * gdb.base/set-noassign.exp
12643 * gdb.base/setvar.exp
12644 * gdb.base/sigall.exp
12645 * gdb.base/sigbpt.exp
12646 * gdb.base/siginfo-addr.exp
12647 * gdb.base/siginfo-infcall.exp
12648 * gdb.base/siginfo-obj.exp
12649 * gdb.base/siginfo.exp
12650 * gdb.base/signals-state-child.exp
12651 * gdb.base/signest.exp
12652 * gdb.base/sigstep.exp
12653 * gdb.base/sizeof.exp
12654 * gdb.base/skip.exp
12655 * gdb.base/solib-corrupted.exp
12656 * gdb.base/solib-nodir.exp
12657 * gdb.base/solib-search.exp
12658 * gdb.base/stack-checking.exp
12659 * gdb.base/stale-infcall.exp
12660 * gdb.base/stap-probe.exp
12661 * gdb.base/start.exp
12662 * gdb.base/step-break.exp
12663 * gdb.base/step-bt.exp
12664 * gdb.base/step-line.exp
12665 * gdb.base/step-over-exit.exp
12666 * gdb.base/step-over-syscall.exp
12667 * gdb.base/step-resume-infcall.exp
12668 * gdb.base/step-test.exp
12669 * gdb.base/store.exp
12670 * gdb.base/structs3.exp
12671 * gdb.base/sym-file.exp
12672 * gdb.base/symbol-without-target_section.exp
12673 * gdb.base/term.exp
12674 * gdb.base/testenv.exp
12675 * gdb.base/ui-redirect.exp
12676 * gdb.base/until.exp
12677 * gdb.base/unwindonsignal.exp
12678 * gdb.base/value-double-free.exp
12679 * gdb.base/vla-datatypes.exp
12680 * gdb.base/vla-ptr.exp
12681 * gdb.base/vla-sideeffect.exp
12682 * gdb.base/volatile.exp
12683 * gdb.base/watch-cond-infcall.exp
12684 * gdb.base/watch-cond.exp
12685 * gdb.base/watch-non-mem.exp
12686 * gdb.base/watch-read.exp
12687 * gdb.base/watch-vfork.exp
12688 * gdb.base/watchpoint-cond-gone.exp
12689 * gdb.base/watchpoint-delete.exp
12690 * gdb.base/watchpoint-hw-hit-once.exp
12691 * gdb.base/watchpoint-hw.exp
12692 * gdb.base/watchpoint-stops-at-right-insn.exp
12693 * gdb.base/watchpoints.exp
12694 * gdb.base/wchar.exp
12695 * gdb.base/whatis-exp.exp
12696 * gdb.btrace/buffer-size.exp
12697 * gdb.btrace/data.exp
12698 * gdb.btrace/delta.exp
12699 * gdb.btrace/dlopen.exp
12700 * gdb.btrace/enable.exp
12701 * gdb.btrace/exception.exp
12702 * gdb.btrace/function_call_history.exp
12703 * gdb.btrace/gcore.exp
12704 * gdb.btrace/instruction_history.exp
12705 * gdb.btrace/nohist.exp
12706 * gdb.btrace/reconnect.exp
12707 * gdb.btrace/record_goto-step.exp
12708 * gdb.btrace/record_goto.exp
12709 * gdb.btrace/rn-dl-bind.exp
12710 * gdb.btrace/segv.exp
12711 * gdb.btrace/step.exp
12712 * gdb.btrace/stepi.exp
12713 * gdb.btrace/tailcall-only.exp
12714 * gdb.btrace/tailcall.exp
12715 * gdb.btrace/tsx.exp
12716 * gdb.btrace/unknown_functions.exp
12717 * gdb.btrace/vdso.exp
12718 * gdb.compile/compile-ifunc.exp
12719 * gdb.compile/compile-ops.exp
12720 * gdb.compile/compile-print.exp
12721 * gdb.compile/compile-setjmp.exp
12722 * gdb.cp/abstract-origin.exp
12723 * gdb.cp/ambiguous.exp
12724 * gdb.cp/annota2.exp
12725 * gdb.cp/annota3.exp
12726 * gdb.cp/anon-ns.exp
12727 * gdb.cp/anon-struct.exp
12728 * gdb.cp/anon-union.exp
12729 * gdb.cp/arg-reference.exp
12730 * gdb.cp/baseenum.exp
12731 * gdb.cp/bool.exp
12732 * gdb.cp/breakpoint.exp
12733 * gdb.cp/bs15503.exp
12734 * gdb.cp/call-c.exp
12735 * gdb.cp/casts.exp
12736 * gdb.cp/chained-calls.exp
12737 * gdb.cp/class2.exp
12738 * gdb.cp/classes.exp
12739 * gdb.cp/cmpd-minsyms.exp
12740 * gdb.cp/converts.exp
12741 * gdb.cp/cp-relocate.exp
12742 * gdb.cp/cpcompletion.exp
12743 * gdb.cp/cpexprs.exp
12744 * gdb.cp/cplabel.exp
12745 * gdb.cp/cplusfuncs.exp
12746 * gdb.cp/cpsizeof.exp
12747 * gdb.cp/ctti.exp
12748 * gdb.cp/derivation.exp
12749 * gdb.cp/destrprint.exp
12750 * gdb.cp/dispcxx.exp
12751 * gdb.cp/enum-class.exp
12752 * gdb.cp/exception.exp
12753 * gdb.cp/exceptprint.exp
12754 * gdb.cp/expand-psymtabs-cxx.exp
12755 * gdb.cp/expand-sals.exp
12756 * gdb.cp/extern-c.exp
12757 * gdb.cp/filename.exp
12758 * gdb.cp/formatted-ref.exp
12759 * gdb.cp/fpointer.exp
12760 * gdb.cp/gdb1355.exp
12761 * gdb.cp/gdb2495.exp
12762 * gdb.cp/hang.exp
12763 * gdb.cp/impl-this.exp
12764 * gdb.cp/infcall-dlopen.exp
12765 * gdb.cp/inherit.exp
12766 * gdb.cp/iostream.exp
12767 * gdb.cp/koenig.exp
12768 * gdb.cp/local.exp
12769 * gdb.cp/m-data.exp
12770 * gdb.cp/m-static.exp
12771 * gdb.cp/mb-ctor.exp
12772 * gdb.cp/mb-inline.exp
12773 * gdb.cp/mb-templates.exp
12774 * gdb.cp/member-name.exp
12775 * gdb.cp/member-ptr.exp
12776 * gdb.cp/meth-typedefs.exp
12777 * gdb.cp/method.exp
12778 * gdb.cp/method2.exp
12779 * gdb.cp/minsym-fallback.exp
12780 * gdb.cp/misc.exp
12781 * gdb.cp/namelessclass.exp
12782 * gdb.cp/namespace-enum.exp
12783 * gdb.cp/namespace-nested-import.exp
12784 * gdb.cp/namespace.exp
12785 * gdb.cp/nextoverthrow.exp
12786 * gdb.cp/no-dmgl-verbose.exp
12787 * gdb.cp/non-trivial-retval.exp
12788 * gdb.cp/noparam.exp
12789 * gdb.cp/nsdecl.exp
12790 * gdb.cp/nsimport.exp
12791 * gdb.cp/nsnested.exp
12792 * gdb.cp/nsnoimports.exp
12793 * gdb.cp/nsrecurs.exp
12794 * gdb.cp/nsstress.exp
12795 * gdb.cp/nsusing.exp
12796 * gdb.cp/operator.exp
12797 * gdb.cp/oranking.exp
12798 * gdb.cp/overload-const.exp
12799 * gdb.cp/overload.exp
12800 * gdb.cp/ovldbreak.exp
12801 * gdb.cp/ovsrch.exp
12802 * gdb.cp/paren-type.exp
12803 * gdb.cp/parse-lang.exp
12804 * gdb.cp/pass-by-ref.exp
12805 * gdb.cp/pr-1023.exp
12806 * gdb.cp/pr-1210.exp
12807 * gdb.cp/pr-574.exp
12808 * gdb.cp/pr10687.exp
12809 * gdb.cp/pr12028.exp
12810 * gdb.cp/pr17132.exp
12811 * gdb.cp/pr17494.exp
12812 * gdb.cp/pr9067.exp
12813 * gdb.cp/pr9167.exp
12814 * gdb.cp/pr9631.exp
12815 * gdb.cp/printmethod.exp
12816 * gdb.cp/psmang.exp
12817 * gdb.cp/psymtab-parameter.exp
12818 * gdb.cp/ptype-cv-cp.exp
12819 * gdb.cp/ptype-flags.exp
12820 * gdb.cp/re-set-overloaded.exp
12821 * gdb.cp/ref-types.exp
12822 * gdb.cp/rtti.exp
12823 * gdb.cp/scope-err.exp
12824 * gdb.cp/shadow.exp
12825 * gdb.cp/smartp.exp
12826 * gdb.cp/static-method.exp
12827 * gdb.cp/static-print-quit.exp
12828 * gdb.cp/temargs.exp
12829 * gdb.cp/templates.exp
12830 * gdb.cp/try_catch.exp
12831 * gdb.cp/typedef-operator.exp
12832 * gdb.cp/typeid.exp
12833 * gdb.cp/userdef.exp
12834 * gdb.cp/using-crash.exp
12835 * gdb.cp/var-tag.exp
12836 * gdb.cp/virtbase.exp
12837 * gdb.cp/virtfunc.exp
12838 * gdb.cp/virtfunc2.exp
12839 * gdb.cp/vla-cxx.exp
12840 * gdb.disasm/t01_mov.exp
12841 * gdb.disasm/t02_mova.exp
12842 * gdb.disasm/t03_add.exp
12843 * gdb.disasm/t04_sub.exp
12844 * gdb.disasm/t05_cmp.exp
12845 * gdb.disasm/t06_ari2.exp
12846 * gdb.disasm/t07_ari3.exp
12847 * gdb.disasm/t08_or.exp
12848 * gdb.disasm/t09_xor.exp
12849 * gdb.disasm/t10_and.exp
12850 * gdb.disasm/t11_logs.exp
12851 * gdb.disasm/t12_bit.exp
12852 * gdb.disasm/t13_otr.exp
12853 * gdb.dlang/circular.exp
12854 * gdb.dwarf2/arr-stride.exp
12855 * gdb.dwarf2/arr-subrange.exp
12856 * gdb.dwarf2/atomic-type.exp
12857 * gdb.dwarf2/bad-regnum.exp
12858 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12859 * gdb.dwarf2/callframecfa.exp
12860 * gdb.dwarf2/clztest.exp
12861 * gdb.dwarf2/corrupt.exp
12862 * gdb.dwarf2/data-loc.exp
12863 * gdb.dwarf2/dup-psym.exp
12864 * gdb.dwarf2/dw2-anon-mptr.exp
12865 * gdb.dwarf2/dw2-anonymous-func.exp
12866 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12867 * gdb.dwarf2/dw2-bad-unresolved.exp
12868 * gdb.dwarf2/dw2-basic.exp
12869 * gdb.dwarf2/dw2-canonicalize-type.exp
12870 * gdb.dwarf2/dw2-case-insensitive.exp
12871 * gdb.dwarf2/dw2-common-block.exp
12872 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12873 * gdb.dwarf2/dw2-compressed.exp
12874 * gdb.dwarf2/dw2-const.exp
12875 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12876 * gdb.dwarf2/dw2-cu-size.exp
12877 * gdb.dwarf2/dw2-dup-frame.exp
12878 * gdb.dwarf2/dw2-entry-value.exp
12879 * gdb.dwarf2/dw2-icycle.exp
12880 * gdb.dwarf2/dw2-ifort-parameter.exp
12881 * gdb.dwarf2/dw2-inline-break.exp
12882 * gdb.dwarf2/dw2-inline-param.exp
12883 * gdb.dwarf2/dw2-intercu.exp
12884 * gdb.dwarf2/dw2-intermix.exp
12885 * gdb.dwarf2/dw2-lexical-block-bare.exp
12886 * gdb.dwarf2/dw2-linkage-name-trust.exp
12887 * gdb.dwarf2/dw2-minsym-in-cu.exp
12888 * gdb.dwarf2/dw2-noloc.exp
12889 * gdb.dwarf2/dw2-op-call.exp
12890 * gdb.dwarf2/dw2-op-out-param.exp
12891 * gdb.dwarf2/dw2-opt-structptr.exp
12892 * gdb.dwarf2/dw2-param-error.exp
12893 * gdb.dwarf2/dw2-producer.exp
12894 * gdb.dwarf2/dw2-ranges-base.exp
12895 * gdb.dwarf2/dw2-ref-missing-frame.exp
12896 * gdb.dwarf2/dw2-reg-undefined.exp
12897 * gdb.dwarf2/dw2-regno-invalid.exp
12898 * gdb.dwarf2/dw2-restore.exp
12899 * gdb.dwarf2/dw2-restrict.exp
12900 * gdb.dwarf2/dw2-single-line-discriminators.exp
12901 * gdb.dwarf2/dw2-strp.exp
12902 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12903 * gdb.dwarf2/dw2-unresolved.exp
12904 * gdb.dwarf2/dw2-var-zero-addr.exp
12905 * gdb.dwarf2/dw4-sig-types.exp
12906 * gdb.dwarf2/dwz.exp
12907 * gdb.dwarf2/dynarr-ptr.exp
12908 * gdb.dwarf2/enum-type.exp
12909 * gdb.dwarf2/gdb-index.exp
12910 * gdb.dwarf2/implptr-64bit.exp
12911 * gdb.dwarf2/implptr-optimized-out.exp
12912 * gdb.dwarf2/implptr.exp
12913 * gdb.dwarf2/implref-array.exp
12914 * gdb.dwarf2/implref-const.exp
12915 * gdb.dwarf2/implref-global.exp
12916 * gdb.dwarf2/implref-struct.exp
12917 * gdb.dwarf2/mac-fileno.exp
12918 * gdb.dwarf2/main-subprogram.exp
12919 * gdb.dwarf2/member-ptr-forwardref.exp
12920 * gdb.dwarf2/method-ptr.exp
12921 * gdb.dwarf2/missing-sig-type.exp
12922 * gdb.dwarf2/nonvar-access.exp
12923 * gdb.dwarf2/opaque-type-lookup.exp
12924 * gdb.dwarf2/pieces-optimized-out.exp
12925 * gdb.dwarf2/pieces.exp
12926 * gdb.dwarf2/pr10770.exp
12927 * gdb.dwarf2/pr13961.exp
12928 * gdb.dwarf2/staticvirtual.exp
12929 * gdb.dwarf2/subrange.exp
12930 * gdb.dwarf2/symtab-producer.exp
12931 * gdb.dwarf2/trace-crash.exp
12932 * gdb.dwarf2/typeddwarf.exp
12933 * gdb.dwarf2/valop.exp
12934 * gdb.dwarf2/watch-notconst.exp
12935 * gdb.fortran/array-element.exp
12936 * gdb.fortran/charset.exp
12937 * gdb.fortran/common-block.exp
12938 * gdb.fortran/complex.exp
12939 * gdb.fortran/derived-type-function.exp
12940 * gdb.fortran/derived-type.exp
12941 * gdb.fortran/logical.exp
12942 * gdb.fortran/module.exp
12943 * gdb.fortran/multi-dim.exp
12944 * gdb.fortran/nested-funcs.exp
12945 * gdb.fortran/print-formatted.exp
12946 * gdb.fortran/subarray.exp
12947 * gdb.fortran/vla-alloc-assoc.exp
12948 * gdb.fortran/vla-datatypes.exp
12949 * gdb.fortran/vla-history.exp
12950 * gdb.fortran/vla-ptr-info.exp
12951 * gdb.fortran/vla-ptype-sub.exp
12952 * gdb.fortran/vla-ptype.exp
12953 * gdb.fortran/vla-sizeof.exp
12954 * gdb.fortran/vla-type.exp
12955 * gdb.fortran/vla-value-sub-arbitrary.exp
12956 * gdb.fortran/vla-value-sub-finish.exp
12957 * gdb.fortran/vla-value-sub.exp
12958 * gdb.fortran/vla-value.exp
12959 * gdb.fortran/whatis_type.exp
12960 * gdb.go/chan.exp
12961 * gdb.go/handcall.exp
12962 * gdb.go/hello.exp
12963 * gdb.go/integers.exp
12964 * gdb.go/methods.exp
12965 * gdb.go/package.exp
12966 * gdb.go/strings.exp
12967 * gdb.go/types.exp
12968 * gdb.go/unsafe.exp
12969 * gdb.guile/scm-arch.exp
12970 * gdb.guile/scm-block.exp
12971 * gdb.guile/scm-breakpoint.exp
12972 * gdb.guile/scm-cmd.exp
12973 * gdb.guile/scm-disasm.exp
12974 * gdb.guile/scm-equal.exp
12975 * gdb.guile/scm-frame-args.exp
12976 * gdb.guile/scm-frame-inline.exp
12977 * gdb.guile/scm-frame.exp
12978 * gdb.guile/scm-iterator.exp
12979 * gdb.guile/scm-math.exp
12980 * gdb.guile/scm-objfile.exp
12981 * gdb.guile/scm-ports.exp
12982 * gdb.guile/scm-symbol.exp
12983 * gdb.guile/scm-symtab.exp
12984 * gdb.guile/scm-value-cc.exp
12985 * gdb.guile/types-module.exp
12986 * gdb.linespec/break-ask.exp
12987 * gdb.linespec/cpexplicit.exp
12988 * gdb.linespec/explicit.exp
12989 * gdb.linespec/keywords.exp
12990 * gdb.linespec/linespec.exp
12991 * gdb.linespec/ls-dollar.exp
12992 * gdb.linespec/ls-errs.exp
12993 * gdb.linespec/skip-two.exp
12994 * gdb.linespec/thread.exp
12995 * gdb.mi/mi-async.exp
12996 * gdb.mi/mi-basics.exp
12997 * gdb.mi/mi-break.exp
12998 * gdb.mi/mi-catch-load.exp
12999 * gdb.mi/mi-cli.exp
13000 * gdb.mi/mi-cmd-param-changed.exp
13001 * gdb.mi/mi-console.exp
13002 * gdb.mi/mi-detach.exp
13003 * gdb.mi/mi-disassemble.exp
13004 * gdb.mi/mi-eval.exp
13005 * gdb.mi/mi-file-transfer.exp
13006 * gdb.mi/mi-file.exp
13007 * gdb.mi/mi-fill-memory.exp
13008 * gdb.mi/mi-inheritance-syntax-error.exp
13009 * gdb.mi/mi-linespec-err-cp.exp
13010 * gdb.mi/mi-logging.exp
13011 * gdb.mi/mi-memory-changed.exp
13012 * gdb.mi/mi-read-memory.exp
13013 * gdb.mi/mi-record-changed.exp
13014 * gdb.mi/mi-reg-undefined.exp
13015 * gdb.mi/mi-regs.exp
13016 * gdb.mi/mi-return.exp
13017 * gdb.mi/mi-reverse.exp
13018 * gdb.mi/mi-simplerun.exp
13019 * gdb.mi/mi-solib.exp
13020 * gdb.mi/mi-stack.exp
13021 * gdb.mi/mi-stepi.exp
13022 * gdb.mi/mi-syn-frame.exp
13023 * gdb.mi/mi-until.exp
13024 * gdb.mi/mi-var-block.exp
13025 * gdb.mi/mi-var-child.exp
13026 * gdb.mi/mi-var-cmd.exp
13027 * gdb.mi/mi-var-cp.exp
13028 * gdb.mi/mi-var-display.exp
13029 * gdb.mi/mi-var-invalidate.exp
13030 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13031 * gdb.mi/mi-vla-fortran.exp
13032 * gdb.mi/mi-watch.exp
13033 * gdb.mi/mi2-var-child.exp
13034 * gdb.mi/user-selected-context-sync.exp
13035 * gdb.modula2/unbounded-array.exp
13036 * gdb.multi/dummy-frame-restore.exp
13037 * gdb.multi/multi-arch-exec.exp
13038 * gdb.multi/multi-arch.exp
13039 * gdb.multi/tids.exp
13040 * gdb.multi/watchpoint-multi.exp
13041 * gdb.opencl/callfuncs.exp
13042 * gdb.opencl/convs_casts.exp
13043 * gdb.opencl/datatypes.exp
13044 * gdb.opencl/operators.exp
13045 * gdb.opencl/vec_comps.exp
13046 * gdb.opt/clobbered-registers-O2.exp
13047 * gdb.opt/inline-break.exp
13048 * gdb.opt/inline-bt.exp
13049 * gdb.opt/inline-cmds.exp
13050 * gdb.opt/inline-locals.exp
13051 * gdb.pascal/case-insensitive-symbols.exp
13052 * gdb.pascal/floats.exp
13053 * gdb.pascal/gdb11492.exp
13054 * gdb.python/lib-types.exp
13055 * gdb.python/py-arch.exp
13056 * gdb.python/py-as-string.exp
13057 * gdb.python/py-bad-printers.exp
13058 * gdb.python/py-block.exp
13059 * gdb.python/py-breakpoint-create-fail.exp
13060 * gdb.python/py-breakpoint.exp
13061 * gdb.python/py-caller-is.exp
13062 * gdb.python/py-cmd.exp
13063 * gdb.python/py-explore-cc.exp
13064 * gdb.python/py-explore.exp
13065 * gdb.python/py-finish-breakpoint.exp
13066 * gdb.python/py-finish-breakpoint2.exp
13067 * gdb.python/py-frame-args.exp
13068 * gdb.python/py-frame-inline.exp
13069 * gdb.python/py-frame.exp
13070 * gdb.python/py-framefilter-mi.exp
13071 * gdb.python/py-infthread.exp
13072 * gdb.python/py-lazy-string.exp
13073 * gdb.python/py-linetable.exp
13074 * gdb.python/py-mi-events.exp
13075 * gdb.python/py-mi-objfile.exp
13076 * gdb.python/py-mi.exp
13077 * gdb.python/py-objfile.exp
13078 * gdb.python/py-pp-integral.exp
13079 * gdb.python/py-pp-maint.exp
13080 * gdb.python/py-pp-re-notag.exp
13081 * gdb.python/py-pp-registration.exp
13082 * gdb.python/py-recurse-unwind.exp
13083 * gdb.python/py-strfns.exp
13084 * gdb.python/py-symbol.exp
13085 * gdb.python/py-symtab.exp
13086 * gdb.python/py-sync-interp.exp
13087 * gdb.python/py-typeprint.exp
13088 * gdb.python/py-unwind-maint.exp
13089 * gdb.python/py-unwind.exp
13090 * gdb.python/py-value-cc.exp
13091 * gdb.python/py-xmethods.exp
13092 * gdb.reverse/amd64-tailcall-reverse.exp
13093 * gdb.reverse/break-precsave.exp
13094 * gdb.reverse/break-reverse.exp
13095 * gdb.reverse/consecutive-precsave.exp
13096 * gdb.reverse/consecutive-reverse.exp
13097 * gdb.reverse/finish-precsave.exp
13098 * gdb.reverse/finish-reverse-bkpt.exp
13099 * gdb.reverse/finish-reverse.exp
13100 * gdb.reverse/fstatat-reverse.exp
13101 * gdb.reverse/getresuid-reverse.exp
13102 * gdb.reverse/i386-precsave.exp
13103 * gdb.reverse/i386-reverse.exp
13104 * gdb.reverse/i386-sse-reverse.exp
13105 * gdb.reverse/i387-env-reverse.exp
13106 * gdb.reverse/i387-stack-reverse.exp
13107 * gdb.reverse/insn-reverse.exp
13108 * gdb.reverse/machinestate-precsave.exp
13109 * gdb.reverse/machinestate.exp
13110 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13111 * gdb.reverse/pipe-reverse.exp
13112 * gdb.reverse/readv-reverse.exp
13113 * gdb.reverse/recvmsg-reverse.exp
13114 * gdb.reverse/rerun-prec.exp
13115 * gdb.reverse/s390-mvcle.exp
13116 * gdb.reverse/step-precsave.exp
13117 * gdb.reverse/step-reverse.exp
13118 * gdb.reverse/time-reverse.exp
13119 * gdb.reverse/until-precsave.exp
13120 * gdb.reverse/until-reverse.exp
13121 * gdb.reverse/waitpid-reverse.exp
13122 * gdb.reverse/watch-precsave.exp
13123 * gdb.reverse/watch-reverse.exp
13124 * gdb.rust/generics.exp
13125 * gdb.rust/methods.exp
13126 * gdb.rust/modules.exp
13127 * gdb.rust/simple.exp
13128 * gdb.server/connect-with-no-symbol-file.exp
13129 * gdb.server/ext-attach.exp
13130 * gdb.server/ext-restart.exp
13131 * gdb.server/ext-wrapper.exp
13132 * gdb.server/file-transfer.exp
13133 * gdb.server/server-exec-info.exp
13134 * gdb.server/server-kill.exp
13135 * gdb.server/server-mon.exp
13136 * gdb.server/wrapper.exp
13137 * gdb.stabs/exclfwd.exp
13138 * gdb.stabs/gdb11479.exp
13139 * gdb.threads/clone-new-thread-event.exp
13140 * gdb.threads/corethreads.exp
13141 * gdb.threads/current-lwp-dead.exp
13142 * gdb.threads/dlopen-libpthread.exp
13143 * gdb.threads/gcore-thread.exp
13144 * gdb.threads/sigstep-threads.exp
13145 * gdb.threads/watchpoint-fork.exp
13146 * gdb.trace/actions-changed.exp
13147 * gdb.trace/backtrace.exp
13148 * gdb.trace/change-loc.exp
13149 * gdb.trace/circ.exp
13150 * gdb.trace/collection.exp
13151 * gdb.trace/disconnected-tracing.exp
13152 * gdb.trace/ftrace.exp
13153 * gdb.trace/mi-trace-frame-collected.exp
13154 * gdb.trace/mi-trace-unavailable.exp
13155 * gdb.trace/mi-traceframe-changed.exp
13156 * gdb.trace/mi-tsv-changed.exp
13157 * gdb.trace/no-attach-trace.exp
13158 * gdb.trace/passc-dyn.exp
13159 * gdb.trace/qtro.exp
13160 * gdb.trace/range-stepping.exp
13161 * gdb.trace/read-memory.exp
13162 * gdb.trace/save-trace.exp
13163 * gdb.trace/signal.exp
13164 * gdb.trace/status-stop.exp
13165 * gdb.trace/tfile.exp
13166 * gdb.trace/trace-break.exp
13167 * gdb.trace/trace-buffer-size.exp
13168 * gdb.trace/trace-condition.exp
13169 * gdb.trace/tracefile-pseudo-reg.exp
13170 * gdb.trace/tstatus.exp
13171 * gdb.trace/unavailable.exp
13172 * gdb.trace/while-dyn.exp
13173 * gdb.trace/while-stepping.exp
13174
34c41c68
DE
131752016-12-22 Doug Evans <xdje42@gmail.com>
13176
13177 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13178 and msymbols.
13179
16e69324
YQ
131802016-12-19 Yao Qi <yao.qi@linaro.org>
13181
13182 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13183 (test_with_self): Don't call do_steps_and_nexts, and remove
13184 code about stepping into xmalloc.
13185
f94f411b
YQ
131862016-12-09 Yao Qi <yao.qi@linaro.org>
13187
13188 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13189
131902016-12-09 Yao Qi <yao.qi@linaro.org>
13191
13192 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13193
f1b5deee
PA
131942016-12-09 Pedro Alves <palves@redhat.com>
13195
13196 * gdb.base/all-architectures-0.exp: New file.
13197 * gdb.base/all-architectures-1.exp: New file.
13198 * gdb.base/all-architectures-2.exp: New file.
13199 * gdb.base/all-architectures-3.exp: New file.
13200 * gdb.base/all-architectures-4.exp: New file.
13201 * gdb.base/all-architectures-5.exp: New file.
13202 * gdb.base/all-architectures-6.exp: New file.
13203 * gdb.base/all-architectures-7.exp: New file.
13204 * gdb.base/all-architectures.exp.in: New file.
13205
364ca42e
YQ
132062016-12-09 Yao Qi <yao.qi@linaro.org>
13207
13208 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13209
107c2d62
LM
132102016-12-02 Luis Machado <lgustavo@codesourcery.com>
13211
13212 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13213 possible.
13214 Remove useless pattern-matching code.
13215
df3ee9ca
PA
132162016-12-02 Pedro Alves <palves@redhat.com>
13217
13218 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13219 procedure.
13220 (top level): Call it.
13221
ec835369
PA
132222016-12-02 Pedro Alves <palves@redhat.com>
13223
13224 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13225 New procedure.
13226 (top level): Call it.
13227
01770bbd
PA
132282016-12-02 Pedro Alves <palves@redhat.com>
13229
13230 PR cli/20559
13231 * gdb.base/commands.exp (user_defined_command_args_eval): New
13232 procedure.
13233 (top level): Call it.
13234
008459ea
LM
132352016-12-02 Luis Machado <lgustavo@codesourcery.com>
13236
13237 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13238 timeout handling.
13239
0c1b455e
TT
132402016-12-02 Tom Tromey <tom@tromey.com>
13241
13242 * gdb.dwarf2/main-subprogram.c: New file.
13243 * gdb.dwarf2/main-subprogram.exp: New file.
13244
018572b8
LM
132452016-12-01 Luis Machado <lgustavo@codesourcery.com>
13246
13247 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13248 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13249 gdb_test_no_output for a couple of cases.
13250 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13251
84c93cd5
LM
132522016-12-01 Luis Machado <lgustavo@codesourcery.com>
13253
13254 Fix test names and standardize compilation error messages throughout
13255 the following files:
13256
13257 * gdb.ada/start.exp
13258 * gdb.arch/alpha-step.exp
13259 * gdb.arch/e500-prologue.exp
13260 * gdb.arch/ftrace-insn-reloc.exp
13261 * gdb.arch/gdb1291.exp
13262 * gdb.arch/gdb1431.exp
13263 * gdb.arch/gdb1558.exp
13264 * gdb.arch/i386-dr3-watch.exp
13265 * gdb.arch/i386-sse-stack-align.exp
13266 * gdb.arch/ia64-breakpoint-shadow.exp
13267 * gdb.arch/pa-nullify.exp
13268 * gdb.arch/powerpc-aix-prologue.exp
13269 * gdb.arch/thumb-bx-pc.exp
13270 * gdb.base/annota1.exp
13271 * gdb.base/annota3.exp
13272 * gdb.base/arrayidx.exp
13273 * gdb.base/assign.exp
13274 * gdb.base/attach.exp
13275 * gdb.base/auxv.exp
13276 * gdb.base/bang.exp
13277 * gdb.base/bfp-test.exp
13278 * gdb.base/bigcore.exp
13279 * gdb.base/bitfields2.exp
13280 * gdb.base/break-fun-addr.exp
13281 * gdb.base/break-probes.exp
13282 * gdb.base/call-rt-st.exp
13283 * gdb.base/callexit.exp
13284 * gdb.base/catch-fork-kill.exp
13285 * gdb.base/charset.exp
13286 * gdb.base/checkpoint.exp
13287 * gdb.base/comprdebug.exp
13288 * gdb.base/constvars.exp
13289 * gdb.base/coredump-filter.exp
13290 * gdb.base/cursal.exp
13291 * gdb.base/cvexpr.exp
13292 * gdb.base/detach.exp
13293 * gdb.base/display.exp
13294 * gdb.base/dmsym.exp
13295 * gdb.base/dprintf-pending.exp
13296 * gdb.base/dso2dso.exp
13297 * gdb.base/dtrace-probe.exp
13298 * gdb.base/dump.exp
13299 * gdb.base/enum_cond.exp
13300 * gdb.base/exe-lock.exp
13301 * gdb.base/exec-invalid-sysroot.exp
13302 * gdb.base/execl-update-breakpoints.exp
13303 * gdb.base/exprs.exp
13304 * gdb.base/fileio.exp
13305 * gdb.base/find.exp
13306 * gdb.base/finish.exp
13307 * gdb.base/fixsection.exp
13308 * gdb.base/foll-vfork.exp
13309 * gdb.base/frame-args.exp
13310 * gdb.base/gcore.exp
13311 * gdb.base/gdb1250.exp
13312 * gdb.base/global-var-nested-by-dso.exp
13313 * gdb.base/gnu-ifunc.exp
13314 * gdb.base/hashline1.exp
13315 * gdb.base/hashline2.exp
13316 * gdb.base/hashline3.exp
13317 * gdb.base/hbreak-in-shr-unsupported.exp
13318 * gdb.base/huge.exp
13319 * gdb.base/infcall-input.exp
13320 * gdb.base/info-fun.exp
13321 * gdb.base/info-shared.exp
13322 * gdb.base/jit-simple.exp
13323 * gdb.base/jit-so.exp
13324 * gdb.base/jit.exp
13325 * gdb.base/jump.exp
13326 * gdb.base/label.exp
13327 * gdb.base/lineinc.exp
13328 * gdb.base/logical.exp
13329 * gdb.base/longjmp.exp
13330 * gdb.base/macscp.exp
13331 * gdb.base/miscexprs.exp
13332 * gdb.base/new-ui-echo.exp
13333 * gdb.base/new-ui-pending-input.exp
13334 * gdb.base/new-ui.exp
13335 * gdb.base/nodebug.exp
13336 * gdb.base/nofield.exp
13337 * gdb.base/offsets.exp
13338 * gdb.base/overlays.exp
13339 * gdb.base/pending.exp
13340 * gdb.base/pointers.exp
13341 * gdb.base/pr11022.exp
13342 * gdb.base/printcmds.exp
13343 * gdb.base/prologue.exp
13344 * gdb.base/ptr-typedef.exp
13345 * gdb.base/realname-expand.exp
13346 * gdb.base/relativedebug.exp
13347 * gdb.base/relocate.exp
13348 * gdb.base/remote.exp
13349 * gdb.base/reread.exp
13350 * gdb.base/return2.exp
13351 * gdb.base/savedregs.exp
13352 * gdb.base/sep.exp
13353 * gdb.base/sepdebug.exp
13354 * gdb.base/sepsymtab.exp
13355 * gdb.base/set-inferior-tty.exp
13356 * gdb.base/setshow.exp
13357 * gdb.base/shlib-call.exp
13358 * gdb.base/sigaltstack.exp
13359 * gdb.base/siginfo-addr.exp
13360 * gdb.base/signals.exp
13361 * gdb.base/signull.exp
13362 * gdb.base/sigrepeat.exp
13363 * gdb.base/so-impl-ld.exp
13364 * gdb.base/solib-display.exp
13365 * gdb.base/solib-overlap.exp
13366 * gdb.base/solib-search.exp
13367 * gdb.base/solib-symbol.exp
13368 * gdb.base/structs.exp
13369 * gdb.base/structs2.exp
13370 * gdb.base/symtab-search-order.exp
13371 * gdb.base/twice.exp
13372 * gdb.base/unload.exp
13373 * gdb.base/varargs.exp
13374 * gdb.base/watchpoint-solib.exp
13375 * gdb.base/watchpoint.exp
13376 * gdb.base/whatis.exp
13377 * gdb.base/wrong_frame_bt_full.exp
13378 * gdb.btrace/dlopen.exp
13379 * gdb.cell/ea-standalone.exp
13380 * gdb.cell/ea-test.exp
13381 * gdb.cp/dispcxx.exp
13382 * gdb.cp/gdb2384.exp
13383 * gdb.cp/method2.exp
13384 * gdb.cp/nextoverthrow.exp
13385 * gdb.cp/pr10728.exp
13386 * gdb.disasm/am33.exp
13387 * gdb.disasm/h8300s.exp
13388 * gdb.disasm/mn10300.exp
13389 * gdb.disasm/sh3.exp
13390 * gdb.dwarf2/dw2-dir-file-name.exp
13391 * gdb.fortran/complex.exp
13392 * gdb.fortran/library-module.exp
13393 * gdb.guile/scm-pretty-print.exp
13394 * gdb.guile/scm-symbol.exp
13395 * gdb.guile/scm-type.exp
13396 * gdb.guile/scm-value.exp
13397 * gdb.linespec/linespec.exp
13398 * gdb.mi/gdb701.exp
13399 * gdb.mi/gdb792.exp
13400 * gdb.mi/mi-breakpoint-changed.exp
13401 * gdb.mi/mi-dprintf-pending.exp
13402 * gdb.mi/mi-dprintf.exp
13403 * gdb.mi/mi-exit-code.exp
13404 * gdb.mi/mi-pending.exp
13405 * gdb.mi/mi-solib.exp
13406 * gdb.mi/new-ui-mi-sync.exp
13407 * gdb.mi/pr11022.exp
13408 * gdb.mi/user-selected-context-sync.exp
13409 * gdb.opt/solib-intra-step.exp
13410 * gdb.python/py-events.exp
13411 * gdb.python/py-finish-breakpoint.exp
13412 * gdb.python/py-mi.exp
13413 * gdb.python/py-prettyprint.exp
13414 * gdb.python/py-shared.exp
13415 * gdb.python/py-symbol.exp
13416 * gdb.python/py-template.exp
13417 * gdb.python/py-type.exp
13418 * gdb.python/py-value.exp
13419 * gdb.reverse/solib-precsave.exp
13420 * gdb.reverse/solib-reverse.exp
13421 * gdb.server/solib-list.exp
13422 * gdb.stabs/weird.exp
13423 * gdb.threads/reconnect-signal.exp
13424 * gdb.threads/stepi-random-signal.exp
13425 * gdb.trace/actions.exp
13426 * gdb.trace/ax.exp
13427 * gdb.trace/backtrace.exp
13428 * gdb.trace/change-loc.exp
13429 * gdb.trace/deltrace.exp
13430 * gdb.trace/ftrace-lock.exp
13431 * gdb.trace/ftrace.exp
13432 * gdb.trace/infotrace.exp
13433 * gdb.trace/mi-tracepoint-changed.exp
13434 * gdb.trace/packetlen.exp
13435 * gdb.trace/passcount.exp
13436 * gdb.trace/pending.exp
13437 * gdb.trace/range-stepping.exp
13438 * gdb.trace/report.exp
13439 * gdb.trace/stap-trace.exp
13440 * gdb.trace/tfind.exp
13441 * gdb.trace/trace-break.exp
13442 * gdb.trace/trace-condition.exp
13443 * gdb.trace/trace-enable-disable.exp
13444 * gdb.trace/trace-mt.exp
13445 * gdb.trace/tracecmd.exp
13446 * gdb.trace/tspeed.exp
13447 * gdb.trace/tsv.exp
13448 * lib/perftest.exp
13449
fb9feb35
LM
134502016-12-01 Luis Machado <lgustavo@codesourcery.com>
13451
13452 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13453 with gdb_test_no_output.
13454 Use command as test name.
13455
cd2ddb6c
LM
134562016-12-01 Luis Machado <lgustavo@codesourcery.com>
13457
13458 Fix test names starting with uppercase throughout the files.
13459
13460 * gdb.ada/assign_1.exp
13461 * gdb.ada/boolean_expr.exp
13462 * gdb.base/arrayidx.exp
13463 * gdb.base/del.exp
13464 * gdb.base/gcore-buffer-overflow.exp
13465 * gdb.base/testenv.exp
13466 * gdb.compile/compile.exp
13467 * gdb.python/py-framefilter-invalidarg.exp
13468 * gdb.python/py-framefilter.exp
13469
bb95117e
LM
134702016-12-01 Luis Machado <lgustavo@codesourcery.com>
13471
13472 Fix test names starting with uppercase throughout the files.
13473
13474 * gdb.ada/array_return.exp
13475 * gdb.ada/expr_delims.exp
13476 * gdb.ada/mi_dyn_arr.exp
13477 * gdb.ada/mi_interface.exp
13478 * gdb.ada/mi_var_array.exp
13479 * gdb.ada/watch_arg.exp
13480 * gdb.arch/alpha-step.exp
13481 * gdb.arch/altivec-regs.exp
13482 * gdb.arch/e500-regs.exp
13483 * gdb.arch/powerpc-d128-regs.exp
13484 * gdb.base/arrayidx.exp
13485 * gdb.base/break.exp
13486 * gdb.base/checkpoint.exp
13487 * gdb.base/debug-expr.exp
13488 * gdb.base/dmsym.exp
13489 * gdb.base/radix.exp
13490 * gdb.base/sepdebug.exp
13491 * gdb.base/testenv.exp
13492 * gdb.base/watch_thread_num.exp
13493 * gdb.base/watchpoint-cond-gone.exp
13494 * gdb.cell/break.exp
13495 * gdb.cell/ea-cache.exp
13496 * gdb.compile/compile.exp
13497 * gdb.cp/gdb2495.exp
13498 * gdb.gdb/selftest.exp
13499 * gdb.gdb/xfullpath.exp
13500 * gdb.go/hello.exp
13501 * gdb.go/integers.exp
13502 * gdb.objc/basicclass.exp
13503 * gdb.pascal/hello.exp
13504 * gdb.pascal/integers.exp
13505 * gdb.python/py-breakpoint.exp
13506 * gdb.python/py-cmd.exp
13507 * gdb.python/py-linetable.exp
13508 * gdb.python/py-xmethods.exp
13509 * gdb.python/python.exp
13510 * gdb.reverse/consecutive-precsave.exp
13511 * gdb.reverse/finish-precsave.exp
13512 * gdb.reverse/i386-precsave.exp
13513 * gdb.reverse/machinestate-precsave.exp
13514 * gdb.reverse/sigall-precsave.exp
13515 * gdb.reverse/solib-precsave.exp
13516 * gdb.reverse/step-precsave.exp
13517 * gdb.reverse/until-precsave.exp
13518 * gdb.reverse/watch-precsave.exp
13519 * gdb.threads/leader-exit.exp
13520 * gdb.threads/pthreads.exp
13521 * gdb.threads/wp-replication.exp
13522 * gdb.trace/actions.exp
13523 * gdb.trace/mi-tsv-changed.exp
13524 * gdb.trace/tsv.exp
13525
de97fdd4
LM
135262016-12-01 Luis Machado <lgustavo@codesourcery.com>
13527
13528 Fix test names starting with uppercase throughout the files.
13529
13530 * gdb.arch/i386-bp_permanent.exp
13531 * gdb.arch/i386-gnu-cfi.exp
13532 * gdb.base/disasm-end-cu.exp
13533 * gdb.base/macscp.exp
13534 * gdb.base/pending.exp
13535 * gdb.base/watch_thread_num.exp
13536 * gdb.cp/exception.exp
13537 * gdb.cp/gdb2495.exp
13538 * gdb.cp/local.exp
13539 * gdb.python/py-evsignal.exp
13540 * gdb.python/python.exp
13541 * gdb.trace/tracecmd.exp
13542
9f058c10
LM
135432016-12-01 Luis Machado <lgustavo@codesourcery.com>
13544
13545 Fix test names starting with uppercase throughout the files.
13546
13547 * gdb.base/charset.exp
13548 * gdb.base/eval.exp
13549 * gdb.base/multi-forks.exp
13550 * gdb.guile/scm-progspace.exp
13551 * gdb.opencl/datatypes.exp
13552 * gdb.python/py-block.exp
13553 * gdb.python/py-function.exp
13554 * gdb.python/py-symbol.exp
13555 * gdb.python/py-symtab.exp
13556 * gdb.python/py-xmethods.exp
13557 * gdb.reverse/break-precsave.exp
13558 * gdb.reverse/break-reverse.exp
13559 * gdb.reverse/consecutive-precsave.exp
13560 * gdb.reverse/consecutive-reverse.exp
13561 * gdb.reverse/finish-precsave.exp
13562 * gdb.reverse/finish-reverse-bkpt.exp
13563 * gdb.reverse/finish-reverse.exp
13564 * gdb.reverse/fstatat-reverse.exp
13565 * gdb.reverse/getresuid-reverse.exp
13566 * gdb.reverse/i386-precsave.exp
13567 * gdb.reverse/i386-reverse.exp
13568 * gdb.reverse/i386-sse-reverse.exp
13569 * gdb.reverse/i387-stack-reverse.exp
13570 * gdb.reverse/insn-reverse.exp
13571 * gdb.reverse/machinestate-precsave.exp
13572 * gdb.reverse/machinestate.exp
13573 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13574 * gdb.reverse/pipe-reverse.exp
13575 * gdb.reverse/readv-reverse.exp
13576 * gdb.reverse/recvmsg-reverse.exp
13577 * gdb.reverse/rerun-prec.exp
13578 * gdb.reverse/s390-mvcle.exp
13579 * gdb.reverse/sigall-precsave.exp
13580 * gdb.reverse/sigall-reverse.exp
13581 * gdb.reverse/solib-precsave.exp
13582 * gdb.reverse/solib-reverse.exp
13583 * gdb.reverse/step-precsave.exp
13584 * gdb.reverse/step-reverse.exp
13585 * gdb.reverse/time-reverse.exp
13586 * gdb.reverse/until-precsave.exp
13587 * gdb.reverse/until-reverse.exp
13588 * gdb.reverse/waitpid-reverse.exp
13589 * gdb.reverse/watch-precsave.exp
13590 * gdb.reverse/watch-reverse.exp
13591
cdc7edd7
LM
135922016-12-01 Luis Machado <lgustavo@codesourcery.com>
13593
13594 Fix test names starting with uppercase throughout the files.
13595
13596 * gdb.arch/i386-mpx-simple_segv.exp
13597 * gdb.arch/i386-mpx.exp
13598 * gdb.arch/i386-permbkpt.exp
13599 * gdb.arch/pa-nullify.exp
13600 * gdb.arch/powerpc-d128-regs.exp
13601 * gdb.arch/vsx-regs.exp
13602 * gdb.base/bfp-test.exp
13603 * gdb.base/break.exp
13604 * gdb.base/breakpoint-shadow.exp
13605 * gdb.base/callfuncs.exp
13606 * gdb.base/charset.exp
13607 * gdb.base/commands.exp
13608 * gdb.base/completion.exp
13609 * gdb.base/dfp-test.exp
13610 * gdb.base/echo.exp
13611 * gdb.base/ending-run.exp
13612 * gdb.base/eval.exp
13613 * gdb.base/expand-psymtabs.exp
13614 * gdb.base/float128.exp
13615 * gdb.base/floatn.exp
13616 * gdb.base/foll-exec-mode.exp
13617 * gdb.base/gdb1056.exp
13618 * gdb.base/gdb11531.exp
13619 * gdb.base/kill-after-signal.exp
13620 * gdb.base/multi-forks.exp
13621 * gdb.base/overlays.exp
13622 * gdb.base/pending.exp
13623 * gdb.base/sepdebug.exp
13624 * gdb.base/testenv.exp
13625 * gdb.base/valgrind-db-attach.exp
13626 * gdb.base/watch_thread_num.exp
13627 * gdb.base/watchpoint-cond-gone.exp
13628 * gdb.base/watchpoint.exp
13629 * gdb.base/watchpoints.exp
13630 * gdb.cp/arg-reference.exp
13631 * gdb.cp/baseenum.exp
13632 * gdb.cp/operator.exp
13633 * gdb.cp/shadow.exp
13634 * gdb.dwarf2/dw2-op-out-param.exp
13635 * gdb.dwarf2/dw2-reg-undefined.exp
13636 * gdb.go/chan.exp
13637 * gdb.go/hello.exp
13638 * gdb.go/integers.exp
13639 * gdb.go/methods.exp
13640 * gdb.go/package.exp
13641 * gdb.guile/scm-parameter.exp
13642 * gdb.guile/scm-progspace.exp
13643 * gdb.guile/scm-value.exp
13644 * gdb.mi/mi-pending.exp
13645 * gdb.mi/user-selected-context-sync.exp
13646 * gdb.multi/multi-attach.exp
13647 * gdb.multi/tids.exp
13648 * gdb.opt/clobbered-registers-O2.exp
13649 * gdb.pascal/floats.exp
13650 * gdb.pascal/integers.exp
13651 * gdb.python/py-block.exp
13652 * gdb.python/py-events.exp
13653 * gdb.python/py-parameter.exp
13654 * gdb.python/py-symbol.exp
13655 * gdb.python/py-symtab.exp
13656 * gdb.python/py-type.exp
13657 * gdb.python/py-value.exp
13658 * gdb.python/py-xmethods.exp
13659 * gdb.python/python.exp
13660 * gdb.reverse/break-precsave.exp
13661 * gdb.reverse/consecutive-precsave.exp
13662 * gdb.reverse/finish-precsave.exp
13663 * gdb.reverse/i386-precsave.exp
13664 * gdb.reverse/machinestate-precsave.exp
13665 * gdb.reverse/sigall-precsave.exp
13666 * gdb.reverse/solib-precsave.exp
13667 * gdb.reverse/step-precsave.exp
13668 * gdb.reverse/until-precsave.exp
13669 * gdb.reverse/watch-precsave.exp
13670 * gdb.server/ext-attach.exp
13671 * gdb.server/ext-restart.exp
13672 * gdb.server/ext-run.exp
13673 * gdb.server/ext-wrapper.exp
13674 * gdb.stabs/gdb11479.exp
13675 * gdb.stabs/weird.exp
13676 * gdb.threads/attach-many-short-lived-threads.exp
13677 * gdb.threads/kill.exp
13678 * gdb.threads/watchpoint-fork.exp
13679
bc6c7af4
LM
136802016-12-01 Luis Machado <lgustavo@codesourcery.com>
13681
13682 Fix test names starting with uppercase throughout all the files below.
13683
13684 * gdb.ada/array_return.exp
13685 * gdb.ada/catch_ex.exp
13686 * gdb.ada/info_exc.exp
13687 * gdb.ada/mi_catch_ex.exp
13688 * gdb.ada/mi_dyn_arr.exp
13689 * gdb.ada/mi_ex_cond.exp
13690 * gdb.ada/mi_exc_info.exp
13691 * gdb.ada/mi_interface.exp
13692 * gdb.ada/mi_task_arg.exp
13693 * gdb.ada/mi_task_info.exp
13694 * gdb.ada/mi_var_array.exp
13695 * gdb.arch/alpha-step.exp
13696 * gdb.arch/amd64-disp-step.exp
13697 * gdb.arch/arm-disp-step.exp
13698 * gdb.arch/disp-step-insn-reloc.exp
13699 * gdb.arch/e500-prologue.exp
13700 * gdb.arch/ftrace-insn-reloc.exp
13701 * gdb.arch/gdb1558.exp
13702 * gdb.arch/i386-bp_permanent.exp
13703 * gdb.arch/i386-disp-step.exp
13704 * gdb.arch/i386-float.exp
13705 * gdb.arch/i386-gnu-cfi.exp
13706 * gdb.arch/ia64-breakpoint-shadow.exp
13707 * gdb.arch/mips16-thunks.exp
13708 * gdb.arch/pa-nullify.exp
13709 * gdb.arch/powerpc-aix-prologue.exp
13710 * gdb.arch/powerpc-power.exp
13711 * gdb.arch/ppc-dfp.exp
13712 * gdb.arch/s390-tdbregs.exp
13713 * gdb.arch/spu-info.exp
13714 * gdb.arch/spu-ls.exp
13715 * gdb.arch/thumb-bx-pc.exp
13716 * gdb.base/advance.exp
13717 * gdb.base/annota-input-while-running.exp
13718 * gdb.base/arrayidx.exp
13719 * gdb.base/asmlabel.exp
13720 * gdb.base/async.exp
13721 * gdb.base/attach-wait-input.exp
13722 * gdb.base/auto-connect-native-target.exp
13723 * gdb.base/batch-preserve-term-settings.exp
13724 * gdb.base/bfp-test.exp
13725 * gdb.base/bigcore.exp
13726 * gdb.base/bp-permanent.exp
13727 * gdb.base/break-always.exp
13728 * gdb.base/break-fun-addr.exp
13729 * gdb.base/break-idempotent.exp
13730 * gdb.base/break-main-file-remove-fail.exp
13731 * gdb.base/break-probes.exp
13732 * gdb.base/break-unload-file.exp
13733 * gdb.base/break.exp
13734 * gdb.base/call-ar-st.exp
13735 * gdb.base/call-rt-st.exp
13736 * gdb.base/call-sc.exp
13737 * gdb.base/call-signal-resume.exp
13738 * gdb.base/call-strs.exp
13739 * gdb.base/callexit.exp
13740 * gdb.base/callfuncs.exp
13741 * gdb.base/catch-gdb-caused-signals.exp
13742 * gdb.base/catch-signal-siginfo-cond.exp
13743 * gdb.base/catch-syscall.exp
13744 * gdb.base/compare-sections.exp
13745 * gdb.base/cond-eval-mode.exp
13746 * gdb.base/condbreak-call-false.exp
13747 * gdb.base/consecutive-step-over.exp
13748 * gdb.base/cursal.exp
13749 * gdb.base/disabled-location.exp
13750 * gdb.base/disasm-end-cu.exp
13751 * gdb.base/display.exp
13752 * gdb.base/double-prompt-target-event-error.exp
13753 * gdb.base/dprintf-bp-same-addr.exp
13754 * gdb.base/dprintf-detach.exp
13755 * gdb.base/dprintf-next.exp
13756 * gdb.base/dprintf-non-stop.exp
13757 * gdb.base/dprintf-pending.exp
13758 * gdb.base/dso2dso.exp
13759 * gdb.base/ending-run.exp
13760 * gdb.base/enum_cond.exp
13761 * gdb.base/examine-backward.exp
13762 * gdb.base/exe-lock.exp
13763 * gdb.base/exec-invalid-sysroot.exp
13764 * gdb.base/execl-update-breakpoints.exp
13765 * gdb.base/execution-termios.exp
13766 * gdb.base/fileio.exp
13767 * gdb.base/fixsection.exp
13768 * gdb.base/foll-exec-mode.exp
13769 * gdb.base/foll-exec.exp
13770 * gdb.base/fork-running-state.exp
13771 * gdb.base/frame-args.exp
13772 * gdb.base/fullpath-expand.exp
13773 * gdb.base/func-ptr.exp
13774 * gdb.base/gcore-relro-pie.exp
13775 * gdb.base/gdb1090.exp
13776 * gdb.base/gdb1555.exp
13777 * gdb.base/global-var-nested-by-dso.exp
13778 * gdb.base/gnu-ifunc.exp
13779 * gdb.base/hbreak-in-shr-unsupported.exp
13780 * gdb.base/hbreak-unmapped.exp
13781 * gdb.base/hook-stop.exp
13782 * gdb.base/infcall-input.exp
13783 * gdb.base/info-fun.exp
13784 * gdb.base/info-shared.exp
13785 * gdb.base/interrupt-noterm.exp
13786 * gdb.base/jit-so.exp
13787 * gdb.base/jit.exp
13788 * gdb.base/line-symtabs.exp
13789 * gdb.base/list.exp
13790 * gdb.base/longjmp.exp
13791 * gdb.base/macscp.exp
13792 * gdb.base/max-value-size.exp
13793 * gdb.base/nodebug.exp
13794 * gdb.base/nofield.exp
13795 * gdb.base/overlays.exp
13796 * gdb.base/paginate-after-ctrl-c-running.exp
13797 * gdb.base/paginate-bg-execution.exp
13798 * gdb.base/paginate-inferior-exit.exp
13799 * gdb.base/pending.exp
13800 * gdb.base/pr11022.exp
13801 * gdb.base/printcmds.exp
13802 * gdb.base/ptr-typedef.exp
13803 * gdb.base/ptype.exp
13804 * gdb.base/randomize.exp
13805 * gdb.base/range-stepping.exp
13806 * gdb.base/realname-expand.exp
13807 * gdb.base/relativedebug.exp
13808 * gdb.base/remote.exp
13809 * gdb.base/savedregs.exp
13810 * gdb.base/sepdebug.exp
13811 * gdb.base/set-noassign.exp
13812 * gdb.base/shlib-call.exp
13813 * gdb.base/shreloc.exp
13814 * gdb.base/sigaltstack.exp
13815 * gdb.base/sigbpt.exp
13816 * gdb.base/siginfo-addr.exp
13817 * gdb.base/siginfo-obj.exp
13818 * gdb.base/siginfo-thread.exp
13819 * gdb.base/signest.exp
13820 * gdb.base/signull.exp
13821 * gdb.base/sigrepeat.exp
13822 * gdb.base/skip.exp
13823 * gdb.base/so-impl-ld.exp
13824 * gdb.base/solib-corrupted.exp
13825 * gdb.base/solib-disc.exp
13826 * gdb.base/solib-display.exp
13827 * gdb.base/solib-overlap.exp
13828 * gdb.base/solib-search.exp
13829 * gdb.base/solib-symbol.exp
13830 * gdb.base/source-execution.exp
13831 * gdb.base/sss-bp-on-user-bp-2.exp
13832 * gdb.base/sss-bp-on-user-bp.exp
13833 * gdb.base/stack-checking.exp
13834 * gdb.base/stale-infcall.exp
13835 * gdb.base/step-break.exp
13836 * gdb.base/step-line.exp
13837 * gdb.base/step-over-exit.exp
13838 * gdb.base/step-test.exp
13839 * gdb.base/structs.exp
13840 * gdb.base/sym-file.exp
13841 * gdb.base/symtab-search-order.exp
13842 * gdb.base/term.exp
13843 * gdb.base/type-opaque.exp
13844 * gdb.base/unload.exp
13845 * gdb.base/until-nodebug.exp
13846 * gdb.base/until.exp
13847 * gdb.base/unwindonsignal.exp
13848 * gdb.base/watch-cond.exp
13849 * gdb.base/watch-non-mem.exp
13850 * gdb.base/watch_thread_num.exp
13851 * gdb.base/watchpoint-reuse-slot.exp
13852 * gdb.base/watchpoint-solib.exp
13853 * gdb.base/watchpoint.exp
13854 * gdb.btrace/dlopen.exp
13855 * gdb.cell/arch.exp
13856 * gdb.cell/break.exp
13857 * gdb.cell/bt.exp
13858 * gdb.cell/core.exp
13859 * gdb.cell/data.exp
13860 * gdb.cell/dwarfaddr.exp
13861 * gdb.cell/ea-cache.exp
13862 * gdb.cell/ea-standalone.exp
13863 * gdb.cell/ea-test.exp
13864 * gdb.cell/f-regs.exp
13865 * gdb.cell/fork.exp
13866 * gdb.cell/gcore.exp
13867 * gdb.cell/mem-access.exp
13868 * gdb.cell/ptype.exp
13869 * gdb.cell/registers.exp
13870 * gdb.cell/sizeof.exp
13871 * gdb.cell/solib-symbol.exp
13872 * gdb.cell/solib.exp
13873 * gdb.compile/compile-tls.exp
13874 * gdb.cp/exception.exp
13875 * gdb.cp/gdb2495.exp
13876 * gdb.cp/local.exp
13877 * gdb.cp/mb-inline.exp
13878 * gdb.cp/mb-templates.exp
13879 * gdb.cp/pr10687.exp
13880 * gdb.cp/pr9167.exp
13881 * gdb.cp/scope-err.exp
13882 * gdb.cp/templates.exp
13883 * gdb.cp/virtfunc.exp
13884 * gdb.dwarf2/dw2-dir-file-name.exp
13885 * gdb.dwarf2/dw2-single-line-discriminators.exp
13886 * gdb.fortran/complex.exp
13887 * gdb.fortran/library-module.exp
13888 * gdb.guile/guile.exp
13889 * gdb.guile/scm-cmd.exp
13890 * gdb.guile/scm-frame-inline.exp
13891 * gdb.guile/scm-objfile.exp
13892 * gdb.guile/scm-pretty-print.exp
13893 * gdb.guile/scm-symbol.exp
13894 * gdb.guile/scm-type.exp
13895 * gdb.guile/scm-value.exp
13896 * gdb.linespec/keywords.exp
13897 * gdb.linespec/ls-errs.exp
13898 * gdb.linespec/macro-relative.exp
13899 * gdb.linespec/thread.exp
13900 * gdb.mi/mi-breakpoint-changed.exp
13901 * gdb.mi/mi-dprintf-pending.exp
13902 * gdb.mi/mi-fullname-deleted.exp
13903 * gdb.mi/mi-logging.exp
13904 * gdb.mi/mi-pending.exp
13905 * gdb.mi/mi-solib.exp
13906 * gdb.mi/new-ui-mi-sync.exp
13907 * gdb.mi/user-selected-context-sync.exp
13908 * gdb.multi/dummy-frame-restore.exp
13909 * gdb.multi/multi-arch-exec.exp
13910 * gdb.multi/remove-inferiors.exp
13911 * gdb.multi/watchpoint-multi-exit.exp
13912 * gdb.opt/solib-intra-step.exp
13913 * gdb.perf/backtrace.exp
13914 * gdb.perf/single-step.exp
13915 * gdb.perf/skip-command.exp
13916 * gdb.perf/skip-prologue.exp
13917 * gdb.perf/solib.exp
13918 * gdb.python/lib-types.exp
13919 * gdb.python/py-as-string.exp
13920 * gdb.python/py-bad-printers.exp
13921 * gdb.python/py-block.exp
13922 * gdb.python/py-breakpoint.exp
13923 * gdb.python/py-cmd.exp
13924 * gdb.python/py-events.exp
13925 * gdb.python/py-evthreads.exp
13926 * gdb.python/py-finish-breakpoint.exp
13927 * gdb.python/py-finish-breakpoint2.exp
13928 * gdb.python/py-frame-inline.exp
13929 * gdb.python/py-frame.exp
13930 * gdb.python/py-inferior.exp
13931 * gdb.python/py-infthread.exp
13932 * gdb.python/py-mi.exp
13933 * gdb.python/py-objfile.exp
13934 * gdb.python/py-pp-maint.exp
13935 * gdb.python/py-pp-registration.exp
13936 * gdb.python/py-prettyprint.exp
13937 * gdb.python/py-recurse-unwind.exp
13938 * gdb.python/py-shared.exp
13939 * gdb.python/py-symbol.exp
13940 * gdb.python/py-symtab.exp
13941 * gdb.python/py-template.exp
13942 * gdb.python/py-type.exp
13943 * gdb.python/py-unwind-maint.exp
13944 * gdb.python/py-unwind.exp
13945 * gdb.python/py-value.exp
13946 * gdb.python/python.exp
13947 * gdb.reverse/finish-reverse-bkpt.exp
13948 * gdb.reverse/insn-reverse.exp
13949 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13950 * gdb.reverse/solib-precsave.exp
13951 * gdb.reverse/solib-reverse.exp
13952 * gdb.stabs/gdb11479.exp
13953 * gdb.stabs/weird.exp
13954 * gdb.threads/fork-child-threads.exp
13955 * gdb.threads/fork-plus-threads.exp
13956 * gdb.threads/fork-thread-pending.exp
13957 * gdb.threads/forking-threads-plus-breakpoint.exp
13958 * gdb.threads/hand-call-in-threads.exp
13959 * gdb.threads/interrupted-hand-call.exp
13960 * gdb.threads/linux-dp.exp
13961 * gdb.threads/local-watch-wrong-thread.exp
13962 * gdb.threads/next-while-other-thread-longjmps.exp
13963 * gdb.threads/non-ldr-exit.exp
13964 * gdb.threads/pending-step.exp
13965 * gdb.threads/print-threads.exp
13966 * gdb.threads/process-dies-while-detaching.exp
13967 * gdb.threads/process-dies-while-handling-bp.exp
13968 * gdb.threads/pthreads.exp
13969 * gdb.threads/queue-signal.exp
13970 * gdb.threads/reconnect-signal.exp
13971 * gdb.threads/signal-command-handle-nopass.exp
13972 * gdb.threads/signal-command-multiple-signals-pending.exp
13973 * gdb.threads/signal-delivered-right-thread.exp
13974 * gdb.threads/signal-sigtrap.exp
13975 * gdb.threads/sigthread.exp
13976 * gdb.threads/staticthreads.exp
13977 * gdb.threads/stepi-random-signal.exp
13978 * gdb.threads/thread-unwindonsignal.exp
13979 * gdb.threads/thread_check.exp
13980 * gdb.threads/thread_events.exp
13981 * gdb.threads/tid-reuse.exp
13982 * gdb.threads/tls-nodebug.exp
13983 * gdb.threads/tls-shared.exp
13984 * gdb.threads/tls-so_extern.exp
13985 * gdb.threads/tls.exp
13986 * gdb.threads/wp-replication.exp
13987 * gdb.trace/actions-changed.exp
13988 * gdb.trace/actions.exp
13989 * gdb.trace/backtrace.exp
13990 * gdb.trace/change-loc.exp
13991 * gdb.trace/collection.exp
13992 * gdb.trace/deltrace.exp
13993 * gdb.trace/disconnected-tracing.exp
13994 * gdb.trace/entry-values.exp
13995 * gdb.trace/ftrace-lock.exp
13996 * gdb.trace/ftrace.exp
13997 * gdb.trace/infotrace.exp
13998 * gdb.trace/mi-trace-frame-collected.exp
13999 * gdb.trace/mi-trace-unavailable.exp
14000 * gdb.trace/mi-traceframe-changed.exp
14001 * gdb.trace/mi-tracepoint-changed.exp
14002 * gdb.trace/mi-tsv-changed.exp
14003 * gdb.trace/no-attach-trace.exp
14004 * gdb.trace/packetlen.exp
14005 * gdb.trace/passc-dyn.exp
14006 * gdb.trace/passcount.exp
14007 * gdb.trace/pending.exp
14008 * gdb.trace/pr16508.exp
14009 * gdb.trace/qtro.exp
14010 * gdb.trace/range-stepping.exp
14011 * gdb.trace/read-memory.exp
14012 * gdb.trace/report.exp
14013 * gdb.trace/save-trace.exp
14014 * gdb.trace/signal.exp
14015 * gdb.trace/stap-trace.exp
14016 * gdb.trace/status-stop.exp
14017 * gdb.trace/strace.exp
14018 * gdb.trace/tfile.exp
14019 * gdb.trace/tfind.exp
14020 * gdb.trace/trace-break.exp
14021 * gdb.trace/trace-condition.exp
14022 * gdb.trace/trace-enable-disable.exp
14023 * gdb.trace/trace-mt.exp
14024 * gdb.trace/tracecmd.exp
14025 * gdb.trace/tracefile-pseudo-reg.exp
14026 * gdb.trace/tspeed.exp
14027 * gdb.trace/tstatus.exp
14028 * gdb.trace/tsv.exp
14029 * gdb.trace/unavailable.exp
14030 * gdb.trace/while-dyn.exp
14031 * gdb.trace/while-stepping.exp
14032 * lib/gdb-guile.exp
14033 * lib/gdb.exp
14034 * lib/mi-support.exp
14035 * lib/pascal.exp
14036 * lib/perftest.exp
14037 * lib/prelink-support.exp
14038 * lib/selftest-support.exp
14039
ad02e4fe
SM
140402016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14041
14042 * Makefile.in: Include disable-implicit-rules.mk.
14043
22347e55
AA
140442016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14045
14046 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14047 non-byte-aligned bit fields.
14048
da5b30da
AA
140492016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14050
14051 PR gdb/12616
14052 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14053 respects the DW_AT_data_bit_offset attribute.
14054
b593ecca
SM
140552016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14056
14057 * gdb.base/default.exp: Fix output of "set language".
14058
3b165252
SM
140592016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14060
14061 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14062 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14063 make.
14064 * configure.ac: Remove checks for the make program.
14065 * configure: Re-generate.
14066
1a2f3d7f
KB
140672016-11-16 Kevin Buettner <kevinb@redhat.com>
14068
14069 * gdb.python/py-recurse-unwind.c (main): Add loop.
14070 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14071 to read_register() and gdb.parse_and_eval(). Make each code
14072 call a separate case that can be individually tested.
14073 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14074 proc. Call cont_and_backtrace for each of the code paths that
14075 we want to test in the unwinder.
14076
b7f38fda
AA
140772016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14078
14079 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14080 the definition of struct S.
14081
1f8db343
CM
140822016-11-11 Catherine Moore <clm@codesourcery.com>
14083
14084 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14085
fad0c9fb
PA
140862016-11-09 Pedro Alves <palves@redhat.com>
14087
14088 * gdb.base/commands.exp (runto_or_return): New procedure.
14089 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14090 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14091 (progvar_simple_while_test, progvar_complex_if_while_test)
14092 (if_while_breakpoint_command_test)
14093 (infrun_breakpoint_command_test, breakpoint_command_test)
14094 (user_defined_command_test, watchpoint_command_test)
14095 (test_command_prompt_position, redefine_hook_test)
14096 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14097 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14098 multi_line_input and multi_line. Remove gdb_expect and
14099 gdb_stop_suppressing_tests uses.
14100 * lib/gdb.exp (valnum_re): New global.
14101 (multi_line_input): New procedure.
14102
8354c62c
SM
141032016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14104
14105 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14106 Remove.
14107 (test_setup): Define with proc_with_prefix.
14108 (test_cli_inferior): Likewise.
14109 (test_cli_thread): Likewise.
14110 (test_cli_frame): Likewise.
14111 (test_cli_select_frame): Likewise.
14112 (test_cli_up_down): Likewise.
14113 (test_mi_thread_select): Likewise.
14114 (test_mi_stack_select_frame): Likewise.
14115 (test_cli_in_mi_inferior): Likewise.
14116 (test_cli_in_mi_thread): Likewise.
14117 (test_cli_in_mi_frame): Likewise.
14118 (top level): Do not use with_test_prefix_procname.
14119
64f367a2
PA
141202016-11-09 Pedro Alves <palves@redhat.com>
14121
14122 * gdb.base/commands.exp (gdbvar_simple_if_test)
14123 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14124 (progvar_simple_if_test, progvar_simple_while_test)
14125 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14126 (infrun_breakpoint_command_test, breakpoint_command_test)
14127 (user_defined_command_test, watchpoint_command_test)
14128 (test_command_prompt_position, deprecated_command_test)
14129 (bp_deleted_in_command, temporary_breakpoint_commands)
14130 (stray_arg0_test, source_file_with_indented_comment)
14131 (recursive_source_test, if_commands_test)
14132 (error_clears_commands_left, redefine_hook_test)
14133 (redefine_backtrace_test): Use proc_with_prefix.
14134 * lib/gdb.exp (proc_with_prefix): New proc.
14135
0bb65f1e
AA
141362016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14137
14138 * gdb.base/tui-layout.c: New file.
14139 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14140 disassembly window contains very long lines.
14141
7353f247
TT
141422016-11-08 Tom Tromey <tom@tromey.com>
14143
14144 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14145 depend on Python 2.
14146
30a7bb83
TT
141472016-11-08 Tom Tromey <tom@tromey.com>
14148
14149 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14150 New method.
14151
cdf5a07c
MG
141522016-10-29 Manish Goregaokar <manish@mozilla.com>
14153
2806dc7e 14154 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14155
51a789c3
MG
141562016-10-27 Manish Goregaokar <manish@mozilla.com>
14157
2806dc7e
PA
14158 * gdb.rust/simple.rs: Add test for univariant enums without
14159 discriminants and for encoded struct-like enums.
51a789c3 14160
f610ab6d
PA
141612016-10-28 Pedro Alves <palves@redhat.com>
14162
14163 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14164 gdb_test_multiple, tighten regexps and match symtabs and line
14165 tables incrementally.
14166
b129b0ca
LM
141672016-10-28 Luis Machado <lgustavo@codesourcery.com>
14168
14169 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14170 general.
14171
ecf45d2c
SL
141722016-10-25 Luis Machado <lgustavo@codesourcery.com>
14173
14174 * gdb.base/exec-invalid-sysroot.exp: New file.
14175
b8d38ee4
JK
141762016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14177
14178 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14179
f90fd8c2
JK
141802016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14181
14182 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14183
2d2476aa
MR
141842016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14185
2806dc7e
PA
14186 * gdb.base/killed-outside.exp: Remove $options from a call to
14187 `prepare_for_testing'.
2d2476aa 14188
e42b25a0
SM
141892016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14190
14191 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14192 Change test message.
14193
3ccdb432
SM
141942016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14195
14196 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14197 Update comment.
14198
5bad3170
SM
141992016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14200
14201 * gdb.trace/mi-trace-save.exp: New file.
14202
5ad9dba7
YQ
142032016-10-13 Yao Qi <yao.qi@linaro.org>
14204
14205 * gdb.base/code_elim.exp (get_var_address): Remove.
14206 * gdb.base/relocate.exp: Likewise.
14207 * gdb.base/shreloc.exp: Likewise.
14208 * lib/gdb.exp (get_var_address): New.
14209
62df7e21
YQ
142102016-10-13 Yao Qi <yao.qi@linaro.org>
14211
14212 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14213 floating point tests if $skip_float_test is false.
14214
4dac951e
LM
142152016-10-12 Luis Machado <lgustavo@codesourcery.com>
14216
14217 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14218 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14219 argc values.
14220 Add 1 to argc so we guarantee distinct initial/modified argc values.
14221
8f1a8fc4
JK
142222016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14223
14224 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14225
16c85b5d
JK
142262016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14227
14228 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14229 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14230 * gdb.arch/vsx-regs.exp: Likewise.
14231
1d0e042a
YQ
142322016-10-07 Yao Qi <yao.qi@linaro.org>
14233
14234 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14235
68dadef5
MM
142362016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14237
14238 * gdb.python/python.exp: Test decode_line("*0").
14239
33fa2c6e
DE
142402016-10-06 Doug Evans <dje@google.com>
14241
14242 * gdb.python/py-value.exp (test_value_creation): Add test for large
14243 unsigned 64-bit value.
14244
9c37b5ae
TT
142452016-10-06 Tom Tromey <tom@tromey.com>
14246
14247 * gdb.compile/compile.exp: Change java tests to rust.
14248 * gdb.base/setshow.exp: Change java tests to rust.
14249 * gdb.base/default.exp: Remove java from language list.
14250 * README (Examples): Update language example.
14251 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14252 test.
14253 * lib/gdb.exp (skip_java_tests): Remove.
14254 * lib/java.exp: Remove.
14255 * gdb.java: Remove.
14256
78b86327
MR
142572016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14258
14259 * gdb.arch/mips-fcr.exp: New test.
14260 * gdb.arch/mips-fcr.c: Source for the new test.
14261
7470adbb
MR
142622016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14263
14264 * gdb.base/solib-disc.exp: Use `standard_output_file'
14265 throughout.
14266
4a556533
PA
142672016-10-06 Pedro Alves <palves@redhat.com>
14268
14269 * gdb.base/jit-simple-dl.c: New file.
14270 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14271 * gdb.base/jit-simple.c: ... this.
14272 * gdb.base/jit-simple.exp (jit_run): Delete.
14273 (build_jit): New proc.
14274 (jit_test_reread): Recompile either the main program or the shared
14275 library, depending on what is being tested. Skip changing address
14276 if caller wants to. Compare before/after addresses. If testing
14277 standalone, explicitly load the binary. Test "maint info
14278 breakpoints".
14279 (top level): Add "standalone vs shared lib" and "change address"
14280 vs "same address" axes.
14281
5a122fbc
PA
142822016-10-06 Pedro Alves <palves@redhat.com>
14283
14284 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14285 call.
14286 (jit_run): Delete.
14287 (jit_test_reread): Use with_test_prefix. Reload the main binary
14288 explicitly. Compare the before/after addresses of the JIT
14289 descriptor.
14290
ee8da4b8
DE
142912016-08-15 Doug Evans <dje@google.com>
14292
14293 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14294 for single bitfields is bool.
14295 * gdb.xml/tdesc-regs.exp: Ditto.
14296
f389f6fe
JK
142972016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14298
14299 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14300
fdebf1a4
YQ
143012016-10-05 Yao Qi <yao.qi@linaro.org>
14302
14303 * lib/gdb.exp (support_complex_tests): Return zero if
14304 gdb_skip_float_test return true.
14305
9c36d954 143062016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14307 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14308
14309 PR gdb/20487
14310 * gdb.mi/user-selected-context-sync.exp: New file.
14311 * gdb.mi/user-selected-context-sync.c: New file.
14312
4034d0ff 143132016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14314 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14315
14316 PR gdb/20487
14317 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14318 =thread-select-event check.
14319
a4297203
PB
143202016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14321
14322 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14323 the compulsory L operand changes.
14324 * gdb.arch/powerpc-power.s: Likewise.
14325
bb805577
JK
143262016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14327
14328 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14329 * gdb.base/jit-attach-pie.c: New file.
14330 * gdb.base/jit-attach-pie.exp: New file.
14331
6d61dee5
PA
143322016-09-28 Pedro Alves <palves@redhat.com>
14333
14334 * gdb.base/infcall-input.c: New file.
14335 * gdb.base/infcall-input.exp: New file.
14336
f73842fc
YQ
143372016-09-22 Yao Qi <yao.qi@linaro.org>
14338
14339 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14340 (gdb_exit): Rename it to ...
14341 (gdbserver_gdb_exit): ... Close GDBserver.
14342 (gdb_exit): New proc, call gdbserver_gdb_exit.
14343 (mi_gdb_exit): Likewise.
14344
90681dab
YQ
143452016-09-22 Yao Qi <yao.qi@linaro.org>
14346
14347 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14348 path.
14349 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14350 Remove duplication.
14351
9c211fd8
YQ
143522016-09-22 Yao Qi <yao.qi@linaro.org>
14353
14354 * lib/gdbserver-support.exp: Check the existence of
14355 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14356
ad0a504f
AK
143572016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14358
14359 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14360
36cf1806
TT
143612016-09-21 Tom Tromey <tom@tromey.com>
14362
14363 PR gdb/20604:
14364 * gdb.base/quit.exp: New file.
14365
74172ecf
SM
143662016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14367
14368 * .gitignore: New file.
14369
3d0ec882
MR
143702016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14371
14372 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14373 throughout.
14374
8193adea
AA
143752016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14376
14377 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14378
d41a5c09
JK
143792016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14380
14381 * gdb.cp/casts.cc (decltype): Move it ...
14382 (main): ... with its call to ...
14383 * gdb.cp/casts03.cc: ... a new file.
14384 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14385
d2dfe700
JK
143862016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14387
14388 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14389
e2a92b16
PB
143902016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14391
14392 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14393 and sync up the test with tests in gas/testsuite/gas/ppc.
14394 * gdb.arch/powerpc-power.exp: Likewise.
14395
49b4de64
JK
143962016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14397
14398 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14399
2c29df25
SDJ
144002016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14401 Jan Kratochvil <jan.kratochvil@redhat.com>
14402
14403 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14404 make m1's definition to be different from m2's. Use 'dummy' as an
14405 argument for probe 'two'.
14406
cc3c2846
JB
144072016-09-10 Jon Beniston <jon@beniston.com>
14408
14409 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14410 for sim target.
14411
e1b2624a
AA
144122016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14413
14414 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14415 variable declaration.
14416 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14417 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14418 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14419 received HWCAP as its argument.
14420
4295e285
PA
144212016-09-06 Pedro Alves <palves@redhat.com>
14422
14423 * gdb.base/new-ui-pending-input.c: New file.
14424 * gdb.base/new-ui-pending-input.exp: New file.
14425 * gdb.exp (clear_gdb_spawn_id): New procedure.
14426 (with_spawn_id): Check whether gdb_spawn_id exists before
14427 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14428 on exit.
14429
00d5215e
UW
144302016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14431
14432 * gdb.base/float128.c: New file.
14433 * gdb.base/float128.exp: Likewise.
14434 * gdb.base/floatn.c: Likewise.
14435 * gdb.base/floatn.exp: Likewise.
14436
a9ff5f12
UW
144372016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14438
14439 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14440
f245535c
PA
144412016-09-05 Pedro Alves <palves@redhat.com>
14442
14443 PR backtrace/19927
14444 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14445 unwinders are immediately called as side effect of "source" or
14446 "disable unwinder" commands.
14447 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14448
ae9cf263
YQ
144492016-09-02 Yao Qi <yao.qi@linaro.org>
14450
14451 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14452 is true and $type is "float" or "double".
14453
27aba047
YQ
144542016-09-02 Yao Qi <yao.qi@linaro.org>
14455
14456 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14457 true.
14458 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14459 * gdb.base/call-rt-st.exp: Likewise.
14460 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14461 return value instead of gdb,skip_float_test.
14462 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14463 (do_function_calls): Use its return value instead of
14464 gdb,skip_float_test.
14465 * gdb.base/finish.exp: Likewise.
14466 * gdb.base/funcargs.exp: Likewise.
14467 * gdb.base/return.exp: Likewise.
14468 * gdb.base/return2.exp: Likewise.
14469 * gdb.base/varargs.exp: Likewise.
14470 * lib/gdb.exp (gdb_skip_float_test): Change it to
14471 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14472
5af962df
AA
144732016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14474
14475 * gdb.multi/tids.exp: Test "thread apply all".
14476
7fac6910
JK
144772016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14478
14479 * gdb.base/default.exp (tty): Remove.
14480
bb1fe4ac
KB
144812016-08-24 Kevin Buettner <kevinb@redhat.com>
14482
2806dc7e
PA
14483 * gdb.python/py-recurse-unwind.c: New file.
14484 * gdb.python/py-recurse-unwind.py: New file.
14485 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14486
0a1ddfa6
SM
144872016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14488
14489 * gdb.base/set-inferior-tty.exp: New file.
14490 * gdb.base/set-inferior-tty.c: New file.
14491
d9de1fe3
PA
144922016-08-23 Pedro Alves <palves@redhat.com>
14493
14494 PR gdb/20494
14495 * gdb.base/new-ui-echo.c: New file.
14496 * gdb.base/new-ui-echo.exp: New file.
14497
e9d9abd7
YQ
144982016-08-23 Yao Qi <yao.qi@linaro.org>
14499
14500 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14501 gdbserver_spawn.
14502 * gdb.server/connect-without-multi-process.exp (do_test):
14503 Likewise.
14504
3589529e
YQ
145052016-08-23 Yao Qi <yao.qi@linaro.org>
14506
14507 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14508 standalone_txt. Delete gdb_txt and standalone_txt on host
14509 and target. Spawn the binary on target. Copy files from
14510 target to host.
14511
6bb90213
PA
145122016-08-22 Pedro Alves <palves@redhat.com>
14513
14514 PR gdb/20505
14515 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14516 with_test_prefix. Factor out bits to ...
14517 (test_no_vdso): ... this new procedure.
14518
20c2c024
CL
145192016-08-19 Carl Love <cel@us.ibm.com>
14520
14521 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14522 maintaining separate logic for constructing the output path.
14523 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14524 * gdb.arch/ppc-dfp.exp: Likewise.
14525 * gdb.arch/ppc-fp.exp: Likewise.
14526 * gdb.arch/vsx-regs.exp: Likewise.
14527 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14528 binprefix for generating the additional binary files.
14529
0646e07d
PA
145302016-08-19 Pedro Alves <palves@redhat.com>
14531
14532 * gdb.trace/mi-trace-frame-collected.exp
14533 (test_trace_frame_collected): On x32, expect two registers.
14534
46da9242
CL
145352016-08-18 Carl Love <cel@us.ibm.com>
14536
14537 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14538 and sync up the test with tests in gas/testsuite/gas/ppc.
14539 * gdb.arch/powerpc-power.exp: Likewise.
14540
eb2332d7
SM
145412016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14542
14543 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14544 expected error message.
14545
63c61e04
SM
145462016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14547
14548 * gdb.multi/remove-inferiors.exp: New file.
14549 * gdb.multi/remove-inferiors.c: New file.
14550
7b17065f
YQ
145512016-08-12 Yao Qi <yao.qi@linaro.org>
14552
14553 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14554 argument list.
14555
01d3dedf
PA
145562016-08-10 Pedro Alves <palves@redhat.com>
14557
14558 PR gdb/19187
14559 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14560 setup_kfails.
14561
3eb7562a
PA
145622016-08-09 Pedro Alves <palves@redhat.com>
14563 Simon Marchi <simon.marchi@ericsson.com>
14564
14565 PR gdb/20418
14566 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14567 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14568
80614914
PA
145692016-08-09 Pedro Alves <palves@redhat.com>
14570
14571 PR mi/20431
14572 * gdb.mi/mi-cmd-error.exp: New file.
14573
f348d89a
PA
145742016-08-09 Pedro Alves <palves@redhat.com>
14575
14576 PR gdb/18653
14577 * gdb.base/signals-state-child.c: New file.
14578 * gdb.base/signals-state-child.exp: New file.
14579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14580
e5ca03b4
PA
145812016-08-09 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14584
282a0691
TT
145852016-08-03 Tom Tromey <tom@tromey.com>
14586
14587 PR python/18565:
14588 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14589
41bfcd63
YQ
145902016-08-01 Yao Qi <yao.qi@linaro.org>
14591
14592 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14593 variable mode to "multi-process" if $multi_process is 1, otherwise
14594 set it to "single-process".
14595
e3465b24
YQ
145962016-08-01 Yao Qi <yao.qi@linaro.org>
14597
14598 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14599 * gdb.cp/cpexprs.exp: Likewise.
14600 * gdb.cp/m-static.exp: Likewise.
14601
0b31a4bc
TT
146022016-07-26 Tom Tromey <tom@tromey.com>
14603
14604 PR python/20190:
14605 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14606 test.
14607
e0461dbb
MM
146082016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14609
14610 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14611 selecting assembly source files.
14612 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14613 assembly source files.
14614 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14615 assembly source files.
14616 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14617 selecting assembly source files.
14618
8194e927
SM
146192016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14620
14621 * gdb.base/new-ui.exp (do_test_invalid_args): New
14622 procedure.
14623
c0272db5
TW
146242016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14625
14626 * gdb.btrace/reconnect.c: New file.
14627 * gdb.btrace/reconnect.exp: New file.
14628
e3487908
GKB
146292016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14630
14631 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14632 to test_catch_syscall_group.
14633 (test_catch_syscall_group): New.
14634
12df5c00
TT
146352016-07-21 Tom Tromey <tom@tromey.com>
14636
14637 * gdb.rust/simple.rs (main): Use empty struct expression.
14638 * gdb.rust/simple.exp: Add tests for empty struct expression.
14639
bae62ee2
YQ
146402016-07-21 Yao Qi <yao.qi@linaro.org>
14641
14642 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14643 if gdb_skip_xml_test is true on some targets.
14644
b1b53fb3
YQ
146452016-07-21 Yao Qi <yao.qi@linaro.org>
14646
14647 * gdb.server/solib-list.exp: Unset last_loaded_file.
14648
027d97f8
JK
146492016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14650
14651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14652 "step into captured_main (args)".
14653
7674d381
JK
146542016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14655
14656 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14657
72b5d099
JK
146582016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14659
14660 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14661
1f960ced
PA
146622016-07-19 Pedro Alves <palves@redhat.com>
14663
14664 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14665 * gdb.opt/inline-bt.exp: Likewise.
14666 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14667 additional_flags=-Winline.
14668 * gdb.opt/inline-locals.exp: Likewise.
14669 * gdb.opt/inline-markers.c (ATTR): Define.
14670 (inlined_fn): Use it.
14671
f25827c1
YQ
146722016-07-19 Yao Qi <yao.qi@linaro.org>
14673
14674 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14675 (test_with_self): Remove some code. Remove argument executable.
14676 (top-level): Use do_self_tests.
14677
37539ebe
DB
146782016-07-15 Zachary Welch <zwelch@codesourcery.com>
14679 Don Breazeal <donb@codesourcery.com>
14680
14681 * gdb.base/maint.exp: Escape paths used in regular expressions.
14682 * gdb.stabs/weird.exp: Likewise.
14683
dac790e1
TT
146842016-07-13 Tom Tromey <tom@tromey.com>
14685
14686 PR python/15620, PR python/18620:
14687 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14688 (test_bkpt_events): New procs.
14689
93daf339
TT
146902016-07-13 Tom Tromey <tom@tromey.com>
14691
14692 PR python/17698:
14693 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14694 test.
14695 (test_watchpoints): Likewise.
14696 (test_bkpt_pending): New proc.
14697
6571a381
TT
146982016-07-13 Tom Tromey <tom@tromey.com>
14699
14700 PR cli/18053:
14701 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14702 completion test.
14703
e8732474
JK
147042016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14705
14706 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14707 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14708 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14709 f_label.
14710 (g): Rename g_end_lbl to g_label.
14711 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14712 low_pc and high_pc.
14713 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14714
e0f3fd7c
TT
147152016-07-12 Tom Tromey <tom@tromey.com>
14716
14717 PR python/19293:
14718 * gdb.python/py-unwind-maint.exp: Update tests.
14719
3cfe46b6
YQ
147202016-07-12 Yao Qi <yao.qi@linaro.org>
14721
14722 * lib/selftest-support.exp (selftest_setup): Match the output
14723 when captured_main is inlined.
14724
4f19a0e6
WT
147252016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14726
14727 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14728 New variables.
14729 (print this%a, print this%b, print this): New tests.
14730 * gdb.fortran/derived-types.f90 (this): New object and
14731 initialization.
14732
986cf455
SM
147332016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14734
14735 * gdb.ada/arraydim.exp: Remove extra directory level in build
14736 directory.
14737
f0464b23
SM
147382016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14739
14740 * lib/ada.exp: Remove extra directory level in build directory.
14741 * gdb.ada/cond_lang.exp: Likewise.
14742 * gdb.ada/exec_changed.exp: Likewise.
14743 * gdb.ada/lang_switch.exp: Likewise.
14744
42d94011
MG
147452016-07-06 Manish Goregaokar <manish@mozilla.com>
14746
2806dc7e
PA
14747 * simple.rs: Add test for raw pointer subscripting.
14748 * simple.exp: Add test expectations.
42d94011 14749
647c264c
YQ
147502016-07-05 Yao Qi <yao.qi@linaro.org>
14751
14752 * gdb.mi/mi-reverse.exp: Match =record-started output.
14753
20aa2c60
PA
147542016-07-01 Pedro Alves <palves@redhat.com>
14755
14756 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14757 procedure.
14758 (jit_reader_test): Test the jit reader's unwinder.
14759 * gdb.base/jithost.c (jit_function_00_code): New global.
14760 (main): Use memcpy to fill in the mmapped code, instead of poking
14761 bytes manually here.
14762 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14763 value.
14764 (read_debug_info): Save the function's range.
14765 (read_sp): New function.
14766 (unwind_frame): Use it. Also unwind RBP.
14767 (get_frame_id): Use read_sp.
14768 (gdb_init_reader): Use calloc instead of malloc.
14769 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14770 parameter. Use gdb_test_multiple.
14771
ced2dffb
PA
147722016-07-01 Pedro Alves <palves@redhat.com>
14773 Antoine Tremblay <antoine.tremblay@ericsson.com>
14774
14775 * gdb.threads/process-dies-while-detaching.c: New file.
14776 * gdb.threads/process-dies-while-detaching.exp: New file.
14777
63000888
PA
147782016-07-01 Pedro Alves <palves@redhat.com>
14779
14780 * gdb.multi/watchpoint-multi-exit.c: New file.
14781 * gdb.multi/watchpoint-multi-exit.exp: New file.
14782
038d4868
PA
147832016-06-30 Pedro Alves <palves@redhat.com>
14784
14785 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14786 unset inferior_spawn_id.
14787
994e9c83
PA
147882016-06-30 Pedro Alves <palves@redhat.com>
14789
14790 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14791 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14792
e5653468
YQ
147932016-06-29 Yao Qi <yao.qi@linaro.org>
14794
14795 * gdb.base/return.c: Add copyright header.
14796
803b47e5
TT
147972016-06-29 Tom Tromey <tom@tromey.com>
14798
14799 PR python/20129:
14800 * gdb.python/py-framefilter.exp: Add tests for setting priority
14801 and disabling of non-existent frame filter.
14802
28244707
YQ
148032016-06-29 Yao Qi <yao.qi@linaro.org>
14804
14805 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14806 0x0f07ff.
14807
a31d2f06
YQ
148082016-06-28 Yao Qi <yao.qi@linaro.org>
14809
14810 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14811 triplets. Start gdb, execute catch syscall, and continue. Check
14812 gdb's output to determine catch syscall is supported.
14813
921d8f54
MG
148142016-06-27 Manish Goregaokar <manish@mozilla.com>
14815
25d49b86
PA
14816 * gdb.rust/simple.rs: Add test for returning unit in a function.
14817 * gdb.rust/simple.exp: Add expectation for functions returning
14818 unit.
921d8f54 14819
f4952523
PMR
148202016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14821
14822 * gdb.python/py-breakpoint-create-fail.c,
14823 gdb.python/py-breakpoint-create-fail.exp,
14824 gdb.python/py-breakpoint-create-fail.py: New testcase.
14825
fccb08f8
MG
148262016-06-25 Manish Goregaokar <manish@mozilla.com>
14827
14828 PR gdb/20239
14829 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14830 * gdb.rust/simple.exp: Add test expectations for new NonZero
14831 tests.
fccb08f8 14832
6b850546
DT
148332016-06-24 David Taylor <dtaylor@emc.com>
14834
14835 * gdb.base/offsets.exp: New file.
14836 * gdb.base/offsets.c: New file.
14837
17621150
TT
148382016-06-23 Tom Tromey <tom@tromey.com>
14839
14840 PR gdb/16483:
14841 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14842 before any filters are loaded.
14843
04d59df6
WT
148442016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14845
14846 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14847 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14848 structs.
14849 * gdb.fortran/derived-type-function.exp: New file.
14850 * gdb.fortran/derived-type-function.f90: New file.
14851
14852
ac69f786
PA
148532016-06-21 Pedro Alves <palves@redhat.com>
14854
14855 * gdb.base/new-ui.exp: New file.
14856 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14857 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14858 (with_spawn_id): New procedure.
14859
49940788
PA
148602016-06-21 Pedro Alves <palves@redhat.com>
14861
14862 * gdb.mi/mi-exec-run.exp: New file.
14863
ef274d26
PA
148642016-06-21 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14867 breakpoint command's output on the main UI.
14868 (test_break): New procedure, factored out from calls in the top
14869 level.
14870 (top level): Use foreach_with_prefix to test MI as main UI and as
14871 separate UI.
14872
468afe6c
PA
148732016-06-21 Pedro Alves <palves@redhat.com>
14874
14875 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14876 (test_awatch_creation_and_listing)
14877 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14878 Remove 'type' parameter.
14879 (test_watchpoint_all): New parameter mi_mode. Remove
14880 with_test_prefix.
14881 (top level): Use foreach_with_prefix, and add main/separate UI MI
14882 testing axis.
14883
51f77c37
PA
148842016-06-21 Pedro Alves <palves@redhat.com>
14885
14886 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14887 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14888 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14889 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14890 (gdb_main_spawn_id, mi_spawn_id): Declare and
14891 comment.
14892 (mi_create_inferior_pty): New procedure,
14893 factored out from default_mi_gdb_start.
14894 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14895 procedures.
14896 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14897 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14898 Use mi_create_inferior_pty.
14899 (mi_gdb_start): Use eval to pass down args list.
14900
8980e177
PA
149012016-06-21 Pedro Alves <palves@redhat.com>
14902
14903 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14904 * gdb.opt/inline-cmds.exp: Add MI tests.
14905
f38d3ad1
PA
149062016-06-21 Pedro Alves <palves@redhat.com>
14907
14908 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14909
45db7c09
PA
149102016-06-21 Pedro Alves <palves@redhat.com>
14911
14912 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14913 (top level): Use it instead of mi_execute_to.
14914
5a069ab3
PA
149152016-06-21 Pedro Alves <palves@redhat.com>
14916
14917 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14918 (cont_handler_str): New.
14919 (signal_stop_handler): Set stop_handler_str instead of printing to
14920 stdout.
14921 (continue_handler): Set cont_handler_str instead of printing to
14922 stdout.
14923 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14924 mi_send_resuming_command. Print stop_handler_str and
14925 cont_handler_str instead of expecting the python events print
14926 directly.
14927
2838cc1d
SD
149282016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14929
14930 * gdb.base/jit-reader.exp: New file.
14931 * gdb.base/jithost.c: New file.
14932 * gdb.base/jithost.h: New file.
14933 * gdb.base/jitreader.c : New file.
14934 * gdb.base/jit-protocol.h: New file.
14935
21a77091
YQ
149362016-06-17 Yao Qi <yao.qi@linaro.org>
14937
14938 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14939 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14940 and detach-on-fork. Adjust tests.
14941 (top level): Invoke break_cond_on_syscall with combinations of
14942 syscall, follow-fork-mode and detach-on-fork.
14943
f50bf8e5
YQ
149442016-06-17 Yao Qi <yao.qi@linaro.org>
14945
14946 * gdb.base/step-over-exit.c: New.
14947 * gdb.base/step-over-exit.exp: New.
14948
a28d8e50
YTL
149492016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14950
14951 * gdb.base/float.exp: Add target check for nds32*-*-*.
14952 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14953
cad8e26d
AB
149542016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14955
14956 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14957 for unsupported target features.
14958 * gdb.base/call-rt-st.exp: Likewise.
14959 * gdb.base/call-sc.exp: Likewise.
14960 * gdb.base/call-signal-resume.exp: Likewise.
14961 * gdb.base/call-strs.exp: Likewise.
14962 * gdb.base/callexit.exp: Likewise.
14963 * gdb.base/callfuncs.exp: Likewise.
14964 * gdb.base/nodebug.exp: Likewise.
14965 * gdb.base/printcmds.exp: Likewise.
14966 * gdb.base/ptype.exp: Likewise.
14967 * gdb.base/structs.exp: Likewise.
14968 * gdb.base/unwindonsignal.exp: Likewise.
14969 * gdb.cp/gdb2495.exp: Likewise.
14970 * gdb.cp/templates.exp: Likewise.
14971 * gdb.cp/virtfunc.exp: Likewise.
14972 * gdb.threads/hand-call-in-threads.exp: Likewise.
14973 * gdb.threads/interrupted-hand-call.exp: Likewise.
14974 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14975
347dc102
TT
149762016-06-10 Tom Tromey <tom@tromey.com>
14977
14978 PR rust/20110:
14979 * gdb.rust/expr.exp: Add test for integer constant larger than
14980 i32.
14981
5e13cf25
BH
149822016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14983
14984 * gdb.fortran/nested-funcs.exp: New.
14985 * gdb.fortran/nested-funcs.f90: New.
14986
bb556f1f
TK
149872016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14988
14989 * gdb.base/examine-backward.c: New file.
14990 * gdb.base/examine-backward.exp: New file.
14991
38b022b4
SM
149922016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14993
14994 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14995 matching.
14996
1b40ec05
TT
149972016-06-02 Tom Tromey <tom@tromey.com>
14998
14999 PR python/18984:
15000 * gdb.python/py-shared.exp: Add solib_name test.
15001
193bd378
SM
150022016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15003
15004 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15005
3326303b
MG
150062016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15007
15008 PR c++/19893
15009 * gdb.dwarf2/implref.exp: Rename to...
15010 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15011 * gdb.dwarf2/implref-array.c: New file.
15012 * gdb.dwarf2/implref-array.exp: Likewise.
15013 * gdb.dwarf2/implref-global.c: Likewise.
15014 * gdb.dwarf2/implref-global.exp: Likewise.
15015 * gdb.dwarf2/implref-struct.c: Likewise.
15016 * gdb.dwarf2/implref-struct.exp: Likewise.
15017
825c8ef2
AT
150182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15019
15020 * gdb.trace/trace-condition.exp: Add 64bit tests.
15021
2320162a
AT
150222016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15023
15024 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15025 bits types.
15026 (main): Adapt to 8 to 64 bits types.
15027 * gdb.trace/trace-condition.exp: Add new tests.
15028
a7818233
AT
150292016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15030
15031 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15032
0d336466
AT
150332016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15034
15035 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15036 Move condition tests...
15037 * gdb.trace/trace-condition.exp: Here.
15038
7faeb45a
AT
150392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15040
15041 * gdb.trace/trace-condition.exp: Add counter-case tests.
15042
e385593e
JK
150432016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15044
15045 PR c++/15231
15046 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15047 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15048
744608cc
PA
150492016-05-27 Pedro Alves <palves@redhat.com>
15050
15051 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15052 New procedure.
15053 (top level): Call it, and bail out of DejaGnu is known to be bad.
15054
ac775bf4
AB
150552016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15056
15057 * gdb.base/whatis.c: Extend the test case.
15058 * gdb.base/whatis.exp: Add additional tests.
15059
2bbad2ea
BH
150602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15061
15062* gdb.fortran/type.f90: Add pointer variable.
15063* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15064
8b70175d
BH
150652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15066
15067 * gdb.fortran/vla-type.exp: Fix testcase name.
15068
86d8a848
BH
150692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15070
15071 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15072
e188eb36
BH
150732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15074
15075 * gdb.fortran/type.f90: Add nested structures.
15076 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15077 * gdb.fortran/derived-type.exp: Adapt expected output.
15078 * gdb.fortran/vla-type.exp: Adapt expected output.
15079
9b2db1fd
BH
150802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15081
15082 * gdb.fortran/whatis_type.exp: Adapt expected output.
15083
72b17055
BH
150842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15085
15086 * gdb.fortran/print_type.exp: Fix expected output.
15087 * gdb.fortran/whatis_type.exp: Fix expected output.
15088
3cd81d8d
BH
150892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15090
15091 * gdb.fortran/whatis_type.exp: Use multi_line.
15092
ddae9462
TT
150932016-05-24 Tom Tromey <tom@tromey.com>
15094
15095 PR python/17386:
15096 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15097 use value as an index.
15098
1957f6b8
TT
150992016-05-23 Tom Tromey <tom@tromey.com>
15100
15101 PR python/17981:
15102 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15103 no-breakpoint case.
15104
026a9174
PA
151052016-05-24 Pedro Alves <palves@redhat.com>
15106
15107 PR gdb/19828
15108 * gdb.threads/clone-attach-detach.c: New file.
15109 * gdb.threads/clone-attach-detach.exp: New file.
15110
e70a7231
FR
151112016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15112
15113 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15114
0f6ed0e0
TT
151152016-05-23 Tom Tromey <tom@tromey.com>
15116
15117 PR python/19438, PR python/18393:
15118 * gdb.python/py-progspace.exp: Add "dir" test.
15119 * gdb.python/py-objfile.exp: Add "dir" test.
15120
ffd19d61
YQ
151212016-05-23 Yao Qi <yao.qi@linaro.org>
15122
15123 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15124 * gdb.arch/thumb2-it.exp: Likewise.
15125
9e8f9b05
SM
151262016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15127
15128 * gdb.mi/mi-threads-interrupt.c: New file.
15129 * gdb.mi/mi-threads-interrupt.exp: New file.
15130
61c6156d
SM
151312016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15132
15133 PR gdb/18077
15134 * gdb.mi/mi-async-run.exp: New file.
15135 * gdb.mi/mi-async-run.c: New file.
15136
67218854
TT
151372016-05-17 Tom Tromey <tom@tromey.com>
15138 Manish Goregaokar <manishsmail@gmail.com>
15139
15140 * lib/rust-support.exp: New file.
15141 * lib/gdb.exp (skip_rust_tests): New proc.
15142 (build_executable_from_specs): Handle rust.
15143 * lib/future.exp (gdb_find_rustc): New proc.
15144 (gdb_default_target_compile): Handle rust.
15145 * gdb.rust/expr.exp: New file.
15146 * gdb.rust/generics.exp: New file.
15147 * gdb.rust/generics.rs: New file.
15148 * gdb.rust/methods.exp: New file.
15149 * gdb.rust/methods.rs: New file.
15150 * gdb.rust/modules.exp: New file.
15151 * gdb.rust/modules.rs: New file.
15152 * gdb.rust/simple.exp: New file.
15153 * gdb.rust/simple.rs: New file.
15154
c44af4eb
TT
151552016-05-17 Tom Tromey <tom@tromey.com>
15156
15157 * gdb.base/default.exp (set language): Add rust.
15158
dcd1f979
TT
151592016-05-17 Tom Tromey <tom@tromey.com>
15160
15161 * gdb.gdb/unittest.exp: New file.
15162
155b7f57
YQ
151632016-05-16 Yao Qi <yao.qi@linaro.org>
15164
15165 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15166 shell_prompt. Update shell_prompt_re.
15167
8ddd5a6c
DE
151682016-05-12 Doug Evans <dje@google.com>
15169
15170 PR symtab/19999
15171 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15172 $options when building executable.
15173 * gdb.dwarf2/fission-loclists-pie.S: New file.
15174 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15175
02e370d9
SM
151762016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15177
15178 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15179 of [is_remote target],
15180
8929ad8b
SM
151812016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15182
15183 * lib/gdb.exp (use_gdb_stub): New procedure.
15184
6c447423
DE
151852016-05-03 Yunlian Jiang <yunlian@google.com>
15186 Doug Evans <dje@google.com>
15187
15188 PR symtab/19914
15189 * gdb.dwarf2/dwp-sepdebug.c: New file.
15190 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15191
444e826c
SM
151922016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15193
15194 * gdb.base/detach.exp: Remove is_remote check.
15195
740feeaa
SM
151962016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15197
15198 * gdb.base/annota-input-while-running.exp: Don't check for
15199 [is_remote target]. Enable annotations after running to main.
15200 Remove unused "set test..." line.
15201
9080ac9d
SM
152022016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15203
15204 * gdb.trace/trace-enable-disable.exp: New file.
15205 * gdb.trace/trace-enable-disable.c: New file.
15206
952ebca5
SM
152072016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15208
15209 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15210 use it in info sharedlibrary test.
15211 * gdb.trace/ftrace-lock.exp: Likewise.
15212 * gdb.trace/ftrace.exp: Likewise.
15213 * gdb.trace/range-stepping.exp: Likewise.
15214 * gdb.trace/trace-break.exp: Likewise.
15215 * gdb.trace/trace-condition.exp: Likewise.
15216 * gdb.trace/trace-mt.exp: Likewise.
15217
d9019901
SM
152182016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15219
15220 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15221 (gdb_load_shlib): ... this.
15222 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15223 gdb_load_shlib.
15224 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15225 * gdb.base/ctxobj.exp: Likewise.
15226 * gdb.base/dprintf-pending.exp: Likewise.
15227 * gdb.base/dso2dso.exp: Likewise.
15228 * gdb.base/fixsection.exp: Likewise.
15229 * gdb.base/gcore-relro.exp: Likewise.
15230 * gdb.base/gdb1555.exp: Likewise.
15231 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15232 * gdb.base/gnu-ifunc.exp: Likewise.
15233 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15234 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15235 * gdb.base/pending.exp: Likewise.
15236 * gdb.base/print-file-var.exp: Likewise.
15237 * gdb.base/print-symbol-loading.exp: Likewise.
15238 * gdb.base/shlib-call.exp: Likewise.
15239 * gdb.base/shreloc.exp: Likewise.
15240 * gdb.base/so-impl-ld.exp: Likewise.
15241 * gdb.base/solib-disc.exp: Likewise.
15242 * gdb.base/solib-nodir.exp: Likewise.
15243 * gdb.base/solib-overlap.exp: Likewise.
15244 * gdb.base/solib-symbol.exp: Likewise.
15245 * gdb.base/solib-weak.exp (do_test): Likewise.
15246 * gdb.base/sym-file.exp: Likewise.
15247 * gdb.base/symtab-search-order.exp: Likewise.
15248 * gdb.base/type-opaque.exp: Likewise.
15249 * gdb.base/unload.exp: Likewise.
15250 * gdb.base/watchpoint-solib.exp: Likewise.
15251 * gdb.compile/compile.exp: Likewise.
15252 * gdb.cp/gdb2384.exp: Likewise.
15253 * gdb.cp/infcall-dlopen.exp: Likewise.
15254 * gdb.cp/re-set-overloaded.exp: Likewise.
15255 * gdb.fortran/library-module.exp: Likewise.
15256 * gdb.opt/solib-intra-step.exp: Likewise.
15257 * gdb.python/py-finish-breakpoint.exp: Likewise.
15258 * gdb.python/py-shared.exp: Likewise.
15259 * gdb.reverse/solib-precsave.exp: Likewise.
15260 * gdb.reverse/solib-reverse.exp: Likewise.
15261 * gdb.server/solib-list.exp: Likewise.
15262 * gdb.threads/dlopen-libpthread.exp: Likewise.
15263 * gdb.threads/tls-shared.exp: Likewise.
15264 * gdb.threads/tls-so_extern.exp: Likewise.
15265 * gdb.trace/change-loc.exp: Likewise.
15266 * gdb.trace/ftrace-lock.exp: Likewise.
15267 * gdb.trace/ftrace.exp: Likewise.
15268 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15269 * gdb.trace/pending.exp: Likewise.
15270 * gdb.trace/range-stepping.exp: Likewise.
15271 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15272 (strace_info_marker): Likewise.
15273 (strace_probe_marker): Likewise.
15274 (strace_trace_on_same_addr): Likewise.
15275 (strace_trace_on_diff_addr): Likewise.
15276 * gdb.trace/trace-break.exp: Likewise.
15277 * gdb.trace/trace-condition.exp: Likewise.
15278 * gdb.trace/trace-mt.exp: Likewise.
15279
fca4cfd9
SM
152802016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15281
15282 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15283 result of gdb_remote_download.
15284 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15285 * gdb.base/dso2dso.exp: Likewise.
15286 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15287 * gdb.base/print-file-var.exp: Likewise.
15288 * gdb.base/shlib-call.exp: Likewise.
15289 * gdb.base/shreloc.exp: Likewise.
15290 * gdb.base/solib-overlap.exp: Likewise.
15291 * gdb.base/solib-weak.exp (do_test): Likewise.
15292 * gdb.base/unload.exp: Likewise.
15293
11cf4ffb
YQ
152942016-04-27 Yao Qi <yao.qi@linaro.org>
15295
15296 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15297 exists.
15298
3e2e34f8
KB
152992016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15300
15301 * vla-type.exp: Print structure from toplevel.
15302
8f07e298
BH
153032016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15304
15305 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15306 of dynamic types.
15307 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15308 of dynamic types.
15309
9920b434
BH
153102016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15311
15312 * gdb.fortran/vla-type.f90: New file.
15313 * gdb.fortran/vla-type.exp: New file.
15314
f3abeff5
YQ
153152016-04-25 Yao Qi <yao.qi@linaro.org>
15316
15317 * gdb.base/branch-to-self.c: New file.
15318 * gdb.base/branch-to-self.exp: New file.
15319
0a5d52f0
YQ
153202016-04-22 Yao Qi <yao.qi@linaro.org>
15321
15322 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15323 more after $hex.
15324
495346f6
YQ
153252016-04-22 Yao Qi <yao.qi@linaro.org>
15326
15327 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15328 * gdb.base/annota3.exp: Likewise.
15329
4a7e075c
YQ
153302016-04-22 Yao Qi <yao.qi@linaro.org>
15331
15332 * gdb.reverse/step-precsave.exp: Do one step and test program
15333 stops in "callee" and do multiple steps until program goes out
15334 of "callee".
15335 * gdb.reverse/step-reverse.exp: Likewise.
15336
5b061e98
YQ
153372016-04-22 Yao Qi <yao.qi@linaro.org>
15338
15339 * gdb.trace/signal.exp: Also pass if
15340 $tracepoint_hits($i) > $iterations.
15341
5c5dc57f
YQ
153422016-04-22 Yao Qi <yao.qi@linaro.org>
15343
15344 * gdb.trace/signal.c: New file.
15345 * gdb.trace/signal.exp: New file.
15346
a55411b9
DE
153472016-04-19 Doug Evans <xdje42@gmail.com>
15348
15349 * gdb.base/bad-file.exp: New file.
15350
a22df60a
MG
153512016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15352
15353 * gdb.dwarf2/implref.exp: New file.
15354
0c13f7e5
BH
153552016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15356
15357 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15358 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15359 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15360 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15361 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15362 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15363 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15364 * lib/fortran.exp (fortran_int4): New procedure.
15365 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15366 (fortran_logical4): Likewise.
15367
9b9b09e9
BH
153682016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15369
15370 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15371
a14d1f4d
BH
153722016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15373
15374 * lib/compiler.c: Add Intel specific preprocessor macros.
15375 * lib/compiler.cc: Likewise.
25d49b86 15376
7d49b1d0
LM
153772016-04-13 Luis Machado <lgustavo@codesourcery.com>
15378
15379 * gdb.server/connect-with-no-symbol-file.c: New file.
15380 * gdb.server/connect-with-no-symbol-file.exp: New file.
15381
8392fa22
SM
153822016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15383
15384 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15385
8c4c4aeb
SM
153862016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15387
15388 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15389 standard output directory.
15390
45e3745e
AT
153912016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15392
15393 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15394
e26b7e41
MM
153952016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15396
15397 * gdb.btrace/instruction_history.c (loop): Add declaration.
15398
8ce09462
AT
153992016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15400
15401 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15402
2e88a1ea
SM
154032016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15404
15405 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15406 parentheses to print.
15407 (continue_handler): Likewise.
15408
f48e22e3
SM
154092016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15410
15411 * gdb.server/solib-list.exp: Remove is_remote check.
15412 Pass shlib= to gdb_compile. Don't link shared library with
15413 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15414 Run binary filename through "readlink -f" on the target.
15415
096be756
PA
154162016-04-08 Pedro Alves <palves@redhat.com>
15417
15418 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15419 interpreter filename as argument to gdbserver_spawn.
15420 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15421 Return empty if $last_loaded_file does not exist.
15422
06500533
JK
154232016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15424
15425 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15426 * gdb.base/jit-main.c: Use exit after usage.
15427
2d35e871
JK
154282016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15429
15430 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15431 GDBHISTSIZE prior to the tests.
15432 * gdb.base/gdbinit-history.exp: Likewise.
15433
154342016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15435
15436 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15437 instead of build_executable. Use gdb_load_shlibs.
15438
c8064e7e
YQ
154392016-04-07 Yao Qi <yao.qi@linaro.org>
15440
15441 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15442 Execute "si" command.
15443
bde47561
YQ
154442016-04-07 Yao Qi <yao.qi@linaro.org>
15445
15446 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15447 number instead of the comments on some line.
15448
b16f8a3b
DB
154492016-04-06 Don Breazeal <donb@codesourcery.com>
15450
15451 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15452 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15453
c2f901df
SM
154542016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15455
15456 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15457 standard_output_file. Remove unused binfile variable.
15458
ac17fda0
CU
154592016-04-05 Catalin Udma <catalin.udma@freescale.com>
15460
15461 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15462 * gdb.python/py-mi-objfile.exp: Match "list main" output
15463 in console format.
15464
03a8c4df
SM
154652016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15466
15467 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15468 absolute.
15469
6e774b13
SM
154702016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15471
15472 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15473 absolute.
15474 * gdb.trace/ftrace.exp: Likewise.
15475 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15476 targets as well.
15477 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15478 (gdb_load_shlibs): Copy libraries to test directory when testing
15479 natively. Only set solib-search-path if testing remotely.
15480 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15481
7817ea46
SM
154822016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15483
15484 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15485 gdb_download. Use it even if the target is not remote.
15486 * gdb.base/jit.exp (compile_jit_test): Likewise.
15487 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15488 output directory if the destination board is local, otherwise use
15489 the standard remote_download from DejaGnu.
15490 (gdb_download): Remove.
15491 (gdb_load_shlibs): Use gdb_remote_download instead of
15492 gdb_download.
15493 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15494 Use gdb_remote_download instead of gdb_download. Use it even if
15495 the target is not remote.
15496 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15497 instead of gdb_download.
15498
7beb7f68
SM
154992016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15500
15501 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15502 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15503 run.
15504
cc63428a
AV
155052016-04-01 Artemiy Volkov <artemiyv@acm.org>
15506
15507 PR gdb/19820
15508 * gdb.base/printcmds.exp: Add artificial arrays tests.
15509
64cdf930
PA
155102016-03-31 Pedro Alves <palves@redhat.com>
15511
15512 PR gdb/19858
15513 * gdb.base/jit-main.c: Include unistd.h.
15514 (ATTACH): Define to 0 if not already defined.
15515 (wait_for_gdb, mypid): New globals.
15516 (WAIT_FOR_GDB): New macro.
15517 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15518 some breakpoint locations.
15519 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15520 New procedures.
15521 (one_jit_test): Add REATTACH parameter, and handle it. Use
15522 continue_to_test_location.
15523 (top level): Test attach, and adjusts calls to one_jit_test.
15524
40dea8cb
PA
155252016-03-31 Pedro Alves <palves@redhat.com>
15526
15527 PR gdb/19858
15528 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15529 BINSUFFIX parameter, and handle it.
15530 (top level): Adjust calls compile_jit_test.
15531
e7ea3ec7
CU
155322016-03-31 Catalin Udma <catalin.udma@freescale.com>
15533
15534 PR python/19743
15535 * gdb.python/py-mi-events-gdb.py: New file.
15536 * gdb.python/py-mi-events.c: New file.
15537 * gdb.python/py-mi-events.exp: New file.
15538
e6359af3
YQ
155392016-03-30 Yao Qi <yao.qi@linaro.org>
15540
15541 * gdb.reverse/until-precsave.exp: Match function name only.
15542 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15543 Move malloc to a condition block.
15544 * gdb.reverse/until-reverse.exp: Match function name only.
15545
a4105d04
MK
155462016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15547
15548 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15549 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15550 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15551 variable for GPR 0 instead of assuming it is register 0.
15552 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15553 * lib/trace-support.exp: Add s390 registers.
15554
bfa6adb9
YQ
155552016-03-29 Yao Qi <yao.qi@linaro.org>
15556
15557 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15558
1e6697ea
YQ
155592016-03-24 Yao Qi <yao.qi@linaro.org>
15560
15561 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15562 test message.
15563
64bcd522
AA
155642016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15565
15566 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15567 maintaining separate logic for constructing the output path.
15568
7868401b
DB
155692016-03-16 Don Breazeal <donb@codesourcery.com>
15570
15571 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15572 Retry fork and waitpid on interrupted system call errors.
15573 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15574 Use with_timeout_factor to increase timeout by factor of 10.
15575
1cafadb4
DB
155762016-03-15 Don Breazeal <donb@codesourcery.com>
15577
15578 * gdb.cp/scope-err.cc: New test program.
15579 * gdb.cp/scope-err.exp: New test script.
15580 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15581 lines and "set breakpoint here" comment.
15582 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15583 Fixed some whitespace and format issues.
15584 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15585 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15586
81516450
DE
155872016-03-15 Doug Evans <dje@google.com>
15588
15589 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15590 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15591 All callers updated. Add tests for enums, mixed flags register.
15592
aa52b601
DE
155932016-03-15 Doug Evans <dje@google.com>
15594
15595 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15596 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15597
fa4ff313
SM
155982016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15599
15600 * gdb.base/default.exp: Add $_as_string to the list of expected
15601 convenience functions.
15602
f2403c39
AB
156032016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15604
15605 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15606
f2f3ccb9
SM
156072016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15608
15609 * gdb.python/py-as-string.exp: New file.
15610 * gdb.python/py-as-string.c: New file.
15611
00dbd492
PA
156122016-03-09 Pedro Alves <palves@redhat.com>
15613
15614 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15615 signal" -> "Thread NN received signal" output change.
15616 * gdb.threads/ia64-sigill.exp: Likewise.
15617 * gdb.threads/linux-dp.exp: Likewise.
15618 * gdb.threads/manythreads.exp: Likewise.
15619 * gdb.threads/pending-step.exp: Likewise.
15620 * gdb.threads/print-threads.exp: Likewise.
15621 * gdb.threads/sigstep-threads.exp: Likewise.
15622 * gdb.threads/staticthreads.exp: Likewise.
15623 * gdb.threads/tls.exp: Likewise.
15624
1e6697ea
YQ
156252016-03-09 Pedro Alves <palves@redhat.com>
15626
15627 * gdb.base/command-line-input.exp: New file.
15628
b04fd3be
MK
156292016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15630
15631 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15632 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15633 * gdb.trace/pending.exp: Accept leading dot before function name.
15634 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15635 * lib/trace-support.exp: Set registers for ppc.
15636
98fa59e9
MK
156372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15638
15639 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15640 use it for disassembly; accept .main in addition to main in backtrace.
15641
f77198c8
MK
156422016-03-09 Wei-cheng Wang <cole945@gmail.com>
15643 Marcin Kościelnicki <koriakin@0x04.net>
15644
15645 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15646 (gdb_recursion_test_ptr): New global variable.
15647 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15648 gdb_recursion_test.
15649 (gdb_c_test): Ditto.
15650
ba84e0da
MK
156512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15652
15653 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15654 ordering.
15655
4366d36e
MK
156562016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15657
15658 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15659 (bar): Add bar_start_lbl label.
15660 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15661 of foo/bar for emitting DWARF and tracing.
15662
5eb264df
SDJ
156632016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15664
15665 * analyze-racy-logs.py: Set executable bit.
15666
fb6a751f
SDJ
156672016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15668
15669 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15670 (CHECK_TARGET_TMP): Likewise.
15671 (check-single-racy): New rule.
15672 (check-parallel-racy): Likewise.
15673 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15674 (do-check-parallel-racy): New rule.
15675 (check-racy/%.exp): Likewise.
15676 * README (Racy testcases): New section.
15677 * analyze-racy-logs.py: New file.
15678
bdf7e230
DE
156792016-03-03 Doug Evans <dje@google.com>
15680
15681 * gdb.base/skip.exp: Use with_test_prefix.
15682
4719d415
YQ
156832016-03-03 Yao Qi <yao.qi@linaro.org>
15684
15685 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15686 Invoke step_over_syscall "clone" and break_cond_on_syscall
15687 "clone".
15688 * gdb.base/step-over-clone.c: New file.
15689
ea507862
YQ
156902016-03-03 Yao Qi <yao.qi@linaro.org>
15691
15692 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15693 code format.
15694
8fc8cbda
YQ
156952016-03-03 Yao Qi <yao.qi@linaro.org>
15696
15697 * gdb.base/disp-step-fork.c: Rename to ...
15698 * gdb.base/step-over-fork.c: ... it. New file.
15699 * gdb.base/disp-step-vfork.c: Rename to ...
15700 * gdb.base/step-over-vfork.c: ... it. New file.
15701 * gdb.base/disp-step-syscall.exp: Rename to ...
15702 * gdb.base/step-over-syscall.exp: ... it. New file.
15703 (disp_step_cross_syscall): Rename to ...
15704 (step_over_syscall): ... it.
15705
92fa70b0
YQ
157062016-03-03 Yao Qi <yao.qi@linaro.org>
15707
15708 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15709 If target supports condition evaluation on target, invoke
15710 break_cond_on_syscall for fork and vfork.
15711
e197ad3c
YQ
157122016-03-03 Yao Qi <yao.qi@linaro.org>
15713
15714 * gdb.base/disp-step-syscall.exp: Don't invoke
15715 support_displaced_stepping.
15716 (disp_step_cross_syscall): Test with displaced stepping off and
15717 on if supported.
15718
0b47da9f
YQ
157192016-03-03 Yao Qi <yao.qi@linaro.org>
15720
15721 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15722 proc.
15723 (setup): New proc.
15724 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15725 and setup.
15726
065ab6dc
BH
157272016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15728
15729 * gdb.fortran/vla-history.exp: Remove breakpoint.
15730
07e448ad 157312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15732
25d49b86
PA
15733 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15734 exceeds timeout.
07e448ad 15735
9ac2d526 157362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15737
25d49b86
PA
15738 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15739 breakpoint.
9ac2d526 15740
17807369
BH
157412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15742
15743 * gdb.mi/vla.f90: Nullify pointer after declaration.
15744
86e501af
PA
157452016-03-01 Pedro Alves <palves@redhat.com>
15746
15747 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15748
1e903e32
PA
157492016-03-01 Pedro Alves <palves@redhat.com>
15750
15751 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15752 before anything else.
15753 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15754 _GNU_SOURCE here.
15755 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15756 before anything else.
15757 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15758
6ccb54e2
PA
157592016-03-01 Pedro Alves <palves@redhat.com>
15760
15761 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15762
30ca9da1
YQ
157632016-03-01 Yao Qi <yao.qi@linaro.org>
15764
15765 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15766 prepare_for_testing.
15767
dc856b38
YQ
157682016-03-01 Yao Qi <yao.qi@linaro.org>
15769
15770 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15771
4a932159
AA
157722016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15773
15774 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15775 manually constructing the output path.
15776
f2489477
AA
157772016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15778
15779 * gdb.arch/s390-stackless.S: New.
15780 * gdb.arch/s390-stackless.exp: New.
15781
38899f16
IB
157822016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15783
15784 * gdb.dlang/circular.c: New file.
15785 * gdb.dlang/circular.exp: New file.
15786
9fde51ed
YQ
157872016-02-26 Yao Qi <yao.qi@linaro.org>
15788
15789 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15790 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15791 (testcases): Update.
15792
ce90fefe
YQ
157932016-02-26 Yao Qi <yao.qi@linaro.org>
15794
15795 * gdb.reverse/aarch64.c: Rename to ...
15796 * gdb.reverse/insn-reverse.c: ... it.
15797 * gdb.reverse/aarch64.exp: Rename to ...
15798 * gdb.reverse/insn-reverse.exp: ... it.
15799
3263bceb
YQ
158002016-02-26 Yao Qi <yao.qi@linaro.org>
15801
15802 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15803 (testcase_ftype): New.
15804 (testcases): New array.
15805 (n_testcases): New.
15806 (main): Call each element in testcases.
15807 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15808 (read_testcase): New.
15809 Do the tests in a loop.
15810
6cb59ff1
YQ
158112016-02-25 Yao Qi <yao.qi@linaro.org>
15812
15813 * gdb.base/branches.c: Remove.
15814
ae91f625
MK
158152016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15816
15817 PR gdb/13808
15818 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15819
678b48b7
MK
158202016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15821
15822 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15823
7337a6f2
MK
158242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15825
15826 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15827 change x86_64 call_insn to 'callq'.
15828
861ca91f
AT
158292016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15830
15831 * gdb.trace/tfile-avx.c: Move to...
15832 * gdb.trace/tracefile-pseudo-reg.c: Here.
15833 * gdb.trace/tfile-avx.exp: Move to...
15834 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15835
bf74e428
GB
158362016-02-24 Gary Benson <gbenson@redhat.com>
15837
15838 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15839 message on attach.
15840
cce0e923
DE
158412016-02-23 Doug Evans <dje@google.com>
15842
15843 * gdb.base/skip.c (test_skip): New function.
15844 (end_test_skip_file_and_function): New function.
15845 (test_skip_file_and_function): New function.
15846 * gdb.base/skip1.c (test_skip): New function.
15847 (skip1_test_skip_file_and_function): New function.
15848 * gdb.base/skip.exp: Add tests for new skip options.
15849 * gdb.base/skip-solib.exp: Update expected output.
15850 * gdb.perf/skip-command.cc: New file.
15851 * gdb.perf/skip-command.exp: New file.
15852 * gdb.perf/skip-command.py: New file.
15853
4000e47e
MK
158542016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15855
15856 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15857 info registers pattern.
15858
24f75ead
IB
158592016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15860
15861 * lib/future.exp: Add D support.
15862 (gdb_find_gdc): New proc.
15863 (gdb_default_target_compile): Add D support.
15864
fbb7bcbe
WW
158652016-02-18 Wei-cheng Wang <cole945@gmail.com>
15866
15867 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15868 user+system time.
15869 (trace_speed_test): Determine the iteration count for a time
15870 between 15..30 seconds.
15871
012b3a21
WT
158722016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15873
15874 * gdb.arch/i386-mpx-sigsegv.c: New file.
15875 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15876 * gdb.arch/i386-mpx-simple_segv.c: New file.
15877 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15878
2d5189bd
YQ
158792016-02-18 Yao Qi <yao.qi@linaro.org>
15880
15881 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15882 Don't call setup_kfail.
15883
40fb20d0
YQ
158842016-02-18 Yao Qi <yao.qi@linaro.org>
15885
15886 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15887 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15888
21b1f8d2
DE
158892016-02-16 Doug Evans <dje@google.com>
15890
15891 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15892 * gdb.base/skip1.c: Ditto.
15893 * gdb.base/skip.exp: Whitespace cleanup.
15894
4041ed77
DB
158952016-02-16 Don Breazeal <donb@codesourcery.com>
15896
15897 PR remote/19496
15898 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15899 Remove kfail for PR remote/19496.
15900
c4ef31bf
SM
159012016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15902
15903 * lib/gdb.exp (standard_temp_file): Return a path specific to
15904 the runtest invocation.
15905
266b65b3
SM
159062016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15907
15908 * gdb.trace/save-trace.exp: Change relative path to be in the
15909 standard output directory.
15910
a7a0a6a9
JK
159112016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15912
15913 * gdb.arch/i386-prologue.c: Add missing prototypes.
15914
c99dbb42
JK
159152016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15916
15917 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15918 * gdb.arch/i386-prologue.exp: Likewise.
15919 * gdb.arch/i386-size.exp: Likewise.
15920
aa480355
SM
159212016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15922
15923 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15924 define object file path.
15925 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15926 file path.
15927 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15928 standard_output_file to define binfile.
15929
ba881f50
JK
159302016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15931
15932 Fix compatibility with recent gfortran-5.3.1.
15933 * gdb.fortran/vla-history.exp (print vla1 allocated)
15934 (print vla2 allocated, print $2, print $3): Remove
15935 (print $4): Rename to ...
15936 (print $2): ... here.
15937 (print $9): Rename to ...
15938 (print $5): ... here.
15939 (print $10): Rename to ...
15940 (print $6): ... here.
15941 * gdb.fortran/vla.f90: Add pvla initialization.
15942
e9fb005c
JK
159432016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15944
15945 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15946 New test.
15947 * gdb.fortran/vla-value-sub.exp: Likewise.
15948
e44e00ff
MK
159492016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15950
15951 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15952
97e94151
SM
159532016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15954
15955 * i386-biarch-core.exp: Define corefile using
15956 standard_output_file.
15957
01113bc1
YQ
159582016-02-12 Yao Qi <yao.qi@linaro.org>
15959
15960 * gdb.arch/arm-single-step-kernel-helper.c: New.
15961 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15962
33b4777c
MM
159632016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15964
15965 * gdb.btrace/tailcall-only.exp: New.
15966 * gdb.btrace/tailcall-only.c: New.
15967 * gdb.btrace/x86_64-tailcall-only.S: New.
15968 * gdb.btrace/i686-tailcall-only.S: New.
15969
acc23c11
PA
159702016-02-11 Pedro Alves <palves@redhat.com>
15971
15972 * README (Parallel testing): Add missing double quotes.
15973
e352bf0a
PA
159742016-02-11 Pedro Alves <palves@redhat.com>
15975
15976 * README (Parallel testing): New section.
15977 (GDB_PARALLEL): Rewrite.
15978 (FORCE_PARALLEL): Document.
15979
9f5fed78
MK
159802016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15981
15982 * gdb.trace/tfile-avx.c: New test.
15983 * gdb.trace/tfile-avx.exp: New test.
15984
9ef9e6a6
KS
159852016-02-09 Keith Seitz <keiths@redhat.com>
15986
15987 PR breakpoints/19546
15988 * gdb.base/infcall-exec.c: New file.
15989 * gdb.base/infcall-exec2.c: New file.
15990 * gdb.base/infcall-exec.exp: New file.
15991
a96e36da
KS
159922016-02-09 Keith Seitz <keiths@redhat.com>
15993
15994 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15995 (toplevel): Call test_bkpt_address.
15996
9f61929f
KS
159972016-02-09 Keith Seitz <keiths@redhat.com>
15998
15999 PR python/19506
16000 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16001 (toplevel): Call test_bkpt_address.
16002
1e94266c
SM
160032016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16004
16005 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16006 to AC_OUTPUT.
16007 * configure: Regenerate.
16008
2a7f3dff
PA
160092016-02-09 Pedro Alves <palves@redhat.com>
16010
16011 PR breakpoints/19548
16012 * gdb.base/execl-update-breakpoints.c (some_function): New
16013 function.
16014 (main): Call it.
16015 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16016 Tighten expected GDB output.
16017
2151ccc5
SM
160182016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16019
16020 * Makefile.in (ALL_SUBDIRS): Remove.
16021 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16022 (distclean maintainer-clean realclean): Likewise.
16023 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16024 * configure: Regenerate.
16025 * gdb.ada/Makefile.in: Delete.
16026 * gdb.arch/Makefile.in: Likewise.
16027 * gdb.asm/Makefile.in: Likewise.
16028 * gdb.base/Makefile.in: Likewise.
16029 * gdb.btrace/Makefile.in: Likewise.
16030 * gdb.cell/Makefile.in: Likewise.
16031 * gdb.compile/Makefile.in: Likewise.
16032 * gdb.cp/Makefile.in: Likewise.
16033 * gdb.disasm/Makefile.in: Likewise.
16034 * gdb.dlang/Makefile.in: Likewise.
16035 * gdb.dwarf2/Makefile.in: Likewise.
16036 * gdb.fortran/Makefile.in: Likewise.
16037 * gdb.gdb/Makefile.in: Likewise.
16038 * gdb.go/Makefile.in: Likewise.
16039 * gdb.guile/Makefile.in: Likewise.
16040 * gdb.java/Makefile.in: Likewise.
16041 * gdb.linespec/Makefile.in: Likewise.
16042 * gdb.mi/Makefile.in: Likewise.
16043 * gdb.modula2/Makefile.in: Likewise.
16044 * gdb.multi/Makefile.in: Likewise.
16045 * gdb.objc/Makefile.in: Likewise.
16046 * gdb.opencl/Makefile.in: Likewise.
16047 * gdb.opt/Makefile.in: Likewise.
16048 * gdb.pascal/Makefile.in: Likewise.
16049 * gdb.perf/Makefile.in: Likewise.
16050 * gdb.python/Makefile.in: Likewise.
16051 * gdb.reverse/Makefile.in: Likewise.
16052 * gdb.server/Makefile.in: Likewise.
16053 * gdb.stabs/Makefile.in: Likewise.
16054 * gdb.threads/Makefile.in: Likewise.
16055 * gdb.trace/Makefile.in: Likewise.
16056 * gdb.xml/Makefile.in: Likewise.
16057 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16058 GDB_PARALLEL.
16059 (standard_output_file): Remove check for GDB_PARALLEL, always
16060 return path in outputs/$subdir/$testname.
16061
437277d4
SM
160622016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16063
16064 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16065 (site.exp): Assign abs_srcdir to tcl's srcdir.
16066
31d913c7
YQ
160672016-02-04 Yao Qi <yao.qi@linaro.org>
16068
16069 * gdb.base/foll-exec-mode.c: Include limits.h.
16070 (main): Add parameters argc and argv. Get directory from
16071 argv[0].
16072 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16073 compilation.
16074 * gdb.base/foll-exec.c: Include limits.h.
16075 (main): Add parameters argc and argv.
16076 Get directory from argv[0].
16077 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16078 Adjust tests on the number of lines as source code changed.
16079 * gdb.base/foll-vfork-exit.c: Include limits.h.
16080 (main): Add one line of statement before vfork.
16081 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16082 (main): Add parameters argc and argv. Get directory from
16083 argv[0].
16084 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16085 (setup_gdb): Set tbreak to skip some source lines.
16086 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16087 (main): Add parameters argc and argv. Get directory from
16088 argv[0].
16089 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16090 compilation.
16091 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16092 (main): Add parameters argc and argv. Get directory from
16093 argv[0].
16094 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16095 compilation.
16096
9482b9fb
DE
160972016-02-01 Doug Evans <dje@google.com>
16098
16099 * gdb.base/skip.exp: Clean up multiple references to same test name.
16100
6b2e4f10
PA
161012016-02-01 Pedro Alves <palves@redhat.com>
16102
ccb6afd6 16103 PR remote/19496
6b2e4f10
PA
16104 * gdb.threads/forking-threads-plus-breakpoint.exp
16105 (displaced_stepping_supported): New global.
16106 (probe_displaced_stepping_support): New procedure.
16107 (do_test): Add 'displaced' parameter, and use it.
16108 (top level): Check for displaced stepping support. Add displaced
16109 stepping on/off testing axis.
16110
37a8db1a
AB
161112016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16112
16113 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16114 pointer. Don't perform further tests on the unassociated pointer
16115 if the first test fails.
16116
5fdf6324
AB
161172016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16118
16119 * gdb.base/max-value-size.c: New file.
16120 * gdb.base/max-value-size.exp: New file.
16121 * gdb.base/huge.exp: Disable max-value-size for this test.
16122
935c6144
IB
161232016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16124
16125 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16126
7fe8399d
YQ
161272016-01-28 Yao Qi <yao.qi@linaro.org>
16128
16129 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16130
a2077e25
PA
161312016-01-25 Pedro Alves <palves@redhat.com>
16132
16133 PR threads/19461
16134 * gdb.base/fork-running-state.c: New file.
16135 * gdb.base/fork-running-state.exp: New file.
16136
1d2736d4
PA
161372016-01-25 Pedro Alves <palves@redhat.com>
16138
16139 PR gdb/19494
16140 * gdb.base/catch-fork-kill.c: New file.
16141 * gdb.base/catch-fork-kill.exp: New file.
16142
f1da4b11
PA
161432016-01-25 Pedro Alves <palves@redhat.com>
16144
16145 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16146 Delete, moved to lib/gdb.exp.
16147 * gdb.threads/forking-threads-plus-breakpoint.exp
16148 (foreach_with_prefix): Likewise.
16149 * gdb.threads/process-dies-while-handling-bp.exp
16150 (foreach_with_prefix): Likewise.
16151 * lib/gdb.exp (foreach_with_prefix): New procedure.
16152
45f38546
MK
161532016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16154
16155 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16156 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16157
dc29a1ce
MK
161582016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16159
16160 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16161 endian targets.
16162
092127d7
JK
161632016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16164 Pedro Alves <palves@redhat.com>
16165
16166 Fix testsuite compatibility with Guile.
16167 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16168 number.
16169
31d765d3
JK
161702016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16171
16172 Fix testsuite compatibility with Guile.
16173 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16174 (thread 1): New test for backtrace through signal handler.
16175
1ac78c04
YQ
161762016-01-22 Yao Qi <yao.qi@linaro.org>
16177
16178 PR testsuite/19491
16179 * gdb.base/multi-forks.c: Include
16180 ../lib/unbuffer_output.c
16181 (main): Call gdb_unbuffer_output.
16182
4f5946a8
DE
161832016-01-21 Doug Evans <dje@google.com>
16184
16185 * lib/ada.exp (gdb_compile_ada): Fix typo.
16186
305e13e6
JB
161872016-01-21 Joel Brobecker <brobecker@adacore.com>
16188
16189 * gdb.base/break-fun-addr.exp: New file.
16190 * gdb.base/break-fun-addr1.c: New file.
16191 * gdb.base/break-fun-addr2.c: New file.
16192
5f5dfff6
SM
161932016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16194
16195 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16196 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16197 enum flag values.
16198
fd356fa2
AA
161992016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16200
16201 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16202 when GDB can not set the vector return value. Add more comments
16203 for clarification.
16204
9df22175
AT
162052016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16206
16207 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16208 command.
16209
41d1845e
SM
162102016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16211
16212 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16213
01ac6840
SM
162142016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16215
16216 * Makefile.in (check-single): Pass --status to runtest.
16217 (check/%.exp): Likewise.
16218
162192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16220
16221 * Makefile.in (check-parallel): Propagate return code from make
16222 do-check-parallel.
16223
bd0a71fa
MK
162242016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16225
16226 * gdb.trace/ftrace.exp: Fix expected message on continue.
16227 * gdb.trace/pending.exp: Fix expected message on continue.
16228 * gdb.trace/trace-break.exp: Fix expected message on continue.
16229
8bcbad33
SM
162302016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16231
16232 * lib/gdb.exp (gdb_test): Remove unused global references.
16233
f303dbd6
PA
162342016-01-18 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.base/async-shell.exp: Adjust expected output.
16237 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16238 * gdb.base/siginfo-thread.exp: Adjust expected output.
16239 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16240 * gdb.java/jnpe.exp: Adjust expected output.
16241 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16242 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16243 * gdb.threads/leader-exit.exp: Adjust expected output.
16244 * gdb.threads/manythreads.exp: Adjust expected output.
16245 * gdb.threads/pthreads.exp: Adjust expected output.
16246 * gdb.threads/schedlock.exp: Adjust expected output.
16247 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16248 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16249 expected output.
16250 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16251 output.
16252 * gdb.threads/sigthread.exp: Adjust expected output.
16253 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16254
b2789696
YQ
162552016-01-18 Yao Qi <yao.qi@linaro.org>
16256
16257 * gdb.guile/scm-section-script.c: Replace @progbits with
16258 %progbits.
16259 * gdb.python/py-section-script.c: Likewise.
16260
71ef29a8
PA
162612016-01-15 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.multi/tids.exp: Test star wildcard ranges.
16264
3f5b7598
PA
162652016-01-15 Pedro Alves <palves@redhat.com>
16266
16267 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16268 command from "thread apply" invocation.
16269 (thr_apply_info_thr_invalid): Default the expected output to the
16270 input tid list.
16271 (top level): Add tests that use convenience variables. Add tests
16272 for "thread apply" with a valid TID list, but missing the command.
16273
663f6d42
PA
162742016-01-13 Pedro Alves <palves@redhat.com>
16275
16276 * gdb.base/default.exp: Expect $_gthread as well.
16277 * gdb.multi/tids.exp: Test $_gthread.
16278 * gdb.threads/thread-specific.exp: Test $_gthread.
16279
c84f6bbf
PA
162802016-01-13 Pedro Alves <palves@redhat.com>
16281
16282 * gdb.multi/tids.exp: Test "info threads -gid".
16283
22a02324
PA
162842016-01-13 Pedro Alves <palves@redhat.com>
16285
16286 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16287 Breakpoint.thread.
16288 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16289
5d5658a1
PA
162902016-01-07 Pedro Alves <palves@redhat.com>
16291
16292 * gdb.base/break.exp: Adjust to output changes.
16293 * gdb.base/hbreak2.exp: Likewise.
16294 * gdb.base/sepdebug.exp: Likewise.
16295 * gdb.base/watch_thread_num.exp: Likewise.
16296 * gdb.linespec/keywords.exp: Likewise.
16297 * gdb.multi/info-threads.exp: Likewise.
16298 * gdb.threads/thread-find.exp: Likewise.
16299 * gdb.multi/tids.c: New file.
16300 * gdb.multi/tids.exp: New file.
16301
84654457
PA
163022016-01-13 Pedro Alves <palves@redhat.com>
16303
16304 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16305
e3940304
PA
163062016-01-13 Pedro Alves <palves@redhat.com>
16307
16308 * gdb.base/default.exp: Expect $_inferior as well.
16309 * gdb.multi/base.exp: Test $_inferior.
16310
a911d87a
PA
163112016-01-13 Pedro Alves <palves@redhat.com>
16312
16313 PR breakpoints/19388
16314 * gdb.base/catch-signal-siginfo-cond.c: New file.
16315 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16316
82075af2
JS
163172016-01-12 Josh Stone <jistone@redhat.com>
16318 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16319
16320 * gdb.base/catch-syscall.c (do_execve): New variable.
16321 (main): Conditionally trigger an execve.
16322 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16323 (test_catch_syscall_execve): New, check entry/return across execve.
16324 (do_syscall_tests): Call test_catch_syscall_execve.
16325
e46eeedd
PA
163262016-01-12 Pedro Alves <palves@redhat.com>
16327
16328 * gdb.base/random-signal.exp (do_test): New procedure, with body
16329 of testcase moved in.
16330
01d8c27e
JK
163312016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16332 Pedro Alves <palves@redhat.com>
16333
16334 * gdb.base/funcargs.exp (finish from indirectly called function):
16335 Reintroduce the case for 'First'.
16336
9a706302
JK
163372016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16338 Pedro Alves <palves@redhat.com>
16339
16340 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16341 (tcatch_vfork_then_child_follow_exec)
16342 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16343 identification.
16344
c0ecb95f
JK
163452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16346
16347 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16348 and repeats to unlimited.
16349 * gdb.python/py-value.exp: Likewise.
16350 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16351 and repeats to unlimited.
16352
6cfc1fcb
JK
163532016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16354
16355 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16356 and reordering the functions.
16357 * gdb.multi/hangout.c: Likewise.
16358 * gdb.multi/hello.c: Likewise.
16359
582a1b00
SM
163602016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16361
16362 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16363 absolute.
16364 (SingleStatisticTestResult.report): Use dict.keys instead of
16365 dict.iterkeys.
16366
79bc59cb
PA
163672016-01-06 Pedro Alves <palves@redhat.com>
16368
16369 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16370
43368e1d
MM
163712016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16372
16373 * gdb.btrace/dlopen.exp: New.
16374 * gdb.btrace/dlopen.c: New.
16375 * gdb.btrace/dlopen-dso.c: New.
16376
79fad5b8
SL
163772015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16378
16379 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16380 PATTERN argument is optional.
16381
ab8314b3
JB
163822015-12-24 Joel Brobecker <brobecker@adacore.com>
16383
16384 * lib/ada.exp (target_compile_ada_from_dir): New function.
16385 (gdb_compile_ada): Reimplement avoiding the use of project files.
16386 * gdb.ada/gnat_ada.gpr: Delete.
16387 * gdb.ada/cond_lang.exp: Adjust test to make path before
16388 filename optional.
16389 * gdb.ada/small_reg_param.exp: Likewise.
16390
fe33faff
SM
163912015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16392
16393 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16394
6d265cb4
TP
163952015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16396
16397 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16398 case.
16399
10125099
SM
164002015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16401
16402 * gdb.base/break.exp: Remove dead code.
16403 * gdb.base/sepdebug.exp: Likewise.
16404
3ca22649
SM
164052015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16406
16407 * gdb.asm/asm-source.exp: Remove HP-UX references.
16408 * gdb.base/annota1.exp: Likewise.
16409 * gdb.base/annota3.exp: Likewise.
16410 * gdb.base/attach.exp: Likewise.
16411 * gdb.base/bigcore.exp: Likewise.
16412 * gdb.base/break.exp: Likewise.
16413 * gdb.base/call-ar-st.exp: Likewise.
16414 * gdb.base/callfuncs.exp: Likewise.
16415 * gdb.base/catch-fork-static.exp: Likewise.
16416 * gdb.base/display.exp: Likewise.
16417 * gdb.base/foll-exec-mode.exp: Likewise.
16418 * gdb.base/foll-exec.exp: Likewise.
16419 * gdb.base/foll-fork.exp: Likewise.
16420 * gdb.base/foll-vfork.exp: Likewise.
16421 * gdb.base/funcargs.exp: Likewise.
16422 * gdb.base/hbreak2.exp: Likewise.
16423 * gdb.base/inferior-died.exp: Likewise.
16424 * gdb.base/interrupt.exp: Likewise.
16425 * gdb.base/multi-forks.exp: Likewise.
16426 * gdb.base/nodebug.exp: Likewise.
16427 * gdb.base/sepdebug.exp: Likewise.
16428 * gdb.base/solib1.c: Likewise.
16429 * gdb.base/step-test.exp: Likewise.
16430 * gdb.mi/non-stop.c: Likewise.
16431 * gdb.mi/pthreads.c: Likewise.
16432 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16433 * gdb.threads/pthreads.c: Likewise.
16434 * gdb.threads/staticthreads.exp: Likewise.
16435 * lib/future.exp: Likewise.
16436 * lib/gdb.exp: Likewise.
16437 * gdb.base/so-indr-cl.c: Remove.
16438 * gdb.base/so-indr-cl.exp: Likewise.
16439 * gdb.base/solib.c: Likewise.
16440 * gdb.base/solib.exp: Likewise.
16441 * gdb.base/solib2.c: Likewise.
16442
b6304613
SM
164432015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16444
16445 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16446 * gdb.base/call-ar-st.exp: Likewise.
16447 * gdb.base/callfuncs.exp: Likewise.
16448 * gdb.base/condbreak.exp: Likewise.
16449 * gdb.base/constvars.exp: Likewise.
16450 * gdb.base/hbreak2.exp: Likewise.
16451 * gdb.base/langs.exp: Likewise.
16452 * gdb.base/list.exp: Likewise.
16453 * gdb.base/long_long.exp: Likewise.
16454 * gdb.base/ptype.exp: Likewise.
16455 * gdb.base/scope.exp: Likewise.
16456 * gdb.base/signals.exp: Likewise.
16457 * gdb.base/so-impl-ld.exp: Likewise.
16458 * gdb.base/varargs.exp: Likewise.
16459 * gdb.base/volatile.exp: Likewise.
16460 * gdb.base/whatis.exp: Likewise.
16461 * gdb.cp/cplusfuncs.exp: Likewise.
16462 * gdb.cp/inherit.exp: Likewise.
16463 * gdb.cp/local.exp: Likewise.
16464 * gdb.cp/member-ptr.exp: Likewise.
16465 * gdb.cp/method.exp: Likewise.
16466 * gdb.cp/overload.exp: Likewise.
16467 * gdb.cp/templates.exp: Likewise.
16468 * gdb.stabs/weird.exp: Likewise.
16469 * lib/compiler.c: Likewise.
16470 * lib/compiler.cc: Likewise.
16471 * lib/cp-support.exp: Likewise.
16472 * lib/gdb.exp: Likewise.
16473
bf401b07
SM
164742015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16475
16476 * configure.ac: Remove HP-UX case.
16477 * configure: Regenerate.
16478
aff9c0f8
SM
164792015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16480
16481 * lib/gdb.exp (gdb_compile): Add function doc.
16482
a6904d5a
PA
164832015-12-17 Pedro Alves <palves@redhat.com>
16484
16485 PR threads/19354
16486 * gdb.multi/info-threads.exp: New file.
16487
a22279dd
YQ
164882015-12-15 Yao Qi <yao.qi@linaro.org>
16489
16490 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16491 is aarch64*-*-*.
16492
0588c796
SL
164932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16494
16495 * gdb.base/history-duplicates.exp: Skip if no readline support.
16496
5d978e17
SL
164972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16498
16499 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16500
7e763b86
SL
165012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16502
16503 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16504
87a3a92c
SL
165052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16506
16507 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16508 ctrl-C if nointerrupts target property is set.
16509 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16510 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16511 * gdb.base/paginate-bg-execution.exp: Likewise.
16512 * gdb.base/paginate-execution-startup.exp: Likewise.
16513 * gdb.base/random-signal.exp: Likewise.
16514 * gdb.base/range-stepping.exp: Likewise.
16515 * gdb.cp/annota2.exp: Likewise.
16516 * gdb.cp/annota3.exp: Likewise.
16517 * gdb.gdb/selftest.exp: Likewise.
16518 * gdb.threads/continue-pending-status.exp: Likewise.
16519 * gdb.threads/leader-exit.exp: Likewise.
16520 * gdb.threads/manythreads.exp: Likewise.
16521 * gdb.threads/pthreads.exp: Likewise.
16522 * gdb.threads/schedlock.exp: Likewise.
16523 * gdb.threads/sigthread.exp: Likewise.
16524
a8f077dc
DB
165252015-12-11 Don Breazeal <donb@codesourcery.com>
16526
16527 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16528 remote.
16529 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16530 * gdb.base/foll-exec.exp (main): Enable for target remote.
16531 * gdb.base/foll-fork.exp (main): Likewise.
16532 * gdb.base/foll-vfork.exp (main): Likewise.
16533 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16534 (proc continue_to_exit_bp_loc): Use clean_restart.
16535 * gdb.base/pie-execl.exp (main): Disable for target remote.
16536 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16537 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16538 * gdb.threads/execl.exp (main): Likewise.
16539 * gdb.threads/fork-child-threads.exp (main): Likewise.
16540 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16541 remote.
16542 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16543 remote.
16544 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16545 pid.tid style ptids, instead of just tid.
16546 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16547 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16548 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16549 ptids, instead of just tid.
16550
3b2464a8
AB
165512015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16552
16553 * gdb.base/list.exp (test_list_forward): Add end of file error
16554 test.
16555 (test_repeat_list_command): Add end of file error test.
16556 (test_list_backwards): Add beginning of file error test.
16557
a0def019
AB
165582015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16559
16560 * gdb.base/list.exp (test_list_invalid_args): New function,
16561 defined, and called.
16562
5c000dff
AB
165632015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16564
16565 * gdb.base/list.exp (test_list): Make test names unique.
16566
f1637ebe
YQ
165672015-12-11 Yao Qi <yao.qi@linaro.org>
16568
16569 * gdb.base/coremaker2.c: Remove.
16570
36d6fc0a
PA
165712015-12-10 Pedro Alves <palves@redhat.com>
16572
16573 * gdb.multi/base.exp: Remove stale "spaces" references.
16574
762f7747
PA
165752015-12-10 Pedro Alves <palves@redhat.com>
16576
16577 * gdb.multi/base.exp: Don't use nowarnings.
16578 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16579 * gdb.multi/hangout.c: Include stdio.h.
16580 * gdb.multi/hello.c: Include stdlib.h.
16581 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16582 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16583 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16584
28d2bfb9
AB
165852015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16586
16587 * gdb.dwarf2/dw2-ranges-base.c: New file.
16588 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16589 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16590 support additional line table, and debug ranges generation.
16591 (Dwarf::ranges): New function, generate .debug_ranges.
16592 (Dwarf::lines): Support generating simple line table programs.
16593 (Dwarf::assemble): Initialise new namespace variables.
16594
5fc2beac
KB
165952015-12-09 Kevin Buettner <kevinb@redhat.com>
16596
16597 * gdb.base/async.exp (proc test_background): Add case for
16598 asynchronous execution not supported.
16599
1c35a88f
LM
166002015-12-09 Luis Machado <lgustavo@codesourcery.com>
16601
16602 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16603 format and change test names to make them unique.
16604
b593e3d9
RK
166052015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16606 Pedro Alves <pedro@redhat.com>
16607
16608 PR gdb/18702
16609 Add checking of floatformats setup on x86_64 hosts.
16610 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16611 (smallval, bigval): New labels/constants.
16612 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16613 float" after loading bigval and smallval.
16614
d72413e6
PMR
166152015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16616
16617 * gdb.ada/fun_overload_menu.exp: New testcase.
16618 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16619
ece66d65
JS
166202015-12-04 Josh Stone <jistone@redhat.com>
16621
16622 * gdb.base/catch-fork-static.exp: New.
16623
41d0efca
YQ
166242015-12-03 Yao Qi <yao.qi@linaro.org>
16625
16626 * gdb.base/sizeof.c: Don't include stdio.h and
16627 ../lib/unbuffer_output.c.
16628 (main): New variable 'size' and 'value'. Remove printf and
16629 gdb_unbuffer_output. Assign return value to size and value.
16630 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16631 at the beginning.
16632 (check_sizeof): Check the result by printing variable 'size'.
16633 (check_valueof): Check the result by printing variable 'value'.
16634
99fd02d9
YQ
166352015-12-01 Yao Qi <yao.qi@linaro.org>
16636
16637 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16638 for aarch64*-*-linux* target.
16639
f2faf941
PA
166402015-11-30 Pedro Alves <palves@redhat.com>
16641
16642 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16643
04bf20c5
PA
166442015-11-30 Pedro Alves <palves@redhat.com>
16645
16646 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16647 Handle non-stop mode vCont replies.
16648
09df4675
PA
166492015-11-30 Pedro Alves <palves@redhat.com>
16650
16651 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16652 prepare_for_testing. Start gdb with "set non-stop on" appended to
16653 GDBFLAGS. Lax expected stop output.
16654
58b584af
YQ
166552015-11-27 Yao Qi <yao.qi@linaro.org>
16656
16657 * gdb.arch/arm-neon.exp: New.
16658 * gdb.arch/arm-neon.c: New.
16659
dfcb77a8
YQ
166602015-11-27 Yao Qi <yao.qi@linaro.org>
16661
16662 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16663
88e8ec1b
YQ
166642015-11-27 Yao Qi <yao.qi@linaro.org>
16665
16666 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16667 frames-invalid annotation.
16668
bfde72c2
YQ
166692015-11-27 Yao Qi <yao.qi@linaro.org>
16670
16671 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16672
f6512a69
SM
166732015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16674
16675 * gdb.threads/names.exp: New file.
16676 * gdb.threads/names.c: New file.
16677 * README: Mention gdb,no_thread_names.
16678
46a3515b
MM
166792015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16680
16681 PR 19297
16682 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16683 support" error.
16684
62147a22
PA
166852015-11-24 Pedro Alves <palves@redhat.com>
16686
16687 PR 17539
16688 * gdb.base/display.exp: Expect displays to be sorted in ascending
16689 order. Use multi_line.
16690 * gdb.base/solib-display.exp: Likewise.
16691
2f341b6e
PA
166922015-11-24 Pedro Alves <palves@redhat.com>
16693
16694 PR 17539
25d49b86
PA
16695 * gdb.base/display.exp: Expect displays to be sorted in ascending
16696 order. Use multi_line.
16697 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16698
7e0aa6aa
PA
166992015-11-24 Pedro Alves <palves@redhat.com>
16700
16701 PR 17539
16702 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16703 threads in ascending order.
16704 * gdb.base/foll-fork.exp: Likewise.
16705 * gdb.base/foll-vfork.exp: Likewise.
16706 * gdb.base/multi-forks.exp: Likewise.
16707 * gdb.mi/mi-nonstop.exp: Likewise.
16708 * gdb.mi/mi-nsintrall.exp: Likewise.
16709 * gdb.multi/base.exp: Likewise.
16710 * gdb.multi/multi-arch.exp: Likewise.
16711 * gdb.python/py-inferior.exp: Likewise.
16712 * gdb.threads/break-while-running.exp: Likewise.
16713 * gdb.threads/execl.exp: Likewise.
16714 * gdb.threads/gcore-thread.exp: Likewise.
16715 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16716 * gdb.threads/kill.exp: Likewise.
16717 * gdb.threads/linux-dp.exp: Likewise.
16718 * gdb.threads/multiple-step-overs.exp: Likewise.
16719 * gdb.threads/next-bp-other-thread.exp: Likewise.
16720 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16721 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16722 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16723 * gdb.threads/thread-find.exp: Likewise.
16724 * gdb.threads/tls.exp: Likewise.
16725 * lib/mi-support.exp (mi_reverse_list): Delete.
16726 (mi_check_thread_states): No longer reverse list.
16727
2cc57ad8
PA
167282015-11-24 Pedro Alves <palves@redhat.com>
16729
16730 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16731 use lowercase.
16732
c93e8391
SM
167332015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16734
16735 * gdb.trace/actions.c: Include trace-common.h.
16736 (main): Add a location for a fast tracepoint.
16737 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16738 the normal tracepoints.
16739 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16740
045ccf91
SM
167412015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16742
16743 * save-trace.exp: Factor out code to these...
16744 (gdb_save_tracepoints): New.
16745 (gdb_load_tracepoints): New.
16746 (do_save_load_test): New.
16747
5506f9f6
KB
167482015-11-23 Kevin Buettner <kevinb@redhat.com>
16749
16750 * gdb.base/asmlabel.exp: New test.
16751 * gdb.base/asmlabel.c: New test case.
16752
16c3b12f
JB
167532015-11-23 Joel Brobecker <brobecker@adacore.com>
16754
16755 * gdb.base/wrong_frame_bt_full-main.c: New file.
16756 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16757 * gdb.base/wrong_frame_bt_full.exp: New file.
16758
155bfbd3
JB
167592015-11-23 Joel Brobecker <brobecker@adacore.com>
16760
16761 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16762
bb097445
JM
167632015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16764
206853a0 16765 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16766 pstate register when comparing registers values in
16767 sparc64-*-linux-gnu targets to avoid spurious differences.
16768
9c88ed8f
JM
167692015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16770
206853a0 16771 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16772
96161e25
SL
167732015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16774
16775 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16776 as type argument to gdb_compile.
16777 * gdb.base/nested-subp2.exp: Likewise.
16778 * gdb.base/nested-subp3.exp: Likewise.
16779
340c2830
DV
167802015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16781
16782 * lib/dwarf.exp (_note): Fix left shift of negative value.
16783 * gdb.trace/trace-condition.exp: Likewise.
16784
c1862d0f
YQ
167852015-11-13 Yao Qi <yao.qi@linaro.org>
16786
16787 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16788 comments about d10v.
16789 (test_scalar_returns): Likewise.
16790 * gdb.base/d10v.ld: Remove.
16791 * gdb.base/overlays.exp: Remove the target triplet checking for
16792 d10v-*-*.
16793 * gdb.base/structs.exp (test_struct_returns): Remove the
16794 comments about d10v.
16795 (test_struct_calls): Likewise.
16796
77ae9c19
YQ
167972015-11-13 Yao Qi <yao.qi@linaro.org>
16798
16799 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16800 * gdb.base/gnu_vector.c: Don't include stdio.h.
16801 (main): Don't print res and call add_some_intvecs.
16802
430e004e
MK
168032015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16804
16805 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16806 macro.
16807 (func5): Removed.
16808 (func4): Use FAST_TRACEPOINT_LABEL.
16809 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16810 macro.
16811 (func): Removed.
16812 (thread_function): Use FAST_TRACEPOINT_LABEL.
16813 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16814 (func): Remove.
16815 (marker): Use FAST_TRACEPOINT_LABEL.
16816 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16817 (pendfunc1): Remove.
16818 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16819 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16820 (foo): Remove.
16821 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16822 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16823 macro.
16824 (func): Remove.
16825 (marker): Use FAST_TRACEPOINT_LABEL.
16826 * gdb.trace/trace-common.h: New header.
16827 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16828 macro.
16829 (func): Remove.
16830 (marker): Use FAST_TRACEPOINT_LABEL.
16831 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16832 (func): Remove.
16833 (thread_function): Use FAST_TRACEPOINT_LABEL.
16834
6e7675a7
MK
168352015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16836
16837 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16838 in front.
16839 * gdb.trace/change-loc.exp: Use global pcreg definition.
16840 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16841 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16842 in front.
16843 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16844 * gdb.trace/pending.exp: Likewise.
16845 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16846 * gdb.trace/trace-break.exp: Likewise.
16847 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16848 in front.
16849 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16850 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16851 in front.
16852 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16853
dddc0e16
JB
168542015-11-09 Joel Brobecker <brobecker@adacore.com>
16855
16856 * gdb.ada/fin_fun_out: New testcase.
16857
c6f0b406
KB
168582015-11-07 Kevin Buettner <kevinb@redhat.com>
16859
16860 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16861 value associated with DW_AT_byte_size.
16862 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16863 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16864 DW_AT_upper_bound.
16865
f01dcfd9
KB
168662015-11-07 Kevin Buettner <kevinb@redhat.com>
16867
16868 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16869 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16870 version.
16871 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16872 gdb.dwarf2/dw2-canonicalize-type.exp,
16873 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16874 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16875 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16876 provided by gdb_target_symbol_prefix_flags_asm.
16877 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16878 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16879 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16880 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16881 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16882 macros where needed). Use this macro for symbols which require
16883 the prefix provided by SYMBOL_PREFIX.
16884
2223449a
KB
168852015-11-05 Kevin Buettner <kevinb@redhat.com>
16886
16887 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16888 New procs.
16889 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16890 representing expressions, of more than one list element.
16891 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16892 to prepend linker symbol prefix to f.
16893 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16894 table_1 and table_2.
16895 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16896 Likewise, for f and g.
16897 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16898 for ptr.
16899 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16900 for main.
16901 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16902 table_1_ptr and table_2_ptr.
16903
6f2f1a3a
JK
169042015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16905 Joel Brobecker <brobecker@adacore.com>
16906
16907 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16908
566c56c9
MK
169092015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16910
16911 * gdb.reverse/s390-mvcle.c: New test.
16912 * gdb.reverse/s390-mvcle.exp: New file.
16913 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16914
d5f0636b
MK
169152015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16916
16917 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16918
7ad8b86c
MK
169192015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16920
16921 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16922 reaching marker2.
16923 * gdb.reverse/getresuid-reverse.exp: Likewise.
16924 * gdb.reverse/pipe-reverse.exp: Likewise.
16925 * gdb.reverse/readv-reverse.exp: Likewise.
16926 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16927 * gdb.reverse/time-reverse.exp: Likewise.
16928 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16929
4081c0f1
YQ
169302015-10-30 Yao Qi <yao.qi@linaro.org>
16931
16932 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16933 (empty_cycle): Remove.
16934 (main): Don't call empty_cycle. Don't use watch_count_done.
16935 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16936 empty_cycle. Rewrite the code counting HW watchpoints.
16937
452b4ba5
MK
169382015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16939
16940 * gdb.reverse/fstatat-reverse.c: New test.
16941 * gdb.reverse/fstatat-reverse.exp: New file.
16942 * gdb.reverse/getresuid-reverse.c: New test.
16943 * gdb.reverse/getresuid-reverse.exp: New file.
16944 * gdb.reverse/pipe-reverse.c: New test.
16945 * gdb.reverse/pipe-reverse.exp: New file.
16946 * gdb.reverse/readv-reverse.c: New test.
16947 * gdb.reverse/readv-reverse.exp: New file.
16948 * gdb.reverse/recvmsg-reverse.c: New test.
16949 * gdb.reverse/recvmsg-reverse.exp: New file.
16950 * gdb.reverse/time-reverse.c: New test.
16951 * gdb.reverse/time-reverse.exp: New file.
16952 * gdb.reverse/waitpid-reverse.c: New test.
16953 * gdb.reverse/waitpid-reverse.exp: New file.
16954
5e2e7507
JK
169552015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16956
16957 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16958
0fde2c53
DE
169592015-10-26 Doug Evans <dje@google.com>
16960
16961 PR symtab/17391
16962 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16963 * gdb.dwarf2/bad-regnum.c: New file.
16964 * gdb.dwarf2/bad-regnum.exp: New file.
16965
1a70ae97
DE
169662015-10-26 Doug Evans <dje@google.com>
16967
16968 PR python/18938
16969 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16970 file.
16971
27dc26ab
JK
169722015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16973
16974 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16975 for a change by "Mention language in compile error message".
16976
bed91f4d
SM
169772015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16978
16979 PR python/18073
16980 * gdb.python/py-type.c (C::a_method): New.
16981 (C::a_const_method): New.
16982 (C::a_static_method): New.
16983 (a_function): New.
16984 * gdb.python/py-type.exp (test_fields): Test getting fields
16985 from function and method.
16986
3f2f83dd
KB
169872015-10-21 Keven Boell <keven.boell@intel.com>
16988
16989 * gdb.fortran/vla-alloc-assoc.exp: New file.
16990 * gdb.fortran/vla-datatypes.exp: New file.
16991 * gdb.fortran/vla-datatypes.f90: New file.
16992 * gdb.fortran/vla-history.exp: New file.
16993 * gdb.fortran/vla-ptype-sub.exp: New file.
16994 * gdb.fortran/vla-ptype.exp: New file.
16995 * gdb.fortran/vla-sizeof.exp: New file.
16996 * gdb.fortran/vla-sub.f90: New file.
16997 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16998 * gdb.fortran/vla-value-sub-finish.exp: New file.
16999 * gdb.fortran/vla-value-sub.exp: New file.
17000 * gdb.fortran/vla-value.exp: New file.
17001 * gdb.fortran/vla-ptr-info.exp: New file.
17002 * gdb.mi/mi-vla-fortran.exp: New file.
17003 * gdb.mi/vla.f90: New file.
17004
27145d50
SL
170052015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17006
17007 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17008 of hardwired timeout value.
17009
5f3ff4f8
JK
170102015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17011 Pedro Alves <palves@redhat.com>
17012
17013 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17014 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17015
bfd09d20
JS
170162015-10-19 Josh Stone <jistone@redhat.com>
17017
17018 * gdb.base/catch-syscall.c: Include <sched.h>.
17019 (unknown_syscall): New variable.
17020 (main): Trigger a vfork and an unknown syscall.
17021 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17022 (unknown_syscall_number): Likewise.
17023 (check_call_to_syscall): Accept an optional syscall pattern.
17024 (check_return_from_syscall): Likewise.
17025 (check_continue): Likewise.
17026 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17027 (test_catch_syscall_skipping_return): New test toggling off 'catch
17028 syscall' to step over the syscall return, then toggling back on.
17029 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17030 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17031 (do_syscall_tests): Call test_catch_syscall_without_args and
17032 test_catch_syscall_mid_vfork.
17033 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17034 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17035
b32b93c6
AS
170362015-10-19 Andrew Stubbs <ams@codesourcery.com>
17037
17038 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17039 print g_vE): Add new pass patterns.
17040 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17041 print various symbol names for vptr fields.
17042
9d622bda
AB
170432015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17044
17045 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17046 results.
17047
0fd8ac1c
YQ
170482015-10-12 Yao Qi <yao.qi@linaro.org>
17049
17050 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17051
34240514
YQ
170522015-10-12 Yao Qi <yao.qi@linaro.org>
17053
17054 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17055 is aarch64*-*-linux*.
17056
8240f442
YQ
170572015-10-12 Yao Qi <yao.qi@linaro.org>
17058
17059 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17060 (can_relocate_bcond_true): ... it.
17061 (can_relocate_bcond_false): New function.
17062 (foo): Likewise.
17063 (can_relocate_bl): Likewise.
17064 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17065 can_relocate_bl.
17066
2520f728
PMR
170672015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17068
17069 * gdb.base/nested-addr.c: New file.
17070 * gdb.base/nested-addr.exp: New testcase.
17071
abcef95a
MM
170722015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17073
17074 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17075 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17076 its output. Ignore the output of "record goto begin" and instead
17077 check that GDB is replaying.
17078
145e3ddb
PA
170792015-10-09 Pedro Alves <palves@redhat.com>
17080
17081 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17082 (top level): Use it in the run with no args test.
17083
d5d8c4e1
IB
170842015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17085
17086 * gdb.dlang/properties.exp: New file.
17087
06e635ef
SL
170882015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17089
17090 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17091 whether or not address 0x1000 is mapped on the target.
17092
e019fd1d
SM
170932015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17094
17095 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17096 build.
17097
77ba2a67
MM
170982015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17099
17100 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17101 instruction-history test.
17102
c60eb31f
DE
171032015-09-28 Doug Evans <dje@google.com>
17104
17105 * gdb.base/gcore.c (array_func): Add reference to static_array.
17106
9a3c8263
SM
171072015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17108
17109 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17110 source line.
17111
9720e656
SL
171122015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17113
17114 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17115 short or char as base type.
17116
938d3bf2
SL
171172015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17118
17119 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17120 to allow any size enum.
17121
e6c2c623
PMR
171222015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17123
17124 * gdb.ada/array_ptr_renaming.exp: New testcase.
17125 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17126 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17127
06da0f77
PL
171282015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17129
17130 * gdb.trace/ftrace-lock.c: New file.
17131 * gdb.trace/ftrace-lock.exp: New file.
17132
4f51c22a
PL
171332015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17134
17135 * gdb.arch/insn-reloc.c: New file.
17136 * gdb.arch/ftrace-insn-reloc.exp: New file.
17137
7041adf4
PL
171382015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17139
17140 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17141 instruction.
17142 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17143 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17144 * gdb.trace/range-stepping.c: Likewise.
17145 * gdb.trace/trace-break.c: Likewise.
17146 * gdb.trace/trace-mt.c (thread_function): Likewise.
17147 * gdb.trace/ftrace.c (marker): Likewise.
17148 * gdb.trace/trace-condition.c (marker): Likewise.
17149 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17150 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17151 is_aarch64_target.
17152
015d2e7e
DE
171532015-09-18 Doug Evans <xdje42@gmail.com>
17154
17155 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17156 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17157
26b188a2
SL
171582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17159
17160 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17161 the breakpoint.
17162
79dc332b
SL
171632015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17164
17165 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17166 the pending breakpoint. Remove timeout override for "Run till
17167 MI pending breakpoint on pendfunc3 on thread 2" test.
17168
f57929f2
SL
171692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17170
17171 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17172 filename pattern.
17173
3f469b17
SL
171742015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17175
17176 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17177 in breakpoint filename pattern.
17178
515b89b3
SL
171792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17180
7800dbe4
SL
17181 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17182
171832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17184
515b89b3
SL
17185 * gdb.linespec/explicit.exp: Check for readline support for
17186 tab-completion tests. Fix obvious typo.
17187
d2939ba2
MM
171882015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17189
17190 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17191 and replay.
17192
cbb55fa7
MM
171932015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17194
17195 * gdb.btrace/non-stop.c: New.
17196 * gdb.btrace/non-stop.exp: New.
17197
43691ca1
PL
171982015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17199 Yao Qi <yao.qi@linaro.org>
17200
17201 * gdb.trace/trace-condition.c: New file.
17202 * gdb.trace/trace-condition.exp: New file.
17203
d78908cf
WW
172042015-09-16 Wei-cheng Wang <cole945@gmail.com>
17205
17206 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17207 for testing bytecode compilation.
17208
1ed415e2
PA
172092015-09-16 Pedro Alves <palves@redhat.com>
17210 Sandra Loosemore <sandra@codesourcery.com>
17211
17212 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17213 (SECONDS): Redefine.
17214 (main): Call pthread_kill and alarm early.
17215 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17216 support.
17217 (test): If the target can't hardware step and doesn't support
17218 displaced stepping, increase the timeout.
17219
d136eff5
PA
172202015-09-16 Pedro Alves <palves@redhat.com>
17221
17222 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17223 (enable_debug): New procedures.
17224 (test): Use them. Bail out if waiting for threads fails.
17225 (top level): Bail out if a test fails.
17226
991f019c
YQ
172272015-09-16 Yao Qi <yao.qi@linaro.org>
17228
17229 * gdb.asm/asm-source.exp: Set asm-arch for
17230 aarch64*-*-* target.
17231 * gdb.asm/aarch64.inc: New file.
17232
bfca584f
PMR
172332015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17234
17235 * gdb.ada/array_of_variable_length.exp: New testcase.
17236 * gdb.ada/array_of_variable_length/foo.adb: New file.
17237 * gdb.ada/array_of_variable_length/pck.adb: New file.
17238 * gdb.ada/array_of_variable_length/pck.ads: New file.
17239
b326e587
DE
172402015-09-15 Doug Evans <dje@google.com>
17241
17242 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17243 of function static local variable.
17244
5382cfab
PW
172452015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17246
17247 * gdb.threads/tls-so_extern.exp: New test file.
17248 * gdb.threads/tls-so_extern.c: New test file.
17249 * gdb.threads/tls-so_extern_main.c: New test file.
17250
141c5cc4
JK
172512015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17252
17253 * gdb.opt/solib-intra-step-lib.c: New file.
17254 * gdb.opt/solib-intra-step-main.c: New file.
17255 * gdb.opt/solib-intra-step.exp: New file.
17256
d15dcecd
PA
172572015-09-15 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17260 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17261
4c2f2a79
PA
172622015-09-14 Pedro Alves <palves@redhat.com>
17263
17264 * gdb.base/hook-stop-continue.c: Delete.
17265 * gdb.base/hook-stop-continue.exp: Delete.
17266 * gdb.base/hook-stop-frame.c: Delete.
17267 * gdb.base/hook-stop-frame.exp: Delete.
17268 * gdb.base/hook-stop.c: New file.
17269 * gdb.base/hook-stop.exp: New file.
17270
919e6dbe
PMR
172712015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17272
17273 * gdb.ada/access_to_packed_array.exp: New testcase.
17274 * gdb.ada/access_to_packed_array/foo.adb: New file.
17275 * gdb.ada/access_to_packed_array/pack.adb: New file.
17276 * gdb.ada/access_to_packed_array/pack.ads: New file.
17277
157280a4
MM
172782015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17279
17280 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17281 buffer size test.
17282
2fd33e94
DB
172832015-09-11 Don Breazeal <donb@codesourcery.com>
17284
17285 * gdb.base/foll-exec.c: Add copyright header. Fix
17286 formatting issues.
17287 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17288 (do_exec_tests): Use clean_restart in place of zap_session,
17289 and for test initialization. Fix formatting issues. Use
17290 fail in place of perror.
17291 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17292 an expect statement to match an expression with output from
17293 the program under debug.
17294 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17295 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17296 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17297 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17298 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17299
e70b6e8e
DE
173002015-09-09 Doug Evans <dje@google.com>
17301
17302 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17303
7a551a51
DE
173042015-09-09 Doug Evans <dje@google.com>
17305
17306 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17307
4c666f84
DE
173082015-09-09 Doug Evans <dje@google.com>
17309
17310 * gdb.base/savedregs.exp: Fix typo.
17311
243a9253
PA
173122015-09-09 Pedro Alves <palves@redhat.com>
17313
17314 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17315
c0fa8fbd
SL
173162015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17317
17318 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17319 command actually switches threads. Give up on remaining
17320 tests if target fails to stop at breakpoint.
17321
cd7c1778
PMR
173222015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17323
17324 * gdb.ada/funcall_char.exp: New testcase.
17325 * gdb.ada/funcall_char/foo.adb: New file.
17326
dc5c8746
PMR
173272015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17328
17329 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17330 expected outputs. Add two testcases for completing ambiguous
17331 functions.
17332 * gdb.ada/complete/aux_pck.adb: New file.
17333 * gdb.ada/complete/aux_pck.ads: New file.
17334 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17335 Ambiguous_Func functions.
17336 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17337 * gdb.ada/complete/pck.adb: Likewise.
17338
4e83a1e7
UW
173392015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17340
17341 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17342 failures to run the test program under GDB.
17343
8ce74153
LM
173442015-08-26 Luis Machado <lgustavo@codesourcery.com>
17345
17346 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17347 to C.
17348
e9756d52
PP
173492015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17350
17351 * gdb.base/run-after-attach.exp: New test file.
17352 * gdb.base/run-after-attach.c: New test file.
17353
8d37573b
DB
173542015-08-26 Don Breazeal <donb@codesourcery.com>
17355
17356 * gdb.base/foll-exec-2.c: New test program.
17357 * gdb.base/foll-exec-2.exp: New test.
17358
63e43d3a
PMR
173592015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17360
17361 * gdb.base/nested-subp1.exp: New file.
17362 * gdb.base/nested-subp1.c: New file.
17363 * gdb.base/nested-subp2.exp: New file.
17364 * gdb.base/nested-subp2.c: New file.
17365 * gdb.base/nested-subp3.exp: New file.
17366 * gdb.base/nested-subp3.c: New file.
17367
3d40fbb5
PA
173682015-08-24 Pedro Alves <palves@redhat.com>
17369
17370 * gdb.server/connect-without-multi-process.c: New file.
17371 * gdb.server/connect-without-multi-process.exp: New file.
17372
4422ac93
LM
173732015-08-24 Luis Machado <lgustavo@codesourcery.com>
17374
17375 * gdb.opt/inline-markers.c: Make z int.
17376
91dddb86
LM
173772015-08-24 Luis Machado <lgustavo@codesourcery.com>
17378
17379 * gdb.opt/inline-markers.c: Make z volatile.
17380
a48847ee
LM
173812015-08-24 Luis Machado <lgustavo@codesourcery.com>
17382
17383 * gdb.opt/inline-bt.c: New volatile global z.
17384 * gdb.opt/inline-cmds.c: Likewise.
17385 * gdb.opt/inline-locals.c: Likewise.
17386 * gdb.opt/inline-markers.c: New extern global z.
17387 (marker): Use z.
17388 (inline_fn): Likewise.
17389
0ebbc52b
PA
173902015-08-24 Pedro Alves <palves@redhat.com>
17391
17392 * config/m32r-stub.exp: Remove file.
17393 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17394 * gdb.base/call-rt-st.exp: Likewise.
17395 * gdb.base/call-strs.exp: Likewise.
17396 * gdb.base/default.exp: Remove references to h8300-*-hms and
17397 *-*-udi*.
17398 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17399
77c365df
AA
174002015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17401
17402 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17403 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17404 and "return" use KFAIL when GDB can not read/write the vector
17405 return value.
17406
4313b8c0
GB
174072015-08-21 Gary Benson <gbenson@redhat.com>
17408
17409 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17410
0e433b32
PA
174112015-08-20 Pedro Alves <palves@redhat.com>
17412
17413 * gdb.server/solib-list.exp: No longer expect an interior stop in
17414 non-stop mode.
17415
221e1a37
PA
174162015-08-20 Pedro Alves <palves@redhat.com>
17417
17418 * gdb.server/connect-stopped-target.c: New file.
17419 * gdb.server/connect-stopped-target.exp: New file.
17420
40e3ad0e
PA
174212015-08-20 Pedro Alves <palves@redhat.com>
17422
17423 * gdb.dwarf2/comp-unit-lang.exp: New file.
17424 * gdb.dwarf2/comp-unit-lang.c: New file.
17425
af39b327
PMR
174262015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17427
17428 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17429 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17430
7d45c7c3 174312015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17432
7d45c7c3
KB
17433 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17434 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17435
4d6cceb4
DE
174362015-08-18 Doug Evans <dje@google.com>
17437 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17438
17439 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17440 skip_python_tests. New arg prompt_regexp.
17441 (skip_python_tests): New function.
17442 * lib/mi-support.exp (mi_skip_python_tests): New function.
17443 * gdb.python/py-mi-objfile-gdb.py: New file.
17444 * gdb.python/py-mi-objfile.c: New file.
17445 * gdb.python/py-mi-objfile.exp: New file.
17446
ad89c2aa
KS
174472015-08-17 Keith Seitz <keiths@redhat.com>
17448
17449 * gdb.linespec/explicit.exp: Move strace test from here ...
17450 * gdb.trace/strace.exp: ... to here.
17451
e3ae3c43
PP
174522015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17453
17454 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17455 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17456
604b2636
DE
174572015-08-14 Doug Evans <xdje42@gmail.com>
17458
17459 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17460 inferior before selecting a new file.
17461
6ff0ba5f
DE
174622015-08-14 Doug Evans <xdje42@gmail.com>
17463
17464 * gdb.mi/mi-disassemble.exp: Update.
17465 * gdb.base/disasm-optim.S: New file.
17466 * gdb.base/disasm-optim.c: New file.
17467 * gdb.base/disasm-optim.h: New file.
17468 * gdb.base/disasm-optim.exp: New file.
17469
9ca98f92
KS
174702015-08-14 Keith Seitz <keiths@redhat.com>
17471
17472 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17473 "evaluated-by".
17474
52bbc560
JB
174752015-08-13 Joel Brobecker <brobecker@adacore.com>
17476
17477 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17478
5d8c3ed3
PMR
174792015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17480
17481 * gdb.ada/fun_renaming.exp: New testcase.
17482 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17483 * gdb.ada/fun_renaming/pack.adb: New file.
17484 * gdb.ada/fun_renaming/pack.ads: New file.
17485
ea8812bc
KS
174862015-08-12 Keith Seitz <keiths@redhat.com>
17487
17488 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17489 gdb_get_line_number.
17490
4dafcdeb
JB
174912015-08-12 Joel Brobecker <brobecker@adacore.com>
17492
17493 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17494 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17495 gdb.base/dso2dso.exp: New files.
17496
5ba32597
SDJ
174972015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17498 Pedro Alves <palves@redhat.com>
17499 Keith Seitz <keiths@redhat.com>
17500
17501 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17502 GDBFLAGS.
17503
b6dafabf
PP
175042015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17505
17506 * gdb.base/gdbhistsize-history.exp
17507 (test_histsize_history_setting): Use save_vars.
17508 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17509 Use save_vars.
17510 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17511 * gdb.base/readline.exp: Use save_vars.
17512
abe8e607
PP
175132015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17514
17515 * lib/gdb.exp (save_vars): New proc.
17516
629500fa
KS
175172015-08-11 Keith Seitz <keiths@redhat.com>
17518
17519 * gdb.base/help.exp: Update help_breakpoint_text.
17520
eb8c4e2e
KS
175212015-08-11 Keith Seitz <keiths@redhat.com>
17522
17523 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17524 (at toplevel): Call test_explicit_breakpoints.
17525 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17526 breakpoints.
17527 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17528 breakpoint conditions, "-cond".
17529
87f0e720
KS
175302015-08-11 Keith Seitz <keiths@redhat.com>
17531
17532 * gdb.linespec/3explicit.c: New file.
17533 * gdb.linespec/cpexplicit.cc: New file.
17534 * gdb.linespec/cpexplicit.exp: New file.
17535 * gdb.linespec/explicit.c: New file.
17536 * gdb.linespec/explicit.exp: New file.
17537 * gdb.linespec/explicit2.c: New file.
17538 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17539 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17540 before using in the matching pattern.
17541 Clarify that `prefix' is a regular expression.
17542
f00aae0f
KS
175432015-08-11 Keith Seitz <keiths@redhat.com>
17544
17545 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17546 test.
17547 Add tests for missing ",FMT" and ",".
17548
e27852be
DE
175492015-08-10 Doug Evans <dje@google.com>
17550 Keith Seitz <keiths@redhat.com>
17551
17552 PR gdb/17960
17553 * gdb.base/completion.exp: Add location completer tests.
17554
7f03bd92
PA
175552015-08-07 Pedro Alves <palves@redhat.com>
17556
17557 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17558 tests here.
17559 (top level): Run do_test with and without displaced stepping.
17560
3fc8eb30
PA
175612015-08-07 Pedro Alves <palves@redhat.com>
17562
17563 * gdb.base/valgrind-disp-step.c: New file.
17564 * gdb.base/valgrind-disp-step.exp: New file.
17565
d4569d7b
PA
175662015-08-07 Pedro Alves <palves@redhat.com>
17567
17568 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17569 Delete function.
17570 (main): Add alarm. Run an infinite loop instead of calling
17571 wait_threads.
17572 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17573 comment.
17574 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17575 Delete function.
17576 (main): Add alarm. Run an infinite loop instead of calling
17577 wait_threads.
17578 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17579 comment.
17580
e1316e60
PA
175812015-08-07 Pedro Alves <palves@redhat.com>
17582
17583 * gdb.base/checkpoint-ns.exp: New file.
17584 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17585 standard_testfile.
17586
da8c46d2
MM
175872015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17588
17589 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17590 * gdb.btrace/instruction_history.exp: Update.
17591 * gdb.btrace/tsx.exp: New.
17592 * gdb.btrace/tsx.c: New.
17593
de1c2c52
PA
175942015-08-06 Pedro Alves <palves@redhat.com>
17595
17596 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17597 increase timeout.
17598 * gdb.reverse/until-precsave.exp: Bump timeouts.
17599
782e0bf4
PA
176002015-08-06 Pedro Alves <palves@redhat.com>
17601
17602 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17603
83e97ed0
PA
176042015-08-06 Pedro Alves <palves@redhat.com>
17605
17606 PR gdb/18749
17607 * gdb.threads/process-dies-while-handling-bp.c: New file.
17608 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17609
863d01bd
PA
176102015-08-06 Pedro Alves <palves@redhat.com>
17611
17612 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17613 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17614
0a39bb32
PA
176152015-08-05 Pedro Alves <palves@redhat.com>
17616
17617 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17618 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17619
ee2d2b10
SL
176202015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17621
17622 * gdb.base/bp-permanent.exp: Report test as unsupported if
17623 the target cannot stop at the permanent breakpoint.
17624
4e1bdb00
DE
176252015-08-03 Doug Evans <dje@google.com>
17626
17627 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17628 10000.
17629
3d338901
DE
176302015-08-03 Doug Evans <dje@google.com>
17631
17632 * Makefile.in (workers/%.worker, build-perf): New rule.
17633 (GDB_PERFTEST_MODE): New variable.
17634 (check-perf): Use it.
17635 (clean): Clean up gdb.perf parallel build subdirs.
17636 * lib/build-piece.exp: New file.
17637 * lib/gdb.exp (make_gdb_parallel_path): New function
17638 (standard_output_file, standard_temp_file): Call it.
17639 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17640 of $GDB_PARALLEL.
17641 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17642
af061d3e
DE
176432015-08-03 Doug Evans <dje@google.com>
17644
8e1afc81 17645 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17646 (LOG_FILE_NAME): New global.
17647 (TextReporter.__init__): Initialize self.txt_sum.
17648 (TextReporter.report): Add support for multiple data-points.
17649 Move report to perftest.sum, put raw data in perftest.log.
17650 (TextReporter.start): Open sum and log files.
17651 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17652 * gdb.perf/lib/perftest/testresult.py
17653 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17654
2c8c5d37
PA
176552015-07-31 Pedro Alves <palves@redhat.com>
17656
17657 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17658 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17659 kill_wait_spawned_process instead of explicit "kill -9".
17660 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17661 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17662 kill_wait_spawned_process.
17663 * gdb.base/attach-twice.exp: Likewise.
17664 * gdb.base/attach.exp: Likewise.
17665 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17666 gdb_test_multiple.
17667 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17668 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17669 kill_wait_spawned_process.
17670 * gdb.base/valgrind-infcall.exp: Likewise.
17671 * gdb.multi/multi-attach.exp: Likewise.
17672 * gdb.python/py-prompt.exp: Likewise.
17673 * gdb.python/py-sync-interp.exp: Likewise.
17674 * gdb.server/ext-attach.exp: Likewise.
17675 * gdb.threads/attach-into-signal.exp (corefunc): Use
17676 spawn_wait_for_attach, spawn_id_get_pid and
17677 kill_wait_spawned_process.
17678 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17679 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17680 spawn_id_get_pid and kill_wait_spawned_process.
17681 * gdb.threads/attach-stopped.exp (corefunc): Use
17682 spawn_wait_for_attach, spawn_id_get_pid and
17683 kill_wait_spawned_process.
17684 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17685 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17686 kill_wait_spawned_process instead of explicit "kill -9".
17687 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17688 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17689 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17690 processes. Don't map cygwin/windows pids here. Now returns a
17691 spawn id list.
17692
032a0fca
SL
176932015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17694
17695 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17696 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17697 correct patch.
17698
61a934ca
SL
176992015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17700
17701 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17702
4bc4d428
SL
177032015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17704
17705 Reapply:
17706 2014-05-21 Mark Wielaard <mjw@redhat.com>
17707
17708 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17709
998d452a
PA
177102015-07-30 Pedro Alves <palves@redhat.com>
17711
17712 * linux-low.c (handle_extended_wait): Set the child's last
17713 reported status to TARGET_WAITKIND_STOPPED.
17714
69dde7dc
PA
177152015-07-30 Pedro Alves <palves@redhat.com>
17716
17717 PR threads/18600
17718 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17719 only shows inferior 1.
17720
4dd63d48
PA
177212015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17722 Pedro Alves <palves@redhat.com>
17723
17724 PR threads/18600
17725 * gdb.threads/fork-plus-threads.c: New file.
17726 * gdb.threads/fork-plus-threads.exp: New file.
17727
d618e4c5
PP
177282015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17729
17730 * gdb.base/batch-preserve-term-settings.exp
17731 (test_terminal_settings_preserved_after_cli_exit): Use
17732 send_quit_command.
17733
1eef6428
PA
177342015-07-29 Pedro Alves <palves@redhat.com>
17735 Don Breazeal <donb@codesourcery.com>
17736
17737 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17738 output from both inferior_spawn_id and gdb_spawn_id.
17739
7da5b897
SDJ
177402015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17741
17742 * gdb.threads/attach-into-signal.exp (corefunc): Use
17743 with_test_prefix on nested loops, uniquefying the test messages.
17744
dac804df
SDJ
177452015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17746
17747 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17748 commit.
17749
06265e53
PP
177502015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17751
17752 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17753 New proc.
17754 (test_terminal_settings_preserved_after_sigterm): New test.
17755
18206ca3
PP
177562015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17757
17758 * gdb.base/batch-preserve-term-settings.exp
17759 (test_terminal_settings_preserved_after_cli_exit): New test.
17760
90074d11
PP
177612015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17762
17763 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17764 manipulation of saved_gdbflags.
17765 (test_terminal_settings_preserved): Remove global declaration of
17766 the unused variable pagination_prompt. Remove manipulation of
17767 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17768 GDBFLAGS.
17769
eb1a7902
PA
177702015-07-29 Pedro Alves <palves@redhat.com>
17771
17772 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17773
8b75dd3b
PA
177742015-07-29 Pedro Alves <palves@redhat.com>
17775
17776 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17777 at the top.
17778
dedad4e3
PA
177792015-07-29 Pedro Alves <palves@redhat.com>
17780
17781 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17782 (main): Call gdb_unbuffer_output.
17783 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17784 (main): Call gdb_unbuffer_output.
17785 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17786 (main): Call gdb_unbuffer_output.
17787 * gdb.base/call-strs.exp: Adjust to step over the
17788 gdb_unbuffer_output call.
17789 * gdb.base/catch-gdb-caused-signals.c: Include
17790 "../lib/unbuffer_output.c".
17791 (main): Call gdb_unbuffer_output.
17792 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17793 (main): Call gdb_unbuffer_output.
17794 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17795 (main): Call gdb_unbuffer_output.
17796 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17797 (main): Call gdb_unbuffer_output.
17798 * gdb.base/shlib-call.exp: Adjust to step over the
17799 gdb_unbuffer_output call.
17800 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17801 (main): Call gdb_unbuffer_output.
17802 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17803 (main): Call gdb_unbuffer_output.
17804 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17805 (main): Rename to ...
17806 (test): ... this.
17807 (main): Reimplement.
17808 * gdb.base/varargs.exp: Run to test instead of to main.
17809 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17810 (main): Call gdb_unbuffer_output.
17811
58789a91
PA
178122015-07-29 Pedro Alves <palves@redhat.com>
17813
17814 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17815 factore out from mi_continue_dprintf. For call-style dprintfs,
17816 expect dprintf output out of $inferior_spawn_id.
17817 (mi_continue_dprintf): Use mi_expect_dprintf.
17818 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17819 (main): Call gdb_unbuffer_output.
17820
e8376742
PA
178212015-07-29 Pedro Alves <palves@redhat.com>
17822
17823 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17824 (default_mi_gdb_start): Set inferior_spawn_id instead of
17825 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17826 gdb_spawn_id.
17827 (mi_gdb_test): Always expect inferior output from both
17828 $inferior_spawn_id and $gdb_spawn_id.
17829
08280010
PA
178302015-07-29 Pedro Alves <palves@redhat.com>
17831
17832 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17833 send_inferior and $inferior_spawn_id.
17834
4d30e432
PA
178352015-07-29 Pedro Alves <palves@redhat.com>
17836
17837 * gdb.gdb/complaints.exp (test_initial_complaints)
17838 (test_serial_complaints, test_short_complaints): Use
17839 gdb_test_stdio.
17840 (test_empty_complaint): Handle $inferior_spawn_id !=
17841 $gdb_spawn_id.
17842
0d30a335
PA
178432015-07-29 Pedro Alves <palves@redhat.com>
17844
17845 * gdb.base/varargs.exp: Use gdb_test_stdio.
17846
39413b29
PA
178472015-07-29 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17850
7cb000a9
PA
178512015-07-29 Pedro Alves <palves@redhat.com>
17852
17853 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17854
d7b8ac82
PA
178552015-07-29 Pedro Alves <palves@redhat.com>
17856
17857 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17858 parameter into two new parameters, "inf_result" and "gdb_result".
17859 Expect inferior output and gdb output from $inferior_spawn_id and
17860 $gdb_spawn_id, respectively. Adjust all callers.
17861
789c3a0c
PA
178622015-07-29 Pedro Alves <palves@redhat.com>
17863
17864 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17865 of gdb_test_sequence.
17866
77e760c3
PA
178672015-07-29 Pedro Alves <palves@redhat.com>
17868
17869 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17870 (saw_spurious_output): Expect inferior output from
17871 $inferior_spawn_id. Use gdb_test_stdio.
17872
8396d2cd
PA
178732015-07-29 Pedro Alves <palves@redhat.com>
17874
17875 * gdb.base/dprintf.exp: Use standard_testfile. Change
17876 prepare_for_testing call.
17877 (srcfile): Don't set.
17878 (restart): New procedure.
17879 (test_dprintf): New procecure, use to continue over dprintfs.
17880 (test_call, test_agent): New procedures, tests moved here.
17881 Restart gdb and recreate dprintfs. Adjust expected output.
17882
2051d61f
PA
178832015-07-29 Pedro Alves <palves@redhat.com>
17884
17885 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17886
452397af
PA
178872015-07-29 Pedro Alves <palves@redhat.com>
17888
17889 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17890
8aed9555
PA
178912015-07-29 Pedro Alves <palves@redhat.com>
17892
17893 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17894 gdb_test_stdio.
17895
188a61b4
PA
178962015-07-29 Pedro Alves <palves@redhat.com>
17897
17898 * lib/gdb.exp (gdb_test_stdio): New procedure.
17899
12264a45
PA
179002015-07-29 Pedro Alves <palves@redhat.com>
17901
17902 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17903
23ffc893
PA
179042015-07-29 Pedro Alves <palves@redhat.com>
17905
17906 * gdb.base/call-signal-resume.exp: Remove check for
17907 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17908 * gdb.base/unwindonsignal.exp: Likewise.
17909 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17910 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17911
65566918
PA
179122015-07-29 Pedro Alves <palves@redhat.com>
17913
17914 * gdb.base/siginfo-addr.c (pass): New function.
17915 (handler): Call it iff si_addr is correct.
17916 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17917 Set a breakpoint at "pass" and continue to it.
17918
d60a9221
SDJ
179192015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17920
17921 * gdb.python/py-objfile.exp: Make some tests have unique names.
17922 * gdb.python/py-pp-registration.exp: Likewise.
17923
bde40b8f
PA
179242015-07-28 Pedro Alves <palves@redhat.com>
17925
17926 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17927
13e1dec8
SM
179282015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17929
17930 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17931
da33c9a7
SM
179322015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17933
17934 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17935
077836f7
PP
179362015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17937
17938 * gdb.base/gdb-sigterm-2.exp: New test.
17939
b8cc7b2e
DE
179402015-07-25 Doug Evans <xdje42@gmail.com>
17941
17942 Revert:
17943 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17944 (workers/%.worker, build-perf): New rule.
17945 (GDB_PERFTEST_MODE): New variable.
17946 (check-perf): Use it.
17947 (clean): Clean up gdb.perf parallel build subdirs.
17948 * lib/build-piece.exp: New file.
17949 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17950 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17951 name.
17952 (standard_temp_file): Ditto.
17953 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17954 of $GDB_PARALLEL.
17955
c8bd4544
DE
179562015-07-24 Doug Evans <dje@google.com>
17957
17958 * gdb.perf/lib/perftest/utils.py: New file.
17959 * gdb.perf/gm-hello.cc: New file.
17960 * gdb.perf/gm-pervasive-typedef.cc: New file.
17961 * gdb.perf/gm-pervasive-typedef.h: New file.
17962 * gdb.perf/gm-std.cc: New file.
17963 * gdb.perf/gm-std.h: New file.
17964 * gdb.perf/gm-use-cerr.cc: New file.
17965 * gdb.perf/gm-utils.h: New file.
17966 * gdb.perf/gmonster-null-lookup.py: New file.
17967 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17968 * gdb.perf/gmonster-print-cerr.py: New file.
17969 * gdb.perf/gmonster-ptype-string.py: New file.
17970 * gdb.perf/gmonster-runto-main.py: New file.
17971 * gdb.perf/gmonster-select-file.py: New file.
17972 * gdb.perf/gmonster1-null-lookup.exp: New file.
17973 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17974 * gdb.perf/gmonster1-print-cerr.exp: New file.
17975 * gdb.perf/gmonster1-ptype-string.exp: New file.
17976 * gdb.perf/gmonster1-runto-main.exp: New file.
17977 * gdb.perf/gmonster1-select-file.exp: New file.
17978 * gdb.perf/gmonster1.cc: New file.
17979 * gdb.perf/gmonster1.exp: New file.
17980 * gdb.perf/gmonster2-null-lookup.exp: New file.
17981 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17982 * gdb.perf/gmonster2-print-cerr.exp: New file.
17983 * gdb.perf/gmonster2-ptype-string.exp: New file.
17984 * gdb.perf/gmonster2-runto-main.exp: New file.
17985 * gdb.perf/gmonster2-select-file.exp: New file.
17986 * gdb.perf/gmonster2.cc: New file.
17987 * gdb.perf/gmonster2.exp: New file.
17988
6eab34f3
DE
179892015-07-24 Doug Evans <dje@google.com>
17990
17991 * gdb.perf/README: New file.
17992 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17993 * lib/gen-perf-test.exp: New file.
17994
63738bfd
DE
179952015-07-24 Doug Evans <dje@google.com>
17996
17997 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17998 (PerfTest::startup): New function.
17999 (PerfTest::run): Return result of calling body.
18000 (PerfTest::assemble): Rewrite.
18001 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18002 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18003 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18004 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18005 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18006
7b606f95
DE
180072015-07-24 Doug Evans <dje@google.com>
18008
18009 * lib/gdb.exp (clean_restart): Make executable optional.
18010
a97b16b8
DE
180112015-07-24 Doug Evans <dje@google.com>
18012
18013 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18014 compiler_info references.
18015 * gdb.cp/temargs.exp: Ditto.
18016 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18017 (get_compiler_info): Early exit if already computed. Set compiler_info
18018 to "unknown" if there was a problem.
18019 (test_compiler_info): Add function comment. Call get_compiler_info.
18020
35baa57f
DE
180212015-07-24 Doug Evans <dje@google.com>
18022
18023 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18024 (workers/%.worker, build-perf): New rule.
18025 (GDB_PERFTEST_MODE): New variable.
18026 (check-perf): Use it.
18027 (clean): Clean up gdb.perf parallel build subdirs.
18028 * lib/build-piece.exp: New file.
18029 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18030 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18031 name.
18032 (standard_temp_file): Ditto.
18033 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18034 of $GDB_PARALLEL.
18035
6ebea266
DE
180362015-07-24 Doug Evans <dje@google.com>
18037
18038 * lib/future.exp (gdb_default_target_compile): New option
18039 "early_flags".
18040 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18041 --as-needed.
18042
1e76a7e9
SDJ
180432015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18044
18045 * gdb.base/catch-syscall.exp: Call gdb_exit before
18046 gdb_skip_xml_test.
18047
5068630a
PA
180482015-07-24 Pedro Alves <palves@redhat.com>
18049
18050 * gdb.python/py-events.exp: Accept output between the stop event
18051 and the prompt.
18052 * gdb.python/py-evsignal.exp: Likewise.
18053 * gdb.python/py-evthreads.exp: Likewise.
18054
77598427
PA
180552015-07-24 Pedro Alves <palves@redhat.com>
18056
18057 PR gdb/18717
18058 * gdb.threads/non-ldr-exit.c: New file.
18059 * gdb.threads/non-ldr-exit.exp: New file.
18060
11e6c98f
YQ
180612015-07-24 Yao Qi <yao.qi@linaro.org>
18062
18063 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18064 restarting process.
18065
51aee833
YQ
180662015-07-24 Yao Qi <yao.qi@linaro.org>
18067
18068 * gdb.server/ext-restart.exp: New file.
18069
8cfe207c
YQ
180702015-07-24 Yao Qi <yao.qi@linaro.org>
18071
18072 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18073 argument options.
18074 * gdb.server/ext-wrapper.exp: New file.
18075
cc12ce38
DE
180762015-07-23 Doug Evans <dje@google.com>
18077
18078 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18079 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18080
d0d84780
PMR
180812015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18082
18083 * gdb.ada/var_arr_typedef.exp: New testcase.
18084 * gdb.ada/var_arr_typedef/pack.adb: New file.
18085 * gdb.ada/var_arr_typedef/pack.ads: New file.
18086 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18087
8b558f79
JB
180882015-07-20 Joel Brobecker <brobecker@adacore.com>
18089
18090 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18091
775a3298
JK
180922015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18093
18094 * gdb.arch/i386-biarch-core.exp: Replace istarget
18095 by "complete set gnutarget". Remove expectation for the "core-file"
18096 command.
18097
db1ff28b
JK
180982015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18099
18100 Revert the previous commit:
18101 Tests for validate symbol file using build-id.
18102
0a94970d
JK
181032015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18104
18105 Tests for validate symbol file using build-id.
18106 * gdb.base/solib-mismatch-lib.c: New file.
18107 * gdb.base/solib-mismatch-libmod.c: New file.
18108 * gdb.base/solib-mismatch.c: New file.
18109 * gdb.base/solib-mismatch.exp: New file.
18110
03346981
SL
181112015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18112
18113 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18114 nios2-*-linux*.
18115 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18116 * gdb.base/siginfo.exp: Likewise.
18117 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18118
42422cc7
PL
181192015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18120
18121 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18122 Move it to ...
18123 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18124 ... here.
18125 * gdb.trace/range-stepping.exp: Check that the target supports
18126 range stepping.
18127
cfa68bae
JK
181282015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18129
18130 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18131
8ffdba26
PA
181322015-07-14 Pedro Alves <palves@redhat.com>
18133
18134 * gdb.base/killed-outside.exp: New file.
18135 * gdb.base/killed-outside.c: New file.
18136
218a5a11
JK
181372015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18138
18139 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18140 (n at main): New.
18141 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18142
e03ed3c6
AA
181432015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18144
18145 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18146 infcall tests instead of setting up for KFAIL.
18147
485668e5
MM
181482015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18149
18150 * gdb.btrace/record_goto-step.exp: New.
18151
08464196
JK
181522015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18153
18154 PR compile/18484
18155 * gdb.compile/compile.c (struct struct_type): Add volatile to
18156 selffield's type.
18157 * gdb.compile/compile.exp
18158 (compile code struct_object.selffield = &struct_object): Skip further
18159 struct_object tests if this one xfails.
18160
bcf5c1d9
RC
181612015-07-08 Robert O'Callahan <robert@ocallahan.org>
18162
18163 PR exp/18617
18164 * gdb.trace/ax.exp: Add test.
18165
4931af25
YQ
181662015-07-07 Yao Qi <yao.qi@linaro.org>
18167
18168 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18169 instead of istarget "aarch64*-*-*".
18170 * gdb.arch/aarch64-fp.exp: Likewise.
18171 * gdb.base/float.exp: Likewise.
18172 * gdb.reverse/aarch64.exp: Likewise.
18173 * lib/gdb.exp (is_aarch64_target): New proc.
18174
9fcf688e
YQ
181752015-07-07 Yao Qi <yao.qi@linaro.org>
18176
18177 * lib/gdb.exp (is_aarch32_target): New proc.
18178 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18179 instead of "istarget "arm*-*-*"".
18180 * gdb.arch/arm-disp-step.exp: Likewise.
18181 * gdb.arch/thumb-bx-pc.exp: Likewise.
18182 * gdb.arch/thumb-prologue.exp: Likewise.
18183 * gdb.arch/thumb-singlestep.exp: Likewise.
18184 * gdb.base/disp-step-syscall.exp: Likewise.
18185 * gdb.base/float.exp: Likewise.
18186
fbd8d50d
YQ
181872015-07-07 Yao Qi <yao.qi@linaro.org>
18188
18189 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18190 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18191
71be1fdc
YQ
181922015-07-07 Yao Qi <yao.qi@linaro.org>
18193
18194 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18195 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18196 if it exists.
18197 * gdb.multi/multi-arch.exp: Likewise.
18198
3e221d36
SM
181992015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18200
18201 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18202 print.
18203
d441430b
YQ
182042015-07-07 Yao Qi <yao.qi@linaro.org>
18205
18206 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18207
06f810bd
MG
182082015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18209
18210 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18211 '[' and ']' characters.
18212
5e61e7c0
IB
182132015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18214
18215 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18216
28bf096c
PA
182172015-06-29 Pedro Alves <palves@redhat.com>
18218
18219 PR threads/18127
18220 * gdb.threads/hand-call-new-thread.c: New file.
18221 * gdb.threads/hand-call-new-thread.c: New file.
18222
ee93cd5e
KS
182232015-06-26 Keith Seitz <keiths@redhat.com>
18224 Doug Evans <dje@google.com>
18225
18226 PR 16253
18227 * gdb.cp/var-tag-2.cc: New file.
18228 * gdb.cp/var-tag-3.cc: New file.
18229 * gdb.cp/var-tag-4.cc: New file.
18230 * gdb.cp/var-tag.cc: New file.
18231 * gdb.cp/var-tag.exp: New file.
18232
fc637f04
PP
182332015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18234
18235 * gdb.base/history-duplicates.exp: New test.
18236
2e52ae68
PP
182372015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18238
18239 * gdb.base/completion.exp: Test the completion of the "focus"
18240 command.
18241
6e22494e
JK
182422015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18243
18244 * gdb.arch/amd64-prologue-skip.S: New file.
18245 * gdb.arch/amd64-prologue-skip.exp: New file.
18246
bf7b9cd9
SM
182472015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18248
18249 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18250 is_address_zero_readable check.
18251
201e8dfd
PB
182522015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18253
18254 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18255 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18256
5cd867b4
YQ
182572015-06-24 Yao Qi <yao.qi@linaro.org>
18258
18259 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18260 linux targets.
18261
4d7be007
YQ
182622015-06-24 Yao Qi <yao.qi@linaro.org>
18263
18264 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18265 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18266 * gdb.base/siginfo-thread.exp: Likewise.
18267
07fcd301
YQ
182682015-06-22 Yao Qi <yao.qi@linaro.org>
18269
18270 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18271
52042a00
YQ
182722015-06-22 Yao Qi <yao.qi@linaro.org>
18273
18274 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18275 aarch64*-*-*.
18276 (skip_hw_watchpoint_tests): Likewise.
18277
74bd41ce
PP
182782015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18279
18280 * gdb.base/gdbinit-history.exp: Test the interaction between
18281 setting GDBHISTSIZE and setting the history size via .gdbinit.
18282
bc460514
PP
182832015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18284
18285 PR gdb/16999
18286 * gdb.base/gdbhistsize-history.exp: New test.
18287
b58c513b
PP
182882015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18289
18290 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18291 with GDBHISTSIZE.
18292 * gdb.base/readline.exp: Likewise.
18293
92046791
YQ
182942015-06-17 Yao Qi <yao.qi@linaro.org>
18295
18296 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18297 line.
18298
2093d2d3
PP
182992015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18300
18301 * gdb.base/gdbinit-history.exp: Add test case to check that
18302 an unlimited history file does not get truncated on exit.
18303
e6c693af
AA
183042015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18305
18306 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18307 (VECTOR): New macro. Use it...
18308 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18309 ...for these typedefs.
18310 (int8, char1, int1, double1): New typedefs.
18311 (struct just_int2, struct two_int2): New structures.
18312 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18313 (add_structvecs, add_singlevecs): New functions.
18314 (main): Call add_some_intvecs twice.
18315 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18316 the compile and exit upon failure. Try compiling for the "native"
18317 architecture. Test inferior function calls with vector arguments
18318 and vector return value handling with "finish" and "return".
18319
c74f7d1c
JT
183202015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18321
18322 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18323 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18324 PE file.
18325 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18326
98aa42ee
AT
183272015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18328
18329 PR breakpoints/16465
18330 * gdb.mi/mi-dprintf-pending.c: New file.
18331 * gdb.mi/mi-dprintf-pending.exp: New test.
18332 * gdb.mi/mi-dprintf-pendshr.c: New file.
18333
7d73c23c 183342015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18335 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18336
18337 * gdb.arch/i386-mpx-map.c: New file.
18338 * gdb.arch/i386-mpx-map.exp: New File.
18339
183402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18341
18342 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18343 * gdb.arch/i386-mpx.exp: Indentation fixed.
18344
183452015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18346
18347 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18348 function and improved indentation.
18349 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18350 gdb_test_multiple. Added additional tests to skip the test.
18351
183522015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18353
18354 * gdb.arch/i386-avx512.c: Change path in include file.
18355 * gdb.arch/i386-avx512.exp: Change include dir path
18356 compilation flag.
18357 * gdb.arch/i386-mpx.c: Change path in include file.
18358 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18359 flag.
18360
d5eba19a
JK
183612015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18362
18363 * gdb.compile/compile-print.exp (compile print *vararray@3)
18364 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18365
7f361056
JK
183662015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18367
18368 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18369 (do not keep jit in memory): ... this.
18370 (expect 5): Change it to ...
18371 (expect no 5): ... this.
18372
3b462ec2
SM
183732015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18374
18375 PR gdb/15564
18376 * gdb.mi/mi-detach.exp: New file.
18377
e0619de6
JK
183782015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18379
18380 PR symtab/18392
18381 * gdb.arch/amd64-tailcall-self.S: New file.
18382 * gdb.arch/amd64-tailcall-self.c: New file.
18383 * gdb.arch/amd64-tailcall-self.exp: New file.
18384
e970cb34
DB
183852015-05-28 Don Breazeal <donb@codesourcery.com>
18386
18387 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18388 tests for remote targets by checking is_target_gdbserver.
18389
b2e2f908
DE
183902015-05-27 Doug Evans <dje@google.com>
18391
18392 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18393 * gdb.dwarf2/opaque-type-lookup.c: New file.
18394 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18395
82c7be31
DE
183962015-05-26 Doug Evans <dje@google.com>
18397
18398 * gdb.cp/iostream.cc: New file.
18399 * gdb.cp/iostream.exp: New file.
18400
b4f54984
DE
184012015-05-26 Doug Evans <dje@google.com>
18402
18403 * gdb.dwarf2/dw2-op-call.exp: Update.
18404 * gdb.dwarf2/dw4-sig-types.exp: Update.
18405 * gdb.dwarf2/implptr.exp: Update.
18406 * gdb.mi/mi-cmd-param-changed.exp: Update.
18407
4ea6efe9
DE
184082015-05-26 Doug Evans <dje@google.com>
18409
18410 * gdb.python/py-lazy-string.c: New file.
18411 * gdb.python/py-lazy-string.exp: New file.
18412 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18413 (main): Update. Add estring3.
18414 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18415 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18416
f6bb7db3
YQ
184172015-05-26 Omair Javaid <omair.javaid@linaro.org>
18418 Yao Qi <yao.qi@linaro.org>
18419
18420 * gdb.reverse/aarch64.c: New.
18421 * gdb.reverse/aarch64.exp: New.
18422
a81bfbd0
OJ
184232015-05-26 Omair Javaid <omair.javaid@linaro.org>
18424
25d49b86
PA
18425 * lib/gdb.exp (supports_process_record): Return true for
18426 aarch64*-linux*.
a81bfbd0
OJ
18427 (supports_reverse): Likewise.
18428
158bf1b4
PP
184292015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18430
18431 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18432 Use with_test_prefix.
18433
a0145030
AB
184342015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18435
18436 * gdb.base/completion.exp: Add test for completion of layout
18437 names.
18438
ebe3b578
AB
184392015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18440
18441 * lib/gdb.exp (skip_tui_tests): New proc.
18442 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18443
84204ed7
PA
184442015-05-19 Pedro Alves <palves@redhat.com>
18445
18446 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18447 Save the whole env array instead of just HOME. Unset HISTSIZE in
18448 the environment while testing. Restore whole environment
18449 afterwards.
18450
37442ce1
DE
184512015-05-16 Doug Evans <xdje42@gmail.com>
18452
18453 * gdb.guile/scm-ports.c: New file.
18454 * gdb.guile/scm-ports.exp: Add memory port tests.
18455
36de76f9
JK
184562015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18457
18458 * gdb.compile/compile-print.c: New file.
18459 * gdb.compile/compile-print.exp: New file.
18460
3a9558c4
JK
184612015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18462
18463 * gdb.compile/compile-ops.exp: Cast param to void.
18464 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18465 (compile code struct_object.selffield = &struct_object): Add xfail.
18466
aa715135
JG
184672015-05-15 Joel Brobecker <brobecker@adacore.com>
18468
18469 * gdb.ada/arr_enum_with_gap: New testcase.
18470
931e5bc3
JG
184712015-05-15 Joel Brobecker <brobecker@adacore.com>
18472
18473 * gdb.ada/byte_packed_arr: New testcase.
18474
9cd4d857
JB
184752015-05-15 Joel Brobecker <brobecker@adacore.com>
18476
18477 * gdb.ada/pckd_neg: New testcase.
18478
ebfd00d2
PP
184792015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18480
18481 PR gdb/17820
18482 * gdb.base/gdbinit-history.exp: New test.
18483 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18484 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18485
4c082a81
SC
184862015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18487
18488 * gdb.python/py-xmethods.cc: Enhance test case.
18489 * gdb.python/py-xmethods.exp: New tests.
18490 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18491 function.
18492 (B_indexoper): Likewise.
18493 (global_dm_list) : Add new xmethod worker functions.
18494
f7797074
SDJ
184952015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18496
18497 * gdb.base/coredump-filter.exp: Correctly unset
18498 "coredump_var_addr" array.
18499
a4674e4e
PA
185002015-05-08 Pedro Alves <palves@redhat.com>
18501
18502 * gdb.server/non-existing-program.exp: Unset spawn_id.
18503
df2eb078
SC
185042015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18505
18506 PR python/18291
18507 * gdb.python/py-xmethods.exp: Add tests.
18508
422349a3
YQ
185092015-05-08 Yao Qi <yao.qi@linaro.org>
18510
18511 PR gdb/18208
18512 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18513 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18514 function set_coredump_filter, and remove remote_exec call.
18515 Remove argument ipid. Callers update.
18516 (top level): Don't get inferior's PID.
18517
63fc80ce
AA
185182015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18519
18520 * gdb.base/watch_thread_num.exp: Skip test on targets without
18521 access watchpoints.
18522
80ad801e
PA
185232015-05-06 Pedro Alves <palves@redhat.com>
18524
18525 PR server/18081
18526 * gdb.server/non-existing-program.exp: New file.
18527
0fa7fe50
JB
185282015-05-05 Joel Brobecker <brobecker@adacore.com>
18529
18530 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18531
3ea89b92
PMR
185322015-05-05 Joel Brobecker <brobecker@adacore.com>
18533
18534 * gdb.ada/out_of_line_in_inlined: New testcase.
18535
87b8eff0
JB
185362015-05-05 Joel Brobecker <brobecker@adacore.com>
18537
18538 * gdb.ada/var_rec_arr: New testcase.
18539
5fccc635
YQ
185402015-04-30 Yao Qi <yao.qi@linaro.org>
18541
18542 * gdb.base/break-idempotent.exp: If
18543 skip_hw_watchpoint_multi_tests returns true, skip the tests
18544 on "rwatch" and "awatch".
18545
42d38f42
YQ
185462015-04-30 Yao Qi <yao.qi@linaro.org>
18547
18548 * gdb.base/relativedebug.exp: Invoke gdb command
18549 "info sharedlibrary", and if libc.so doesn't have debug info,
18550 skip the test.
18551
2ce1cdbf
DE
185522015-04-29 Doug Evans <dje@google.com>
18553
18554 * gdb.python/py-xmethods.exp: Add ptype tests.
18555 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18556 get_result_type method.
18557
f24a38c5
LM
185582015-04-29 Luis Machado <lgustavo@codesourcery.com>
18559
18560 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18561 the target does not support hardware watchpoints.
18562
ecbf2b3c
LM
185632015-04-29 Luis Machado <lgustavo@codesourcery.com>
18564
18565 * gdb.base/break-always.exp: Abort testing if writing to memory
18566 causes an error.
18567
34f5f757
DE
185682015-04-28 Doug Evans <dje@google.com>
18569
18570 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18571 * gdb.python/py-pp-registration.exp: ... here. New file.
18572 * gdb.python/py-pp-registration.c: New file.
18573 * gdb.python/py-pp-registration.py: New file.
18574
69b4374a
DE
185752015-04-28 Doug Evans <dje@google.com>
18576
18577 * gdb.python/py-bad-printers.c: New file.
18578 * gdb.python/py-bad-printers.py: New file.
18579 * gdb.python/py-bad-printers.exp: New file.
18580
59fb7612
SS
185812015-04-28 Sasha Smundak <asmundak@google.com>
18582
18583 * gdb.python/py-type.exp: New test.
18584
2631b16a
AW
185852015-04-28 Andy Wingo <wingo@igalia.com>
18586
18587 * gdb.python/py-parameter.exp:
18588 * gdb.guile/scm-parameter.exp: Escape the path that we are
18589 matching against, as it might contain characters that are special
18590 to regular expressions.
18591
460efde1
JB
185922015-04-27 Joel Brobecker <brobecker@adacore.com>
18593
18594 * gdb.ada/rec_comp: New testcase.
18595
2d369d8e
SDJ
185962015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18597
18598 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18599 before using it.
18600
cf75d6c3
AB
186012015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18602
18603 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18604 new tests for verilog output.
18605
8dbe7ca5
YQ
186062015-04-24 Yao Qi <yao.qi@linaro.org>
18607
18608 * boards/remote-gdbserver-on-localhost.exp: New file.
18609
4ef9fb2f
PA
186102015-04-23 Pedro Alves <palves@redhat.com>
18611
18612 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18613 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18614 "end of file", remove $inferior_spawn_id from the indirect list.
18615
0a803169
PA
186162015-04-23 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18619
749ef8f8
PA
186202015-04-23 Pedro Alves <palves@redhat.com>
18621
18622 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18623 on $any_spawn_id instead of only on $gdb_spawn_id.
18624
8aae4344
PM
186252015-04-21 Pierre Muller <muller@sourceware.org>
18626
18627 PR pascal/17815
18628 * lib/pascal.exp (gpc_compile): Add new option "class".
18629 (fpc_compile): Likewise.
18630 * gdb.pascal/case-insensitive-symbols.pas: New file.
18631 * gdb.pascal/case-insensitive-symbols.exp: New file.
18632
1586c8fb
GB
186332015-04-20 Gary Benson <gbenson@redhat.com>
18634
18635 * gdb.base/attach.exp: Fix three extended remote failures.
18636
1b6e6f5c
GB
186372015-04-17 Gary Benson <gbenson@redhat.com>
18638
18639 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18640 the main executable over the remote protocol.
18641
e797481d
PA
186422015-04-16 Pedro Alves <palves@redhat.com>
18643
18644 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18645 a new gdbserver if gdbserver_reconnect_p is set.
18646
1ca99c42
PA
186472015-04-16 Pedro Alves <palves@redhat.com>
18648
18649 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18650 is set, don't exit gdbserver.
18651
af9fd6f8
AA
186522015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18653
18654 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18655 appropriate .insn, such that an older assembler can be used.
18656 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18657 the z/Architecture instruction set on 31-bit targets as well.
18658
04ff1e61
AA
186592015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18660
18661 * gdb.go/handcall.exp: Remove all logic related to the first
18662 breakpoint and rely on go_runto_main instead.
18663 * gdb.go/strings.exp: Likewise.
18664 * gdb.go/unsafe.exp: Likewise.
18665 * gdb.go/hello.exp: Likewise. Also rename the remaining
18666 breakpoint marker to "breakpoint 1".
18667 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18668 * gdb.go/strings.go: Likewise.
18669 * gdb.go/unsafe.go: Likewise.
18670 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18671 "set breakpoint 2 here" and rename the remaining breakpoint marker
18672 to "breakpoint 1".
18673
40d2f8d6
SM
186742015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18675
18676 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18677 if itertools.imap is not present.
18678 * gdb.python/py-objfile.exp: Add parentheses.
18679 * gdb.python/py-type.exp: Same.
18680 * gdb.python/py-unwind-maint.py: Same.
18681
8cbc97c6
YQ
186822015-04-15 Yao Qi <yao.qi@linaro.org>
18683
18684 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18685 of ":$ptr_size" and set its form explicitly.
18686
45fd756c
YQ
186872015-04-15 Pedro Alves <palves@redhat.com>
18688 Yao Qi <yao.qi@linaro.org>
18689
18690 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18691 timeout by factor of 4.
18692 (test_regular_watch): Likewise.
18693 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18694 * gdb.reverse/sigall-reverse.exp: Likewise.
18695 * gdb.reverse/until-precsave.exp: Likewise.
18696 * lib/gdb.exp (with_timeout_factor): New proc.
18697 (gdb_expect): Move some code to ...
18698 (get_largest_timeout): ... here. New procedure.
18699
9e811bc3
LM
187002015-04-14 Luis Machado <lgustavo@codesourcery.com>
18701
18702 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18703
0ff6fcb2
LM
187042015-04-13 Luis Machado <lgustavo@codesourcery.com>
18705
18706 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18707 to write to the .text section.
18708
7578d5f7
LM
187092015-04-13 Luis Machado <lgustavo@codesourcery.com>
18710
18711 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18712 Handle the case of targets that do not provide PID information.
18713
2efe15c4
YQ
187142015-04-13 Yao Qi <yao.qi@linaro.org>
18715
18716 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18717 and use expect instead of gdb_expect.
18718
8cd8f2f8
SDJ
187192015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18720
18721 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18722 "coredump_var_addr" to avoid naming conflict with other testcases.
18723
9ee41772
PA
187242015-04-10 Pedro Alves <palves@redhat.com>
18725
18726 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18727 gdb_test_sequence and gdb_assert.
18728
07473109
PA
187292015-04-10 Pedro Alves <palves@redhat.com>
18730
18731 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18732 test messages that don't include the breakpoint address.
18733
de3db44c
YQ
187342015-04-10 Yao Qi <yao.qi@linaro.org>
18735
18736 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18737 false for some offset and width combinations which aren't
18738 supported by linux kernel.
18739
c79d856c
PA
187402015-04-10 Pedro Alves <palves@redhat.com>
18741
18742 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18743 procedure, factored out from ...
18744 (top level): ... here. Add "set displaced-stepping" testing axis.
18745 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18746 parameter "displaced". Use it.
18747 (top level): Use foreach and add "set displaced-stepping" testing
18748 axis.
18749
ebc90b50
PA
187502015-04-10 Pedro Alves <palves@redhat.com>
18751
18752 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18753 Remove comment.
18754 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18755 both the address of the instruction that triggers the watchpoint
18756 and the address of the instruction immediately after, and use
18757 those addresses for the test. Fix comment.
18758
8f572e5c
PA
187592015-04-10 Pedro Alves <palves@redhat.com>
18760
18761 * gdb.base/sigstep.exp (breakpoint_to_handler)
18762 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18763 Test "backtrace" in handler.
18764 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18765 (top level): Add new "displaced" test axis to
18766 breakpoint_to_handler, breakpoint_to_handler_entry and
18767 breakpoint_over_handler.
18768
8d707a12
PA
187692015-04-10 Pedro Alves <palves@redhat.com>
18770
18771 PR gdb/18216
18772 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18773
ef713951
YQ
187742015-04-10 Yao Qi <yao.qi@linaro.org>
18775
18776 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18777 (test_add_rn_pc): New function.
18778 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18779 (top level): Invoke test_add_rn_pc.
18780
906d60cf
PA
187812015-04-10 Pedro Alves <palves@redhat.com>
18782
18783 PR gdb/13858
18784 * gdb.base/step-over-no-symbols.exp: New file.
18785
f2983cc3
AW
187862015-04-09 Andy Wingo <wingo@igalia.com>
18787
18788 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18789 after the Python tests.
18790
6d62641c
SDJ
187912015-04-08 Keith Seitz <keiths@redhat.com>
18792
18793 PR python/16699
18794 * gdb.python/py-completion.exp: New tests for completion.
18795 * gdb.python/py-completion.py (CompleteLimit1): New class.
18796 (CompleteLimit2): Likewise.
18797 (CompleteLimit3): Likewise.
18798 (CompleteLimit4): Likewise.
18799 (CompleteLimit5): Likewise.
18800 (CompleteLimit6): Likewise.
18801 (CompleteLimit7): Likewise.
18802
f3770638
PA
188032015-04-08 Pedro Alves <palves@redhat.com>
18804
18805 PR gdb/18214
18806 PR gdb/18216
18807 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18808 function.
18809 (main): Install it as SIGUSR1 handler.
18810 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18811 parameter. Always use "setup" as prefix. Toggle "set
18812 displaced-stepping" off/on depending on global. Don't switch to
18813 thread 1 here.
18814 (top level): Add displaced stepping "off/on" test axis. Update
18815 "setup" calls. Wrap each subtest with with_test_prefix. Test
18816 continuing with a queued signal in each thread.
18817
4496bed7
PA
188182015-04-08 Pedro Alves <palves@redhat.com>
18819
18820 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18821 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18822 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18823 Return early if running to main fails.
18824 * gdb.trace/while-stepping.exp: Likewise.
18825
b97fde92
PA
188262015-04-07 Pedro Alves <palves@redhat.com>
18827
18828 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18829 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18830 interact with inferior program.
18831
f71c18e7
PA
188322015-04-07 Pedro Alves <palves@redhat.com>
18833
18834 * lib/gdb.exp (inferior_spawn_id): New global.
18835 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18836 spawn id after processing the user code.
18837 (default_gdb_start): Set inferior_spawn_id.
18838 (send_inferior): New procedure.
18839 * lib/gdbserver-support.exp (gdbserver_start): Set
18840 inferior_spawn_id.
18841 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18842
6423214f
PA
188432015-04-07 Pedro Alves <palves@redhat.com>
18844
18845 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18846 * lib/gdbserver-support.exp (gdbserver_start): Make
18847 $server_spawn_id global.
18848 (gdbserver_start): Don't wait for gdbserver's spawn id with
18849 expect_background.
18850 (close_gdbserver): New procedure.
18851 (gdb_exit): Rename the default version and reimplement.
18852
71c0ee8c
PA
188532015-04-07 Pedro Alves <palves@redhat.com>
18854
72f4393d 18855 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18856 append the substituted item, not the original item.
18857
203bc29b
PA
188582015-04-07 Pedro Alves <palves@redhat.com>
18859
18860 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18861 gdb_expect.
18862
508a3ddf
PA
188632015-04-07 Pedro Alves <palves@redhat.com>
18864
18865 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18866 output appearing once only.
18867
9f6dbe2b
PA
188682015-04-07 Pedro Alves <palves@redhat.com>
18869
18870 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18871 that doesn't expect anything. Return early if running to main
18872 fails.
18873
337532fa
YQ
188742015-04-07 Yao Qi <yao.qi@linaro.org>
18875
18876 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18877 (child_function): Call alarm.
18878 (main): Move call to alarm into the loop.
18879 * gdb.threads/non-stop-fair-events.exp: Build program with
18880 -DTIMEOUT=$timeout.
18881
01b622d4
DE
188822015-04-06 Doug Evans <xdje42@gmail.com>
18883
18884 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18885 Fix dest parameter to board_info.
18886 (fpc_compile): Ditto.
18887 (gdb_compile_pascal): Rename dest arg to destfile.
18888
961f4160
PMR
188892015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18890
18891 * gdb.ada/funcall_ref.exp: New file.
18892 * gdb.ada/funcall_ref/foo.adb: New file.
18893
cafda597
YQ
188942015-04-02 Yao Qi <yao.qi@linaro.org>
18895
18896 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18897 is remote.
18898
fed040c6
GB
188992015-04-02 Gary Benson <gbenson@redhat.com>
18900
18901 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18902
d11916aa
SS
189032015-04-01 Sasha Smundak <asmundak@google.com>
18904
18905 * gdb.python/py-unwind-maint.c: New file.
18906 * gdb.python/py-unwind-maint.exp: New test.
18907 * gdb.python/py-unwind-maint.py: New file.
18908 * gdb.python/py-unwind.c: New file.
18909 * gdb.python/py-unwind.exp: New test.
18910 * gdb.python/py-unwind.py: New test.
18911
a1471180
PA
189122015-04-01 Pedro Alves <palves@redhat.com>
18913
18914 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18915 to fail instead of non-existent $test.
18916
0bbeccb1
PA
189172015-04-01 Pedro Alves <palves@redhat.com>
18918
18919 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18920 GDBFLAGS if not empty.
18921
3c724c8c
PMR
189222015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18923
18924 * gdb.ada/complete.exp: Remove "multi_line".
18925 * gdb.ada/info_exc.exp: Remove "multi_line".
18926 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18927 * gdb.ada/ptype_field.exp: Remove "multi_line".
18928 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18929 * gdb.ada/tagged.exp: Remove "multi_line".
18930 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18931 [multi_line ...]
18932 * gdb.btrace/delta.exp: Likewise.
18933 * gdb.btrace/exception.exp: Likewise.
18934 * gdb.btrace/function_call_history.exp: Likewise.
18935 * gdb.btrace/instruction_history.exp: Likewise.
18936 * gdb.btrace/nohist.exp: Likewise.
18937 * gdb.btrace/record_goto.exp: Likewise.
18938 * gdb.btrace/segv.exp: Likewise.
18939 * gdb.btrace/stepi.exp: Likewise.
18940 * gdb.btrace/tailcall.exp: Likewise.
18941 * gdb.btrace/unknown_functions.exp: Likewise.
18942 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18943 * lib/gdb.exp: Add the "multi_line" helper.
18944
4eec2deb
PA
189452015-04-01 Pedro Alves <palves@redhat.com>
18946
18947 * gdb.threads/tid-reuse.c: New file.
18948 * gdb.threads/tid-reuse.exp: New file.
18949
df8411da
SDJ
189502015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18951
18952 PR corefiles/16092
18953 * gdb.base/coredump-filter.c: New file.
18954 * gdb.base/coredump-filter.exp: Likewise.
18955
6ef37366
PM
189562015-03-27 Petr Machata <pmachata@redhat.com>
18957
18958 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18959 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18960 (Dwarf::assemble): Initialize them.
18961 (Dwarf::lines): New function.
18962
7ec911b0
JT
189632015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18964
18965 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18966 SYMBOL_PREFIX for x86_64-*-cygwin.
18967
ff908ebf
AW
189682015-03-26 Andy Wingo <wingo@igalia.com>
18969
18970 PR symtab/18148
18971 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18972 const_value but not a location.
18973 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18974 location defined in non-main CUs are visible.
18975
6d5f0679
YQ
189762015-03-26 Yao Qi <yao.qi@linaro.org>
18977
18978 PR testsuite/18139
18979 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18980 Add a line number entry for the same line.
18981 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18982 Add a line number entry for the same line.
18983
2898689b
YQ
189842015-03-26 Yao Qi <yao.qi@linaro.org>
18985
18986 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18987 .int 0.
18988 (func): Likewise. Add .Lfunc_1 label.
18989 Use .Lfunc_1 label.
18990 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18991 .int 0.
18992 (func): Likewise.
18993 Use .Lfunc_1 label.
18994
85180498
YQ
189952015-03-26 Yao Qi <yao.qi@linaro.org>
18996
18997 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18998 Call gdb_compile instead to compile each .s files without debug
18999 information.
19000
8aa08a8d
YQ
190012015-03-26 Yao Qi <yao.qi@linaro.org>
19002
19003 * gdb.base/savedregs.exp (process_saved_regs): Make
19004 "Saved registers:" optional in the pattern.
19005
66849923
MM
190062015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19007
19008 * gdb.btrace/next.exp: Merged into step.exp.
19009 * gdb.btrace/finish.exp: Merged into step.exp.
19010 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19011 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19012 "record goto" and checking the exact replay position.
19013 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19014 check for "Recording format" in "info record" output.
19015 * gdb.btrace/record_goto.exp: Choose test file based on target.
19016 * gdb.btrace/x86-record_goto.S: Renamed into ...
19017 * gdb.btrace/x86_64-record_goto.S: ... this.
19018 * gdb.btrace/i686-record_goto.S: New.
19019 * gdb.btrace/x86-tailcall.S: Renamed into ...
19020 * gdb.btrace/x86_64-tailcall.S: ... this.
19021 * gdb.btrace/i686-tailcall.S: New.
19022 * gdb.btrace/x86-tailcall.c: Renamed into ...
19023 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19024 separate statements. Update test.
19025 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19026 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19027 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19028 * gdb.btrace/tailcall.exp: Choose test file based on target.
19029 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19030
11cc1b74
MM
190312015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19032
19033 * gdb.btrace/exception.exp: Increase BTS buffer size.
19034
a25d8bf9
PA
190352015-03-24 Pedro Alves <palves@redhat.com>
19036
19037 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19038
856e7dd6
PA
190392015-03-24 Pedro Alves <palves@redhat.com>
19040
19041 * gdb.threads/schedlock.exp (test_step): No longer expect that
19042 "set scheduler-locking step" with "next" over a function call runs
19043 threads unlocked.
19044
ad235a41
AT
190452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19046
19047 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19048
15630549
AT
190492015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19050
19051 PR breakpoints/16466
19052 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19053 * gdb.mi/mi-pending.c (thread_func): New function.
19054 (int main): Add threading support required.
19055 * gdb.mi/mi-pending.exp: Add tests for this issue.
19056 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19057 (pendfunc2): Remove stdio dependency.
19058 * gdb.mi/mi-pendshr2.c: New file.
19059
693dca06
KS
190602015-03-23 Keith Seitz <keiths@redhat.com>
19061
19062 * gdb.linespec/keywords.c: New file.
19063 * gdb.linespec/keywords.exp: New file.
19064
7e993ebf
KS
190652015-03-23 Keith Seitz <keiths@redhat.com>
19066
19067 PR gdb/18021
19068 * gdb.dwarf2/staticvirtual.exp: New test.
19069
bc23328c
JK
190702015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19071
19072 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19073 * README: Remove HP-UX and gdb.hp.
19074 (configuration):
19075 * configure: Regenerate.
19076 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19077 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19078 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19079 gdb.hp/gdb.defects/Makefile.
19080 * gdb.hp/Makefile.in: File deleted.
19081 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19082 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19083 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19084 * gdb.hp/gdb.aCC/run.c: File deleted.
19085 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19086 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19087 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19088 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19089 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19090 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19091 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19092 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19093 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19094 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19095 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19096 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19097 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19098 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19099 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19100 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19101 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19102 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19103 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19104 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19105 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19106 * gdb.hp/gdb.compat/average.c: File deleted.
19107 * gdb.hp/gdb.compat/sum.c: File deleted.
19108 * gdb.hp/gdb.compat/xdb.c: File deleted.
19109 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19110 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19111 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19112 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19113 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19114 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19115 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19116 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19117 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19118 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19119 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19120 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19121 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19122 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19123 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19124 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19125 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19126 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19127 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19128 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19129 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19130 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19131 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19132 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19133 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19134 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19135 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19136 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19137 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19138 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19139 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19140 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19141 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19142 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19143 * gdb.hp/tools/odump: File deleted.
19144
8bf3b159
PA
191452015-03-19 Pedro Alves <palves@redhat.com>
19146
19147 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19148 (saw_thread_3): New globals.
19149 (top level): Increment them when an event for the corresponding
19150 thread is seen.
19151 (no thread starvation): New test.
19152
eb54c8bf
PA
191532015-03-19 Pedro Alves <palves@redhat.com>
19154
19155 * gdb.threads/continue-pending-status.c: New file.
19156 * gdb.threads/continue-pending-status.exp: New file.
19157
32d2e5d6
PA
191582015-03-18 Pedro Alves <palves@redhat.com>
19159
19160 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19161 Use gdb_is_target_remote instead of is_remote. Use
19162 gdb_test_multiple instead of gdb_expect. Exit early if
19163 gdb_test_multiple hits its internal matches. Tighten stepi tests
19164 expected output. Fail on exit with any signal, instead of just
19165 SIGILL.
19166
f68f11b7
YQ
191672015-03-18 Yao Qi <yao.qi@linaro.org>
19168
19169 PR tdep/18107
19170 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19171 variable.
19172 * gdb.base/catch-syscall.exp: Don't skip it on
19173 aarch64*-*-linux* target. Remove elements in all_syscalls.
19174 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19175 target.
19176 (setup_all_syscalls): New proc.
19177
ca5fd19b
YQ
191782015-03-16 Yao Qi <yao.qi@linaro.org>
19179
19180 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19181 (top level): Skip tests if valid_addr_p returns false for
19182 $cmd1 or $cmd2.
19183
85642ba0
AW
191842015-03-11 Andy Wingo <wingo@igalia.com>
19185
19186 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19187
e03f9645
YQ
191882015-03-11 Yao Qi <yao.qi@linaro.org>
19189
19190 * gdb.base/catch-syscall.exp: Fix typo in comments.
19191
5d0962b2
YQ
191922015-03-11 Yao Qi <yao.qi@linaro.org>
19193
19194 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19195
b2df3cef
PA
191962015-03-09 Pedro Alves <palves@redhat.com>
19197
19198 * dg-extract-results.py: Delete.
19199
ef878e53
PA
192002015-03-09 Pedro Alves <palves@redhat.com>
19201
19202 Merge dg-extract-results.sh from GCC upstream (r218843).
19203
19204 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19205 * dg-extract-results.sh: Use --text with grep to avoid issues with
19206 binary files. Fall back to cat -v, if that doesn't work.
19207
9494d219
PA
192082015-03-05 Pedro Alves <palves@redhat.com>
19209
19210 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19211
a8d9763a
SM
192122015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19213
19214 * lib/mi-support.exp (mi_expect_interrupt): Accept
19215 alternative event for when in all-stop mode.
19216
be9957b8
PA
192172015-03-04 Pedro Alves <palves@redhat.com>
19218
19219 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19220
d57be0f4 192212015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19222
19223 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19224
c214c7cf
AA
192252015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19226
19227 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19228 regexps for GDB's current line display, accept a hex address
19229 preceding the line number.
19230
6d74a497
AA
192312015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19232
19233 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19234 the 'arch1' variable for "s390*-linux*" targets.
19235
511aee7c
PA
192362015-03-04 Pedro Alves <palves@redhat.com>
19237
19238 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19239 (main): Pass missing retval argument to pthread_join call.
19240
95e50b27
PA
192412015-03-02 Pedro Alves <palves@redhat.com>
19242
19243 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19244 (top level): Call do_test with non-stop as well.
19245
28054d69
PA
192462015-03-02 Pedro Alves <palves@redhat.com>
19247
19248 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19249 -1.
19250
4fa5d7b4
AA
192512015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19252
19253 * gdb.arch/s390-vregs.exp: New test.
19254 * gdb.arch/s390-vregs.S: New file.
19255
97c18565
PA
192562015-02-27 Pedro Alves <palves@redhat.com>
19257
19258 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19259 call to catch_command_errors.
19260 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19261 catch_command_errors.
19262
a37bfa30
PA
192632015-02-27 Pedro Alves <palves@redhat.com>
19264
19265 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19266 "true" for boolean result.
19267 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19268 prototype of main.
19269
6f98576f
PA
192702015-02-27 Pedro Alves <palves@redhat.com>
19271
19272 * lib/unbuffer_output.c: New file.
19273 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19274 (main): Call gdb_unbuffer_output.
19275
eba5ab56
YQ
192762015-02-27 Yao Qi <yao.qi@linaro.org>
19277
19278 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19279 target.
19280
0def5aaa
DE
192812015-02-26 Doug Evans <dje@google.com>
19282
19283 * gdb.cp/class2.cc (Dbase, D): New classes.
19284 (main): New local delta.
19285 * gdb.cp/class2.exp: Test printing delta.
19286 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19287 (dynbar): New global.
19288 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19289
081a1c2c
JK
192902015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19291
19292 * gdb.compile/compile-ifunc.c: New file.
19293 * gdb.compile/compile-ifunc.exp: New file.
19294
2f41223f
AT
192952015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19296
19297 * gdb.base/structs.exp: Check for correct struct on finish.
19298
03eddd80
YQ
192992015-02-26 Yao Qi <yao.qi@linaro.org>
19300
19301 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19302 is zero.
19303
80c57053
JK
193042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19305
19306 * gdb.arch/cordic.ko.bz2: New file.
19307 * gdb.arch/cordic.ko.debug.bz2: New file.
19308 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19309
21613c12
YQ
193102015-02-25 Yao Qi <yao.qi@linaro.org>
19311
19312 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19313 aarch64*-*-* target.
19314
d8b901ed
PA
193152015-02-23 Pedro Alves <palves@redhat.com>
19316
19317 * lib/gdb.exp (delete_breakpoints): Rewrite using
19318 gdb_test_multiple.
19319
e5b85ead
PA
193202015-02-23 Pedro Alves <palves@redhat.com>
19321
19322 * gdb.base/info-os.c: Include stdlib.h.
19323
85c3a371
DE
193242015-02-22 Doug Evans <xdje42@gmail.com>
19325
19326 PR symtab/17855
19327 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19328 is read after symbols have been re-read.
19329 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19330 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19331
96553a0c
DE
193322015-02-21 Doug Evans <dje@google.com>
19333
19334 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19335
97a0c697
JK
193362015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19337
19338 PR corefiles/17808
19339 * gdb.arch/i386-biarch-core.core.bz2: New file.
19340 * gdb.arch/i386-biarch-core.exp: New file.
19341
a47cd6e9
PA
193422015-02-21 Pedro Alves <palves@redhat.com>
19343
19344 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19345 runto_main fails.
19346
c5facdc4
PA
193472015-02-20 Pedro Alves <palves@redhat.com>
19348
19349 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19350 info probes.
19351
2db9a427
PA
193522015-02-20 Pedro Alves <palves@redhat.com>
19353
19354 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19355
60fb7e9e
PA
193562015-02-20 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19359 clean_restart before gdb_target_supports_trace.
19360
5c5019c2
PA
193612015-02-20 Pedro Alves <palves@redhat.com>
19362
19363 PR threads/18006
19364 * gdb.threads/clone-thread_db.c: New file.
19365 * gdb.threads/clone-thread_db.exp: New file.
19366
c9587f88
AT
193672015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19368
19369 PR breakpoints/16812
19370 * gdb.base/catch-gdb-caused-signals.c: New file.
19371 * gdb.base/catch-gdb-caused-signals.exp: New file.
19372
f6a88844
JM
193732015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19374
19375 * configure: Regenerated.
19376 * configure.ac: Use GDB_AC_TRANSFORM.
19377 * aclocal.m4: sinclude ../transform.m4.
19378
497c491b
JM
193792015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19380
19381 * lib/dtrace.exp: New file.
19382 * gdb.base/dtrace-probe.exp: Likewise.
19383 * gdb.base/dtrace-probe.d: Likewise.
19384 * gdb.base/dtrace-probe.c: Likewise.
19385 * lib/pdtrace.in: Likewise.
19386 * configure.ac: Output variables with the transformed names of
19387 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19388 * configure: Regenerated.
19389
03e98035
JM
193902015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19391
19392 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19393 expected message when trying to access $_probe_* convenience
19394 variables while not on a probe.
19395
63cc30e9
JK
193962015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19397
19398 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19399
0703599a
PA
194002015-02-11 Pedro Alves <pedro@codesourcery.com>
19401
19402 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19403 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19404
7e60a48e
DE
194052015-02-10 Doug Evans <xdje42@gmail.com>
19406
19407 * lib/gdb.exp (gdb_load): Always return a result.
19408
01b088bc
PA
194092015-02-10 Pedro Alves <palves@redhat.com>
19410
19411 * gdb.threads/signal-sigtrap.c: New file.
19412 * gdb.threads/signal-sigtrap.exp: New file.
19413
b05ec7a5
AT
194142015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19415
19416 * gdb.trace/no-attach-trace.c: New file.
19417 * gdb.trace/no-attach-trace.exp: New file.
19418
a2c2acaf
MW
194192015-02-09 Mark Wielaard <mjw@redhat.com>
19420
19421 * gdb.dwarf2/atomic.c: New file.
19422 * gdb.dwarf2/atomic-type.exp: Likewise.
19423
31fd9caa
MM
194242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19425
19426 * gdb.btrace/buffer-size.exp: Update "info record" output.
19427 * gdb.btrace/delta.exp: Update "info record" output.
19428 * gdb.btrace/enable.exp: Update "info record" output.
19429 * gdb.btrace/finish.exp: Update "info record" output.
19430 * gdb.btrace/instruction_history.exp: Update "info record" output.
19431 * gdb.btrace/next.exp: Update "info record" output.
19432 * gdb.btrace/nexti.exp: Update "info record" output.
19433 * gdb.btrace/step.exp: Update "info record" output.
19434 * gdb.btrace/stepi.exp: Update "info record" output.
19435 * gdb.btrace/nohist.exp: Update "info record" output.
19436
d33501a5
MM
194372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19438
19439 * gdb.btrace/buffer-size: New.
19440
f4abbc16
MM
194412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19442
19443 * gdb.btrace/delta.exp: Update "info record" output.
19444 * gdb.btrace/enable.exp: Update "info record" output.
19445 * gdb.btrace/finish.exp: Update "info record" output.
19446 * gdb.btrace/instruction_history.exp: Update "info record" output.
19447 * gdb.btrace/next.exp: Update "info record" output.
19448 * gdb.btrace/nexti.exp: Update "info record" output.
19449 * gdb.btrace/step.exp: Update "info record" output.
19450 * gdb.btrace/stepi.exp: Update "info record" output.
19451 * gdb.btrace/nohist.exp: Update "info record" output.
19452
b9d61307
SM
194532015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19454
19455 PR gdb/15678
19456 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19457
e584fdbc
PA
194582015-02-06 Pedro Alves <palves@redhat.com>
19459
19460 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19461 macro.
19462 (seconds_left, again): New globals.
19463 (main): Wait seconds_left in a 1-second sleep loop instead of
19464 sleeping 180 seconds. If 'again' is set, reset the seconds
19465 counter.
19466 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19467 'again' in the inferior before detaching. Print the seconds left.
19468 (options): New global.
19469 (top level): Build program with -DTIMEOUT=$timeout.
19470
77f41761
PA
194712015-02-06 Pedro Alves <palves@redhat.com>
19472
19473 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19474 determine how many seconds to pass to 'alarm'.
19475 * gdb.base/gdb-sigterm.exp (top level): Build program with
19476 -DTIMEOUT=$timeout.
19477 (do_test): Return success/failure indication. Add more verbose
19478 logging. Don't fail if 200 single steps are seen. Instead, fail
19479 when the test times out.
19480 (passes): New global.
19481 (top level): Break the testing loop if testing fails on any
19482 iteration. Use gdb_assert.
19483
b9394193
DB
194842015-02-04 Don Breazeal <donb@codesourcery.com>
19485
19486 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19487 and initialize them.
19488 (ipc_cleanup): New function.
19489 (main): Don't declare shmid, semid, and msqid. Add a call to
19490 atexit so that we call ipc_cleanup on exit.
19491
42d9e528
PA
194922015-02-04 Pedro Alves <palves@redhat.com>
19493
19494 * boards/native-extended-gdbserver.exp: Remove any target variant
19495 specifications from the board name before clearing the isremote
19496 flag from board_info.
19497
ae6ae975
DE
194982015-01-31 Doug Evans <xdje42@gmail.com>
19499
19500 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19501
cfb069a8
GB
195022015-01-31 Gary Benson <gbenson@redhat.com>
19503
19504 * gdb.base/completion.exp: Disable completion limiting for
19505 existing tests. Add new tests to check completion limiting.
19506 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19507
5dd31d79
DE
195082015-01-31 Doug Evans <xdje42@gmail.com>
19509
19510 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19511
9f050062
DE
195122015-01-31 Doug Evans <xdje42@gmail.com>
19513
19514 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19515 entries. Duplicate file section script entries.
19516 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19517 inlined entries. Add test for safe-path rejection.
19518 * gdb.python/py-section-script.c: Add duplicate inlined section script
19519 entries. Duplicate file section script entries.
19520 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19521 inlined entries. Add test for safe-path rejection.
19522
df25ebbd
JB
195232015-01-29 Joel Brobecker <brobecker@adacore.com>
19524
19525 * gdb.ada/disc_arr_bound: New testcase.
19526
4a0ca9ec
JB
195272015-01-29 Joel Brobecker <brobecker@adacore.com>
19528
19529 * gdb.ada/mi_var_array: New testcase.
19530
3a8b707a
DE
195312015-01-27 Doug Evans <dje@google.com>
19532
19533 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19534 Add test for objfile.filename, objfile.username after objfile
19535 has been unloaded.
19536
f8313f6e
JB
195372015-01-26 Joel Brobecker <brobecker@adacore.com>
19538
19539 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19540 the second test to print the name attribute of value
19541 returned by the call to gdb.lookup_type, and adjust
19542 the expected output accordingly.
19543
37bc665e
MW
195442015-01-25 Mark Wielaard <mjw@redhat.com>
19545
19546 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19547 * gdb.base/disp-step-fork.c: Include unistd.h.
19548 * gdb.base/siginfo-obj.c: Include stdio.h.
19549 * gdb.base/siginfo-thread.c: Likewise.
19550 * gdb.mi/non-stop.c: Include unistd.h.
19551 * gdb.mi/nsthrexec.c: Include stdio.h.
19552 * gdb.mi/pthreads.c: Include unistd.h.
19553 * gdb.modula2/unbounded1.c (main): Declare returns int.
19554 * gdb.reverse/consecutive-reverse.c: Likewise.
19555 * gdb.threads/create-fail.c: Include unistd.h.
19556 * gdb.threads/killed.c: Likewise.
19557 * gdb.threads/linux-dp.c: Likewise.
19558 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19559 * gdb.threads/non-ldr-exc-2.c: Likewise.
19560 * gdb.threads/non-ldr-exc-3.c: Likewise.
19561 * gdb.threads/non-ldr-exc-4.c: Likewise.
19562 * gdb.threads/pthreads.c: Include unistd.h.
19563 (main): Declare returns int.
19564 * gdb.threads/tls-main.c (foo): New declaration.
19565 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19566
f7e5394d
SM
195672015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19568
19569 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19570 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19571
743649fd
MW
195722015-01-15 Mark Wielaard <mjw@redhat.com>
19573
19574 * gdb.base/noreturn-return.c: New file.
19575 * gdb.base/noreturn-return.exp: New file.
19576 * gdb.base/noreturn-finish.c: New file.
19577 * gdb.base/noreturn-finish.exp: New file.
19578
198297aa
PA
195792015-01-23 Pedro Alves <palves@redhat.com>
19580
19581 * gdb.threads/continue-pending-after-query.c: New file.
19582 * gdb.threads/continue-pending-after-query.exp: New file.
19583
717cf30c
AG
195842015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19585 Simon Marchi <simon.marchi@ericsson.com>
19586
19587 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19588 * gdb.base/valgrind-db-attach.exp: Same.
19589 * gdb.base/valgrind-infcall.exp: Same.
19590 * lib/mi-support.exp (default_mi_gdb_start): Same.
19591 * lib/prompt.exp (default_prompt_gdb_start): Same.
19592 * lib/gdb.exp (default_gdb_spawn): Same.
19593 (gdb_interact): New.
19594
19595
4b62a76e
JK
195962015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19597
19598 * gdb.compile/compile.exp (pointer to jit function): New test.
19599
b4cdae6f
WW
196002015-01-17 Wei-cheng Wang <cole945@gmail.com>
19601
19602 * lib/gdb.exp (supports_process_record): Return true for
19603 powerpc*-*-linux*.
19604 (supports_reverse): Likewise.
19605
d221e7ef
DB
196062015-01-15 Don Breazeal <donb@codesourcery.com>
19607
19608 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19609 instead of checking whether the target board is remote and
19610 use spawn_wait_for_attach instead of exec/sleep.
19611 * gdb.base/attach-twice.exp: Likewise.
19612
bafffb51
JB
196132015-01-15 Joel Brobecker <brobecker@adacore.com>
19614
19615 * gdb.ada/var_arr_attrs: New testcase.
19616
5589af0e
PA
196172015-01-14 Pedro Alves <palves@redhat.com>
19618 Joel Brobecker <brobecker@adacore.com>
19619
19620 PR gdb/17525
19621 * gdb.base/bp-cmds-execution-x-script.c: New file.
19622 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19623 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19624
6c400b59
PA
196252015-01-14 Pedro Alves <palves@redhat.com>
19626
19627 PR cli/17828
19628 * gdb.base/batch-preserve-term-settings.c: New file.
19629 * gdb.base/batch-preserve-term-settings.exp: New file.
19630
e02c96a7
DE
196312015-01-13 Doug Evans <dje@google.com>
19632
19633 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19634 binary.
19635
576fd14c
JB
196362015-01-13 Joel Brobecker <brobecker@adacore.com>
19637
19638 * Makefile.in (clean mostlyclean): Do not delete *.py.
19639
04dccad0
JB
196402015-01-13 Joel Brobecker <brobecker@adacore.com>
19641
19642 * gdb.python/py-lookup-type.exp: New file.
19643
3d230f71
PA
196442015-01-12 Pedro Alves <palves@redhat.com>
19645
19646 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19647 restore GDBFLAGS before returning.
19648
7e67715d
JK
196492015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19650
19651 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19652 is_amd64_regs_target and is_x86_like_target.
19653
f2e0d4b4
DE
196542015-01-11 Doug Evans <xdje42@gmail.com>
19655
19656 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19657 is given without an explicit form.
19658 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19659 attributes.
19660 * gdb.dwarf/corrupt.exp: Ditto.
19661 * gdb.dwarf2/enum-type.exp: Ditto.
19662 * gdb.trace/entry-values.exp: Ditto.
19663 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19664
439250fb
DE
196652015-01-11 Doug Evans <xdje42@gmail.com>
19666
19667 PR gdb/15830
19668 * gdb.base/maint.exp: Remove references to "maint demangle".
19669 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19670 Add tests for explicitly specifying language to demangle.
19671 * gdb.dlang/demangle.exp: Ditto.
19672
ede9f622
PA
196732015-01-09 Pedro Alves <palves@redhat.com>
19674
19675 * gdb.threads/non-stop-fair-events.c: New file.
19676 * gdb.threads/non-stop-fair-events.exp: New file.
19677
a7b796db
PA
196782015-01-09 Pedro Alves <palves@redhat.com>
19679
19680 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19681 the global scope. Set a breakpoint after all threads are started
19682 rather than stepping over two source lines. Expect the prompt.
19683 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19684 global.
19685 (NUM): Now 15.
19686 (main): Use threads_started_barrier to wait for all threads to
19687 start. Main thread no longer calls thread_function. Exit after
19688 180 seconds.
19689 (loop): New function.
19690 (thread_function): Wait on threads_started_barrier barrier. Call
19691 'loop' at each iteration.
19692 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19693 threads have started, instead of hardcoding number of "next"
19694 steps. Use an access watchpoint instead of a write watchpoint.
19695
9665ffdd
PA
196962015-01-09 Pedro Alves <palves@redhat.com>
19697
19698 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19699 (thread_func): Wait on barrier.
19700 (main): Wait for all threads to start before stopping GDB.
19701 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19702 global.
19703 (thread1_func, thread2_func): Wait on barrier.
19704 (main): Wait for all threads to start before stopping GDB.
19705 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19706 New global.
19707 (thread1_func, thread2_func): Wait on barrier.
19708 (main): Wait for all threads to start before stopping GDB.
19709
c945a99f
PA
197102015-01-09 Pedro Alves <palves@redhat.com>
19711
19712 * gdb.threads/attach-many-short-lived-threads.c: New file.
19713 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19714
c1a747c1
PA
197152014-01-09 Pedro Alves <palves@redhat.com>
19716
19717 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19718 instead of to thread 2.
19719 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19720 Add barrier around each pthread_create call instead of around all
19721 calls.
19722 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19723 Set a break on thread_function and have the child threads hit it
19724 one at at a time.
19725
60b3033e
PA
197262015-01-09 Pedro Alves <palves@redhat.com>
19727
19728 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19729 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19730 false.
19731 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19732 checking whether the target board is remote.
19733 * gdb.multi/multi-attach.exp: Likewise.
19734 * gdb.python/py-sync-interp.exp: Likewise.
19735 * gdb.server/ext-attach.exp: Likewise.
19736 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19737 tests that need to attach, instead of checking whether the target
19738 board is remote at the top of the file.
19739
acc018ac
YQ
197402015-01-08 Yao Qi <yao@codesourcery.com>
19741
19742 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19743
50a18af8
JK
197442015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19745
19746 Fix testcase compilation.
19747 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19748
8503d6e1
JB
197492015-01-06 Joel Brobecker <brobecker@adacore.com>
19750
19751 * gdb.python/py-type.exp: Add a couple test about empty
19752 array creation, and negative-length array creation.
19753
cc73dbcc
DE
197542015-01-02 Doug Evans <xdje42@gmail.com>
19755
19756 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19757
0300bbc7
DE
197582015-01-02 Doug Evans <dje@google.com>
19759
19760 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19761
9d85a0ec
YQ
197622014-12-29 Yao Qi <yao@codesourcery.com>
19763
19764 * gdb.trace/entry-values.exp: Update comments. Rename variable
19765 bar_call_foo to returned_from_foo.
19766
87186c6a
MMN
197672014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19768
19769 PR gdb/17394
19770 * gdb.linespec/break-asm-file.c: New file.
19771 * gdb.linespec/break-asm-file.exp: New file.
19772 * gdb.linespec/break-asm-file0.s: New file.
19773 * gdb.linespec/break-asm-file1.s: New file.
19774
1bab7383
YQ
197752014-12-18 Nigel Stephens <nigel@mips.com>
19776 Maciej W. Rozycki <macro@codesourcery.com>
19777
19778 * gdb.base/float.exp: Handle the new output from "info float" on
19779 MIPS targets.
19780
1bc1068a
JK
197812014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19782
19783 Fix MinGW compilation.
19784 * gdb.compile/compile-ops.exp: Update untested message if
19785 !skip_compile_feature_tests.
19786 * gdb.compile/compile-setjmp.exp: Likewise.
19787 * gdb.compile/compile-tls.exp: Likewise.
19788 * gdb.compile/compile.exp: Likewise.
19789 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19790 supported on this host".
19791
b6615d10
DE
197922014-12-16 Doug Evans <xdje42@gmail.com>
19793
19794 * boards/stabs.exp: New file.
19795
25dda427
AA
197962014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19797
19798 * gdb.base/completion.exp: Adjust to format changes of "maint
19799 print user-registers".
19800
bf330350
CU
198012014-12-16 Catalin Udma <catalin.udma@freescale.com>
19802
19803 PR server/17457
19804 * gdb.arch/aarch64-fp.c: New file.
19805 * gdb.arch/aarch64-fp.exp: New file.
19806
395cf596
SDJ
198072014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19808
19809 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19810 r210637, r210913, r211666, r215400, r215817).
19811
19812 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19813 * dg-extract-results.py: New file.
19814 * dg-extract-results.sh: Use it if the environment seems
19815 suitable.
19816
19817 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19818
19819 * dg-extract-results.py (parse_run): Handle warnings that
19820 are printed before a test harness is run.
19821
19822 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19823
19824 * dg-extract-results.py (Named): Remove __cmp__ method.
19825 (output_variation): Use a key to sort variation.harnesses.
19826
19827 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19828
19829 * dg-extract-results.py: For Python 3, force sys.stdout to
19830 handle surrogate escape sequences.
19831 (safe_open): New function.
19832 (output_segment, main): Use it.
19833
19834 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19835
19836 * dg-extract-results.py (Prog.result_re): Include options
19837 in test name.
19838
19839 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19840
19841 * dg-extract-results.py (output_variation): Always sort if
19842 do_sum.
19843
e882ef3c
SM
198442014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19845
19846 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19847 as long as we get pagination notifications.
19848
4992aa20
JM
198492014-12-15 Jason Merrill <jason@redhat.com>
19850
19851 * Makefile.in (check-gdb.%): Restore.
19852 * README: Mention it.
19853
c1b5a1a6
JB
198542014-12-13 Joel Brobecker <brobecker@adacore.com>
19855
19856 * gdb.ada/str_uninit: New testcase.
19857
5537b577
JK
198582014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19859
19860 PR symtab/17642
19861 * gdb.base/vla-stub-define.c: New file.
19862 * gdb.base/vla-stub.c: New file.
19863 * gdb.base/vla-stub.exp: New file.
19864
bb2ec1b3
TT
198652014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19866 Jan Kratochvil <jan.kratochvil@redhat.com>
19867 Tom Tromey <tromey@redhat.com>
19868
19869 * configure.ac: Add gdb.compile/.
19870 * configure: Regenerate.
19871 * gdb.compile/Makefile.in: New file.
19872 * gdb.compile/compile-ops.exp: New file.
19873 * gdb.compile/compile-ops.c: New file.
19874 * gdb.compile/compile-tls.c: New file.
19875 * gdb.compile/compile-tls.exp: New file.
19876 * gdb.compile/compile-constvar.S: New file.
19877 * gdb.compile/compile-constvar.c: New file.
19878 * gdb.compile/compile-mod.c: New file.
19879 * gdb.compile/compile-nodebug.c: New file.
19880 * gdb.compile/compile-setjmp-mod.c: New file.
19881 * gdb.compile/compile-setjmp.c: New file.
19882 * gdb.compile/compile-setjmp.exp: New file.
19883 * gdb.compile/compile-shlib.c: New file.
19884 * gdb.compile/compile.c: New file.
19885 * gdb.compile/compile.exp: New file.
19886 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19887
4ff709eb
TT
198882014-12-12 Tom Tromey <tromey@redhat.com>
19889
19890 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19891 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19892
6dddd6a5
DE
198932014-12-12 Doug Evans <dje@google.com>
19894
19895 * lib/gdb-python.exp (get_python_valueof): New function.
19896 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19897
71c24708
AA
198982014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19899
19900 * gdb.base/completion.exp: Add test for completion of "info
19901 registers ".
19902
3e29f34a
MR
199032014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19904
19905 * gdb.base/func-ptrs.c: New file.
19906 * gdb.base/func-ptrs.exp: New file.
19907
fc126975
SM
199082014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19909
19910 PR breakpoints/17012
19911 * gdb.base/dprintf-detach.c: New file.
19912 * gdb.base/dprintf-detach.exp: New file.
19913
0a46d518
SM
199142014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19915
19916 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19917 * lib/gdb.exp (target_is_gdbserver): New procedure.
19918
a0be3e44
DE
199192014-12-08 Doug Evans <dje@google.com>
19920
19921 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19922
df1b803a
YQ
199232014-12-05 Yao Qi <yao@codesourcery.com>
19924
19925 * gdb.guile/scm-error.exp: Remove the third argument to
19926 gdb_remote_download.
19927 * gdb.guile/scm-frame-args.exp: Likewise.
19928 * gdb.guile/scm-section-script.exp: Likewise.
19929
ddb9f679
YQ
199302014-12-05 Yao Qi <yao@codesourcery.com>
19931
19932 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19933
86e4ed39
DE
199342014-12-04 Doug Evans <dje@google.com>
19935
19936 * gdb.python/py-objfile.exp: Add tests for
19937 objfile.add_separate_debug_file.
19938
7c50a931
DE
199392014-12-04 Doug Evans <dje@google.com>
19940
19941 * lib/gdb.exp (get_build_id): New function.
19942 (build_id_debug_filename_get): Rewrite to use it.
19943 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19944
621661e3
MR
199452014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19946
19947 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19948 `method(long)', not just 0x0.
19949 * gdb.cp/nsalias.exp: Align code labels to 4.
19950 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19951 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19952 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19953 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19954 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19955 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19956
29f0c3b7
DE
199572014-12-02 Doug Evans <dje@google.com>
19958
e1e061e7 19959 PR symtab/17602
29f0c3b7 19960 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19961 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19962 * gdb.cp/anon-ns.exp: Update.
19963
162078c8
NB
199642014-12-02 Nick Bull <nicholaspbull@gmail.com>
19965
19966 * gdb.python/py-events.py (inferior_call_handler): New.
19967 (register_changed_handler, memory_changed_handler): New.
19968 (test_events.invoke): Register new handlers.
19969 * gdb.python/py-events.exp: Add tests for inferior call,
19970 memory_changed and register_changed events.
19971
fdb09caf
AA
199722014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19973
19974 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19975 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19976 if the linker doesn't understand this.
19977
55cfb2c4
SM
199782014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19979
19980 * gdb.python/python.exp: Change expected reply to help().
19981
9e8cd6df
YQ
199822014-12-01 Yao Qi <yao@codesourcery.com>
19983
19984 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19985 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19986 * configure: Re-generated.
19987
6c659fc2
SC
199882014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19989
19990 * gdb.cp/chained-calls.cc: New file.
19991 * gdb.cp/chained-calls.exp: New file.
19992 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19993
d7fc3181
SM
199942014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19995
19996 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19997 * gdb.dwarf2/symtab-producer.exp: Same.
19998 * gdb.gdb/python-interrupts.exp: Same.
19999 * gdb.gdb/python-selftest.exp: Same.
20000 * gdb.python/py-linetable.exp: Same.
20001 * gdb.python/py-type.exp: Same.
20002 * gdb.python/py-value-cc.exp: Same.
20003 * gdb.python/py-value.exp: Same.
20004
10e79639
YQ
200052014-11-28 Yao Qi <yao@codesourcery.com>
20006
20007 * gdb.base/break-probes.exp: Match library name prefixed with
20008 sysroot.
20009
f28a0564
SM
200102014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20011
20012 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20013 test expected output. Add parentheses for the call to print.
20014 Remove L suffix from integers.
20015
3fe1ce1d
DE
200162014-11-26 Doug Evans <dje@google.com>
20017
20018 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20019
84429e27
YQ
200202014-11-22 Yao Qi <yao@codesourcery.com>
20021
20022 * gdb.trace/entry-values.c: Remove asms.
20023 (foo): Add foo_label.
20024 (bar): Add bar_label.
20025 * gdb.trace/entry-values.exp: Remove code computing foo's
20026 length and bar's length.
20027 (Dwarf::assemble): Invoke function_range for bar and use
20028 MACRO_AT_func for foo.
20029
26741859
YQ
200302014-11-22 Yao Qi <yao@codesourcery.com>
20031
20032 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20033 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20034 Use .Lgcc43_procstart instead of gcc43.
20035
45e44d27
JB
200362014-11-21 Joel Brobecker <brobecker@adacore.com>
20037
20038 * gdb.ada/n_arr_bound: New testcase.
20039
458c8db8
SDJ
200402014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20041
20042 PR breakpoints/10737
20043 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20044 test_catch_syscall_multi_arch.
20045 (test_catch_syscall_multi_arch): New function.
20046
43f3e411
DE
200472014-11-20 Doug Evans <xdje42@gmail.com>
20048
20049 * gdb.base/maint.exp: Update expected output.
20050
0d7b2549
AA
200512014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20052
20053 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20054 4-byte instruction on S390.
20055
8908fca5
JB
200562014-11-19 Joel Brobecker <brobecker@adacore.com>
20057
20058 * gdb.ada/arr_arr: New testcase.
20059
4a46959e
JB
200602014-11-19 Joel Brobecker <brobecker@adacore.com>
20061
20062 * gdb.ada/pkd_arr_elem: New Testcase.
20063
470e2f4e
LM
200642014-11-18 Luis Machado <lgustavo@codesourcery.com>
20065
20066 * gdb.reverse/break-precsave: Expect completion message for
20067 core file reads.
20068 * gdb.reverse/consecutive-precsave.exp: Likewise.
20069 * gdb.reverse/finish-precsave.exp: Likewise.
20070 * gdb.reverse/i386-precsave.exp: Likewise.
20071 * gdb.reverse/machinestate-precsave.exp: Likewise.
20072 * gdb.reverse/sigall-precsave.exp: Likewise.
20073 * gdb.reverse/solib-precsave.exp: Likewise.
20074 * gdb.reverse/step-precsave.exp: Likewise.
20075 * gdb.reverse/until-precsave.exp: Likewise.
20076 * gdb.reverse/watch-precsave.exp: Likewise.
20077
a267f3ad
AA
200782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20079
20080 * gdb.base/bp-permanent.c: Include unistd.h.
20081 * gdb.python/py-framefilter-mi.c (main): Add return type.
20082 * gdb.python/py-framefilter.c (main): Likewise.
20083 * gdb.trace/actions-changed.c (main): Likewise.
20084
12084a9a
AA
200852014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20086
20087 * gdb.mi/until.c: Add eye-catchers.
20088 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20089 line numbers.
20090
dc7e1a77
AA
200912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20092
20093 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20094 function header variants in break1.c.
20095 * gdb.base/ena-dis-br.exp: Likewise.
20096 * gdb.base/hbreak2.exp: Likewise.
20097 * gdb.reverse/until-precsave.exp: Drop references to removed
20098 non-prototype function header variants in ur1.c.
20099 * gdb.reverse/until-reverse.exp: Likewise.
20100
41c77605
PM
201012014-11-17 Petr Machata <pmachata@redhat.com>
20102
20103 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20104 ${_cu_offset_size} bytes abbrev offset.
20105
34248c3a
DE
201062014-11-15 Doug Evans <xdje42@gmail.com>
20107
20108 PR symtab/17559
20109 * gdb.base/line-symtabs.exp: New file.
20110 * gdb.base/line-symtabs.c: New file.
20111 * gdb.base/line-symtabs.h: New file.
20112
646da059
YQ
201132014-11-14 Yao Qi <yao@codesourcery.com>
20114
20115 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20116 (func): Add label func_label.
20117 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20118 Replace low_pc and high_pc with MACRO_AT_range.
20119 Replace name, low_pc and high_pc with MACRO_AT_func.
20120
9301ebe6
YQ
201212014-11-14 Yao Qi <yao@codesourcery.com>
20122
20123 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20124 Replace name, low_pc and high_pc with MACRO_AT_func.
20125
f166b542
YQ
201262014-11-14 Yao Qi <yao@codesourcery.com>
20127
20128 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20129 produce debug information.
20130 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20131
0f6e71e3
YQ
201322014-11-14 Yao Qi <yao@codesourcery.com>
20133
20134 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20135 object and get function length.
20136 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20137 with MACRO_AT_func.
20138 (top-level): Replace gdb_compile and clean_restart with
20139 prepare_for_testing.
20140 * gdb.dwarf2/main.c (main): Add label main_label.
20141
876c4df9
YQ
201422014-11-14 Yao Qi <yao@codesourcery.com>
20143
20144 * lib/dwarf.exp (function_range): New procedure.
20145 (Dwarf::_handle_macro_at_func): New procedure.
20146 (Dwarf::_handle_macro_at_range): New procedure.
20147 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20148
02ad9cf1
YQ
201492014-11-14 Yao Qi <yao@codesourcery.com>
20150
20151 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20152 (_handle_attribute): New procedure.
20153
a59add0c
AA
201542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20155
20156 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20157 * gdb.base/call-sc.c (zed): Likewise.
20158 * gdb.base/checkpoint.c (main): Likewise.
20159 * gdb.base/dump.c (main): Likewise.
20160 * gdb.base/gcore.c (main): Likewise.
20161 * gdb.base/huge.c (main): Likewise.
20162 * gdb.base/multi-forks.c (main): Likewise.
20163 * gdb.base/pr10179-a.c (main): Likewise.
20164 * gdb.base/savedregs.c (main): Likewise.
20165 * gdb.base/sigaltstack.c (main): Likewise.
20166 * gdb.base/siginfo.c (main): Likewise.
20167 * gdb.base/structs.c (zed): Likewise.
20168 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20169 * gdb.mi/mi-syn-frame.c (main): Likewise.
20170 * gdb.mi/until.c (foo, main): Likewise.
20171 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20172 * gdb.base/solib-weak.c (foo): Declare.
20173 * gdb.base/attach-twice.c: Include stdio.h.
20174 * gdb.base/weaklib1.c: Likewise.
20175 * gdb.base/weaklib2.c: Likewise.
20176 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20177 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20178 unistd.h.
20179 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20180 * gdb.mi/mi-exit-code.c: Likewise.
20181 * gdb.base/break-interp-lib.c: Include string.h.
20182 * gdb.base/coremaker.c: Likewise.
20183 * gdb.base/testenv.c: Likewise.
20184 * gdb.python/py-finish-breakpoint.c: Likewise.
20185 * gdb.base/inferior-died.c: Include sys/wait.h.
20186 * gdb.base/fileio.c: Include time.h.
20187 * gdb.base/async-shell.c: Include unistd.h.
20188 * gdb.base/dprintf-non-stop.c: Likewise.
20189 * gdb.base/info-os.c: Likewise.
20190 * gdb.mi/mi-console.c: Likewise.
20191 * gdb.mi/watch-nonstop.c: Likewise.
20192 * gdb.python/py-events.c: Likewise.
20193 * gdb.base/async.c (baz): Move up before its invocation.
20194 * gdb.base/code_elim2.c (my_global_func): Likewise.
20195 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20196 * gdb.base/advance.c (func2): Likewise.
20197
3b5d5997
AA
201982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20199
20200 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20201 variant.
20202 * gdb.base/annota3.c: Likewise.
20203 * gdb.base/async.c: Likewise.
20204 * gdb.base/average.c: Likewise.
20205 * gdb.base/call-ar-st.c: Likewise.
20206 * gdb.base/call-rt-st.c: Likewise.
20207 * gdb.base/call-sc.c: Likewise.
20208 * gdb.base/call-strs.c: Likewise.
20209 * gdb.base/ending-run.c: Likewise.
20210 * gdb.base/execd-prog.c: Likewise.
20211 * gdb.base/exprs.c: Likewise.
20212 * gdb.base/foll-exec.c: Likewise.
20213 * gdb.base/foll-fork.c: Likewise.
20214 * gdb.base/foll-vfork.c: Likewise.
20215 * gdb.base/funcargs.c: Likewise.
20216 * gdb.base/gcore.c: Likewise.
20217 * gdb.base/jump.c: Likewise.
20218 * gdb.base/langs0.c: Likewise.
20219 * gdb.base/langs1.c: Likewise.
20220 * gdb.base/langs2.c: Likewise.
20221 * gdb.base/mips_pro.c: Likewise.
20222 * gdb.base/nodebug.c: Likewise.
20223 * gdb.base/opaque0.c: Likewise.
20224 * gdb.base/opaque1.c: Likewise.
20225 * gdb.base/recurse.c: Likewise.
20226 * gdb.base/run.c: Likewise.
20227 * gdb.base/scope0.c: Likewise.
20228 * gdb.base/scope1.c: Likewise.
20229 * gdb.base/setshow.c: Likewise.
20230 * gdb.base/setvar.c: Likewise.
20231 * gdb.base/shmain.c: Likewise.
20232 * gdb.base/shr1.c: Likewise.
20233 * gdb.base/shr2.c: Likewise.
20234 * gdb.base/sigall.c: Likewise.
20235 * gdb.base/signals.c: Likewise.
20236 * gdb.base/so-indr-cl.c: Likewise.
20237 * gdb.base/solib2.c: Likewise.
20238 * gdb.base/structs.c: Likewise.
20239 * gdb.base/sum.c: Likewise.
20240 * gdb.base/vforked-prog.c: Likewise.
20241 * gdb.base/watchpoint.c: Likewise.
20242 * gdb.reverse/shr2.c: Likewise.
20243 * gdb.reverse/until-reverse.c: Likewise.
20244 * gdb.reverse/ur1.c: Likewise.
20245 * gdb.reverse/watch-reverse.c: Likewise.
20246
066a77c5
AA
202472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20248
20249 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20250 variant.
20251 * gdb.base/sepdebug.exp: Drop references to removed code.
20252
4f204ea5
AA
202532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20254
20255 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20256 variant. Preserve original line numbering.
20257 * gdb.base/list1.c: Likewise.
20258
3b377a3a
AA
202592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20260
20261 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20262 variant.
20263 * gdb.base/break1.c: Likewise.
20264 * gdb.base/break.exp: Drop references to removed code.
20265
e444df73
AA
202662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20267
20268 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20269 variant.
20270
8008f2a7
AA
202712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20272
20273 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20274
a5a06887
AA
202752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20276
20277 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20278 logic into perform_all_tests() and invoke it with and without
20279 function header prototypes.
20280 (do_function_calls): Remove conditional XFAIL for PR 5318.
20281 (rerun_and_prepare): Remove duplicate code.
20282 (perform_all_tests): New. Main logic moved here.
20283
44dba9b9
AA
202842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20285
20286 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20287 code guarded by #ifdef NO_PROTOTYPES.
20288 (t_double_many_args): Likewise.
20289 (DEF_FUNC_MANY_ARGS_1): Likewise.
20290 (DEF_FUNC_VALUES_1): Likewise.
20291 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20292 guarded by #ifdef PROTOTYPES.
20293
d1fbcd56
AA
202942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20295
20296 * gdb.mi/mi-console.c: Add eye-catcher.
20297 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20298 instead of literal line number.
20299
b0e59b8f
AA
203002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20301
20302 * gdb.base/shr2.c: Add eye-catcher.
20303 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20304 line number.
20305
78f98cca
AA
203062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20307
20308 * gdb.base/jump.c: Add eye-catchers.
20309 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20310 numbers.
20311
58fa2af0
AA
203122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20313
20314 * gdb.base/execd-prog.c: Add eye-catchers.
20315 * gdb.base/foll-exec.c: Likewise.
20316 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20317 line numbers.
20318
04e5059b
AA
203192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20320
20321 * gdb.base/ending-run.c: Add eye-catchers.
20322 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20323 literal line numbers.
20324
dbfdb174
AA
203252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20326
20327 * gdb.base/call-rt-st.c: Add eye-catchers.
20328 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20329 literal line numbers.
20330
888a2ade
AA
203312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20332
20333 * gdb.base/call-ar-st.c: Add eye-catchers.
20334 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20335 literal line numbers.
20336
6acc2dde
AA
203372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20338
20339 * gdb.base/average.c: Add eye-catchers.
20340 * gdb.base/sum.c: Likewise.
20341 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20342 regexps dynamically.
20343
9ecfcd1d
AA
203442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20345
20346 * gdb.base/solib1.c: Add eye-catchers.
20347 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20348 literal line numbers.
20349
78708b7c
PA
203502014-11-12 Pedro Alves <palves@redhat.com>
20351
20352 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20353 leader has exited.
20354
af48d08f
PA
203552014-11-12 Pedro Alves <palves@redhat.com>
20356
20357 * gdb.arch/i386-bp_permanent.c: New file.
20358 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20359 (srcfile): Set to i386-bp_permanent.c.
20360 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20361 that stepi does not execute the 'leave' instruction, instead of
20362 testing it does execute.
20363 * gdb.base/bp-permanent.c: New file.
20364 * gdb.base/bp-permanent.exp: New file.
20365
af3768e9
DE
203662014-11-10 Doug Evans <xdje42@gmail.com>
20367
20368 PR symtab/17564
20369 * gdb.base/symtab-search-order.exp: New file.
20370 * gdb.base/symtab-search-order.c: New file.
20371 * gdb.base/symtab-search-order-1.c: New file.
20372 * gdb.base/symtab-search-order-shlib-1.c: New file.
20373
9de00a4a
PA
203742014-11-07 Pedro Alves <palves@redhat.com>
20375
20376 PR gdb/17511
20377 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20378 i?86-*-linux*.
20379
e0f52461
SC
203802014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20381
20382 PR c++/17494
20383 * gdb.cp/pr17494.cc: New file.
20384 * gdb.cp/pr17494.exp: New file.
20385
6ce8c980
YQ
203862014-11-02 Yao Qi <yao@codesourcery.com>
20387
20388 * gdb.python/python.exp: Get working directory and match the
20389 output of "set extended-prompt \\w " with it.
20390
02be9a71
DE
203912014-10-30 Doug Evans <dje@google.com>
20392
20393 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20394 in objfiles.
20395 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20396 in progspaces.
20397
3bdff46b
LM
203982014-10-30 Janis Johnson <janisjo@codesourcery.com>
20399
20400 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20401 * gdb.base/realname-expand.exp: Likewise.
20402 * gdb.linespec/macro-relative.exp: Likewise.
20403
ab917dfb
PA
204042014-10-29 Pedro Alves <palves@redhat.com>
20405
20406 PR gdb/17408
20407 * gdb.threads/schedlock.c (some_function): New function.
20408 (call_function): New global.
20409 (MAYBE_CALL_SOME_FUNCTION): New macro.
20410 (thread_function): Call it.
20411 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20412 and use it instead of a global counter. Adjust all callers.
20413 (get_current_thread): Use "find current thread" for test message
20414 here rather than having all callers pass down the same string.
20415 (goto_loop): New procedure, factored out from ...
20416 (my_continue): ... this.
20417 (step_ten_loops): Change parameter from test message to command to
20418 use. Adjust.
20419 (list_count): Delete global.
20420 (check_result): New procedure, factored out from duplicate top
20421 level code.
20422 (continue tests): Wrap in with_test_prefix.
20423 (test_step): New procedure, factored out from duplicate top level
20424 code.
20425 (top level): Test "step" in combination with all scheduler-locking
20426 modes. Test "next" in combination with all scheduler-locking
20427 modes, and in combination with stepping over a function call or
20428 not.
20429 * gdb.threads/next-bp-other-thread.c: New file.
20430 * gdb.threads/next-bp-other-thread.exp: New file.
20431
d3d4baed
PA
204322014-10-29 Pedro Alves <palves@redhat.com>
20433
20434 PR python/17372
20435 * gdb.python/python.exp: Test a multi-line command that spawns
20436 interactive Python.
20437 * gdb.base/multi-line-starts-subshell.exp: New file.
20438
563e8d85
YQ
204392014-10-29 Yao Qi <yao@codesourcery.com>
20440
20441 * gdb.base/fileio.exp: Make directories on host.
20442
0ea4d52e
YQ
204432014-10-29 Yao Qi <yao@codesourcery.com>
20444
20445 * gdb.base/fileio.c (test_write): Close the file.
20446
7f5ef605
PA
204472014-10-28 Pedro Alves <palves@redhat.com>
20448
20449 PR gdb/12623
20450 * gdb.base/sigstep.c (no_handler): New global.
20451 (main): If 'no_handler is true, set the signal handlers to
20452 SIG_IGN.
20453 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20454 with_sw_watch and no_handler parameters. Handle them.
20455 (top level) <stepping over handler when stopped at a breakpoint
20456 test>: Add a test axis for testing with a software watchpoint, and
20457 another for testing with the signal handler set to SIG_IGN.
20458 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20459 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20460
abbdbd03
PA
204612014-10-28 Pedro Alves <palves@redhat.com>
20462
20463 PR gdb/17511
20464 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20465 * gdb.base/sigstep.exp (other_handler_location): New global.
20466 (advance): Support stepping into the signal handler, and running
20467 commands while in the handler.
20468 (in_handler_map): New global.
20469 (top level): In the advance test, add combinations for getting
20470 into the handler with stepping commands, and for running commands
20471 in the handler. Add comment descripting the advancei tests.
20472
1df4399f
PA
204732014-10-28 Pedro Alves <palves@redhat.com>
20474
20475 * gdb.base/sigstep.exp: Use build_executable instead of
20476 prepare_for_testing.
20477 (top level): Move code that starts GDB, runs to main and creates a
20478 display to ...
20479 (restart): ... this new procedure.
20480 (top level): Move backtrace from signal handler test to ...
20481 (validate_backtrace): ... this new procedure.
20482 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20483 with_test_prefix. Always restart GDB.
20484 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20485 with_test_prefix. Always restart GDB. No need to delete
20486 breakpoints after the test.
20487 (test_skip_handler): Remove prefix parameter.
20488 (skip_over_handler, breakpoint_to_handler)
20489 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20490 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20491 restart GDB. No need to delete breakpoints after the test.
20492 (top level): Use foreach to call the test procedures with
20493 different commands.
20494
a5b6e449
PA
204952014-10-28 Pedro Alves <palves@redhat.com>
20496
20497 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20498 instead of GNATS numbers.
20499 * gdb.base/sigbpt.exp: Likewise.
20500 * gdb.base/siginfo.exp: Likewise.
20501 * gdb.base/sigstep.exp: Likewise.
20502
e5f8a7cc
PA
205032014-10-27 Pedro Alves <palves@redhat.com>
20504
20505 * gdb.base/sigstep.c (dummy): New global.
20506 (main): Issue a couple writes to the new global.
20507 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20508 procedures.
20509 (skip_over_handler): Use test_skip_handler.
20510 (top level): Call skip_over_handler for stepi and nexti too.
20511 (breakpoint_over_handler): Use test_skip_handler.
20512 (top level): Call breakpoint_over_handler for stepi and nexti too.
20513
763905a3
YQ
205142014-10-27 Yao Qi <yao@codesourcery.com>
20515
20516 * gdb.trace/tfile.c (adjust_function_address)
20517 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20518 function descriptor.
20519
6f259a23
DB
205202014-10-24 Don Breazeal <donb@codesourcery.com>
20521
20522 * gdb.base/foll-fork.exp (test_follow_fork,
20523 catch_fork_child_follow): Check for updated fork messages emitted
20524 from infrun.c.
20525 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20526 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20527 vfork_and_exec_child_follow_through_step): Check for updated vfork
20528 messages emitted from infrun.c.
20529
09dd9a69
PA
205302014-10-24 Pedro Alves <palves@redhat.com>
20531
20532 * gdb.base/corefile.exp: Remove references to ultrix.
20533 * gdb.base/interrupt.exp: Likewise.
20534 * gdb.base/whatis.exp: Likewise.
20535 * gdb.gdb/selftest.exp: Likewise.
20536 * gdb.threads/manythreads.exp: Likewise.
20537 * gdb.threads/print-threads.exp: Likewise.
20538 * gdb.threads/pthreads.exp:: Likewise.
20539 * gdb.threads/schedlock.exp: Likewise.
20540
3433cfa5
SC
205412014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20542
20543 * gdb.cp/non-trivial-retval.cc: Add a test case.
20544 * gdb.cp/non-trivial-retval.exp: Add a test.
20545
092f880b
YQ
205462014-10-20 Yao Qi <yao@codesourcery.com>
20547
20548 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20549 * gdb.python/py-objfile-script-gdb.py: New file.
20550 * gdb.python/py-objfile-script.exp: Update reference to
20551 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20552 of remote_download. Remove the dest file.
20553
acbdb7f3
YQ
205542014-10-20 Yao Qi <yao@codesourcery.com>
20555
20556 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20557 * gdb.base/step-line.exp: Likewise.
20558 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20559 * gdb.dwarf2/dw2-basic.exp: Likewise.
20560 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20561 * gdb.dwarf2/dw2-filename.exp: Likewise.
20562 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20563 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20564 * gdb.dwarf2/dw2-producer.exp: Likewise.
20565 * gdb.dwarf2/mac-fileno.exp: Likewise.
20566 * gdb.python/py-frame-args.exp: Likewise.
20567 * gdb.python/py-framefilter.exp: Likewise.
20568 * gdb.python/py-mi.exp: Likewise.
20569 * gdb.python/py-objfile-script.exp: Likewise
20570 * gdb.python/py-pp-integral.exp: Likewise.
20571 * gdb.python/py-pp-re-notag.exp: Likewise.
20572 * gdb.python/py-prettyprint.exp: Likewise.
20573 * gdb.python/py-section-script.exp: Likewise.
20574 * gdb.python/py-typeprint.exp: Likewise.
20575 * gdb.python/py-xmethods.exp: Likewise.
20576 * gdb.stabs/weird.exp: Likewise.
20577 * gdb.xml/tdesc-regs.exp: Likewise.
20578
bd286a29
KCY
205792014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20580
20581 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20582 (out_cu): Use addr_len for the size of addresses.
20583 (out_line): Likewise. Size DW_LNE_set_address instruction
20584 according to addr_len.
20585 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20586 (FUNC): Add START_INSNS to definition.
20587
673dc4a0
YQ
205882014-10-18 Yao Qi <yao@codesourcery.com>
20589
20590 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20591 gdb_has_argv0 return true.
20592 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20593 check [target_info exists noargs], check [gdb_has_argv0]
20594 instead.
20595 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20596 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20597 procedures.
20598
4ffbba72
DE
205992014-10-17 Doug Evans <dje@google.com>
20600
20601 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20602 event.
20603 * gdb.python/py-events.py: Add clear_objfiles event.
20604
d096d8c1
DE
206052014-10-17 Doug Evans <dje@google.com>
20606
20607 * gdb.python/py-objfile.exp: Test progspace attribute.
20608
a80db015
LM
206092014-10-17 Luis Machado <lgustavo@codesourcery.com>
20610
20611 * gdb.guile/scm-breakpoint.exp: Do not assume any
20612 directory separators when matching source file paths.
20613 * gdb.python/py-breakpoint.exp: Likewise.
20614 * gdb.reverse/break-precsave.exp: Likewise.
20615 * gdb.reverse/break-reverse.exp: Likewise.
20616 * gdb.reverse/consecutive-precsave.exp: Likewise.
20617 * gdb.reverse/finish-precsave.exp: Likewise.
20618 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20619 * gdb.reverse/finish-reverse.exp: Likewise.
20620 * gdb.reverse/i386-precsave.exp: Likewise.
20621 * gdb.reverse/i387-env-reverse.exp: Likewise.
20622 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20623 * gdb.reverse/machinestate-precsave.exp: Likewise.
20624 * gdb.reverse/machinestate.exp: Likewise.
20625 * gdb.reverse/sigall-precsave.exp: Likewise.
20626 * gdb.reverse/solib-precsave.exp: Likewise.
20627 * gdb.reverse/step-precsave.exp: Likewise.
20628 * gdb.reverse/until-precsave.exp: Likewise.
20629 * gdb.reverse/watch-precsave.exp: Likewise.
20630 * gdb.reverse/watch-reverse.exp: Likewise.
20631
b22089ab
YQ
206322014-10-17 Yao Qi <yao@codesourcery.com>
20633
20634 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20635 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20636
6c4486e6
PA
206372014-10-17 Pedro Alves <palves@redhat.com>
20638
20639 PR gdb/17471
20640 * gdb.base/bg-execution-repeat.c: New file.
20641 * gdb.base/bg-execution-repeat.exp: New file.
20642
0ff33695
PA
206432014-10-17 Pedro Alves <palves@redhat.com>
20644
20645 PR gdb/17300
20646 * gdb.base/continue-all-already-running.c: New file.
20647 * gdb.base/continue-all-already-running.exp: New file.
20648
6fdebc3d
PA
206492014-10-17 Pedro Alves <palves@redhat.com>
20650
20651 PR gdb/17472
20652 * gdb.base/annota-input-while-running.c: New file.
20653 * gdb.base/annota-input-while-running.exp: New file.
20654
32a8097b
PA
206552014-10-17 Pedro Alves <palves@redhat.com>
20656
20657 * gdb.base/callfuncs.exp: emove references to osf.
20658 * gdb.base/sigall.exp: Likewise.
20659 * gdb.gdb/selftest.exp: Likewise.
20660 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20661 * gdb.mi/non-stop.c: Likewise.
20662 * gdb.mi/pthreads.c: Likewise.
20663 * gdb.reverse/sigall-precsave.exp: Likewise.
20664 * gdb.reverse/sigall-reverse.exp: Likewise.
20665 * gdb.threads/pthreads.c: Likewise.
20666 * gdb.threads/pthreads.exp: Likewise.
20667
7a3517ff
YQ
206682014-10-17 Yao Qi <yao@codesourcery.com>
20669
20670 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20671 check 'target_info exists noargs'.
20672 (test_command_prompt_position): Likewise.
20673 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20674 Remove "set args".
20675 (progvar_simple_while_test): Likewise.
20676 (progvar_complex_if_while_test): Likewise.
20677 (if_while_breakpoint_command_test): Likewise.
20678 (infrun_breakpoint_command_test): Likewise.
20679 (breakpoint_command_test): Likewise.
20680 (watchpoint_command_test): Likewise.
20681 (bp_deleted_in_command_test): Likewise.
20682 (temporary_breakpoint_commands): Likewise.
20683
bb99c472
YQ
206842014-10-16 Yao Qi <yao@codesourcery.com>
20685
20686 * gdb.base/remotetimeout.exp: Remove noargs checking.
20687
7c16b83e
PA
206882014-10-15 Pedro Alves <palves@redhat.com>
20689
20690 PR breakpoints/9649
20691 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20692 * gdb.base/breakpoint-in-ro-region.exp
20693 (probe_target_hardware_step): New procedure.
20694 (top level): Probe hardware stepping and hardware breakpoint
20695 support. Test stepping through a read-only region, with both
20696 "breakpoint auto-hw" on and off and both "always-inserted" on and
20697 off.
20698
35a49624
IB
206992014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20700
20701 * gdb.dlang/demangle.exp: Update for demangling changes.
20702
2d1c107c
SC
207032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20704
20705 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20706 * gdb.cp/non-trivial-retval.exp: Add new tests.
20707
778811d5
SC
207082014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20709
20710 PR c++/13403
20711 PR c++/15154
20712 * gdb.cp/non-trivial-retval.cc: New file.
20713 * gdb.cp/non-trivial-retval.exp: New file.
20714
10c5f0a8
YQ
207152014-10-15 Yao Qi <yao@codesourcery.com>
20716
20717 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20718 remote host.
20719
65d7b369
YQ
207202014-10-15 Yao Qi <yao@codesourcery.com>
20721
20722 * gdb.python/py-symbol.exp: Match file base name if host is
20723 remote, otherwise match file name with dir name.
20724 * gdb.python/py-symtab.exp: Likewise.
20725 * gdb.python/python.exp: Likewise.
20726
46dc1394
YQ
207272014-10-15 Yao Qi <yao@codesourcery.com>
20728
20729 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20730 pattern.
20731 * gdb.python/py-symtab.exp: Likewise.
20732 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20733 locationn.
20734
c40cc657
JB
207352014-10-14 Joel Brobecker <brobecker@adacore.com>
20736
20737 * gdb.ada/addr_arith: New testcase.
20738
2abf49e1
MR
207392014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20740
20741 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20742 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20743 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20744 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20745
f7088df3
SDJ
207462014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20747
20748 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20749 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20750 * gdb.arch/stap-eval-lang-ada.exp: New file.
20751
4dc06805
YQ
207522014-10-14 Yao Qi <yao@codesourcery.com>
20753
20754 * gdb.mi/mi-var-child.c (nothing1): New function.
20755 (nothing2): New function.
20756 (do_children_tests): Set function pointers by nothing1 and
20757 nothing2.
20758 * gdb.mi/mi-var-child.exp: Step over new added statements.
20759 Update test to match the new output.
20760 * gdb.mi/var-cmd.c (nothing1): New function.
20761 (nothing2): New function.
20762 (do_children_tests): Set function pointers by nothing1 and
20763 nothing2.
20764 * gdb.mi/mi-var-display.exp: Update test to match output.
20765 Step to the line specified by $line_dct_nothing.
20766 Increase the number of lines to step.
20767
46a93de2
YQ
207682014-10-14 Yao Qi <yao@codesourcery.com>
20769
20770 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20771 tests.
20772 * gdb.mi/mi2-var-child.exp: Likewise.
20773
14ea52ee
DE
207742014-10-13 Doug Evans <dje@google.com>
20775
20776 * gdb.python/py-objfile.exp: Change name of file name test.
20777
e5c6e92b
DE
207782014-10-13 Doug Evans <dje@google.com>
20779
20780 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20781 from the start of the CU.
20782
c780cc2f
JK
207832014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20784 Yao Qi <yao@codesourcery.com>
20785
20786 Fix "save breakpoints" for "catch" command.
20787 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20788 Remove -nonewline. Match also the added "main" line.
20789
99894e11
JK
207902014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20791
20792 Fix "save breakpoints" for "disable $bpnum" command.
20793 * gdb.base/save-bp.c (main): Add label.
20794 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20795
6e1ac5a3
JK
207962014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20797
20798 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20799
754dd2b0
YQ
208002014-10-11 Yao Qi <yao@codesourcery.com>
20801
20802 * gdb.server/server-kill.exp: Execute command
20803 "set remote trace-status-packet on" before "tstatus".
20804
f90183d7
YQ
208052014-10-11 Yao Qi <yao@codesourcery.com>
20806
20807 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20808 (main): Call getppid.
20809 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20810 and continue to it. Read variable "server_pid".
20811
bf40a607
YQ
208122014-10-11 Yao Qi <yao@codesourcery.com>
20813
20814 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20815
052ca370
YQ
208162014-10-11 Yao Qi <yao@codesourcery.com>
20817
20818 * gdb.threads/thread-find.exp: Don't execute command
20819 "info threads".
20820 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20821 * gdb.threads/linux-dp.exp: Don't check the condition
20822 $threads_created equals to zero.
20823
3831839c
PA
208242014-10-10 Pedro Alves <palves@redhat.com>
20825
20826 * gdb.base/bigcore.exp: Remove references to IRIX.
20827 * gdb.base/funcargs.exp: Likewise.
20828 * gdb.base/interrupt.exp: Likewise.
20829 * gdb.base/mips_pro.exp: Likewise.
20830 * gdb.base/nodebug.exp: Likewise.
20831 * gdb.base/setvar.exp: Likewise.
20832 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20833
8b9a549d
PA
208342014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20835 Pedro Alves <palves@redhat.com>
20836
20837 PR symtab/14466
20838 * gdb.base/vdso-warning.c: New file.
20839 * gdb.base/vdso-warning.exp: New file.
20840
d48ba5e8
DE
208412014-10-02 Doug Evans <dje@google.com>
20842
20843 * gdb.base/structs.c (main): Don't run forever.
20844
2278c276
PA
208452014-10-02 Pedro Alves <palves@redhat.com>
20846
20847 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20848 (top level) <stop threads 1, stop threads 2>: Use it.
20849
b57bacec
PA
208502014-10-02 Pedro Alves <palves@redhat.com>
20851
20852 * gdb.threads/break-while-running.exp (test): Add new
20853 'update_thread_list' argument. Skip "info threads" if false.
20854 (top level): Add new 'update_thread_list' axis.
20855
13fd3ff3
PA
208562014-10-02 Pedro Alves <palves@redhat.com>
20857
20858 PR breakpoints/17431
20859 * gdb.base/execl-update-breakpoints.c: New file.
20860 * gdb.base/execl-update-breakpoints.exp: New file.
20861
0fec99e8
PA
208622014-10-01 Pedro Alves <palves@redhat.com>
20863
20864 * gdb.base/breakpoint-in-ro-region.c: New file.
20865 * gdb.base/breakpoint-in-ro-region.exp: New file.
20866
2ddf4301
SM
208672014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20868
20869 * gdb.mi/mi-exit-code.exp: New file.
20870 * gdb.mi/mi-exit-code.c: New file.
20871
6a5f3f43
YQ
208722014-09-30 Yao Qi <yao@codesourcery.com>
20873
20874 * lib/prelink-support.exp (build_executable_own_libs): Error if
20875 the target isn't native.
20876
345bcc73
YQ
208772014-09-30 Yao Qi <yao@codesourcery.com>
20878
20879 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20880 false.
20881
a25a5a45
PA
208822014-09-22 Pedro Alves <palves@redhat.com>
20883
20884 * gdb.threads/break-while-running.exp: New file.
20885 * gdb.threads/break-while-running.c: New file.
20886
00ba3162
YQ
208872014-09-19 Yao Qi <yao@codesourcery.com>
20888
20889 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20890 Invoke test. Restart GDB with --readnow and invoke test again.
20891
c3b7b696
YQ
208922014-09-19 Yao Qi <yao@codesourcery.com>
20893
20894 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20895 proc set_breakpoint_on_gcd_function. Invoke
20896 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20897 invoke set_breakpoint_on_gcd_function again.
20898
2b4fd423
DE
208992014-09-18 Doug Evans <dje@google.com>
20900
20901 * gdb.dwarf2/symtab-producer.exp: New file.
20902
a5947601
SDJ
209032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20904
20905 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20906 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20907 * gdb.base/global-var-nested-by-dso.c: Likewise.
20908 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20909
91c19059
SDJ
209102014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20911 Pedro Alves <palves@redhat.com>
20912
20913 * gdb.base/watch-bitfields.exp: Pass string other than test file
20914 name to prepare_for_testing.
20915 (watch): New procedure.
20916 (expect_watchpoint): Use with_test_prefix.
20917 (top level): Factor out tests to ...
20918 (test_watch_location, test_regular_watch): ... these new
20919 procedures, and use with_test_prefix and gdb_continue_to_end.
20920
bb9d5f81
PP
209212014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20922
20923 PR breakpoints/12526
20924 * gdb.base/watch-bitfields.exp: New file.
20925 * gdb.base/watch-bitfields.c: New file.
20926
635856f5
PA
209272014-09-16 Pedro Alves <palves@redhat.com>
20928
20929 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20930 software and hardware addresses, not software address against
20931 itself.
20932
7280ceea
PA
209332014-09-16 Pedro Alves <palves@redhat.com>
20934
20935 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20936 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20937
428b16bd
PA
209382014-09-16 Pedro Alves <palves@redhat.com>
20939
20940 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20941 files.
20942 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20943 "*-*-vxworks*" throughout.
20944 * gdb.base/break.exp: Likewise.
20945 * gdb.base/default.exp: Likewise.
20946 * gdb.base/scope.exp: Likewise.
20947 * gdb.base/sepdebug.exp: Likewise.
20948 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20949 throughout.
20950 * gdb.base/run.c: Likewise.
20951 * gdb.base/sepdebug.c: Likewise.
20952 * gdb.hp/gdb.aCC/run.c: Likewise.
20953 * gdb.reverse/until-reverse.c: Likewise.
20954 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20955
666d413c
YQ
209562014-09-16 Yao Qi <yao@codesourcery.com>
20957
20958 * boards/local-remote-host-native.exp: New file.
20959
57cbd724
DE
209602014-09-14 Doug Evans <xdje42@gmail.com>
20961
20962 * gdb.threads/queue-signal.c (thread_count): New variable.
20963 (thread_count_mutex, thread_count_condvar): New variables.
20964 (incr_thread_count, wait_all_threads_running): New functions.
20965 (main): Wait for all threads to be in their thread functions.
20966
81219e53
DE
209672014-09-13 Doug Evans <xdje42@gmail.com>
20968
20969 * gdb.threads/queue-signal.c: New file.
20970 * gdb.threads/queue-signal.exp: New file.
20971
3714cea7
DE
209722014-09-13 Doug Evans <xdje42@gmail.com>
20973
20974 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20975 be consistent with what default_gdb_init uses.
20976 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20977 the plain text of the prompt. Add some logging printfs.
20978 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20979
fa43b1d7
PA
209802014-09-12 Pedro Alves <palves@redhat.com>
20981
20982 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20983 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20984 * gdb.arch/i386-size-overlap.exp: Likewise.
20985 * gdb.arch/i386-size.exp: Likewise.
20986 * gdb.arch/i386-unwind.exp: Likewise.
20987 * gdb.base/a2-run.exp: Likewise.
20988 * gdb.base/break.exp: Likewise.
20989 * gdb.base/charset.exp: Likewise.
20990 * gdb.base/chng-syms.exp: Likewise.
20991 * gdb.base/commands.exp: Likewise.
20992 * gdb.base/dbx.exp: Likewise.
20993 * gdb.base/find.exp: Likewise.
20994 * gdb.base/funcargs.exp: Likewise.
20995 * gdb.base/jit-simple.exp: Likewise.
20996 * gdb.base/reread.exp: Likewise.
20997 * gdb.base/sepdebug.exp: Likewise.
20998 * gdb.base/step-bt.exp: Likewise.
20999 * gdb.cp/mb-inline.exp: Likewise.
21000 * gdb.cp/mb-templates.exp: Likewise.
21001 * gdb.objc/basicclass.exp: Likewise.
21002 * gdb.threads/killed.exp: Likewise.
21003
9d9bf2df
EBM
210042014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21005
21006 PR tdep/17379
21007 * gdb.arch/powerpc-stackless.S: New file.
21008 * gdb.arch/powerpc-stackless.exp: New file.
21009
1cf2f1b0
JK
210102014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21011
21012 * gdb.base/attach.c: Include unistd.h.
21013 (main): Call alarm. Add label postloop.
21014 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21015 gdb_breakpoint, gdb_continue_to_breakpoint.
21016 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21017
98880d46
PA
210182014-09-11 Pedro Alves <palves@redhat.com>
21019
21020 PR gdb/17347
21021 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21022 * gdb.base/attach.exp (test_command_line_attach_run): New
21023 procedure.
21024 (top level): Call it.
21025
4c92ff2c
PA
210262014-09-11 Pedro Alves <palves@redhat.com>
21027
21028 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21029 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21030 (do_command_attach_tests): Use spawn_wait_for_attach.
21031 * gdb.base/solib-overlap.exp: Likewise.
21032 * gdb.multi/multi-attach.exp: Likewise.
21033 * gdb.python/py-prompt.exp: Likewise.
21034 * gdb.python/py-sync-interp.exp: Likewise.
21035 * gdb.server/ext-attach.exp: Likewise.
21036
3adc1a7d
GKB
210372014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21038
21039 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21040 command in testcase. Simplify testcase.
21041
96334934
JB
210422014-09-10 Joel Brobecker <brobecker@adacore.com>
21043
21044 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21045
eb479039
JB
210462014-09-10 Joel Brobecker <brobecker@adacore.com>
21047
21048 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21049
deede10c
JB
210502014-09-10 Joel Brobecker <brobecker@adacore.com>
21051
21052 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21053
7828a5f5
JB
210542014-09-10 Joel Brobecker <brobecker@adacore.com>
21055
21056 * gdb.dwarf2/dynarr-ptr.c: New file.
21057 * gdb.dwarf2/dynarr-ptr.exp: New file.
21058
33aeebcf
MR
210592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21060
21061 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21062 of 30 rather than hardcoding 120 for a slow test case. Take the
21063 `gdb,timeout' target setting into account for this calculation.
21064 Don't extend the timeout for the test cases that don't need it.
21065
7b415901
MR
210662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21067
21068 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21069 a factor of 2 for a slow test case. Take the `gdb,timeout'
21070 target setting into account for this calculation.
21071 * gdb.reverse/until-precsave.exp: Increase the timeout by
21072 a factor of 15 and 3 respectively rather than adding 120
21073 for a pair of slow test cases. Take the `gdb,timeout'
21074 target setting into account for this calculation.
21075
4a40f85a
MR
210762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21077
21078 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21079 timeout, don't pass one down to gdb_expect.
21080 (gdb_expect): Rework timeout selection.
21081
09635af7
MR
210822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21083
21084 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21085 exception on timeout.
21086 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21087 (gdbserver_start_extended): Catch any `gdbserver_start' error
21088 exceptions.
21089 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21090 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21091 `gdbserver_gdb_load' error exceptions.
21092
2bdd10b7
MR
210932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21094
21095 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21096 120 on waiting for the TCP socket to open.
21097
316935f0
DE
210982014-09-09 Doug Evans <xdje42@gmail.com>
21099
21100 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21101 _caller_matches, _any_caller_is, _any_caller_matches.
21102
83740597
DE
211032014-09-09 Doug Evans <xdje42@gmail.com>
21104
21105 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21106
4c122fc3
YQ
211072014-09-09 Yao Qi <yao@codesourcery.com>
21108
21109 * gdb.mi/mi-var-display.exp: Set print symbol off.
21110
a9f116cb
GKB
211112014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21112
21113 PR gdb/17035
21114 * gdb.base/commands.exp: Add tests to verify user-defined
21115 commands with empty bodies.
21116 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21117 python commands in `show user command`.
21118 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21119 scheme commands in `show user command`.
21120
c75bd3a2
JK
211212014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21122
21123 PR python/17355
21124 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21125 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21126 * gdb.python/py-framefilter-invalidarg.exp: New file.
21127 * gdb.python/py-framefilter-invalidarg.py: New file.
21128
faa42425
DE
211292014-09-06 Doug Evans <xdje42@gmail.com>
21130
21131 PR 15276
21132 * gdb.python/py-caller-is.c: New file.
21133 * gdb.python/py-caller-is.exp: New file.
21134
474ca4f6
SDJ
211352014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21136
21137 PR gdb/17235
21138 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21139 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21140
eb0b0463
SDJ
211412014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21142
21143 PR fortran/17237
21144 * gdb.fortran/print-formatted.exp: New file.
21145 * gdb.fortran/print-formatted.f90: Likewise.
21146
5f3b99cf
SS
211472014-09-03 Sasha Smundak <asmundak@google.com>
21148
21149 * gdb.python/py-frame.exp: Test Frame.read_register.
21150
7d793aa9
SDJ
211512014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21152
21153 PR python/16699
21154 * gdb.python/py-completion.exp: New file.
21155 * gdb.python/py-completion.py: Likewise.
21156
fb0576e9
DE
211572014-08-28 Doug Evans <dje@google.com>
21158
21159 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21160 eax,etc. are live with values set by gdb and thus the compiler can't
21161 use them.
21162 * gdb.arch/i386-pseudo.c (main): Ditto.
21163
ee92b0dd
DE
211642014-08-27 Doug Evans <dje@google.com>
21165
21166 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21167
6649db35
DE
211682014-08-25 Doug Evans <dje@google.com>
21169
21170 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21171 (main): Ditto.
21172
564b7600
DE
211732014-08-25 Doug Evans <dje@google.com>
21174
21175 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21176
3881fb67
YQ
211772014-08-24 Yao Qi <yao@codesourcery.com>
21178
21179 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21180 symbol off.
21181 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21182
a05a36a5
DE
211832014-08-22 Doug Evans <dje@google.com>
21184
21185 PR 17276
21186 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21187 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21188 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21189
7c343b48
YQ
211902014-08-22 Yao Qi <yao@codesourcery.com>
21191
21192 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21193 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21194 * gdb.python/python.exp: Likewise. Use .py file on the host
21195 instead of the build.
21196
22fd09ae
JK
211972014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21198
21199 * gdb.threads/gcore-stale-thread.c: New file.
21200 * gdb.threads/gcore-stale-thread.exp: New file.
21201
a8454a7c
PA
212022014-08-21 Pedro Alves <palves@redhat.com>
21203
21204 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21205 * gdb.base/gcore-relro-pie.exp: Likewise.
21206 * gdb.base/gcore-relro.exp: Likewise.
21207 * gdb.base/gcore.exp: Likewise.
21208 * gdb.base/print-symbol-loading.exp: Likewise.
21209 * gdb.threads/gcore-thread.exp: Likewise.
21210 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21211
2a31c623
PA
212122014-08-20 Pedro Alves <palves@redhat.com>
21213 Jan Kratochvil <jan.kratochvil@redhat.com>
21214
21215 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21216 configure.
21217 (EXPECT): Handle READ1 being set.
21218 (all): Depend on EXTRA_RULES.
21219 (check-read1, expect-read1, read1.so, read1): New rules.
21220 * README (Testsuite Parameters): Document the READ1 make variable.
21221 (Race detection): New section.
21222 * configure: Regenerate.
21223 * configure.ac: If build==host==target, and running under a
21224 GNU/glibc system, add read1 to the extra Makefile rules.
21225 (EXTRA_RULES): AC_SUBST it.
21226 * lib/read1.c: New file.
21227
d36430db
JB
212282014-08-20 Joel Brobecker <brobecker@adacore.com>
21229
21230 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21231 the handling of variables declared as a typedef to an array
21232 which a DW_AT_data_location attribute.
21233
9a0dc9e3
PA
212342014-08-19 Andrew Burgess <aburgess@broadcom.com>
21235 Pedro Alves <palves@redhat.com>
21236
21237 PR symtab/14604
21238 PR symtab/14605
21239 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21240 gdb_test.
21241
0718a8da
PA
212422014-08-19 Pedro Alves <palves@redhat.com>
21243
21244 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21245
13b448cd
YQ
212462014-08-19 Yao Qi <yao@codesourcery.com>
21247
21248 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21249 right line.
21250
1cbf5077
DB
212512014-08-18 David Blaikie <dblaikie@gmail.com>
21252
21253 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21254
bf0fae19
JB
212552014-08-18 Joel Brobecker <brobecker@adacore.com>
21256
21257 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21258 attribute in array range.
21259
3c8c5dcc
JB
212602014-08-18 Joel Brobecker <brobecker@adacore.com>
21261
21262 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21263
e66d4446
SC
212642014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21265
21266 PR c++/17132
21267 * gdb.cp/pr17132.cc: New file.
21268 * gdb.cp/pr17132.exp: New file.
21269
940df408
SC
212702014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21271
21272 * gdb.python/py-xmethods.py (A_getarrayind)
21273 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21274 Use 'print' with function call syntax.
21275 (E_method_matcher.match): Fix tab vs space indentation mixup.
21276
ebcc6c3a
YQ
212772014-08-15 Yao Qi <yao@codesourcery.com>
21278
21279 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21280 false.
21281
775e0f04
YQ
212822014-08-15 Yao Qi <yao@codesourcery.com>
21283
21284 * gdb.cp/casts.exp: Set print symbol off.
21285 * gdb.cp/class2.exp: Likewise.
21286 * gdb.cp/overload.exp: Likewise.
21287 * gdb.cp/templates.exp: Likewise.
21288
d769e349
DE
212892014-08-11 Doug Evans <dje@google.com>
21290
21291 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21292 (test_load_shlib): Update.
21293
20c6f1e1
YQ
212942014-08-09 Yao Qi <yao@codesourcery.com>
21295
21296 * gdb.base/display.exp: Invoke is_address_zero_readable.
21297 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21298 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21299 * gdb.base/hbreak-unmapped.exp: Return if
21300 is_address_zero_readable returns true.
21301 * gdb.base/signest.exp: Likewise.
21302 * gdb.base/signull.exp: Likewise.
21303 * gdb.base/sigbpt.exp: Likewise.
21304 * gdb.guile/scm-disasm.exp: Do the test if
21305 is_address_zero_readable returns false.
21306 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21307 * gdb.python/py-arch.exp: Likewise.
21308 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21309 * lib/gdb.exp (is_address_zero_readable): New proc.
21310
5792e8e3
YQ
213112014-08-09 Yao Qi <yao@codesourcery.com>
21312
21313 PR testsuite/13443
21314 * gdb.mi/mi-var-display.exp: Make test messages unique.
21315
3cecbbbe
TT
213162014-08-04 Tom Tromey <tromey@redhat.com>
21317
21318 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21319 target 0".
21320
00b51ff5
TT
213212014-08-04 Tom Tromey <tromey@redhat.com>
21322
21323 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21324 "target_resume".
21325
6908c509
JB
213262014-08-01 Joel Brobecker <brobecker@adacore.com>
21327
21328 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21329 inner_vla_struct_object_size.
21330 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21331 as xfail.
21332
cc6563d2
PA
213332014-07-30 Pedro Alves <palves@redhat.com>
21334
21335 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21336 comment.
21337
7e09a223
YQ
213382014-07-29 Yao Qi <yao@codesourcery.com>
21339
21340 PR gdb/17206
21341 * gdb.base/until-nodebug.exp: New.
21342
7ebdbe92
DE
213432014-07-28 Doug Evans <xdje42@gmail.com>
21344
21345 PR guile/17203
21346 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21347 previously existing parameter, and previously ambiguously spelled
21348 parameter.
21349
fdb1adc6
WN
213502014-07-28 Will Newton <will.newton@linaro.org>
21351
21352 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21353
186fcde0
DE
213542014-07-26 Ludovic Courtès <ludo@gnu.org>
21355 Doug Evans <xdje42@gmail.com>
21356
21357 PR guile/17146
21358 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21359
70509625
PA
213602014-07-25 Pedro Alves <palves@redhat.com>
21361
21362 * gdb.threads/signal-command-handle-nopass.c: New file.
21363 * gdb.threads/signal-command-handle-nopass.exp: New file.
21364 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21365 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21366 * gdb.threads/signal-delivered-right-thread.c: New file.
21367 * gdb.threads/signal-delivered-right-thread.exp: New file.
21368
c3f814a1
PA
213692014-07-25 Pedro Alves <palves@redhat.com>
21370
21371 * gdb.base/double-prompt-target-event-error.exp
21372 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21373 match.
21374 (cancel_pagination_in_target_event): Rework double prompt
21375 detection.
21376 * gdb.base/paginate-after-ctrl-c-running.exp
21377 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21378 <return>' match.
21379 * gdb.base/paginate-bg-execution.exp
21380 (test_bg_execution_pagination_return)
21381 (test_bg_execution_pagination_cancel): Remove '-notransfer
21382 <return>' matches.
21383 * gdb.base/paginate-execution-startup.exp
21384 (test_fg_execution_pagination_return)
21385 (test_fg_execution_pagination_cancel): Remove '-notransfer
21386 <return>' matches.
21387 * gdb.base/paginate-inferior-exit.exp
21388 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21389 match.
21390 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21391 * lib/gdb.exp (pagination_prompt): Run text through
21392 string_to_regexp.
21393 (gdb_test_multiple): Match $pagination_prompt instead of
21394 "<return>".
21395 (string_to_regexp): Move to lib/gdb-utils.exp.
21396
e214cf6c
JK
213972014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21398
21399 * gdb.arch/amd64-entry-value-paramref.S: New file.
21400 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21401 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21402 * gdb.arch/amd64-optimout-repeat.S: New file.
21403 * gdb.arch/amd64-optimout-repeat.c: New file.
21404 * gdb.arch/amd64-optimout-repeat.exp: New file.
21405
17d0c5c8
JK
214062014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21407
21408 PR gdb/17170
21409 * gdb.base/statistics.exp: New file.
21410
b8b8facf
DE
214112014-07-17 Doug Evans <dje@google.com>
21412
74b49205 21413 PR gdb/17170
b8b8facf
DE
21414 * gdb.base/maint.exp: Update testing of per-command stats.
21415
1b5d0ab3
PA
214162014-07-16 Pedro Alves <palves@redhat.com>
21417
21418 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21419 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21420 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21421 (tfile_write_buf): New functions.
21422 (add_memory_block): Rewrite using the above.
21423 (adjust_function_address): New function.
21424 (FUNCTION_ADDRESS): New macro.
21425 (write_basic_trace_file): Remove short_x local, and use
21426 tfile_write_16. Change type of func_addr local to unsigned long
21427 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21428 here. Cast argument of add_memory_block to char pointer.
21429 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21430 (main): Remove parameters.
21431 * gdb.trace/tfile.exp: Remove nowarnings.
21432
4d974e88
SM
214332014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21434
21435 * gdb.base/debug-expr.exp: Test string evaluation with
21436 "debug expression" on.
21437
41e99568
PA
214382014-07-15 Pedro Alves <palves@redhat.com>
21439
21440 * gdb.base/reread.exp: Use clean_restart.
21441
487d9753
PL
214422014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21443
21444 * gdb.arch/avr-flash-qualifer.c: New.
21445 * gdb.arch/avr-flash-qualifer.exp: New.
21446
cc1c52ad
PA
214472014-07-14 Pedro Alves <palves@redhat.com>
21448
21449 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21450 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21451
1e973570
PA
214522014-07-14 Pedro Alves <palves@redhat.com>
21453
21454 * gdb.base/double-prompt-target-event-error.c: New file.
21455 * gdb.base/double-prompt-target-event-error.exp: New file.
21456
93d6eb10
PA
214572014-07-14 Pedro Alves <palves@redhat.com>
21458
21459 PR gdb/17072
21460 * gdb.base/paginate-inferior-exit.c: New file.
21461 * gdb.base/paginate-inferior-exit.exp: New file.
21462
0017922d
PA
214632014-07-14 Pedro Alves <palves@redhat.com>
21464
21465 PR gdb/17072
21466 * gdb.base/paginate-bg-execution.c: New file.
21467 * gdb.base/paginate-bg-execution.exp: New file.
21468
94696ad3
PA
214692014-07-14 Pedro Alves <palves@redhat.com>
21470
21471 PR gdb/17072
21472 * gdb.base/paginate-execution-startup.c: New file.
21473 * gdb.base/paginate-execution-startup.exp: New file.
21474 * lib/gdb.exp (pagination_prompt): New global.
21475 (default_gdb_spawn): New procedure, factored out from
21476 default_gdb_spawn.
21477 (default_gdb_start): Adjust to call default_gdb_spawn.
21478 (gdb_spawn): New procedure.
21479
bd293940
PA
214802014-07-14 Pedro Alves <palves@redhat.com>
21481
21482 * lib/gdb.exp (gdb_assert): New procedure.
21483 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21484
c933f875
PA
214852014-07-14 Pedro Alves <palves@redhat.com>
21486
21487 * gdb.base/execution-termios.c: New file.
21488 * gdb.base/execution-termios.exp: New file.
21489
d98b7a16
TT
214902014-07-14 Tom Tromey <tromey@redhat.com>
21491
21492 * gdb.cp/vla-cxx.cc: New file.
21493 * gdb.cp/vla-cxx.exp: New file.
21494
548740d6
TT
214952014-07-14 Tom Tromey <tromey@redhat.com>
21496
21497 * gdb.reverse/rerun-prec.c: New file.
21498 * gdb.reverse/rerun-prec.exp: New file.
21499
a25eb028
MR
215002014-07-12 Maciej W. Rozycki <macro@mips.com>
21501 Maciej W. Rozycki <macro@codesourcery.com>
21502
21503 * lib/gdb-utils.exp: New file.
21504 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21505 inline `gdb_init_command' processing.
21506 (gdb_start_cmd): Likewise.
21507 * lib/mi-support.exp (mi_run_cmd): Likewise.
21508 * README: Document `gdb_init_command' and `gdb_init_commands'.
21509
218c2655
JK
215102014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21511
21512 Fix false FAIL running under a very long directory name.
21513 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21514 and "set print elements 10000". Twice.
21515
5401fde3
YQ
215162014-07-11 Yao Qi <yao@codesourcery.com>
21517
21518 * gdb.base/exprs.exp: "set print symbol off".
21519
e76126e8
PA
215202014-07-11 Pedro Alves <palves@redhat.com>
21521
21522 * gdb.threads/kill.c: New file.
21523 * gdb.threads/kill.exp: New file.
21524
2d6f0de6
YQ
215252014-07-10 Yao Qi <yao@codesourcery.com>
21526
21527 * gdb.trace/tfile.c (write_basic_trace_file)
21528 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21529 address written to trace file.
21530
7180e04a
PA
215312014-07-09 Pedro Alves <palves@redhat.com>
21532
21533 * gdb.base/attach-wait-input.exp: New file.
21534 * gdb.base/attach-wait-input.c: New file.
21535
9a9a7608
AB
215362014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21537
21538 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21539 setting up test structures.
21540 (main): Call new test function.
21541 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21542 test function, continue into test function and walk test
21543 structures.
21544
161ac41e
YQ
215452014-07-02 Yao Qi <yao@codesourcery.com>
21546
21547 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21548 'bar_start' at the beginning of functions 'foo' and 'bar'
21549 respectively.
21550 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21551 instead of 'foo' and 'bar'.
21552
1f267ae3
MM
215532014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21554
21555 * gdb.btrace/segv.exp: New.
21556 * gdb.btrace/segv.c: New.
21557
2b239efb
LM
215582014-07-02 Luis Machado <lgustavo@codesourcery.com>
21559
21560 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21561 instruction.
21562
cf363f18
MW
215632014-06-30 Mark Wielaard <mjw@redhat.com>
21564
21565 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21566 vulture, vilify, villar): New volatile array constants.
21567 (vindictive, vegetation): New const volatile array constants.
21568 * gdb.base/volatile.exp: Test volatile and const volatile array
21569 types.
21570
aebf9d24
AA
215712014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21572
21573 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21574 target lacks support for awatch, rwatch, or hbreak.
21575
b67a2c6f
YQ
215762014-06-27 Yao Qi <yao@codesourcery.com>
21577
21578 * gdb.multi/dummy-frame-restore.exp: New.
21579 * gdb.multi/dummy-frame-restore.c: New.
21580
aef92902
MM
215812014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21582
21583 * gdb.btrace/gcore.exp: New.
21584
8e9db26e
PA
215852014-06-23 Pedro Alves <palves@redhat.com>
21586
21587 * gdb.base/watchpoint-reuse-slot.c: New file.
21588 * gdb.base/watchpoint-reuse-slot.exp: New file.
21589
70afc5b7
SC
215902014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21591
21592 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21593 progspace's filename in 'info', 'enable' and 'disable' command
21594 tests.
21595
b972bd9c
JK
215962014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21597
21598 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21599 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21600 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21601
125f8a3d
GB
216022014-06-20 Gary Benson <gbenson@redhat.com>
21603
21604 * gdb.arch/i386-avx.exp: Fix include file location.
21605 * gdb.arch/i386-sse.exp: Likewise.
21606
3ed9baed
IB
216072014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21608
21609 * gdb.dlang/expression.exp: New file.
21610
034f788c
PA
216112014-06-19 Pedro Alves <palves@redhat.com>
21612
21613 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21614 out from ...
21615 (top level): ... here. Iterate running tests under different
21616 scheduler-locking settings.
21617
45371d0c
LM
216182014-06-18 Luis Machado <lgustavo@codesourcery.com>
21619
21620 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21621 to DW_FORM_addr and use non-zero addresses.
21622
5d376983
SC
216232014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21624
21625 PR gdb/17017
21626 * gdb.python/py-xmethods.cc: Add global function call counters and
21627 increment them in their respective functions. Remove "cout"
21628 statements.
21629 * gdb.python/py-xmethods.exp: Make tests check the global function
21630 call counters instead of depending on inferior IO.
21631
a1aa2221
LM
216322014-06-18 Don Breazeal <donb@codesourcery.com>
21633
21634 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21635 Deleted procedure.
21636 (explicit_fork_parent_follow): Deleted procedure.
21637 (explicit_fork_child_follow): Deleted procedure.
21638 (test_follow_fork): New procedure.
21639 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21640 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21641 procedure calls.
21642
0fc05997
YQ
216432014-06-17 Yao Qi <yao@codesourcery.com>
21644
21645 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21646 CP1252.
21647
70795c52
LM
216482014-06-17 Luis Machado <lgustavo@codesourcery.com>
21649
21650 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21651 Initialize ptr and S explicitly.
21652 (skip_type_update_when_not_use_rtti_test): Likewise.
21653
6be47f0c
KS
216542014-06-16 Keith Seitz <keiths@redhat.com>
21655
21656 PR mi/15863
21657 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21658 the inferior is started.
21659
d03de421
PA
216602014-06-16 Pedro Alves <palves@redhat.com>
21661
21662 * gdb.base/break-main-file-remove-fail.c: New file.
21663 * gdb.base/break-main-file-remove-fail.exp: New file.
21664 * gdb.base/break-unload-file.exp: Use build_executable instead of
21665 prepare_for_testing.
21666 (test_break): New parameter "initial_load". Handle it.
21667 (top level): Add initial_load cmdline/file axis.
21668
f9579b99
TT
216692014-06-12 Tom Tromey <tromey@redhat.com>
21670
21671 * gdb.base/completion.exp: Don't use directory name in test.
21672
3657956b
GB
216732014-06-09 Gary Benson <gbenson@redhat.com>
21674
21675 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21676 separate the always-available ANSI-standard signals from the
21677 signals that require checking.
21678 (main): Likewise.
21679 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21680 Likewise.
21681 (main): Likewise.
21682
4186eb54
KS
216832014-06-07 Keith Seitz <keiths@redhat.com>
21684
21685 Revert:
21686 PR c++/16253
21687 * gdb.cp/var-tag.cc: New file.
21688 * gdb.cp/var-tag.exp: New file.
21689 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21690 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21691 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21692 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21693
25326a28 216942014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21695
21696 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21697
829155c9
PA
216982014-06-06 Pedro Alves <palves@redhat.com>
21699
21700 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21701 in target debug output instead of looking at RSP packets,
21702 disabling the test on any target that uses hardware stepping.
21703 Update comments.
21704
61c8d22e
PA
217052014-06-06 Pedro Alves <palves@redhat.com>
21706
21707 * gdb.base/break-unload-file.exp: Fix typo.
21708
d9a47287
YQ
217092014-06-06 Yao Qi <yao@codesourcery.com>
21710
21711 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21712 from "jit_function" to "^jit_function".
21713
e5e01dbf
YQ
217142014-06-06 Yao Qi <yao@codesourcery.com>
21715
21716 * gdb.base/async.c (foo): Add one statement.
21717 * gdb.base/async.exp: Get the next instruction address and
21718 match the output of "nexti" by instruction address. Match
21719 the hex address in the output of "finish".
21720
73ba372c
GB
217212014-06-06 Gary Benson <gbenson@redhat.com>
21722
21723 * gdb.base/call-signals.c: Remove preprocessor conditionals
21724 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21725 SIGSEGV and SIGTERM.
21726 * gdb.base/sigall.c: Likewise.
21727 * gdb.base/unwindonsignal.c: Likewise.
21728 * gdb.reverse/sigall-reverse.c: Likewise.
21729
831517df
YQ
217302014-06-06 Yao Qi <yao@codesourcery.com>
21731
21732 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21733 readable, skip the test.
21734
b8b91e98
YQ
217352014-06-06 Yao Qi <yao@codesourcery.com>
21736
21737 * gdb.threads/staticthreads.c (thread_function): Move the line
21738 setting breakpoint on forward.
21739 * gdb.threads/staticthreads.exp: Update comments.
21740
fb934770
LC
217412014-06-05 Ludovic Courtès <ludo@gnu.org>
21742
21743 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21744 "history-append! type error".
21745
6ef284bd
SM
217462014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21747
21748 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21749 erroneous dprintf expected input.
21750
a872e241
DE
217512014-06-04 Doug Evans <xdje42@gmail.com>
21752
21753 * gdb.guile/scm-generics.exp: Delete.
21754
16f691fb
DE
217552014-06-04 Doug Evans <xdje42@gmail.com>
21756
21757 * gdb.guile/scm-breakpoint.exp: Update.
21758 Add tests for breakpoint registration.
21759
012370f6
TT
217602014-06-04 Tom Tromey <tromey@redhat.com>
21761
21762 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21763 VLA-in-union.
21764 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21765 inner_vla_struct, vla_union types. Initialize objects of those
21766 types and compute their sizes.
21767
9f5a4cef
HZ
217682014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21769 Hui Zhu <hui@codesourcery.com>
21770
21771 * gdb.base/fileio.exp: Add test for shell not available as well as
21772 available.
21773 * gdb.base/fileio.c (test_system): Check for shell twice.
21774
90a45c4d
YQ
217752014-06-04 Yao Qi <yao@codesourcery.com>
21776
21777 * gdb.base/auto-connect-native-target.exp: Remove redundant
21778 space from the regexp pattern.
21779
70017e41
YQ
217802014-06-04 Yao Qi <yao@codesourcery.com>
21781
21782 * gdb.base/default.exp: Replace "child" with "native" in
21783 regexp pattern.
21784
883964a7
SC
217852014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21786
21787 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21788 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21789 * gdb.python/py-xmethods.py: Python script supporting the
21790 new testcase and tests.
21791
ef370185
JB
217922014-06-03 Joel Brobecker <brobecker@adacore.com>
21793 Pedro Alves <palves@redhat.com>
21794
21795 PR breakpoints/17000
21796 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21797 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21798
1e2ccb61
BM
217992014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21800
21801 * gdb.base/subst.exp: Add tests to verify partial path matching
21802 output.
21803
c6ec5ab2
PA
218042014-06-03 Pedro Alves <palves@redhat.com>
21805
21806 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21807 target that doesn't use software single-stepping.
21808
835c559f
PA
218092014-06-03 Pedro Alves <palves@redhat.com>
21810
21811 PR breakpoints/17000
21812 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21813 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21814
06eb1586
DE
218152014-06-02 Doug Evans <xdje42@gmail.com>
21816
21817 * gdb.guile/scm-parameter.exp: New file.
21818
e698b8c4
DE
218192014-06-02 Doug Evans <xdje42@gmail.com>
21820
21821 * gdb.guile/scm-cmd.c: New file.
21822 * gdb.guile/scm-cmd.exp: New file.
21823
ded03782
DE
218242014-06-02 Doug Evans <xdje42@gmail.com>
21825
21826 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21827 pretty-printer lookup.
21828 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21829 (make-pp_s-printer): Call it.
21830 (make-pretty-printer-from-dict): New function.
21831 (lookup-pretty-printer-maker-from-dict): New function.
21832 (*pretty-printer*): Simplify.
21833 (make-objfile-pp_s-printer): New function.
21834 (install-objfile-pretty-printers!): New function.
21835 (make-progspace-pp_s-printer): New function.
21836 (install-progspace-pretty-printers!): New function.
21837 * gdb.guile/scm-progspace.c: New file.
21838 * gdb.guile/scm-progspace.exp: New file.
21839
41fac0cf
PA
218402014-06-02 Pedro Alves <palves@redhat.com>
21841
21842 * gdb.base/dprintf-bp-same-addr.c: New file.
21843 * gdb.base/dprintf-bp-same-addr.exp: New file.
21844
96ae5695
EBM
218452014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21846
21847 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21848 * gdb.arch/powerpc-power.s: Likewise.
21849
da02b3a8
JB
218502014-06-02 Joel Brobecker <brobecker@adacore.com>
21851
21852 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21853
c72b2e7b
YQ
218542014-06-01 Yao Qi <yao@codesourcery.com>
21855
21856 * gdb.base/watchpoint.exp (test_watch_location): Check null
21857 pointer can be dereferenced. If not, do the test, otherwise
21858 skip it.
21859
53e8a631
AB
218602014-05-30 Andrew Burgess <aburgess@broadcom.com>
21861
21862 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21863 results.
21864 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21865
938f0e2f
AB
218662014-05-30 Andrew Burgess <aburgess@broadcom.com>
21867
21868 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21869 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21870 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21871 * gdb.arch/amd64-invalid-stack-top.c: New file.
21872 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21873
9ba6657a
PA
218742014-05-30 Pedro Alves <palves@redhat.com>
21875
21876 PR breakpoints/17000
21877 * gdb.base/sss-bp-on-user-bp.c: New file.
21878 * gdb.base/sss-bp-on-user-bp.exp: New file.
21879
522c09bf
DB
218802014-05-30 David Blaikie <dblaikie@gmail.com>
21881
21882 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21883 gnu_inline semantics via attribute.
21884 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21885 source explicitly specifies the required semantics.
21886
bf4ef81e
MR
218872014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21888
21889 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21890
329ea579
PA
218912014-05-29 Pedro Alves <palves@redhat.com>
21892 Tom Tromey <tromey@redhat.com>
21893
21894 * gdb.base/async-shell.exp: Don't enable target-async.
21895 * gdb.base/async.exp
21896 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21897 parameter. Adjust.
21898 (top level): Don't test with "target-async".
21899 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21900 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21901 * gdb.base/inferior-died.exp: Don't enable target-async.
21902 * gdb.base/interrupt-noterm.exp: Likewise.
21903 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21904 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21905 * gdb.mi/mi-nonstop.exp: Likewise.
21906 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21907 * gdb.mi/mi-nsintrall.exp: Likewise.
21908 * gdb.mi/mi-nsmoribund.exp: Likewise.
21909 * gdb.mi/mi-nsthrexec.exp: Likewise.
21910 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21911 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21912 * gdb.python/py-evsignal.exp: Don't enable target-async.
21913 * gdb.python/py-evthreads.exp: Likewise.
21914 * gdb.python/py-prompt.exp: Likewise.
21915 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21916 * gdb.server/solib-list.exp: Don't enable target-async.
21917 * gdb.threads/thread-specific-bp.exp: Likewise.
21918 * lib/mi-support.exp: Adjust to use mi-async.
21919
fd664c91
PA
219202014-05-29 Pedro Alves <palves@redhat.com>
21921
21922 PR gdb/13860
21923 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21924 reason, even in sync mode.
21925
251bde03
PA
219262014-05-29 Pedro Alves <palves@redhat.com>
21927 Hui Zhu <hui@codesourcery.com>
21928
21929 PR PR15693
21930 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21931 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21932 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21933 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21934
7f3c0343
JB
219352014-05-28 Joel Brobecker <brobecker@adacore.com>
21936
21937 * config/monitor.exp (gdb_target_monitor): Replace use of
21938 "set remotebaud" by "set serial baud".
21939
b2715b27
AW
219402014-05-26 Andy Wingo <wingo@igalia.com>
21941
21942 * gdb.guile/scm-breakpoint.exp:
21943 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21944 properties instead of gdb-object-properties.
21945
498a4489
YQ
219462014-05-26 Yao Qi <yao@codesourcery.com>
21947
21948 * gdb.server/no-thread-db.exp: Specify source file name
21949 explicitly when setting a breakpoint.
21950
589fdceb
MM
219512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21952
21953 * gdb.btrace/vdso.c: New.
21954 * gdb.btrace/vdso.exp: New.
21955
e9089e05
MM
219562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21957
21958 * gdb.base/gcore.exp (capture_command_output): Move ...
21959 * lib/gdb.exp (capture_command_output): ... here.
21960
67b5c0c1
MM
219612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21962
21963 * gdb.btrace/data.exp: Test memory access during btrace replay.
21964
a2199296
SM
219652014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21966
21967 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21968
17b2616c
PA
219692014-05-21 Pedro Alves <palves@redhat.com>
21970
21971 PR gdb/13860
21972 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21973 (top level): Test that output related to execution commands is
21974 sent to the console with CLI commands, but not with MI commands.
21975 Test that breakpoint events are always mirrored to the console.
21976 Also expect the new source line to be output after a "next" in
21977 async mode too. Make it a pass/fail test.
21978 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21979 output.
21980 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21981
5166082f
PA
219822014-05-21 Pedro Alves <palves@redhat.com>
21983
21984 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21985 Use them to test variations of "list" after reaching a breakpoint.
21986 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21987 Test "list" with listsize 10 after reaching a breakpoint.
21988 * gdb.python/python.exp (decode_line current location line
21989 number): Adjust expected line number.
21990
2f25d70f
SM
219912014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21992
21993 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21994 behavior for $args, pass it directly to "run".
21995
ff604a67
MR
219962014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21997
21998 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21999 30000 to 65536.
22000
6a3cb8e8
PA
220012014-05-21 Pedro Alves <palves@redhat.com>
22002
22003 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22004 auto-connect-native-target off".
22005 * gdb.base/auto-connect-native-target.c: New file.
22006 * gdb.base/auto-connect-native-target.exp: New file.
22007
4ebfc96e
PA
220082014-05-21 Pedro Alves <palves@redhat.com>
22009
22010 * gdb.base/default.exp: Test "target native" instead of "target
22011 child".
22012
36d46afb
MW
220132014-05-21 Mark Wielaard <mjw@redhat.com>
22014
22015 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22016
5876f503
JK
220172014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22018
22019 Fix TLS access for -static -pthread.
22020 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22021 <HAVE_TLS> (thread_function, main): Initialize it.
22022 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22023 Add clean_restart.
22024 <$have_tls != "">: Check TLSVAR.
22025
0256a6ac
PA
220262014-05-21 Pedro Alves <palves@redhat.com>
22027
22028 * gdb.base/dcache-line-read-error.c: New.
22029 * gdb.base/dcache-line-read-error.exp: New.
22030
936d2992
PA
220312014-05-20 Pedro Alves <palves@redhat.com>
22032
22033 * gdb.base/compare-sections.c: New file.
22034 * gdb.base/compare-sections.exp: New file.
22035
802e8e6d
PA
220362014-05-20 Pedro Alves <palves@redhat.com>
22037
22038 * gdb.base/break-idempotent.c: New file.
22039 * gdb.base/break-idempotent.exp: New file.
22040
e59fa00f
MM
220412014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22042
22043 * gdb.btrace/nohist.exp: New.
22044
8b696e31
YQ
220452014-05-20 Yao Qi <yao@codesourcery.com>
22046
22047 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22048 gdb.reverse directory and gdb_reverse_timeout exists in board
22049 setting.
22050 * README: Document gdb_reverse_timeout.
22051
73c9764f
YQ
220522014-05-20 Yao Qi <yao@codesourcery.com>
22053
22054 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22055 'test_file_name'. Treat args as a string instead of a list.
22056 (gdb_init): Rename argument 'args' by 'test_file_name'.
22057
f1f4348a
JK
220582014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22059
22060 * gdb.arch/powerpc-power.exp: New file.
22061 * gdb.arch/powerpc-power.s: New file.
22062
0dbe70ce
DE
220632014-05-16 Doug Evans <dje@google.com>
22064
22065 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22066 * gdb.base/completion.exp: Check that all expected files exist
22067 before doing file completion.
0dbe70ce 22068
8d551b02
DE
220692014-05-16 Doug Evans <dje@google.com>
22070
22071 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22072 Update.
22073 (do_syscall_tests_without_xml): Update.
22074
73eb7709
PA
220752014-05-16 Pedro Alves <palves@redhat.com>
22076
22077 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22078 instead of "unknown output after running".
22079
3fae92fc
YQ
220802014-05-16 Yao Qi <yao@codesourcery.com>
22081
22082 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22083 file1.txt from host at the end.
22084 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22085
c2b2ccc5
DE
220862014-05-15 Doug Evans <dje@google.com>
22087
22088 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22089 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22090 loading file. Add test for TU lookup.
22091
8c217a4b
SM
220922014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22093
22094 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22095 calling "-exec-arguments" or "set args" before running the
22096 inferior.
22097
3deb39c6
SM
220982014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22099
22100 * lib/mi-support.exp (mi_expect_stop): Expect message for
22101 inferiors that exit with non-zero exit code.
22102
71a79f8c
YQ
221032014-05-14 Yao Qi <yao@codesourcery.com>
22104
22105 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22106 match absolute path on remote host.
22107 (test_file_list_exec_source_files): Remove "/" from the
22108 pattern.
22109
f23fcd46
YQ
221102014-05-14 Yao Qi <yao@codesourcery.com>
22111
22112 * boards/local-remote-host-notty.exp (${board}_file): New
22113 proc.
22114
9404b58f
KM
221152014-05-07 Kyle McMartin <kyle@redhat.com>
22116
22117 Pushed by Joel Brobecker <brobecker@adacore.com>.
22118 * gdb.arch/aarch64-atomic-inst.c: New file.
22119 * gdb.arch/aarch64-atomic-inst.exp: New file.
22120
5e45f04c
YQ
221212014-05-07 Yao Qi <yao@codesourcery.com>
22122
22123 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22124 in current context" too.
22125
c888a17d
KS
221262014-05-05 Keith Seitz <keiths@redhat.com>
22127
22128 * gdb.linespec/ls-dollar.exp: Add test for linespec
22129 file:convenience_variable.
22130
290a839c
YQ
221312014-05-05 Yao Qi <yao@codesourcery.com>
22132
22133 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22134 traceframes into tfile and ctf trace files. Read data from
22135 trace file and test collected data.
22136 (gdb_collect_locals_test): Likewise.
22137 (gdb_unavailable_registers_test): Likewise.
22138 (gdb_unavailable_floats): Likewise.
22139 (gdb_collect_globals_test): Likewise.
22140 (top-level): Append "ctf" to trace_file_targets if GDB
22141 supports.
22142
b5262cd0
YQ
221432014-05-05 Yao Qi <yao@codesourcery.com>
22144
22145 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22146 code to ...
22147 (gdb_collect_args_test_1): ... it. New proc.
22148 (gdb_collect_locals_test): Move some code to ...
22149 (gdb_collect_locals_test_1): ... it. New proc.
22150 (gdb_unavailable_registers_test): Move some code to ...
22151 (gdb_unavailable_registers_test_1): ... it. New proc.
22152 (gdb_unavailable_floats): Move some code to ...
22153 (gdb_unavailable_floats_1): ... it. New proc.
22154
30a1e6cc
SDJ
221552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22156
22157 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22158 probes to test for bitness recognition.
22159 * gdb.arch/amd64-stap-optional-prefix.exp
22160 (test_probe_value_without_reg): New procedure.
22161 Add code to test for different kinds of bitness.
22162
f33da99a
SDJ
221632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22164
22165 PR breakpoints/16889
22166 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22167 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22168
5b80f00d
PA
221692014-05-01 Pedro Alves <palves@redhat.com>
22170
22171 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22172 gdb_file_cmd if no file is specified.
22173 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22174 last_loaded_file to set the remote exec-file.
22175
f8c2a73c
PA
221762014-05-01 Pedro Alves <palves@redhat.com>
22177
22178 * boards/local-remote-host.exp: New file.
22179
be6e8ac7
PA
221802014-05-01 Pedro Alves <palves@redhat.com>
22181
22182 * boards/local-remote-host.exp: Rename to ...
22183 * boards/local-remote-host-notty.exp: ... this.
22184
cac0dc8f
JB
221852014-04-28 Joel Brobecker <brobecker@adacore.com>
22186
22187 * gdb.ada/dyn_arrayidx: New testcase.
22188
9730e6cc
YQ
221892014-04-26 Yao Qi <yao@codesourcery.com>
22190
22191 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22192 and compute the length of function main. Save it in
22193 $main_length.
22194 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22195 (top-level): Use gdb_compile to compile objects into
22196 executable and restart GDB. Remove invocation to
22197 prepare_for_testing.
22198
7ae1a6a6
PA
221992014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22200 Pedro Alves <palves@redhat.com>
22201
22202 PR server/16255
22203 * gdb.multi/multi-attach.c: New file.
22204 * gdb.multi/multi-attach.exp: New file.
22205
4082afcc
PA
222062014-04-25 Pedro Alves <palves@redhat.com>
22207
22208 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22209 user.
22210 (top level): Test that "set remote conditional-breakpoints-packet
22211 off" works as intended.
22212 * gdb.base/dprintf.exp: Test that "set remote
22213 breakpoint-commands-packet off" works as intended.
22214 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22215 New function.
22216 (top level): Call it.
22217 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22218 remote fast-tracepoints-packet off" works as intended.
22219 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22220 * lib/gdb.exp (gdb_is_target_remote): ... here.
22221
2abc3f8d
DB
222222014-04-24 David Blaikie <dblaikie@gmail.com>
22223
22224 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22225 ensure clang would not discard them.
22226 * gdb.base/gdbvars.c: Ditto.
22227 * gdb.base/memattr.c: Ditto.
22228 * gdb.base/whatis.c: Ditto.
22229 * gdb.python/py-prettyprint.c: Ditto.
22230 * gdb.trace/actions.c: Ditto.
22231 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22232 ensure clang would not discard it.
22233
bfd39632
DB
222342014-04-24 David Blaikie <dblaikie@gmail.com>
22235
22236 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22237 clang to emit the full definition of type required by the test
22238 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22239
22842ff6
DB
222402014-04-24 David Blaikie <dblaikie@gmail.com>
22241
22242 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22243 coax Clang into emitting the definition of the type.
22244 * gdb.cp/pr10728-x.h (y): Ditto.
22245 * gdb.cp/pr10728-y.cc (y): Ditto.
22246
c2e827ad
DB
222472014-04-24 David Blaikie <dblaikie@gmail.com>
22248
22249 * gdb.base/label.exp: XFAIL label related tests under Clang.
22250 * gdb.cp/cplabel.exp: Ditto.
22251 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22252 under Clang those using labels.
22253
4c2d33e7
YQ
222542014-04-25 Yao Qi <yao@codesourcery.com>
22255
22256 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22257 double_label.
22258 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22259 partial_label and double_label.
22260
56083b99
DB
222612014-04-24 David Blaikie <dblaikie@gmail.com>
22262
22263 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22264
25d4e99d
DB
222652014-04-24 David Blaikie <dblaikie@gmail.com>
22266
22267 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22268 of the function to work across GCC and Clang.
22269 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22270 pointer types (const void ** const V void **).
22271
01f9f808
MS
222722014-04-24 Michael Sturm <michael.sturm@mintel.com>
22273 Walfred Tedeschi <walfred.tedeschi@intel.com>
22274
22275 * Makefile.in (EXECUTABLES): Added i386-avx512.
22276 * gdb.arch/i386-avx512.c: New file.
22277 * gdb.arch/i386-avx512.exp: Likewise.
22278
4b48d439
KS
222792014-04-23 Keith Seitz <keiths@redhat.com>
22280
22281 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22282 (mi_make_breakpoint_table): New procedure.
22283 (mi_create_breakpoint): Use mi_make_breakpoint
22284 and return the result.
22285 (mi_make_breakpoint): New procedure.
22286 (mi_build_kv_pairs): New procedure.
22287
22288 * gdb.mi/mi-break.exp: Remove unused globals,
22289 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22290 All callers updated.
22291 * gdb.mi/mi-dprintf.exp: Use variable to track command
22292 number.
22293 Update all callers of mi_create_breakpoint and use
22294 mi_make_breakpoint_table.
22295 Remove any unused global variables.
22296 * gdb.mi/mi-nonstop.exp: Likewise.
22297 * gdb.mi/mi-nsintrall.exp: Likewise.
22298 * gdb.mi/mi-nsmoribund.exp: Likewise.
22299 * gdb.mi/mi-nsthrexec.exp: Likewise.
22300 * gdb.mi/mi-reverse.exp: Likewise.
22301 * gdb.mi/mi-simplerun.exp: Likewise.
22302 * gdb.mi/mi-stepn.exp: Likewise.
22303 * gdb.mi/mi-syn-frame.exp: Likewise.
22304 * gdb.mi/mi-until.exp: Likewise.
22305 * gdb.mi/mi-var-cp.exp: Likewise.
22306 * gdb.mi/mi-var-display.exp: Likewise.
22307 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22308 * gdb.mi/mi2-var-child.exp: Likewise.
22309 * gdb.mi/mi-vla-c99.exp: Likewise.
22310 * lib/mi-support.exp: Likewise.
22311
22312 From Ian Lance Taylor <iant@cygnus.com>:
22313 * lib/gdb.exp (parse_args): New procedure.
22314
08351840
PA
223152014-04-23 Pedro Alves <palves@redhat.com>
22316
22317 * gdb.base/break-unload-file.c: New file.
22318 * gdb.base/break-unload-file.exp: New file.
22319 * gdb.base/sym-file-lib.c (baz): New function.
22320 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22321 field.
22322 (load): Store the segment's mapped size.
22323 (unload): New function.
22324 (unload_shlib): New function.
22325 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22326 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22327 set a breakpoint at baz, and call it.
22328 * gdb.base/sym-file.exp: New tests for stale breakpoint
22329 instructions.
22330
076855f9
PA
223312014-04-23 Pedro Alves <palves@redhat.com>
22332
22333 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22334 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22335 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22336 * gdb.base/hbreak-unmapped.c: New file.
22337 * gdb.base/hbreak-unmapped.exp: New file.
22338 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22339 * lib/gdb.exp (gdb_is_target_remote): ... here.
22340
483805cf
PA
223412014-04-22 Pedro Alves <palves@redhat.com>
22342
22343 * gdb.base/consecutive-step-over.c: New file.
22344 * gdb.base/consecutive-step-over.exp: New file.
22345
06d97543
PA
223462014-04-22 Pedro Alves <palves@redhat.com>
22347
22348 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22349 instead of send_gdb/gdb_expect.
22350
b4429ea2
YQ
223512014-04-22 Yao Qi <yao@codesourcery.com>
22352
22353 * lib/trace-support.exp (generate_tracefile): New procedure.
22354 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22355 return 0.
22356 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22357 if generate_tracefile returns 1.
22358
51d48146
PA
223592014-04-18 Tom Tromey <palves@redhat.com>
22360 Pedro alves <tromey@redhat.com>
22361
22362 PR backtrace/15558
22363 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22364 with a backtrace limit.
22365 * gdb.python/py-frame-inline.exp: Test running to an inline
22366 function with a backtrace limit, and printing the newest frame.
22367 * gdb.python/py-frame-inline.c (main): Call f.
22368
bd1dce5f
MS
223692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22370
22371 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22372
40d1a503
MS
223732014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22374
22375 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22376 Drop prefix from unsupported source file path.
22377
389b98f7
YQ
223782014-04-17 Yao Qi <yao@codesourcery.com>
22379
22380 * lib/gdb.exp (with_target_charset): New proc.
22381 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22382 with_target_charset.
22383 (test_print_strings): Likewise.
22384 (test_repeat_bytes): Likewise.
22385 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22386 for some tests.
22387
22869d73
KS
223882014-04-16 Keith Seitz <keiths@redhat.com>
22389
22390 PR gdb/15827
22391 * gdb.dwarf2/corrupt.c: New file.
22392 * gdb.dwarf2/corrupt.exp: New file.
22393
c4f87ca6
KS
223942014-04-16 Keith Seitz <keiths@redhat.com>
22395
22396 PR c++/16597
22397 * gdb.cp/namelessclass.cc: New file.
22398 * gdb.cp/namelessclass.exp: New file.
22399 * gdb.cp/namelessclass.S: New file.
22400
ab19de87
DE
224012014-04-16 Doug Evans <dje@google.com>
22402
22403 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22404 Add comment.
22405 (gdbserver_default_get_comm_port): New function.
22406 (gdbserver_start): Check if board file provided
22407 "gdbserver,get_comm_port" and use it if so.
22408 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22409 (gdb,socketport): Set to "stdio".
22410 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22411 (stdio_gdbserver_template): Delete.
22412 (${board}_get_remote_address): Update.
22413 (${board}_build_remote_cmd): Delete.
22414 (${board}_get_comm_port): New function.
22415 (${board}_spawn): Update.
22416 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22417 Delete.
22418 (${board}_get_remote_address): Update.
22419 (${board}_get_comm_port): New function.
22420
fc98a809
AB
224212014-04-16 Andrew Burgess <aburgess@broadcom.com>
22422
22423 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22424 appearing in any order.
22425
87fd9e6e
DE
224262014-04-15 Doug Evans <dje@google.com>
22427
22428 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22429 uninitialized value of "description".
22430
099fc3ea
KS
224312014-04-15 Keith Seitz <keiths@redhat.com>
22432
22433 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22434 Remove unused globals.
22435 (test_running_the_program): Likewise.
22436 (test_controlled_execution): Likewise.
22437 (test_controlling_breakpoints): Likewise.
22438 (test_program_termination): Likewise.
22439
5da151d4
KS
224402014-04-15 Keith Seitz <keiths@redhat.com>
22441
22442 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22443 unused globals.
22444 (test_rbreak_creation_and_listing): Likewise.
22445 (test_ignore_count): Likewise.
22446 (test_error): Likewise.
22447
35e5d2f0
PA
224482014-04-15 Pedro Alves <palves@redhat.com>
22449
22450 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22451 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22452 sym-file-loader.c.
22453 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22454 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22455 to sym-file-loader.c.
22456 (struct library): Forward declare.
22457 (load_shlib, lookup_function): Change prototypes.
22458 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22459 (translate_offset): Remove declarations.
22460 (get_text_addr): New declaration.
22461 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22462 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22463 sym-file-loader.h.
22464 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22465 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22466 here from sym-file-loader.h.
22467 (struct library): New structure.
22468 (load_shlib, lookup_function): Change prototypes and adjust to
22469 work with a struct library.
22470 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22471 (translate_offset): Make static.
22472 (get_text_addr): New function.
22473 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22474
eb4c1710
PA
224752014-04-15 Pedro Alves <palves@redhat.com>
22476
22477 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22478
2d1baf52
PA
224792014-04-15 Pedro Alves <palves@redhat.com>
22480
22481 * gdb.base/sym-file-loader.c: Include <limits.h>.
22482 (SELF_LINK): New define.
22483 (get_origin): New function.
22484 (load_shlib): Use it.
22485 * gdb.base/sym-file.exp: Don't early return if the target is
22486 remote. Use runto_main, and issue fail is that fails. Use
22487 gdb_load_shlibs.
22488 (shlib_name): Delete.
22489 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22490
7dd6df01
PA
224912014-04-15 Pedro Alves <palves@redhat.com>
22492
22493 * gdb.base/sym-file.exp: Remove regex characters from test
22494 message. Don't refer to breakpoint numbers in test messages.
22495
b50c8614
KS
224962014-04-14 Keith Seitz <keiths@redhat.com>
22497
22498 PR c++/16253
22499 * gdb.cp/var-tag.cc: New file.
22500 * gdb.cp/var-tag.exp: New file.
22501 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22502 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22503 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22504 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22505
3d567982
TT
225062014-04-14 Tom Tromey <tromey@redhat.com>
22507
22508 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22509 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22510 type.
22511 * gdb.cp/enum-class.exp: New file.
22512 * gdb.cp/enum-class.cc: New file.
22513
0626fc76
TT
225142014-04-14 Tom Tromey <tromey@redhat.com>
22515
22516 * gdb.dwarf2/enum-type.exp: New file.
22517
dca325b3
SA
225182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22519
22520 * gdb.mi/mi-vla-c99.exp: New file.
22521 * gdb.mi/vla.c: New file.
22522
5854b38a
SA
225232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22524
22525 * gdb.base/vla-datatypes.c: New file.
22526 * gdb.base/vla-datatypes.exp: New file.
22527
463bb957
SA
225282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22529
22530 * gdb.base/vla-ptr.c: New file.
22531 * gdb.base/vla-ptr.exp: New file.
22532
3dd170be
SA
225332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22534
22535 * gdb.dwarf2/count.exp: New file.
22536
5ecaaa66
SA
225372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22538
22539 * gdb.base/vla-sideeffect.c: New file.
22540 * gdb.base/vla-sideeffect.exp: New file.
22541
41f1ada5
DB
225422014-04-14 David Blaikie <dblaikie@gmail.com>
22543
22544 * gdb.mi/non-stop.c: Add return value for non-void function return
22545 statement.
22546 * gdb.threads/staticthreads.c: Ditto.
22547
0be03e84
DE
225482014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22549 Doug Evans <xdje42@gmail.com>
22550
22551 * gdb.guile/scm-value.c: Improve test case.
22552 * gdb.guile/scm-value.exp: Add new test.
22553
f180a1fb
DB
225542014-04-11 David Blaikie <dblaikie@gmail.com>
22555
22556 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22557 override Clang's default.
22558
6b662e19
JB
225592014-04-11 Joel Brobecker <brobecker@adacore.com>
22560
22561 Revert the following changes (regressions):
22562
22563 * gdb.base/vla-sideeffect.c: New file.
22564 * gdb.base/vla-sideeffect.exp: New file.
22565
22566 * gdb.dwarf2/count.exp: New file.
22567
22568 * gdb.base/vla-multi.c: New file.
22569 * gdb.base/vla-multi.exp: New file.
22570
22571 * gdb.base/vla-ptr.c: New file.
22572 * gdb.base/vla-ptr.exp: New file.
22573
22574 * gdb.base/vla-datatypes.c: New file.
22575 * gdb.base/vla-datatypes.exp: New file.
22576
22577 * gdb.mi/mi-vla-c99.exp: New file.
22578 * gdb.mi/vla.c: New file.
22579
245a5f0b
KS
225802014-04-11 Keith Seitz <keiths@redhat.com>
22581
22582 PR c++/16675
22583 * gdb.cp/cpsizeof.exp: New file.
22584 * gdb.cp/cpsizeof.cc: New file.
22585
58a84dcf
SA
225862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22587
191a8a90
JB
22588 * gdb.mi/mi-vla-c99.exp: New file.
22589 * gdb.mi/vla.c: New file.
58a84dcf 22590
c8655f75
SA
225912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22592
22593 * gdb.base/vla-datatypes.c: New file.
22594 * gdb.base/vla-datatypes.exp: New file.
22595
024e13b4
SA
225962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22597
22598 * gdb.base/vla-ptr.c: New file.
22599 * gdb.base/vla-ptr.exp: New file.
22600
1a237e0e
SA
226012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22602
22603 * gdb.base/vla-multi.c: New file.
22604 * gdb.base/vla-multi.exp: New file.
22605
504f3432
SA
226062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22607
22608 * gdb.dwarf2/count.exp: New file.
22609
3bce8237
SA
226102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22611
191a8a90
JB
22612 * gdb.base/vla-sideeffect.c: New file.
22613 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22614
322f9c21
YQ
226152014-04-11 Yao Qi <yao@codesourcery.com>
22616
22617 * gdb.base/completion.exp: Check file exists before running tests
22618 on file completion.
22619
d708bcd1
PA
226202014-04-10 Pedro Alves <palves@redhat.com>
22621
22622 * gdb.base/cond-eval-mode.c: New file.
22623 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22624 prepare_for_testing to build the new file. Check result of
22625 runto_main.
22626 (test_break, test_watch): New procedures.
22627 (top level): Use them.
22628
ae1d2761
PM
226292014-04-08 Pierre Muller <muller@sourceware.org>
22630
22631 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22632 Ctrl-V use for mingw hosts.
22633
7af389b8
SC
226342014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22635
22636 * gdb.python/py-value.c: Improve test case.
22637 * gdb.python/py-value.exp: Add new test.
22638
5e703181
DE
226392014-04-07 David Blaikie <dblaikie@gmail.com>
22640
22641 * lib/compiler.c: Identify the clang compiler.
22642 * lib/compiler.cc: Ditto.
22643
9810b410
YQ
226442014-04-03 Yao Qi <yao@codesourcery.com>
22645
22646 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22647
98d1b8dc
AB
226482014-04-01 Anton Blanchard <anton@samba.org>
22649
22650 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22651 messages unique.
22652
3114cea1
AB
226532014-04-01 Anton Blanchard <anton@samba.org>
22654
22655 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22656 prepare_for_testing.
22657
62f7182c
AB
226582014-04-01 Anton Blanchard <anton@samba.org>
22659
22660 * gdb.arch/ppc64-atomic-inst.c: Remove.
22661 * gdb.arch/ppc64-atomic-inst.S: New file.
22662 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22663
770e7fc7
DE
226642014-03-31 Doug Evans <dje@google.com>
22665
22666 * gdb.base/print-symbol-loading-lib.c: New file.
22667 * gdb.base/print-symbol-loading-main.c: New file.
22668 * gdb.base/print-symbol-loading.exp: New file.
22669
46e2bafa
YQ
226702014-03-31 Yao Qi <yao@codesourcery.com>
22671
22672 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22673
8776cfe9
JB
226742014-03-28 Joel Brobecker <brobecker@adacore.com>
22675
22676 * gdb.ada/mi_dyn_arr: New testcase.
22677
5d1ef361
DE
226782014-03-27 Doug Evans <dje@google.com>
22679
22680 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22681
b5bee914
YQ
226822014-03-27 Yao Qi <yao@codesourcery.com>
22683
22684 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22685 if target is nios2-*-*.
22686
0d4d0e77
YQ
226872014-03-26 Yao Qi <yao@codesourcery.com>
22688
22689 * lib/gdb.exp (readline_is_used): New proc.
22690 * gdb.base/completion.exp: Move tests on command complete up.
22691 Skip the rest of tests if readline is not used.
22692 * gdb.ada/complete.exp: Skp the test if readline is not
22693 used.
22694 * gdb.base/filesym.exp: Likewise.
22695 * gdb.base/macscp.exp: Likewise.
22696 * gdb.base/readline-ask.exp: Likewise.
22697 * gdb.base/readline.exp: Likewise.
22698 * gdb.python/py-cmd.exp: Likewise.
22699 * gdb.trace/tfile.exp: Likewise.
22700
29361eee
YQ
227012014-03-26 Yao Qi <yao@codesourcery.com>
22702
22703 * gdb.base/macscp.exp: Fix code format issues.
22704
bc9a5525
UW
227052014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22706
22707 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22708 * gdb.asm/powerpc64le.inc: New file.
22709
d3839ede
PA
227102014-03-25 Pedro Alves <palves@redhat.com>
22711 Doug Evans <dje@google.com>
22712
22713 * gdb.base/source-execution.c: New file.
22714 * gdb.base/source-execution.exp: New file.
22715 * gdb.base/source-execution.gdb: New file.
22716
01672a57
DE
227172014-03-24 Doug Evans <dje@google.com>
22718
22719 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22720 using fission.
22721
88bbeca9
HZ
227222014-03-24 Hui Zhu <hui@codesourcery.com>
22723 Pedro Alves <palves@redhat.com>
22724
22725 PR breakpoints/16101
22726 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22727 test pass/fail messages. Detect missing support for dprintf when
22728 breakpoints are actually inserted.
22729 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22730 breakpoints are actually inserted.
22731 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22732 fails.
22733
d2348791
JK
227342014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22735
22736 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22737
feef67ab
DE
227382014-03-22 Doug Evans <xdje42@gmail.com>
22739
22740 * gdb.python/python.exp (python not supported): Verify multi-line
22741 python command issues an error.
25d743f9 22742 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22743 guile command issues an error.
feef67ab 22744
ecebef6a
MR
227452014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22746
22747 * gdb.threads/thread-specific.exp: Handle the lack of usable
22748 $this_breakpoint and $this_thread.
22749
ccdd1909
HZ
227502014-03-21 Hui Zhu <hui@codesourcery.com>
22751
22752 * gdb.base/attach.exp (do_command_attach_tests): New.
22753
beb460e8
PA
227542014-03-20 Tom Tromey <tromey@redhat.com>
22755 Pedro Alves <palves@redhat.com>
22756
22757 PR cli/15718
22758 * gdb.base/condbreak-call-false.c: New file.
22759 * gdb.base/condbreak-call-false.exp: New file.
22760
40acf43a
PA
227612014-03-20 Pedro Alves <palves@redhat.com>
22762
22763 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22764 Delete.
22765 (block_signals, unblock_signals): Delete.
22766 (child_function_2, main): Remove references to deleted variable
22767 and functions.
22768
9f5e1e02
PA
227692014-03-20 Pedro Alves <palves@redhat.com>
22770
22771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22772 Use pthread_kill to signal thread 2.
22773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22774 Adjust to make the test send itself a signal rather than using the
22775 host's "kill" command.
22776
99619bea
PA
227772014-03-20 Pedro Alves <palves@redhat.com>
22778
22779 * gdb.threads/multiple-step-overs.c: New file.
22780 * gdb.threads/multiple-step-overs.exp: New file.
22781 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22782 Adjust expected infrun debug output.
22783
2adfaa28
PA
227842014-03-20 Pedro Alves <palves@redhat.com>
22785
22786 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22787 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22788
31e77af2
PA
227892014-03-20 Pedro Alves <palves@redhat.com>
22790
22791 PR breakpoints/7143
22792 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22793 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22794 of gdb_test_multiple.
22795 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22796 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22797
b9f437de
PA
227982014-03-20 Pedro Alves <palves@redhat.com>
22799
22800 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22801 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22802
05adc73e
PA
228032014-03-19 Pedro Alves <palves@redhat.com>
22804
22805 * gdb.base/async.exp: Remove early return.
22806
6048b950
PA
228072014-03-19 Pedro Alves <palves@redhat.com>
22808
22809 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22810
8bcfb00a
PA
228112014-03-19 Pedro Alves <palves@redhat.com>
22812
22813 * gdb.base/async.exp (test_background): Expect \r\n after
22814 "completed." in the fail pattern.
22815
884e37dc
PA
228162014-03-19 Pedro Alves <palves@redhat.com>
22817
22818 * gdb.base/async.exp (test_background): New procedure.
22819 Use it for all background execution command tests.
22820
148e57e2
PA
228212014-03-19 Pedro Alves <palves@redhat.com>
22822
22823 * gdb.base/async.exp: Use prepare_for_testing.
22824
f48088c7
PA
228252014-03-19 Pedro Alves <palves@redhat.com>
22826
22827 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22828 the same line.
22829
e2f6c966
PA
228302014-03-19 Pedro Alves <palves@redhat.com>
22831
22832 * gdb.base/async.c (main): Add "jump here" and "until here" line
22833 marker comments.
22834 * gdb.base/async.exp (jump_here): New global.
22835 (jump& test): Use it.
22836 (until_here): New global.
22837 (until& test): Use it.
22838
c30568d4
PA
228392014-03-19 Pedro Alves <palves@redhat.com>
22840
22841 * gdb.base/async.exp: Don't frob gdb_protocol.
22842
0172b6a7
DE
228432014-03-18 Doug Evans <xdje42@gmail.com>
22844
22845 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22846 Fix spelling of exec-done-display.
22847
06c868a8
JK
228482014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22849
22850 PR gdb/15358
22851 * gdb.base/gdb-sigterm.c: New file.
22852 * gdb.base/gdb-sigterm.exp: New file.
22853
0c7e1a46
PA
228542014-03-18 Pedro Alves <palves@redhat.com>
22855
22856 PR gdb/13860
22857 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22858 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22859 solib-event.
22860
f7c77d93
JB
228612014-03-17 Joel Brobecker <brobecker@adacore.com>
22862
22863 * gdb.ada/pckd_arr_ren: New testcase.
22864
5a1e8c7a
DE
228652014-03-13 Doug Evans <xdje42@gmail.com>
22866
22867 PR guile/16612
22868 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22869 collect after discarding symbols.
22870
350e1a76
DE
228712014-03-13 Ludovic Courtès <ludo@gnu.org>
22872 Doug Evans <xdje42@gmail.com>
22873
22874 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22875 to history survives a gc.
22876
a69900ae
PA
228772014-03-13 Pedro Alves <palves@redhat.com>
22878
22879 * gdb.base/default.exp: Don't test "target procfs".
22880
5db9f0bd
PA
228812014-03-13 Pedro Alves <palves@redhat.com>
22882
22883 * gdb.base/default.exp: Update "target child" and "target procfs"
22884 tests to not expect "Unix".
22885
b3ccfe11
TT
228862014-03-12 Tom Tromey <tromey@redhat.com>
22887
22888 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22889 New procs. Add target-async tests.
22890 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22891 Add target-async tests.
22892
646f4417
AA
228932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22894
22895 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22896 'func_start' and 'func_end' for the beginning and end of the
22897 function code, respectively.
22898 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22899 'func_end' instead of 'func' and 'main'.
22900
288c211f
AA
229012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22902
22903 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22904 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22905 generate the debug info assembler source.
22906
e0c0f156
AA
229072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22908
22909 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22910 * gdb.dwarf2/arr-subrange.exp: Likewise.
22911 * gdb.dwarf2/dwz.exp: Likewise.
22912 * gdb.dwarf2/method-ptr.exp: Likewise.
22913 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22914 * gdb.dwarf2/subrange.exp: Likewise.
22915 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22916 * gdb.dwarf2/implptrpiece.exp: Likewise.
22917 * gdb.dwarf2/nostaticblock.exp: Likewise.
22918
0e5c4555
AA
229192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22920
22921 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22922 directory to absolute path name arguments.
22923
5ec18f2b
JG
229242014-03-10 Joel Brobecker <brobecker@adacore.com>
22925
22926 * gdb.ada/tagged_access: New testcase.
22927
847fc4f2
MM
229282014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22929
22930 * gdb.btrace/data.exp: Update expected output.
22931
cc3da688
YQ
229322014-03-06 Yao Qi <yao@codesourcery.com>
22933
22934 * gdb.trace/pr16508.exp: New file.
22935
0f26cec1
PA
229362014-03-05 Pedro Alves <palves@redhat.com>
22937
22938 PR gdb/16575
22939 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22940 procedure.
22941 (top level): Adjust to use it. Add tests that exercise breakpoint
22942 interaction with the code-cache.
22943
7a5a839f
LC
229442014-02-26 Ludovic Courtès <ludo@gnu.org>
22945
22946 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22947 test for 'history-append!'.
22948
31aa7e4e
JB
229492014-02-26 Joel Brobecker <brobecker@adacore.com>
22950
22951 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22952 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22953 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22954 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22955 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22956 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22957
1b588015
JB
229582014-02-26 Joel Brobecker <brobecker@adacore.com>
22959
22960 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22961 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22962 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22963
55426c9d
JB
229642014-02-26 Joel Brobecker <brobecker@adacore.com>
22965
22966 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22967
dc53a7ad
JB
229682014-02-26 Joel Brobecker <brobecker@adacore.com>
22969
22970 * gdb.dwarf2/arr-stride.c: New file.
22971 * gdb.dwarf2/arr-stride.exp: New file.
22972
12ab52e9
PA
229732014-02-26 Pedro Alves <palves@redhat.com>
22974
22975 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22976 that won't ever trigger. Make sure that GDB reports the correct
22977 breakpoint that caused the stop.
22978
849c862e
JK
229792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22980
22981 PR gdb/16626
22982 * gdb.base/auto-load-script: New file.
22983 * gdb.base/auto-load.c: New file.
22984 * gdb.base/auto-load.exp: New file.
22985
71b7d793
JK
22986 PR gdb/16626
22987 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22988
e2f0d509
JK
229892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22990
22991 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22992 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22993
50cc37c8
DE
229942014-02-24 Doug Evans <dje@google.com>
22995
22996 * lib/gdb.exp (run_on_host): Log error output if program fails.
22997
ea4758f2
PA
229982014-02-21 Pedro Alves <palves@redhat.com>
22999
23000 * gdb.threads/step-after-sr-lock.c: Rename to ...
23001 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23002 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23003 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23004 ... this.
23005
d7b30f67
SDJ
230062014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23007
23008 PR tdep/16397
23009 * gdb.arch/amd64-stap-special-operands.exp: New file.
23010 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23011 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23012 * gdb.arch/amd64-stap-triplet.S: Likewise.
23013 * gdb.arch/amd64-stap-triplet.c: Likewise.
23014
83deb43f
JB
230152014-02-20 Joel Brobecker <brobecker@adacore.com>
23016
23017 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23018 in .section pseudo-op.
23019
adde2bff
DE
230202014-02-20 lin zuojian <manjian2006@gmail.com>
23021 Joel Brobecker <brobecker@adacore.com>
23022 Doug Evans <xdje42@gmail.com>
23023
23024 PR symtab/16581
23025 * gdb.dwarf2/dw2-icycle.S: New file.
23026 * gdb.dwarf2/dw2-icycle.c: New file.
23027 * gdb.dwarf2/dw2-icycle.exp: New file.
23028
f7bd0f78
SC
230292014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23030
23031 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23032 operations on gdb.Value objects.
23033 * gdb.python/py-value-cc.exp: Add new test to test operations on
23034 gdb.Value objects.
23035
c17ef0d5
DE
230362014-02-18 Doug Evans <dje@google.com>
23037
23038 * Makefile.in (TESTS): New variable.
23039 (expanded_tests, expanded_tests_or_none): New variables
23040 (check-single): Pass $(expanded_tests_or_none) to runtest.
23041 (check-parallel): Only run tests in $(TESTS) if non-empty.
23042 (check/no-matching-tests-found): New rule.
23043 * README: Document TESTS makefile variable.
23044
5dd3176f
DE
230452014-02-18 Doug Evans <dje@google.com>
23046
23047 * Makefile.in (check-parallel): rm -rf outputs temp.
23048
0b10be4f
JK
230492014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23050
23051 Fix "ERROR: no fileid for" in the testsuite.
23052 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23053
85f224e7
DE
230542014-02-12 Doug Evans <dje@google.com>
23055
23056 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23057 (MISCELLANEOUS): New variable.
23058 (clean): rm -rf $(MISCELLANEOUS).
23059 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23060 dwp live in the same directory as symlinks, with each symlink pointed
23061 to a differently named file in a different directory.
23062
149b30ff
DE
230632014-02-11 Doug Evans <dje@google.com>
23064
23065 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23066 of Tcl file commands.
23067
1dfdac32
MK
230682014-02-10 Mark Kettenis <kettenis@gnu.org>
23069
23070 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23071 "kill -SIGUSR1 -1".
23072
aa4fb036
JB
230732014-02-10 Joel Brobecker <brobecker@adacore.com>
23074
23075 * gdb.ada/tick_length_array_enum_idx: New testcase.
23076
ed3ef339
DE
230772014-02-10 Doug Evans <xdje42@gmail.com>
23078
23079 * configure.ac (AC_OUTPUT): Add gdb.guile.
23080 * configure: Regenerate.
23081 * lib/gdb-guile.exp: New file.
23082 * lib/gdb.exp (get_target_charset): New function.
23083 * gdb.base/help.exp: Update expected output from "apropos apropos".
23084 * gdb.guile/Makefile.in: New file.
23085 * gdb.guile/guile.exp: New file.
23086 * gdb.guile/scm-arch.c: New file.
23087 * gdb.guile/scm-arch.exp: New file.
23088 * gdb.guile/scm-block.c: New file.
23089 * gdb.guile/scm-block.exp: New file.
23090 * gdb.guile/scm-breakpoint.c: New file.
23091 * gdb.guile/scm-breakpoint.exp: New file.
23092 * gdb.guile/scm-disasm.c: New file.
23093 * gdb.guile/scm-disasm.exp: New file.
23094 * gdb.guile/scm-equal.c: New file.
23095 * gdb.guile/scm-equal.exp: New file.
23096 * gdb.guile/scm-error.exp: New file.
23097 * gdb.guile/scm-error.scm: New file.
23098 * gdb.guile/scm-frame-args.c: New file.
23099 * gdb.guile/scm-frame-args.exp: New file.
23100 * gdb.guile/scm-frame-args.scm: New file.
23101 * gdb.guile/scm-frame-inline.c: New file.
23102 * gdb.guile/scm-frame-inline.exp: New file.
23103 * gdb.guile/scm-frame.c: New file.
23104 * gdb.guile/scm-frame.exp: New file.
23105 * gdb.guile/scm-generics.exp: New file.
23106 * gdb.guile/scm-gsmob.exp: New file.
23107 * gdb.guile/scm-iterator.c: New file.
23108 * gdb.guile/scm-iterator.exp: New file.
23109 * gdb.guile/scm-math.c: New file.
23110 * gdb.guile/scm-math.exp: New file.
23111 * gdb.guile/scm-objfile-script-gdb.in: New file.
23112 * gdb.guile/scm-objfile-script.c: New file.
23113 * gdb.guile/scm-objfile-script.exp: New file.
23114 * gdb.guile/scm-objfile.c: New file.
23115 * gdb.guile/scm-objfile.exp: New file.
23116 * gdb.guile/scm-ports.exp: New file.
23117 * gdb.guile/scm-pretty-print.c: New file.
23118 * gdb.guile/scm-pretty-print.exp: New file.
23119 * gdb.guile/scm-pretty-print.scm: New file.
23120 * gdb.guile/scm-section-script.c: New file.
23121 * gdb.guile/scm-section-script.exp: New file.
23122 * gdb.guile/scm-section-script.scm: New file.
23123 * gdb.guile/scm-symbol.c: New file.
23124 * gdb.guile/scm-symbol.exp: New file.
23125 * gdb.guile/scm-symtab-2.c: New file.
23126 * gdb.guile/scm-symtab.c: New file.
23127 * gdb.guile/scm-symtab.exp: New file.
23128 * gdb.guile/scm-type.c: New file.
23129 * gdb.guile/scm-type.exp: New file.
23130 * gdb.guile/scm-value-cc.cc: New file.
23131 * gdb.guile/scm-value-cc.exp: New file.
23132 * gdb.guile/scm-value.c: New file.
23133 * gdb.guile/scm-value.exp: New file.
23134 * gdb.guile/source2.scm: New file.
23135 * gdb.guile/types-module.cc: New file.
23136 * gdb.guile/types-module.exp: New file.
23137
7026a7c1
YQ
231382014-02-10 Yao Qi <yao@codesourcery.com>
23139
23140 PR testsuite/16543
23141 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23142 * configure: Regenerated.
23143 * Makefile.in: New file.
23144
6c466447
AS
231452014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23146
23147 * gdb.python/py-framefilter.exp: Fix typo.
23148
6e854735
YQ
231492014-02-08 Yao Qi <yao@codesourcery.com>
23150
23151 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23152 that no =breakpoint-modified is emitted when breakpoints are
23153 modified through MI commands.
23154
d137e6dc
PA
231552014-02-07 Pedro Alves <pedro@codesourcery.com>
23156 Pedro Alves <palves@redhat.com>
23157
23158 * gdb.threads/step-after-sr-lock.c: New file.
23159 * gdb.threads/step-after-sr-lock.exp: New file.
23160
b5ee5a50
PA
231612014-02-07 Pedro Alves <palves@redhat.com>
23162
23163 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23164
3c77faf3
JK
231652014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23166
23167 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23168 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23169
6dddc817
DE
231702014-02-06 Doug Evans <xdje42@gmail.com>
23171
23172 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23173 output.
23174
23175 * gdb.gdb/python-interrupts.exp: New file.
23176
de7b2893
YQ
231772014-02-05 Yao Qi <yao@codesourcery.com>
23178
23179 * gdb.trace/report.exp (use_collected_data): Test the output
23180 of "info threads" and "info inferiors".
23181
66d032ac
YQ
231822014-02-05 Yao Qi <yao@codesourcery.com>
23183
23184 Revert this patch:
23185
23186 2013-05-24 Yao Qi <yao@codesourcery.com>
23187
23188 * gdb.trace/tfile.exp: Test inferior and thread.
23189
591a12a1
UW
231902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23191
23192 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23193 on a function.
23194 * gdb.base/step-bt.c: Call hello via function pointer to make
23195 sure its first instruction is executed on powerpc64le-linux.
23196
0ff3e01f
UW
231972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23198
23199 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23200
084ee545
UW
232012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23202
23203 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23204 of the test patterns for use on little-endian systems.
23205
6ed14ff3
UW
232062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23207
23208 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23209 (decimal_vector): Fix for little-endian.
23210
401e27fd
JM
232112014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23212
23213 * gdb.arch/sparc-sysstep.exp: New file.
23214 * gdb.arch/sparc-sysstep.c: Likewise.
23215
23216 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23217
8b924729
EBM
232182014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23219
23220 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23221
fb151210
JB
232222014-01-23 Tom Tromey <tromey@redhat.com>
23223
23224 * gdb.ada/array_char_idx: New testcase.
23225
0740f8d8
TT
232262014-01-23 Tom Tromey <tromey@redhat.com>
23227
23228 PR python/16487:
23229 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23230 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23231 classes.
23232
21909fa1
TT
232332014-01-23 Tom Tromey <tromey@redhat.com>
23234
23235 PR python/16491:
23236 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23237 string from an inferior frame.
23238 * gdb.python/py-framefilter-mi.exp: Update.
23239
87ce2a04
DE
232402014-01-22 Doug Evans <dje@google.com>
23241
23242 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23243
237b092b
AA
232442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23245
23246 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23247
d674a709
AA
232482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23249
23250 * gdb.trace/entry-values.exp: Remove excess space character from
23251 regex patterns. Handle s390 call instruction.
23252
20fa3390
AA
232532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23254
23255 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23256 define "*_start" label. Make "name" static.
23257 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23258 ${name} by references to ${name}_start.
23259
78466714
AA
232602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23261
23262 * gdb.base/info-macros.exp: Remove "debug" from the compile
23263 options.
23264
ec9f644a
IB
232652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23266
23267 * gdb.dlang/demangle.exp: New file.
23268
94b1b47e
IB
232692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23270
23271 * gdb.dlang/primitive-types.exp: New file.
23272
7f420862
IB
232732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23274
23275 * configure.ac: Create gdb.dlang/Makefile.
23276 * configure: Regenerate.
23277 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23278 * gdb.dlang/Makefile.in: New file.
23279 * lib/d-support.exp: New file.
23280 * lib/gdb.exp (skip_d_tests): New proc.
23281
52834460
MM
232822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23283
23284 * gdb.btrace/delta.exp: Check reverse stepi.
23285 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23286 * gdb.btrace/finish.exp: New.
23287 * gdb.btrace/next.exp: New.
23288 * gdb.btrace/nexti.exp: New.
23289 * gdb.btrace/record_goto.c: Add comments.
23290 * gdb.btrace/step.exp: New.
23291 * gdb.btrace/stepi.exp: New.
23292 * gdb.btrace/multi-thread-step.c: New.
23293 * gdb.btrace/multi-thread-step.exp: New.
23294 * gdb.btrace/rn-dl-bind.c: New.
23295 * gdb.btrace/rn-dl-bind.exp: New.
23296 * gdb.btrace/data.c: New.
23297 * gdb.btrace/data.exp: New.
23298 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23299
6e07b1d2
MM
233002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23301
23302 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23303 * gdb.btrace/exception.exp: Update.
23304 * gdb.btrace/instruction_history.exp: Update.
23305 * gdb.btrace/record_goto.exp: Update.
23306 * gdb.btrace/tailcall.exp: Update.
23307 * gdb.btrace/unknown_functions.exp: Update.
23308 * gdb.btrace/delta.exp: New.
23309
0b722aec
MM
233102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23311
23312 * gdb.btrace/record_goto.exp: Add backtrace test.
23313 * gdb.btrace/tailcall.exp: Add backtrace test.
23314
066ce621
MM
233152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23316
23317 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23318 * gdb.btrace/record_goto.c: New.
23319 * gdb.btrace/record_goto.exp: New.
23320 * gdb.btrace/x86-record_goto.S: New.
23321
0688d04e
MM
233222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23323
23324 * gdb.btrace/function_call_history.exp: Update tests.
23325 * gdb.btrace/instruction_history.exp: Update tests.
23326
8710b709
MM
233272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23328
23329 * gdb.btrace/function_call_history.exp: Fix expected field
23330 order for "record function-call-history".
23331 Add new tests for "record function-call-history /c".
23332 * gdb.btrace/exception.cc: New.
23333 * gdb.btrace/exception.exp: New.
23334 * gdb.btrace/tailcall.exp: New.
23335 * gdb.btrace/x86-tailcall.S: New.
23336 * gdb.btrace/x86-tailcall.c: New.
23337 * gdb.btrace/unknown_functions.c: New.
23338 * gdb.btrace/unknown_functions.exp: New.
23339 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23340
5de9129b
MM
233412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23342
23343 * gdb.btrace/instruction_history.exp: Update.
23344 * gdb.btrace/function_call_history.exp: Update.
23345
23a7fe75
MM
233462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23347
23348 * gdb.btrace/function_call_history.exp: Fix expected function
23349 trace.
23350 * gdb.btrace/instruction_history.exp: Initialize traced.
23351 Remove traced_functions.
23352
724c7dd8
MM
233532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23354
23355 * gdb.btrace/function_call_history.exp: Update
23356 * gdb.btrace/instruction_history.exp: Update.
23357
6d78d93b
MM
233582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23359
23360 * gdb.btrace/enable.exp: Update expected text.
23361
93a360cc
OJ
233622014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23363
23364 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23365 bytes.
23366
3772b53f
MR
233672014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23368
23369 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23370
596662fa
OJ
233712014-01-15 Omair Javaid <omair.javaid@linaro.org>
23372
23373 * lib/gdb.exp (supports_process_record): Return true for
23374 arm*-linux*. (supports_reverse): Likewise.
23375
b5b08fb4
SC
233762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23377
23378 PR python/15464
23379 PR python/16113
23380 * gdb.python/py-type.c: Enhance test case.
23381 * gdb.python/py-value-cc.cc: Likewise
23382 * gdb.python/py-type.exp: Add new tests.
23383 * gdb.python/py-value-cc.exp: Likewise
23384
52d7fb13
AA
233852014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23386 Pedro Alves <palves@redhat.com>
23387
23388 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23389 Make "name" extern.
23390 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23391 references to ${name}_start by references to ${name}.
23392
a2cd8cfe
JB
233932014-01-10 Joel Brobecker <brobecker@adacore.com>
23394
23395 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23396
4e23fced
JB
233972014-01-10 Joel Brobecker <brobecker@adacore.com>
23398
23399 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23400
c6a9e42c
PA
234012014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23402 Pedro Alves <palves@redhat.com>
23403
23404 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23405 mi_gdb_target_load.
c6a9e42c 23406
b7ea362b
PA
234072014-01-08 Pedro Alves <palves@redhat.com>
23408
23409 * gdb.threads/reconnect-signal.c: New file.
23410 * gdb.threads/reconnect-signal.exp: New file.
23411
5e3f4fab
EBM
234122014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23413
23414 * gdb.base/source-dir.exp: New file.
23415
79301218
JB
234162014-01-07 Joel Brobecker <brobecker@adacore.com>
23417
23418 * gdb.ada/mi_interface: New testcase.
23419
8e355c5d
JB
234202014-01-07 Joel Brobecker <brobecker@adacore.com>
23421
23422 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23423 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23424 gdb.ada/pp-rec-component/pck.ads: New files.
23425
c0d48811
JB
234262014-01-07 Joel Brobecker <brobecker@adacore.com>
23427
23428 * gdb.python/py-pp-integral.c: New file.
23429 * gdb.python/py-pp-integral.py: New file.
23430 * gdb.python/py-pp-integral.exp: New file.
23431
17b609c3 23432For older changes see ChangeLog-1993-2013.
c906108c 23433\f
8d8cb839
EZ
23434;; Local Variables:
23435;; mode: change-log
23436;; left-margin: 8
23437;; fill-column: 74
23438;; version-control: never
23439;; End:
902f2ccb 23440
3666a048 23441 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23442 Copying and distribution of this file, with or without modification,
23443 are permitted provided the copyright notice and this notice are preserved.
This page took 5.335609 seconds and 4 git commands to generate.