]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/symtab] Fix indentation in create_cus_from_debug_names_list
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3eccb1c8
SV
12021-02-04 Shahab Vahedi <shahab@synopsys.com>
2
3 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
4
a71501e2
PA
52021-02-03 Pedro Alves <pedro@palves.net>
6
7 * gdb.threads/detach-step-over.c: New file.
8 * gdb.threads/detach-step-over.exp: New file.
9
92234eb1
PA
102021-02-03 Pedro Alves <pedro@palves.net>
11
12 * gdb.threads/attach-non-stop.c: New file.
13 * gdb.threads/attach-non-stop.exp: New file.
14
2e3773ff
LS
152021-02-02 Lancelot SIX <lsix@lancelotsix.com>
16
17 * gdb.base/inferior-noarg.c: New test.
18 * gdb.base/inferior-noarg.exp: New test.
19
e0bd9202
SM
202021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
21
22 * gdb.base/scope.exp: Use proc_with_prefix.
23
9307efbe
SM
242021-02-02 Simon Marchi <simon.marchi@efficios.com>
25
26 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
27 table proc.
28 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
29 .debug_rnglists table without offset array.
30 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
31 .debug_loclists table without offset array.
32
2b0c7f41
SM
332021-02-02 Simon Marchi <simon.marchi@efficios.com>
34
35 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
36 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
37 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
38 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
39 attribute
40
ecfda20d
SM
412021-02-02 Simon Marchi <simon.marchi@efficios.com>
42
43 PR gdb/26813
44 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
45 (loclists): New proc.
46 * gdb.dwarf2/loclists-multiple-cus.c: New.
47 * gdb.dwarf2/loclists-multiple-cus.exp: New.
48 * gdb.dwarf2/loclists-sec-offset.c: New.
49 * gdb.dwarf2/loclists-sec-offset.exp: New.
50
6b0933da
SM
512021-02-02 Simon Marchi <simon.marchi@efficios.com>
52
53 * lib/dwarf.exp (_location): Add parameters.
54 (_handle_DW_FORM): Adjust.
55
962effa7
SM
562021-02-02 Simon Marchi <simon.marchi@efficios.com>
57
58 PR gdb/26813
59 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
60 (cu): Generate header for DWARF 5.
61 (rnglists): New proc.
62 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
63 * gdb.dwarf2/rnglists-sec-offset.exp: New.
64
2bd3e4b8
TV
652021-02-02 Tom de Vries <tdevries@suse.de>
66
67 PR symtab/24620
68 * gdb.dwarf2/fission-reread.exp: Add test-case.
69
c39c8637
TV
702021-02-01 Tom de Vries <tdevries@suse.de>
71
72 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
73 * gdb.dwarf2/fission-loclists-pie.S: Same.
74 * gdb.dwarf2/fission-loclists.S: Same.
75 * gdb.dwarf2/fission-multi-cu.S: Same.
76 * gdb.dwarf2/fission-reread.S: Same.
77 * gdb.dwarf2/fission-base.exp: Use DWO.
78 * gdb.dwarf2/fission-loclists-pie.exp: Same.
79 * gdb.dwarf2/fission-loclists.exp: Same.
80 * gdb.dwarf2/fission-multi-cu.exp: Same.
81 * gdb.dwarf2/fission-reread.exp: Same.
82
ebde6f2d
TV
832021-01-29 Tom de Vries <tdevries@suse.de>
84
85 PR breakpoints/26063
86 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
87 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
88
620ec3ca
TV
892021-01-29 Tom de Vries <tdevries@suse.de>
90
91 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
92
cdeba395
TV
932021-01-28 Tom de Vries <tdevries@suse.de>
94
95 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
96 in the backtrace, and use that in the rest of the test instead of
97 hardcoded constant 3. Use "frame" instead of "up" for robustness.
98
c47b145e
TV
992021-01-28 Tom de Vries <tdevries@suse.de>
100
101 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
102 * gdb.arch/i386-sse-stack-align.c: Same.
103 * gdb.arch/i386-sse-stack-align.exp: Same.
104
47918cca
AB
1052021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
106
107 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
108
2f985dd1
TV
1092021-01-28 Tom de Vries <tdevries@suse.de>
110
111 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
112
22efa3d3
TV
1132021-01-28 Tom de Vries <tdevries@suse.de>
114
115 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
116 "maint info line-table". Make PASS pattern more specific. Make
117 FAIL pattern work for -m32.
118
59b59f08
LS
1192021-01-27 Lancelot SIX <lsix@lancelotsix.com>
120
121 PR gdb/27133
122 * gdb.base/ui-redirect.exp: Add test case that ensures that
123 redirecting both logging and debug does not cause gdb to crash.
124
125
807f647c
MM
1262021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
127
128 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
129
4ca40594
TV
1302021-01-26 Tom de Vries <tdevries@suse.de>
131
132 * gdb.threads/killed-outside.exp: Allow regular output.
133
d0021af3
TV
1342021-01-26 Tom de Vries <tdevries@suse.de>
135
136 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
137
9f6c202e
TV
1382021-01-25 Tom de Vries <tdevries@suse.de>
139
140 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
141 * lib/gdb.exp: Use gdb_load_no_complaints.
142
a625a8c9
TT
1432021-01-25 Tom Tromey <tromey@adacore.com>
144
145 * gdb.ada/fixed_points.exp: Add regression test.
146 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
147 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
148
19184910
TT
1492021-01-25 Tom Tromey <tromey@adacore.com>
150
151 * gdb.ada/local-enum.exp: Add enumerator resolution test.
152
acd6125f
TT
1532021-01-25 Tom Tromey <tromey@adacore.com>
154
155 * gdb.ada/local-enum.exp: New file.
156 * gdb.ada/local-enum/local.adb: New file.
157
1af4c9c4
TT
1582021-01-23 Tom Tromey <tom@tromey.com>
159
160 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
161
705646c0
BE
1622021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
163
164 * gdb.base/line65535.exp: Fix test expectation.
165
0ac85db5
SM
1662021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
167
168 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
169 suppression.
170 (default_gdb_exit): Likewise.
171 (default_gdb_spawn): Likewise.
172 (send_gdb): Likewise.
173 (gdb_expect): Likewise.
174 (gdb_expect_list): Likewise.
175 (default_gdb_init): Likewise.
176 (gdb_suppress_entire_file): Remove.
177 (gdb_suppress_tests): Remove.
178 (gdb_stop_suppressing_tests): Remove.
179 (gdb_clear_suppressed): Remove.
180 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
181 related to test suppression.
182 (default_mi_gdb_start): Likewise.
183 (mi_gdb_reinitialize_dir): Likewise.
184 (mi_gdb_test): Likewise.
185 (mi_run_cmd_full): Likewise.
186 (mi_runto_helper): Likewise.
187 (mi_execute_to): Likewise.
188 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
189 * gdb.base/bitfields.exp: Likewise.
190 * gdb.base/bitfields2.exp: Likewise.
191 * gdb.base/break.exp: Likewise.
192 * gdb.base/call-sc.exp: Likewise.
193 * gdb.base/callfuncs.exp: Likewise.
194 * gdb.base/dfp-test.exp: Likewise.
195 * gdb.base/endian.exp: Likewise.
196 * gdb.base/exprs.exp: Likewise.
197 * gdb.base/funcargs.exp: Likewise.
198 * gdb.base/hbreak2.exp: Likewise.
199 * gdb.base/recurse.exp: Likewise.
200 * gdb.base/scope.exp: Likewise.
201 * gdb.base/sepdebug.exp: Likewise.
202 * gdb.base/structs.exp: Likewise.
203 * gdb.base/until.exp: Likewise.
204 * gdb.cp/misc.exp: Likewise.
205
9d2d8a16
AB
2062021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 PR cli/25956
209 * gdb.base/style.exp (run_style_tests): Add version string test.
210 (test_startup_version_string): Use version style name.
211 * lib/gdb-utils.exp (style): Handle version style name.
212
e7b43072
AB
2132021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * gdb.base/style.exp (limited_style): New proc.
216 (clean_restart_and_disable): New proc.
217 (run_style_tests): New proc. Most of the old tests from this file
218 are now in this proc.
219 (test_startup_version_string): New proc. Reamining test from the
220 old file is in this proc.
221
2189c312
SM
2222021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
223
224 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
225 Adjust to "set debug remote" changes.
226
cd211c75
LM
2272021-01-21 Luis Machado <luis.machado@linaro.org>
228
229 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
230 message.
231
730af663
SM
2322021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
233
234 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
235
325d39e4
HD
2362021-01-21 Hannes Domani <ssbssa@yahoo.de>
237
238 PR python/19151
239 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
240
c3e96aa7
SM
2412021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
242
243 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
244
6571ffc6
SM
2452021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
246
247 * lib/tuiterm.exp: Add links in comments.
248
7c794afd
TV
2492021-01-20 Tom de Vries <tdevries@suse.de>
250
251 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
252 offset.
253
1402665c
TV
2542021-01-20 Tom de Vries <tdevries@suse.de>
255
256 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
257
6f52fdf4
SDJ
2582021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
259
260 * gdb.arch/amd64-stap-expressions.S: New file.
261 * gdb.arch/amd64-stap-expressions.exp: New file.
262
14852123
TV
2632021-01-19 Tom de Vries <tdevries@suse.de>
264
265 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
266 sequence.
267
0c4e2c6c
TV
2682021-01-19 Tom de Vries <tdevries@suse.de>
269
270 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
271
02baa133
AB
2722021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.fortran/array-slices.exp (run_test): Avoid including
275 addresses in test names.
276
10f92414
TV
2772021-01-15 Tom de Vries <tdevries@suse.de>
278
279 PR testsuite/26997
280 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
281 when adding sizeof.
282
116d0cf1
TV
2832021-01-14 Tom de Vries <tdevries@suse.de>
284
285 PR testsuite/24590
286 * gdb.base/style.exp: Handle shorter argv in frame command output.
287
8f66807b
AB
2882021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
289
290 PR gdb/26819
291 * gdb.server/stop-reply-no-thread-multi.c: New file.
292 * gdb.server/stop-reply-no-thread-multi.exp: New file.
293
3f94e588
TV
2942021-01-12 Tom de Vries <tdevries@suse.de>
295
296 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
297 (main): Remove call to have_mpx.
298 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
299 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
300 (main): Remote call to have_mpx.
301 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
302 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
303 (main): Remove call to have_mpx.
304 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
305 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
306 (main): Remove call to have_mpx.
307 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
308 * gdb.arch/i386-mpx.c (have_mpx): Remove.
309 (main): Remote call to have_mpx.
310 * gdb.arch/i386-mpx.exp: Use have_mpx.
311 * lib/gdb.exp (have_mpx): New proc.
312
5291fe3c
SP
3132021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
314
315 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
316
18bfb505
TV
3172021-01-12 Tom de Vries <tdevries@suse.de>
318
319 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
320
ce38f5ed
AB
3212021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * gdb.fortran/debug-expr.exp: Add new tests.
324
7c654b71
AB
3252021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
326
327 * gdb.fortran/dot-ops.exp: Add new tests.
328
10dadadc
TV
3292021-01-11 Tom de Vries <tdevries@suse.de>
330
331 PR testsuite/26968
332 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
333 Move insn setting $eax to before probe point.
334
66beed02
TT
3352021-01-09 Tom Tromey <tom@tromey.com>
336
337 * gdb.trace/ax.exp: Do not require an "ext".
338
8fc48b79
TT
3392021-01-08 Tom Tromey <tromey@adacore.com>
340
341 * gdb.ada/voidctx/pck.adb: New file.
342 * gdb.ada/voidctx/pck.ads: New file.
343 * gdb.ada/voidctx/voidctx.adb: New file.
344 * gdb.ada/voidctx.exp: New file.
345
6abd4cf2
SM
3462021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
347
348 PR gdb/27157
349 * gdb.base/empty-host-env-vars.exp: New test.
350
d00f0868
AB
3512021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
352
353 * gdb.base/completion.exp: Add a new test.
354
3c8c6de2
AB
3552021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
356
357 * gdb.fortran/intvar-dynamic-types.exp: New file.
358 * gdb.fortran/intvar-dynamic-types.f90: New file.
359
e3436813
AB
3602021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 * gdb.fortran/intvar-array.exp: New file.
363 * gdb.fortran/intvar-array.f90: New file.
364
d4813f10
TT
3652021-01-07 Tom Tromey <tromey@adacore.com>
366
367 * gdb.ada/assign_arr.exp: Add 'others' test.
368
b49180ac
TT
3692021-01-06 Tom Tromey <tromey@adacore.com>
370
371 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
372 (FP4_Type): New type.
373 (FP4_Var): New variable.
374 * gdb.ada/fixed_points/fixed_points.adb: Update.
375 * gdb.ada/fixed_points.exp: Add tests for binary operators.
376
3c55062c
SM
3772021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
378
379 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
380 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
381 Pass prompt containing debug print to gdb_test_sequence.
382
e4ad960a
TV
3832021-01-04 Tom de Vries <tdevries@suse.de>
384
385 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
386
3ec3145c
SM
3872021-01-04 Simon Marchi <simon.marchi@efficios.com>
388
389
390
8dc558a0
SM
3912021-01-04 Simon Marchi <simon.marchi@efficios.com>
392
393 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
394 * gdb.server/connect-without-multi-process.exp: Likewise.
395 * gdb.server/exit-multiple-threads.exp: Likewise.
396 * gdb.server/ext-attach.exp: Likewise.
397 * gdb.server/ext-restart.exp: Likewise.
398 * gdb.server/ext-run.exp: Likewise.
399 * gdb.server/ext-wrapper.exp: Likewise.
400 * gdb.server/multi-ui-errors.exp: Likewise.
401 * gdb.server/no-thread-db.exp: Likewise.
402 * gdb.server/reconnect-ctrl-c.exp: Likewise.
403 * gdb.server/run-without-local-binary.exp: Likewise.
404 * gdb.server/server-kill.exp: Likewise.
405 * gdb.server/server-run.exp: Likewise.
406 * gdb.server/solib-list.exp: Likewise.
407 * gdb.server/stop-reply-no-thread.exp: Likewise.
408 * gdb.server/wrapper.exp: Likewise.
409 * gdb.server/sysroot.exp: Increase timeout when testing the
410 target: sysroot.
411
d8387cc8
SM
4122021-01-04 Simon Marchi <simon.marchi@efficios.com>
413
414 * gdb.server/server-run.exp: Use clean_restart.
415
5169ae34
SM
4162021-01-04 Simon Marchi <simon.marchi@efficios.com>
417
418 * gdb.server/ext-run.exp: Use clean_restart.
419
7b0ff8a2
SM
4202021-01-04 Simon Marchi <simon.marchi@efficios.com>
421
422 * gdb.server/stop-reply-no-thread.exp: Use build_executable
423 instead of prepare_for_testing.
424
a754fbdf
SM
4252021-01-04 Simon Marchi <simon.marchi@efficios.com>
426
427 * gdb.server/solib-list.exp: Use clean_restart.
428
c5e71b33
TV
4292021-01-04 Tom de Vries <tdevries@suse.de>
430
431 * gdb.base/morestack.c: Remove printf.
432 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
433
9b243007
TT
4342020-12-31 Tom Tromey <tom@tromey.com>
435
436 * gdb.rust/simple.exp: Update output for Rust 1.49.
437
4ff509e7
BE
4382020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
439
440 * gdb.cp/step-and-next-inline.exp: Fix test case.
441
391750c3
SM
4422020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
443
444 * gdb.python/py-frame-args.exp: De-duplicate test names.
445
b7874836
AB
4462020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
447
448 PR gdb/27059
449 * gdb.dwarf2/dyn-type-unallocated.c: New file.
450 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
451
e1ff6226
PW
4522020-12-21 Peter Waller <p@pwaller.net>
453
454 * gdb.base/style-interp-exec-mi.exp: New.
455 * gdb.base/style-interp-exec-mi.c: New.
456
ca01f1bf
SM
4572020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
458
459 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
460 gdb_test. Use proc_with_prefix.
461
0fe69a94
MM
4622020-12-21 Markus Metzger <markus.t.metzger@intel.com>
463
464 * gdb.btrace/exception.exp: Build with nopie.
465 * gdb.btrace/function_call_history.exp: Likewise.
466 * gdb.btrace/unknown_functions.exp: Likewise.
467
806e7575
MM
4682020-12-21 Markus Metzger <markus.t.metzger@intel.com>
469
470 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
471
493d2172
MM
4722020-12-21 Markus Metzger <markus.t.metzger@intel.com>
473
474 * gdb.python/py-record-btrace.exp: Make test names unique.
475 * gdb.python/py-record-full.exp: Likewise.
476
1a1c0afc
MM
4772020-12-21 Markus Metzger <markus.t.metzger@intel.com>
478
479 * gdb.btrace/data.exp: Make test names unique.
480 * gdb.btrace/delta.exp: Likewise.
481 * gdb.btrace/enable.exp: Likewise.
482 * gdb.btrace/function_call_history.exp: Likewise.
483 * gdb.btrace/nohist.exp: Likewise.
484 * gdb.btrace/non-stop.exp: Likewise.
485 * gdb.btrace/rn-dl-bind.exp: Likewise.
486 * gdb.btrace/step.exp: Likewise.
487 * gdb.btrace/stepi.exp: Likewise.
488 * gdb.btrace/tailcall.exp: Likewise.
489
98d837f0
MM
4902020-12-21 Markus Metzger <markus.t.metzger@intel.com>
491
492 * gdb.btrace/enable.exp: Update error message.
493 * gdb.btrace/multi-inferior.exp: Likewise.
494 * gdb.btrace/reconnect.exp: Likewise.
495 * gdb.python/py-record-btrace.exp: Likewise.
496 * gdb.python/py-record-full.exp: Likewise.
497
c541fa7c
TV
4982020-12-20 Tom de Vries <tdevries@suse.de>
499
500 * lib/gdb.exp (save_target_board_info): New proc.
501 (gdb_compile_shlib): Use save_target_board_info.
502
60108e47
TV
5032020-12-19 Tom de Vries <tdevries@suse.de>
504
505 * lib/gdb.exp (supports_scalar_storage_order_attribute)
506 (supports_gnuc): New proc.
507 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
508 test_compiler_info calls. Add unsupported message.
509 * gdb.base/endianity.c: Use TEST_SSO.
510
fa639f55
HD
5112020-12-19 Hannes Domani <ssbssa@yahoo.de>
512
513 PR exp/27070
514 * gdb.python/compare-enum-type-a.c: New test.
515 * gdb.python/compare-enum-type-b.c: New test.
516 * gdb.python/compare-enum-type.exp: New file.
517 * gdb.python/compare-enum-type.h: New test.
518
4aea001f
HD
5192020-12-18 Hannes Domani <ssbssa@yahoo.de>
520
521 * gdb.python/py-format-string.exp: Add tests for address keyword.
522
b3f9469b
HD
5232020-12-18 Hannes Domani <ssbssa@yahoo.de>
524
525 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
526
86ef42bd
TT
5272020-12-18 Tom Tromey <tromey@adacore.com>
528
529 * gdb.ada/fixed_points.exp: Also run with
530 -fgnat-encodings=minimal. Update expected output.
531
93df4a1d
SM
5322020-12-16 Simon Marchi <simon.marchi@efficios.com>
533
534 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
535 * gdb.base/continue-all-already-running.exp: Likewise.
536 * gdb.base/moribund-step.exp: Likewise.
537 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
538
592995fa
TV
5392020-12-16 Tom de Vries <tdevries@suse.de>
540
541 * gdb.base/batch-preserve-term-settings.exp:
542
1e61189d
TV
5432020-12-16 Tom de Vries <tdevries@suse.de>
544
545 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
546 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
547
19007d95
LM
5482020-12-16 Luis Machado <luis.machado@linaro.org>
549
550 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
551 pointer-based memory accesses.
552 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
553 hw watchpoint cases.
554
a33fc9ae
RK
5552020-12-15 Rae Kim <rae.kim@gmail.com>
556
557 * gdb.base/document.exp: New test.
558
0e5ad442
TT
5592020-12-15 Tom Tromey <tromey@adacore.com>
560
561 * gdb.base/style.exp: Add deprecation tests.
562
60598dbd
SM
5632020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
564
565 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
566
8cd6d968
MW
5672020-12-14 Mark Wielaard <mark@klomp.org>
568
569 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
570 specially, set attr_form_comment to the actual FORM string used.
571
eab9267c
MW
5722020-12-14 Mark Wielaard <mark@klomp.org>
573
574 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
575 _constants(SPECIAL_expr) here, but set it...
576 (Dwarf::cu): ...here based on _cu_version.
577
2f413264
TV
5782020-12-14 Tom de Vries <tdevries@suse.de>
579
580 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
581 pass -fPIC.
582 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
583 * gdb.base/break-probes.exp: Same.
584 * gdb.base/ctxobj.exp: Same.
585 * gdb.base/dso2dso.exp: Same.
586 * gdb.base/global-var-nested-by-dso.exp: Same.
587 * gdb.base/info-shared.exp: Same.
588 * gdb.base/jit-reader-simple.exp: Same.
589 * gdb.base/print-file-var.exp: Same.
590 * gdb.base/skip-solib.exp: Same.
591 * gdb.btrace/dlopen.exp: Same.
592
18f1cb1f
TV
5932020-12-14 Tom de Vries <tdevries@suse.de>
594
595 PR testsuite/26963
596 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
597
519155c9
TV
5982020-12-14 Tom de Vries <tdevries@suse.de>
599
600 PR testsuite/26962
601 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
602 cast it to its declared type".
603
153f6e6c
TV
6042020-12-14 Tom de Vries <tdevries@suse.de>
605
606 PR testsuite/26951
607 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
608 shell prompt.
609
86b44259
TT
6102020-12-14 Tom Tromey <tromey@adacore.com>
611
612 * gdb.ada/nested.exp: Add new tests.
613 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
614
e26624c6
TT
6152020-12-14 Tom Tromey <tromey@adacore.com>
616
617 * gdb.dwarf2/ada-thick-pointer.exp: New file.
618
a3bdae4e
TT
6192020-12-14 Tom Tromey <tromey@adacore.com>
620
621 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
622
862fcbd8
TV
6232020-12-13 Tom de Vries <tdevries@suse.de>
624
625 PR testsuite/26953
626 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
627 attribute support if compiler doesn't support it.
628
a406a98e
TV
6292020-12-13 Tom de Vries <tdevries@suse.de>
630
631 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
632 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
633 source to shared lib. Add ada to options.
634
5d7e6ed0
TV
6352020-12-13 Tom de Vries <tdevries@suse.de>
636
637 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
638 calling gnatbind and gnatlink.
639
ee9812a0
AB
6402020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
641
642 * gdb.base/dcache-flush.c: New file.
643 * gdb.base/dcache-flush.exp: New file.
644
50a5f187
AB
6452020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
648 commands.
649 * gdb.base/killed-outside.exp: Likewise.
650 * gdb.opt/inline-bt.exp: Likewise.
651 * gdb.perf/gmonster-null-lookup.py: Likewise.
652 * gdb.perf/gmonster-print-cerr.py: Likewise.
653 * gdb.perf/gmonster-ptype-string.py: Likewise.
654 * gdb.python/py-unwind.exp: Likewise.
655
19c659f1
AB
6562020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * gdb.base/commands.exp: Update expected results.
659
9ef6d4a1
AB
6602020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 PR cli/15104
663 * gdb.base/commands.exp: Add additional tests.
664 * gdb.base/completion.exp: Add additional tests.
665
1536146f
AB
6662020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * gdb.base/completion.exp: Add additional tests.
669
346e7e19
TV
6702020-12-11 Tom de Vries <tdevries@suse.de>
671
672 PR testsuite/26991
673 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
674 violations by setting bounds registers if the bounds are passed in the
675 Bounds Table.
676
9cd7a95a
TV
6772020-12-11 Tom de Vries <tdevries@suse.de>
678
679 PR testsuite/26954
680 * gdb.base/float128.exp: Detect and handle no mpfr support.
681
4483a8e7
SM
6822020-12-10 Simon Marchi <simon.marchi@efficios.com>
683
684 PR gdb/24694
685 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
686 calls.
687
10067028
TV
6882020-12-10 Tom de Vries <tdevries@suse.de>
689
690 PR testsuite/26947
691 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
692 braces for tcl 8.5 and earlier.
693
5b56203a
SM
6942020-12-09 Simon Marchi <simon.marchi@efficios.com>
695
696 PR 26875, PR 26901
697 * gdb.base/flexible-array-member.c: New test.
698 * gdb.base/flexible-array-member.exp: New test.
699
b46551b2
TV
7002020-12-08 Tom de Vries <tdevries@suse.de>
701
702 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
703 using is_amd64_regs_target.
704
8439f446
TV
7052020-12-08 Tom de Vries <tdevries@suse.de>
706
707 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
708 self_id.
709
bc545da7
PA
7102020-12-07 Pedro Alves <pedro@palves.net>
711
712 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
713 'additional_flags' variable.
714
1f58f6c2
TBA
7152020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
716
717 * gdb.linespec/explicit.exp: Extend with a test to check completing
718 '-' after seemingly complete options.
719
5759831a
TBA
7202020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
721
722 * gdb.linespec/keywords.exp: Add tests to check positional
723 flexibility of "-force-condition".
724
21e051b3
TBA
7252020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
726
727 * gdb.base/bp-cmds-run-with-ex.c: New file.
728 * gdb.base/bp-cmds-run-with-ex.exp: New file.
729 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
730 * gdb.gdb/python-interrupts.exp: Update the call to
731 'catch_command_errors' with the new argument.
732 * gdb.gdb/python-selftest.exp: Ditto.
733
187b041e
SM
7342020-12-04 Simon Marchi <simon.marchi@efficios.com>
735
736 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
737 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
738 * gdb.threads/non-stop-fair-events.exp: Likewise.
739
3b7a962d
SM
7402020-12-04 Simon Marchi <simon.marchi@efficios.com>
741
742 * gdb.threads/step-over-exec.exp: New.
743 * gdb.threads/step-over-exec.c: New.
744 * gdb.threads/step-over-exec-execd.c: New.
745 * lib/my-syscalls.S: New.
746 * lib/my-syscalls.h: New.
747
e633b117
SM
7482020-12-04 Simon Marchi <simon.marchi@efficios.com>
749
750 * lib/dwarf.exp (declare_labels): Use name as text if text is
751 not provided.
752
67748e0f
TV
7532020-12-04 Tom de Vries <tdevries@suse.de>
754
755 PR testsuite/26990
756 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
757 are unsupported.
758
a8d13675
TV
7592020-12-04 Tom de Vries <tdevries@suse.de>
760
761 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
762 clause.
763
f17727b3
TV
7642020-12-04 Tom de Vries <tdevries@suse.de>
765
766 * gdb.reverse/insn-reverse.exp: Fix count handling.
767
a1499830
TV
7682020-12-04 Tom de Vries <tdevries@suse.de>
769
770 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
771 __x86_64__.
772
9c027c2f
TV
7732020-12-04 Tom de Vries <tdevries@suse.de>
774
775 * gdb.reverse/insn-reverse.c (test_nr): New var.
776 (usage, parse_args): New function.
777 (main): Call parse_args. Only run test for test_nr.
778 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
779 and bail out. Run subtests individually, using an inferior arg
780 specifying the subtest.
781
533b2ae0
AB
7822020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
785
e4502042
AB
7862020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
787
788 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
789 update test to use this.
790
f55a9a37
SM
7912020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
792
793 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
794
0a6155a0
SM
7952020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
796
797 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
798 (do_test): Don't use with_test_prefix.
799 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
800 (do_test): Don't use with_test_prefix.
801 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
802 (do_test): Don't use with_test_prefix.
803 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
804 (do_test): Don't use with_test_prefix.
805
4d56d64a
SM
8062020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
807
808 * gdb.threads/non-ldr-exit.exp: Fix comment.
809
54e75f29
AB
8102020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
811
812 * gdb.xml/maint-xml-dump-03.xml: New file.
813
7ce05d21
TV
8142020-11-30 Tom de Vries <tdevries@suse.de>
815
816 PR symtab/26905
817 * gdb.dwarf2/count.exp: Remove kfails.
818
50757f95
TBA
8192020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
820
821 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
822 indices.
823
4afa9fd9
JB
8242020-11-24 Joel Brobecker <brobecker@adacore.com>
825
826 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
827 the "ptype pck__fp1_range_var" test for the module-2 and pascal
828 languages. Remove the associated setup_xfail.
829
15a491af
SM
8302020-11-23 Simon Marchi <simon.marchi@efficios.com>
831
832 * lib/gdb.exp (gdb_assert): Show error message on error.
833
891615f0
TV
8342020-11-23 Tom de Vries <tdevries@suse.de>
835
836 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
837 * gdb.ada/mod_from_name.exp: Same.
838 * gdb.ada/pckd_arr_ren.exp: Same.
839
19922582
SM
8402020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
841
842 * gdb.base/template.exp: New.
843 * gdb.base/template.c: New.
844
117c628d
GB
8452020-11-22 Gary Benson <gbenson@redhat.com>
846
847 PR gdb/26905
848 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
849 is defined using a DW_AT_count which references another DIE.
850
da39d3ba
TV
8512020-11-21 Tom de Vries <tdevries@suse.de>
852
853 * gdb.base/vla-ptr.exp: Add XFAIL.
854
a5c641b5
AB
8552020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.fortran/array-slices-bad.exp: New file.
858 * gdb.fortran/array-slices-bad.f90: New file.
859 * gdb.fortran/array-slices-sub-slices.exp: New file.
860 * gdb.fortran/array-slices-sub-slices.f90: New file.
861 * gdb.fortran/array-slices.exp: Rewrite tests.
862 * gdb.fortran/array-slices.f90: Rewrite tests.
863 * gdb.fortran/vla-sizeof.exp: Correct expected results.
864
a15a5258
AB
8652020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.base/completion.exp: Add new completion tests.
868
7cb2893d
SM
8692020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
870
871 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
872 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
873 * gdb.mi/mi-nsintrall.exp: Likewise.
874 * gdb.mi/mi-nsmoribund.exp: Likewise.
875 * gdb.mi/mi-nsthrexec.exp: Likewise.
876 * gdb.mi/mi-watch-nonstop.exp: Likewise.
877
cf144ec8
SM
8782020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
879
880 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
881 of perror.
882
6b6a3e05
JM
8832020-11-18 Joseph Myers <joseph@codesourcery.com>
884
885 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
886 $arg.exe exists but $arg does not.
887
811bdca0
GB
8882020-11-17 Gary Benson <gbenson@redhat.com>
889
890 * gdb.trace/trace-common.h (x86_trace_dummy): Add
891 __attribute__ ((used)).
892
c72e3136
AB
8932020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
894
895 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
896
037d7135
AB
8972020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * gdb.base/completion.exp: Add new tests.
900
119e99bb
TT
9012020-11-16 Tom Tromey <tromey@adacore.com>
902
903 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
904 tests.
905
b74dbc20
JB
9062020-11-15 Joel Brobecker <brobecker@adacore.com>
907
908 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
909 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
910 (main): Add reference to pck__fp1_var2.
911 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
912
0a12719e
JB
9132020-11-15 Joel Brobecker <brobecker@adacore.com>
914
915 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
916
0c9150e4
JB
9172020-11-15 Joel Brobecker <brobecker@adacore.com>
918
919 * gdb.ada/fixed_points.exp: Add ptype tests.
920 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
921
b26daff9
JB
9222020-11-15 Joel Brobecker <brobecker@adacore.com>
923
924 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
925
09584414
JB
9262020-11-15 Joel Brobecker <brobecker@adacore.com>
927
928 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
929 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
930 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
931 New files.
932 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
933
934 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
935 New files.
936
9dd02fc0
AB
9372020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
938
939 PR cli/26879
940 * gdb.fortran/completion.exp: New file.
941 * gdb.fortran/completion.f90: New file.
942
5643c500
JM
9432020-11-12 Joseph Myers <joseph@codesourcery.com>
944
945 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
946 but $arg does not.
947
7bea47f0
AB
9482020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 * gdb.fortran/types.exp: Add more tests.
951
1f2624a3
TT
9522020-11-12 Tom Tromey <tom@tromey.com>
953
954 PR rust/26799:
955 * gdb.rust/traits.exp: Remove kfails.
956
9e74f0ae
GB
9572020-11-12 Gary Benson <gbenson@redhat.com>
958
959 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
960 statement.
961
acb994fa
SM
9622020-11-11 Simon Marchi <simon.marchi@efficios.com>
963
964 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
965 always-inserted" axis.
966 (do_test): Add breakpoint_always_inserted parameter.
967
95016fd2
TT
9682020-11-10 Tom Tromey <tromey@adacore.com>
969
970 * gdb.ada/bias.exp: Update.
971 * gdb.ada/bias/bias.adb (X): Change value.
972
83100a74
GB
9732020-11-10 Gary Benson <gbenson@redhat.com>
974
975 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
976 regexp fragment in parentheses to prevent false matching.
977
6ff174a7
GB
9782020-11-10 Gary Benson <gbenson@redhat.com>
979
980 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
981
eb24648c
GB
9822020-11-10 Gary Benson <gbenson@redhat.com>
983
984 * gdb.cp/step-and-next-inline.exp: Only require
985 -gstatement-frontiers when building with GCC.
986 Only setup KFAIL's for GCC issues when using
987 a GCC-built executable.
988
86775fab
AB
9892020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.base/debug-expr.c: Add extra function to allow for an
992 additional test.
993 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
994 to this proc with gdb_test_debug_expr. Add an extra test.
995 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
996 to this proc with gdb_test_debug_expr, give the tests names
997 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
998 calls to this proc with gdb_test_debug_expr, give the tests names
999 * gdb.fortran/debug-expr.exp: New file.
1000 * gdb.fortran/debug-expr.f90: New file.
1001 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1002
a1945bd4
SM
10032020-11-06 Simon Marchi <simon.marchi@efficios.com>
1004
1005 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1006 proceduresu.
1007 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1008 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1009 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1010 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1011 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1012 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1013 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1014 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1015
9c91c725
TT
10162020-11-04 Tom Tromey <tromey@adacore.com>
1017
1018 * gdb.ada/funcall_ref.exp: Update.
1019 * gdb.ada/var_rec_arr.exp: Update.
1020
8d9fd3a1
TT
10212020-11-04 Tom Tromey <tromey@adacore.com>
1022
1023 * gdb.ada/rec_ptype.exp: New file.
1024 * gdb.ada/rec_ptype/main.adb: New file.
1025 * gdb.ada/rec_ptype/p.ads: New file.
1026
d8f62e84
TT
10272020-11-04 Tom Tromey <tromey@adacore.com>
1028
1029 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1030 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1031 (PT_Full): New variable.
1032 * gdb.ada/tick_length_array_enum_idx/pck.adb
1033 (Full_PT): New type.
1034
7ff5b937
TT
10352020-11-04 Tom Tromey <tromey@adacore.com>
1036
1037 * gdb.ada/array_of_variant.exp: New file.
1038 * gdb.ada/array_of_variant/p.adb: New file.
1039 * gdb.ada/array_of_variant/pck.ads: New file.
1040 * gdb.ada/array_of_variant/pck.adb: New file.
1041
10f6a3ad
TT
10422020-11-04 Tom Tromey <tromey@adacore.com>
1043
1044 * gdb.ada/enum_idx_packed.exp: Add test.
1045 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1046 New variable.
1047 * gdb.ada/enum_idx_packed/pck.ads (Short)
1048 (Multi_Dimension, Multi_Dimension_Access): New types.
1049
b72795a8
TT
10502020-11-04 Tom Tromey <tromey@adacore.com>
1051
1052 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1053
24aa1b02
TT
10542020-11-04 Tom Tromey <tromey@adacore.com>
1055
1056 * gdb.ada/set_pckd_arr_elt.exp: Also test
1057 -fgnat-encodings=minimal. Add tests.
1058 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1059 Call Update_Small a second time.
1060 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1061 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1062 (Variant_Access): New types.
1063 (New_Variant): Declare.
1064
c9a28cbe
TT
10652020-11-04 Tom Tromey <tromey@adacore.com>
1066
1067 * gdb.ada/mod_from_name.exp: Test printing slice.
1068
57567375
TT
10692020-11-04 Tom Tromey <tromey@adacore.com>
1070
1071 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1072 values.
1073 * gdb.ada/access_to_unbounded_array.exp: Test different
1074 -fgnat-encodings values.
1075 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1076 values.
1077 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1078 values.
1079 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1080 values.
1081 * gdb.ada/array_of_variable_length.exp: Test different
1082 -fgnat-encodings values.
1083 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1084 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1085 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1086 change.
1087 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1088 values.
1089 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1090 * gdb.ada/out_of_line_in_inlined.exp: Test different
1091 -fgnat-encodings values.
1092 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1093 values.
1094 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1095 values.
1096 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1097 -fgnat-encodings values.
1098 * gdb.ada/variant_record_packed_array.exp: Test different
1099 -fgnat-encodings values.
1100
a7400e44
TT
11012020-11-04 Tom Tromey <tromey@adacore.com>
1102
1103 * gdb.ada/enum_idx_packed.exp: Add tests.
1104 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1105 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1106 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1107 declarations.
1108
c40907bf
TV
11092020-11-03 Tom de Vries <tdevries@suse.de>
1110
1111 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1112 terminator comments.
1113 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1114 terminator.
1115
f468977a
SM
11162020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1117
1118 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1119 integer format test with regexp.
1120
1c2bec19
GB
11212020-11-02 Gary Benson <gbenson@redhat.com>
1122
1123 * gdb.base/print-file-var.exp (test): Separate compiler and
1124 linker options, and build using build_executable_from_specs
1125 to accommodate this.
1126
6539a36d
GB
11272020-11-02 Gary Benson <gbenson@redhat.com>
1128
1129 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1130 for .c files compiled as C++ with Clang if any shared
1131 libraries are specified.
1132
7ea44a51
GB
11332020-11-02 Gary Benson <gbenson@redhat.com>
1134
1135 * lib/attributes.h: New header.
1136 * gdb.base/backtrace.c: Include the above. Replace
1137 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1138 * gdb.base/infcall-nested-structs.c: Likewise.
1139 * gdb.base/vla-optimized-out.c: Likewise.
1140
ab8f783d
TV
11412020-11-02 Tom de Vries <tdevries@suse.de>
1142
1143 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1144
d77c9224
JB
11452020-11-01 Joel Brobecker <brobecker@adacore.com>
1146
1147 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1148 System.Min_Int and System.Max_Int with smaller hardcoded
1149 constants.
1150
0e5b0dd0
SM
11512020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1152
1153 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1154 * configure: Re-generate.
1155
136821d9
SM
11562020-10-30 Simon Marchi <simon.marchi@efficios.com>
1157
1158 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1159 expected output.
1160
b78b3a29
TBA
11612020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1162
1163 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1164 behavior.
1165 * gdb.base/paginate-bg-execution.exp: Ditto.
1166 * gdb.base/paginate-inferior-exit.exp: Ditto.
1167 * gdb.base/double-prompt-target-event-error.c: Remove.
1168 * gdb.base/double-prompt-target-event-error.exp: Remove.
1169
cfaa8f76
TBA
11702020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1171
1172 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1173 inferiors' and 'detach inferiors' do not change the current
1174 inferior.
1175
0ad0e70c
TV
11762020-10-29 Tom de Vries <tdevries@suse.de>
1177
1178 * gdb.threads/tls.exp: Fix DUPLICATEs.
1179
99cc6b2a
TV
11802020-10-28 Tom de Vries <tdevries@suse.de>
1181
1182 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1183
efe9b873
TV
11842020-10-28 Tom de Vries <tdevries@suse.de>
1185
1186 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1187 * gdb.base/reread.exp: Same.
1188
6b68fd45
TV
11892020-10-28 Tom de Vries <tdevries@suse.de>
1190
1191 * lib/gdb.exp (readnow): Handle arg.
1192 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1193
32a5f98a
TV
11942020-10-28 Tom de Vries <tdevries@suse.de>
1195
1196 * gdb.base/relocate.exp: Update regexp for -readnow.
1197
f93b8760
TV
11982020-10-28 Tom de Vries <tdevries@suse.de>
1199
1200 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1201 -readnow.
1202
1b00ef06
TV
12032020-10-28 Tom de Vries <tdevries@suse.de>
1204
1205 PR symtab/26772
1206 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1207 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1208
364bb903
TV
12092020-10-28 Tom de Vries <tdevries@suse.de>
1210
1211 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1212 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1213 complaint during file command for -readnow.
1214
445a033f
TV
12152020-10-28 Tom de Vries <tdevries@suse.de>
1216
1217 * gdb.cp/nsalias.exp: Fix typo in test name.
1218
fdd67a42
TV
12192020-10-28 Tom de Vries <tdevries@suse.de>
1220
1221 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1222
706baf4c
TV
12232020-10-28 Tom de Vries <tdevries@suse.de>
1224
1225 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1226 -readnow.
1227
b448cca5
TV
12282020-10-27 Tom de Vries <tdevries@suse.de>
1229
1230 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1231
5868da03
TV
12322020-10-27 Tom de Vries <tdevries@suse.de>
1233
1234 * gdb.base/maint.exp: Update for -readnow.
1235
06db6ec3
TV
12362020-10-27 Tom de Vries <tdevries@suse.de>
1237
1238 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1239 -readnow.
1240
934a1764
GB
12412020-10-14 Gary Benson <gbenson@redhat.com>
1242
1243 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1244 "_vptr$Base" as correct, in addition to "_vptr.Base".
1245 (test_mixed): Likewise.
1246
0bf21fbd
GB
12472020-10-27 Gary Benson <gbenson@redhat.com>
1248
1249 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1250 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1251
b1d4d8d1
TBA
12522020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1253
1254 * gdb.base/condbreak.exp: Update the completion tests to
1255 consider the '-force' flag.
1256
bd24c5d6
TV
12572020-10-27 Tom de Vries <tdevries@suse.de>
1258
1259 * gdb.base/list-ambiguous-readnow.exp: New file.
1260
733d554a
TBA
12612020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1262
1263 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1264 the condition.
1265 * gdb.linespec/cpcompletion.exp: Update to consider the
1266 '-force-condition' keyword.
1267 * gdb.linespec/explicit.exp: Ditto.
1268 * lib/completion-support.exp: Ditto.
1269
b5fa468f
TBA
12702020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1271
1272 * gdb.base/condbreak-multi-context.cc: New file.
1273 * gdb.base/condbreak-multi-context.exp: New file.
1274
b3247276
TT
12752020-10-26 Tom Tromey <tom@tromey.com>
1276
1277 * lib/mi-support.exp (default_mi_gdb_start): Call
1278 gdb_stdin_log_init.
1279 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1280 subtract one from gdb_instances.
1281 (gdb_stdin_log_write): Flush in_file.
1282
1c47ec3e
TV
12832020-10-26 Tom de Vries <tdevries@suse.de>
1284
1285 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1286
6390859c
TT
12872020-10-26 Tom Tromey <tromey@adacore.com>
1288
1289 * gdb.ada/unsigned_range/foo.adb: New file.
1290 * gdb.ada/unsigned_range/pack.adb: New file.
1291 * gdb.ada/unsigned_range/pack.ads: New file.
1292 * gdb.ada/unsigned_range.exp: New file.
1293
55c3ad88
TV
12942020-10-26 Tom de Vries <tdevries@suse.de>
1295
1296 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1297
1612c4bb
TV
12982020-10-26 Tom de Vries <tdevries@suse.de>
1299
1300 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1301 for CU.
1302 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1303
7d72802b
TV
13042020-10-23 Tom de Vries <tdevries@suse.de>
1305
1306 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1307 DW_FORM_string.
1308 (Dwarf::_default_form): New proc.
1309 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1310 guessed.
1311
9476b583
TV
13122020-10-23 Tom de Vries <tdevries@suse.de>
1313
1314 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1315 * gdb.dwarf2/atomic-type.exp: Same.
1316 * gdb.dwarf2/bad-regnum.exp: Same.
1317 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1318 * gdb.dwarf2/dw2-align.exp: Same.
1319 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1320 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1321 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1322 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1323 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1324 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1325 * gdb.dwarf2/enum-type.exp: Same.
1326 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1327 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1328 * gdb.dwarf2/main-subprogram.exp: Same.
1329 * gdb.dwarf2/missing-type-name.exp: Same.
1330 * gdb.dwarf2/nonvar-access.exp: Same.
1331 * gdb.dwarf2/typedef-void-finish.exp: Same.
1332 * gdb.dwarf2/var-access.exp: Same.
1333 * gdb.dwarf2/void-type.exp: Same.
1334
4a636814
SM
13352020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1336
1337 PR gdb/26693
1338 * gdb.dwarf2/template-specification-full-name.exp: New test.
1339
557fc257
LM
13402020-10-22 Luis Machado <luis.machado@linaro.org>
1341
1342 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1343 expected an offset from the function.
1344 * gdb.base/msym-bp.exp (test): Likewise.
1345
6b4c676c
AB
13462020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1347
1348 * gdb.fortran/array-slices.exp: Add a new test.
1349
98cec4f6
GB
13502020-10-21 Gary Benson <gbenson@redhat.com>
1351
1352 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1353 fullname test with Clang. Also expand comments generally.
1354
ae86f581
TV
13552020-10-20 Tom de Vries <tdevries@suse.de>
1356
1357 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1358
8c161360
TV
13592020-10-20 Tom de Vries <tdevries@suse.de>
1360
1361 * gdb.dwarf2/arr-stride.c: Remove.
1362 * gdb.dwarf2/arr-stride.exp: Use main.c.
1363 * gdb.dwarf2/arr-subrange.c: Remove.
1364 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1365 * gdb.dwarf2/bad-regnum.c: Remove.
1366 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1367 * gdb.dwarf2/corrupt.c: Remove.
1368 * gdb.dwarf2/corrupt.exp: Use main.c.
1369 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1370 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1371 * gdb.dwarf2/dw2-icycle.c: Remove.
1372 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1373 * gdb.dwarf2/formdata16.c: Remove.
1374 * gdb.dwarf2/formdata16.exp: Use main.c.
1375 * gdb.dwarf2/implptrconst.c: Remove.
1376 * gdb.dwarf2/implptrconst.exp: Use main.c.
1377 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1378 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1379 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1380 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1381
9c2412ec
TV
13822020-10-20 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1385 file.
1386 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1387
0cd2ad78
TV
13882020-10-20 Tom de Vries <tdevries@suse.de>
1389
1390 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1391 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1392 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1393 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1394 * gdb.dwarf2/dw2-ranges.exp: Same.
1395 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1396 * gdb.dwarf2/var-access.exp: Same.
1397
22cc388e
TT
13982020-10-19 Tom Tromey <tromey@adacore.com>
1399
1400 PR tui/26719
1401 * gdb.tui/list.exp: Check source window contents after focus
1402 change.
1403
520596f2
TV
14042020-10-17 Tom de Vries <tdevries@suse.de>
1405
1406 PR symtab/26317
1407 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1408
d1c8a76d
TV
14092020-10-17 Tom de Vries <tdevries@suse.de>
1410
1411 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1412 as suffix.
1413 * gdb.dwarf2/atomic.c: Rename to ...
1414 * gdb.dwarf2/atomic-type.c: ... this.
1415 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1416 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1417 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1418 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1419 * gdb.dwarf2/fission-mix2.c: Rename to ...
1420 * gdb.dwarf2/fission-mix-2.c: ... this.
1421 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1422 standard_testfile.
1423 * gdb.dwarf2/ada-valprint-error.exp: Same.
1424 * gdb.dwarf2/arr-stride.exp: Same.
1425 * gdb.dwarf2/arr-subrange.exp: Same.
1426 * gdb.dwarf2/atomic-type.exp: Same.
1427 * gdb.dwarf2/bad-regnum.exp: Same.
1428 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1429 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1430 * gdb.dwarf2/clang-debug-names.exp: Same.
1431 * gdb.dwarf2/comp-unit-lang.exp: Same.
1432 * gdb.dwarf2/corrupt.exp: Same.
1433 * gdb.dwarf2/count.exp: Same.
1434 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1435 * gdb.dwarf2/data-loc.exp: Same.
1436 * gdb.dwarf2/dw2-align.exp: Same.
1437 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1438 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1439 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1440 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1441 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1442 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1443 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1444 * gdb.dwarf2/dw2-inline-param.exp: Same.
1445 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1446 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1447 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1448 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1449 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1450 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1451 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1452 * gdb.dwarf2/dw2-param-error.exp: Same.
1453 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1454 * gdb.dwarf2/dw2-ranges.exp: Same.
1455 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1456 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1457 * gdb.dwarf2/dw4-sig-types.exp: Same.
1458 * gdb.dwarf2/dynarr-ptr.exp: Same.
1459 * gdb.dwarf2/enum-type.exp: Same.
1460 * gdb.dwarf2/fission-mix.exp: Same.
1461 * gdb.dwarf2/formdata16.exp: Same.
1462 * gdb.dwarf2/implptrconst.exp: Same.
1463 * gdb.dwarf2/implptrpiece.exp: Same.
1464 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1465 * gdb.dwarf2/main-subprogram.exp: Same.
1466 * gdb.dwarf2/method-ptr.exp: Same.
1467 * gdb.dwarf2/missing-sig-type.exp: Same.
1468 * gdb.dwarf2/nonvar-access.exp: Same.
1469 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1470 * gdb.dwarf2/shortpiece.exp: Same.
1471 * gdb.dwarf2/staticvirtual.exp: Same.
1472 * gdb.dwarf2/subrange.exp: Same.
1473 * gdb.dwarf2/symtab-producer.exp: Same.
1474 * gdb.dwarf2/typedef-void-finish.exp: Same.
1475 * gdb.dwarf2/var-access.exp: Same.
1476 * gdb.dwarf2/variant.exp: Same.
1477 * gdb.dwarf2/void-type.exp: Same.
1478 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1479 dw2-ranges-main.c.
1480 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1481
472d09c1
TV
14822020-10-16 Tom de Vries <tdevries@suse.de>
1483
1484 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1485
afe75f6d
TV
14862020-10-16 Tom de Vries <tdevries@suse.de>
1487
1488 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1489
8c8bd0ba
TV
14902020-10-14 Tom de Vries <tdevries@suse.de>
1491
1492 PR testsuite/26732
1493 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1494 scenario 2.
1495 * gdb.ada/mi_catch_ex_hand.exp: Same.
1496
b75d55d4
PA
14972020-10-13 Pedro Alves <pedro@palves.net>
1498
1499 * lib/mi-support.exp (mi_clean_restart): New.
1500 (mi_run_to_main): Delete.
1501 All callers adjust to use mi_clean_restart / mi_runto_main.
1502
e777225b
PA
15032020-10-13 Pedro Alves <pedro@palves.net>
1504
1505 * config/monitor.exp: Use "list -q".
1506 * gdb.arch/gdb1558.exp: Use "break -q".
1507 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1508 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1509 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1510 * gdb.base/commands.exp: Use "break -q".
1511 * gdb.base/condbreak.exp: Use "break -q".
1512 * gdb.base/ctf-ptype.exp: Use "list -q".
1513 * gdb.base/define.exp: Use "break -q".
1514 * gdb.base/del.exp: Use "break -q".
1515 * gdb.base/fullname.exp: Use "break -q".
1516 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1517 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1518 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1519 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1520 "hbreak -q".
1521 * gdb.base/included.exp: Use "list -q".
1522 * gdb.base/label.exp: Use "break -q".
1523 * gdb.base/lineinc.exp: Use "break -q".
1524 * gdb.base/list.exp: Use "list -q".
1525 * gdb.base/macscp.exp: Use "list -q".
1526 * gdb.base/pending.exp: Use "break -q".
1527 * gdb.base/prologue-include.exp: Use "break -q".
1528 * gdb.base/ptype.exp: Use "list -q".
1529 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1530 * gdb.base/server-del-break.exp: Use "break -q".
1531 * gdb.base/style.exp: Use "break -q".
1532 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1533 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1534 * gdb.cp/exception.exp: Use "tbreak -q".
1535 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1536 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1537 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1538 * gdb.dwarf2/pr13961.exp: Use "break -q".
1539 * gdb.linespec/explicit.exp: Use "list -q".
1540 * gdb.linespec/linespec.exp: Use "break -q".
1541 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1542 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1543 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1544 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1545 * gdb.trace/change-loc.exp: Use "break -q".
1546 * gdb.trace/pending.exp: Use "break -q".
1547 * gdb.tui/basic.exp: Use "list -q".
1548 * gdb.tui/list-before.exp: Use "list -q".
1549 * gdb.tui/list.exp: Use "list -q".
1550 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1551
8abd8ee8
PA
15522020-10-13 Pedro Alves <pedro@palves.net>
1553
1554 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1555 saved breakpoints file.
1556 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1557 inspecting breakpoint list.
1558 * lib/gdb.exp (runto_main): Add "qualified" to options.
1559 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1560 and handle it.
1561 (mi_runto_main): Pass 1 as qualified argument.
1562
f71e6719
PA
15632020-10-13 Pedro Alves <pedro@palves.net>
1564
1565 * lib/mi-support.exp (mi_runto_main): New proc.
1566 (mi_run_to_main): Use it.
1567 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1568 * gdb.mi/mi-var-cmd.exp: Likewise.
1569 * gdb.mi/mi-var-invalidate.exp: Likewise.
1570 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1571 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1572 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1573 * gdb.mi/user-selected-context-sync.exp: Likewise.
1574 * gdb.opt/inline-cmds.exp: Likewise.
1575 * gdb.python/py-framefilter-mi.exp: Likewise.
1576 * gdb.python/py-mi.exp: Likewise.
1577
50441f0f
PA
15782020-10-13 Pedro Alves <pedro@palves.net>
1579
1580 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1581 "runto main".
1582 * gdb.ada/small_reg_param.exp: Likewise.
1583 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1584 * gdb.base/annota1.exp: Likewise.
1585 * gdb.base/anon.exp: Likewise.
1586 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1587 * gdb.base/dprintf-non-stop.exp: Likewise.
1588 * gdb.base/dprintf.exp: Likewise.
1589 * gdb.base/gdb11530.exp: Likewise.
1590 * gdb.base/gdb11531.exp: Likewise.
1591 * gdb.base/gnu_vector.exp: Likewise.
1592 * gdb.base/interrupt-noterm.exp: Likewise.
1593 * gdb.base/memattr.exp: Likewise.
1594 * gdb.base/step-over-syscall.exp: Likewise.
1595 * gdb.base/watch-cond-infcall.exp: Likewise.
1596 * gdb.base/watch-read.exp: Likewise.
1597 * gdb.base/watch-vfork.exp: Likewise.
1598 * gdb.base/watch_thread_num.exp: Likewise.
1599 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1600 * gdb.guile/scm-frame-inline.exp: Likewise.
1601 * gdb.linespec/explicit.exp: Likewise.
1602 * gdb.opt/inline-break.exp: Likewise.
1603 * gdb.python/py-frame-inline.exp: Likewise.
1604 * gdb.reverse/break-precsave.exp: Likewise.
1605 * gdb.reverse/break-reverse.exp: Likewise.
1606 * gdb.reverse/consecutive-precsave.exp: Likewise.
1607 * gdb.reverse/consecutive-reverse.exp: Likewise.
1608 * gdb.reverse/finish-precsave.exp: Likewise.
1609 * gdb.reverse/finish-reverse.exp: Likewise.
1610 * gdb.reverse/fstatat-reverse.exp: Likewise.
1611 * gdb.reverse/getresuid-reverse.exp: Likewise.
1612 * gdb.reverse/i386-precsave.exp: Likewise.
1613 * gdb.reverse/i386-reverse.exp: Likewise.
1614 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1615 * gdb.reverse/i387-env-reverse.exp: Likewise.
1616 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1617 * gdb.reverse/insn-reverse.exp: Likewise.
1618 * gdb.reverse/machinestate-precsave.exp: Likewise.
1619 * gdb.reverse/machinestate.exp: Likewise.
1620 * gdb.reverse/pipe-reverse.exp: Likewise.
1621 * gdb.reverse/readv-reverse.exp: Likewise.
1622 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1623 * gdb.reverse/rerun-prec.exp: Likewise.
1624 * gdb.reverse/s390-mvcle.exp: Likewise.
1625 * gdb.reverse/solib-precsave.exp: Likewise.
1626 * gdb.reverse/solib-reverse.exp: Likewise.
1627 * gdb.reverse/step-precsave.exp: Likewise.
1628 * gdb.reverse/step-reverse.exp: Likewise.
1629 * gdb.reverse/time-reverse.exp: Likewise.
1630 * gdb.reverse/until-precsave.exp: Likewise.
1631 * gdb.reverse/until-reverse.exp: Likewise.
1632 * gdb.reverse/waitpid-reverse.exp: Likewise.
1633 * gdb.reverse/watch-precsave.exp: Likewise.
1634 * gdb.reverse/watch-reverse.exp: Likewise.
1635 * gdb.threads/kill.exp: Likewise.
1636 * gdb.threads/tid-reuse.exp: Likewise.
1637
d3a07122
SM
16382020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1639
1640 PR gdb/26642
1641 * gdb.base/maint-target-async-off.c: New test.
1642 * gdb.base/maint-target-async-off.exp: New test.
1643
c65c6c42
AM
16442020-10-13 Alan Modra <amodra@gmail.com>
1645
1646 * gdb.arch/powerpc-altivec.s,
1647 * gdb.arch/powerpc-power7.s,
1648 * gdb.arch/powerpc-power8.s,
1649 * gdb.arch/powerpc-power9.s,
1650 * gdb.arch/powerpc-vsx.s,
1651 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1652 * gdb.arch/powerpc-altivec.exp,
1653 * gdb.arch/powerpc-power7.exp,
1654 * gdb.arch/powerpc-power8.exp,
1655 * gdb.arch/powerpc-power9.exp,
1656 * gdb.arch/powerpc-vsx.exp,
1657 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1658 disassembly of mfvsrd/mtvsrd.
1659
f4a0f710
AM
16602020-10-13 Alan Modra <amodra@gmail.com>
1661
1662 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1663 "target architecture" output.
1664 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1665 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1666 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1667 * gdb.arch/s390-disassembler-options.exp: Likewise.
1668
87a37e5e
PA
16692020-10-12 Pedro Alves <pedro@palves.net>
1670
1671 PR exp/26602
1672 PR c++/26550
1673 * gdb.cp/ambiguous.cc (marker1): Delete.
1674 (main): Initialize all the fields of the locals. Replace marker1
1675 call with a "set breakpoint here" marker.
1676 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1677 instead of running to marker1. Add tests printing all the
1678 variables and all the fields of the variables.
1679 (test_ambiguous): New proc, expecting the new GDB output when a
1680 field access is ambiguous. Change all "warning: X ambiguous"
1681 tests to use it.
1682
71e1b6b0
GB
16832020-10-12 Gary Benson <gbenson@redhat.com>
1684
1685 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1686 * gdb.base/msym-bp-2.c (foo): Likewise.
1687 * gdb.base/msym-lang.c (foo): Likewise.
1688 * gdb.base/msym-lang-main.c (foo): Likewise.
1689 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1690 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1691 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1692 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1693 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1694 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1695 * gdb.python/py-objfile.c (static_var): Likewise.
1696 * gdb.python/py-symbol.c (rr): Likewise.
1697 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1698 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1699
9370fd51
AB
17002020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1703 output of backtrace.
1704
7c184d33
TT
17052020-10-09 Tom Tromey <tromey@adacore.com>
1706
1707 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1708 (Rec): Add field. Fix range.
1709 * gdb.ada/scalar_storage.exp: Update.
1710
3d87245c
HD
17112020-10-09 Hannes Domani <ssbssa@yahoo.de>
1712
1713 PR exp/26714
1714 * gdb.base/printcmds.exp: Add tests for void results.
1715
f5c4b229
JV
17162020-10-09 Jan Vrany <jan.vrany@labware.com>
1717
1718 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1719 is emmited for both 'set directories' and 'directory' commands.
1720
b2701685
TT
17212020-10-08 Tom Tromey <tom@tromey.com>
1722
1723 * gdb.base/style.exp: Check that "main"'s name is styled.
1724
e86efb33
TT
17252020-10-07 Tom Tromey <tromey@adacore.com>
1726
1727 * gdb.base/find.exp: Rename some tests.
1728
30897591
GB
17292020-10-06 Gary Benson <gbenson@redhat.com>
1730
1731 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1732 * gdb.base/list1.c (unused): Likewise.
1733
ced4a4c1
GB
17342020-10-06 Gary Benson <gbenson@redhat.com>
1735
1736 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1737 __attribute__ ((used)).
1738 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1739
ed3bdac4
AB
17402020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1741
1742 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1743 make use of regions throughout.
1744 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1745 not {...}.
1746 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1747
cd096ec8
HD
17482020-10-05 Hannes Domani <ssbssa@yahoo.de>
1749
1750 * gdb.base/call-sc.c: Fix return struct on stack test case.
1751 * gdb.base/call-sc.exp: Likewise.
1752
3ee6f75d
GB
17532020-10-02 Gary Benson <gbenson@redhat.com>
1754
1755 * README: Fix "paralell".
1756
f65825ec
GB
17572020-09-30 Gary Benson <gbenson@redhat.com>
1758
1759 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1760 Convert directive to lowercase.
1761 (.Labbrev1_begin): Add missing label.
1762 (abbrev code 0x1): Remove DW_AT_stmt_list.
1763 (.Ldie_b): Likewise.
1764
5f278258
TT
17652020-09-27 Tom Tromey <tom@tromey.com>
1766
1767 * gdb.tui/new-layout.exp: Use with_test_prefix.
1768
8f9929bb
GR
17692020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1770
1771 PR python/26586
1772 * gdb.python/python.exp: add test cases for the from_tty
1773 argument to gdb.execute.
1774
c20c017b
GB
17752020-09-25 Gary Benson <gbenson@redhat.com>
1776
1777 * gdb.base/infcall-nested-structs.exp.tcl: Add
1778 additional_flags=-Wno-tautological-compare for C++
1779 tests when compiling using Clang.
1780
68d654af
GB
17812020-09-25 Gary Benson <gbenson@redhat.com>
1782
1783 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1784 for .c files.
1785
b551a89f
TT
17862020-09-24 Tom Tromey <tromey@adacore.com>
1787
1788 PR tui/26638:
1789 * gdb.tui/list.exp: Check output of "focus next".
1790
20a5fcbd
TT
17912020-09-23 Tom Tromey <tom@tromey.com>
1792
1793 * gdb.dwarf2/intbits.exp: New file.
1794 * gdb.dwarf2/intbits.c: New file.
1795
b167e53f
PA
17962020-09-20 Pedro Alves <pedro@palves.net>
1797
1798 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1799 spawn_id before calling remote_close. Close secondary MI channel.
1800
dbc49e9f
PA
18012020-09-20 Pedro Alves <pedro@palves.net>
1802
1803 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1804 fails.
1805
c8d5abea
AB
18062020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1807
1808 * gdb.fortran/array-slices.exp: Update expected results.
1809 * gdb.fortran/class-allocatable-array.exp: Likewise.
1810 * gdb.fortran/multi-dim.exp: Likewise.
1811 * gdb.fortran/vla-type.exp: Likewise.
1812 * gdb.mi/mi-vla-fortran.exp: Likewise.
1813
14f9473c
VC
18142020-09-18 Victor Collod <vcollod@nvidia.com>
1815
1816 PR gdb/26635
1817 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1818 compatible with i386, and move it to...
1819 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1820 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1821 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1822
e8ef12b9
PA
18232020-09-18 Pedro Alves <pedro@palves.net>
1824
1825 PR gdb/26631
1826 * gdb.multi/multi-target-thread-find.exp: New file.
1827
e11daf7a
PA
18282020-09-18 Pedro Alves <pedro@palves.net>
1829
1830 * gdb.multi/multi-target-continue.exp: New file, factored out from
1831 multi-target.exp.
1832 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1833 multi-target.exp.
1834 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1835 multi-target.exp.
1836 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1837 multi-target.exp.
1838 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1839 multi-target.exp.
1840 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1841 multi-target.exp.
1842 * gdb.multi/multi-target.exp: Delete.
1843
d0edc2b8
AB
18442020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1845
1846 * gdb.fortran/array-slices.exp: Add missing message data.
1847
7474326c
PA
18482020-09-17 Pedro Alves <pedro@palves.net>
1849
1850 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1851
dd23068d
PA
18522020-09-17 Pedro Alves <pedro@palves.net>
1853
1854 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1855 full prototype.
1856
0640a543
PA
18572020-09-17 Pedro Alves <pedro@palves.net>
1858
1859 * gdb.python/py-as-string.c: Add cast.
1860
ef0cdbc1
PA
18612020-09-17 Pedro Alves <pedro@palves.net>
1862
1863 * gdb.base/sizeof.c (fill): Add cast.
1864
3a5eeb8b
PA
18652020-09-17 Pedro Alves <pedro@palves.net>
1866
1867 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1868
a8129512
PA
18692020-09-17 Pedro Alves <pedro@palves.net>
1870
1871 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1872 linkage name.
1873 * gdb.base/prologue.exp: Use print /d.
1874 * gdb.base/symbol-alias.exp: Handle C++ output.
1875 * gdb.base/symbol-alias2.c: Handle C++ output.
1876 [__cplusplus] (func): Explicitly specify linkage name.
1877
a83cdcb6
PA
18782020-09-17 Pedro Alves <pedro@palves.net>
1879
1880 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1881 (struct my_key_t): ... this. Adjust all references.
1882 (struct value_t): Rename to ...
1883 (struct my_value_t): ... this. Adjust all references.
1884 (create_map, add_map_element, create_map_map)
1885 (add_map_map_element): Add casts.
1886
d4bcee5c
PA
18872020-09-17 Pedro Alves <pedro@palves.net>
1888
1889 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1890 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1891
81f90489
PA
18922020-09-17 Pedro Alves <pedro@palves.net>
1893
1894 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1895
0a229804
PA
18962020-09-17 Pedro Alves <pedro@palves.net>
1897
1898 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1899 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1900 (charfoo, intfoo): Define full prototype.
1901 * gdb.base/ptype1.c (charfoo): Define full prototype.
1902 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1903 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1904
c3e5138d
PA
19052020-09-17 Pedro Alves <pedro@palves.net>
1906
1907 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1908 Don't define.
1909 (utf_32_string): Compile for both C and C++.
1910 * gdb.base/charset.exp: Use "print /d".
1911
151fdbad
PA
19122020-09-17 Pedro Alves <pedro@palves.net>
1913
1914 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1915 (nullptr): Rename to ...
1916 (null_ptr): ... this.
1917 * gdb.base/watchpoint.exp: Adjust to rename.
1918
18a25b64
PA
19192020-09-17 Pedro Alves <pedro@palves.net>
1920
1921 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1922 (three_not_flag): Add casts.
1923
11fac337
PA
19242020-09-17 Pedro Alves <pedro@palves.net>
1925
1926 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1927 char array.
1928 (main): Add references to Barrier, TestStrings, TestStringsH and
1929 TestStringsW.
1930 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1931 and expect a full prototype in C++.
1932
52626c58
PA
19332020-09-17 Pedro Alves <pedro@palves.net>
1934
1935 * gdb.base/nested-addr.c (main): Add cast.
1936 * gdb.base/nested-addr.exp: Use "print /d".
1937
52bb0902
PA
19382020-09-17 Pedro Alves <pedro@palves.net>
1939
1940 * gdb.base/break.exp (func): New. Use it throughout when
1941 expecting a function name.
1942
73e18ac9
PA
19432020-09-17 Pedro Alves <pedro@palves.net>
1944
1945 * gdb.base/display.exp: Issue "set print asm-demangle on".
1946
c8b18808
PA
19472020-09-17 Pedro Alves <pedro@palves.net>
1948
1949 * gdb.base/find.c: Include <string.h>.
1950 (init_bufs): Add cast.
1951 * gdb.base/find.exp: Issue "set print asm-demangle on".
1952
fe830662
TT
19532020-09-16 Tom Tromey <tromey@adacore.com>
1954
1955 PR gdb/26598:
1956 * gdb.base/skipcxx.exp: New file.
1957 * gdb.base/skipcxx.cc: New file.
1958
945ff6e2
TV
19592020-09-16 Tom de Vries <tdevries@suse.de>
1960
1961 PR testsuite/26617
1962 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1963 WITH_DEBUG_SECTIONS is defined.
1964 (xstr, str): New macro.
1965 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1966 to get start and size of _Dmain.
1967 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1968 using additional_flags.
1969
da1df1db
TBA
19702020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1971
1972 * gdb.base/bp-cmds-sourced-script.c: New file.
1973 * gdb.base/bp-cmds-sourced-script.exp: New test.
1974 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1975
337882d4
TV
19762020-09-16 Tom de Vries <tdevries@suse.de>
1977
1978 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1979 get the gdb prompt after issuing "monitor exit".
1980
7361f908
TV
19812020-09-16 Tom de Vries <tdevries@suse.de>
1982
1983 PR testsuite/26624
1984 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1985
4d91ddd3
TV
19862020-09-16 Tom de Vries <tdevries@suse.de>
1987
1988 PR testsuite/26618
1989 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1990
08cc37dd
TT
19912020-09-15 Tom Tromey <tromey@adacore.com>
1992
1993 PR rust/26197:
1994 * lib/rust-support.exp (rust_llvm_version): New proc.
1995 * gdb.rust/simple.exp: Check rust_llvm_version.
1996
ee6372f2
TV
19972020-09-14 Tom de Vries <tdevries@suse.de>
1998
1999 * gdb.rust/traits.exp: Fix PATH warning.
2000
dc3a371e
PA
20012020-09-13 Pedro Alves <pedro@palves.net>
2002
2003 * gdb.base/catch-follow-exec.c (main): Add explicit return
2004 statement.
2005 * gdb.base/catch-signal.c (main): Likewise.
2006 * gdb.base/condbreak-call-false.c (main): Likewise.
2007 * gdb.base/consecutive.c (main): Add explicit return
2008 statement and return type.
2009 * gdb.base/cursal.c (main): Add explicit return statement.
2010 * gdb.base/cvexpr.c (main): Likewise.
2011 * gdb.base/display.c (main): Add explicit return statement and
2012 return type.
2013 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2014 * gdb.base/endianity.c (main): Likewise.
2015 * gdb.base/execd-prog.c (main): Likewise.
2016 * gdb.base/gdb1090.c (main): Likewise.
2017 * gdb.base/info_qt.c (main): Likewise.
2018 * gdb.base/lineinc.c (main): Likewise.
2019 * gdb.base/load-command.c (main): Likewise.
2020 * gdb.base/macscp1.c (main): Likewise.
2021 * gdb.base/pr10179-a.c (main): Likewise.
2022 * gdb.base/quit-live.c (main): Likewise.
2023 * gdb.base/scope0.c (main): Likewise.
2024 * gdb.base/settings.c (main): Likewise.
2025 * gdb.base/stack-checking.c (main): Return int.
2026 * gdb.base/varargs.c (main): Add explicit return statement.
2027 * gdb.cp/ambiguous.cc (main): Likewise.
2028 * gdb.cp/anon-struct.cc (main): Likewise.
2029 * gdb.cp/anon-union.cc (main): Likewise.
2030 * gdb.cp/bool.cc (main): Likewise.
2031 * gdb.cp/bs15503.cc (main): Likewise.
2032 * gdb.cp/cplusfuncs.cc (main): Likewise.
2033 * gdb.cp/cttiadd.cc (main): Likewise.
2034 * gdb.cp/extern-c.cc (main): Likewise.
2035 * gdb.cp/filename.cc (main): Likewise.
2036 * gdb.cp/formatted-ref.cc (main): Likewise.
2037 * gdb.cp/mb-ctor.cc (main): Likewise.
2038 * gdb.cp/member-ptr.cc (main): Likewise.
2039 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2040 * gdb.cp/overload-const.cc (main): Likewise.
2041 * gdb.cp/paren-type.cc (main): Likewise.
2042 * gdb.cp/parse-lang.cc (main): Likewise.
2043 * gdb.cp/pr-1023.cc (main): Likewise.
2044 * gdb.cp/psmang1.cc (main): Likewise.
2045 * gdb.cp/readnow-language.cc (main): Likewise.
2046 * gdb.cp/ref-params.cc (main): Likewise.
2047 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2048 * gdb.cp/virtbase2.cc (main): Likewise.
2049 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2050 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2051 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2052 * gdb.mi/mi-console.c (main): Likewise.
2053 * gdb.mi/mi-read-memory.c (main): Likewise.
2054 * gdb.modula2/multidim.c (main): Likewise.
2055 * gdb.opt/inline-small-func.c (main): Likewise.
2056 * gdb.python/py-rbreak.c (main): Likewise.
2057 * gdb.stabs/exclfwd1.c (main): Likewise.
2058 * gdb.trace/qtro.c (main): Likewise.
2059
af26601c
PA
20602020-09-13 Pedro Alves <pedro@palves.net>
2061
2062 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2063 instead of getenv.
2064
2f4b83cd
PA
20652020-09-13 Pedro Alves <pedro@palves.net>
2066
2067 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2068 instead of spawning GDB with remote_spawn.
2069 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2070 gdb_spawn instead of spawning GDB with remote_spawn.
2071
c49da0e4
PA
20722020-09-13 Pedro Alves <pedro@palves.net>
2073
2074 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2075 file and add calls to first and second.
2076 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2077 add call to f.
2078
6791b117
PA
20792020-09-13 Pedro Alves <pedro@palves.net>
2080
2081 * gdb.mi/mi-break-qualified.cc: New file.
2082 * gdb.mi/mi-break-qualified.exp: New file.
2083 * lib/mi-support.exp (mi_create_breakpoint_multi)
2084 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2085 procedures.
2086 (mi_create_breakpoint_1): New, factored out from
2087 mi_create_breakpoint.
2088
3b8d4c5c
PA
20892020-09-13 Pedro Alves <pedro@palves.net>
2090
2091 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2092 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2093 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2094 (register_class): Delete.
2095 (main): Don't call register_class.
2096
d5f96005
PA
20972020-09-13 Pedro Alves <pedro@palves.net>
2098
2099 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2100 (do_tests): Remove "calling method for small class" test.
2101 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2102 (register_class): Delete.
2103 (main): Don't call register_class.
2104 * gdb.cp/call-method-register.exp: New file, based on bits removed
2105 from classes.exp.
2106 * gdb.cp/call-method-register.cc: New file, based on bits removed
2107 from classes.cc.
2108
77f2120b
PA
21092020-09-13 Pedro Alves <pedro@palves.net>
2110
2111 * gdb.base/msym-bp-2.c: New.
2112 * gdb.base/msym-bp-shl-lib.c: New file.
2113 * gdb.base/msym-bp-shl-main-2.c: New file.
2114 * gdb.base/msym-bp-shl-main.c: New file.
2115 * gdb.base/msym-bp-shl.exp: New file.
2116 * gdb.base/msym-bp.c: New file.
2117 * gdb.base/msym-bp.exp: New file.
2118
32aea73e
JB
21192020-09-13 Joel Brobecker <brobecker@adacore.com>
2120
2121 * gdb.base/default.exp: Change $_gdb_major to 11.
2122
2a67f09d
FW
21232020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2124 Felix Willgerodt <Felix.Willgerodt@intel.com>
2125
2126 * x86-avx512bf16.c: New file.
2127 * x86-avx512bf16.exp: Likewise.
2128 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2129
ad570dd7
TV
21302020-09-11 Tom de Vries <tdevries@suse.de>
2131
2132 PR exp/26602
2133 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2134
a56f7391
TBA
21352020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2136
2137 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2138
918619e5
AM
21392020-09-10 Alan Modra <amodra@gmail.com>
2140
2141 PR 26597
2142 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2143
cac1e71d
TV
21442020-09-08 Tom de Vries <tdevries@suse.de>
2145
2146 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2147 after gdb_starti_cmd.
2148
c5cd900e
AKS
21492020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2150
2151 * lib/fortran.exp (fortran_complex8): New proc.
2152 (fortran_complex16): New proc.
2153 * gdb.fortran/complex.exp: Use routines from fortran.exp
2154 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2155 * gdb.fortran/vla-ptr-info.exp: Likewise.
2156
8f5c6526
TV
21572020-09-03 Tom de Vries <tdevries@suse.de>
2158
2159 PR breakpoint/26546
2160 * gdb.base/label-without-address.exp: Runto main first.
2161
02c6f3f1
TT
21622020-09-02 Tom Tromey <tromey@adacore.com>
2163
2164 * gdb.ada/mi_var_access.exp: Test children of access variable.
2165 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2166 * gdb.ada/mi_var_array.exp: Update.
2167
efe24f05
KB
21682020-08-31 Kevin Buettner <kevinb@redhat.com>
2169
2170 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2171 on docker w/ AUFS storage driver.
2172
973695d6
KB
21732020-08-31 Kevin Buettner <kevinb@redhat.com>
2174
2175 * gdb.base/corefile2.exp (renamed binfile): New tests.
2176
f3bd50f1
SM
21772020-08-31 Simon Marchi <simon.marchi@efficios.com>
2178
2179 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2180
22b9b4b0
SL
21812020-08-31 Simon Marchi <simon.marchi@efficios.com>
2182
2183 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2184 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2185
8efaf6b3
SM
21862020-08-31 Simon Marchi <simon.marchi@efficios.com>
2187
2188 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2189 output, printing a "not saved" value from history and printing a
2190 convenience variable created from a "not saved" value.
2191
e840f2e3
TV
21922020-08-31 Tom de Vries <tdevries@suse.de>
2193
2194 * gdb.base/eh_return.exp: Use nopie.
2195
8f57f343
PA
21962020-08-28 Pedro Alves <pedro@palves.net>
2197
2198 * gdb.base/advance-until-multiple-locations.exp
2199 (advance_overload, until_overload): Adjust to match the
2200 frame/function header instead of the source line text.
2201
626d2320
TV
22022020-08-28 Tom de Vries <tdevries@suse.de>
2203
2204 * gdb.base/label-without-address.c: New test.
2205 * gdb.base/label-without-address.exp: New file.
2206
df631783
PA
22072020-08-27 Pedro Alves <pedro@palves.net>
2208
2209 PR gdb/26523
2210 PR gdb/26524
2211 * gdb.base/advance-until-multiple-locations.cc: New.
2212 * gdb.base/advance-until-multiple-locations.exp: New.
2213
48b076bb
SM
22142020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2215
2216 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2217
c2015ce4
AB
22182020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2219
2220 * gdb.arch/amd64-byte.exp: Make test names unique, use
2221 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2222 * gdb.arch/amd64-dword.exp: Likewise.
2223 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2224 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2225 unique.
2226 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2227 * gdb.arch/amd64-word.exp: Make test names unique, use
2228 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2229 * gdb.arch/i386-byte.exp: Make test names unique, use
2230 gdb_breakpoint.
2231 * gdb.arch/i386-word.exp: Likewise.
2232
995d3a19
SV
22332020-08-25 Shahab Vahedi <shahab@synopsys.com>
2234
2235 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2236
8cac2b31
SM
22372020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2238
2239 PR gdb/26532
2240 * gdb.threads/stepi-random-signal.exp: Update pattern.
2241
2bc19622
SM
22422020-08-25 Simon Marchi <simon.marchi@efficios.com>
2243
2244 PR gdb/26532
2245 * gdb.base/ui-redirect.exp: Update pattern.
2246
b04aa1fc
GB
22472020-08-25 Gary Benson <gbenson@redhat.com>
2248
2249 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2250 when compiling with clang.
8571e9c8 2251 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2252
9f68b453
GB
22532020-08-25 Gary Benson <gbenson@redhat.com>
2254
2255 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2256 Add additional_flags=-Wno-inaccessible-base when compiling
2257 with GCC >= 10.1 or clang. Add additional_flags=-w when
2258 compiling with GCC < 10.
2259
3945d2d7
GM
22602020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2261
2262 PR m2/26372
fc5d6901
SM
2263 * gdb.modula2/multidim.c: New file.
2264 * gdb.modula2/multidim.exp: New file.
3945d2d7 2265
60122dbe
SM
22662020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2267
2268 * lib/gdb.exp (runto): Always emit fail on internal error.
2269
1eb8556f
SM
22702020-08-24 Simon Marchi <simon.marchi@efficios.com>
2271
2272 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2273 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2274 Likewise.
2275 * gdb.threads/stepi-random-signal.exp: Likewise.
2276
33bf4c5c
TBA
22772020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2278
2279 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2280 * gdb.trace/strace.exp: Ditto.
2281
c2fd7fae
AKS
22822020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2283
2284 * gdb.fortran/vla-type.exp: Skip commands not required for
2285 the Flang compiled binaries after prologue fix.
2286
326afb72
TT
22872020-08-17 Tom de Vries <tdevries@suse.de>
2288 Tom Tromey <tromey@adacore.com>
2289
2290 PR rust/26197:
2291 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2292
3ae7ab99
TT
22932020-08-17 Tom Tromey <tromey@adacore.com>
2294
2295 * gdb.ada/mi_var_access.exp: New file.
2296 * gdb.ada/mi_var_access/mi_access.adb: New file.
2297 * gdb.ada/mi_var_access/pck.adb: New file.
2298 * gdb.ada/mi_var_access/pck.ads: New file.
2299
f569c1c5
TV
23002020-08-16 Tom de Vries <tdevries@suse.de>
2301
2302 PR gdb/25350
2303 * gdb.base/eh_return.c: New test.
2304 * gdb.base/eh_return.exp: New file.
2305
3d11c30a
TV
23062020-08-15 Tom de Vries <tdevries@suse.de>
2307
2308 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2309 (mixed_func_1d_): Use fortran_charlen_t in decl.
2310
547ce8f0
TV
23112020-08-15 Tom de Vries <tdevries@suse.de>
2312
2313 PR backtrace/26390
2314 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2315 Update expected pattern.
2316
a54a7f13
PA
23172020-08-13 Pedro Alves <pedro@palves.net>
2318
2319 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2320 * gdb.fortran/library-module.exp: Likewise.
2321 * gdb.fortran/logical.exp: Likewise.
2322 * gdb.fortran/module.exp: Likewise.
2323 * gdb.fortran/print_type.exp: Likewise.
2324 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2325 * gdb.fortran/vla-datatypes.exp: Likewise.
2326 * gdb.fortran/vla-history.exp: Likewise.
2327 * gdb.fortran/vla-ptr-info.exp: Likewise.
2328 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2329 * gdb.fortran/vla-ptype.exp: Likewise.
2330 * gdb.fortran/vla-sizeof.exp: Likewise.
2331 * gdb.fortran/vla-type.exp: Likewise.
2332 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2333 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2334 * gdb.fortran/vla-value-sub.exp: Likewise.
2335 * gdb.fortran/vla-value.exp: Likewise.
2336
7a82e903
PA
23372020-08-13 Pedro Alves <pedro@palves.net>
2338
2339 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2340 * gdb.ada/access_to_packed_array.exp: Likewise.
2341 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2342 * gdb.ada/addr_arith.exp: Likewise.
2343 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2344 * gdb.ada/arr_arr.exp: Likewise.
2345 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2346 * gdb.ada/array_bounds.exp: Likewise.
2347 * gdb.ada/array_of_variable_length.exp: Likewise.
2348 * gdb.ada/array_ptr_renaming.exp: Likewise.
2349 * gdb.ada/array_subscript_addr.exp: Likewise.
2350 * gdb.ada/arraydim.exp: Likewise.
2351 * gdb.ada/arrayparam.exp: Likewise.
2352 * gdb.ada/arrayptr.exp: Likewise.
2353 * gdb.ada/assign_1.exp: Likewise.
2354 * gdb.ada/assign_arr.exp: Likewise.
2355 * gdb.ada/atomic_enum.exp: Likewise.
2356 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2357 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2358 * gdb.ada/bias.exp: Likewise.
2359 * gdb.ada/boolean_expr.exp: Likewise.
2360 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2361 * gdb.ada/bp_enum_homonym.exp: Likewise.
2362 * gdb.ada/bp_inlined_func.exp: Likewise.
2363 * gdb.ada/bp_on_var.exp: Likewise.
2364 * gdb.ada/bp_range_type.exp: Likewise.
2365 * gdb.ada/bp_reset.exp: Likewise.
2366 * gdb.ada/call_pn.exp: Likewise.
2367 * gdb.ada/catch_assert_if.exp: Likewise.
2368 * gdb.ada/catch_ex.exp: Likewise.
2369 * gdb.ada/catch_ex_std.exp: Likewise.
2370 * gdb.ada/char_enum.exp: Likewise.
2371 * gdb.ada/char_param.exp: Likewise.
2372 * gdb.ada/complete.exp: Likewise.
2373 * gdb.ada/cond_lang.exp: Likewise.
2374 * gdb.ada/convvar_comp.exp: Likewise.
2375 * gdb.ada/dgopt.exp: Likewise.
2376 * gdb.ada/disc_arr_bound.exp: Likewise.
2377 * gdb.ada/display_nested.exp: Likewise.
2378 * gdb.ada/dot_all.exp: Likewise.
2379 * gdb.ada/dyn_loc.exp: Likewise.
2380 * gdb.ada/dyn_stride.exp: Likewise.
2381 * gdb.ada/excep_handle.exp: Likewise.
2382 * gdb.ada/expr_delims.exp: Likewise.
2383 * gdb.ada/expr_with_funcall.exp: Likewise.
2384 * gdb.ada/exprs.exp: Likewise.
2385 * gdb.ada/fin_fun_out.exp: Likewise.
2386 * gdb.ada/fixed_cmp.exp: Likewise.
2387 * gdb.ada/formatted_ref.exp: Likewise.
2388 * gdb.ada/frame_arg_lang.exp: Likewise.
2389 * gdb.ada/frame_args.exp: Likewise.
2390 * gdb.ada/fullname_bp.exp: Likewise.
2391 * gdb.ada/fun_addr.exp: Likewise.
2392 * gdb.ada/fun_in_declare.exp: Likewise.
2393 * gdb.ada/fun_overload_menu.exp: Likewise.
2394 * gdb.ada/fun_renaming.exp: Likewise.
2395 * gdb.ada/funcall_char.exp: Likewise.
2396 * gdb.ada/funcall_param.exp: Likewise.
2397 * gdb.ada/funcall_ptr.exp: Likewise.
2398 * gdb.ada/funcall_ref.exp: Likewise.
2399 * gdb.ada/homonym.exp: Likewise.
2400 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2401 * gdb.ada/info_auto_lang.exp: Likewise.
2402 * gdb.ada/info_exc.exp: Likewise.
2403 * gdb.ada/info_types.exp: Likewise.
2404 * gdb.ada/int_deref.exp: Likewise.
2405 * gdb.ada/interface.exp: Likewise.
2406 * gdb.ada/iwide.exp: Likewise.
2407 * gdb.ada/lang_switch.exp: Likewise.
2408 * gdb.ada/length_cond.exp: Likewise.
2409 * gdb.ada/maint_with_ada.exp: Likewise.
2410 * gdb.ada/mi_catch_assert.exp: Likewise.
2411 * gdb.ada/mi_catch_ex.exp: Likewise.
2412 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2413 * gdb.ada/mi_dyn_arr.exp: Likewise.
2414 * gdb.ada/mi_ex_cond.exp: Likewise.
2415 * gdb.ada/mi_exc_info.exp: Likewise.
2416 * gdb.ada/mi_interface.exp: Likewise.
2417 * gdb.ada/mi_prot.exp: Likewise.
2418 * gdb.ada/mi_ref_changeable.exp: Likewise.
2419 * gdb.ada/mi_string_access.exp: Likewise.
2420 * gdb.ada/mi_task_arg.exp: Likewise.
2421 * gdb.ada/mi_task_info.exp: Likewise.
2422 * gdb.ada/mi_var_array.exp: Likewise.
2423 * gdb.ada/mi_var_union.exp: Likewise.
2424 * gdb.ada/mi_variant.exp: Likewise.
2425 * gdb.ada/minsyms.exp: Likewise.
2426 * gdb.ada/mod_from_name.exp: Likewise.
2427 * gdb.ada/nested.exp: Likewise.
2428 * gdb.ada/null_array.exp: Likewise.
2429 * gdb.ada/optim_drec.exp: Likewise.
2430 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2431 * gdb.ada/packed_array_assign.exp: Likewise.
2432 * gdb.ada/packed_tagged.exp: Likewise.
2433 * gdb.ada/pp-rec-component.exp: Likewise.
2434 * gdb.ada/print_chars.exp: Likewise.
2435 * gdb.ada/print_pc.exp: Likewise.
2436 * gdb.ada/ptr_typedef.exp: Likewise.
2437 * gdb.ada/ptype_arith_binop.exp: Likewise.
2438 * gdb.ada/ptype_array.exp: Likewise.
2439 * gdb.ada/ptype_field.exp: Likewise.
2440 * gdb.ada/ptype_tagged_param.exp: Likewise.
2441 * gdb.ada/ptype_union.exp: Likewise.
2442 * gdb.ada/py_range.exp: Likewise.
2443 * gdb.ada/py_taft.exp: Likewise.
2444 * gdb.ada/rdv_wait.exp: Likewise.
2445 * gdb.ada/rec_comp.exp: Likewise.
2446 * gdb.ada/rec_return.exp: Likewise.
2447 * gdb.ada/ref_param.exp: Likewise.
2448 * gdb.ada/ref_tick_size.exp: Likewise.
2449 * gdb.ada/rename_subscript_param.exp: Likewise.
2450 * gdb.ada/repeat_dyn.exp: Likewise.
2451 * gdb.ada/same_component_name.exp: Likewise.
2452 * gdb.ada/same_enum.exp: Likewise.
2453 * gdb.ada/scalar_storage.exp: Likewise.
2454 * gdb.ada/set_wstr.exp: Likewise.
2455 * gdb.ada/small_reg_param.exp: Likewise.
2456 * gdb.ada/str_binop_equal.exp: Likewise.
2457 * gdb.ada/str_ref_cmp.exp: Likewise.
2458 * gdb.ada/str_uninit.exp: Likewise.
2459 * gdb.ada/sub_variant.exp: Likewise.
2460 * gdb.ada/sym_print_name.exp: Likewise.
2461 * gdb.ada/taft_type.exp: Likewise.
2462 * gdb.ada/tagged.exp: Likewise.
2463 * gdb.ada/tagged_access.exp: Likewise.
2464 * gdb.ada/task_bp.exp: Likewise.
2465 * gdb.ada/task_switch_in_core.exp: Likewise.
2466 * gdb.ada/tasks.exp: Likewise.
2467 * gdb.ada/tick_last_segv.exp: Likewise.
2468 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2469 * gdb.ada/type_coercion.exp: Likewise.
2470 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2471 * gdb.ada/unchecked_union.exp: Likewise.
2472 * gdb.ada/uninitialized_vars.exp: Likewise.
2473 * gdb.ada/var_arr_attrs.exp: Likewise.
2474 * gdb.ada/var_arr_typedef.exp: Likewise.
2475 * gdb.ada/var_rec_arr.exp: Likewise.
2476 * gdb.ada/variant-record.exp: Likewise.
2477 * gdb.ada/variant.exp: Likewise.
2478 * gdb.ada/variant_record_packed_array.exp: Likewise.
2479 * gdb.ada/varsize_limit.exp: Likewise.
2480 * gdb.ada/whatis_array_val.exp: Likewise.
2481 * gdb.ada/widewide.exp: Likewise.
2482 * gdb.ada/win_fu_syms.exp: Likewise.
2483
24842020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2485
2486 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2487
10c381b5
AB
24882020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2489
2490 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2491 unset the array variable.
2492
8f34b746
TV
24932020-08-03 Tom de Vries <tdevries@suse.de>
2494
2495 PR symtab/26333
2496 * lib/dwarf.exp (DW_LNE_user): New proc.
2497 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2498 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2499
0245e136
KB
25002020-07-31 Kevin Buettner <kevinb@redhat.com>
2501
2502 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2503 to 'uintptr_t'
2504 (inttypes.h): Include.
2505
9ef1ec5d
KB
25062020-07-31 Kevin Buettner <kevinb@redhat.com>
2507
2508 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2509 (C5_24k): Delete.
2510 (C5_8k, C5_64k, C5_256k): New macros.
2511 (buf_ro): Allocate 256 KiB of initialized data.
2512
4c55e970
TBA
25132020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2514
2515 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2516 that attempt to overwrite an existing condition with a condition
2517 that fails parsing and also with a condition that parses fine
2518 but contains junk at the end.
2519
1e620590
TBA
25202020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2521
2522 * gdb.base/condbreak-bad.c: New test.
2523 * gdb.base/condbreak-bad.exp: New file.
2524
e12dcc50
TV
25252020-07-30 Tom de Vries <tdevries@suse.de>
2526
2527 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2528 out of ...
2529 (GDBInfoModuleSymbols::check_entry): ... here.
2530 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2531 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2532 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2533
6cc64caa
TV
25342020-07-30 Tom de Vries <tdevries@suse.de>
2535
2536 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2537 "__class_some_module_Number_t" optional.
2538
90fd07fc
TV
25392020-07-29 Tom de Vries <tdevries@suse.de>
2540
2541 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2542 multiple locations.
2543
f5c79e97
TV
25442020-07-29 Tom de Vries <tdevries@suse.de>
2545
2546 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2547 rather than function name.
2548
f75a0693
AB
25492020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2550
2551 PR symtab/26270:
2552 * gdb.cp/disasm-func-name.cc: New file.
2553 * gdb.cp/disasm-func-name.exp: New file.
2554
4888741a
TT
25552020-07-28 Tom Tromey <tromey@adacore.com>
2556
2557 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2558 'varval' location.
2559
43d5901d
AB
25602020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2561
2562 * gdb.python/py-unwind.py: Update to make use of a register
2563 descriptor.
2564
14fa8fb3
AB
25652020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2566
2567 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2568
e79eb02f
AB
25692020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2570
2571 PR fortran/23051
2572 PR fortran/26139
2573 * gdb.fortran/class-allocatable-array.exp: New file.
2574 * gdb.fortran/class-allocatable-array.f90: New file.
2575 * gdb.fortran/pointer-to-pointer.exp: New file.
2576 * gdb.fortran/pointer-to-pointer.f90: New file.
2577
876518dd
TV
25782020-07-25 Tom de Vries <tdevries@suse.de>
2579
2580 PR symtab/26243
2581 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2582 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2583
6dcfb80a
TV
25842020-07-24 Tom de Vries <tdevries@suse.de>
2585
2586 PR testsuite/26293
2587 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2588
e7bc9db8
PA
25892020-07-23 Pedro Alves <pedro@palves.net>
2590
2591 * gdb.server/server-kill.exp (prepare): New, factored out from the
2592 top level.
2593 (kill_server): New.
2594 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2595 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2596
78344df7
AB
25972020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2598
2599 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2600
25dfed24
SL
26012020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2602
2603 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2604 Initialize to empty string at top level.
2605 (gdb_wrapper_init): Revert check for file existence on build.
2606 Build the wrapper in its default place, not a build-specific
2607 location. When host == build, make the pathname absolute.
2608 (gdb_compile): Delete leftover declaration of
2609 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2610 string instead of uninitialized.
2611
7da515fd
KB
26122020-07-22 Kevin Buettner <kevinb@redhat.com>
2613
2614 * gdb.base/corefile2.exp: New file.
2615 * gdb.base/coremaker2.exp: New file.
2616
9c5ec5c2
KB
26172020-07-22 Kevin Buettner <kevinb@redhat.com>
2618
2619 * gdb.base/coredump-filter.exp: Add second
2620 non-Private-Shared-Anon-File test.
2621 (test_disasm): Rename binfile for test which is expected
2622 to fail.
2623
f9e233c9
KB
26242020-07-22 Kevin Buettner <kevinb@redhat.com>
2625
2626 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2627 data in core file".
2628 * gdb.base/coremaker.c (buf2ro): New global.
2629 (mmapdata): Add a read-only mmap mapping.
2630
94c265d7
KB
26312020-07-22 Kevin Buettner <kevinb@redhat.com>
2632
2633 PR corefiles/25631
2634 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2635 New test.
2636 * gdb.base/coremaker.c (buf3): New global.
2637 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2638 flags.
2639
26402020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2641
2642 * gdb.base/coremaker.c (filler_ro): New global constant.
2643
32fa152e
TT
26442020-07-22 Tom Tromey <tromey@adacore.com>
2645
2646 * gdb.ada/mi_prot.exp: New file.
2647 * gdb.ada/mi_prot/pkg.adb: New file.
2648 * gdb.ada/mi_prot/pkg.ads: New file.
2649 * gdb.ada/mi_prot/prot.adb: New file.
2650
c8474dc3
TBA
26512020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2652
2653 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2654 loads two JITers.
2655
baf8791e
AB
26562020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2657
2658 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2659
f7306dac
AB
26602020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2661
2662 * gdb.python/py-arch-reg-names.exp: Additional tests.
2663
6d3d6e4b
TV
26642020-07-21 Tom de Vries <tdevries@suse.de>
2665
2666 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2667 breakpoint locations".
2668 * gdb.reverse/solib-reverse.exp: Same.
2669
803d0592
TV
26702020-07-21 Tom de Vries <tdevries@suse.de>
2671
2672 * gdb.reverse/step-reverse.c (callee): Merge statements.
2673
e9bdc510
TV
26742020-07-21 Tom de Vries <tdevries@suse.de>
2675
2676 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2677 line numbers for some variables.
2678
f0f9e75a
TV
26792020-07-21 Tom de Vries <tdevries@suse.de>
2680
2681 * gdb.opt/inline-locals.c (init_array): New func.
2682 (func1): Use init_array.
2683 * gdb.opt/inline-locals.exp: Update pattern.
2684
bd460ecb
TV
26852020-07-21 Tom de Vries <tdevries@suse.de>
2686
2687 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2688 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2689
ae5369e7
LC
26902020-07-20 Ludovic Courtès <ludo@gnu.org>
2691
2692 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2693 * gdb.guile/types-module.exp: Remove "ERROR:" from
2694 regexps since Guile 3.0 no longer prints that.
2695
68cf161c
LC
26962020-07-20 Ludovic Courtès <ludo@gnu.org>
2697
2698 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2699 error regexp to match on Guile 2.2.
2700
c14b4913
GB
27012020-07-20 Gary Benson <gbenson@redhat.com>
2702
2703 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2704 with clang.
2705
b243ba58
TV
27062020-07-20 Tom de Vries <tdevries@suse.de>
2707
2708 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2709 (omp_set_lock_in_order): New function.
2710 (single_scope, multi_scope, nested_func, nested_parallel): Use
2711 omp_set_lock_in_order and omp_unset_lock.
2712 (main): Init and destroy lock and lock2.
2713
c06ad8b5
TV
27142020-07-20 Tom de Vries <tdevries@suse.de>
2715
2716 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2717
6e22f117
TV
27182020-07-20 Tom de Vries <tdevries@suse.de>
2719
2720 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2721
33176ea7
TV
27222020-07-17 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.base/valgrind-infcall-2.c: New test.
2725 * gdb.base/valgrind-infcall-2.exp: New file.
2726 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2727
90c3ec2d
TV
27282020-07-17 Tom de Vries <tdevries@suse.de>
2729
2730 * gdb.dlang/circular.c (found): Use found_label as label name.
2731 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2732 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2733 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2734 * gdb.dwarf2/ada-linkage-name.exp: Same.
2735 * gdb.dwarf2/arr-subrange.exp: Same.
2736 * gdb.dwarf2/atomic-type.exp: Same.
2737 * gdb.dwarf2/comp-unit-lang.exp: Same.
2738 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2739 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2740 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2741 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2742 * gdb.dwarf2/implptr-64bit.exp: Same.
2743 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2744 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2745 * gdb.dwarf2/imported-unit.exp: Same.
2746 * gdb.dwarf2/main-subprogram.exp: Same.
2747 * gdb.dwarf2/missing-type-name.exp: Same.
2748 * gdb.dwarf2/nonvar-access.exp: Same.
2749 * gdb.dwarf2/struct-with-sig.exp: Same.
2750 * gdb.dwarf2/typedef-void-finish.exp: Same.
2751 * gdb.dwarf2/void-type.exp: Same.
2752
10da644d
TV
27532020-07-17 Tom de Vries <tdevries@suse.de>
2754
2755 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2756 src parameter.
2757 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2758 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2759 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2760 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2761 * gdb.dwarf2/dwz.exp: Same.
2762 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2763 * gdb.dwarf2/implref-array.exp: Same.
2764 * gdb.dwarf2/implref-const.exp: Same.
2765 * gdb.dwarf2/implref-global.exp: Same.
2766 * gdb.dwarf2/implref-struct.exp: Same.
2767 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2768 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2769 * gdb.dwarf2/var-access.exp: Same.
2770 * gdb.dwarf2/varval.exp: Same.
2771 * gdb.trace/entry-values.exp: Same.
2772
315e6afc
TV
27732020-07-17 Tom de Vries <tdevries@suse.de>
2774
2775 * lib/dwarf.exp (Dwarf::extern): Remove.
2776 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2777 * gdb.dlang/circular.exp: Same.
2778 * gdb.dwarf2/comp-unit-lang.exp: Same.
2779 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2780 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2781 * gdb.dwarf2/dwz.exp: Same.
2782 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2783 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2784 * gdb.dwarf2/imported-unit.exp: Same.
2785 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2786
5597c940
SL
27872020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2788
2789 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2790 Use double quotes instead of single quotes.
2791
d0ce17d8
CT
27922020-07-16 Caroline Tice <cmtice@google.com>
2793
2794 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2795 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2796
853772cc
TV
27972020-07-16 Tom de Vries <tdevries@suse.de>
2798
2799 * lib/dwarf.exp (program): Initialize _line.
2800 (DW_LNE_end_sequence): Reinitialize _line.
2801 (DW_LNS_advance_line): Update _line.
2802 (line): New proc.
2803 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2804 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2805 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2806 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2807 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2808 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2809
fe07b572
AB
28102020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2811
2812 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2813 generic.
2814
52781cce
TV
28152020-07-15 Tom de Vries <tdevries@suse.de>
2816
2817 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2818 is_amd64_regs_target.
2819
3dcc261c
AB
28202020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2821
2822 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2823 * gdb.fortran/ptype-on-functions.f90: Likewise.
2824
054a0959
SM
28252020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2826
2827 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2828 values in documentation for addr_size to 4 and 8.
2829
ccb9eba6
AB
28302020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2831
2832 * gdb.arch/amd64-osabi.exp: Update.
2833 * gdb.arch/arm-disassembler-options.exp: Update.
2834 * gdb.arch/powerpc-disassembler-options.exp: Update.
2835 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2836 * gdb.arch/s390-disassembler-options.exp: Update.
2837 * gdb.base/all-architectures.exp.tcl: Update.
2838 * gdb.base/attach-pie-noexec.exp: Update.
2839 * gdb.base/catch-syscall.exp: Update.
2840 * gdb.xml/tdesc-arch.exp: Update.
2841
025a39a7
TV
28422020-07-14 Tom de Vries <tdevries@suse.de>
2843
2844 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2845 (local_gettid): ... this.
2846 (fn): Update.
2847
74e4b667
SL
28482020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2849
2850 * gdb.base/info_sources.exp: Skip directory match tests on
2851 remote hosts.
2852
f413dd74
GB
28532020-07-13 Gary Benson <gbenson@redhat.com>
2854
2855 * gdb.base/savedregs.exp (caller): Use parentheses to
2856 make expected expression evaluation ordering explicit.
2857
915771bb
GB
28582020-07-13 Gary Benson <gbenson@redhat.com>
2859
2860 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2861
2a122642
GB
28622020-07-13 Gary Benson <gbenson@redhat.com>
2863
2864 * gdb.base/bigcore.c (main): Use a volatile pointer when
2865 attempting to trigger a SIGSEGV.
2866 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2867 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2868 * gdb.base/savedregs.c (thrower): Likewise.
2869 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2870
3f00c730
GB
28712020-07-13 Gary Benson <gbenson@redhat.com>
2872
2873 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2874 defining and using VLA structure fields into...
2875 * gdb.base/vla-struct-fields.c: New file.
2876 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2877 tests into...
2878 * gdb.base/vla-struct-fields.exp: New file.
2879
963eeee4
TV
28802020-07-13 Tom de Vries <tdevries@suse.de>
2881
2882 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2883 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2884 * gdb.base/gold-gdb-index.exp: Same.
2885 * gdb.base/morestack.exp: Same.
2886
0ed35c9a
DX
28872020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2888
2889 PR rust/26121
2890 * gdb.rust/modules.rs: Prevent linker from discarding test
2891 symbol.
2892
4fdba23d
PA
28932020-07-10 Pedro Alves <pedro@palves.net>
2894
2895 PR gdb/26199
2896 * gdb.multi/multi-target.c (exit_thread): New.
2897 (thread_start): Break loop if EXIT_THREAD.
2898 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2899 (top level) Call test_no_resumed.
2900
15f3b077
TT
29012020-07-08 Tom Tromey <tromey@adacore.com>
2902
2903 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2904 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2905
9fc501fd
AB
29062020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 PR python/22748
2909 * gdb.opt/inline-frame-tailcall.c: New file.
2910 * gdb.opt/inline-frame-tailcall.exp: New file.
2911 * gdb.python/py-unwind-inline.c: New file.
2912 * gdb.python/py-unwind-inline.exp: New file.
2913 * gdb.python/py-unwind-inline.py: New file.
2914
64cb3757
AB
29152020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2916
2917 * gdb.python/py-arch-reg-groups.exp: New file.
2918
0f767f94
AB
29192020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2920
2921 * gdb.python/py-arch-reg-names.exp: New file.
2922
87dbc774
AB
29232020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2924
2925 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2926 gdb.PendingFrame.architecture method.
2927
d8cc8af6
TV
29282020-07-06 Tom de Vries <tdevries@suse.de>
2929
2930 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2931
3c8ea5be
PA
29322020-07-03 Pedro Alves <palves@redhat.com>
2933
2934 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2935 explicitly write negative numbers.
2936 * gdb.base/structs2.exp: Adjust expected output.
2937
bf90c83a
PA
29382020-07-03 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.base/charset.c (init_string): Change all char parameters to
2941 unsigned char parameters.
2942
2eb82157
PA
29432020-07-03 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/call-sc.exp (start_scalars_test): Use
2946 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2947 * gdb.base/overlays.c: Remove references to PARAMS.
2948 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2949 * gdb.base/reread.exp: Don't set 'prototypes' global.
2950 * gdb.base/structs.exp (start_structs_test): Use
2951 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2952 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2953 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2954 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2955 call.
2956 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2957
9adda7af
PA
29582020-07-03 Pedro Alves <palves@redhat.com>
2959
2960 * gdb.base/m32rovly.c: Delete.
2961 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2962
2a17c803
PW
29632020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2964
2965 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2966 of gdb_py_test_multiple.
2967 * gdb.python/py-cmd.exp: Likewise.
2968 * gdb.python/py-events.exp: Likewise.
2969 * gdb.python/py-function.exp: Likewise.
2970 * gdb.python/py-inferior.exp: Likewise.
2971 * gdb.python/py-infthread.exp: Likewise.
2972 * gdb.python/py-linetable.exp: Likewise.
2973 * gdb.python/py-parameter.exp: Likewise.
2974 * gdb.python/py-value.exp: Likewise.
2975
b011fe1a
TV
29762020-06-30 Tom de Vries <tdevries@suse.de>
2977
2978 PR testsuite/26175
2979 * lib/future.exp (gdb_default_target_compile): Detect and handle
2980 early_flags.
2981
df5b8876
SM
29822020-06-29 Simon Marchi <simon.marchi@efficios.com>
2983
2984 * boards/simavr.exp (gdb_load): Catch errors when closing
2985 previous connection. Close connection, wait for process and
2986 unset simavr_spawn_id on failure.
2987
a3ca48cd
TV
29882020-06-29 Tom de Vries <tdevries@suse.de>
2989
2990 * lib/gdb.exp (unknown): Make test-case unresolved.
2991
b0237c0e
TV
29922020-06-29 Tom de Vries <tdevries@suse.de>
2993
2994 PR gdb/25475
2995 * gdb.server/solib-list.exp: Verify that the symbol reload
2996 confirmation question is asked.
2997
c0b3b3bd
PW
29982020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2999
3000 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3001 have a input seq nr in each pass message.
fe4c3d43 3002 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3003 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3004 * gdb.python/python.exp: Make test names unique,
3005 use gdb_test_multiline instead of gdb_py_test_multiple,
3006 use $gdb_test_name.
3007 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3008
1776e3e5
NA
30092020-06-26 Nick Alcock <nick.alcock@oracle.com>
3010
3011 * configure.ac: Add --enable-libctf.
3012 * aclocal.m4: sinclude ../config/enable.m4.
3013 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3014 * lib/gdb.exp (skip_ctf_tests): Use it.
3015 * gdb.base/ctf-constvars.exp: Error message tweak.
3016 * gdb.base/ctf-ptype.exp: Likewise.
3017 * configure: Regenerate.
3018
f53b3eeb
GB
30192020-06-26 Gary Benson <gbenson@redhat.com>
3020
3021 * gdb.cp/try_catch.cc: Include string.h.
3022 (main): Replace comparison against string literal with
3023 strcmp, avoiding build failure with -Wstring-compare.
3024 Add "marker test-complete".
3025 * gdb.cp/try_catch.exp: Run the test to the above marker,
3026 then verify that the value of "test" is still true.
3027
6d74da72
AB
30282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3029
3030 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3031
2e52d038
AB
30322020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3035
3b9fce96
AB
30362020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3037
3038 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3039 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3040 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3041 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3042 * gdb.arch/riscv-tdesc-loading.exp: New file.
3043
ed69cbc8
AB
30442020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3045
3046 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3047
767a879e
AB
30482020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3049
3050 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3051 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3052 * gdb.arch/riscv-tdesc-regs.c: New file.
3053 * gdb.arch/riscv-tdesc-regs.exp: New file.
3054
221db974
PA
30552020-06-24 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.arch/amd64-entry-value-paramref.exp: Use
3058 prepare_for_testing_full and don't pass "c++" for the .S file
3059 build spec.
3060 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3061 $options, since it's an assembly file. Remove -Wno-deprecated.
3062 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3063 compiling C++ programs.
3064
331733cd
PA
30652020-06-24 Pedro Alves <palves@redhat.com>
3066
3067 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3068 Clang, add "-Wno-unknown-warning-option" to the options.
3069
caa7fd04
AB
30702020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3071
3072 * gdb.xml/tdesc-reload.c: New file.
3073 * gdb.xml/tdesc-reload.exp: New file.
3074 * gdb.xml/maint-xml-dump-01.xml: New file.
3075 * gdb.xml/maint-xml-dump-02.xml: New file.
3076 * gdb.xml/maint-xml-dump.exp: New file.
3077
bb8d1260
SL
30782020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3079
3080 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3081 Adjust for omitted commands when TUI is disabled.
3082
7e4b9c4c
GB
30832020-06-23 Gary Benson <gbenson@redhat.com>
3084 Pedro Alves <palves@redhat.com>
3085
3086 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3087 * gdb.cp/nsimport.cc: Likewise.
3088 * gdb.cp/nsnested.cc: Likewise.
3089 * gdb.cp/nsnoimports.cc: Likewise.
3090 * gdb.cp/nsusing.cc: Likewise.
3091 * gdb.cp/smartp.cc: Likewise.
3092 * gdb.python/py-pp-integral.c: Likewise.
3093 * gdb.python/py-pp-re-notag.c: Likewise.
3094
2e573c0a
GB
30952020-06-23 Gary Benson <gbenson@redhat.com>
3096
3097 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3098 * gdb.cp/nsimport.cc: Likewise.
3099 * gdb.cp/nsnested.cc: Likewise.
3100 * gdb.cp/nsnoimports.cc: Likewise.
3101 * gdb.cp/nsusing.cc: Likewise.
3102 * gdb.cp/smartp.cc: Likewise.
3103 * gdb.python/py-pp-integral.c: Likewise.
3104 * gdb.python/py-pp-re-notag.c: Likewise.
3105
746ebfe8
PW
31062020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3107
3108 * gdb.base/default-args.exp: New test.
3109 * gdb.base/default-args.c: New file.
3110 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3111 * gdb.base/default.exp: Update to new help text.
3112 * gdb.base/help.exp: Likewise.
3113 * gdb.base/page.exp: Likewise.
3114 * gdb.base/style.exp: Likewise.
3115 * gdb.guile/guile.exp: Likewise.
3116 * gdb.python/python.exp: Likewise.
3117
e822f2cd
SL
31182020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3119
3120 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3121 remote host. Fix search path syntax on Windows host.
3122
48e9cc84
PW
31232020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3124
3125 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3126 over 'exec-file-mismatch'.
3127 * gdb.base/attach.c: Mark should_exit volatile.
3128 * gdb.base/attach2.c: Likewise. Add a comment explaining
3129 why the sleep cannot be big.
3130 * gdb.base/attach3.c: New file.
3131
160f8a8f
SL
31322020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3133
3134 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3135 prefix optional.
3136
4d91c2a4
SL
31372020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3138
3139 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3140 for remote host.
3141
87f83f20
SL
31422020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3143 Hafiz Abid Qadeer <abidh@codesourcery.com>
3144
3145 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3146 file sent to remote host.
3147 (top level): Allow int32_t as type of 32-bit register.
3148
37ab8655
TV
31492020-06-19 Tom de Vries <tdevries@suse.de>
3150
3151 * lib/gdb.exp (gdb_note): New proc.
3152 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3153 (gdb_default_target_compile): ... here. Only call
3154 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3155 (use_gdb_compile): Change to array.
3156 (toplevel): Update sets of use_gdb_compile to specify language.
3157 Warn about default_target_compile override. Store dejagnu's version
3158 of default_target_compile in dejagnu_default_target_compile.
3159
a8a56685
TV
31602020-06-18 Tom de Vries <tdevries@suse.de>
3161
3162 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3163 (default_gdb_init): ... here.
3164
581bea2c
SL
31652020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3166
3167 Fix TUI support checks in gdb.tui tests.
3168
3169 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3170 just say UNSUPPORTED.
3171 * gdb.tui/corefile-run.exp: Likewise.
3172 * gdb.tui/empty.exp: Likewise.
3173 * gdb.tui/list-before.exp: Likewise.
3174 * gdb.tui/list.exp: Likewise.
3175 * gdb.tui/main.exp: Likewise.
3176 * gdb.tui/regs.exp: Likewise.
3177 * gdb.tui/resize.exp: Likewise.
3178 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3179 * gdb.tui/tui-layout-asm.exp: Likewise.
3180 * gdb.tui/tui-missing-src.exp: Likewise.
3181 * gdb.tui/winheight.exp: Likewise.
3182 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3183
05e682e3
SL
31842020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3185
3186 Fix TCL error in gdb.python/py-format-string.exp.
3187
3188 * gdb.python/py-format-string.exp: Move test for python support
3189 earlier, out of function body.
3190
efb763a5
SM
31912020-06-15 Simon Marchi <simon.marchi@efficios.com>
3192
3193 * gdb.base/index-cache-load-twice.c: New.
3194 * gdb.base/index-cache-load-twice.exp: New.
3195
43327b20
KS
31962020-06-17 Keith Seitz <keiths@redhat.com>
3197
99cf27cf 3198 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3199 when executing "gdb --configuration".
3200
081e778c
TV
32012020-06-17 Tom de Vries <tdevries@suse.de>
3202
3203 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3204 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3205 conditional on presence of gdb_tcl_unknown.
3206 (gdb_finish): Make override undo conditional on presence of
3207 gdb_tcl_unknown.
3208
d2d1ea20
TT
32092020-06-16 Tom Tromey <tom@tromey.com>
3210
3211 * gdb.python/tui-window.py (failwin): New function. Register it
3212 as a TUI window type.
3213 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3214
c802e8a7
GB
32152020-06-16 Gary Benson <gbenson@redhat.com>
3216
3217 * gdb.python/py-nested-maps.c (create_map): Add missing return
3218 value.
3219 (create_map_map): Likewise.
3220
ff08abb8
TBA
32212020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3222
3223 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3224 variable.
3225 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3226 and use the already-defined 'options' variable.
3227
a29d5112
AB
32282020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3229 Tom de Vries <tdevries@suse.de>
3230
3231 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3232 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3233 (gdb_setup_known_globals): New proc.
3234 (gdb_cleanup_globals): New proc.
3235 * lib/gdb.exp (load_lib): New override proc.
3236 (gdb_stdin_log_init): Set var in_file as persistent global.
3237 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3238 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3239 fpc_compiler as persistent global.
3240
8c74a764
TV
32412020-06-12 Tom de Vries <tdevries@suse.de>
3242
3243 * lib/tuiterm.exp (spawn): Rename to ...
3244 (tui_spawn): ... this.
3245 (toplevel): Move rename of spawn ...
3246 (gdb_init_tuiterm): ... here. New proc.
3247 (gdb_finish_tuiterm): New proc.
3248 * lib/gdb.exp (gdb_finish_hooks): New global var.
3249 (gdb_finish): Handle gdb_finish_hooks.
3250 (tuiterm_env): New proc.
3251 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3252 tuiterm_env.
3253 * gdb.tui/basic.exp: Same.
3254 * gdb.tui/corefile-run.exp: Same.
3255 * gdb.tui/empty.exp: Same.
3256 * gdb.tui/list-before.exp: Same.
3257 * gdb.tui/list.exp: Same.
3258 * gdb.tui/main.exp: Same.
3259 * gdb.tui/new-layout.exp: Same.
3260 * gdb.tui/regs.exp: Same.
3261 * gdb.tui/resize.exp: Same.
3262 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3263 * gdb.tui/tui-layout-asm.exp: Same.
3264 * gdb.tui/tui-missing-src.exp: Same.
3265 * gdb.tui/winheight.exp: Same.
3266
26783bce
TV
32672020-06-12 Tom de Vries <tdevries@suse.de>
3268
3269 PR testsuite/26110
3270 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3271 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3272
2b4e6a3f
TT
32732020-06-11 Tom Tromey <tom@tromey.com>
3274
3275 PR gdb/18318:
3276 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3277 floating point tests.
3278
2f33032a
KS
32792020-06-11 Keith Seitz <keiths@redhat.com>
3280
3281 PR gdb/21356
3282 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3283 vla_struct.
3284 Add new struct vla_typedef and union vla_typedef_union and
3285 corresponding instantiation objects.
3286 Initialize new objects.
3287 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3288 and vla_typedef_union_object.
3289 Fixup type for vla_struct_object.
3290
a8baf0a3
TV
32912020-06-11 Tom de Vries <tdevries@suse.de>
3292
3293 * lib/gdb.exp (with_override): New proc, factored out of ...
3294 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3295
7ab96794
TV
32962020-06-10 Tom de Vries <tdevries@suse.de>
3297
3298 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3299
cab5c3b7
SM
33002020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3301
3302 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3303 parameter, update callers.
3304
f8c41851
SM
33052020-06-04 Simon Marchi <simon.marchi@efficios.com>
3306
3307 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3308 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3309 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3310
1c07a73f
TV
33112020-06-04 Tom de Vries <tdevries@suse.de>
3312
3313 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3314
95146b5d
TV
33152020-06-04 Tom de Vries <tdevries@suse.de>
3316
3317 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3318 exp_continue.
3319
0cfcd4f0
TV
33202020-06-04 Tom de Vries <tdevries@suse.de>
3321
3322 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3323
f9b5d5ea
TV
33242020-06-03 Tom de Vries <tdevries@suse.de>
3325
3326 PR symtab/26046
3327 * gdb.cp/breakpoint-locs-2.cc: New test.
3328 * gdb.cp/breakpoint-locs.cc: New test.
3329 * gdb.cp/breakpoint-locs.exp: New file.
3330 * gdb.cp/breakpoint-locs.h: New test.
3331
5144dfba
TV
33322020-06-03 Tom de Vries <tdevries@suse.de>
3333
3334 PR testsuite/25609
3335 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3336 value of global verbose.
3337 * gdb.base/jit-elf.exp: Same.
3338 * gdb.base/jit-reader.exp: Same.
3339
621eacdf
TV
33402020-06-02 Tom de Vries <tdevries@suse.de>
3341
3342 * gdb.dwarf2/multidictionary.exp: Don't use
3343 gdb_spawn_with_cmdline_opts.
3344
1313c56e
AB
33452020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3346
3347 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3348 use_header case.
3349 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3350 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3351 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3352 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3353 * gdb.dwarf2/dw2-inline-header.c: New file.
3354 * gdb.dwarf2/dw2-inline-header.h: New file.
3355
f68f85b5
PA
33562020-05-30 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3359 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3360
678048e8
GB
33612020-05-29 Gary Benson <gbenson@redhat.com>
3362
3363 * gdb.compile/compile-cplus.exp (additional_flags): Also
3364 set when building with clang.
3365 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3366 when building with clang.
3367
9fcafd23
GB
33682020-05-29 Gary Benson <gbenson@redhat.com>
3369
3370 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3371 building with clang.
3372 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3373
735d5a07
GB
33742020-05-29 Gary Benson <gbenson@redhat.com>
3375
3376 * gdb.cp/koenig.exp (prepare_for_testing): Add
3377 additional_flags=-Wno-unused-comparison.
3378 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3379
4ad2c6a0
GB
33802020-05-28 Gary Benson <gbenson@redhat.com>
3381
3382 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3383 statement.
3384
09fe663e
GB
33852020-05-28 Gary Benson <gbenson@redhat.com>
3386
3387 * gdb.cp/classes.exp (prepare_for_testing): Add
3388 additional_flags=-Wno-deprecated-register.
3389 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3390 * gdb.cp/misc.exp: Likewise.
3391
cee00f17
GB
33922020-05-28 Gary Benson <gbenson@redhat.com>
3393
3394 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3395 (test_op_new::operator new): Add return statement.
3396 (test_op_new_array::operator new[]): Likewise.
3397
636edd00
PA
33982020-05-27 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3401 check. Use test_gdb_complete_unique instead of
3402 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3403 test_gdb_complete_multiple instead of
3404 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3405
c2b75043
LM
34062020-05-27 Luis Machado <luis.machado@linaro.org>
3407
3408 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3409 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3410 * gdb.arch/arm-disassembler-options.exp: Likewise.
3411 * gdb.arch/arm-disp-step.exp: Likewise.
3412 * gdb.arch/thumb-prologue.exp: Likewise.
3413 * gdb.base/async.exp: Likewise.
3414 * gdb.base/auxv.exp: Likewise.
3415 * gdb.base/complex-parts.exp: Likewise.
3416 * gdb.base/ena-dis-br.exp: Likewise.
3417 * gdb.base/foll-exec.exp: Likewise.
3418 * gdb.base/permissions.exp: Likewise.
3419 * gdb.base/relocate.exp: Likewise.
3420 * gdb.base/return2.exp: Likewise.
3421 * gdb.base/sigbpt.exp: Likewise.
3422 * gdb.base/siginfo-obj.exp: Likewise.
3423 * gdb.cp/converts.exp: Likewise.
3424 * gdb.cp/exceptprint.exp: Likewise.
3425 * gdb.cp/inherit.exp: Likewise.
3426 * gdb.cp/nsnoimports.exp: Likewise.
3427 * gdb.cp/virtbase2.exp: Likewise.
3428 * gdb.mi/mi-var-cmd.exp: Likewise.
3429 * gdb.mi/var-cmd.c: Likewise.
3430
53a47a3e
TT
34312020-05-26 Tom Tromey <tromey@adacore.com>
3432
3433 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3434
0bc2354b
TT
34352020-05-26 Tom Tromey <tromey@adacore.com>
3436
3437 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3438 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3439 type.
3440 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3441 variable.
3442
0db49895
CBG
34432020-05-26 Christian Biesinger <cbiesinger@google.com>
3444
3445 * Makefile.in: Use = instead of == for the test command
3446 for portability.
3447
40d22035
TV
34482020-05-26 Tom de Vries <tdevries@suse.de>
3449
3450 * gdb.base/gold-gdb-index-2.c: New test.
3451 * gdb.base/gold-gdb-index.c: New test.
3452 * gdb.base/gold-gdb-index.exp: New file.
3453 * gdb.base/gold-gdb-index.h: New test.
3454
043e2e02
TV
34552020-05-25 Tom de Vries <tdevries@suse.de>
3456
3457 * boards/gold-gdb-index.exp: New file.
3458
462f72c5
SM
34592020-05-25 Simon Marchi <simon.marchi@efficios.com>
3460
3461 * boards/simavr.exp: New file.
3462
6cf66e76
SM
34632020-05-25 Simon Marchi <simon.marchi@efficios.com>
3464
3465 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3466 * gdb.base/inferior-args.exp: New file.
3467 * gdb.base/inferior-args.c: New file.
3468
75d04512
SM
34692020-05-25 Simon Marchi <simon.marchi@efficios.com>
3470
3471 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3472 inferior_args. Pass it to gdb_reload.
3473 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3474 inferior_args.
3475 (gdb_reload): Add inferior_args argument.
3476 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3477 pass it to gdbserver_run.
3478 * boards/native-gdbserver.exp: Do not set noargs.
3479 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3480 inferior_args argument.
3481 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3482 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3483 * gdb.base/args.exp: Likewise.
3484
42cf1844
TV
34852020-05-25 Tom de Vries <tdevries@suse.de>
3486
3487 * lib/gdb.exp (exec_is_pie): Add comment.
3488
8f7d38ef
TV
34892020-05-25 Tom de Vries <tdevries@suse.de>
3490
3491 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3492 instead of $binfile in the untested message.
3493
465e1b0f
TV
34942020-05-25 Tom de Vries <tdevries@suse.de>
3495
3496 PR testsuite/26031
3497 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3498
3c5a0e02
TV
34992020-05-25 Tom de Vries <tdevries@suse.de>
3500
3501 * boards/gold.exp: New file.
3502
0a4f5f8c
TT
35032020-05-23 Tom Tromey <tom@tromey.com>
3504
3505 * gdb.base/style.exp: Remove completion styling test.
3506 * lib/gdb-utils.exp (style): Remove completion styles.
3507
eca1f90c
TT
35082020-05-23 Tom Tromey <tom@tromey.com>
3509
3510 * gdb.base/style.exp: Add completion styling test.
3511 * lib/gdb-utils.exp (style): Add completion styles.
3512
7c13f4e8
AB
35132020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3514
3515 * gdb.base/annota1.exp: Update expected results.
3516 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3517 test name.
3518 * gdb.cp/annota3.exp: Update expected results.
3519
41977d16
SM
35202020-05-20 Simon Marchi <simon.marchi@efficios.com>
3521
3522 PR gdb/26016
3523 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3524 against MAP_FAILED.
3525 * gdb.base/coremaker.c (mmapdata): Likewise.
3526 * gdb.base/jit-reader-host.c (main): Likewise.
3527 * gdb.base/sym-file-loader.c (load): Likewise.
3528 (load_shlib): Likewise.
3529
b4757f2e
TT
35302020-05-20 Tom Tromey <tromey@adacore.com>
3531
3532 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3533
9a0bacfb
TV
35342020-05-20 Tom de Vries <tdevries@suse.de>
3535
3536 PR symtab/25833
3537 * gdb.base/with-mf-inc.c: New test.
3538 * gdb.base/with-mf-main.c: New test.
3539 * gdb.base/with-mf.exp: New file.
3540
76571211
TT
35412020-05-19 Tom Tromey <tromey@adacore.com>
3542
3543 * gdb.rust/simple.exp: Restore missing test result.
3544
4cd9f3d5
TV
35452020-05-19 Tom de Vries <tdevries@suse.de>
3546
3547 * gdb.base/gdb-caching-proc.exp: Fix typo.
3548
7d874253
TT
35492020-05-19 Tom Tromey <tromey@adacore.com>
3550
3551 * gdb.rust/simple.exp: Add some test descriptions.
3552 (test_one_slice): Use with_test_prefix.
3553
1d727695
TV
35542020-05-18 Tom de Vries <tdevries@suse.de>
3555
3556 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3557
7f32a4d5
PA
35582020-05-17 Pedro Alves <palves@redhat.com>
3559
3560 PR gdb/25741
3561 * gdb.base/hw-sw-break-same-address.exp: New file.
3562
7cfd74cf
PA
35632020-05-16 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3566 LAST_LOADED_FILE accordingly.
3567
57b4f16e
PW
35682020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3569
3570 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3571
7c05caf7
PW
35722020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3573
3574 * gdb.base/help.exp: Test apropos and help for commands
3575 having aliases. Fixed comments not starting with an
3576 upper-case letter or not finishing with a dot.
3577
7aa1b46f
PW
35782020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3579
3b3aaacb
PW
3580 * gdb.base/alias.exp: Update help output check.
3581
57b4f16e 35822020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3583
7aa1b46f
PW
3584 * gdb.base/default.exp: Update output following fixes.
3585
0605465f
PW
35862020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3587
3588 * gdb.base/alias.exp: Test aliases starting with a prefix of
3589 another alias.
3590
86e4e63d
GB
35912020-05-15 Gary Benson <gbenson@redhat.com>
3592
3593 * gdb.base/info-os.c (main): Add return statement.
3594 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3595 * gdb.base/large-frame-2.c (func): Likewise.
3596 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3597 * gdb.base/pr10179-b.c (foo2): Likewise.
3598 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3599 * gdb.base/watch-cond.c (func): Likewise.
3600 * gdb.multi/goodbye.c (verylongfun): Likewise.
3601 * gdb.multi/hello.c (commonfun): Likewise.
3602 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3603 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3604 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3605 Likewise.
3606 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3607 * gdb.threads/interrupt-while-step-over.c (child_function):
3608 Likewise.
3609 * gdb.trace/actions-changed.c (end): Likewise.
3610
163df4df
GB
36112020-05-15 Gary Benson <gbenson@redhat.com>
3612
3613 * gdb.opencl/callfuncs.exp: Report when test skipped.
3614 * gdb.opencl/convs_casts.exp: Likewise.
3615 * gdb.opencl/datatypes.exp: Likewise.
3616 * gdb.opencl/operators.exp: Likewise.
3617 * gdb.opencl/vec_comps.exp: Likewise.
3618
6dbc505a
TV
36192020-05-15 Tom de Vries <tdevries@suse.de>
3620
3621 * gdb.base/align.exp.in: Rename to ...
3622 * gdb.base/align.exp.tcl: ... this.
3623 * gdb.base/align-c++.exp: Update.
3624 * gdb.base/align-c.exp: Update.
3625 * gdb.base/all-architectures.exp.in: Rename to ...
3626 * gdb.base/all-architectures.exp: ... this.
3627 * gdb.base/all-architectures-0.exp: Update.
3628 * gdb.base/all-architectures-1.exp: Update.
3629 * gdb.base/all-architectures-2.exp: Update.
3630 * gdb.base/all-architectures-3.exp: Update.
3631 * gdb.base/all-architectures-4.exp: Update.
3632 * gdb.base/all-architectures-5.exp: Update.
3633 * gdb.base/all-architectures-6.exp: Update.
3634 * gdb.base/all-architectures-7.exp: Update.
3635 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3636 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3637 * gdb.base/infcall-nested-structs-c++.exp: Update.
3638 * gdb.base/infcall-nested-structs-c.exp: Update.
3639 * gdb.base/info-types.exp.in: Rename to ...
3640 * gdb.base/info-types.exp.tcl: ... this.
3641 * gdb.base/info-types-c++.exp: Update.
3642 * gdb.base/info-types-c.exp: Update.
3643 * gdb.base/max-depth.exp.in: Rename to ...
3644 * gdb.base/max-depth.exp.tcl: ... this.
3645 * gdb.base/max-depth-c++.exp: Update.
3646 * gdb.base/max-depth-c.exp: Update.
3647 * gdb.cp/cpexprs.exp.in: Rename to ...
3648 * gdb.cp/cpexprs.exp.tcl: ... this.
3649 * gdb.cp/cpexprs-debug-types.exp: Update.
3650 * gdb.cp/cpexprs.exp: Update.
3651 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3652 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3653 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3654 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3655 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3656 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3657 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3658 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3659 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3660 * gdb.dwarf2/clang-debug-names.exp: Update.
3661
d1034d78
AB
36622020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3663
3664 * lib/check-test-names.exp: Remove code that prevents this file
3665 loading when tests are run in parallel.
3666
3c5c3649
PA
36672020-05-15 Pedro Alves <palves@redhat.com>
3668
3669 * gdb.multi/multi-kill.exp (start_inferior): Remove
3670 'testpid' parameter. Refer to namespace variable directly.
3671 (testpid): Declare as namespace variable.
3672
272c36b8
PA
36732020-05-15 Pedro Alves <palves@redhat.com>
3674
3675 * gdb.multi/multi-kill.exp: Wrap in namespace.
3676 (start_inferior): Add TESTPID parameter. Use it instead of the
3677 testpid global.
3678 (top level): Define empty TESTPID array, and pass it down to
3679 start_inferior.
3680
02eba61a
TV
36812020-05-14 Tom de Vries <tdevries@suse.de>
3682
3683 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3684 output.
3685
971a3747
TV
36862020-05-14 Tom de Vries <tdevries@suse.de>
3687
3688 * gdb.base/align.exp: Split into ...
3689 * gdb.base/align.exp.in: ...
3690 * gdb.base/align-c++.exp: ...
3691 * gdb.base/align-c.exp: ... these.
3692 * gdb.base/infcall-nested-structs.exp: Split into ...
3693 * gdb.base/infcall-nested-structs.exp.in: ...
3694 * gdb.base/infcall-nested-structs-c++.exp: ...
3695 * gdb.base/infcall-nested-structs-c.exp: ... these.
3696 * gdb.base/info-types.exp: Split into ...
3697 * gdb.base/info-types.exp.in: ...
3698 * gdb.base/info-types-c++.exp: ...
3699 * gdb.base/info-types-c.exp: ... these.
3700 * gdb.base/max-depth.exp: Split into ...
3701 * gdb.base/max-depth.exp.in: ...
3702 * gdb.base/max-depth-c++.exp: ...
3703 * gdb.base/max-depth-c.exp: ... these.
3704 * gdb.cp/infcall-nodebug.exp: Split into ...
3705 * gdb.cp/infcall-nodebug.exp.in: ...
3706 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3707 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3708 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3709 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3710
a05575d3
TBA
37112020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3712 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.multi/multi-exit.c: New file.
3715 * gdb.multi/multi-exit.exp: New file.
3716 * gdb.multi/multi-kill.c: New file.
3717 * gdb.multi/multi-kill.exp: New file.
3718
6ad82919
TBA
37192020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3720
3721 * gdb.base/annota1.exp: Update the expected output.
3722 * gdb.cp/annota2.exp: Ditto.
3723
843f4d93
AB
37242020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3725
3726 * lib/check-test-names.exp: Disable when testing is being run in
3727 parallel.
3728
c7c66341
TV
37292020-05-12 Tom de Vries <tdevries@suse.de>
3730
3731 * gdb.base/jit-elf.exp: Fix string concat.
3732
1b59ca1c
TV
37332020-05-12 Tom de Vries <tdevries@suse.de>
3734
3735 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3736 messages.
3737
b4991d29
TV
37382020-05-12 Tom de Vries <tdevries@suse.de>
3739
3740 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3741
dbb0ab10
TV
37422020-05-12 Tom de Vries <tdevries@suse.de>
3743
3744 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3745 * gdb.ada/mi_catch_ex.exp: Same.
3746 * gdb.ada/mi_catch_ex_hand.exp: Same.
3747
7549fed8
TV
37482020-05-12 Tom de Vries <tdevries@suse.de>
3749
3750 * gdb.fortran/complex.exp: Use with_test_prefix.
3751
af2d5cd8
TV
37522020-05-12 Tom de Vries <tdevries@suse.de>
3753
3754 * gdb.trace/passcount.exp: Fix test-names.
3755
7c121311
TV
37562020-05-12 Tom de Vries <tdevries@suse.de>
3757
3758 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3759
c9f3b40e
TV
37602020-05-12 Tom de Vries <tdevries@suse.de>
3761
3762 * gdb.gdb/complaints.exp: Use with_test_prefix.
3763 * gdb.xml/tdesc-regs.exp: Same.
3764 * gdb.opt/inline-locals.exp: Fix test name.
3765
111b33f0
TV
37662020-05-12 Tom de Vries <tdevries@suse.de>
3767
3768 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3769 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3770 * gdb.dwarf2/implref-struct.exp: Same.
3771 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3772 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3773
ebf47080
SM
37742020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3775
3776 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3777
d30dcd12
AB
37782020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3779
3780 * lib/check-test-names.exp (all_test_names): New module variable.
3781 (counts): Add 'duplicates' field.
3782 (_check_duplicates): New procedure.
3783 (check): Also check for duplicates.
3784 (do_log_summary): Print duplicates count.
3785 (do_reset_vars): Reset counter for duplicate test names, and
3786 discard all know test names.
3787
34584c09
AB
37882020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3789
3790 * lib/gdb.exp: Include check-test-names.exp library.
3791 * lib/check-test-names.exp: New file.
3792
e0002117
TV
37932020-05-11 Tom de Vries <tdevries@suse.de>
3794
3795 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3796
53f539a3
KS
37972020-05-11 Keith Seitz <keiths@redhat.com>
3798
3799 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3800
113ee09a
TV
38012020-05-11 Tom de Vries <tdevries@suse.de>
3802
3803 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3804 * gdb.cp/cpexprs.exp.in: .. here.
3805 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3806 cpexprs.exp.
3807
ba3e70b0
KS
38082020-05-11 Keith Seitz <keiths@redhat.com>
3809
3810 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3811 test names.
3812 * gdb.ada/arrayptr.exp: Likewise.
3813 * gdb.ada/assign_arr.exp: Likewise.
3814 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3815 * gdb.ada/bp_on_var.exp: Likewise.
3816 * gdb.ada/call_pn.exp: Likewise.
3817 * gdb.ada/complete.exp: Likewise.
3818 * gdb.ada/fun_overload_menu.exp: Likewise.
3819 * gdb.ada/funcall_param.exp: Likewise.
3820 * gdb.ada/funcall_ref.exp: Likewise.
3821 * gdb.ada/packed_array_assign.exp: Likewise.
3822 * gdb.ada/same_component_name.exp: Likewise.
3823 * gdb.ada/type_coercion.exp: Likewise.
3824 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3825 * gdb.ada/variant_record_packed_array.exp: Likewise.
3826
3ee6bb11
TV
38272020-05-11 Tom de Vries <tdevries@suse.de>
3828
3829 PR symtab/25941
3830 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3831 out of ...
3832 * gdb.dwarf2/clang-debug-names.exp: ... here.
3833 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3834 clang-debug-names.exp.in.
3835 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3836 * gdb.dwarf2/clang-debug-names-2.c: New test.
3837
86cd6bc8
AKS
38382020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3839
3840 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3841 (fortran_runto_main): New Proc, fortran version of runto_main.
3842 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3843 * gdb.fortran/array-bounds.exp: Likewise.
3844 * gdb.fortran/array-slices.exp: Likewise.
3845 * gdb.fortran/block-data.exp: Likewise.
3846 * gdb.fortran/charset.exp: Likewise.
3847 * gdb.fortran/common-block.exp: Likewise.
3848 * gdb.fortran/complex.exp: Likewise.
3849 * gdb.fortran/derived-type-function.exp: Likewise.
3850 * gdb.fortran/derived-type.exp: Likewise.
3851 * gdb.fortran/info-modules.exp: Likewise.
3852 * gdb.fortran/info-types.exp: Likewise.
3853 * gdb.fortran/intrinsics.exp: Likewise.
3854 * gdb.fortran/library-module.exp: Likewise.
3855 * gdb.fortran/logical.exp: Likewise.
3856 * gdb.fortran/max-depth.exp: Likewise.
3857 * gdb.fortran/module.exp: Likewise.
3858 * gdb.fortran/multi-dim.exp: Likewise.
3859 * gdb.fortran/nested-funcs.exp: Likewise.
3860 * gdb.fortran/print-formatted.exp: Likewise.
3861 * gdb.fortran/print_type.exp: Likewise.
3862 * gdb.fortran/printing-types.exp: Likewise.
3863 * gdb.fortran/ptr-indentation.exp: Likewise.
3864 * gdb.fortran/ptype-on-functions.exp: Likewise.
3865 * gdb.fortran/subarray.exp: Likewise.
3866 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3867 * gdb.fortran/vla-datatypes.exp: Likewise.
3868 * gdb.fortran/vla-history.exp: Likewise.
3869 * gdb.fortran/vla-ptr-info.exp: Likewise.
3870 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3871 * gdb.fortran/vla-ptype.exp: Likewise.
3872 * gdb.fortran/vla-sizeof.exp: Likewise.
3873 * gdb.fortran/vla-type.exp: Likewise.
3874 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3875 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3876 * gdb.fortran/vla-value-sub.exp: Likewise.
3877 * gdb.fortran/vla-value.exp: Likewise.
3878 * gdb.fortran/whatis_type.exp: Likewise.
3879 * gdb.mi/mi-var-child-f.exp: Likewise.
3880
6dc55ce9 38812020-05-09 Tom de Vries <tdevries@suse.de>
3882
3883 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3884
283cb58c
TV
38852020-05-08 Tom de Vries <tdevries@suse.de>
3886
3887 * gdb.dwarf2/clang-debug-names.c: New test.
3888 * gdb.dwarf2/clang-debug-names.exp: New file.
3889
ac4a4f1c
SM
38902020-05-06 Simon Marchi <simon.marchi@efficios.com>
3891
3892 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3893 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3894
24fe640b
TV
38952020-05-06 Tom de Vries <tdevries@suse.de>
3896
3897 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3898 breakpoint is at a "recommended breakpoint location".
3899 * gdb.reverse/consecutive-reverse.exp: Same.
3900
0d8683a3
TV
39012020-05-06 Tom de Vries <tdevries@suse.de>
3902
3903 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3904 address.
3905
b8983c46
TV
39062020-05-06 Tom de Vries <tdevries@suse.de>
3907
3908 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3909
abf6d805
TV
39102020-05-06 Tom de Vries <tdevries@suse.de>
3911
3912 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3913 info for r.
3914
0fc2a808
TV
39152020-05-06 Tom de Vries <tdevries@suse.de>
3916
3917 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3918 necessary.
3919
873dd427
TV
39202020-05-06 Tom de Vries <tdevries@suse.de>
3921
3922 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3923 void.
3924
7c99e7e2
TV
39252020-05-06 Tom de Vries <tdevries@suse.de>
3926
3927 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3928 of ...
3929 * gdb.base/async.exp: ... here.
3930 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3931 "recommended breakpoint location".
3932
6173d6a6
TV
39332020-05-06 Tom de Vries <tdevries@suse.de>
3934
3935 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3936
6015a067
TV
39372020-05-04 Tom de Vries <tdevries@suse.de>
3938
3939 * gdb.base/async.exp: Check whether instruction addresses are a
3940 "recommended breakpoint location".
3941
3b6acaee
TT
39422020-05-03 Tom Tromey <tom@tromey.com>
3943
3944 * gdb.base/sepdebug.exp: Remove "catch" test.
3945 * gdb.base/break.exp: Remove "catch" test.
3946 * gdb.base/default.exp: Update expected output.
3947
5beb4d17
TV
39482020-05-02 Tom de Vries <tdevries@suse.de>
3949
3950 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3951 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3952 * gdb.arch/i386-mpx-map.exp: Same.
3953 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3954 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3955 * gdb.arch/i386-mpx.exp: Same.
3956
8caf140d
TV
39572020-05-02 Tom de Vries <tdevries@suse.de>
3958
3959 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3960
693196cb
TV
39612020-05-01 Tom de Vries <tdevries@suse.de>
3962
3963 * gdb.ada/operator_bp.exp: Allow more than required amount of
3964 breakpoint.
3965
53ae0aa9
TV
39662020-05-01 Tom de Vries <tdevries@suse.de>
3967
3968 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3969
ee9d1e5f
HD
39702020-04-30 Hannes Domani <ssbssa@yahoo.de>
3971
3972 PR gdb/18706
3973 * gdb.cp/stub-array-size.cc: New test.
3974 * gdb.cp/stub-array-size.exp: New file.
3975 * gdb.cp/stub-array-size.h: New test.
3976 * gdb.cp/stub-array-size2.cc: New test.
3977
d5cf82c0
HD
39782020-04-30 Hannes Domani <ssbssa@yahoo.de>
3979
3980 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3981 output to the new format.
3982
42e165c3
SM
39832020-04-29 Simon Marchi <simon.marchi@efficios.com>
3984
3985 * gdb.base/break.exp: Use with_test_prefix.
3986
6e4e3fe1
TV
39872020-04-29 Tom de Vries <tdevries@suse.de>
3988
3989 * lib/gdb.exp (debug_types): New proc.
3990 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3991 * gdb.python/py-symtab.exp: Same.
3992
d642b692
HD
39932020-04-29 Hannes Domani <ssbssa@yahoo.de>
3994
3995 PR gdb/17320
3996 * gdb.base/pretty-array.c: New test.
3997 * gdb.base/pretty-array.exp: New file.
3998
ea90f227
TV
39992020-04-29 Tom de Vries <tdevries@suse.de>
4000
4001 PR symtab/25889
4002 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4003 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4004 and include cpexprs.exp.
4005
a65189c9
TV
40062020-04-28 Mark Williams <mark@myosotissp.com>
4007
4008 PR gdb/24480
4009 * dw4-toplevel-types.exp: Test for top level types.
4010 * dw4-toplevel-types.cc: Test for top level types.
4011
32d1f47a
TBA
40122020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4013
4014 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4015 (theads -> threads).
4016
56a4f5a1
TV
40172020-04-28 Tom de Vries <tdevries@suse.de>
4018
4019 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4020
0b2f8a3b
TV
40212020-04-28 Tom de Vries <tdevries@suse.de>
4022
4023 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4024
5390c717
TV
40252020-04-28 Tom de Vries <tdevries@suse.de>
4026
4027 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4028
15cd93d0
TV
40292020-04-28 Tom de Vries <tdevries@suse.de>
4030
4031 * gdb.dwarf2/main-foo.c: New test.
4032 * gdb.dwarf2/struct-with-sig.exp: New file.
4033
d472f0fb
TV
40342020-04-25 Tom de Vries <tdevries@suse.de>
4035
4036 * boards/debug-types.exp: New file.
4037
8d840e05
AB
40382020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4039
4040 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4041
bcfe6157
TT
40422020-04-24 Tom Tromey <tom@tromey.com>
4043
4044 PR symtab/12707:
4045 * gdb.python/py-symbol.exp: Update expected results for
4046 linkage_name test.
4047 * gdb.cp/print-demangle.exp: New file.
4048 * gdb.base/c-linkage-name.exp: Fix test.
4049 * gdb.guile/scm-symbol.exp: Update expected results for
4050 linkage_name test.
4051
f049a313
TT
40522020-04-24 Tom Tromey <tom@tromey.com>
4053
4054 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4055 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4056 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4057 assembler.
4058
7cf28874
TV
40592020-04-24 Tom de Vries <tdevries@suse.de>
4060
4061 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4062 C++.
4063
dac2fef7
TT
40642020-04-24 Tom Tromey <tromey@adacore.com>
4065
4066 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4067 values.
4068 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4069 values. Update test for minimal encodings.
4070 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4071 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4072 values. Update test for minimal encodings.
4073
1acda803
TT
40742020-04-24 Tom Tromey <tromey@adacore.com>
4075
4076 PR python/23662:
4077 * gdb.ada/variant.exp: Add Python checks.
4078 * gdb.rust/simple.exp: Add dynamic type checks.
4079
adfb9815
TT
40802020-04-24 Tom Tromey <tromey@adacore.com>
4081
4082 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4083 Make array type matching more lax.
4084 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4085 * gdb.ada/mi_variant.exp: New file.
4086 * gdb.ada/mi_variant/pck.ads: New file.
4087 * gdb.ada/mi_variant/pkg.adb: New file.
4088 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4089 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4090
7d79de9a
TT
40912020-04-24 Tom Tromey <tromey@adacore.com>
4092
4093 * gdb.ada/variant.exp: Add dynamic field offset tests.
4094 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4095 * gdb.ada/variant/pkg.adb: Add new variables.
4096
f8e89861
TT
40972020-04-24 Tom Tromey <tromey@adacore.com>
4098
4099 * gdb.ada/variant.exp: New file
4100 * gdb.ada/variant/pkg.adb: New file
4101 * gdb.ada/variant/pck.adb: New file
4102
86e887ae
TV
41032020-04-24 Tom de Vries <tdevries@suse.de>
4104
4105 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4106
88428775
TV
41072020-04-24 Tom de Vries <tdevries@suse.de>
4108
4109 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4110 flags.
4111
4e86f6e7
TV
41122020-04-24 Tom de Vries <tdevries@suse.de>
4113
4114 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4115
2016d3e6
TV
41162020-04-24 Tom de Vries <tdevries@suse.de>
4117
4118 * lib/gdb.exp (default_gdb_start): Handle eof.
4119 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4120 failure.
4121 * gdb.base/readnever.exp: Handle clean_restart failure.
4122
70bc38f5
TV
41232020-04-23 Tom de Vries <tdevries@suse.de>
4124
4125 * gdb.base/decl-before-def.exp: Run to main and print a again.
4126
de82891c
TV
41272020-04-23 Tom de Vries <tdevries@suse.de>
4128
4129 * gdb.base/decl-before-def-decl.c: New test.
4130 * gdb.base/decl-before-def-def.c: New test.
4131 * gdb.base/decl-before-def.exp: New file.
4132
96038148
TV
41332020-04-23 Tom de Vries <tdevries@suse.de>
4134
4135 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4136
54ac3df1
TV
41372020-04-22 Tom de Vries <tdevries@suse.de>
4138
4139 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4140 debug_info_offset.
4141 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4142 before $objsfile in the line line.
4143
714534e1
TV
41442020-04-22 Tom de Vries <tdevries@suse.de>
4145
4146 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4147
16a7dbf4
MS
41482020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4149
4150 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4151 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4152 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4153 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4154 * gdb.base/jit-protocol.h: Update definitions to match all usage
4155 contexts.
4156
41572020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4158
4159 * gdb.base: Rename all jit related test and source files.
4160
41612020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4162
4163 * gdb.base/jit-reader.exp: Relax register output check.
4164
317d2668
TV
41652020-04-22 Tom de Vries <tdevries@suse.de>
4166
4167 PR symtab/25764
4168 * gdb.base/psym-external-decl-2.c: New test.
4169 * gdb.base/psym-external-decl.c: New test.
4170 * gdb.base/psym-external-decl.exp: New file.
4171 * gdb.threads/tls.exp: Add PR25807 kfail.
4172
eea9e357
TV
41732020-04-22 Tom de Vries <tdevries@suse.de>
4174
4175 PR symtab/25801
4176 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4177 in "info source" output.
4178
3d5afab3
TV
41792020-04-22 Tom de Vries <tdevries@suse.de>
4180
4181 PR symtab/25700
4182 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4183 symtab for imported_unit.c.
4184
b32102f6
GB
41852020-04-21 Gary Benson <gbenson@redhat.com>
4186
4187 * gdb.base/advance.c (func): New argument, to match call site.
4188 (func2, func3): Add return statements.
4189
d43b7a2d
TBA
41902020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4191
4192 * gdb.multi/run-only-second-inf.c: New file.
4193 * gdb.multi/run-only-second-inf.exp: New file.
4194
d89edf9b
MM
41952020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4196
4197 * gdb.btrace/multi-inferior.c: New test.
4198 * gdb.btrace/multi-inferior.exp: New file.
4199
1a476b6d
MM
42002020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4201
4202 * gdb.btrace/enable-new-thread.c: New test.
4203 * gdb.btrace/enable-new-thread.exp: New file.
4204
4778a5f8
TV
42052020-04-21 Tom de Vries <tdevries@suse.de>
4206
4207 PR gdb/25471
4208 * gdb.threads/killed-outside.c: New test.
4209 * gdb.threads/killed-outside.exp: New file.
4210
9b2c992c
GB
42112020-04-20 Gary Benson <gbenson@redhat.com>
4212
4213 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4214 * gdb.base/nested-subp2.exp: Likewise.
4215 * gdb.base/nested-subp3.exp: Likewise.
4216
b5d1d6f7
GB
42172020-04-20 Gary Benson <gbenson@redhat.com>
4218
4219 * gdb.base/nested-subp1.exp: Disable test when using clang.
4220 * gdb.base/nested-subp2.exp: Likewise.
4221 * gdb.base/nested-subp3.exp: Likewise.
4222
25230285
GB
42232020-04-20 Gary Benson <gbenson@redhat.com>
4224
4225 * gdb.cp/exception.cc: Fix compilation error with clang.
4226
fa93cc8f
GB
42272020-04-20 Gary Benson <gbenson@redhat.com>
4228
809730f3 4229 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4230
e0c45f30
GB
42312020-04-20 Gary Benson <gbenson@redhat.com>
4232
4233 * gdb.base/jit-main.c: Fix compilation error with clang.
4234
4ddfec93
KR
42352020-04-17 Kamil Rytarowski <n54@gmx.com>
4236
4237 * gdb.base/attach-twice.c: Include "sys/types.h".
4238 (PTRACE_ATTACH): Add fallback definition.
4239 (main): Pass `0' to the 4th argument of `ptrace'.
4240
2bed205e
KR
42412020-04-17 Kamil Rytarowski <n54@gmx.com>
4242
4243 * gdb.base/fork-running-state.c: Include "signal.h".
4244
0743fc83
TT
42452020-04-17 Tom Tromey <tromey@adacore.com>
4246
4247 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4248 Update tests.
4249 * gdb.btrace/cpu.exp: Update tests.
4250 * gdb.base/maint.exp: Update tests.
4251 * gdb.base/default.exp: Update tests.
4252 * gdb.base/completion.exp: Update tests.
4253
efba5c23
TV
42542020-04-16 Tom de Vries <tdevries@suse.de>
4255
4256 PR symtab/25791
4257 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4258 (ensure_gdb_index): and factor out and move ...
4259 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4260 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4261
d191d716
TV
42622020-04-16 Tom de Vries <tdevries@suse.de>
4263
4264 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4265 loading exec.
4266
99f1bc6a
AB
42672020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4268
4269 * gdb.base/many-completions.exp: New file.
4270
194d088f
TV
42712020-04-14 Tom de Vries <tdevries@suse.de>
4272
4273 PR symtab/25718
4274 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4275
c1a66c06
TV
42762020-04-14 Tom de Vries <tdevries@suse.de>
4277
4278 PR symtab/25720
4279 * gdb.base/maint-expand-symbols-header-file.c: New test.
4280 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4281 * gdb.base/maint-expand-symbols-header-file.h: New test.
4282
21b0982c
AB
42832020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4284
4285 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4286 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4287 get_func_info.
4288 (get_func_info): Delete.
4289 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4290 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4291 * lib/dwarf.exp (get_func_info): New function.
4292
dd1cab06
TV
42932020-04-13 Tom de Vries <tdevries@suse.de>
4294
4295 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4296 to what find_gnatmake does.
4297
71ea2b6b
TV
42982020-04-10 Tom de Vries <tdevries@suse.de>
4299
4300 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4301 -readnow.
4302
bdfc1e8a
TV
43032020-04-10 Tom de Vries <tdevries@suse.de>
4304
4305 PR cli/25808
4306 * gdb.base/style.c: Add leading newlines.
4307 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4308 Check listing of main's one-line body.
4309
14ca8ecf
TV
43102020-04-08 Tom de Vries <tdevries@suse.de>
4311
4312 * lib/gdb.exp (psymtabs_p): New proc.
4313 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4314 importing unit" unsupported if there are no partial symbols.
4315
e21d048f
TV
43162020-04-08 Tom de Vries <tdevries@suse.de>
4317
4318 PR testsuite/25760
4319 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4320
25c11aca
TV
43212020-04-07 Tom de Vries <tdevries@suse.de>
4322
4323 PR symtab/25796
4324 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4325
5707e24b
TV
43262020-04-07 Tom de Vries <tdevries@suse.de>
4327
4328 * gdb.base/check-psymtab.c: New test.
4329 * gdb.base/check-psymtab.exp: New file.
4330
6ee448cc
TT
43312020-04-06 Tom Tromey <tromey@adacore.com>
4332
4333 * gdb.ada/variant-record/proc.adb: New file.
4334 * gdb.ada/variant-record/value.adb: New file.
4335 * gdb.ada/variant-record/value.s: New file.
4336 * gdb.ada/variant-record.exp: New file.
4337
9e7c9a03
HD
43382020-04-03 Hannes Domani <ssbssa@yahoo.de>
4339
4340 PR gdb/25325
4341 * gdb.cp/typed-enum.cc: New test.
4342 * gdb.cp/typed-enum.exp: New file.
4343
c90d28ac
AB
43442020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4345
4346 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4347 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4348 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4349 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4350 * gdb.opt/inline-small-func.c: New file.
4351 * gdb.opt/inline-small-func.exp: New file.
4352 * gdb.opt/inline-small-func.h: New file.
4353
34e9a9fa
AB
43542020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4355
4356 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4357 function.
4358
6a354911
AB
43592020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4360
4361 * lib/dwarf.exp (function_range): Allow compiler options to be
4362 specified.
4363
880d9777
TV
43642020-04-02 Tom de Vries <tdevries@suse.de>
4365
4366 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4367 __attribute__((always_inline)).
4368 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4369
f32682ea
TV
43702020-04-02 Tom de Vries <tdevries@suse.de>
4371
4372 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4373 (gdbserver_gdb_exit): ... here. Add timeout warning.
4374 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4375 (connect_target_extended_remote): Append new server_spawn_id to
4376 server_spawn_ids.
4377 (cleanup): New proc.
4378 (setup, <toplevel>): Call cleanup.
4379
d3214198
TV
43802020-04-02 Tom de Vries <tdevries@suse.de>
4381
4382 * gdb.base/main-psymtab.exp: New file.
4383
cc77ed24
TV
43842020-04-02 Tom de Vries <tdevries@suse.de>
4385
4386 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4387
3638a098
TT
43882020-04-01 Tom Tromey <tom@tromey.com>
4389
4390 * gdb.base/complex-parts.exp: Add type tests.
4391
c34e8714
TT
43922020-04-01 Tom Tromey <tom@tromey.com>
4393
4394 * gdb.base/complex-parts.exp: Add arithmetic tests.
4395
981c08ce
TT
43962020-04-01 Tom Tromey <tom@tromey.com>
4397
4398 * gdb.compile/compile.exp: Update.
4399 * gdb.compile/compile-cplus.exp: Update.
4400 * gdb.base/varargs.exp: Update.
4401 * gdb.base/floatn.exp: Update.
4402 * gdb.base/endianity.exp: Update.
4403 * gdb.base/callfuncs.exp (do_function_calls): Update.
4404 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4405 (complex_float_integral_args): Update.
4406 * gdb.base/complex.exp: Update.
4407 * gdb.base/complex-parts.exp: Update.
4408
3d1cfd43
TT
44092020-04-01 Tom Tromey <tromey@adacore.com>
4410
4411 * gdb.rust/union.rs: New file.
4412 * gdb.rust/union.exp: New file.
4413 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4414 (main): Update.
4415 * gdb.rust/simple.exp: Move union tests to union.exp.
4416
e033dfa9
TT
44172020-04-01 Tom Tromey <tromey@adacore.com>
4418
4419 * gdb.rust/simple.rs (main): Remove "y0".
4420
53cccef1
TBA
44212020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4422
4423 * gdb.multi/stop-all-on-exit.c: New test.
4424 * gdb.multi/stop-all-on-exit.exp: New file.
4425
60e22c1e
HD
44262020-04-01 Hannes Domani <ssbssa@yahoo.de>
4427
4428 PR gdb/24789
4429 * gdb.cp/misc.cc: Add integer reference variable.
4430 * gdb.cp/misc.exp: Add test.
4431
e139a727
TBA
44322020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4433
4434 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4435 scenario to cover execution until the end and also the case
4436
16b0db75
TV
44372020-03-31 Tom de Vries <tdevries@suse.de>
4438
4439 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4440 c. Use "maint info symtabs" to check symtab expansion.
4441
c0502da6
TV
44422020-03-30 Tom de Vries <tdevries@suse.de>
4443
4444 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4445 unsupported.
4446 (verify_psymtab_expanded): Move ...
4447 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4448 test.
4449 (readnow): New proc.
4450
5935fd15
AB
44512020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4452
4453 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4454 with $hex.
4455
1773be9e
TT
44562020-03-20 Tom Tromey <tromey@adacore.com>
4457
4458 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4459
70304be9
TT
44602020-03-20 Tom Tromey <tromey@adacore.com>
4461
4462 * gdb.ada/sub_variant/subv.adb: New file.
4463 * gdb.ada/sub_variant.exp: New file.
4464
0dd7b8f7
TV
44652020-03-20 Tom de Vries <tdevries@suse.de>
4466
4467 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4468 first break fails.
4469 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4470
cada5fc9
AB
44712020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4472
4473 * gdb.server/exit-multiple-threads.c: New file.
4474 * gdb.server/exit-multiple-threads.exp: New file.
4475
6b8c53f2
AB
44762020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4477
4478 * gdb.fortran/mixed-lang-stack.c: New file.
4479 * gdb.fortran/mixed-lang-stack.cpp: New file.
4480 * gdb.fortran/mixed-lang-stack.exp: New file.
4481 * gdb.fortran/mixed-lang-stack.f90: New file.
4482
19a2740f
AB
44832020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4484
4485 * gdb.linespec/cp-completion-aliases.cc: New file.
4486 * gdb.linespec/cp-completion-aliases.exp: New file.
4487
d8c8b848
TV
44882020-03-19 Tom de Vries <tdevries@suse.de>
4489
4490 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4491 more precise.
4492
a9933ccf
TV
44932020-03-18 Tom de Vries <tdevries@suse.de>
4494
4495 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4496 * gdb.dwarf2/break-inline-psymtab.c: New test.
4497 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4498
2f89101f
TV
44992020-03-16 Tom de Vries <tdevries@suse.de>
4500
4501 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4502 cache_verify and cache_verify_proc.
4503
6b9374f1
TV
45042020-03-15 Tom de Vries <tdevries@suse.de>
4505
4506 * gdb.server/solib-list.exp: Handle
4507 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4508
eaeaf44c
TV
45092020-03-15 Tom de Vries <tdevries@suse.de>
4510
4511 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4512 objfiles".
4513
3293bbaf
TT
45142020-03-14 Tom Tromey <tom@tromey.com>
4515
4516 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4517
ab44624c
TV
45182020-03-14 Tom de Vries <tdevries@suse.de>
4519
4520 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4521
54c43825
TV
45222020-03-14 Tom de Vries <tdevries@suse.de>
4523
4524 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4525 result in line-by-line fashion.
4526
2ac70237
TV
45272020-03-14 Tom de Vries <tdevries@suse.de>
4528
4529 * lib/gdb.exp (supports_statement_frontiers): New proc.
4530 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4531
09546b56
TV
45322020-03-14 Tom de Vries <tdevries@suse.de>
4533
4534 * gdb.base/printcmds.exp: Add missing quoting for "print
4535 teststring2".
4536
a1f6a07c
TT
45372020-03-13 Tom Tromey <tom@tromey.com>
4538
4539 * gdb.base/printcmds.exp (test_print_strings): Add regression
4540 test.
4541 * gdb.base/printcmds.c (charptr): New typedef.
4542 (teststring2): New global.
4543
1b83d09c
AB
45442020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4545
4546 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4547 full path in the test name.
4548 (test_ld): Add some with_test_prefix blocks to make test names
4549 unique.
4550
2d61316c
TV
45512020-03-13 Tom de Vries <tdevries@suse.de>
4552
4553 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4554
2e9145ac
TV
45552020-03-13 Tom de Vries <tdevries@suse.de>
4556
4557 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4558
96c7f873
TV
45592020-03-13 Tom de Vries <tdevries@suse.de>
4560
4561 PR symtab/25646
4562 * gdb.dwarf2/imported-unit.exp: Add test.
4563
49ba92c0
TV
45642020-03-13 Tom de Vries <tdevries@suse.de>
4565
4566 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4567 (var1, var2): New variable.
4568 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4569 matching symbols.
4570
301b21e0
TV
45712020-03-13 Tom de Vries <tdevries@suse.de>
4572
4573 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4574 (Term::command): Use prompt prefix.
4575 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4576 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4577 command_no_prompt_prefix instead of prefix.
4578 * gdb.tui/tui-layout-asm.exp: Same.
4579
3f512721
SM
45802020-03-12 Simon Marchi <simon.marchi@efficios.com>
4581
4582 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4583
40310f30
SM
45842020-03-12 Simon Marchi <simon.marchi@efficios.com>
4585
4586 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4587 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4588 on" while stepping over the test instruction, match printed
4589 message.
4590
09252140
TV
45912020-03-12 Tom de Vries <tdevries@suse.de>
4592
4593 * gdb.base/info-types.exp: Use exp_continue during matching of output
4594 of "info types".
4595
14e9c72c
TV
45962020-03-12 Tom de Vries <tdevries@suse.de>
4597
4598 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4599
e515d67e
TV
46002020-03-12 Tom de Vries <tdevries@suse.de>
4601
4602 * gdb.fortran/module.exp: Use exp_continue during matching of output
4603 of "info variable -n".
4604
307eafd8
TV
46052020-03-12 Tom de Vries <tdevries@suse.de>
4606
4607 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4608 gdb.dwarf2/dw2-ranges-base.c.
4609
9a2de3fc
TV
46102020-03-12 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4613 in presence of GLIBC debuginfo.
4614
3217502e
TV
46152020-03-12 Tom de Vries <tdevries@suse.de>
4616
4617 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4618 $core.
4619
1281424c
TV
46202020-03-12 Tom de Vries <tdevries@suse.de>
4621
4622 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4623 more precise.
4624
038b97fc
SM
46252020-03-11 Simon Marchi <simon.marchi@efficios.com>
4626
4627 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4628 from Unix to Windows path.
4629
5308d1e7
TV
46302020-03-11 Tom de Vries <tdevries@suse.de>
4631
4632 * gdb.ada/minsyms.exp: Set language to ada.
4633
f870f78f
TV
46342020-03-11 Tom de Vries <tdevries@suse.de>
4635
4636 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4637
5a13315d
TV
46382020-03-11 Tom de Vries <tdevries@suse.de>
4639
4640 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4641
976862ed
TT
46422020-03-11 Tom Tromey <tromey@adacore.com>
4643
4644 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4645
7462c383
TV
46462020-03-11 Tom de Vries <tdevries@suse.de>
4647
4648 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4649
1c6c46a0
TV
46502020-03-11 Tom de Vries <tdevries@suse.de>
4651
4652 * gdb.base/break-interp.exp: Limit verbose scope.
4653
44f41bb7
TV
46542020-03-11 Tom de Vries <tdevries@suse.de>
4655
4656 * gdb.fortran/logical.f90: Define variable with character type.
4657 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4658
b76f3a42
TV
46592020-03-11 Tom de Vries <tdevries@suse.de>
4660
4661 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4662
1c33af77
TV
46632020-03-11 Tom de Vries <tdevries@suse.de>
4664
4665 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4666 symtabs.
4667
8c95582d
AB
46682020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4669 Bernd Edlinger <bernd.edlinger@hotmail.de>
4670
4671 * gdb.cp/step-and-next-inline.cc: New file.
4672 * gdb.cp/step-and-next-inline.exp: New file.
4673 * gdb.cp/step-and-next-inline.h: New file.
4674 * gdb.dwarf2/dw2-is-stmt.c: New file.
4675 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4676 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4677 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4678 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4679
cecf8547
AB
46802020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4681
4682 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4683 is-stmt flag in the line table.
4684
0ba678c9
TV
46852020-03-09 Tom de Vries <tdevries@suse.de>
4686
4687 * lib/gdb.exp (cached_file): Create cache dir.
4688
72fbdf83
TV
46892020-03-07 Tom de Vries <tdevries@suse.de>
4690
4691 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4692 * gdb.cp/rvalue-ref-params.exp: Same.
4693
436b5e99
TV
46942020-03-06 Tom de Vries <tdevries@suse.de>
4695
4696 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4697 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4698
09f2921c
TV
46992020-03-06 Tom de Vries <tdevries@suse.de>
4700
4701 * README: Fix "the the".
4702 * gdb.base/dprintf.exp: Same.
4703
50a3cc5d
TV
47042020-03-05 Tom de Vries <tdevries@suse.de>
4705
4706 * gdb.base/maint.exp: Update "main print statistics" expected output.
4707
0a709cba
AKS
47082020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4709
4710 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4711 (fortran_int8): Likewise.
4712 (fortran_real4): Likewise.
4713 (fortran_real8): Likewise.
4714 (fortran_complex4): Likewise.
4715 (fortran_logical4): Likewise.
4716 (fortran_character1): Likewise.
4717
5e5d66b6
AB
47182020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4719
4720 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4721 printed as true.
4722
7b973adc
SDJ
47232020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4724
4725 * gdb.base/printcmds.exp: Add test to verify printf of a
4726 variable holding an address.
4727
478e490a
TV
47282020-03-03 Tom de Vries <tdevries@suse.de>
4729
4730 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4731
1ef44e86
TV
47322020-03-03 Tom de Vries <tdevries@suse.de>
4733
4734 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4735 gdb_test_multiple call.
4736
b98cc2cf
TV
47372020-03-03 Tom de Vries <tdevries@suse.de>
4738
4739 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4740 gdb_test_multiple calls.
4741
63e163f2
AB
47422020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4743
4744 * gdb.base/default.exp: Remove test of 'set history filename'.
4745 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4746 filename to the empty string.
4747 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4748 and GDBHISTSIZE.
4749
24ed6739
AB
47502020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4751
4752 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4753 disabled.
4754
590003dc 47552020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4756 Tom de Vries <tdevries@suse.de>
590003dc
TV
4757
4758 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4759 -prompt prefix, before user_code argument. Add -lbl option likewise.
4760 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4761 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4762 argument.
4763 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4764 have "\r\n" at start-of-line, instead of at end-of-line.
4765
f5e46084
SM
47662020-02-28 Simon Marchi <simon.marchi@efficios.com>
4767
4768 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4769 libinproctrace.so.
4770
f7a7000d
LM
47712020-02-28 Luis Machado <luis.machado@linaro.org>
4772
4773 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4774 to "p/x".
4775
718e0816
LM
47762020-02-28 Luis Machado <luis.machado@linaro.org>
4777
4778 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4779 asm/ptrace.h and error.h.
4780
13c3a74a
TV
47812020-02-28 Tom de Vries <tdevries@suse.de>
4782
4783 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4784 (struct wrapper, do_something, mundane/symada__cS): Move ...
4785 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4786 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4787 Update "print symada__cS before partial symtab expansion" regexp.
4788 Update breakpoint location. Flush symbol cache after expansion.
4789
85d2d5bb
LM
47902020-02-28 Luis Machado <luis.machado@linaro.org>
4791
4792 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4793
3608f86c
TV
47942020-02-27 Tom de Vries <tdevries@suse.de>
4795
4796 * config/sid.exp: Remove unused globals.
4797 * gdb.base/attach.exp: Same.
4798 * gdb.base/catch-load.exp: Same.
4799 * gdb.base/dbx.exp: Same.
4800 * lib/gdb.exp: Same.
4801 * lib/mi-support.exp: Same.
4802 * lib/prompt.exp: Same.
4803
c8d4f6df
TV
48042020-02-27 Tom de Vries <tdevries@suse.de>
4805
4806 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4807 not set.
4808
0d79cdc4
AM
48092020-02-26 Aaron Merey <amerey@redhat.com>
4810
4811 * gdb.debuginfod: New directory for debuginfod tests.
4812 * gdb.debuginfod/main.c: New test file.
4813 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4814
0dce4280
TV
48152020-02-26 Tom de Vries <tdevries@suse.de>
4816
4817 PR gdb/25603
4818 * gdb.base/persistent-lang.cc: New test.
4819 * gdb.base/persistent-lang.exp: New file.
4820
9e80cfa1
AB
48212020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4822
4823 * gdb.fortran/derived-type-striding.exp: Add a new test.
4824 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4825 new test.
4826
2078dbb2
AB
48272020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4828
4829 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4830 names.
4831
70d49700
TV
48322020-02-25 Tom de Vries <tdevries@suse.de>
4833
4834 PR go/18926
4835 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4836
a88ef40d
TV
48372020-02-24 Tom de Vries <tdevries@suse.de>
4838
4839 PR gdb/25592
4840 * gdb.base/info-locals-unused-static-var.c: New test.
4841 * gdb.base/info-locals-unused-static-var.exp: New file.
4842
01b1af32
TT
48432020-02-22 Tom Tromey <tom@tromey.com>
4844
4845 * gdb.python/tui-window.exp: New file.
4846 * gdb.python/tui-window.py: New file.
4847
7c043ba6
TT
48482020-02-22 Tom Tromey <tom@tromey.com>
4849
4850 PR tui/17850:
4851 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4852 tests.
4853
c22fef7e
TT
48542020-02-22 Tom Tromey <tom@tromey.com>
4855
4856 * gdb.tui/new-layout.exp: Add sub-layout tests.
4857
ee325b61
TT
48582020-02-22 Tom Tromey <tom@tromey.com>
4859
4860 * gdb.tui/new-layout.exp: New file.
4861
3f0cbb04
TT
48622020-02-22 Tom Tromey <tom@tromey.com>
4863
4864 * gdb.rust/rust-style.rs: New file.
4865 * gdb.rust/rust-style.exp: New file.
4866 * gdb.base/style.exp: Test structure printing.
4867 * gdb.base/style.c (struct some_struct): New type.
4868 (enum etype): New type.
4869 (struct_value): New global.
4870
75525152
TV
48712020-02-21 Tom de Vries <tdevries@suse.de>
4872
4873 PR go/18926
4874 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4875 Remove blanket xfails. Use message argument for gdb_breakpoint.
4876 Make continuing to breakpoint test conditional on setting breakpoint.
4877 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4878 DW_AT_name attribute. Add xfail for GCC PR93866.
4879
bd360d30
AB
48802020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4881
4882 * gdb.dwarf2/cpp-linkage-name.c: New file.
4883 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4884
c7adb09f 48852020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4886
4887 * lib/gdb.exp (gdb_wrapper_init): Reset
4888 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4889 not exist.
4890
a9c79803
TV
48912020-02-20 Tom de Vries <tdevries@suse.de>
4892
4893 PR go/17018
4894 * gdb.go/hello.exp: Copy ...
4895 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4896 print of st to print value of global definition. Add xfail for GCC
4897 PR93844.
4898 * gdb.go/hello.exp: Remove printing of st before definition.
4899 * gdb.go/hello.go: Copy ...
4900 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4901 to st.
4902 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4903
d7445728
TV
49042020-02-20 Tom de Vries <tdevries@suse.de>
4905
4906 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4907 (gdb_simple_compile): Handle compile_flags go by using .go extension
4908 for source file.
4909 * gdb.go/chan.exp: Use support_go_compile.
4910 * gdb.go/handcall.exp: Same.
4911 * gdb.go/hello.exp: Same.
4912 * gdb.go/integers.exp: Same.
4913 * gdb.go/max-depth.exp: Same.
4914 * gdb.go/methods.exp: Same.
4915 * gdb.go/package.exp: Same.
4916 * gdb.go/strings.exp: Same.
4917 * gdb.go/types.exp: Same.
4918 * gdb.go/unsafe.exp: Same.
4919
c9c41e6d
TV
49202020-02-19 Tom de Vries <tdevries@suse.de>
4921
4922 * gdb.python/lib-types.exp: Make xfail more strict.
4923
f20ff837
TV
49242020-02-19 Tom de Vries <tdevries@suse.de>
4925
4926 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4927
08410482
DE
49282020-02-19 Doug Evans <dje@google.com>
4929
4930 PR rust/25535
4931 * gdb.rust/simple.exp: Add test.
4932 * gdb.rust/simple.rs: Add test.
4933
623563f7
TV
49342020-02-19 Tom de Vries <tdevries@suse.de>
4935
4936 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4937 output line-by-line.
4938
d3308cfd
TV
49392020-02-19 Tom de Vries <tdevries@suse.de>
4940
4941 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4942
86cbc5dc
TV
49432020-02-19 Tom de Vries <tdevries@suse.de>
4944
4945 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4946 prelink.
4947
9db2b96b
TV
49482020-02-19 Tom de Vries <tdevries@suse.de>
4949
4950 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4951 (gdb_do_cache): Use gdb_do_cache_wrap.
4952 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4953
89e2fdc5
TV
49542020-02-19 Tom de Vries <tdevries@suse.de>
4955
4956 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4957 gdb_compile option.
4958
373d7ac0
SM
49592020-02-18 Simon Marchi <simon.marchi@efficios.com>
4960
4961 * gdb.base/printcmds.exp (test_print_enums): Update expected
4962 output.
4963
b29a2df0
SM
49642020-02-18 Simon Marchi <simon.marchi@efficios.com>
4965
4966 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4967 for "unknown".
4968
6740f0cc
SM
49692020-02-18 Simon Marchi <simon.marchi@efficios.com>
4970
4971 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4972 enumerator.
4973
edd45eb0
SM
49742020-02-18 Simon Marchi <simon.marchi@efficios.com>
4975
4976 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4977 FE_, add FE_NONE.
4978 (three): Update.
4979 (enum flag_enum_without_zero): New enum.
4980 (flag_enum_without_zero): New variable.
4981 (enum not_flag_enum): New enum.
4982 (three_not_flag): New variable.
4983 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4984 (test_print_enums): Add more tests for printing flag enums.
4985
d4295de4
TV
49862020-02-18 Tom de Vries <tdevries@suse.de>
4987
4988 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4989 (gdb_compile_ada): ... here.
4990 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4991 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4992
f251f505
TT
49932020-02-14 Tom Tromey <tom@tromey.com>
4994
4995 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4996 build directory.
4997 * boards/gdbserver-base.exp: Update path to gdbserver.
4998
8f432634
TV
49992020-02-13 Tom de Vries <tdevries@suse.de>
5000
5001 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5002
92b6eaf7
TV
50032020-02-13 Tom de Vries <tdevries@suse.de>
5004
5005 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5006 are missing.
5007
f3b0f7fe
TV
50082020-02-13 Tom de Vries <tdevries@suse.de>
5009
5010 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5011 call.
5012
f6be8713
SDJ
50132020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5014
5015 PR tui/25126
5016 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5017 * gdb.base/cached-source-file.c: New file.
5018 * gdb.base/cached-source-file.exp: New file.
5019
b2770d5e
TV
50202020-02-11 Tom de Vries <tdevries@suse.de>
5021
5022 PR testsuite/25488
5023 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5024
44f6938e
TV
50252020-02-10 Tom de Vries <tdevries@suse.de>
5026
5027 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5028
5f0e2eb7
MR
50292020-02-10 Maciej W. Rozycki <macro@wdc.com>
5030
5031 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5032 and $after_addr are both integers before making a comparison.
5033
46ce2b6f
TV
50342020-02-09 Tom de Vries <tdevries@suse.de>
5035
5036 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5037 command output and paste it into gdb.log. If any, paste catch message
5038 to gdb.log.
5039
5abbbe1d
TT
50402020-02-07 Tom Tromey <tromey@adacore.com>
5041
5042 PR breakpoints/24915:
5043 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5044
1d5d29e7
SV
50452020-02-06 Shahab Vahedi <shahab@synopsys.com>
5046
5047 * gdb.tui/tui-missing-src.exp: Add the "missing source
5048 file" test for the TUI.
5049
b0999b9b
AB
50502020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5051
5052 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5053 including a port number in the output.
5054
c3b149eb
AKS
50552020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5056
5057 * lib/fortran.exp (fortran_int4): Handle clang.
5058 (fortran_int8): Likewise.
5059 (fortran_real4): Likewise.
5060 (fortran_real8): Likewise.
5061 (fortran_complex4): Likewise.
5062 (fortran_logical4): Likewise.
5063 (fortran_character1): Likewise.
5064
f8dcc90b
TV
50652020-02-04 Tom de Vries <tdevries@suse.de>
5066
5067 * README (Race detection): Add note.
5068
f90ac7c2
TV
50692020-02-04 Tom de Vries <tdevries@suse.de>
5070
5071 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5072
780636ae
TV
50732020-02-04 Tom de Vries <tdevries@suse.de>
5074
5075 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5076
5d2e1193
RA
50772020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5078
5079 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5080 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5081 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5082 blttar, bnetarl.
5083 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5084 binary for blttar, bnetarl.
5085 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5086 wait instruction. Delete ldmx test.
5087 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5088
e409c542
AKS
50892020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5090
5091 * gdb.fortran/array-bounds-high.exp: New file.
5092 * gdb.fortran/array-bounds-high.f90: New file.
5093
b0029748
LD
50942020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5095
5096 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5097 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5098
195a8287
TV
50992020-02-01 Tom de Vries <tdevries@suse.de>
5100
5101 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5102
42330a68
AB
51032020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5104
5105 PR tui/9765
5106 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5107 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5108
b62a8028
LM
51092020-01-29 Luis Machado <luis.machado@linaro.org>
5110
5111 * gdb.arch/aarch64-brk-patterns.c: New source file.
5112 * gdb.arch/aarch64-brk-patterns.exp: New test.
5113
5f440116
TBA
51142020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5115
5116 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5117 GCC/Clang version.
5118 * gdb.cp/pass-by-ref.exp: Ditto.
5119
ee2a6fc6
TV
51202020-01-29 Tom de Vries <tdevries@suse.de>
5121
5122 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5123 * gdb.threads/watchpoint-fork-mt.c: Same.
5124 * gdb.threads/watchpoint-fork-parent.c: Same.
5125 * gdb.threads/watchpoint-fork-st.c: Same.
5126 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5127
16b10d6e
LM
51282020-01-27 Luis Machado <luis.machado@linaro.org>
5129
5130 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5131 sitting at a syscall instruction when we hit the syscall function's
5132 breakpoint.
5133 Check PC against one obtained with the x command.
5134 Validate syscall number.
5135 (step_over_syscall): Don't continue to the syscall instruction if
5136 we're already there.
5137
b1468492
PW
51382020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5139
5140 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5141
7ffa82e1
AB
51422020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5143
5144 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5145 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5146
3d92a3e3
AB
51472020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5148
5149 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5150 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5151
94a72be7
AB
51522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5153
5154 * gdb.base/maint.exp: Update line table parsing test.
5155 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5156
53af73bf
PA
51572020-01-24 Pedro Alves <palves@redhat.com>
5158
5159 PR gdb/25410
5160 * gdb.multi/multi-re-run-1.c: New.
5161 * gdb.multi/multi-re-run-2.c: New.
5162 * gdb.multi/multi-re-run.exp: New.
5163
1ba1ac88
AB
51642020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5165
5166 PR gdb/23718
5167 * gdb.server/server-kill-python.exp: New file.
5168
f3364a6d
AB
51692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5170
5171 * gdb.server/multi-ui-errors.c: New file.
5172 * gdb.server/multi-ui-errors.exp: New file.
5173
733d0a67
AB
51742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5175
5176 PR tui/9765
5177 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5178
4f13c1c0
TT
51792020-01-19 Tom Tromey <tom@tromey.com>
5180
5181 * gdb.tui/main.exp: Add check for plain "file".
5182
40c94099
CB
51832020-01-16 Christian Biesinger <cbiesinger@google.com>
5184
5185 * lib/gdb.exp: Fix spelling error (seperatelly).
5186
ff47f4f0
TT
51872020-01-14 Tom Tromey <tom@tromey.com>
5188
5189 PR symtab/12535:
5190 * gdb.python/python.exp: Test decode_line with empty string
5191 argument.
5192
717c684d
BE
51932020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5194
5195 * gdb.base/skip-inline.exp: Extend test.
5196
44e4c775
AB
51972020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5198
5199 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5200 * gdb.dwarf2/dw2-bad-elf.c: New file.
5201 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5202
d93c6db7
AB
52032020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5204
5205 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5206 _line_saw_file.
5207
9a6d629c
AB
52082020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5209
5210 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5211 border.
5212
d9ebdab7
TBA
52132020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5214
5215 * gdb.multi/multi-target.exp (setup): Factor out "info
5216 connections" and "info inferiors" tests to ...
5217 (test_info_inferiors): ... this new procedure.
5218 (top level): Run new "info-inferiors" tests.
5219
f3c469b9
PA
52202020-01-10 Pedro Alves <palves@redhat.com>
5221
5222 * gdb.server/bkpt-other-inferior.exp: New file.
5223
121b3efd
PA
52242020-01-10 Pedro Alves <palves@redhat.com>
5225
5226 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5227 of "add-inferior".
5228 * gdb.base/quit-live.exp: Likewise.
5229 * gdb.base/remote-exec-file.exp: Likewise.
5230 * gdb.guile/scm-progspace.exp: Likewise.
5231 * gdb.linespec/linespec.exp: Likewise.
5232 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5233 * gdb.mi/user-selected-context-sync.exp: Likewise.
5234 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5235 "info inferiors" tests.
5236 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5237 "add-inferior".
5238 * gdb.multi/watchpoint-multi.exp: Likewise.
5239 * gdb.python/py-inferior.exp: Likewise.
5240 * gdb.server/extended-remote-restart.exp: Likewise.
5241 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5242 "info inferiors".
5243 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5244 * gdb.trace/report.exp: Likewise.
5245
1dadb1dd
PA
52462020-01-10 Pedro Alves <palves@redhat.com>
5247
5248 * gdb.multi/multi-target.c: New file.
5249 * gdb.multi/multi-target.exp: New file.
5250 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5251 mode requested, but remote does not support non-stop".
5252
78f2c40a
PA
52532020-01-10 Pedro Alves <palves@redhat.com>
5254
5255 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5256 disconnect before reconnecting.
5257
e7af6c70
TBA
52582020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5259 Pedro Alves <palves@redhat.com>
5260
5261 * gdb.server/connect-without-multi-process.exp: Also test
5262 continuing to end.
5263
acdf84a6
PA
52642020-01-10 Pedro Alves <palves@redhat.com>
5265
5266 * gdb.base/remote-exec-file.exp: New file.
5267
873657b9
PA
52682020-01-10 Pedro Alves <palves@redhat.com>
5269
5270 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5271 output.
5272 * gdb.threads/async.c: New.
5273 * gdb.threads/async.exp: New.
5274 * gdb.multi/tids-gid-reset.c: New.
5275 * gdb.multi/tids-gid-reset.exp: New.
5276
7f0ae84c
GB
52772020-01-10 George Barrett <bob@bob131.so>
5278
5279 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5280 to help in finding the image relocation offset.
5281 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5282 options in arguments.
5283 (stap_test_no_debuginfo): Likewise.
5284 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5285 test variants.
5286 (stap_test): Add null semaphore relocation test.
5287
47e9d49d
GB
52882020-01-10 George Barrett <bob@bob131.so>
5289
5290 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5291 * gdb.base/stap-probe.exp: Likewise.
5292 (stap_test): Pass argument as an additional flag.
5293 (stap_test_no_debuginfo): Likewise.
5294 (stap_test): Check `info probes stap' output for semaphore
5295 addresses if the test binary is supposed to have them.
5296
f5a7c406
AB
52972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5298
5299 * gdb.tui/basic.exp: Add more scrolling tests.
5300
9ae6bf64
TT
53012020-01-09 Tom Tromey <tom@tromey.com>
5302
5303 PR tui/18932:
5304 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5305 meangingful value.
5306 (Term::command, Term::resize): Update.
5307 * gdb.tui/basic.exp: Add scrolling test.
5308
b2efe70c
AB
53092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5310
5311 * gdb.tui/tui-layout-asm.exp: New file.
5312
3804da7e
AB
53132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5314
5315 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5316
b40aa28f
AB
53172020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5318
5319 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5320 (Term::enter_tui): Use Term::prepare_for_tui.
5321
63ffd7c9
AB
53222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5323
5324 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5325 called.
5326
3be966f6
AB
53272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5328
5329 * gdb.base/skip.exp: Fix race condition in test.
5330
153d79c4
AB
53312020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5332
5333 * gdb.base/backtrace.c: New file.
5334 * gdb.base/backtrace.exp: New file.
5335
f2302a34
AB
53362020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5337
5338 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5339
6ec1d75e
PW
53402020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5341
5342 * gdb.base/style.exp: Test that warnings are styled.
5343
c296cbe6
BE
53442019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5345
5346 * gdb.base/line65535.exp: New file.
5347 * gdb.base/line65535.c: New file.
5348
b28a729d
SM
53492019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5350
5351 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5352 * lib/gnat_debug_info_test.adb: New file.
5353 * gdb.ada/ptype_tagged_param.exp: Use
5354 gnat_runtime_has_debug_info, expect a different output if
5355 runtime does not have debug info.
5356
7f2d7a0d
SM
53572019-12-20 Simon Marchi <simon.marchi@efficios.com>
5358
5359 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5360 (another) quote in test name.
5361
f3bce483
SM
53622019-12-20 Simon Marchi <simon.marchi@efficios.com>
5363
5364 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5365 Add quote in test name.
5366
c855a912
TBA
53672019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5368
5369 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5370 directory instead.
5371 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5372 * gdb.cp/pass-by-ref-2.cc: New file.
5373 * gdb.cp/pass-by-ref-2.exp: New file.
5374
fc9d2d72
TT
53752019-12-20 Tom Tromey <tom@tromey.com>
5376
5377 * gdb.tui/list-before.exp: New file.
5378
77b97e00
TT
53792019-12-20 Tom Tromey <tom@tromey.com>
5380
5381 * gdb.tui/list.exp: Check for source on initial listing.
5382
f69656d0
TT
53832019-12-11 Tom Tromey <tromey@adacore.com>
5384
5385 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5386 Add crlf test.
5387
99a55965
SM
53882019-12-18 Simon Marchi <simon.marchi@efficios.com>
5389
5390 * gdb.base/default.exp: Update value of $_gdb_major.
5391
5024637f
BE
53922019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5393
5394 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5395
b63634be
BE
53962019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5397
5398 * gdb.base/skip.exp: Whitespace fix.
5399
45d73523
BE
54002019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5401
5402 * gdb.base/skip-inline.c: New file.
5403 * gdb.base/skip-inline.exp: New file.
5404
d043f8c8
SM
54052019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5406
5407 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5408 jit_function_00 to jit_function_stack_mangle.
5409 * gdb.base/jithost.c (jit_function_t): Rename to...
5410 (jit_function_stack_mangle_t): ... this.
5411 (jit_function_add_t): New typedef.
5412 (jit_function_00_code): Rename to...
5413 (jit_function_stack_mangle_code): ... this, make static.
5414 (jit_function_add_code): New.
5415 (main): Generate "add" function and call it. Adjust to changes
5416 in jithost_abi.
5417 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5418 (struct jithost_abi) <begin, end>: Remove fields.
5419 <object, function_stack_mangle, function_add>: New fields.
5420 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5421 code_end>: Remove fields.
5422 <func_stack_mangle>: New field.
5423 (read_debug_info): Adjust to renaming, create block for "add"
5424 function.
5425 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5426
873de05c
TT
54272019-12-11 Tom Tromey <tom@tromey.com>
5428
5429 * gdb.tui/resize.exp: Fix regexp.
5430 * gdb.tui/regs.exp: Fix regexps.
5431 * gdb.tui/main.exp: Fix regexp.
5432
3d979945
TT
54332019-12-11 Tom Tromey <tom@tromey.com>
5434
5435 * gdb.tui/resize.exp: Update.
5436 * gdb.tui/empty.exp (layouts): Update.
5437
2192a9d3
TT
54382019-12-11 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.tui/regs.exp: Update.
5441 * gdb.tui/empty.exp (layouts): Update.
5442 * gdb.tui/basic.exp: Update.
5443 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5444
d8edc8b7
PW
54452019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5446
5447 * gdb.base/options.exp: Add -raw-values in the print completion list.
5448 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5449
4c12d936
KB
54502019-12-10 Kevin Buettner <kevinb@redhat.com>
5451
5452 * gdb.threads/omp-par-scope.c: New file.
5453 * gdb/threads/omp-par-scope.exp: New file.
5454
26b911fb
KB
54552019-12-10 Kevin Buettner <kevinb@redhat.com>
5456
bb47f919
KB
5457 * lib/gdb.exp (support_nested_function_tests): New proc.
5458
54592019-12-10 Kevin Buettner <kevinb@redhat.com>
5460
5461 * lib/gdb.exp (gdb_compile_openmp): New proc.
5462 (build_executable_from_specs): Add an "openmp" option.
5463 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5464
6c71eb7d
TT
54652019-12-10 Tom Tromey <tromey@adacore.com>
5466
5467 * gdb.ada/unchecked_union.exp: New file.
5468 * gdb.ada/unchecked_union/pck.adb: New file.
5469 * gdb.ada/unchecked_union/pck.ads: New file.
5470 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5471 * gdb-utils.exp (string_to_regexp): Also quote "?".
5472
bac7c5cf
GB
54732019-12-10 George Barrett <bob@bob131.so>
5474
5475 Test scripted probe breakpoints.
5476 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5477 * gdb.python/py-breakpoint.c (main): Likewise.
5478 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5479 specifier test.
5480 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5481
330f1d38
TBA
54822019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5483
5484 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5485 an rvalue parameter.
5486 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5487 parameter.
5488
b43315e2
AB
54892019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5490
5491 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5492 modules.
5493
54f73dad
AB
54942019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5495
5496 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5497 broken version of GCC.
5498
d57cbee9
AB
54992019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5500
5501 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5502 sym-info-cmds library.
5503 * gdb.fortran/info-types.exp: Likewise.
5504 * lib/sym-info-cmds.exp: New file.
5505
c14aab8c
TV
55062019-12-08 Tom de Vries <tdevries@suse.de>
5507
5508 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5509
aa2d5a42
KS
55102019-12-07 Keith Seitz <keiths@redhat.com>
5511
5512 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5513 * gdb.base/corefile-buildid-shlib.c: New file.
5514 * gdb.base/corefile-buildid.c: New file.
5515 * gdb.base/corefile-buildid.exp: New file.
5516
93e55f0a
TV
55172019-12-06 Tom de Vries <tdevries@suse.de>
5518
5519 * gdb.dwarf2/varval.exp: Add decl before def test.
5520
c7d12402
TBA
55212019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5522
5523 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5524
06acc08f
TBA
55252019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5526
5527 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5528 CV and reference conversion for overload resolution.
5529 * gdb.cp/rvalue-ref-overload.exp: Test it.
5530
e0fad1ea
PW
55312019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5532
5533 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5534 * gdb.base/frameapply.exp: Test faas without command.
5535
8d70a9f0
AB
55362019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5537
5538 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5539 Fortran tests.
5540 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5541 order.
5542
36c8fb93
AB
55432019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5544
5545 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5546 casting to type with no kind specified.
5547 (test_basic_parsing_of_type_kinds): Additional tests for types
5548 with no kind specified, and add tests for single/double
5549 precision/complex types.
5550
4139ff00
TT
55512019-12-04 Tom Tromey <tromey@adacore.com>
5552
5553 * gdb.base/endianity.c (struct other) <x>: New field.
5554 (main): Initialize it.
5555 * gdb.base/endianity.exp: Update.
5556
a05cf17a
TT
55572019-12-04 Tom Tromey <tromey@adacore.com>
5558
5559 * gdb.ada/scalar_storage/storage.adb: New file.
5560 * gdb.ada/scalar_storage/pck.adb: New file.
5561 * gdb.ada/scalar_storage/pck.ads: New file.
5562 * gdb.ada/scalar_storage.exp: New file.
5563
103a685e
TT
55642019-12-04 Tom Tromey <tromey@adacore.com>
5565
5566 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5567 (main): Initialize it.
5568 * gdb.base/endianity.exp: Update.
5569
c2512106
AB
55702019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5571
5572 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5573
293b38d6
AB
55742019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5575
5576 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5577 -symbol-info-module-functions and -symbol-info-module-variables.
5578
216a7e6b
AB
55792019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5580
5581 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5582
5bbd8269
AB
55832019-12-01 Richard Bunt <richard.bunt@arm.com>
5584 Andrew Burgess <andrew.burgess@embecosm.com>
5585
5586 * gdb.fortran/derived-type-striding.exp: New file.
5587 * gdb.fortran/derived-type-striding.f90: New file.
5588 * gdb.fortran/array-slices.exp: New file.
5589 * gdb.fortran/array-slices.f90: New file.
5590
be09caf1
PW
55912019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5592
5593 * gdb.base/define.exp: Test . in command names.
5594 * gdb.base/setshow.exp: Update test, as . is now part of
5595 command name.
5596
643c0cbe
PW
55972019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5598
5599 * gdb.base/define-prefix.exp: New file.
5600
dcdec678
AB
56012019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5602
5603 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5604 compile.
5605 (skip_btrace_pt_tests): Likewise.
5606
640ab947
AB
56072019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5608
5609 * gdb.fortran/info-modules.exp: Compile source files in correct
5610 order.
5611
d22670f0
KB
56122019-11-27 Kevin Buettner <kevinb@redhat.com>
5613
5614 * gdb.dwarf2/imported-unit.exp: New file.
5615 * gdb.dwarf2/imported-unit.c: New file.
5616
db5960b4
AB
56172019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5618
5619 * gdb.mi/mi-fortran-modules-2.f90: New file.
5620 * gdb.mi/mi-fortran-modules.exp: New file.
5621 * gdb.mi/mi-fortran-modules.f90: New file.
5622
7dc42066
AB
56232019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5624
5625 * gdb.mi/mi-sym-info-1.c: New file.
5626 * gdb.mi/mi-sym-info-2.c: New file.
5627 * gdb.mi/mi-sym-info.exp: New file.
5628
0dfeecca
TT
56292019-11-22 Tom Tromey <tromey@adacore.com>
5630
5631 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5632 * gdb.ada/tasks/foo.adb: Add another stopping location.
5633
34877895
PJ
56342019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5635
5636 * gdb.base/endianity.c: New test.
5637 * gdb.base/endianity.exp: New file.
5638
2e84f897
LD
56392019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5640
5641 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5642
65d1cd5f
TV
56432019-11-21 Tom de Vries <tdevries@suse.de>
5644
5645 PR gdb/24956
5646 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5647
4f22c3f4
SDJ
56482019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5649
5650 * gdb.python/py-progspace.exp: Add missing parentheses on some
5651 'print' commands.
5652
9f6ad286
TT
56532019-11-19 Tom Tromey <tom@tromey.com>
5654
5655 * gdb.tui/winheight.exp: New file.
5656
0b8dbf3f
AB
56572019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5658
5659 * gdb.base/ctf-whatis.c: Delete.
5660 * gdb.base/ctf-whatis.exp: Delete.
5661 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5662
f833b7a7
AB
56632019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5664
5665 * gdb.base/ctf-cvexpr.exp: Delete.
5666 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5667
30d0a636
AB
56682019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5669
5670 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5671 the compiler. Clean up header comment a little.
5672 * gdb.base/ctf-ptype.exp: Likewise.
5673 * gdb.base/ctf-whatis.exp: Likewise.
5674 * lib/gdb.exp (skip_ctf_tests): New proc.
5675
494409bb
SDJ
56762019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5677
5678 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5679 * gdb.tui/corefile-run.exp: New file.
5680
55708e99
TT
56812019-11-14 Tom Tromey <tromey@adacore.com>
5682
5683 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5684 regression tests.
5685
45e42163
TT
56862019-11-12 Tom Tromey <tom@tromey.com>
5687
5688 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5689 after any command. Expect prompt after WAIT_FOR is seen.
5690 (enter_tui): Enable resize messages.
5691 (command): Expect command in output.
5692 (get_line): Avoid error when cursor appears to be off-screen.
5693 (dump_screen): Include screen size in title.
5694 (_do_resize): New proc, from "resize".
5695 (resize): Rewrite. Do resize in two steps.
5696 * gdb.tui/empty.exp (layouts): Fix entries.
5697 (check_boxes): Remove xfail.
5698 (check_text): Dump screen on failure.
5699
086baaf1
AB
57002019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5701
5702 * gdb.python/py-symbol.exp: Add test for
5703 gdb.lookup_static_symbols.
5704
09ff83af
AB
57052019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5706
5707 * gdb.python/py-symbol.c: Declare and call function from new
5708 py-symbol-2.c file.
5709 * gdb.python/py-symbol.exp: Compile both source files, and add new
5710 tests for gdb.lookup_static_symbol.
5711 * gdb.python/py-symbol-2.c: New file.
5712
11af934b
TV
57132019-11-02 Tom de Vries <tdevries@suse.de>
5714
5715 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5716 * gdb.base/anon.exp: Same.
5717 * gdb.base/auto-connect-native-target.exp: Same.
5718 * gdb.base/call-ar-st.exp: Same.
5719 * gdb.base/catch-syscall.exp: Same.
5720 * gdb.base/commands.exp: Same.
5721 * gdb.base/default.exp: Same.
5722 * gdb.base/display.exp: Same.
5723 * gdb.base/float.exp: Same.
5724 * gdb.base/foll-fork.exp: Same.
5725 * gdb.base/help.exp: Same.
5726 * gdb.base/info-macros.exp: Same.
5727 * gdb.base/info-proc.exp: Same.
5728 * gdb.base/info-target.exp: Same.
5729 * gdb.base/long_long.exp: Same.
5730 * gdb.base/macscp.exp: Same.
5731 * gdb.base/memattr.exp: Same.
5732 * gdb.base/nofield.exp: Same.
5733 * gdb.base/pointers.exp: Same.
5734 * gdb.base/printcmds.exp: Same.
5735 * gdb.base/ptype.exp: Same.
5736 * gdb.base/restore.exp: Same.
5737 * gdb.base/return.exp: Same.
5738 * gdb.base/scope.exp: Same.
5739 * gdb.base/set-noassign.exp: Same.
5740 * gdb.base/setshow.exp: Same.
5741 * gdb.base/shlib-call.exp: Same.
5742 * gdb.base/signals.exp: Same.
5743 * gdb.base/sigstep.exp: Same.
5744 * gdb.base/skip.exp: Same.
5745 * gdb.base/solib-symbol.exp: Same.
5746 * gdb.base/stap-probe.exp: Same.
5747 * gdb.base/step-line.exp: Same.
5748 * gdb.base/step-test.exp: Same.
5749 * gdb.base/style.exp: Same.
5750 * gdb.base/varargs.exp: Same.
5751 * gdb.base/vla-datatypes.exp: Same.
5752 * gdb.base/vla-ptr.exp: Same.
5753 * gdb.base/vla-sideeffect.exp: Same.
5754 * gdb.base/volatile.exp: Same.
5755 * gdb.base/watch-cond-infcall.exp: Same.
5756 * gdb.base/watchpoint.exp: Same.
5757
e96ec2ba
TV
57582019-11-02 Tom de Vries <tdevries@suse.de>
5759
5760 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5761 * gdb.cp/cpexprs.exp: Same.
5762 * gdb.cp/except-multi-location.exp: Same.
5763 * gdb.cp/exceptprint.exp: Same.
5764 * gdb.cp/gdb2384.exp: Same.
5765 * gdb.cp/inherit.exp: Same.
5766 * gdb.cp/m-static.exp: Same.
5767 * gdb.cp/meth-typedefs.exp: Same.
5768 * gdb.cp/misc.exp: Same.
5769 * gdb.cp/namespace.exp: Same.
5770 * gdb.cp/non-trivial-retval.exp: Same.
5771 * gdb.cp/overload.exp: Same.
5772 * gdb.cp/pr17132.exp: Same.
5773 * gdb.cp/re-set-overloaded.exp: Same.
5774 * gdb.cp/rvalue-ref-types.exp: Same.
5775 * gdb.cp/templates.exp: Same.
5776
bd5766ec
LM
57772019-11-01 Luis Machado <luis.machado@linaro.org>
5778
5779 PR gdb/25124
5780
5781 * gdb.arch/pr25124.S: New file.
5782 * gdb.arch/pr25124.exp: New file.
5783
165f8965
AB
57842019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5785
5786 * gdb.fortran/info-modules.exp: Update expected results, and add
5787 additional tests for 'info module functinos', and 'info module
5788 variables'.
5789 * gdb.fortran/info-types.exp: Update expected results.
5790 * gdb.fortran/info-types.f90: Extend testcase with additional
5791 module variables and functions.
5792
59c35742
AB
57932019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5794
5795 * gdb.fortran/info-modules.exp: New file.
5796 * gdb.fortran/info-types.exp: Build with new file.
5797 * gdb.fortran/info-types.f90: Include and use new module.
5798 * gdb.fortran/info-types-2.f90: New file.
5799
f3fb2519
PW
58002019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5801
5802 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5803 * gdb.base/settings.exp: Test all settings types using
5804 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5805 that now verifies that the value of "maint show" is the same as
5806 returned by the settings functions. Test the type of the
5807 maintenance settings.
5808 * gdb.base/default.exp: Update show_conv_list.
5809
d1e36019
TV
58102019-10-31 Tom de Vries <tdevries@suse.de>
5811
5812 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5813 gdb_test.
5814 * gdb.arch/amd64-disp-step.exp: Same.
5815 * gdb.asm/asm-source.exp: Same.
5816 * gdb.btrace/buffer-size.exp: Same.
5817 * gdb.btrace/cpu.exp: Same.
5818 * gdb.btrace/enable.exp: Same.
5819 * gdb.dwarf2/count.exp: Same.
5820 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5821 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5822 * gdb.fortran/vla-datatypes.exp: Same.
5823 * gdb.fortran/vla-history.exp: Same.
5824 * gdb.fortran/vla-ptype.exp: Same.
5825 * gdb.fortran/vla-value.exp: Same.
5826 * gdb.fortran/whatis_type.exp: Same.
5827 * gdb.guile/guile.exp: Same.
5828 * gdb.multi/tids.exp: Same.
5829 * gdb.python/py-finish-breakpoint.exp: Same.
5830 * gdb.python/py-framefilter.exp: Same.
5831 * gdb.python/py-pp-registration.exp: Same.
5832 * gdb.python/py-xmethods.exp: Same.
5833 * gdb.python/python.exp: Same.
5834 * gdb.server/connect-with-no-symbol-file.exp: Same.
5835 * gdb.server/no-thread-db.exp: Same.
5836 * gdb.server/run-without-local-binary.exp: Same.
5837 * gdb.stabs/weird.exp: Same.
5838 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5839 * gdb.threads/thread-find.exp: Same.
5840 * gdb.threads/tls-shared.exp: Same.
5841 * gdb.threads/tls.exp: Same.
5842 * gdb.threads/wp-replication.exp: Same.
5843 * gdb.trace/ax.exp: Same.
5844 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5845
3d11e68e
TV
58462019-10-31 Tom de Vries <tdevries@suse.de>
5847
5848 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5849 * gdb.ada/array_subscript_addr.exp: Same.
5850 * gdb.ada/arrayidx.exp: Same.
5851 * gdb.ada/arrayparam.exp: Same.
5852 * gdb.ada/arrayptr.exp: Same.
5853 * gdb.ada/boolean_expr.exp: Same.
5854 * gdb.ada/call_pn.exp: Same.
5855 * gdb.ada/complete.exp: Same.
5856 * gdb.ada/fixed_cmp.exp: Same.
5857 * gdb.ada/fun_addr.exp: Same.
5858 * gdb.ada/funcall_param.exp: Same.
5859 * gdb.ada/interface.exp: Same.
5860 * gdb.ada/mod_from_name.exp: Same.
5861 * gdb.ada/null_array.exp: Same.
5862 * gdb.ada/packed_array.exp: Same.
5863 * gdb.ada/packed_tagged.exp: Same.
5864 * gdb.ada/print_chars.exp: Same.
5865 * gdb.ada/print_pc.exp: Same.
5866 * gdb.ada/ptype_arith_binop.exp: Same.
5867 * gdb.ada/ptype_field.exp: Same.
5868 * gdb.ada/ptype_tagged_param.exp: Same.
5869 * gdb.ada/rec_return.exp: Same.
5870 * gdb.ada/ref_tick_size.exp: Same.
5871 * gdb.ada/str_ref_cmp.exp: Same.
5872 * gdb.ada/taft_type.exp: Same.
5873 * gdb.ada/tagged.exp: Same.
5874 * gdb.ada/type_coercion.exp: Same.
5875 * gdb.ada/uninitialized_vars.exp: Same.
5876
60b6ede8
TV
58772019-10-30 Tom de Vries <tdevries@suse.de>
5878
5879 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5880
30baf67b
TV
58812019-10-26 Tom de Vries <tdevries@suse.de>
5882
5883 * gdb.base/bigcore.c: Fix typos in comments.
5884 * gdb.base/ctf-ptype.c: Same.
5885 * gdb.base/long_long.c: Same.
5886 * gdb.dwarf2/dw2-op-out-param.S: Same.
5887 * gdb.python/py-evthreads.c: Same.
5888 * gdb.reverse/i387-stack-reverse.c: Same.
5889 * gdb.trace/tfile.c: Same.
5890 * lib/compiler.c: Same.
5891 * lib/compiler.cc: Same.
5892
158da0d1
TV
58932019-10-25 Tom de Vries <tdevries@suse.de>
5894
5895 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5896 gdb_test_multiple calls.
5897 * gdb.reverse/sigall-reverse.exp: Same.
5898 * gdb.reverse/solib-precsave.exp: Same.
5899 * gdb.reverse/solib-reverse.exp: Same.
5900 * gdb.reverse/until-precsave.exp: Same.
5901 * gdb.reverse/until-reverse.exp: Same.
5902
4ccdfbec
TV
59032019-10-24 Tom de Vries <tdevries@suse.de>
5904
5905 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5906 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5907 kfail using -wrap pattern flag and convenience variable
5908 gdb_test_name.
5909
33d569b7
AB
59102019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5911
5912 * gdb.python/py-progspace.exp: Add tests for the
5913 Progspace.block_for_pc method.
5914
4d0b984b
TT
59152019-10-23 Tom Tromey <tom@tromey.com>
5916
5917 * configure: Rebuild.
5918 * aclocal.m4: Use m4_include, not sinclude.
5919
94cb3754
TV
59202019-10-21 Tom de Vries <tdevries@suse.de>
5921
5922 * gdb.base/infcall-nested-structs.c: Add
5923 __attribute__((noinline,noclone)) to all functions.
5924 (call_all): Add missing variable initialization. Simplify return value.
5925 (breakpt): Increment volatile variable, to prevent call from being
5926 optimized out.
5927 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5928
062f1fc1
TV
59292019-10-17 Tom de Vries <tdevries@suse.de>
5930
5931 * gdb.fortran/module.exp: Allow info variables to print info for files
5932 other than module.f90.
5933
0b54364d
AB
59342019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5935
5936 * gdb.fortran/module.exp: Extend with 'info variables' test.
5937
7ff5fae7
AB
59382019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5939
5940 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5941 F77_FOR_TARGET.
5942
d10eccaa
TV
59432019-10-16 Tom de Vries <tdevries@suse.de>
5944
5945 PR tdep/25096
5946 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5947
745ff14e
TV
59482019-10-16 Tom de Vries <tdevries@suse.de>
5949
5950 PR tdep/24104
5951 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5952 Add KFAIL for PR tdep/25096.
5953
03e1ab94
TV
59542019-10-16 Tom de Vries <tdevries@suse.de>
5955
5956 PR testsuite/25059
5957 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5958
b17fcc10
TV
59592019-10-16 Tom de Vries <tdevries@suse.de>
5960
5961 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5962 as signed.
5963
9223170f
SM
59642019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5965
5966 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5967 one instead of increasing timeout.
5968
d6e76313
TV
59692019-10-13 Tom de Vries <tdevries@suse.de>
5970
5971 PR record/25038
5972 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5973 * gdb.reverse/sigall-reverse.exp: Same.
5974 * gdb.reverse/solib-precsave.exp: Same.
5975 * gdb.reverse/solib-reverse.exp: Same.
5976 * gdb.reverse/step-precsave.exp: Same.
5977 * gdb.reverse/until-precsave.exp: Same.
5978 * gdb.reverse/until-reverse.exp: Same.
5979 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5980
6dfc0041
AA
59812019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5982
5983 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5984 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5985 (cmp_struct_05_01, cmp_struct_static_02_01)
5986 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5987 comparisons.
5988
abcf2cc8
TV
59892019-10-10 Tom de Vries <tdevries@suse.de>
5990
5991 PR testsuite/24888
5992 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5993 gnatlink.
5994
a50faaf6
TV
59952019-10-09 Tom de Vries <tdevries@suse.de>
5996
5997 PR testsuite/25048
5998 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5999
60ff3cd7
AB
60002019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6001
6002 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6003 exceptions due to missing debug information.
6004
dfee8566
TV
60052019-10-07 Tom de Vries <tdevries@suse.de>
6006
6007 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6008
3d63690a
AB
60092019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6010
6011 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6012 * gdb.base/annota1.exp: Update to use gdb_test_name.
6013
30d1f018
WP
60142019-10-07 Weimin Pan <weimin.pan@oracle.com>
6015
6016 * gdb.base/ctf-whatis.exp: New file.
6017 * gdb.base/ctf-whatis.c: New file.
6018 * gdb.base/ctf-ptype.exp: New file.
6019 * gdb.base/ctf-ptype.c: New file.
6020 * gdb.base/ctf-constvars.exp: New file.
6021 * gdb.base/ctf-constvars.c: New file.
6022 * gdb.base/ctf-cvexpr.exp: New file.
6023
4dbbb47c
TV
60242019-10-04 Tom de Vries <tdevries@suse.de>
6025
6026 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6027 for loop.
6028
77c2dba3
TT
60292019-10-03 Tom Tromey <tom@tromey.com>
6030
6031 PR rust/24976:
6032 * gdb.rust/simple.rs (Union2): New type.
6033 (main): Use Union2.
6034 * gdb.rust/simple.exp: Add test.
6035
179aed7f
AB
60362019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6037
6038 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6039 nested function prefix.
6040
0a4b0913
AB
60412019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6042 Richard Bunt <richard.bunt@arm.com>
6043 Andrew Burgess <andrew.burgess@embecosm.com>
6044
6045 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6046 nested functions.
6047 * gdb.fortran/nested-funcs.f90: Update expected results.
6048 * gdb.fortran/nested-funcs-2.exp: New file.
6049 * gdb.fortran/nested-funcs-2.f90: New file.
6050
082cce05
AB
60512019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6052
6053 * gdb.python/py-parameter.exp: Make test names unique.
6054 * gdb.python/py-template.exp: Likewise.
6055 * gdb.python/py-value.exp: Likewise.
6056
2b74ba5a
AB
60572019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6058
6059 * gdb.base/break-interp.exp: Reduce test name duplication.
6060 * gdb.base/call-sc.exp: Likewise.
6061 * gdb.base/callfuncs.exp: Likewise.
6062 * gdb.base/charset.exp: Likewise.
6063 * gdb.base/dump.exp: Likewise.
6064 * gdb.base/ena-dis-br.exp: Likewise.
6065 * gdb.base/relational.exp: Likewise.
6066 * gdb.base/step-over-syscall.exp: Likewise.
6067 * gdb.base/structs.exp: Likewise.
6068
58eb20d5
AB
60692019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6070
6071 * gdb.linespec/explicit.exp: Make test names unique.
6072 * gdb.linespec/ls-errs.exp: Likewise.
6073
4d421147
AB
60742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6075
6076 * gdb.reverse/break-precsave.exp: Make test names unique.
6077 * gdb.reverse/break-reverse.exp: Likewise.
6078 * gdb.reverse/finish-precsave.exp: Likewise.
6079 * gdb.reverse/finish-reverse.exp: Likewise.
6080 * gdb.reverse/machinestate-precsave.exp: Likewise.
6081 * gdb.reverse/machinestate.exp: Likewise.
6082 * gdb.reverse/readv-reverse.exp: Likewise.
6083 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6084 * gdb.reverse/sigall-precsave.exp: Likewise.
6085 * gdb.reverse/sigall-reverse.exp: Likewise.
6086 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6087 * gdb.reverse/watch-precsave.exp: Likewise.
6088 * gdb.reverse/watch-reverse.exp: Likewise.
6089
d8c06f22
AB
60902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6091
6092 * gdb.threads/stop-with-handle.c: New file.
6093 * gdb.threads/stop-with-handle.exp: New file.
6094
3a56ed86
TV
60952019-10-03 Tom de Vries <tdevries@suse.de>
6096
6097 PR testsuite/25059
6098 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6099 directory" line to be missing.
6100
42275044
TV
61012019-10-03 Tom de Vries <tdevries@suse.de>
6102
6103 PR testsuite/25059
6104 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6105 type optional.
6106
9ef62df0
AA
61072019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6108
6109 * gdb.python/py-format-string.c (string.h): New include.
6110 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6111 the same value, for endianness-independence.
6112 * gdb.python/py-format-string.exp (default_regexp_dict)
6113 (test_pretty_structs, test_format): Adjust expected output to the
6114 changed initialization.
6115
37f6a7f4
TT
61162019-10-02 Tom Tromey <tromey@adacore.com>
6117
6118 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6119
1d58d6a2
PA
61202019-10-02 Pedro Alves <palves@redhat.com>
6121 Andrew Burgess <andrew.burgess@embecosm.com>
6122
6123 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6124 "print-file-var.h".
6125 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6126 (get_version_1): Print this_version_id and its address.
6127 Add extern "C" wrappers around interface functions.
6128 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6129 "print-file-var.h".
6130 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6131 (get_version_2): Print this_version_id and its address.
6132 Add extern "C" wrappers around interface functions.
6133 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6134 <stddef.h> and "print-file-var.h".
6135 Add extern "C" wrappers around interface functions.
6136 [VERSION_ID_MAIN] (this_version_id): Define.
6137 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6138 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6139 up extern "C" blocks.
6140 * gdb.base/print-file-var.exp (test): New, factored out from top
6141 level.
6142 (top level): Test all combinations of attribute hidden or not,
6143 dlopen or not, and this_version_id symbol in main file or not.
6144 Compile tests as both C++ and C, make test names unique.
6145
d770d56f
TT
61462019-10-01 Tom Tromey <tom@tromey.com>
6147
6148 * gdb.base/style.exp: Test "show logging filename".
6149
7f6aba03
TT
61502019-10-01 Tom Tromey <tom@tromey.com>
6151
6152 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6153 * gdb.base/style.exp: Add metadata style test.
6154
14309bb6
TT
61552019-10-01 Tom Tromey <tom@tromey.com>
6156
6157 * gdb.base/style.exp: Test "pwd".
6158
2a3c1174
PA
61592019-10-01 Tom Tromey <tom@tromey.com>
6160
6161 * gdb.base/style.exp: Update tests.
6162
53d666ec
AA
61632019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6164
6165 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6166 'six' to unsigned.
6167 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6168 'five'. Use an all-ones bit pattern for each.
6169 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6170 to its changed values.
6171
4a56a520
TT
61722019-09-30 Tom Tromey <tromey@adacore.com>
6173
6174 * gdb.rust/traits.rs: Disable all warnings.
6175
0df0352a
TV
61762019-09-29 Tom de Vries <tdevries@suse.de>
6177
aac66a4c 6178 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6179
73d9a918
TV
61802019-09-29 Tom de Vries <tdevries@suse.de>
6181
6182 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6183
060b3ab4
TV
61842019-09-27 Tom de Vries <tdevries@suse.de>
6185
6186 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6187
68f7d34d
TV
61882019-09-27 Tom de Vries <tdevries@suse.de>
6189
6190 PR record/23188
6191 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6192
5d63b30a
TT
61932019-09-26 Tom Tromey <tromey@adacore.com>
6194
6195 * gdb.ada/py_taft.exp: New file.
6196 * gdb.ada/py_taft/main.adb: New file.
6197 * gdb.ada/py_taft/pkg.adb: New file.
6198 * gdb.ada/py_taft/pkg.ads: New file.
6199
3d435220
TV
62002019-09-24 Tom de Vries <tdevries@suse.de>
6201
6202 PR gdb/24598
6203 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6204
77d03678
TV
62052019-09-22 Tom de Vries <tdevries@suse.de>
6206
6207 * gdb.base/restore.exp: Allow register variables to be optimized out at
6208 -O0.
6209
abf516c6
UW
62102019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6211
6212 * gdb.arch/spu-info.exp: Remove file.
6213 * gdb.arch/spu-info.c: Remove file.
6214 * gdb.arch/spu-ls.exp: Remove file.
6215 * gdb.arch/spu-ls.c: Remove file.
6216
6217 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6218 * gdb.asm/spu.inc: Remove file.
6219
6220 * gdb.base/dump.exp: Remove support for spu*-*-*.
6221 * gdb.base/stack-checking.exp: Likewise.
6222 * gdb.base/overlays.exp: Likewise.
6223 * gdb.base/ovlymgr.c: Likewise.
6224 * gdb.base/spu.ld: Remove file.
6225
6226 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6227 * gdb.cp/cpexprs.exp: Likewise.
6228 * gdb.cp/exception.exp: Likewise.
6229 * gdb.cp/gdb2495.exp: Likewise.
6230 * gdb.cp/mb-templates.exp: Likewise.
6231 * gdb.cp/pr9167.exp: Likewise.
6232 * gdb.cp/userdef.exp: Likewise.
6233
6234 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6235
6236 * gdb.cell: Remove directory.
6237 * lib/cell.exp: Remove file.
6238
e452e88f
TV
62392019-09-19 Tom de Vries <tdevries@suse.de>
6240
6241 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6242
8a625130
TV
62432019-09-19 Tom de Vries <tdevries@suse.de>
6244
6245 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6246
81dc3ab5
TV
62472019-09-19 Tom de Vries <tdevries@suse.de>
6248
6249 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6250 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6251 (gdb_target_cmd): ... here.
6252 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6253 value 2.
6254
b078f3ac
AB
62552019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6256
6257 * gdb.base/source-dir.exp: Avoid having directory names in test
6258 names.
6259
f1b620e9
MG
62602019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6261
6262 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6263 directory.
6264
67f3ed6a
AB
62652019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6266
6267 * gdb.base/list-missing-source.exp: New file.
6268
d1b70248
TV
62692019-09-14 Tom de Vries <tdevries@suse.de>
6270
6271 PR teststuite/24599
6272 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6273 * lib/ada.exp (gnatmake_version_at_least): New proc.
6274
5fabdcd6
AB
62752019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6276
6277 * gdb.base/maint.exp: Use exec_has_index_section.
6278
aa17805f
AB
62792019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6280
6281 * gdb.base/maint.exp: Add test for 'maint info sections'.
6282
25e5c209
TV
62832019-09-12 Tom de Vries <tdevries@suse.de>
6284
6285 * gdb.base/store.exp: Allow register variables to be optimized out at
6286 -O0.
6287
4993045d
PW
62882019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6289
6290 * gdb.ada/rdv_wait.exp: Update to new task names.
6291 * gdb.base/task_switch_in_core.exp: Likewise.
6292 * gdb.base/info_sources_base.c: Likewise.
6293
8a516164
TT
62942019-09-10 Tom Tromey <tromey@adacore.com>
6295
6296 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6297
aa391654
TT
62982019-09-10 Tom Tromey <tromey@adacore.com>
6299
6300 * gdb.ada/dgopt.exp: New file.
6301 * gdb.ada/dgopt/x.adb: New file.
6302
8634b462
TT
63032019-09-08 Tom Tromey <tom@tromey.com>
6304
6305 * gdb.tui/resize.exp: Remove setup_xfail.
6306 * gdb.tui/regs.exp: Remove setup_xfail.
6307 * gdb.tui/basic.exp: Remove setup_xfail.
6308
736b0f76
DB
63092019-09-06 David Blaikie <dblaikie@gmail.com>
6310
6311 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6312 * gdb.cp/cplabel.exp: Ditto.
6313 * gdb.linespec/ls-errs.exp: Ditto.
6314
30331a6c
TV
63152019-09-05 Tom de Vries <tdevries@suse.de>
6316
6317 * lib/gdb.exp (cmp_file_string): New proc.
6318 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6319 runto_main. Verify save breakpoints output.
6320
98b0ebab
PW
63212019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6322
6323 * gdb.base/info-var.exp: Test info variables without running
6324 to main, to avoid expect's buffer overflow.
6325
4e962e74
TT
63262019-09-03 Tom Tromey <tromey@adacore.com>
6327
6328 * gdb.ada/bias.exp: New file.
6329 * gdb.ada/bias/bias.adb: New file.
6330 * gdb.ada/print_chars.exp: Add regression test.
6331 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6332 (MC): New variable.
6333
2ea1a07a
SL
63342019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6335
6336 * gdb.base/argv0-symlink.exp: Run only on native target
6337 and local host.
6338
8077c50d
TV
63392019-08-29 Tom de Vries <tdevries@suse.de>
6340
6341 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6342 diverse debug info.
6343 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6344
48352473
TV
63452019-08-28 Tom de Vries <tdevries@suse.de>
6346
6347 * gdb.base/info-var.exp: Allow info variables to print info for files
6348 other than info-var-f1.c and info-var-f2.c.
6349
d8f27c60
AB
63502019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6351
6352 * gdb.fortran/info-types.exp: Add module.
6353 * gdb.fortran/info-types.f90: Update expected results.
6354
1f20c35e
AB
63552019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6356
6357 * gdb.fortran/info-types.exp: New file.
6358 * gdb.fortran/info-types.f90: New file.
6359 * lib/fortran.exp (fortran_character1): New proc.
6360
4acfdd20
AB
63612019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6362
6363 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6364 functions'. Reindent as needed.
6365 * gdb.base/info-var-f1.c: New file.
6366 * gdb.base/info-var-f2.c: New file.
6367 * gdb.base/info-var.exp: New file.
6368 * gdb.base/info-var.h: New file.
6369
5c31b358
TV
63702019-08-26 Tom de Vries <tdevries@suse.de>
6371
6372 PR c++/24852
6373 * gdb.cp/no-libstdcxx-probe.exp: New test.
6374
b694989f
TV
63752019-08-26 Tom de Vries <tdevries@suse.de>
6376
6377 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6378 * tests need to be skipped.
6379 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6380 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6381 mi_skip_libstdcxx_probe_tests.
6382
d9c4ba53
SDJ
63832019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6384
6385 * gdb.python/py-xmethods.exp: Use raw strings when passing
6386 arguments to SimpleXMethodMatcher.
6387
395fad09
TV
63882019-08-22 Tom de Vries <tdevries@suse.de>
6389
6390 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6391 more informative.
6392
26c957f1
PA
63932019-08-21 Pedro Alves <palves@redhat.com>
6394
6395 * gdb.base/with.exp: Test "with" with no arguments.
6396
61f80d5d
TV
63972019-08-21 Tom de Vries <tdevries@suse.de>
6398
6399 * gdb.base/gdb-caching-proc.exp: Sort files.
6400
d7a11d13
TV
64012019-08-20 Tom de Vries <tdevries@suse.de>
6402
6403 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6404 compilation.
6405
34dafe9f
TV
64062019-08-16 Tom de Vries <tdevries@suse.de>
6407
6408 * gdb.base/compare-sections.exp ("after run to main"): Allow
6409 mismatched read-only sections for PIE executables.
6410
398fdd60
TT
64112019-08-16 Tom Tromey <tom@tromey.com>
6412
6413 * lib/tuiterm.exp (_csi_Z): New proc.
6414 * gdb.tui/basic.exp: Update window positions.
6415 * gdb.tui/empty.exp: Update window positions.
6416
d8f9e51c
SL
64172019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6418
6419 * gdb.base/examine-backward.exp: Correct regexp for
6420 "examine 3 bytes backward from ${address_zero}".
6421
3df505f6
TT
64222019-08-15 Tom Tromey <tom@tromey.com>
6423
6424 * gdb.tui/empty.exp: Enable resizing tests.
6425
272560b5
TT
64262019-08-15 Tom Tromey <tromey@adacore.com>
6427
6428 * gdb.ada/char_enum.exp: Add regression tests.
6429 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6430 and '0'.
6431 (Char, Gchar): Update.
6432 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6433
08235187
CB
64342019-08-15 Christian Biesinger <cbiesinger@google.com>
6435
6436 * gdb.python/python.exp: Expect a leading underscore on
6437 GdbOutput{,Error}File.
6438
22a2ab04
SL
64392019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6440
6441 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6442 Windows host.
6443
835b995b
SL
64442019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6445
6446 * gdb.base/batch-preserve-term-settings.exp
6447 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6448
97dd8e07
CB
64492019-08-15 Christian Biesinger <cbiesinger@google.com>
6450
6451 * lib/gdb.exp: When running on a mingw target, replace
6452 /x/ with x:/.
6453
75faf5c4
AH
64542019-08-14 Alan Hayward <alan.hayward@arm.com>
6455
6456 * gdb.arch/aarch64-prologue.c: New test.
6457 * gdb.arch/aarch64-prologue.exp: New file.
6458
abc6c00f
TV
64592019-08-13 Tom de Vries <tdevries@suse.de>
6460
6461 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6462 Thread.
6463
74c2c1f4
SL
64642019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6465
6466 * gdb.python/py-completion.exp: Download the .py file to the host
6467 and use its host pathname. Conditionalize tests that use
6468 tab completion and manipulate files on the build machine.
6469 * gdb.python/py-events.exp: Download the .py file to the host
6470 and use its host pathname.
6471 * gdb.python/py-evsignal.exp: Likewise.
6472 * gdb.python/py-evthreads.exp: Likewise.
6473 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6474 pathname syntax.
6475 * gdb.python/py-framefilter.exp: Download the .py file to the right
6476 place on the host. Match Windows pathname syntax.
6477 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6478 .py file to the host and use its host pathname.
6479 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6480 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6481 build pathname. Skip symlink test on Windows host. Add missing
6482 newline at end of file.
6483 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6484 and use its host pathname.
6485 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6486 * gdb.python/py-section-script.exp: Use host location of binfile
6487 on safe-path. Use correct path separator on Windows host.
6488 Reorder alternatives in gdb_test_multiple to prevent matching
6489 the wrong alternative on success.
6490 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6491
ca2589f3
PP
64922019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6493
6494 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6495 expect the GDB inferior to no longer immediately stop after
6496 being resumed with "signal SIGINT".
6497
020a839d
SL
64982019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6499
6500 * gdb.linespec/break-ask.exp: Generalize regexps to match
6501 Windows pathnames too.
6502
128d6509
TV
65032019-08-08 Tom de Vries <tdevries@suse.de>
6504
6505 PR testsuite/24862
6506 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6507
590042fc
PW
65082019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6509
6510 * gdb.base/style.exp: Update tests for help doc new invariants.
6511 * gdb.base/help.exp: Likewise.
6512
046bebe1
TT
65132019-08-06 Tom Tromey <tom@tromey.com>
6514
6515 * gdb.base/style.exp: Add disassemble test.
6516 * gdb.base/style.c (some_called_function): New function.
6517 (main): Use it.
6518
0b27c27d
CB
65192019-08-05 Christian Biesinger <cbiesinger@google.com>
6520
6521 * gdb.python/py-block.exp: Test dictionary access on blocks.
6522
580f1034
SM
65232019-08-05 Simon Marchi <simon.marchi@efficios.com>
6524
6525 PR gdb/24863
6526 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6527 -list-thread-groups --available test when running under
6528 check-read1.
6529
d86bd7cb
TV
65302019-08-05 Tom de Vries <tdevries@suse.de>
6531
6532 PR testsuite/24863
6533 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6534 * gdb.base/help.exp: Use with_read1_timeout_factor.
6535 * gdb.base/info-macros.exp: Same.
6536 * gdb.cp/nested-types.exp: Same.
6537
a80cf5d8
TV
65382019-08-05 Tom de Vries <tdevries@suse.de>
6539
6540 * lib/gdb.exp (version_at_least): Factor out of ...
6541 (tcl_version_at_least): ... here.
6542 (gdb_compile): Fail if pie results in non-PIE executable.
6543 (readelf_version, readelf_prints_pie): New proc.
6544 (exec_is_pie): Return -1 if unknown.
6545
d0962838
TV
65462019-08-05 Tom de Vries <tdevries@suse.de>
6547
6548 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6549
2252ff3d
SL
65502019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6551
6552 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6553
26655f53
SL
65542019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6555
6556 * lib/completion-support.exp (test_gdb_complete_none): Skip
6557 tab completion tests if no readline support.
6558 (test_gdb_complete_unique_re): Likewise.
6559 (test_gdb_complete_multiple): Likewise.
6560
db4dc13e
PW
65612019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6562
6563 * gdb.base/info_sources.exp: New file.
6564 * gdb.base/info_sources.c: New file.
6565 * gdb.base/info_sources_base.c: New file.
6566
0eba165a
PFC
65672019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6568
6569 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6570 prefix argument.
6571 (test_exit_status): Add prefix argument.
6572
59bd512b
TV
65732019-08-01 Tom de Vries <tdevries@suse.de>
6574
6575 PR testsuite/24863
6576 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6577 calling exp_continue for new thread and thread exited messages.
6578
2a3ad588
TV
65792019-08-01 Tom de Vries <tdevries@suse.de>
6580
6581 PR testsuite/24863
6582 * gdb.base/structs.exp: Fix check-read1 timeout using
6583 gdb_test_sequence.
6584 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6585
117eb594
TV
65862019-08-01 Tom de Vries <tdevries@suse.de>
6587
6588 PR testsuite/24863
6589 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6590 line.
6591
ed591340
TV
65922019-08-01 Tom de Vries <tdevries@suse.de>
6593
6594 PR testsuite/24863
6595 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6596
aa3b6533
TT
65972019-07-30 Tom Tromey <tromey@adacore.com>
6598
6599 * gdb.ada/display_nested.exp: New file.
6600 * gdb.ada/display_nested/foo.adb: New file.
6601 * gdb.ada/display_nested/pack.adb: New file.
6602 * gdb.ada/display_nested/pack.ads: New file.
6603
2906593f
CB
66042019-07-30 Christian Biesinger <cbiesinger@google.com>
6605
6606 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6607 namespace.
6608 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6609
0f575925
TV
66102019-07-30 Tom de Vries <tdevries@suse.de>
6611
6612 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6613 instead.
6614
b13057d9
TV
66152019-07-30 Tom de Vries <tdevries@suse.de>
6616
6617 PR testsuite/24834
6618 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6619 (exec_is_pie): New proc.
6620
5c4dde85
CB
66212019-07-29 Christian Biesinger <cbiesinger@google.com>
6622
6623 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6624
c620ed88
CB
66252019-07-29 Christian Biesinger <cbiesinger@google.com>
6626
6627 * gdb.python/py-objfile.c: Add global and static vars.
6628 * gdb.python/py-objfile.exp: Test new functions Objfile.
6629 lookup_global_symbol and lookup_static_symbol.
6630
3d235706
TT
66312019-07-29 Tom Tromey <tom@tromey.com>
6632
6633 * lib/tuiterm.exp (Term::_csi_@): New proc.
6634 (Term::_csi_X): Don't move cursor.
6635
c7e4c0a6
PW
66362019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6637
6638 * gdb.base/options.exp: Update backtrace - completion to
6639 new option -frame-info.
6640 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6641 Test new 'set print frame-info'. Test backtrace -frame-info
6642 overriding 'set print frame-info'.
6643 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6644 Test new 'set print frame-info'.
6645 Verify consistency of backtrace with and without filters, with and
6646 without -no-filters.
6647 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6648 default.
6649
de28a3b7
TV
66502019-07-29 Tom de Vries <tdevries@suse.de>
6651
6652 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6653 no arguments".
6654
507dd60e
TV
66552019-07-29 Tom de Vries <tdevries@suse.de>
6656
6657 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6658 is a substring of the first for "complete non-unique file name".
6659
5beafce9
TV
66602019-07-29 Tom de Vries <tdevries@suse.de>
6661
6662 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6663 with ".*".
6664
2d274232
TV
66652019-07-29 Tom de Vries <tdevries@suse.de>
6666
6667 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6668 Pass prompt_regexp parameter to gdb_test_multiple calls.
6669
9197cd8b
TV
66702019-07-29 Tom de Vries <tdevries@suse.de>
6671
6672 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6673 print registers" regexps.
9197cd8b 6674
b528dae0
TV
66752019-07-29 Tom de Vries <tdevries@suse.de>
6676
6677 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6678
d17725d7
TV
66792019-07-29 Tom de Vries <tdevries@suse.de>
6680
6681 PR gdb/24855
6682 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6683 (skip_python_tests_prompt): Add prompt_regexp argument to
6684 gdb_test_multiple calls.
6685
52b75bf1
TT
66862019-07-27 Tom Tromey <tom@tromey.com>
6687
6688 * gdb.tui/main.exp: New file.
6689
2b1d00c2
TT
66902019-07-27 Tom Tromey <tom@tromey.com>
6691
6692 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6693 optional.
6694 * gdb.tui/empty.exp: New file.
6695
ded631d5
TT
66962019-07-27 Tom Tromey <tom@tromey.com>
6697
6698 * lib/tuiterm.exp (spawn): New proc.
6699 (Term::resize): New proc.
6700 * gdb.tui/resize.exp: New file.
6701
58ac439d
TT
67022019-07-27 Tom Tromey <tom@tromey.com>
6703
6704 * gdb.tui/list.exp: New file.
6705
fe1f56ee
TT
67062019-07-27 Tom Tromey <tom@tromey.com>
6707
6708 * gdb.tui/regs.exp: New file.
6709
f790b310
TT
67102019-07-27 Tom Tromey <tom@tromey.com>
6711
6712 * gdb.tui/basic.exp: Add "layout split" test.
6713
d95fc6ee
TT
67142019-07-27 Tom Tromey <tom@tromey.com>
6715
6716 * gdb.tui/basic.exp: Add "layout asm" test.
6717
c3786b3a
TT
67182019-07-27 Tom Tromey <tom@tromey.com>
6719
6720 * lib/tuiterm.exp: New file.
6721 * gdb.tui/basic.exp: New file.
6722
98a617f8
KB
67232019-07-27 Kevin Buettner <kevinb@redhat.com>
6724
6725 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6726 Enable tests associated with this flag. Adjust regex
6727 referencing "foo_low" to now refer to "foo_cold" instead.
6728
5c076da4
KB
67292019-07-27 Kevin Buettner <kevinb@redhat.com>
6730
6731 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6732 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6733 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6734 foo_cold. Revise comments to match.
6735 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6736 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6737 were wrapped into this proc; Call do_test in loop from outermost
6738 level.
6739 (foo_low): Rename all occurrences to "foo_cold".
6740 (backtrace from baz): New test.
6741 (x2/i foo_cold): New test.
6742 (info line *foo_cold): New test.
6743
1512d3b7
TV
67442019-07-26 Tom de Vries <tdevries@suse.de>
6745
6746 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6747
297989a1
TV
67482019-07-25 Tom de Vries <tdevries@suse.de>
6749
6750 PR testsuite/24830
6751 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6752 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6753 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6754 (skip_libstdcxx_probe_tests): ... here.
6755 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6756
b3b965fb
TV
67572019-07-24 Tom de Vries <tdevries@suse.de>
6758
6759 PR testsuite/24807
6760 * gdb.objc/basicclass.m: Include stdio.h.
6761 * gdb.objc/nondebug.m: Same.
6762 * gdb.objc/objcdecode.m: Same.
6763
4625b4d0
TV
67642019-07-24 Tom de Vries <tdevries@suse.de>
6765
6766 PR testsuite/24612
6767 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6768 additional_flags.
6769
024a5840
TV
67702019-07-24 Tom de Vries <tdevries@suse.de>
6771
6772 PR testsuite/24831
6773 * gdb.multi/tids.exp: Update error messages for info threads.
6774
c76ddaa3
TV
67752019-07-24 Tom de Vries <tdevries@suse.de>
6776
6777 * gdb.base/info-types.exp: Allow info types to print info for more than
6778 one file.
6779
9a618ef6
TV
67802019-07-23 Tom de Vries <tdevries@suse.de>
6781
6782 PR testsuite/24842
6783 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6784 gdb_spawn_with_cmdline_opts.
6785
40eadf04
SP
67862019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6787
6788 * gdb.arch/arm-cmse-sgstubs.c: New test.
6789 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6790
5ba29434
TV
67912019-07-23 Tom de Vries <tdevries@suse.de>
6792
6793 PR testsuite/24711
6794 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6795 issuing next command.
6796
a8e9d247
AB
67972019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6798
6799 * gdb.ada/info_auto_lang.exp: Update expected results.
6800 * gdb.base/info-types.c: Add additional types to check.
6801 * gdb.base/info-types.exp: Update expected results.
6802
eb86c5e2
AB
68032019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6804
6805 * gdb.base/info-types.c: New file.
6806 * gdb.base/info-types.exp: New file.
6807
01e175fe
AB
68082019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6809
6810 * gdb.arch/riscv-bp-infcall.c: New file.
6811 * gdb.arch/riscv-bp-infcall.exp: New file.
6812
6b78c3f8
AB
68132019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6814
6815 PR breakpoints/24541
6816 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6817
da738167
TV
68182019-07-14 Tom de Vries <tdevries@suse.de>
6819
6820 PR testsuite/24760
6821 * gdb.objc/basicclass.exp: Fix unterminated string.
6822
0d4e84ed
AB
68232019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6824 Andrew Burgess <andrew.burgess@embecosm.com>
6825
6826 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6827 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6828 negative bounds.
6829 * gdb.fortran/vla-value.exp: Print elements of an array with
6830 negative bounds.
6831 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6832 testing.
6833
021d8588
AB
68342019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6835
6836 * gdb.base/options.exp (expect_string): Dequote strings in
6837 results.
6838 (test-string): Test strings with different quoting and reindent.
6839
f06f1252
TT
68402019-07-10 Tom Tromey <tromey@adacore.com>
6841
6842 * gdb.ada/mi_ex_cond.exp: Update expected results.
6843 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6844 * gdb.ada/mi_catch_ex.exp: Update expected results.
6845 * gdb.ada/mi_catch_assert.exp: Update expected results.
6846 * gdb.ada/catch_ex.exp (catch_exception_info)
6847 (catch_exception_entry, catch_assert_entry)
6848 (catch_unhandled_entry): Update.
6849 * gdb.ada/catch_assert_if.exp: Update expected results.
6850
b863685d
RB
68512019-07-10 Richard Bunt <richard.bunt@arm.com>
6852 Stephen Roberts <stephen.roberts@arm.com>
6853
6854 * gdb.base/define.exp: Restore original prompt.
6855
cb1e4e32
PA
68562019-07-09 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6859 breakpoints" output.
6860 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6861 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6862 throw" creates breakpoint.
6863 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6864 'type="catchpoint"'.
6865
b58a68fe
PA
68662019-07-09 Pedro Alves <palves@redhat.com>
6867
6868 PR c++/15468
6869 * gdb.cp/except-multi-location-lib.cc: New.
6870 * gdb.cp/except-multi-location-main.cc: New.
6871 * gdb.cp/except-multi-location.exp: New.
6872
0826779b
PW
68732019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6874
6875 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6876 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6877 argument and update callers.
6878
5b0e2db4
AB
68792019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6880
6881 * gdb.arch/amd64-break-on-asm-line.S: New file.
6882 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6883
1f6f6e21
PW
68842019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6885
6886 * gdb.base/printcmds.exp: Test printing C string and
6887 C wide string convenience vars without transiting via the inferior.
6888 Also make test names unique.
6889
ea142fbf
AH
68902019-07-08 Alan Hayward <alan.hayward@arm.com>
6891
5862c886 6892 PR breakpoints/25011
ea142fbf
AH
6893 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6894
213fd9fa
PA
68952019-07-04 Pedro Alves <palves@redhat.com>
6896
6897 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6898 body returned ok(0), break(3) or continue(4).
6899 * gdb.testsuite/foreach_with_prefix.exp: New file.
6900
2b40fda7
AH
69012019-07-04 Alan Hayward <alan.hayward@arm.com>
6902
6903 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6904
a26c8de0
PA
69052019-07-03 Pedro Alves <palves@redhat.com>
6906
6907 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6908 "return -code".
6909
5f4ba3e7
PA
69102019-07-03 Pedro Alves <palves@redhat.com>
6911
6912 PR cli/24732
6913 * gdb.base/shell.exp: Load completion-support.exp.
6914 Adjust expected error output. Add completion tests.
6915
a994424f
PA
69162019-07-03 Pedro Alves <palves@redhat.com>
6917
6918 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6919 string_to_regexp.
6920
3d9be6f5
PA
69212019-07-03 Pedro Alves <palves@redhat.com>
6922
6923 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6924 (expect_integer): Adjust to expect "-string".
6925 (expect_string): New.
6926 (all_options): Expect "-string".
6927 (test-flag, test-boolean): Adjust to expect "-string".
6928 (test-string): New proc.
6929 (top level): Call it.
6930
41fc454c
PA
69312019-07-03 Pedro Alves <palves@redhat.com>
6932
6933 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6934 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6935 the expected output in the success.
6936
b2b2a215
PA
69372019-07-03 Pedro Alves <palves@redhat.com>
6938
6939 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6940 Split one gdb_test_multiple call in two to avoid a race.
6941
fdbc9870
PA
69422019-07-03 Pedro Alves <palves@redhat.com>
6943
6944 * gdb.base/with.c: New file.
6945 * gdb.base/with.exp: New file.
6946
c6ac8931
PA
69472019-07-03 Pedro Alves <palves@redhat.com>
6948
6949 * gdb.base/settings.exp: Replace all references to "maint
6950 test-settings set" with references to "maint set test-settings",
6951 and all references to "maint test-settings show" with references
6952 to "maint show test-settings".
6953
970f9d09
PA
69542019-07-03 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.base/settings.exp (test-string): Adjust expected out when
6957 testing "maint test-settings show filename"
6958
54d66006
PA
69592019-07-02 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.base/options.exp (test-info-threads): New procedure.
6962 (top level): Call it.
6963
10d06d82
TT
69642019-06-28 Tom Tromey <tromey@adacore.com>
6965
6966 * gdb.dwarf2/ada-linkage-name.c: New file.
6967 * gdb.dwarf2/ada-linkage-name.exp: New file.
6968
3d507ff2
TT
69692019-06-27 Tom Tromey <tromey@adacore.com>
6970
d039f014 6971 PR c++/20020:
3d507ff2
TT
6972 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6973
8af58ffe
TV
69742019-06-26 Tom de Vries <tdevries@suse.de>
6975
6976 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6977
22e21752
TV
69782019-06-26 Tom de Vries <tdevries@suse.de>
6979
6980 * gdb.base/index-cache.exp: Add back missing debug option.
6981
b65b566c
PW
69822019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6983
6984 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6985
5c2c8c69
TV
69862019-06-25 Tom de Vries <tdevries@suse.de>
6987
6988 PR testsuite/24727
6989 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6990
164e3873
TV
69912019-06-24 Tom de Vries <tdevries@suse.de>
6992
6993 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6994
824eacee
TV
69952019-06-24 Tom de Vries <tdevries@suse.de>
6996
6997 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6998 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6999 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7000
385b97d3
TV
70012019-06-24 Tom de Vries <tdevries@suse.de>
7002
7003 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7004
c596f180
TV
70052019-06-21 Tom de Vries <tdevries@suse.de>
7006
7007 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7008
b13a7d03
TV
70092019-06-21 Tom de Vries <tdevries@suse.de>
7010
7011 PR testsuite/24518
7012 PR ada/24713
7013 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7014 index.
7015
899277ae
TT
70162019-06-19 Tom Tromey <tromey@adacore.com>
7017
7018 * gdb.ada/length_cond.exp: Add intro comment.
7019
680e1bee
TT
70202019-06-19 Tom Tromey <tromey@adacore.com>
7021
7022 * gdb.ada/length_cond.exp: New file.
7023 * gdb.ada/length_cond/length_cond.adb: New file.
7024 * gdb.ada/length_cond/pck.adb: New file.
7025 * gdb.ada/length_cond/pck.ads: New file.
7026
0ed4690a
TV
70272019-06-18 Tom de Vries <tdevries@suse.de>
7028
7029 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7030
d20ed5fd
TT
70312019-06-18 Tom Tromey <tromey@adacore.com>
7032
7033 * gdb.base/list0.h: Add comment explaining control character.
7034
86e04673
TV
70352019-06-18 Tom de Vries <tdevries@suse.de>
7036
7037 * boards/fission.exp: Break up long debug_flags line.
7038
c4973306
SM
70392019-06-16 Tom de Vries <tdevries@suse.de>
7040
7041 PR gdb/24445
7042 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7043 generated index.
7044
93cb9841
AB
70452019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7046
7047 PR gdb/24686
7048 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7049 improve detection of bug gdb/24541.
7050
399aaebd
SM
70512019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7052
7053 PR gdb/24669
7054 * gdb.base/index-cache.exp (uses_readnow,
7055 expecting_index_cache_use): Define global variable.
7056 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7057 expecting_index_cache_use.
7058
584a927c
AB
70592019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7060 Andrew Burgess <andrew.burgess@embecosm.com>
7061
7062 * gdb.fortran/pointers.f90: New file.
7063 * gdb.fortran/print_type.exp: New file.
7064 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7065 * gdb.fortran/vla-type.exp: Likewise.
7066 * gdb.fortran/vla-value.exp: Likewise.
7067 * gdb.mi/mi-vla-fortran.exp: Likewise.
7068
30056ea0
AB
70692019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7070
7071 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7072 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7073 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7074 as a stop reason.
7075
ec8e2b6d
AB
70762019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7077
7078 * gdb.base/annota1.exp: Update expected results.
7079 * gdb.cp/annota2.exp: Likewise.
7080 * gdb.cp/annota3.exp: Likewise.
7081
09e4c4e1
AB
70822019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7083
7084 * gdb.base/style-logging.exp: Remove path from test name.
7085
0735b091
TT
70862019-06-14 Tom Tromey <tromey@adacore.com>
7087
7088 PR gdb/24502:
7089 * gdb.base/style-logging.exp: New file.
7090
f5686554
TT
70912019-06-14 Tom Tromey <tromey@adacore.com>
7092
7093 * gdb.base/symfile-warn.exp: New file.
7094 * gdb.base/symfile-warn.c: New file.
7095
a0c1ffed
TT
70962019-06-14 Tom Tromey <tromey@adacore.com>
7097
7098 * gdb.base/annotate-symlink.exp: New file.
7099
f411722c
TT
71002019-06-14 Tom Tromey <tromey@adacore.com>
7101
7102 * gdb.ada/set_wstr.exp: Add reassignment test.
7103
4268ec18
TT
71042019-06-14 Tom Tromey <tromey@adacore.com>
7105
7106 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7107 'unchecked_access and 'unrestricted_access as well.
7108
9a9e394b
TT
71092019-06-14 Tom Tromey <tromey@adacore.com>
7110
7111 PR ada/24539:
7112 * gdb.ada/vla.exp: Update tests.
7113 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7114 pragma.
7115
4c048731
PA
71162019-06-13 Pedro Alves <palves@redhat.com>
7117
7118 * gdb.base/settings.exp (test-integer): Test junk after
7119 "unlimited".
7120
6665660a
PA
71212019-06-13 Pedro Alves <palves@redhat.com>
7122
7123 * gdb.base/options.exp (test-thread-apply): New.
7124 (top level): Call it.
7125
5d707134
PA
71262019-06-13 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/options.exp (test-frame-apply): New.
7129 (top level): Test print commands with different "frame apply"
7130 prefixes.
7131
e2a689da
PA
71322019-06-13 Pedro Alves <palves@redhat.com>
7133
e79be6e5 7134 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7135 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7136 'max_completions' parameter and handle it.
7137 (test_gdb_completion_offers_commands): New.
7138
90a1ef87
PA
71392019-06-13 Pedro Alves <palves@redhat.com>
7140
7141 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7142
d4c16835
PA
71432019-06-13 Pedro Alves <palves@redhat.com>
7144
7145 * gdb.base/options.exp (test-backtrace): New.
7146 (top level): Call it.
7147
2daf894e
PA
71482019-06-13 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.guile/scm-frame-args.exp: Use "set print
7151 raw-frame-arguments" instead of "set print raw frame-arguments".
7152 * gdb.python/py-frame-args.exp: Likewise.
7153
e6ed716c
PA
71542019-06-13 Pedro Alves <palves@redhat.com>
7155
7156 * gdb.compile/compile.exp: Adjust expected output to option
7157 processing changes.
7158
7d8062de
PA
71592019-06-13 Pedro Alves <palves@redhat.com>
7160
7161 * gdb.base/options.exp: Build executable.
7162 (test-print): New procedure.
7163 (top level): Call it, once for "print" and another for "compile
7164 print".
7165
9d0faba9
PA
71662019-06-13 Pedro Alves <palves@redhat.com>
7167
7168 * gdb.base/options.c: New file.
7169 * gdb.base/options.exp: New file.
7170
dee7b4c8
PA
71712019-06-13 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7174 that "o" is ambiguous.
7175
dca0f6c0
PA
71762019-06-13 Pedro Alves <palves@redhat.com>
7177
7178 * gdb.base/settings.c: New file.
7179 * gdb.base/settings.exp: New file.
7180
ccf46844
PA
71812019-06-13 Pedro Alves <palves@redhat.com>
7182
7183 * gdb.base/completion.exp: Fix comment typo.
7184
b9a3f842
PA
71852019-06-13 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7188 foo --1" test.
7189
d106773e
PA
71902019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7191
7192 * gdb.fortran/block-data.f: New.
7193 * gdb.fortran/block-data.exp: New.
7194
fea82da0
TV
71952019-06-11 Tom de Vries <tdevries@suse.de>
7196
7197 PR testsuite/24521
7198 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7199 message.
7200
8c2e74f1
TV
72012019-06-11 Tom de Vries <tdevries@suse.de>
7202
7203 PR testsuite/24521
7204 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7205
b49851c8
TV
72062019-06-11 Tom de Vries <tdevries@suse.de>
7207
7208 * boards/readnow.exp: New file.
7209
a7067863
AB
72102019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7211
7212 * gdb.fortran/vla-sizeof.exp: Update expected results.
7213
1a3da2cd
AB
72142019-06-06 Amos Bird <amosbird@gmail.com>
7215
7216 * gdb.base/annota1.exp (thread_switch): Add test for
7217 thread-exited annotation.
7218
3847a7bf
TT
72192019-06-06 Tom Tromey <tromey@adacore.com>
7220
7221 * gdb.base/maint.exp: Expect command started/finished output.
7222
0088ba59
AB
72232019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7224
7225 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7226 comment.
7227 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7228
312617a3
AB
72292019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7230
7231 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7232 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7233 * gdb.arch/riscv-unwind-long-insn.c: New file.
7234 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7235
e1f2e1a2
CB
72362019-06-04 Christian Biesinger <cbiesinger@google.com>
7237
d3238f7d 7238 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7239
206584bd
PW
72402019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7241
7242 * lib/gdb.exp (help_list_trailer): New regexp variable
7243 factorizing the help trailer message.
7244 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7245 arg to allow to better factorize various tests.
7246 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7247 (test_prefix_command_help): Use help_list_trailer.
7248 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7249 * gdb.guile/scm-cmd.exp: Likewise.
7250 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7251 * gdb.base/help.exp: Use test_user_defined_class_help.
7252 * gdb.base/style.exp: Add tests for styling of help and apropos.
7253 * lib/gdb-utils.exp (style): Add title and highlight styles.
7254
708dc93e
PW
72552019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7256
7257 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7258 $_shell_exitsignal.
7259 * gdb.base/default.exp: Update for new convenience variables.
7260
f49055a5
TT
72612019-05-29 Tom Tromey <tromey@adacore.com>
7262
7263 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7264 to "break complete ada" test case's regexp.
7265
4330d61d
TT
72662019-05-29 Tom Tromey <tromey@adacore.com>
7267
7268 PR c++/20020:
7269 * gdb.cp/constexpr-field.exp: New file.
7270 * gdb.cp/constexpr-field.cc: New file.
7271
000439d5
TT
72722019-05-29 Tom Tromey <tromey@adacore.com>
7273
7274 * gdb.base/finish.exp (finish_no_print): New proc.
7275 (finish_tests): Call it.
7276
5a01c34c
TV
72772019-05-24 Tom de Vries <tdevries@suse.de>
7278
7279 * gdb.dwarf2/gdb-add-index.exp: New file.
7280
18125b16
TT
72812019-05-22 Tom Tromey <tromey@adacore.com>
7282
7283 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7284 * gdb.base/style.exp: Use "style".
7285 * lib/gdb-utils.exp (style): New proc.
7286
af1a8d03
TV
72872019-05-22 Tom de Vries <tdevries@suse.de>
7288
7289 * gdb.base/align.exp: Require c++11.
7290
e7fe496b
TV
72912019-05-22 Tom de Vries <tdevries@suse.de>
7292
7293 PR testsuite/24586
7294 * gdb.python/py-mi-var-info-path-expression.exp: Call
7295 mi_skip_python_tests to check if python is supported.
7296
8fca4da0
AH
72972019-05-22 Alan Hayward <alan.hayward@arm.com>
7298
7299 * gdb.arch/aarch64-pauth.c: New test.
7300 * gdb.arch/aarch64-pauth.exp: New file.
7301
b7060614
AH
73022019-05-22 Alan Hayward <alan.hayward@arm.com>
7303
7304 * README (Re-running Tests Outside The Testsuite): New section.
7305
669d0468
TV
73062019-05-21 Tom de Vries <tdevries@suse.de>
7307
7308 * gdb.arch/amd64-eval.exp: Require c++11.
7309 * gdb.base/max-depth.exp: Same.
7310 * gdb.compile/compile-cplus-array-decay.exp: Same.
7311 * gdb.cp/meth-typedefs.exp: Same.
7312 * gdb.cp/subtypes.exp: Same.
7313 * gdb.cp/temargs.exp: Same.
7314
ce3ebcaa
AH
73152019-05-21 Alan Hayward <alan.hayward@arm.com>
7316
7317 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7318
34d11c68
AB
73192019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7320
7321 PR gdb/18644
7322 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7323 * gdb.fortran/printing-types.exp: Add new test.
7324 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7325 testing.
7326 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7327 setup_kfail call.
7328
87781e84
AH
73292019-05-17 Alan Hayward <alan.hayward@arm.com>
7330
7331 * README (Running the Testsuite): Change example.
7332 (Testsuite Parameters): Remove TRANSCRIPT.
7333 * lib/gdb.exp: Remove TRANSCRIPT check.
7334
b420b89e
AH
73352019-05-17 Alan Hayward <alan.hayward@arm.com>
7336
7337 * README (Testsuite Parameters): Add replay logging to
7338 GDBSERVER_DEBUG.
7339 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7340 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7341 as a comma separated list.
7342 (gdb_debug_init): Override procedure.
7343
408e9b8b
AH
73442019-05-17 Alan Hayward <alan.hayward@arm.com>
7345
7346 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7347 (gdb_write_cmd_file): New procedure.
7348 * lib/gdbserver-support.exp (gdbserver_start): Call
7349 gdbserver_write_cmd_file.
7350 (gdbserver_write_cmd_file): New procedure.
7351
f9e2e39d
AH
73522019-05-17 Alan Hayward <alan.hayward@arm.com>
7353
7354 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7355 (delete_breakpoints): Likewise.
7356 (gdb_run_cmd): Likewise.
7357 (gdb_start_cmd): Likewise.
7358 (gdb_starti_cmd): Likewise.
7359 (gdb_internal_error_resync): Likewise.
7360 (gdb_test_multiple): Likewise.
7361 (gdb_reinitialize_dir): Likewise.
7362 (default_gdb_exit): Likewise.
7363 (gdb_file_cmd): Mark kill as optional.
7364 (default_gdb_start): Call gdb_stdin_log_init.
7365 (send_gdb): Call gdb_stdin_log_write.
7366 (rerun_to_main): Mark Y as an answer.
7367 (gdb_stdin_log_init): New function.
7368 (gdb_stdin_log_write): Likewise.
7369
81f47ac2
AH
73702019-05-17 Alan Hayward <alan.hayward@arm.com>
7371
7372 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7373 * gdb.base/debug-expr.exp: Likewise.
7374 * gdb.base/foll-fork.exp: Likewise.
7375 * gdb.base/foll-vfork.exp: Likewise.
7376 * gdb.base/fork-print-inferior-events.exp: Likewise.
7377 * gdb.base/gdb-sigterm.exp: Likewise.
7378 * gdb.base/gdbinit-history.exp: Likewise.
7379 * gdb.base/osabi.exp: Likewise.
7380 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7381 * gdb.base/ui-redirect.exp: Likewise.
7382 * gdb.gdb/unittest.exp: Likewise.
7383 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7384 * gdb.mi/mi-watch.exp: Likewise.
7385 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7386 * gdb.mi/user-selected-context-sync.exp: Likewise.
7387 * gdb.python/python.exp: Disable debug test when debugging.
7388 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7389 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7390 Likewise.
7391 * gdb.threads/stepi-random-signal.exp: Likewise.
7392
29b52314
AH
73932019-05-17 Alan Hayward <alan.hayward@arm.com>
7394
7395 * Makefile.in: Pass through GDB_DEBUG.
7396 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7397 (gdb,debug): Add board setting.
7398 * lib/gdb.exp (default_gdb_start): Start debugging.
7399 (gdb_debug_enabled): New procedure.
7400 (gdb_debug_init): Likewise.
29b52314
AH
7401
74022019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7403
29b52314
AH
7404 * Makefile.in: Pass through GDB_DEBUG.
7405 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7406 (gdb,debug): Add board setting.
7407 * lib/gdb.exp (default_gdb_start): Start debugging.
7408 (gdb_debug_enabled): New procedure.
7409 (gdb_debug_init): Likewise.
29b52314 7410
ca1285d1
AH
74112019-05-17 Alan Hayward <alan.hayward@arm.com>
7412
7413 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7414
f3a09c80
AH
74152019-05-17 Alan Hayward <alan.hayward@arm.com>
7416
7417 * gdb.base/ui-redirect.exp: Test redirection.
7418
26648588
JV
74192019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7420
7421 * gdb.mi/mi-complete.exp: New file.
7422 * gdb.mi/mi-complete.cc: Likewise.
7423
14237686
AB
74242019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7425
7426 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7427 indexed and sliced arrays, and pointers to arrays.
7428
e7bd7fba
TT
74292019-05-14 Tom Tromey <tromey@adacore.com>
7430
7431 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7432 styling test.
7433
2764128d
TV
74342019-05-14 Tom de Vries <tdevries@suse.de>
7435
7436 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7437 selection entry encoding.
7438
71bed2db
TT
74392019-05-10 Tom Tromey <tromey@adacore.com>
7440
7441 * gdb.ada/info_exc.exp: Add "complete" test.
7442
63b667ad
TV
74432019-05-09 Tom de Vries <tdevries@suse.de>
7444
7445 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7446 CU-relative.
7447
9cfd2b89
TV
74482019-05-09 Tom de Vries <tdevries@suse.de>
7449
7450 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7451 CU-relative.
7452
2228ef77
XR
74532019-05-08 Joel Brobecker <brobecker@adacore.com>
7454
7455 * gdb.ada/frame_arg_lang.exp: New testcase.
7456 * gdb.ada/frame_arg_lang/bla.adb: New file.
7457 * gdb.ada/frame_arg_lang/pck.ads: New file.
7458 * gdb.ada/frame_arg_lang/pck.adb: New file.
7459 * gdb.ada/frame_arg_lang/foo.c: New file.
7460
80e55b13
TT
74612019-05-08 Tom Tromey <tromey@adacore.com>
7462
7463 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7464
9d3421af
TT
74652019-05-08 Tom Tromey <tromey@adacore.com>
7466
7467 * gdb.base/ptype-offsets.exp: Update tests.
7468
844333e2
TT
74692019-05-08 Tom Tromey <tromey@adacore.com>
7470
7471 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7472 cases.
7473 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7474 "short".
7475
988915ee
TT
74762019-05-08 Tom Tromey <tromey@adacore.com>
7477
7478 * gdb.ada/vla.exp: New file.
7479 * gdb.ada/vla/vla.adb: New file.
7480
7bd55dac
TV
74812019-05-07 Tom de Vries <tdevries@suse.de>
7482
7483 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7484
75f06e9d
TV
74852019-05-07 Tom de Vries <tdevries@suse.de>
7486
7487 PR testsuite/24522
7488 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7489 section.
7490
77e7aaa4
TV
74912019-05-07 Tom de Vries <tdevries@suse.de>
7492
7493 PR testsuite/24522
7494 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7495 .debug_aranges section.
7496
456ba0fa
TV
74972019-05-07 Tom de Vries <tdevries@suse.de>
7498
7499 PR testsuite/24159
7500 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7501
5a56d6a6
TV
75022019-05-06 Tom de Vries <tdevries@suse.de>
7503
7504 * lib/gdb.exp (exec_has_index_section): New proc.
7505 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7506 section.
7507
9d6d4be8
TV
75082019-05-04 Tom de Vries <tdevries@suse.de>
7509
7510 * boards/cc-with-debug-names.exp: New file.
7511
222a8d25
TT
75122019-05-03 Tom Tromey <tromey@adacore.com>
7513
7514 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7515 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7516 * gdb.ada/char_enum.exp: Add test.
7517
0fdfd794
TV
75182019-05-03 Tom de Vries <tdevries@suse.de>
7519
7520 * boards/cc-with-gdb-index.exp: New file.
7521
80062eb9
AB
75222019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7523
7524 * gdb.rust/simple.exp: Add new test case.
7525 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7526 (main): Initialise an instance of the new struct.
7527
4504bbde
TT
75282019-05-01 Tom Tromey <tromey@adacore.com>
7529
7530 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7531 record.
7532 (NPR): New variable.
7533 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7534 test.
7535
d48e62f4
TT
75362019-05-01 Tom Tromey <tromey@adacore.com>
7537
7538 * gdb.ada/packed_array_assign.exp: Add packed assignment
7539 regression test.
7540
f59f30f5
TV
75412019-05-01 Tom de Vries <tdevries@suse.de>
7542
7543 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7544
b70bfc54
TV
75452019-05-01 Tom de Vries <tdevries@suse.de>
7546
7547 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7548
15f18d14
AT
75492019-04-30 Ali Tamur <tamur@google.com>
7550
7551 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7552
2ff0a947
TT
75532019-04-30 Tom Tromey <tromey@adacore.com>
7554
7555 * lib/ada.exp (find_ada_tool): New proc.
7556 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7557 * gdb.ada/catch_ex_std.exp: New file.
7558 * gdb.ada/catch_ex_std/foo.adb: New file.
7559 * gdb.ada/catch_ex_std/some_package.adb: New file.
7560 * gdb.ada/catch_ex_std/some_package.ads: New file.
7561
a776957c
TT
75622019-04-30 Tom Tromey <tromey@adacore.com>
7563
7564 PR c++/24470:
7565 * gdb.cp/temargs.cc: Add test code from PR.
7566
bc68014d
AB
75672019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7568
7569 * gdb.fortran/vla-datatypes.exp: Update expected results.
7570 * gdb.fortran/vla-ptype.exp: Likewise.
7571 * gdb.fortran/vla-type.exp: Likewise.
7572 * gdb.fortran/vla-value.exp: Likewise.
7573
f1fdc960
AB
75742019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7575
7576 * gdb.fortran/ptr-indentation.exp: Update expected results.
7577 * gdb.fortran/ptype-on-functions.exp: Likewise.
7578 * gdb.fortran/vla-ptr-info.exp: Likewise.
7579 * gdb.fortran/vla-value.exp: Likewise.
7580
bf7a4de1
AB
75812019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7582
7583 * gdb.fortran/ptype-on-functions.exp: New file.
7584 * gdb.fortran/ptype-on-functions.f90: New file.
7585
bbe75b9d
AB
75862019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7587
7588 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7589 case void string.
7590
1db455a7
AB
75912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7592
7593 * gdb.fortran/complex.exp: Expand.
7594 * gdb.fortran/complex.f: Renamed to...
7595 * gdb.fortran/complex.f90: ...this, and extended to add more
7596 complex values.
7597
b6d03bb2
AB
75982019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7599
7600 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7601 MODULO, CMPLX.
7602
2e62ab40
AB
76032019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7604 Richard Bunt <richard.bunt@arm.com>
7605
7606 * gdb.base/max-depth.c: New file.
7607 * gdb.base/max-depth.exp: New file.
7608 * gdb.python/py-nested-maps.c: New file.
7609 * gdb.python/py-nested-maps.exp: New file.
7610 * gdb.python/py-nested-maps.py: New file.
7611 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7612 (test_all_common): Call test_max_depth.
7613 * gdb.fortran/max-depth.exp: New file.
7614 * gdb.fortran/max-depth.f90: New file.
7615 * gdb.go/max-depth.exp: New file.
7616 * gdb.go/max-depth.go: New file.
7617 * gdb.modula2/max-depth.exp: New file.
7618 * gdb.modula2/max-depth.c: New file.
7619 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7620
d2b584a5
TV
76212019-04-29 Tom de Vries <tdevries@suse.de>
7622
7623 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7624
136afab8
PW
76252019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7626
7627 * gdb.base/callexit.exp: Test may-call-functions off.
7628
725cbb63
KS
76292019-04-25 Keith Seitz <keiths@redhat.com>
7630
7631 PR c++/24367
7632 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7633 (another_incomplete_struct, test_incomplete): New definitions.
7634 (main): Use new definitions.
7635 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7636 functions.
7637
701adfb0
PA
76382019-04-25 Ali Tamur <tamur@google.com>
7639
7640 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7641
82433e3e
SDJ
76422019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7643
7644 PR corefiles/11608
7645 PR corefiles/18187
7646 * gdb.base/coredump-filter-build-id.exp: New file.
7647
dd06d4d6
AH
76482019-04-25 Alan Hayward <alan.hayward@arm.com>
7649
e79be6e5
SM
7650 * Makefile.in: Pass through GDBSERVER_DEBUG.
7651 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7652 (gdbserver,debug): Add board setting.
7653 * gdb.trace/tspeed.exp: Skip when debugging.
7654 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7655 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7656
1670072e
TT
76572019-04-24 Tom Tromey <tromey@adacore.com>
7658
7659 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7660 Rust.
7661
a59240a4
TT
76622019-04-24 Tom Tromey <tromey@adacore.com>
7663
7664 * gdb.arch/amd64-eval.exp: Test bitfield return.
7665 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7666 (class Foo) <return_bitfields>: New method.
7667 (main): Call it.
7668
b907456c
AB
76692019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7670
7671 * gdb.cp/many-args.cc: New file.
7672 * gdb.cp/many-args.exp: New file.
7673
5c565afd
TV
76742019-04-23 Tom de Vries <tdevries@suse.de>
7675
7676 PR gdb/24433
7677 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7678
ba22ff86
AH
76792019-04-23 Alan Hayward <alan.hayward@arm.com>
7680
7681 * gdb.trace/backtrace.exp: Use nopie flag.
7682 * gdb.trace/circ.exp: Likewise.
7683 * gdb.trace/collection.exp: Likewise.
7684 * gdb.trace/ftrace.exp: Likewise.
7685 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7686 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7687 * gdb.trace/qtro.exp: Likewise.
7688 * gdb.trace/read-memory.exp: Likewise.
7689 * gdb.trace/report.exp: Likewise.
7690 * gdb.trace/tfile.exp: Likewise.
7691 * gdb.trace/tfind.exp: Likewise.
7692 * gdb.trace/unavailable.exp: Likewise.
7693
7905fc35
PA
76942019-04-22 Pedro Alves <palves@redhat.com>
7695
7696 * gdb.base/solib-probes-nosharedlibrary.c,
7697 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7698
8ecb59f8
TT
76992019-04-19 Tom Tromey <tromey@adacore.com>
7700
7701 * gdb.ada/ptype_union.c: New file.
7702 * gdb.ada/ptype_union.exp: New file.
7703
62160ec9
TT
77042019-04-19 Tom Tromey <tromey@adacore.com>
7705
7706 PR symtab/24423:
7707 * gdb.base/list0.h (foo): Add a control-l character.
7708
36cd4ba5
TV
77092019-04-18 Tom de Vries <tdevries@suse.de>
7710
7711 PR gdb/24433
7712 * boards/local-board.exp: Set sysroot to "".
7713
b73715df
TV
77142019-04-18 Tom de Vries <tdevries@suse.de>
7715 Pedro Alves <palves@redhat.com>
7716
7717 PR gdb/24454
7718 * gdb.threads/vfork-follow-child-exec.c: New file.
7719 * gdb.threads/vfork-follow-child-exec.exp: New file.
7720 * gdb.threads/vfork-follow-child-exit.c: New file.
7721 * gdb.threads/vfork-follow-child-exit.exp: New file.
7722
4aa866af
LS
77232019-04-15 Leszek Swirski <leszeks@google.com>
7724
7725 * gdb.arch/amd64-eval.cc: New file.
7726 * gdb.arch/amd64-eval.exp: New file.
7727
e5a1a79a
AH
77282019-04-11 Alan Hayward <alan.hayward@arm.com>
7729
7730 * gdb.server/sysroot.c: New test.
7731 * gdb.server/sysroot.exp: New file.
7732 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7733 matching param.
7734
41077b66
AB
77352019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7736
7737 * gdb.base/align.exp: Extend test to cover structures containing
7738 only static fields.
7739
c30391f8
TV
77402019-04-11 Tom de Vries <tdevries@suse.de>
7741
7742 * boards/cc-with-dwz-m.exp: New file.
7743 * boards/cc-with-dwz.exp: New file.
7744 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7745
e242fd12
SM
77462019-04-09 Simon Marchi <simon.marchi@efficios.com>
7747
7748 * gdb.base/start-cpp.exp: New file.
7749 * gdb.base/start-cpp.cc: New file.
7750
2b0c8b01
KB
77512019-04-08 Kevin Buettner <kevinb@redhat.com>
7752
7753 * gdb.python/py-thrhandle.exp: Adjust tests to call
7754 thread_from_handle instead of thread_from_thread_handle.
7755
947210e5
KB
77562019-04-08 Kevin Buettner <kevinb@redhat.com>
7757
7758 * gdb.python/py-thrhandle.exp: Add tests for
7759 gdb.InferiorThread.handle.
7760
d7df6549
AB
77612019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7762
7763 * gdb.python/py-function.exp: Check calling helper function from
7764 all languages.
7765 * lib/gdb.exp (gdb_supported_languages): New proc.
7766
8bdc1658
AB
77672019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7768
7769 * gdb.base/complex-parts.c: New file.
7770 * gdb.base/complex-parts.exp: New file.
7771
05caa1d2
TT
77722019-04-01 Tom Tromey <tromey@adacore.com>
7773
7774 PR symtab/23331:
7775 * gdb.dwarf2/dw2-ranges-main.c: New file.
7776 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7777 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7778
7734102d
EZ
77792019-03-30 Simon Marchi <simark@simark.ca>
7780
7781 * gdb.base/default.exp: Add values for $_gdb_major and
7782 $_gdb_minor.
7783
188e1fa9
TT
77842019-03-29 Tom Tromey <tromey@adacore.com>
7785
7786 * gdb.base/help.exp: Tighten apropos regexp.
7787
2880242d
KS
77882019-03-29 Keith Seitz <keiths@redhat.com>
7789
7790 * gdb.fortran/array-bounds.exp: New file.
7791 * gdb.fortran/array-bounds.f90: New file.
7792
077cad8e
PW
77932019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7794
7795 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7796
80047cfc
PW
77972019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7798
7799 * gdb.multi/hello.c (main): Increase alarm timer.
7800
f489207e
SL
78012019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7802
7803 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7804 factor when no hardware watchpoint support.
7805
c92df149
AH
78062019-03-28 Alan Hayward <alan.hayward@arm.com>
7807 Pedro Alves <palves@redhat.com>
7808
7809 * boards/local-board.exp: set sysroot to /.
7810
933aebfa
AH
78112019-03-27 Alan Hayward <alan.hayward@arm.com>
7812
7813 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7814 in child.
7815
9f9aa852
AB
78162019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7817
7818 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7819 field.
7820 (make_container): Initialise new field.
7821 * gdb.python/py-prettyprint.exp: Add new tests.
7822 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7823 <display_hint>: New method.
7824
3714a195
AB
78252019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7826
7827 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7828 gdb_continue_to_breakpoint more throughout this test.
7829 (run_lang_tests) Supply unique test names, and use
7830 gdb_test_no_output.
7831
18c77628
AB
78322019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7833
7834 * gdb.base/finish-pretty.exp: Update expected results.
7835 * gdb.base/pretty-print.c: New file.
7836 * gdb.base/pretty-print.exp: New file.
7837
9a93502f
PA
78382019-03-25 Pedro Alves <palves@redhat.com>
7839
7840 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7841 move comments outside list. Append '-i "" eof' section.
7842
968aa7ae
AH
78432019-03-22 Alan Hayward <alan.hayward@arm.com>
7844
34a7f2a4 7845 PR testsuite/25016
968aa7ae
AH
7846 * README: Add pie options.
7847 * gdb.base/break-interp.exp: Ensure pie is disabled.
7848 * gdb.base/dump.exp: Likewise.
7849 * lib/gdb.exp (gdb_compile): Add pie option.
7850
4c7d57e7
TT
78512019-03-19 Tom Tromey <tromey@adacore.com>
7852
7853 * gdb.mi/mi2-cli-display.c: New file.
7854 * gdb.mi/mi2-cli-display.exp: New file.
7855
bff8c71f
TT
78562019-03-18 Joel Brobecker <brobecker@adacore.com>
7857 Tom Tromey <tromey@adacore.com>
7858
7859 * gdb.ada/ptype_array/pck.adb: New file.
7860 * gdb.ada/ptype_array/pck.ads: New file.
7861 * gdb.ada/ptype_array/foo.adb: New file.
7862 * gdb.ada/ptype_array.exp: New file.
7863
d085f989
TT
78642019-03-14 Tom Tromey <tromey@adacore.com>
7865
7866 * gdb.base/style.exp: Add "set style sources" test.
7867
b4be1b06
SM
78682019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7869
7870 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7871 * mi-breakpoint-multiple-locations.exp: ... this.
7872 (make_breakpoints_pattern): New proc.
7873 (do_test): Add mi_version parameter, test -break-insert,
7874 -break-info and =breakpoint-created.
7875
7cde5fc2
AB
78762019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7877
7878 * config/default.exp: Remove 'load_lib gdb.exp'.
7879 * config/monitor.exp: Likewise.
7880 * config/sid.exp: Likewise.
7881 * config/sim.exp: Likewise.
7882 * config/slite.exp: Likewise.
7883 * config/unix.exp: Likewise.
7884 * gdb.base/default.exp: Remove unhelpful comment.
7885
efbecbc1
AB
78862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7887
7888 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7889
0841c79a
AB
78902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7891
7892 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7893
4a270568
AB
78942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7895
7896 * gdb.fortran/type-kinds.exp: Update expected results.
7897
067630bd
AB
78982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7899
7900 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7901
3be47f7a
AB
79022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7903
7904 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7905 function.
7906 (test_basic_parsing_of_type_kinds): Expand types tested.
7907 (test_parsing_invalid_type_kinds): New function.
7908
4d00f5d8
AB
79092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7910
7911 * gdb.fortran/intrinsics.exp: New file.
7912 * gdb.fortran/intrinsics.f90: New file.
7913 * gdb.fortran/type-kinds.exp: New file.
7914
c8f91604
AB
79152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7916
7917 * gdb.fortran/dot-ops.exp: New file.
7918
dd9f2c76
AB
79192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7920
7921 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7922 Check upper and lower case logical literals.
7923
84ec9724
AB
79242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7925
7926 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7927 Remove duplicate tests.
7928
c3734e09
AH
79292019-03-06 Alan Hayward <alan.hayward@arm.com>
7930
7931 * lib/gdb.exp (builtin_cd): rename of cd.
7932 (cd): Override builtin.
7933
aa3cfbda
RB
79342019-03-06 Richard Bunt <richard.bunt@arm.com>
7935
7936 * gdb.fortran/function-calls.exp: New file.
7937 * gdb.fortran/function-calls.f90: New test.
7938
7b63ad86
RB
79392019-03-04 Richard Bunt <richard.bunt@arm.com>
7940
7941 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7942 on user program standard output.
7943 * gdb.fortran/short-circuit-argument-list.f90: Record function
7944 calls.
7945
01abb042
AH
79462019-02-28 Alan Hayward <alan.hayward@arm.com>
7947
c3734e09
AH
7948 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7949 failure.
01abb042 7950
92137da0
RO
79512019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7952
7953 PR gdb/8527
7954 * gdb.base/interrupt-daemon-attach.c,
7955 gdb.base/interrupt-daemon-attach.exp: New test.
7956
5862844d
PA
79572019-02-27 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/page.exp: Add tests for "set width/height -1".
7960
8ed25214
PA
79612019-02-27 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.base/page.exp: Add tests for "set/show width/height" with
7964 "infinite" values.
7965
6c28e44a
TT
79662019-02-27 Tom Tromey <tromey@adacore.com>
7967
7968 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7969 2.4.
7970 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7971 workaround.
7972
bf9a735e
AB
79732019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7974
7975 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7976 tests for structs with static members.
7977
8791793c
TT
79782019-02-26 Tom Tromey <tromey@adacore.com>
7979
7980 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7981 ValueError, not TypeError.
7982
bc2a507e
KB
79832019-02-26 Kevin Buettner <kevinb@redhat.com>
7984
7985 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7986 call from main program.
7987
e0e7d3bd
JB
79882019-02-23 Joel Brobecker <brobecker@adacore.com>
7989
7990 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7991 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7992 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7993 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7994 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7995
9600246d
KS
79962019-02-22 Keith Seitz <keiths@redhat.com>
7997
7998 PR symtab/23853
7999 * gdb.base/symlink-sourcefile.c: New file.
8000 * gdb.base/symlink-sourcefile.exp: New file.
8001
0c95f9ed
TT
80022019-02-20 Tom Tromey <tom@tromey.com>
8003
8004 * gdb.base/info_qt.exp: Update.
8005
6caa91b6
SM
80062019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8007
8008 * gdb.base/source.exp: Move "error in sourced script" code to
8009 the end.
8010 * gdb.base/source-error.gdb: Move contents to
8011 source-error-1.gdb. Add new code to source source-error-1.gdb.
8012 * gdb.base/source-error-1.gdb: New file, from previous
8013 source-error.gdb.
8014
6506371f
TT
80152019-02-17 Tom Tromey <tom@tromey.com>
8016
8017 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8018 for macro styling.
8019 * gdb.base/style.c (SOME_MACRO): New macro.
8020
a0087920
TT
80212019-02-17 Tom Tromey <tom@tromey.com>
8022
8023 * gdb.base/style.exp: Add line-wrapping tests.
8024 * gdb.base/page.exp: Add test for quitting during pagination.
8025
a2cd4f14
JB
80262019-02-17 Joel Brobecker <brobecker@adacore.com>
8027
8028 * gdb.ada/big_packed_array: New testcase.
8029 * gdb.ada/homonym.exp: Fix incorrect expected output for
8030 "break <homonym__get_value>" test.
8031
9d70ffbc
WP
80322019-02-13 Weimin Pan <weimin.pan@oracle.com>
8033
8034 PR breakpoints/21870
8035 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8036 and prepare_for_testing. Add comment.
8037 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8038 redundant cleanup call. Clean up comment.
8039
01c7ae81
WP
80402019-02-12 Weimin Pan <weimin.pan@oracle.com>
8041
8042 PR breakpoints/21870
8043 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8044 * gdb.arch/aarch64-dbreg-contents.c: New file.
8045
aff29d1c
JB
80462019-02-10 Joel Brobecker <brobecker@adacore.com>
8047
8048 * gdb.ada/mi_ref_changeable: New testcase.
8049
df0da8a2
AH
80502019-02-07 Alan Hayward <alan.hayward@arm.com>
8051
8052 * gdb.base/attach.exp: Add double attach test.
8053
bd447abb
SM
80542019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8055
8056 * lib/gdb.exp (default_gdb_start): Don't match pagination
8057 prompt.
8058 (gdb_init): Set stty_init.
8059
1dbc40b9
TT
80602019-01-27 Tom Tromey <tom@tromey.com>
8061
8062 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8063 skip_python_tests.
8064
353229bf
AH
80652019-01-24 Alan Hayward <alan.hayward@arm.com>
8066
8067 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8068 New structure.
8069 (struct struct_static_02_02): Likewise.
8070 (struct struct_static_02_03): Likewise.
8071 (struct struct_static_02_04): Likewise.
8072 (struct struct_static_04_01): Likewise.
8073 (struct struct_static_04_02): Likewise.
8074 (struct struct_static_04_03): Likewise.
8075 (struct struct_static_04_04): Likewise.
8076 (struct struct_static_06_01): Likewise.
8077 (struct struct_static_06_02): Likewise.
8078 (struct struct_static_06_03): Likewise.
8079 (struct struct_static_06_04): Likewise.
8080 (cmp_struct_static_02_01): Likewise.
8081 (cmp_struct_static_02_02): Likewise.
8082 (cmp_struct_static_02_03): Likewise.
8083 (cmp_struct_static_02_04): Likewise.
8084 (cmp_struct_static_04_01): Likewise.
8085 (cmp_struct_static_04_02): Likewise.
8086 (cmp_struct_static_04_03): Likewise.
8087 (cmp_struct_static_04_04): Likewise.
8088 (cmp_struct_static_06_01): Likewise.
8089 (cmp_struct_static_06_02): Likewise.
8090 (cmp_struct_static_06_03): Likewise.
8091 (cmp_struct_static_06_04): Likewise.
8092 (call_all): Test new structs.
8093 * gdb.base/infcall-nested-structs.exp: Likewise.
8094
73021deb
AH
80952019-01-21 Alan Hayward <alan.hayward@arm.com>
8096 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8097
fc65c7db
AH
80982019-01-21 Alan Hayward <alan.hayward@arm.com>
8099 * gdb.base/stack-protector.c: New test.
8100 * gdb.base/stack-protector.exp: New file.
8101 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8102 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8103 option.
8104 (gdb_compile): Remove stack protector for GCC and prevent
8105 recursion.
8106
c24bdb02
KS
81072019-01-16 Keith Seitz <keiths@redhat.com>
8108
8109 PR gdb/23773
8110 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8111
6f072a10
PFC
81122019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8113
8114 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8115 aliases.
8116 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8117 tests.
8118 * gdb.arch/powerpc-vector-regs.c: New file.
8119 * gdb.arch/powerpc-vector-regs.exp: New file.
8120
a7b8d682
PFC
81212019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8122
8123 * gdb.arch/altivec-regs.exp: Fix the list passed to
8124 gdb_expect_list when testing "info vector".
8125
6eb6fb67
AB
81262019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8127
8128 * gdb.base/style.exp: Don't include path in testname.
8129
b56f80d8
KS
81302019-01-10 Keith Seitz <keiths@redhat.com>
8131
8132 PR gdb/23712
8133 PR symtab/23010
8134 * gdb.dwarf2/multidictionary.exp: New file.
8135
041be526
SM
81362019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8137
8138 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8139 (test_gnuv3_style_demangling): ... this.
8140 (test_lucid_style_demangling): Remove.
8141 (test_arm_style_demangling): Remove.
8142 (test_hp_style_demangling): Remove.
8143 (do_tests): Remove calls to the above.
8144
d820d0c3
AB
81452019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8146
8147 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8148 case.
8149
f097f5ad
TT
81502019-01-06 Tom Tromey <tom@tromey.com>
8151
8152 PR gdb/28155:
8153 * gdb.dwarf2/typedef-void-finish.exp: New file.
8154
2cd8cc0b
TT
81552018-12-28 Tom Tromey <tom@tromey.com>
8156 Simon Marchi <simark@simark.ca>
8157
8158 * gdb.base/jit-exec.exp: New file.
8159 * gdb.base/jit-exec.c: New file.
8160 * gdb.base/jit-execd.c: New file.
8161
35fb8261
TT
81622018-12-28 Tom Tromey <tom@tromey.com>
8163
8164 * gdb.base/style.exp: Update test to check for address styling.
8165
47fd17cd
TT
81662018-12-28 Tom Tromey <tom@tromey.com>
8167
8168 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8169 message.
8170
d47032b7
TT
81712018-12-28 Tom Tromey <tom@tromey.com>
8172
8173 * gdb.base/style.exp: Add test for version number styling.
8174
af79b68d
TT
81752018-12-28 Tom Tromey <tom@tromey.com>
8176
8177 * gdb.base/style.exp: Add test for print_address_symbolic.
8178
0bb296cb
TT
81792018-12-28 Tom Tromey <tom@tromey.com>
8180
8181 * gdb.base/style.exp: Add test for breakpoint setting.
8182
80ae2043
TT
81832018-12-28 Tom Tromey <tom@tromey.com>
8184
8185 * gdb.base/style.exp: Add test for variable names.
8186
cbe56571
TT
81872018-12-28 Tom Tromey <tom@tromey.com>
8188
8189 * gdb.base/style.exp: New file.
8190 * gdb.base/style.c: New file.
8191
9162a27c
TT
81922018-12-28 Tom Tromey <tom@tromey.com>
8193
8194 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8195 "dumb".
8196 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8197 the TERM environment variable.
8198
bc543c90
TT
81992018-12-27 Tom Tromey <tom@tromey.com>
8200
8201 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8202 pagination test.
8203
6f0ffe50
AB
82042018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8205
8206 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8207 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8208
b5a1e557
PW
82092018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8210
8211 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8212 Filename a.adb changed to bp_fun_addr.adb.
8213 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8214
6e8b1ab2
JV
82152018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8216
8217 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8218 non-PIE executables.
8219 * README: Mention the gdb,nopie_flag board setting.
8220 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8221 non-PIE executable.
8222 * gdb.arch/amd64-entry-value.exp: Likewise.
8223 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8224 * gdb.arch/i386-float.exp: Likewise.
8225 * gdb.arch/i386-signal.exp: Likewise.
8226 * gdb.mi/mi-reg-undefined.exp: Likewise.
8227
d00a27c5
PM
82282018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8229
8230 PR gdb/23974
8231 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8232
161d081c
PW
82332018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8234
8235 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8236 Update order of results accordingly.
8237
b001de23
AB
82382018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8239
8240 * gdb.base/annota1.exp: Update a test regexp.
8241
99e1a184
AB
82422018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8243
8244 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8245
7a81c1e2
PW
82462018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8247
8248 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8249 (reuse_time): Initialize to REUSE_TIME_CAP.
8250 (check_rc): New function.
8251 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8252 Check pthread_create rc.
8253 (spawner_thread_func): Check pthread_create and pthread_join rc.
8254
73e8dc90
PA
82552018-12-08 Pedro Alves <palves@redhat.com>
8256
8257 * gdb.base/list.exp (test_forward_search): Rename to ...
8258 (test_forward_reverse_search): ... this. Also test reverse-search
8259 and the forward-search alias.
8260
13f2ed32
AB
82612018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8262
8263 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8264 local timeout variable before return, and remove all local timeout
8265 variable entirely.
8266 (gdb_load): Likewise.
8267
64d27cfc
TV
82682018-12-01 Tom de Vries <tdevries@suse.de>
8269
8270 * gdb.base/gdb-caching-proc.exp: New file.
8271
f63c03b4
SDJ
82722018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8273
8274 * Makefile.in (TIMESTAMP): New variable.
8275 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8276 command.
8277 (check-single-racy): Likewise.
8278 (check/%.exp): Likewise.
8279 (check-racy/%.exp): Likewise.
8280 (workers/%.worker): Likewise.
8281 (build-perf): Likewise.
8282 (check-perf): Likewise.
8283 * README: Describe new "TS" and "TS_FORMAT" variables.
8284 * print-ts.py: New file.
8285
1c97054b
BF
82862018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8287
8288 PR python/23714
8289 * gdb.python/python.exp: Test command repetition after
8290 gdb.execute.
8291
1871a62d
AB
82922018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8293
8294 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8295 is correctly aligned.
8296
fb5e1ed9
PW
82972018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8298
8299 * gdb.ada/info_auto_lang.exp: New testcase.
8300 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8301 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8302 * gdb.ada/info_auto_lang/some_c.c: New file.
8303
43d397ca
PW
83042018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8305
8306 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8307 FUNC_lang language syntax.
8308
beddd671
PW
83092018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8310
8311 * gdb.base/info_minsym.c: New file.
8312 * gdb.base/info_minsym.exp: New file.
8313
73fc52c4
TT
83142018-11-19 Tom Tromey <tom@tromey.com>
8315
8316 PR rust/23625:
8317 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8318 * gdb.rust/expr.exp: Update expected output. Change one test.
8319
994b876a
TT
83202018-11-19 Tom Tromey <tom@tromey.com>
8321
8322 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8323
6769f276
PA
83242018-11-19 Pedro Alves <palves@redhat.com>
8325
8326 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8327 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8328 see the expected warning.
8329
38a72da0
AH
83302018-11-16 Alan Hayward <alan.hayward@arm.com>
8331
8332 PR gdb/22736:
8333 * gdb.cp/infcall-nodebug-lib.c: New test.
8334 * gdb.cp/infcall-nodebug-main.c: New test.
8335 * gdb.cp/infcall-nodebug.exp: New file.
8336
53a89d6e
SM
83372018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8338
8339 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8340 completer tests.
8341
9325300d
TV
83422018-11-09 Tom de Vries <tdevries@suse.de>
8343
8344 * gdb.base/msym-lang.c: New test.
8345 * gdb.base/msym-lang.exp: New file.
8346 * gdb.base/msym-lang-main.c: New test.
8347
20f0d60d
TT
83482018-11-08 Tom Tromey <tom@tromey.com>
8349
8350 PR gdb/23555:
8351 PR gdb/23838:
8352 * gdb.base/warning.exp: New file.
8353
b5420128
JB
83542018-11-08 Jan Beulich <jbeulich@suse.com>
8355
8356 * testsuite/gdb.arch/i386-avx512.c,
8357 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8358
cd115d61
AB
83592018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8360
8361 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8362 point hardware.
8363
35ee2dc2
AB
83642018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8365
8366 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8367 * gdb.dwarf2/missing-type-name.exp: New file.
8368
31aceee8
TV
83692018-11-06 Tom de Vries <tdevries@suse.de>
8370
8371 * gdb.base/many-headers.c: New test.
8372 * gdb.base/many-headers.exp: New file.
8373
109be305
JW
83742018-11-06 Jim Wilson <jimw@sifive.com>
8375
8376 * gdb.base/code_elim.exp: For riscv, set additional_flags
8377 to include -msmall-data-limit=0.
8378
e2b7af72
JB
83792018-11-01 Joel Brobecker <brobecker@adacore.com>
8380
8381 * gdb.ada/watch_minus_l: New testcase.
8382
cdcda965
SM
83832018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8384
8385 * gdb.arch/aix-sighandle.c: New file.
8386 * gdb.arch/aix-sighandle.exp: New file.
8387
92dcebf3
AB
83882018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8389
8390 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8391 registers being unions.
8392
68b9ac18
TV
83932018-10-31 Tom de Vries <tdevries@suse.de>
8394
8395 * lib/valgrind.exp: New file.
8396 (vgdb_start, vgdb_stop): New procs, factored out of ...
8397 * gdb.base/valgrind-bt.exp: ... here, ...
8398 * gdb.base/valgrind-disp-step.exp: ... here and ...
8399 * gdb.base/valgrind-infcall.exp: ... here.
8400
1443936e
TV
84012018-10-31 Tom de Vries <tdevries@suse.de>
8402
8403 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8404
eb77c9df
AB
84052018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8406
8407 * gdb.dwarf2/void-type.c: New file.
8408 * gdb.dwarf2/void-type.exp: New file.
8409
82b5e646
PW
84102018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8411
8412 * gdb.base/info_qt.c: New file.
8413 * gdb.base/info_qt.exp: New file.
8414
8d619c01
EBM
84152018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8416
8417 * gdb.arch/powerpc-htm-regs.c: New file.
8418 * gdb.arch/powerpc-htm-regs.exp: New file.
8419
f2cf6173
EBM
84202018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8421
8422 * gdb.arch/powerpc-tar.c: New file.
8423 * gdb.arch/powerpc-tar.exp: New file.
8424
7ca18ed6
EBM
84252018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8426
8427 * gdb.arch/powerpc-ppr-dscr.c: New file.
8428 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8429
bfcc0eba
TV
84302018-10-25 Tom de Vries <tdevries@suse.de>
8431
8432 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8433
fe1a5cad
TV
84342018-10-24 Tom de Vries <tdevries@suse.de>
8435
8436 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8437 longer exists error.
8438
a76dc3b7
TV
84392018-10-24 Tom de Vries <tdevries@suse.de>
8440
8441 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8442
4df46df7
TV
84432018-10-24 Tom de Vries <tdevries@suse.de>
8444
8445 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8446 --db-attach in valgrind.
8447
0dbfcfff
AB
84482018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8449
8450 * gdb.arch/riscv-reg-aliases.c: New file.
8451 * gdb.arch/riscv-reg-aliases.exp: New file.
8452
b04480b1
AH
84532018-10-19 Alan Hayward <alan.hayward@arm.com>
8454
8455 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8456
2c6ac8d7
AH
84572018-10-19 Alan Hayward <alan.hayward@arm.com>
8458
8459 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8460
2bc69f25
AH
84612018-10-19 Alan Hayward <alan.hayward@arm.com>
8462
8463 * gdb.cp/ovldbreak.exp: Fix regexps.
8464
1f1ae3a3
AH
84652018-10-19 Alan Hayward <alan.hayward@arm.com>
8466
8467 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8468
94c18618
SDJ
84692018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8470
8471 PR cli/23785
8472 * gdb.base/restore.exp: New test to check if "restore" with an
8473 invalid file doesn't segfault.
8474
812cd6eb
TV
84752018-10-18 Tom de Vries <tdevries@suse.de>
8476
8477 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8478 * gdb.ada/excep_handle.exp: Same.
8479 * gdb.ada/mi_string_access.exp: Same.
8480 * gdb.ada/mi_var_union.exp: Same.
8481 * gdb.arch/arc-analyze-prologue.exp: Same.
8482 * gdb.arch/arc-decode-insn.exp: Same.
8483 * gdb.base/readnever.exp: Same.
8484 * gdb.fortran/printing-types.exp: Same.
8485 * gdb.guile/scm-lazy-string.exp: Same.
8486
c4b90788
TV
84872018-10-16 Tom de Vries <tdevries@suse.de>
8488
8489 PR gdb/23730
8490 * gdb.base/catch-follow-exec.c: Add copyright notice.
8491 * gdb.base/catch-follow-exec.exp: Rewrite to use
8492 gdb_spawn_with_cmdline_opts. Require gdb-native.
8493
8bca2978
SL
84942018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8495
8496 * gdb.trace/actions-changed.exp: Check for arch support.
8497 * gdb.trace/actions.exp: Likewise.
8498 * gdb.trace/ax.exp: Likewise.
8499 * gdb.trace/backtrace.exp: Likewise.
8500 * gdb.trace/change-loc.exp: Likewise.
8501 * gdb.trace/deltrace.exp: Likewise.
8502 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8503 * gdb.trace/ftrace.exp: Likewise.
8504 * gdb.trace/infotrace.exp: Check for arch support.
8505 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8506 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8507 * gdb.trace/mi-tsv-changed.exp: Likewise.
8508 * gdb.trace/packetlen.exp: Likewise.
8509 * gdb.trace/passc-dyn.exp: Likewise.
8510 * gdb.trace/passcount.exp: Likewise.
8511 * gdb.trace/pending.exp: Likewise.
8512 * gdb.trace/range-stepping.exp: Check for shlib support.
8513 * gdb.trace/report.exp: Check for arch support.
8514 * gdb.trace/save-trace.exp: Likewise.
8515 * gdb.trace/signal.exp: Check for signal support.
8516 * gdb.trace/tfind.exp: Check for arch support.
8517 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8518 * gdb.trace/trace-common.h: Add comment.
8519 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8520 * gdb.trace/trace-enable-disable.exp: Likewise.
8521 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8522 * gdb.trace/tracecmd.exp: Check for arch support.
8523 * gdb.trace/tspeed.exp: Check for shlib and target support.
8524 * gdb.trace/tstatus.exp: Check for arch support.
8525 * gdb.trace/tsv.exp: Likewise.
8526 * gdb.trace/while-dyn.exp: Likewise.
8527 * gdb.trace/while-stepping.exp: Likewise.
8528 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8529
f9c49bff
SM
85302018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8531
8532 * gdb.trace/tspeed.exp: Remove nowarnings.
8533 (prepare_for_trace_test): Declare "global ipalib".
8534 * gdb.trace/tspeed.c: Include unistd.h.
8535 (main): Remove superfluous printf argument.
8536
d4330bde
SL
85372018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8538
8539 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8540 directory prefix on the filename.
8541
8ecfd7bd
SDJ
85422018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8543
8544 * gdb.gdb/unittest.exp: Update expected message informing that
8545 selftests have been disabled.
8546 * gdb.server/unittest.exp: Likewise.
8547
58bbcd02
TV
85482018-10-09 Tom de Vries <tdevries@suse.de>
8549
8550 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8551 with runto_main.
8552
9f6b697b
WP
85532018-10-08 Weimin Pan <weimin.pan@oracle.com>
8554
8555 PR c++/16841
8556 * gdb.cp/virtbase2.cc: New file.
8557 * gdb.cp/virtbase2.exp: New file.
8558
add5ded5
TT
85592018-10-06 Tom Tromey <tom@tromey.com>
8560
8561 PR python/19399:
8562 * gdb.python/py-inferior.exp: Add architecture test.
8563
f9e48344
TT
85642018-10-06 Tom Tromey <tom@tromey.com>
8565
8566 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8567 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8568
2a8be203
TT
85692018-10-06 Tom Tromey <tom@tromey.com>
8570
8571 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8572 of a "throw" catchpoint.
8573
e04caa70
SDJ
85742018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8575
8576 * gdb.base/info-proc.exp: Update string expected from "help info
8577 proc".
8578
5ca8c39f
TT
85792018-10-04 Tom Tromey <tom@tromey.com>
8580
8581 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8582 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8583 (test_initial_complaints, test_empty_complaints): Update.
8584 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8585
3453e7e4
TT
85862018-10-04 Tom Tromey <tom@tromey.com>
8587
8588 PR cli/19551:
8589 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8590 * lib/gdb.exp (gdb_file_cmd): Update.
8591 * gdb.stabs/weird.exp (print_weird_var): Update.
8592 * gdb.server/solib-list.exp: Update.
8593 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8594 * gdb.mi/mi-cli.exp: Update.
8595 * gdb.linespec/linespec.exp: Update.
8596 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8597 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8598 * gdb.cp/cp-relocate.exp: Update.
8599 * gdb.base/sym-file.exp: Update.
8600 * gdb.base/relocate.exp: Update.
8601 * gdb.base/readnever.exp: Update.
8602 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8603 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8604 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8605 * gdb.base/code_elim.exp: Update.
8606 * gdb.base/break-unload-file.exp (test_break): Update.
8607 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8608 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8609 Update.
8610 * gdb.base/attach.exp (do_attach_tests): Update.
8611 * gdb.base/sepdebug.exp: Update.
8612 * gdb.python/py-section-script.exp: Update.
8613
6afcf761
TT
86142018-10-04 Tom Tromey <tom@tromey.com>
8615
8616 PR cli/22234:
8617 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8618 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8619 output.
8620
fef1b293
TT
86212018-10-04 Tom Tromey <tom@tromey.com>
8622
8623 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8624 set width and height to 0.
8625 (test_command_line_attach_run): Use -quiet.
8626
ca98345e
SL
86272018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8628
8629 * lib/gdb.exp (skip_ifunc_tests): New.
8630 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8631 other compile failures.
8632 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8633
ff34e6ae
SM
86342018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8635
8636 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8637 is_amd64_regs_target.
8638
6bb8890e
AH
86392018-10-01 Alan Hayward <alan.hayward@arm.com>
8640
8641 * gdb.arch/aarch64-sighandler-regs.c: New test.
8642 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8643 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8644
224d30d3
MM
86452018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8646
8647 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8648 assembly.
8649
f67ffa6a
AB
86502018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8651
8652 * gdb.base/frame-selection.exp: New file.
8653 * gdb.base/frame-selection.c: New file.
8654
9fc3183f
AH
86552018-09-27 Alan Hayward <alan.hayward@arm.com>
8656
8657 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8658 pthread barrier.
8659 (main): Likewise.
8660
d354055e
AB
86612018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8662
8663 * gdb.base/large-frame-1.c: New file.
8664 * gdb.base/large-frame-2.c: New file.
8665 * gdb.base/large-frame.exp: New file.
8666 * gdb.base/large-frame.h: New file.
8667
db727370
JL
86682018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8669
8670 PR gdb/20948
8671 * gdb.base/write_mem.exp: New test.
8672 * gdb.base/write_mem.c: Likewise.
8673
ae778caf
TT
86742018-09-23 Tom Tromey <tom@tromey.com>
8675
8676 PR python/18852:
8677 * gdb.python/py-parameter.exp: Add test for parameter that throws
8678 on "set".
8679
fd3ba736
TT
86802018-09-23 Tom Tromey <tom@tromey.com>
8681
8682 PR python/17284:
8683 * gdb.python/py-template.exp (test_template_arg): Add test for
8684 negative template argument number.
8685
39a24317
TT
86862018-09-23 Tom Tromey <tom@tromey.com>
8687
8688 PR python/14062:
8689 * gdb.python/python.exp: Add test for post_event error.
8690
f5769a2c
TT
86912018-09-23 Tom Tromey <tom@tromey.com>
8692
8693 PR python/18170:
8694 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8695 convert pointers to int and long.
8696
1c1e54f6
TT
86972018-09-23 Tom Tromey <tom@tromey.com>
8698
8699 PR python/20126:
8700 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8701 signed-ness conversion tests.
8702
fb4fa946
TT
87032018-09-23 Tom Tromey <tom@tromey.com>
8704
8705 PR python/18352;
8706 * gdb.python/py-value.exp (test_float_conversion): New proc.
8707 Use it.
8708
a466edac
HAQ
87092018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8710
8711 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8712
4ee9b0c5
SL
87132018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8714
8715 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8716 no readline.
8717 * gdb.base/utf8-identifiers.exp: Likewise.
8718 * gdb.cp/cpcompletion.exp: Likewise.
8719 * gdb.linespec/cpcompletion.exp: Likewise.
8720 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8721 * gdb.linespec/cpls-ops.exp: Likewise.
8722
23be8da7
RB
87232018-09-19 Richard Bunt <richard.bunt@arm.com>
8724 Chris January <chris.january@arm.com>
8725
8726 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8727 * gdb.fortran/short-circuit-argument-list.exp: New file.
8728 * gdb.fortran/short-circuit-argument-list.f90: New test.
8729
5031d0ae
SDJ
87302018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8731
8732 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8733 "arch=" keyword when executing "-stack-list-frames".
8734
b4c0d1a4
SDJ
87352018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8736
8737 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8738 "arch=" keyword when executing "-stack-list-frames".
8739
7a6d2b45
SDJ
87402018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8741
8742 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8743 break ada".
8744
8588b356
SM
87452018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8746
8747 PR python/23669
8748 * gdb.python/python.exp: Test gdb.execute("show commands").
8749
65e65158
TT
87502018-09-16 Tom Tromey <tom@tromey.com>
8751
8752 * gdb.base/new-ui.exp (do_execution_tests): Update.
8753 * gdb.base/dbx.exp (test_breakpoints): Update.
8754
bf326452
AH
87552018-09-14 Alan Hayward <alan.hayward@arm.com>
8756
8757 * lib/gdb.exp (gdb_simple_compile): Add proc.
8758 (is_elf_target): Use gdb_simple_compile.
8759 (skip_altivec_tests): Likewise.
8760 (skip_vsx_tests): Likewise.
8761 (skip_tsx_tests): Likewise.
8762 (skip_btrace_tests): Likewise.
8763 (skip_btrace_pt_tests): Likewise.
8764 (gdb_can_simple_compile): Likewise.
8765 (gdb_has_argv0): Likewise.
8766 (gdb_target_symbol_prefix): Likewise.
8767 (target_supports_scheduler_locking): Likewise.
8768
2361b0fb
TT
87692018-09-13 Tom Tromey <tom@tromey.com>
8770
8771 * Makefile.in (TAGS): Recognize proc_with_prefix and
8772 gdb_caching_proc.
8773
0ae1a321
SM
87742018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8775
8776 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8777 method.
8778
a40bf0c2
SM
87792018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8780
8781 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8782 and a few other Inferior properties when the Inferior is no
8783 longer valid.
8784
4a3fe98f
TT
87852018-09-13 Tom Tromey <tom@tromey.com>
8786
8787 PR rust/23650:
8788 * gdb.rust/simple.exp: Add test for enum field access error.
8789
098b2108
TT
87902018-09-13 Tom Tromey <tom@tromey.com>
8791
8792 PR rust/23626:
8793 * gdb.rust/simple.rs (EmptyEnum): New type.
8794 (main): Use it.
8795 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8796
1256af7d
SM
87972018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8798
8799 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8800 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8801 * gdb.python/py-symtab.exp: Update test printing an objfile.
8802
4aa8e6c2
SM
88032018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8804
8805 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8806 object.
8807
c221b2f7
AH
88082018-09-12 Alan Hayward <alan.hayward@arm.com>
8809
8810 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8811 (support_complex_tests): Use gdb_can_simple_compile.
8812 (is_ilp32_target): Likewise.
8813 (is_lp64_target): Likewise.
8814 (is_64_target): Likewise.
8815 (is_amd64_regs_target): Likewise.
8816 (is_aarch32_target): Likewise.
8817 (gdb_int128_helper): Likewise.
8818
6f1107b5
JK
88192018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8820
8821 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8822
1f5d1570
JG
88232018-09-10 Jerome Guitton <guitton@adacore.com>
8824
8825 * gdb.ada/same_component_name: Add test for case of tagged record
8826 with variable-length fields.
8827
cc330e39
XR
88282018-09-10 Xavier Roirand <roirand@adacore.com>
8829
8830 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8831 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8832 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8833 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8834
b9c50e9a
XR
88352018-09-10 Xavier Roirand <roirand@adacore.com>
8836
8837 * gdb.ada/mi_string_access.exp: New testcase.
8838 * gdb.ada/mi_string_access/bar.adb: New file.
8839 * gdb.ada/mi_string_access/pck.adb: New file.
8840 * gdb.ada/mi_string_access/pck.asd: New file.
8841
2963898f
XR
88422018-09-10 Xavier Roirand <roirand@adacore.com>
8843
8844 * gdb.ada/mi_var_union.exp: New testcase.
8845 * gdb.ada/mi_var_union/bar.adb: New file.
8846 * gdb.ada/mi_var_union/pck.adb: New file.
8847 * gdb.ada/mi_var_union/pck.asd: New file.
8848
1aac008f
TT
88492018-09-08 Tom Tromey <tom@tromey.com>
8850
8851 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8852
332cf4c9
TT
88532018-09-08 Tom Tromey <tom@tromey.com>
8854
8855 PR python/16047:
8856 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8857 (register_pretty_printers): Register new printer.
8858 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8859 test.
8860 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8861 (an_int_type3): New global.
8862
424da6cf
JB
88632018-09-08 Joel Brobecker <brobecker@adacore.com>
8864
8865 * gdb.ada/expr_with_funcall: New testcase.
8866
2a62dfa9
JB
88672018-09-08 Joel Brobecker <brobecker@adacore.com>
8868
8869 * gdb.ada/packed_array_assign: New testcase.
8870
96b6697f
AB
88712018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8872
8873 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8874 names, and add test prefixes to make test names unique.
8875
e4a62c65
TV
88762018-09-05 Tom de Vries <tdevries@suse.de>
8877
8878 * gdb.dwarf2/varval.exp: Add test.
8879
dd083ee2
GB
88802018-09-04 Gary Benson <gbenson@redhat.com>
8881
8882 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8883 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8884
aef9346c
TT
88852018-08-31 Tom Tromey <tom@tromey.com>
8886
8887 * gdb.rust/simple.rs: Rename second variable "v".
8888
c67f2e15
AB
88892018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8890
8891 * gdb.base/funcargs.c (use_a): New function.
8892 (recurse): Call use_a.
8893
078a0207
KS
88942018-08-29 Keith Seitz <keiths@redhat.com>
8895
8896 * gdb.compile/compile-cplus-anonymous.cc: New file.
8897 * gdb.compile/compile-cplus-anonymous.exp: New file.
8898 * gdb.compile/compile-cplus-array-decay.cc: New file.
8899 * gdb.compile/compile-cplus-array-decay.exp: New file.
8900 * gdb.compile/compile-cplus-inherit.cc: New file.
8901 * gdb.compile/compile-cplus-inherit.exp: New file.
8902 * gdb.compile/compile-cplus-member.cc: New file.
8903 * gdb.compile/compile-cplus-member.exp: New file.
8904 * gdb.compile/compile-cplus-method.cc: New file.
8905 * gdb.compile/compile-cplus-method.exp: New file.
8906 * gdb.compile/compile-cplus-mod.c: "New" file.
8907 * gdb.compile/compile-cplus-namespace.cc: New file.
8908 * gdb.compile/compile-cplus-namespace.exp: New file.
8909 * gdb.compile/compile-cplus-nested.cc: New file.
8910 * gdb.compile/compile-cplus-nested.exp: New file.
8911 * gdb.compile/compile-cplus-print.c: "New" file.
8912 * gdb.compile/compile-cplus-print.exp: "New" file.
8913 * gdb.compile/compile-cplus-virtual.cc: New file.
8914 * gdb.compile/compile-cplus-virtual.exp: New file.
8915 * gdb.compile/compile-cplus.c: "New" file.
8916 * gdb.compile/compile-cplus.exp: "New" file.
8917 * lib/compile-support.exp: New file.
8918
b0f492b9
GB
89192018-08-16 Gary Benson <gbenson@redhat.com>
8920
8921 PR gdb/13000:
8922 * gdb.base/batch-exit-status.exp: New file.
8923 * gdb.base/batch-exit-status.good-commands: Likewise.
8924 * gdb.base/batch-exit-status.bad-commands: Likewise.
8925
36eb4c5f
AH
89262018-08-29 Alan Hayward <alan.hayward@arm.com>
8927
8928 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8929 (struct struct02): Likewise.
8930 (struct struct03): Likewise.
8931 (struct struct04): Likewise.
8932 (struct struct_01_01): New struct.
8933 (struct struct_01_02): Likewise.
8934 (struct struct_01_03): Likewise.
8935 (struct struct_01_04): Likewise.
8936 (struct struct_02_01): Likewise.
8937 (struct struct_02_02): Likewise.
8938 (struct struct_02_03): Likewise.
8939 (struct struct_02_04): Likewise.
8940 (struct struct_04_01): Likewise.
8941 (struct struct_04_02): Likewise.
8942 (struct struct_04_03): Likewise.
8943 (struct struct_04_04): Likewise.
8944 (struct struct_05_01): Likewise.
8945 (struct struct_05_02): Likewise.
8946 (struct struct_05_03): Likewise.
8947 (struct struct_05_04): Likewise.
8948 (cmp_struct01): Remove function.
8949 (cmp_struct02): Likewise.
8950 (cmp_struct03): Likewise.
8951 (cmp_struct04): Likewise.
8952 (cmp_struct_01_01): Add Function.
8953 (cmp_struct_01_02): Likewise.
8954 (cmp_struct_01_03): Likewise.
8955 (cmp_struct_01_04): Likewise.
8956 (cmp_struct_02_01): Likewise.
8957 (cmp_struct_02_02): Likewise.
8958 (cmp_struct_02_03): Likewise.
8959 (cmp_struct_02_04): Likewise.
8960 (cmp_struct_04_01): Likewise.
8961 (cmp_struct_04_02): Likewise.
8962 (cmp_struct_04_03): Likewise.
8963 (cmp_struct_04_04): Likewise.
8964 (cmp_struct_05_01): Likewise.
8965 (cmp_struct_05_02): Likewise.
8966 (cmp_struct_05_03): Likewise.
8967 (cmp_struct_05_04): Likewise.
8968 (call_all): Add new structs.
8969 * gdb.base/infcall-nested-structs.exp: Likewise.
8970
3bf9c013
JV
89712018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8972
8973 * gdb.python/py-framefilter-mi.exp: Update regexp to
8974 check for "arch" field in frame output.
8975
450d1e88
KB
89762018-08-23 Kevin Buettner <kevinb@redhat.com>
8977
8978 * gdb.dwarf2/dw2-ranges-func.c: New file.
8979 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8980
ae739fe7
SM
89812018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8982
8983 * gdb.base/term.exp: Compare terminal settings with values from
8984 the inferior.
8985 * gdb.base/term.c: Get and set terminal settings.
8986
6d52907e
JV
89872018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8988
8989 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8990 accommodate new "arch" field in frame output.
8991 * gdb.mi/mi-return.exp: Likewise.
8992 * gdb.mi/mi-stack.exp: Likewise.
8993 * gdb.mi/mi-syn-frame.exp: Likewise.
8994 * gdb.mi/user-selected-context-sync.exp: Likewise.
8995
be2d111a
MS
89962018-08-19 Michael Spang <spang@google.com>
8997
8998 PR gdb/11786
8999 * gdb.base/gcore-tls-pie.c: New file.
9000 * gdb.base/gcore-tls-pie.exp: New file.
9001
ae3a7c47
KB
90022018-08-18 Kevin Buettner <kevinb@redhat.com>
9003
9004 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9005 * gdb.dwarf2/varval.c: New file.
9006 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9007
2ecae92e
AH
90082018-08-17 Alan Hayward <alan.hayward@arm.com>
9009
9010 PR gdb/18931
9011 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9012
c1854f1d
KS
90132018-08-16 Keith Seitz <keiths@redhat.com>
9014
9015 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9016 tests expected to pass.
9017
26fb3983
JV
90182018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9019
9020 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9021 -data-disassemble -a.
9022 (test_disassembly_bogus_args): Likewise.
9023
67943c00
AB
90242018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9025
9026 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9027
5ff2bbae
AB
90282018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9029
9030 * gdb.base/vla-optimized-out.exp: Add new test.
9031
e5bbcd0f
AB
90322018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9033
9034 * gdb.base/vla-optimized-out-o3.exp: Delete.
9035 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9036 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9037 deleted tests.
9038
9d4a934c
AB
90392018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9040
9041 PR gdb/18050:
9042 * gdb.server/extended-remote-restart.c: New file.
9043 * gdb.server/extended-remote-restart.exp: New file.
9044
045cf012
SM
90452018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9046
9047 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9048 "set variable index = 42".
9049
87d6a7aa
SM
90502018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9051
9052 * boards/index-cache-gdb.exp: New file.
9053 * gdb.dwarf2/index-cache.exp: New file.
9054 * gdb.dwarf2/index-cache.c: New file.
9055 * gdb.base/maint.exp: Check if we are using the index cache.
9056
96d68bd4
RO
90572018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9058
9059 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9060 MAKEFLAGS.
9061
5a699617
RO
90622018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9063
9064 * dg-extract-results.sh: Move to toplevel contrib.
9065 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9066 * Makefile.in (check-parallel-racy): Likewise.
9067
5bd18990
AB
90682018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9069
9070 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9071 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9072 tests if the target supports scheduler locking.
9073
3fbbcf47
TV
90742018-08-04 Tom de Vries <tdevries@suse.de>
9075
9076 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9077
3e1d3d8c
TT
90782018-08-02 Tom Tromey <tom@tromey.com>
9079
9080 PR symtab/16842.
9081 * gdb.cp/temargs.exp: Test "info address" of a template
9082 parameter.
9083
5abe0f0c
JV
90842018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9085
9086 * gdb.python/py-mi-var-info-path-expression.c: New file.
9087 * gdb.python/py-mi-var-info-path-expression.py: New file.
9088 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9089
fb66cde8
SDJ
90902018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9091
9092 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9093 error after "cannot resolve name" string.
9094
c708f4d2
AB
90952018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9096
9097 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9098 started.
9099 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9100
37cc0cae
TV
91012018-07-28 Tom de Vries <tdevries@suse.de>
9102
9103 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9104
63b4ecf7
TV
91052018-07-26 Tom de Vries <tdevries@suse.de>
9106
9107 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9108
3c3bb058
AB
91092018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9110
9111 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9112 is visible.
9113
9e7f3bbb
TV
91142018-07-26 Tom de Vries <tdevries@suse.de>
9115
9116 PR breakpoints/23366
9117 * gdb.base/catch-follow-exec.c: New test.
9118 * gdb.base/catch-follow-exec.exp: New file.
9119
16f808ec
TV
91202018-07-25 Tom de Vries <tdevries@suse.de>
9121
9122 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9123 vla-optimized-out.c.
9124
d7154a8d
JV
91252018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9126
9127 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9128 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9129
232a0032
TV
91302018-07-20 Tom de Vries <tdevries@suse.de>
9131
9132 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9133 NOCLONE macro.
9134 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9135
fbb1d502
TV
91362018-07-19 Tom de Vries <tdevries@suse.de>
9137
9138 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9139 regular expression.
9140
42dc7699
TV
91412018-07-18 Tom de Vries <tdevries@suse.de>
9142
9143 * gdb.base/vla-optimized-out.c: New test.
9144 * gdb.base/vla-optimized-out.exp: New file.
9145
7f1f7e23
SDJ
91462018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9147
9148 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9149 message "No address associated with hostname" when gdbserver
9150 cannot resolve the hostname.
9151
5759ebb3
PW
91522018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9153
9154 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9155 Add some test prefixes to make tests unique.
9156
3606ccab
PW
91572018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9158
9159 * gdb.base/frameapply.c: New file.
9160 * gdb.base/frameapply.exp: New file.
9161
529c08b2
PW
91622018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9163
9164 * gdb.base/skip.exp: Update expected error message.
9165
c7ab0aef
SDJ
91662018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9167 Jan Kratochvil <jan.kratochvil@redhat.com>
9168 Paul Fertser <fercerpav@gmail.com>
9169 Tsutomu Seki <sekiriki@gmail.com>
9170
9171 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9172 parameter.
9173 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9174 by default.
9175 * boards/native-gdbserver.exp: Likewise.
9176 * gdb.server/run-without-local-binary.exp: Improve regexp used
9177 for detecting when a remote debugging connection succeeds.
9178 * gdb.server/server-connect.exp: New file.
9179 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9180 Do not prefix the port number with ":".
9181 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9182 support for detecting and using it. Add '$debughost_gdbserver'
9183 to the list of arguments used to start gdbserver. Handle case
9184 when gdbserver cannot resolve a network name.
9185
16ff70dd
SDJ
91862018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9187
9188 PR c++/23373
9189 * gdb.base/ptype-offsets.cc (struct static_member): New
9190 struct.
9191 (main) <stmember>: New variable.
9192 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9193 with a static member in it.
9194
3541979f
AB
91952018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9196
9197 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9198 watchpoints enabled and disabled.
9199
c8ad9b9a
AB
92002018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9201
9202 * gdb.base/examine-backward.exp: Still run tests around address
9203 0x0, even if address 0x0 is not readable. Update the pattern for
9204 matching address 0x0 in expected output.
9205
e0e5e971
AB
92062018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9207
9208 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9209 malloc/free.
9210
1ea5da02
TV
92112018-07-04 Tom de Vries <tdevries@suse.de>
9212
9213 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9214
471b9d15
MR
92152018-07-02 Maciej W. Rozycki <macro@mips.com>
9216
9217 PR tdep/8282
9218 * gdb.arch/mips-disassembler-options.exp: New test.
9219 * gdb.arch/mips-disassembler-options.s: New test source.
9220
75acb486
PA
92212018-06-29 Pedro Alves <palves@redhat.com>
9222
9223 * gdb.threads/names.exp: Adjust expected "info threads" output.
9224
cd2bb709
PA
92252018-06-29 Pedro Alves <palves@redhat.com>
9226
9227 * gdb.opt/inline-break.exp (line number, address): Add "info
9228 break" tests.
9229
991ff292
PA
92302018-06-29 Pedro Alves <palves@redhat.com>
9231
9232 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9233 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9234 number and address and running to them.
9235
356819b6 92362018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9237
9238 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9239
2512d7ef
JK
92402018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9241
9242 * lib/compiler.c: Remove executable permission flag.
9243
be1b6474
RB
92442018-06-28 Richard Bunt <richard.bunt@arm.com>
9245
9246 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9247 code.
9248 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9249
291f9a96
PT
92502018-06-28 Petr Tesarik <ptesarik@suse.cz>
9251
9252 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9253
ed6dfe51
PT
92542018-06-28 Petr Tesarik <ptesarik@suse.cz>
9255
9256 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9257 address argument is omitted.
9258
d4d429d5
PT
92592018-06-28 Petr Tesarik <ptesarik@suse.cz>
9260
9261 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9262
7ab6656f
OJ
92632018-06-27 Omair Javaid <omair.javaid@linaro.org>
9264
9265 PR gdb/21695
9266 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9267 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9268
a33ccfc7
TT
92692018-06-26 Tom Tromey <tom@tromey.com>
9270
9271 PR rust/22574:
9272 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9273 * gdb.rust/simple.rs (struct SimpleLayout): New.
9274
6d72d289
SM
92752018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9276
9277 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9278 "info registers" output.
9279
8363f9d5
RB
92802018-06-21 Richard Bunt <richard.bunt@arm.com>
9281
9282 * gdb.base/watchpoint-hw-attach.c: New test.
9283 * gdb.base/watchpoint-hw-attach.exp: New file.
9284
f00674fe
SM
92852018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9286
9287 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9288 through /bin/sh.
9289 * boards/dwarf4-gdb-index.exp: Likewise.
9290 * boards/fission-dwp.exp: Likewise.
9291
1d554008
UW
92922018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9293
9294 * gdb.base/float128.exp: Add comment and improved fail message
9295 to the failure case of "print large128" test.
9296
d0ac1c44
SM
92972018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9298
9299 * configure.ac: Remove AC_PREREQ.
9300 * configure: Re-generate.
9301
61b04dd0
PA
93022018-06-19 Pedro Alves <palves@redhat.com>
9303
9304 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9305 (func_extern_caller): New.
9306 (main): Call func_extern_caller.
9307 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9308 logic change.
9309
f63b508a
SM
93102018-06-18 Weimin Pan <weimin.pan@oracle.com>
9311
9312 PR gdb/16841
9313 * gdb.cp/typedef-base.cc: New file.
9314 * gdb.cp/typedef-base.exp: New file.
9315
0fe3a558
TV
93162018-06-18 Tom de Vries <tdevries@suse.de>
9317
9318 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9319
7010835a
AB
93202018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9321 Richard Bunt <Richard.Bunt@arm.com>
9322
9323 * gdb.threads/attach-slow-waitpid.c: New file.
9324 * gdb.threads/attach-slow-waitpid.exp: New file.
9325 * gdb.threads/slow-waitpid.c: New file.
9326
14897d65
PA
93272018-06-14 Pedro Alves <palves@redhat.com>
9328
9329 * gdb.base/fork-running-state.c: Include <errno.h>.
9330 (exit_if_relative_exits): New.
9331 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9332 exits.
9333 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9334 child exits.
9335
5d9a0608
TV
93362018-06-14 Tom de Vries <tdevries@suse.de>
9337
9338 PR cli/22573
9339 * gdb.base/finish-pretty.c: New test.
9340 * gdb.base/finish-pretty.exp: New file.
9341
11ae5818
PA
93422018-06-14 Pedro Alves <palves@redhat.com>
9343
9344 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9345 gdb's expected startup output.
9346
1d39de44
PA
93472018-06-14 Pedro Alves <palves@redhat.com>
9348
9349 * lib/selftest-support.exp (selftest_setup): Remove inlined
9350 function handling.
9351
70ee0000
TV
93522018-06-14 Tom de Vries <tdevries@suse.de>
9353
9354 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9355 matching of breakpoint printing.
9356
11f4b608
TV
93572018-06-13 Tom de Vries <tdevries@suse.de>
9358
9359 PR testsuite/23269
9360 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9361 (fork_child): ... here, and ...
9362 (fork_parent): ... here.
9363
93642018-06-12 Tom de Vries <tdevries@suse.de>
9365
9366 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9367
9516f85a
AB
93682018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9369 Stephen Roberts <stephen.roberts@arm.com>
9370
9371 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9372 rewrite test to describe action performed, rather than possible
9373 failure.
9374
5045b3d7
GB
93752018-06-08 Gary Benson <gbenson@redhat.com>
9376
9377 * gdb.threads/check-libthread-db.exp: New file.
9378 * gdb.threads/check-libthread-db.c: Likewise.
9379
c61b06a1
TT
93802018-06-05 Tom Tromey <tom@tromey.com>
9381
9382 * gdb.base/default.exp: Update expected "show version" output.
9383
eb6af809
TT
93842018-06-05 Tom Tromey <tom@tromey.com>
9385
9386 PR cli/12326:
9387 * gdb.cp/static-print-quit.exp: Update.
9388 * lib/gdb.exp (pagination_prompt): Update.
9389 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9390 * gdb.python/python.exp: Update.
9391
178d6a63
JB
93922018-06-04 Joel Brobecker <brobecker@adacore.com>
9393
9394 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9395
8e817061
JB
93962018-06-01 Joel Brobecker <brobecker@adacore.com>
9397
9398 * gdb.ada/bp_fun_addr: New testcase.
9399
e86ca25f
TT
94002018-06-01 Tom Tromey <tom@tromey.com>
9401
9402 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9403 results.
9404 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9405 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9406 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9407 * gdb.base/maint.exp (maint_pass_if): Update.
9408
4b2dfa9d
MR
94092018-05-31 Maciej W. Rozycki <macro@mips.com>
9410
9411 * gdb.base/endian.exp: New test.
9412 * gdb.base/endian.c: New test source.
9413
45f25d6c
AB
94142018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9415
9416 PR gdb/23203
9417 * gdb.base/bt-selected-frame.c: New file.
9418 * gdb.base/bt-selected-frame.exp: New file.
9419 * lib/gdb.exp (get_current_frame_number): New function.
9420
d9f6d7f8
MR
94212018-05-24 Maciej W. Rozycki <macro@mips.com>
9422 Pedro Alves <palves@redhat.com>
9423
9424 * gdb.threads/tls-core.c: Include <stdlib.h>
9425 (thread_proc): Call `abort'.
9426 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9427 (tls_core_test): New procedure, bits factored out from ...
9428 (top level): ... here. Test both native cores and gcore cores.
9429
ff1cf532
TT
94302018-05-23 Tom Tromey <tom@tromey.com>
9431
9432 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9433
b98664d3
TT
94342018-05-23 Tom Tromey <tom@tromey.com>
9435
9436 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9437 symfile_complaints.
9438 (test_short_complaints): Likewise.
9439 (test_empty_complaints): Likewise.
9440 (test_initial_complaints): Update.
9441
4e9668d0
TT
94422018-05-23 Tom Tromey <tom@tromey.com>
9443
9444 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9445
43ba33c7
TT
94462018-05-23 Tom Tromey <tom@tromey.com>
9447
9448 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9449 (test_short_complaints): Update.
9450
035522c0
PA
94512018-05-22 Pedro Alves <palves@redhat.com>
9452
9453 * gdb.base/remote.exp: Only gdb_start after compiling the
9454 testcase. Issue "disconnect" before testing "set remote" command
9455 defaults. Issue clean_restart before running to main.
9456
cc0be08f
PA
94572018-05-22 Pedro Alves <palves@redhat.com>
9458
9459 * gdb.base/remote.exp: Adjust expected output of "show remote
9460 memory-write-packet-size". Add tests for "set remote
9461 memory-write-packet-size 0" and "set remote
9462 memory-write-packet-size fixed/limit".
9463
b1b60145
PA
94642018-05-22 Pedro Alves <palves@redhat.com>
9465
9466 PR gdb/22973
9467 * gdb.base/utf8-identifiers.c: New file.
9468 * gdb.base/utf8-identifiers.exp: New file.
9469
0ec848ad
PFC
94702018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9471
9472 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9473
2c3305f6
PFC
94742018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9475
9476 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9477
ce1e8424
TT
94782018-05-18 Tom Tromey <tom@tromey.com>
9479
9480 * gdb.base/ptype-offsets.exp: Update.
9481
ddfe970e
KS
94822018-05-17 Keith Seitz <keiths@redhat.com>
9483
9484 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9485 in expected breakpoint stop locations.
9486 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9487 move to proper scope to test variable values.
9488 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9489 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9490 New functions.
9491 (main): Call not_inline_func3.
9492 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9493 inline_func1, inline_func2, and inline_func3. Test that when each
9494 breakpoint is hit, GDB properly reports both the stop location
9495 and the backtrace. Repeat tests for temporary breakpoints.
9496
0726fcc6
MR
94972018-05-15 Maciej W. Rozycki <macro@mips.com>
9498
9499 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9500 rather then trying to access it in determining whether the PID
9501 of `gdbserver' could have been retrieved.
9502
8ee22052
AB
95032018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9504
9505 * gdb.arch/amd64-init-x87-values.S: New file.
9506 * gdb.arch/amd64-init-x87-values.exp: New file.
9507
7785df48
JK
95082018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9509
9510 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9511
56bcdbea
TT
95122018-05-04 Tom Tromey <tom@tromey.com>
9513
9514 PR python/22730:
9515 * gdb.python/python.exp: Test multi-line execute.
9516
a913fffb
TT
95172018-05-04 Tom Tromey <tom@tromey.com>
9518
9519 PR python/22731:
9520 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9521
7a2c85f2
TT
95222018-05-04 Tom Tromey <tom@tromey.com>
9523
9524 PR gdb/11750:
9525 * gdb.base/define.exp: Test defining a user command inside a user
9526 command.
9527 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9528
a3b60e45
JK
95292018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9530 Pedro Alves <palves@redhat.com>
9531
9532 PR breakpoints/19806 and support for PR external/20207.
9533 * gdb.base/watchpoint-unaligned.c: New file.
9534 * gdb.base/watchpoint-unaligned.exp: New file.
9535
45fe4a03
AB
95362018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9537
9538 * gdb.base/maint.exp: Make test names unique, use
9539 test_prefix_command_help to test 'help maint info', and remove
9540 repeated test of 'help maint'.
9541
9be2ae8f
TT
95422018-05-04 Tom Tromey <tom@tromey.com>
9543
9544 PR gdb/22619:
9545 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9546 behavior.
9547
11859c31
AB
95482018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9549
9550 * gdb.base/maint.exp: Process output from 'maint print registers'
9551 line at a time.
9552
089a9490
AB
95532018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9554
9555 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9556 timeout.
9557
9b0797e2
AB
95582018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9559
9560 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9561 filter pattern.
9562
f6ac5f3d
PA
95632018-05-02 Pedro Alves <palves@redhat.com>
9564
9565 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9566 to_log_command renames.
9567 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9568
77d3c63b
TT
95692018-05-02 Tom Tromey <tom@tromey.com>
9570
9571 * gdb.python/py-parameter.exp: Set test message.
9572
0489430a
TT
95732018-05-02 Tom Tromey <tom@tromey.com>
9574
9575 PR python/20084:
9576 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9577 PARAM_ZUINTEGER_UNLIMITED tests.
9578
1632f8ba
DR
95792018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9580
9581 PR rust/23124
9582 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9583 when casting.
9584
6d7bb824
TT
95852018-04-30 Tom Tromey <tom@tromey.com>
9586
9587 * gdb.python/py-type.exp: Check align attribute.
9588 * gdb.python/py-type.c: New "aligncheck" global.
9589
007e1530
TT
95902018-04-30 Tom Tromey <tom@tromey.com>
9591
9592 PR exp/17095:
9593 * gdb.dwarf2/dw2-align.exp: New file.
9594 * gdb.cp/align.exp: New file.
9595 * gdb.base/align.exp: New file.
9596 * lib/gdb.exp (gdb_int128_helper): New proc.
9597 (has_int128_c, has_int128_cxx): New caching procs.
9598
6873858b
TT
95992018-04-27 Tom Tromey <tom@tromey.com>
9600
9601 PR rust/22545:
9602 * gdb.rust/simple.exp: Add inclusive range tests.
9603
79188d8d
PA
96042018-04-26 Pedro Alves <palves@redhat.com>
9605
9606 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9607 ifunc breakpoint locations correctly of ifunc breakpoints set
9608 while the program resolves the ifunc.
9609
c7075ad5
PA
96102018-04-26 Pedro Alves <palves@redhat.com>
9611
9612 * gdb.base/gnu-ifunc-final.c: New file.
9613 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9614 * gdb.base/gnu-ifunc.exp (executable): Delete.
9615 (staticexecutable): Adjust.
9616 (lib_opts, exec_opts): Delete.
9617 (make_binsuffix, build, set-break): New procedures.
9618 (misc_tests): New, with tests factored out from the top level.
9619 (top level): Test different combinations of ifunc resolver name,
9620 resolver with and with debug info, and ifunc target with and
9621 without debug info. Wrap static tests with with_target_prefix.
9622
8388016d
PA
96232018-04-26 Pedro Alves <palves@redhat.com>
9624
9625 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9626 return type" warnings.
9627
249b5733
PA
96282018-04-25 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9631 killed".
9632 * gdb.base/kill-after-signal.exp: Likewise.
9633 * gdb.threads/kill.exp: Likewise.
9634
f67c0c91
SDJ
96352018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9636 Sergio Durigan Junior <sergiodj@redhat.com>
9637 Pedro Alves <palves@redhat.com>
9638
9639 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9640 regexps to expect for '[Inferior ... detached]' as well.
9641 * gdb.base/attach.exp: Likewise.
9642 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9643 "gdb_continue_to_end".
9644 (test_catch_syscall_with_wrong_args): Likewise.
9645 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9646 ']'. Don't set 'verbose' on.
9647 * gdb.base/foll-vfork.exp: Likewise.
9648 * gdb.base/fork-print-inferior-events.c: New file.
9649 * gdb.base/fork-print-inferior-events.exp: New file.
9650 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9651 '[Inferior ... has been killed]' message.
9652 * gdb.base/kill-after-signal.exp: Likewise.
9653 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9654 detach message.
9655 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9656 message.
9657 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9658 regexps to expect for '[Inferior ... detached]' as well.
9659 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9660
0a8ddac4
SM
96612018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9662
9663 PR gdb/23104
9664 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9665
701adfb0
PA
96662018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9667
9668 PR gdb/23095
9669 * gdb.base/break-probes.exp: Pass shlib_load to
9670 prepare_for_testing. Set normal_bp to r_debug_state if target is
9671 bsd.
9672
d27d16bf
RB
96732018-04-19 Richard Bunt <richard.bunt@arm.com>
9674
9675 * gdb.threads/multiple-successive-infcall.c: New test.
9676 * gdb.threads/multiple-successive-infcall.exp: New file.
9677
a037790e
TT
96782018-04-17 Tom Tromey <tom@tromey.com>
9679
9680 * gdb.rust/simple.rs (Union): New type.
9681 (main): New local "u".
9682 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9683
e3a91079
AA
96842018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9685
9686 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9687 number information in output of "whereis" command.
9688 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9689
b744723f
AA
96902018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9691
9692 * gdb.ada/info_types.exp: Adjust expected output to the line
9693 numbers now printed by "info var/func/type".
9694 * gdb.base/completion.exp: Likewise.
9695 * gdb.base/included.exp: Likewise.
9696 * gdb.cp/cp-relocate.exp: Likewise.
9697 * gdb.cp/cplusfuncs.exp: Likewise.
9698 * gdb.cp/namespace.exp: Likewise.
9699 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9700
4a4495d6
MM
97012018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9702
9703 * gdb.btrace/cpu.exp: New.
9704
1d509aa6
MM
97052018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9706
9707 * gdb.base/step-indirect-call-thunk.exp: New.
9708 * gdb.base/step-indirect-call-thunk.c: New.
9709 * gdb.reverse/step-indirect-call-thunk.exp: New.
9710 * gdb.reverse/step-indirect-call-thunk.c: New.
9711
6295b6da
SM
97122018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9713
9714 * gdb.base/pie-fork.c: New file.
9715 * gdb.base/pie-fork.exp: New file.
9716
50146e70
TT
97172018-04-11 Tom Tromey <tom@tromey.com>
9718
9719 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9720
f50d8a2e
PA
97212018-04-10 Pedro Alves <palves@redhat.com>
9722
9723 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9724 exits. Instead loop running forever.
9725 (fork_parent): Run forever too.
9726
a0be7a36
SM
97272018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9728
9729 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9730 mi_continue_to_line.
9731 * gdb.mi/mi-stack.c (callee4): Add comment.
9732
9b73db36
SM
97332018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9734
9735 * gdb.mi/mi-stack.exp: Fix indentation.
9736
c912f608
SM
97372018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9738
9739 PR gdb/22979
9740 * gdb.arch/amd64-osabi.exp: New file.
9741
26540402
SM
97422018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9743
9744 PR gdb/22980
9745 * gdb.base/osabi.exp: New file.
9746
121ad66c 97472018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9748
9749 * gdb.cp/static-typedef-print.exp: New file.
9750 * gdb.cp/static-typedef-print.cc: New file.
9751
3fcded8f
JB
97522018-03-27 Joel Brobecker <brobecker@adacore.com>
9753
9754 * gdb.ada/varsize_limit: New testcase.
9755
59cc4834
JB
97562018-03-27 Joel Brobecker <brobecker@adacore.com>
9757
9758 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9759
9760 * gdb.ada/notcplusplus: New testcase.
9761
9762 * gdb.base/c-linkage-name.c: New file.
9763 * gdb.base/c-linkage-name.exp: New testcase.
9764
4ca59a9f
TT
97652018-03-26 Tom Tromey <tom@tromey.com>
9766
9767 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9768 * gdb.python/py-framefilter.py (name_error): New global.
9769 (ErrorInName.function): Use name_error.
9770
978d6c75
TT
97712018-03-26 Tom Tromey <tom@tromey.com>
9772
9773 PR backtrace/15582:
9774 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9775
b7fee5a3
KS
97762018-03-23 Keith Seitz <keiths@redhat.com>
9777
9778 PR c++/22968
9779 * gdb.cp/subtypes.exp: New file.
9780 * gdb.cp/subtypes.h: New file.
9781 * gdb.cp/subtypes.cc: New file.
9782 * gdb.cp/subtypes-2.cc: New file.
9783
376be529
AB
97842018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9785
9786 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9787 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9788 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9789 -nostartfiles when compiling the test. Confirm that all registers
9790 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9791
066cfa98
AB
97922018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9793
9794 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9795 option, syntax was wrong anyway.
9796 * gdb.arch/arm-disp-step.exp: Likewise.
9797 * gdb.arch/sparc64-regs.exp: Likewise.
9798 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9799 option, syntax was wrong anyway, switch to use
9800 prepare_for_testing.
9801 * gdb.arch/i386-disp-step.exp: Likewise.
9802
079670b9
AA
98032018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9804
9805 * gdb.ada/exec_changed.exp: Replace "target_info exists
9806 use_gdb_stub" by "use_gdb_stub".
9807 * gdb.ada/start.exp: Likewise.
9808 * gdb.base/async-shell.exp: Likewise.
9809 * gdb.base/attach-pie-misread.exp: Likewise.
9810 * gdb.base/attach-wait-input.exp: Likewise.
9811 * gdb.base/break-entry.exp: Likewise.
9812 * gdb.base/break-interp.exp: Likewise.
9813 * gdb.base/dprintf-detach.exp: Likewise.
9814 * gdb.base/nostdlib.exp: Likewise.
9815 * gdb.base/solib-nodir.exp: Likewise.
9816 * gdb.base/statistics.exp: Likewise.
9817 * gdb.base/testenv.exp: Likewise.
9818 * gdb.mi/mi-exec-run.exp: Likewise.
9819 * gdb.mi/mi-start.exp: Likewise.
9820 * gdb.multi/dummy-frame-restore.exp: Likewise.
9821 * gdb.multi/multi-arch-exec.exp: Likewise.
9822 * gdb.multi/multi-arch.exp: Likewise.
9823 * gdb.multi/tids.exp: Likewise.
9824 * gdb.multi/watchpoint-multi.exp: Likewise.
9825 * gdb.python/py-events.exp: Likewise.
9826 * gdb.threads/attach-into-signal.exp: Likewise.
9827 * gdb.threads/attach-stopped.exp: Likewise.
9828 * gdb.threads/threadapply.exp: Likewise.
9829 * lib/selftest-support.exp: Likewise.
9830
26d6cec4
AA
98312018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9832
9833 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9834
4ee89e90
SR
98352018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9836
9837 * gdb.perf/template-breakpoints.cc: New file.
9838 * gdb.perf/template-breakpoints.exp: New file.
9839 * gdb.perf/template-breakpoints.py: New file.
9840
92630041
TT
98412018-03-19 Tom Tromey <tom@tromey.com>
9842
9843 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9844 y0.
9845 * gdb.rust/simple.exp: Test bare identifier form of struct
9846 initializer.
9847
76727919
TT
98482018-03-19 Tom Tromey <tom@tromey.com>
9849
9850 * gdb.gdb/observer.exp: Remove.
9851
194ed413
AA
98522018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9853
9854 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9855 "qualified" option when setting breakpoints.
9856 * gdb.trace/backtrace.exp: Likewise.
9857 * gdb.trace/circ.exp: Likewise.
9858 * gdb.trace/collection.exp: Likewise.
9859 * gdb.trace/disconnected-tracing.exp: Likewise.
9860 * gdb.trace/ftrace-lock.exp: Likewise.
9861 * gdb.trace/ftrace.exp: Likewise.
9862 * gdb.trace/infotrace.exp: Likewise.
9863 * gdb.trace/packetlen.exp: Likewise.
9864 * gdb.trace/passc-dyn.exp: Likewise.
9865 * gdb.trace/qtro.exp: Likewise.
9866 * gdb.trace/read-memory.exp: Likewise.
9867 * gdb.trace/report.exp: Likewise.
9868 * gdb.trace/signal.exp: Likewise.
9869 * gdb.trace/status-stop.exp: Likewise.
9870 * gdb.trace/strace.exp: Likewise.
9871 * gdb.trace/tfind.exp: Likewise.
9872 * gdb.trace/trace-break.exp: Likewise.
9873 * gdb.trace/trace-condition.exp: Likewise.
9874 * gdb.trace/trace-mt.exp: Likewise.
9875 * gdb.trace/tstatus.exp: Likewise.
9876 * gdb.trace/tsv.exp: Likewise.
9877 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9878 * gdb.trace/unavailable.exp: Likewise.
9879 * gdb.trace/while-dyn.exp: Likewise.
9880
8b067d2c
AA
98812018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9882
9883 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9884 that libinproctrace is copied to the target.
9885
3ae9ce5d
TT
98862018-03-14 Tom Tromey <tom@tromey.com>
9887
9888 PR cli/14977:
9889 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9890 a null pointer.
9891 * gdb.base/wchar.exp: Likewise.
9892
b8c2339b
TT
98932018-03-14 Tom Tromey <tom@tromey.com>
9894
9895 PR cli/19918:
9896 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9897 flag.
9898
4872dc46
SM
98992018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9900
9901 PR gdb/22841
9902 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9903 "target" to remote_exec.
9904
e4fe3756
SM
99052018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9906
9907 PR gdb/22841
9908 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9909 ${board}_upload): Remove.
9910
e95a97d4
AA
99112018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9912
9913 * gdb.cp/watch-cp.cc: New test.
9914 * gdb.cp/watch-cp.exp: New file.
9915
dbbb1059
AB
99162018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9917
9918 * gdb.base/infcall-nested-structs.exp: New file.
9919 * gdb.base/infcall-nested-structs.c: New file.
9920 * gdb.base/float.exp: Add riscv support.
9921
ecc054c0
TP
99222018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9923
9924 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9925 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9926
25e3c82c
SDJ
99272018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9928
9929 * gdb.server/abspath.exp: New file.
9930 * lib/gdb.exp (with_cwd): New procedure.
9931
3083294d
SM
99322018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9933
9934 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9935 use it.
9936 (gdb_is_target_remote_prompt): New proc.
9937 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9938 (gdb_is_target_native): Pass prompt parameter to
9939 gdb_is_target_1.
9940
3275ef47
SM
99412018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9942
9943 * gdb.base/load-command.c: New file.
9944 * gdb.base/load-command.exp: New file.
9945 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9946 (gdb_is_target_1): ...this, and generalize for other targets
9947 than just remote.
9948 (gdb_is_target_remote): Use gdb_is_target_1.
9949 (gdb_is_target_native): use gdb_is_target_1.
9950
6893c19a
TT
99512018-02-26 Tom Tromey <tom@tromey.com>
9952
9953 PR python/16497:
9954 * gdb.python/py-framefilter.exp: Update test.
9955
2ddeaf8a
TT
99562018-02-26 Tom Tromey <tom@tromey.com>
9957
9958 * gdb.dwarf2/variant.c: New file.
9959 * gdb.dwarf2/variant.exp: New file.
9960
c9317f21
TT
99612018-02-26 Tom Tromey <tom@tromey.com>
9962
9963 * gdb.rust/simple.exp: Accept more possible results in enum test.
9964
6f6d0c26
SM
99652018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9966
9967 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9968 parentheses.
9969
11b03145
MR
99702018-02-23 Maciej W. Rozycki <macro@mips.com>
9971
9972 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9973 name of a variable: $actual_linejj -> $actual_line.
9974
54a27fe5
JB
99752018-02-21 John Baldwin <jhb@FreeBSD.org>
9976
9977 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9978
de65820c
MM
99792018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9980
9981 * gdb.btrace/buffer-size.exp: Do not force BTS.
9982
980548fd
PA
99832018-02-14 Pedro Alves <palves@redhat.com>
9984
9985 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9986 getting a "Quit".
9987
c4e12631
MM
99882018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9989
9990 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9991 Fix test name.
9992
c2e0e465
SM
99932018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9994
9995 * gdb.cp/m-static.exp: Check type of optimized out static
9996 member.
9997
f7216783
AB
99982018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9999
10000 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10001 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10002
0625771b
LS
100032018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10004 Leszek Swirski <leszeks@google.com>
10005
10006 * gdb.python/py-prettyprint.c
10007 (struct to_string_returns_value_inner,
10008 struct to_string_returns_value_wrapper): New.
10009 (main): Add tsrvw variable.
10010 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10011 ToStringReturnsValueWrapper): New classes.
10012 (register_pretty_printers): Register new pretty-printers.
10013 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10014 recursive pretty printer.
10015 * gdb.python/py-mi.exp: Likewise.
10016
59498c30
LS
100172018-02-01 Leszek Swirski <leszeks@google.com>
10018
10019 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10020 functions with the same name as an include file are parsed
10021 correctly.
10022
d4d38844
YQ
100232018-02-01 Yao Qi <yao.qi@linaro.org>
10024
10025 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10026 "\[^\r\n\]*".
10027
07e5f5cf
NP
100282018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10029
10030 * gdb.arch/powerpc-prologue-frame.s: New file.
10031 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10032 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10033
929b5ad4
JB
100342018-01-31 Joel Brobecker <brobecker@adacore.com>
10035
10036 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10037
e671cd59
PA
100382018-01-30 Pedro Alves <palves@redhat.com>
10039
10040 PR gdb/13211
10041 * gdb.base/interrupt-daemon.c: New.
10042 * gdb.base/interrupt-daemon.exp: New.
10043 * gdb.multi/multi-term-settings.c: New.
10044 * gdb.multi/multi-term-settings.exp: New.
10045
fc413dc4
JB
100462018-01-30 Joel Brobecker <brobecker@adacore.com>
10047
10048 * gdb.base/break.exp: Save the location where the breakpoint
10049 on break.c:47 was actually inserted when debugging the version
10050 compiled at -O2 and use it in the expected output of the "info
10051 break" test performed soon after.
10052
5c319bb2
PA
100532018-01-22 Pedro Alves <palves@redhat.com>
10054 Sergio Durigan Junior <sergiodj@redhat.com>
10055
10056 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10057 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10058
a9e40818
JB
100592018-01-22 Joel Brobecker <brobecker@adacore.com>
10060
10061 * gdb.base/break-include.c, gdb.base/break-include.inc,
10062 gdb.base/break-include.exp: New files.
10063 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10064 line number now being the actual line number where the breakpoint
10065 was inserted.
10066 * gdb.mi/mi-break.exp: Likewise.
10067 * gdb.mi/mi-reverse.exp: Likewise.
10068 * gdb.mi/mi-simplerun.exp: Ditto.
10069
e707fc44
AB
100702018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10071
10072 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10073 varobj.
10074 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10075
ae451627
AB
100762018-01-21 Don Breazeal <donb@codesourcery.com>
10077 Andrew Burgess <andrew.burgess@embecosm.com>
10078
10079 * gdb.mi/basics.c: Add new global.
10080 * gdb.mi/mi-frame-regs.exp: New file.
10081 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10082 case.
10083
b1b189e0
AB
100842018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10085
10086 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10087 non-parameter, and on an unknown symbol.
10088
fcfcc376
TT
100892018-01-19 Tom Tromey <tom@tromey.com>
10090
10091 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10092 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10093
634c1c31
AA
100942018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10095
10096 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10097 setrlimit and chdir to int.
10098
d6ad07fd
AA
100992018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10100
10101 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10102 function.
10103 (my_tend): Likewise.
10104 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10105 rationale of avoiding FP- and vector instructions.
10106
adf8243b
RK
101072018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10108
10109 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10110 "info reg" with "\[ \t\]*".
10111 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10112 "\[ \t\]+".
10113 * gdb.arch/s390-multiarch.exp: Ditto.
10114 * gdb.base/pc-fp.exp: Ditto.
10115 * gdb.reverse/i386-precsave.exp: Ditto.
10116 * gdb.reverse/i386-reverse.exp: Ditto.
10117 * gdb.reverse/i387-env-reverse.exp: Ditto.
10118 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10119
dcc06925
AA
101202018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10121
10122 * lib/gdb.exp (gdb_compile): Re-enable use of
10123 universal_compile_options for languages other than Rust.
10124
25d4fd80
AA
101252018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10126
10127 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10128
ee7f689e 101292018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10130
10131 PR gdb/16577
10132 * gdb.base/solib-vanish.exp: New.
10133 * gdb.base/solib-vanish-main.c: New.
10134 * gdb.base/solib-vanish-lib1.c: New.
10135 * gdb.base/solib-vanish-lib2.c: New.
10136
d8447b6b
YQ
101372018-01-17 Yao Qi <yao.qi@linaro.org>
10138
10139 * gdb.compile/compile.exp: Match the address printed for
10140 frame in the output of command "bt".
10141
86d6a90c
TT
101422018-01-15 Tom Tromey <tom@tromey.com>
10143
10144 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10145 compute sp_reg.
10146
cbcdb1aa
AB
101472018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10148
10149 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10150 to prepare.
10151 (prepare): Return 0 on error, 1 on success.
10152
eea61984
PA
101532018-01-12 Pedro Alves <palves@redhat.com>
10154
10155 * gdb.base/continue-after-aborted-step-over.c: New.
10156 * gdb.base/continue-after-aborted-step-over.exp: New.
10157
6181e9c2
SM
101582018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10159
10160 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10161 options when not creating an executable.
10162
3cada740
PA
101632018-01-11 Pedro Alves <palves@redhat.com>
10164
10165 PR remote/22597
10166 * gdb.server/stop-reply-no-thread.c: New file.
10167 * gdb.server/stop-reply-no-thread.exp: New file.
10168
c63d3e8d
PA
101692018-01-10 Pedro Alves <palves@redhat.com>
10170
10171 PR gdb/22670
10172 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10173 functions too. Test setting breakpoints and printing C functions
10174 with no debug info too.
10175 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10176
d4c2a405
PA
101772018-01-10 Pedro Alves <palves@redhat.com>
10178
10179 PR gdb/22670
10180 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10181 a fail.
10182
8825213e
PA
101832018-01-10 Pedro Alves <palves@redhat.com>
10184
10185 PR gdb/22670
10186 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10187
605fd3c6
YQ
101882018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10189
10190 * gdb.server/unittest.exp: Match the output in non-development
10191 mode.
10192
1e5ded6c
YQ
101932018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10194
10195 * gdb.gdb/unittest.exp: Match output in non-development mode.
10196
30066b0b
JB
101972018-01-08 Joel Brobecker <brobecker@adacore.com>
10198
10199 * gdb.ada/access_tagged_param.exp: Relax expected output
10200 for value of "ObjL" in "continue" to pck.inspect breakpoint
10201 test.
10202
04bafb1e
XR
102032018-01-08 Joel Brobecker <brobecker@adacore.com>
10204
9f86398b
JB
10205 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10206 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10207
e379cee6
PA
102082018-01-05 Pedro Alves <palves@redhat.com>
10209
10210 PR gdb/18653
10211 * gdb.base/libsegfault.exp: New.
10212
de63c46b
PA
102132018-01-05 Joel Brobecker <brobecker@adacore.com>
10214
10215 PR gdb/22670
10216 * gdb.ada/access_tagged_param.exp: New file.
10217 * gdb.ada/access_tagged_param/foo.adb: New file.
10218
f98fc17b
PA
102192018-01-05 Pedro Alves <palves@redhat.com>
10220
10221 PR gdb/22670
10222 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10223 exercise lower case too, and to exercise both full matching and
10224 wild matching.
10225
342f8240
JB
102262018-01-05 Joel Brobecker <brobecker@adacore.com>
10227
10228 * gdb.ada/rename_subscript_param: New testcase.
10229
7150d33c
JG
102302018-01-05 Jerome Guitton <guitton@adacore.com>
10231
10232 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10233
cc0e770c
JB
102342018-01-05 Joel Brobecker <brobecker@adacore.com>
10235
10236 * gdb.ada/convvar_comp: New testcase.
10237
672a41aa 102382018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10239
10240 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10241 (My_Table): New global variable.
10242 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10243
7365ec2f
JB
102442018-01-04 Joel Brobecker <brobecker@adacore.com>
10245
10246 PR gdb/22670
10247 * gdb.ada/maint_with_ada: New testcase.
10248
289483b6
JB
102492018-01-04 Joel Brobecker <brobecker@adacore.com>
10250
10251 PR gdb/22670
10252 * gdb.ada/bp_c_mixed_case: New testcase.
10253
344420da
JB
102542018-01-04 Joel Brobecker <brobecker@adacore.com>
10255
10256 PR gdb/22670
10257 * gdb.ada/complete.exp: Add "complete break ada" test.
10258
66fc87a0
JB
102592018-01-04 Joel Brobecker <brobecker@adacore.com>
10260
10261 PR gdb/22670
10262 * gdb.ada/info_addr_mixed_case: New testcase.
10263
9f757bf7
XR
102642018-01-03 Xavier Roirand <roirand@adacore.com>
10265
10266 * gdb.ada/excep_handle.exp: New testcase.
10267 * gdb.ada/excep_handle/foo.adb: New file.
10268 * gdb.ada/excep_handle/pck.ads: New file.
10269
bd570f80
JB
102702018-01-03 Joel Brobecker <brobecker@adacore.com>
10271
10272 * gdb.base/step-line.c: Add extra empty line in copyright header.
10273 * gdb.base/step-line.inp: Likewise.
10274
9fe561ab
JB
102752018-01-02 Joel Brobecker <brobecker@adacore.com>
10276
10277 * gdb.ada/dyn_stride.exp: Add slice test.
10278
a405673c
JB
102792018-01-02 Joel Brobecker <brobecker@adacore.com>
10280
10281 * gdb.ada/dyn_stride: New testcase.
10282
cef0f868
SH
102832017-12-27 Stafford Horne <shorne@gmail.com>
10284
10285 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10286 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10287
b67d92b0
SH
102882017-12-27 Stafford Horne <shorne@gmail.com>
10289
10290 * gdb.base/reggroups.c: New file.
10291 * gdb.base/reggroups.exp: New file.
10292
eccab96d
JB
102932017-12-18 Joel Brobecker <brobecker@adacore.com>
10294
10295 * gdb.dwarf2/ada-valprint-error.c: New file.
10296 * gdb.dwarf2/ada-valprint-error.exp: New file.
10297
0e2da9f0
JB
102982017-12-18 Joel Brobecker <brobecker@adacore.com>
10299
10300 * gdb.ada/assign_arr: New testcase.
10301
cb923fcc
XR
103022017-12-18 Xavier Roirand <roirand@adacore.com>
10303
10304 * gdb.ada/funcall_ptr: New testcase.
10305
7c161838
SDJ
103062017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10307
10308 PR cli/16224
10309 * gdb.base/ptype-offsets.cc: New file.
10310 * gdb.base/ptype-offsets.exp: New file.
10311
1af17fd9
YQ
103122017-12-15 Yao Qi <yao.qi@linaro.org>
10313
10314 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10315 if XML is disabled.
10316
828d5846
XR
103172017-12-15 Xavier Roirand <roirand@adacore.com>
10318
10319 * gdb.ada/same_component_name: New testcase.
10320
79e8fcaa
JB
103212017-12-14 Joel Brobecker <brobecker@adacore.com>
10322
10323 * gdb.ada/str_binop_equal: New testcase.
10324
e05fa6f9
JB
103252017-12-14 Joel Brobecker <brobecker@adacore.com>
10326
10327 * gdb.ada/task_switch_in_core: New testcase.
10328
b89641ba
SM
103292017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10330
10331 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10332 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10333 call test_bkpt_qualified.
10334 (test_bkpt_qualified): New proc.
10335
6892d2e4
PA
103362017-12-13 Pedro Alves <palves@redhat.com>
10337
10338 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10339 Tighten regexp by matching with an anchor.
10340
a22ecf70
PA
103412017-12-13 Pedro Alves <palves@redhat.com>
10342
10343 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10344 ("expression with namespace"): New set of tests.
10345 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10346 (Nested::Test_NS::qux): New.
10347 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10348 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10349
9937536c
JB
103502017-12-13 Joel Brobecker <brobecker@adacore.com>
10351
10352 * gdb.base/server-del-break.c: New file.
10353 * gdb.base/server-del-break.exp: New file.
10354
fe49c6f5
SH
103552017-12-12 Stafford Horne <shorne@gmail.com>
10356
10357 * gdb.xml/tdesc-regs.exp: Add or1k support.
10358
c3d18620
SH
103592017-12-12 Stafford Horne <shorne@gmail.com>
10360
10361 * gdb.base/bp-permanent.c: Define nop of or1k.
10362
c5f9cfc8
JB
103632017-12-11 Joel Brobecker <brobecker@adacore.com>
10364
10365 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10366 output with components being reordered.
10367
a9c135fc
JB
103682017-12-11 Joel Brobecker <brobecker@adacore.com>
10369
10370 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10371 output with components being reordered.
10372
927aa2e7
JK
103732017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10374 Pedro Alves <palves@redhat.com>
10375
10376 * gdb.base/maint.exp (check for .gdb_index): Check also for
10377 .debug_names.
10378 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10379 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10380 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10381 (.gdb_index used after symbol reloading): Support also .debug_names.
10382 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10383
f17d9474
YQ
103842017-12-08 Yao Qi <yao.qi@linaro.org>
10385
10386 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10387 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10388
a0de8c21
YQ
103892017-12-08 Yao Qi <yao.qi@linaro.org>
10390
10391 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10392 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10393
a738ea1d
YQ
103942017-12-08 Yao Qi <yao.qi@linaro.org>
10395
10396 * gdb.arch/aarch64-tagged-pointer.c: New file.
10397 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10398
1cd9a73b
SDJ
103992017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10400
10401 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10402 "int".
10403
fa6eb693
KS
104042017-12-07 Keith Seitz <keiths@redhat.com>
10405
10406 PR breakpoints/22569
10407 * gdb.linespec/ls-errs.exp: Change expected result of "break
10408 -source this file has spaces.c -line 3".
10409 Check that an explicit source file followed by whitespace is
10410 identified as an invalid explicit location.
10411
883fd55a
KS
104122017-12-07 Keith Seitz <keiths@redhat.com>
10413
10414 * gdb.cp/nested-types.cc: New file.
10415 * gdb.cp/nested-types.exp: New file.
10416 * lib/cp-support.exp: Load data-structures.exp library.
10417 (debug_cp_test_ptype_class): New global.
10418 (cp_ptype_class_verbose, next_line): New procedures.
10419 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10420 Add and document new return value.
10421 Switch the list of lines to a queue.
10422 Add support for new `type' key for nested type definitions.
10423 Add debugging/troubleshooting messages.
10424 * lib/data-structures.exp: New file.
10425
ec72db3e
SM
104262017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10427
10428 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10429 with proc_with_prefix, don't use with_test_prefix.
10430
99598d71
TT
104312017-12-07 Tom Tromey <tom@tromey.com>
10432
10433 * gdb.base/break.exp: Add test for empty "commands".
10434
a8806230
YQ
104352017-12-07 Yao Qi <yao.qi@linaro.org>
10436
10437 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10438 malloc and catch syscall.
10439
824cc835
PM
104402017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10441
e79be6e5 10442 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10443 tests for explicit locations.
10444
7cc244de
PA
104452017-12-06 Pedro Alves <palves@redhat.com>
10446
10447 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10448 force-disabling XML descriptions.
10449
50a1fdd5
PA
104502017-12-04 Pedro Alves <palves@redhat.com>
10451
10452 PR gdb/22499
10453 * gdb.arch/amd64-disp-step-avx.S: New file.
10454 * gdb.arch/amd64-disp-step-avx.exp: New file.
10455
f0fb2488
PA
104562017-12-03 Pedro Alves <palves@redhat.com>
10457
10458 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10459 and <string.h>.
10460 (parent_function): Print distinct messages when waitpid fails, or
10461 the child exits with a signal, or the child exits for an unhandled
10462 reason.
10463 * gdb.threads/process-dies-while-detaching.exp
10464 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10465 it. Wait for both inferior output and GDB's prompt. Use an
10466 indirect spawn id list.
10467 (do_detach): New parameter 'child_exit'. Use it to compute
10468 expected inferior output.
10469 (test_detach, test_detach_watch, test_detach_killed_outside):
10470 Adjust to pass down the expected child exit kind.
10471
97cbe998
SDJ
104722017-12-01 Joel Brobecker <brobecker@adacore.com>
10473 Sergio Durigan Junior <sergiodj@redhat.com>
10474 Pedro Alves <palves@redhat.com>
10475
10476 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10477
40fc416f
SDJ
104782017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10479
10480 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10481 to 'symbol-file' and 'add-symbol-file' can be
10482 position-independent.
10483
1cc75e92
YQ
104842017-12-01 Yao Qi <yao.qi@linaro.org>
10485
10486 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10487 the URL in copyright header.
10488 * gdb.arch/aarch64-fp.exp: Likewise.
10489 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10490 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10491 * gdb.base/expand-psymtabs.exp: Likewise.
10492 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10493 * gdb.fortran/common-block.exp: Likewise.
10494 * gdb.fortran/common-block.f90: Likewise.
10495 * gdb.fortran/logical.exp: Likewise.
10496 * gdb.fortran/vla-datatypes.f90: Likewise.
10497 * gdb.fortran/vla-sub.f90: Likewise.
10498
875fb7a7
JB
104992017-11-30 Joel Brobecker <brobecker@adacore.com>
10500
10501 * gdb.ada/repeat_dyn: New testcase.
10502
6f14765f
UW
105032017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10504
10505 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10506 Update for changed thread numbering.
10507 * gdb.cell/bt.exp: Update for changed GDB output.
10508
f1af7b94
SM
105092017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10510
10511 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10512 setting isremote by hand.
10513 * boards/dwarf4-gdb-index.exp: Likewise.
10514 * boards/fission.exp: Likewise.
10515 * boards/stabs.exp: Likewise.
10516
e3919f3e
PA
105172017-11-30 Pedro Alves <palves@redhat.com>
10518
10519 * gdb.linespec/cpls-ops.exp
10520 (check_explicit_skips_function_argument): Extract the underlying
10521 type of size_t instead of hardcoding it.
10522
bd69330d
PA
105232017-11-29 Pedro Alves <palves@redhat.com>
10524
10525 PR c++/19436
10526 * gdb.linespec/cpls-abi-tag.cc: New file.
10527 * gdb.linespec/cpls-abi-tag.exp: New file.
10528
a20714ff
PA
105292017-11-29 Pedro Alves <palves@redhat.com>
10530
10531 * gdb.base/langs.exp: Use -qualified.
10532 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10533 it.
10534 * gdb.cp/namespace.exp: Use -qualified.
10535 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10536 (overload-3, template-overload, template-ret-type, const-overload)
10537 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10538 procedures.
10539 (test_driver): Call them.
10540 * gdb.cp/save-bp-qualified.cc: New.
10541 * gdb.cp/save-bp-qualified.exp: New.
10542 * gdb.linespec/explicit.exp: Test -qualified.
10543 * lib/completion-support.exp (completion::explicit_opts_list): Add
10544 "-qualified".
10545 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10546
f6f1d339
PM
105472017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10548
10549 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10550
02ca603a
TT
105512017-11-29 Tom Tromey <tom@tromey.com>
10552
10553 * gdb.base/relocate.exp: Update invalid argument test.
10554 Add new tests for invalid arguments.
10555
ed6c0bfb
TP
105562017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10557
10558 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10559 Return 0 as a long.
10560 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10561
f106e10e
TP
105622017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10563
10564 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10565 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10566 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10567 func ().
10568 * gdb.cp/shadow.cc (B.func): Return 0.
10569
10329bb2
JB
105702017-11-27 Joel Brobecker <brobecker@adacore.com>
10571
10572 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10573 expected output in gdb_expect call to allow the exception
10574 message to be present as well. Fix syntax confusion to avoid
10575 TCL thinking that exception_name is an array.
10576
617cd4bc
UW
105772017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10578
10579 * gdb.arch/spu-info.c: Include <unistd.h>.
10580 (do_signal_test): Fix broken calls to write.
10581 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10582 Fix checks for empty mailboxes. Update signal tests for corrected
10583 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10584 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10585 * gdb.cell/arch.exp: Use standard_output_file.
10586 * gdb.cell/break.exp: Likewise.
10587 * gdb.cell/bt.exp: Likewise.
10588 * gdb.cell/core.exp: Likewise.
10589 * gdb.cell/dwarfaddr.exp: Likewise.
10590 * gdb.cell/ea-cache.exp: Likewise.
10591 * gdb.cell/ea-standalone.exp: Likewise.
10592 * gdb.cell/f-regs.exp: Likewise.
10593 * gdb.cell/fork.exp: Likewise.
10594 * gdb.cell/gcore.exp: Likewise.
10595 * gdb.cell/mem-access.exp: Likewise.
10596 * gdb.cell/ptype.exp: Likewise.
10597 * gdb.cell/registers.exp: Likewise.
10598 * gdb.cell/sizeof.exp: Likewise.
10599 * gdb.cell/solib-symbol.exp: Likewise.
10600 * gdb.cell/solib.exp: Likewise.
617cd4bc 10601
a81aaca0
PA
106022017-11-25 Pedro Alves <palves@redhat.com>
10603
10604 * gdb.base/complete-empty.exp: New file.
10605 * gdb.base/completion.exp: Adjust.
10606
6a3c6ee4
PA
106072017-11-25 Pedro Alves <palves@redhat.com>
10608
10609 * gdb.linespec/cpls-ops.cc: New file.
10610 * gdb.linespec/cpls-ops.exp: New file.
10611 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10612 factored out from ...
10613 (test_complete_prefix_range): ... this.
10614
8955eb2d
PA
106152017-11-24 Pedro Alves <palves@redhat.com>
10616
10617 * gdb.linespec/cpcompletion.exp: New file.
10618 * gdb.linespec/cpls-hyphen.cc: New file.
10619 * gdb.linespec/cpls.cc: New file.
10620 * gdb.linespec/cpls2.cc: New file.
10621 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10622 test to use test_gdb_complete_unique. Add label completion,
10623 keyword completion and explicit location completion tests.
10624 * lib/completion-support.exp: New file.
10625
e547c119
JB
106262017-11-24 Joel Brobecker <brobecker@adacore.com>
10627
10628 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10629 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10630 when hitting an exception catchpoint.
10631
7c3c1aa8
YQ
106322017-11-22 Yao Qi <yao.qi@linaro.org>
10633
10634 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10635
41bd68f5
SM
106362017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10637
10638 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10639 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10640 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10641
1daad298
YQ
106422017-11-22 Yao Qi <yao.qi@linaro.org>
10643
10644 * gdb.base/info-os.exp: Pass pthreads.
10645 * gdb.multi/multi-attach.exp: Likewise.
10646
88465e87
YQ
106472017-11-22 Yao Qi <yao.qi@linaro.org>
10648
10649 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10650 compiler.
10651
dc196b23
YQ
106522017-11-22 Yao Qi <yao.qi@linaro.org>
10653
10654 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10655 * gdb.base/break-interp.exp: Likewise.
10656 * gdb.base/jit-attach-pie.exp: Likewise.
10657
2400729e
UW
106582017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10659
10660 * gdb.base/float128.c (large128): New variable.
10661 * gdb.base/float128.exp: Add test to print largest __float128 value.
10662
7a26362d
UW
106632017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10664
10665 * gdb.arch/vsx-regs.exp: Update register content checks.
10666
ed0f4273
UW
106672017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10668
10669 * gdb.arch/ppc-longdouble.exp: New file.
10670 * gdb.arch/ppc-longdouble.c: Likewise.
10671
a25d69c6
PA
106722017-11-21 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10675
73fcf641
PA
106762017-11-20 Pedro Alves <palves@redhat.com>
10677
10678 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10679 (long_double_typedef): New typedefs.
10680 Use DEF on double and long double.
10681 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10682 cases.
10683 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10684 and 'long_double_ptr_same_size' locals. Use them to decide
10685 whether cast from array/function to float is valid/invalid.
10686
71a3c369
TT
106872017-11-17 Tom Tromey <tom@tromey.com>
10688
10689 * gdb.rust/traits.rs: New file.
10690 * gdb.rust/traits.exp: New file.
10691
ced9779b
JB
106922017-11-17 Joel Brobecker <brobecker@adacore.com>
10693
10694 * gdb.ada/minsyms: New testcase.
10695
a0922d80
PA
106962017-11-16 Pedro Alves <palves@redhat.com>
10697
10698 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10699 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10700
ea04e54c
PA
107012017-11-16 Pedro Alves <palves@redhat.com>
10702
10703 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10704 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10705
e849ea89
PA
107062017-11-16 Pedro Alves <palves@redhat.com>
10707
10708 * gdb.server/reconnect-ctrl-c.c: New file.
10709 * gdb.server/reconnect-ctrl-c.exp: New file.
10710
d8ae99a7
PM
107112017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10712
10713 * gdb.python/py-rbreak.exp: New file.
10714 * gdb.python/py-rbreak.c: New file.
10715 * gdb.python/py-rbreak-func2.c: New file.
10716
968a13f8
PA
107172017-11-16 Pedro Alves <palves@redhat.com>
10718
10719 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10720 pattern.
10721 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10722 GDB.
10723
71774bc9
SM
107242017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10725
10726 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10727 regex.
10728
ddbb44cf
SM
107292017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10730
10731 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10732 test names.
10733
584a564f
PA
107342017-11-09 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10737 factored out from ...
10738 (top level): ... here, and adjusted to avoid expecting beyond the
10739 prompt in a single gdb_test_multiple.
10740
5ed7a928
PA
107412017-11-09 Pedro Alves <palves@redhat.com>
10742
10743 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10744 output.
10745 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10746 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10747 * gdb.server/ext-run.exp ("kill" test): Likewise.
10748 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10749
a60e0738
PA
107502017-11-09 Pedro Alves <palves@redhat.com>
10751
10752 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10753 match till end of line.
10754
2c88253f
PA
107552017-11-09 Pedro Alves <palves@redhat.com>
10756
10757 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10758
c7a38517
PA
107592017-11-09 Pedro Alves <palves@redhat.com>
10760
10761 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10762 New procedures, factored out from ...
10763 (top level): ... here, and adjusted to avoid expecting beyond the
10764 prompt in one go.
10765
f29f4b6b
PA
107662017-11-09 Pedro Alves <palves@redhat.com>
10767
10768 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10769 output. Fix '?' match.
10770
286acbb5
JB
107712017-11-08 Joel Brobecker <brobecker@adacore.com>
10772
10773 * gdb.ada/scoped_watch: New testcase.
10774 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10775 which is actually correct.
10776 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10777 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10778
62d7ae92
PA
107792017-11-08 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.gdb/complaints.exp (test_initial_complaints)
10782 (test_serial_complaints, test_short_complaints): Call
10783 complaint_internal instead of complaint.
10784
280ca31f
DT
107852017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10786
10787 * gdb.threads/tls-core.c: New file.
10788 * gdb.threads/tls-core.exp: Likewise.
10789
b5ec771e
PA
107902017-11-08 Pedro Alves <palves@redhat.com>
10791
10792 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10793 (p Exported_Capitalized): New test.
10794 (p exported_capitalized): New test.
10795
a02b41a7
PA
107962017-11-07 Pedro Alves <palves@redhat.com>
10797
10798 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10799
95e95a6d
PA
108002017-11-07 Pedro Alves <palves@redhat.com>
10801
10802 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10803 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10804 (disable_invalid, disable_inverted, disable_negative): New
10805 procedures.
10806 ("bad numbers"): New set of tests.
10807
cee62dbd
PA
108082017-11-07 Pedro Alves <palves@redhat.com>
10809
10810 * gdb.cp/ena-dis-br-range.exp: Add tests.
10811
cc638e86
PA
108122017-11-07 Pedro Alves <palves@redhat.com>
10813
10814 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10815
d0fe4701
XR
108162017-11-07 Xavier Roirand <roirand@adacore.com>
10817 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.base/ena-dis-br.exp: Add reference to
10820 gdb.cp/ena-dis-br-range.exp.
10821 * gdb.cp/ena-dis-br-range.exp: New file.
10822 * gdb.cp/ena-dis-br-range.cc: New file.
10823
46f67f80
PA
108242017-11-06 Pedro Alves <palves@redhat.com>
10825
10826 * gdb.base/attach-non-pgrp-leader.c: New.
10827 * gdb.base/attach-non-pgrp-leader.exp: New.
10828
726e1356
PA
108292017-11-06 Pedro Alves <palves@redhat.com>
10830
10831 * configure.ac: No longer check for termio.h and sgtty.h.
10832 * configure: Regenerate.
10833 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10834 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10835 Remove termio and sgtty code.
10836
50ab6ace
YQ
108372017-11-03 Yao Qi <yao.qi@linaro.org>
10838
10839 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10840 in GDB is disabled.
10841
8e68731c
YQ
108422017-11-03 Yao Qi <yao.qi@linaro.org>
10843
10844 * gdb.python/py-thrhandle.exp: Skip it if python is not
10845 enabled.
10846
3a87ae65
SM
108472017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10848
10849 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10850 as a breakpoint command.
10851
484d8d36
MD
108522017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10853
10854 PR python/21213
10855 * gdb.python/py-infthread.exp: Test calling
10856 InferiorThread.inferior () multiple times in a row.
10857
4a27f119
KS
108582017-10-27 Keith Seitz <keiths@redhat.com>
10859
10860 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10861 Test "info break" for every inlined function breakpoint.
10862
bb11dd58
YQ
108632017-10-27 Yao Qi <yao.qi@linaro.org>
10864
10865 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10866
a43f3893
PF
108672017-10-26 Patrick Frants <osscontribute@gmail.com>
10868
10869 * gdb.cp/classes.exp (test_static_members): Test printing
10870 Outer::instance.
10871 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10872 (Inner::instance, Outer::instance): New.
10873
792ccf00
PA
108742017-10-24 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10877 extra console" test in two stages.
10878
eb2bfbad
PA
108792017-10-24 Pedro Alves <palves@redhat.com>
10880
10881 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10882
1f75a651
PA
108832017-10-24 Pedro Alves <palves@redhat.com>
10884
10885 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10886 loop.
10887
779990d9
PA
108882017-10-24 Pedro Alves <palves@redhat.com>
10889
10890 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10891 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10892
ad9b8f5d
PA
108932017-10-24 Pedro Alves <palves@redhat.com>
10894
10895 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10896 parameter and handle it. Don't output read value in test name.
10897
fee6da6e
PA
108982017-10-24 Pedro Alves <palves@redhat.com>
10899
10900 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10901 custom test name.
10902
10389c2c
PA
109032017-10-24 Pedro Alves <palves@redhat.com>
10904
10905 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10906 include the unstable output directory name in the test's name.
10907 (initial_setup_simple) <'set args'>: Use custom test name.
10908
a80e65a9
PA
109092017-10-24 Pedro Alves <palves@redhat.com>
10910
10911 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10912 with explicit test name.
10913
15763a09
PA
109142017-10-20 Pedro Alves <palves@redhat.com>
10915
10916 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10917 'wait -i'. Use gdb_assert and remote_close.
10918
49a4ce2e
AB
109192017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10920
10921 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10922 number from variable rather than hard-coded.
10923
a75868f5
PA
109242017-10-19 Pedro Alves <palves@redhat.com>
10925
10926 * gdb.base/long-inferior-output.c: New file.
10927 * gdb.base/long-inferior-output.exp: New file.
10928
c8ba13ad
KS
109292017-11-18 Keith Seitz <keiths@redhat.com>
10930
10931 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10932 method.
10933 (main): Call it.
10934 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10935 Add additional user-defined conversion operator tests.
10936
b27de576
PA
109372017-10-17 Pedro Alves <palves@redhat.com>
10938
10939 * boards/native-stdio-gdbserver.exp: Load "local-board".
10940
8484c955
PA
109412017-10-17 Pedro Alves <palves@redhat.com>
10942
10943 * gdb.base/quit-live.c: New file.
10944 * gdb.base/quit-live.exp: New file.
10945
83d5a34d
KS
109462017-10-16 Keith Seitz <keiths@redhat.com>
10947
10948 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10949 (class_with_protected_typedef, class_with_private_typedef)
10950 (struct_with_public_typedef, struct_with_protected_typedef)
10951 (struct_with_private_typedef): New classes/structs.
10952 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10953 typedefs and access specifiers.
10954
739b3f1d
PA
109552017-10-16 Pedro Alves <palves@redhat.com>
10956 Simon Marchi <simon.marchi@polymtl.ca>
10957
10958 * README (Local vs Remote vs Native): New section.
10959 * boards/local-board.exp: New file, with bits factored out from
10960 ...
10961 * boards/native-extended-gdbserver.exp: ... here. Load
10962 "local-board".
10963 * boards/native-gdbserver.exp: Load "local-board".
10964 (${board}_spawn, ${board}_exec): Delete.
10965 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10966 ...
10967 * boards/stdio-gdbserver-base.exp: ... this new file.
10968 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10969 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10970 procedure.
10971 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10972 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10973 stdio_gdbserver_command.
10974 (${board}_get_remote_address, ${board}_get_comm_port)
10975 (${board}_download, ${board}_upload): Delete.
10976 (get_target_remote_pipe_cmd): New.
10977
fe68b953
SM
109782017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10979
10980 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10981 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10982 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10983 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10984 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10985 remove with_test_prefix.
10986
300b6685
PA
109872017-10-13 Pedro Alves <palves@redhat.com>
10988
10989 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10990 * gdb.base/annota1.exp: Use it instead of is_remote.
10991 * gdb.base/annota3.exp: Use it instead of is_remote.
10992 * gdb.cp/annota2.exp: Use it instead of is_remote.
10993 * gdb.cp/annota3.exp: Use it instead of is_remote.
10994 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10995
50500caf
PA
109962017-10-13 Pedro Alves <palves@redhat.com>
10997
10998 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10999 (test_num_test_vars, run_and_count_vars, find_env)
11000 (test_set_unset_env, test_inherit_env_var): New procedures.
11001 (top level): Use them.
11002
dad0c6d2
PA
110032017-10-13 Pedro Alves <palves@redhat.com>
11004
11005 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11006 also skip on stub-like targets.
11007
8b0553c1
PA
110082017-10-13 Pedro Alves <palves@redhat.com>
11009
11010 PR gdb/22293
11011 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11012 (top level): Move some tests to ...
11013 (test_not_found): ... this new procedure.
11014 (top level): Call it.
11015
7594f623
PA
110162017-10-13 Pedro Alves <palves@redhat.com>
11017
11018 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11019 expect different "info terminal" output if testing with a
11020 non-native target.
11021
ebe3b402
PA
110222017-10-13 Pedro Alves <palves@redhat.com>
11023 Simon Marchi <simon.marchi@polymtl.ca>
11024
11025 PR python/12966
11026 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11027
42f1b161
PA
110282017-10-13 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11031 already.
11032
8d6ef72b
PA
110332017-10-13 Pedro Alves <palves@redhat.com>
11034
11035 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11036 is_remote.
11037
d7bcd5b8
PA
110382017-10-13 Pedro Alves <palves@redhat.com>
11039
11040 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11041 is_remote.
11042
df479dc6
PA
110432017-10-13 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11046 is set.
11047 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11048 instead of is_remote.
11049
23fb630a
PA
110502017-10-13 Pedro Alves <palves@redhat.com>
11051
11052 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11053 (top level): Add comment.
11054
cc77b1dc
PA
110552017-10-13 Pedro Alves <palves@redhat.com>
11056
11057 * gdb.base/remote.exp (top level): Fix comment typo and add
11058 missing return.
11059
27c9e813
PA
110602017-10-13 Pedro Alves <palves@redhat.com>
11061 Simon Marchi <simon.marchi@polymtl.ca>
11062
11063 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11064 calls and add comments. Skip test if use_gdb_stub is set.
11065 (top level): Use "set cwd" command instead of "cd" command.
11066
5e830d98
PA
110672017-10-13 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11070 is_remote target check.
11071
f5ca0032
PA
110722017-10-13 Pedro Alves <palves@redhat.com>
11073
11074 * gdb.base/scope.exp: Use build_executable + clean_restart +
11075 gdb_file_cmd instead of prepare_for_testing and no longer skip
11076 "before run" tests on is_remote target boards. Update comments.
11077 * boards/native-extended-gdbserver.exp
11078 (extended_gdbserver_load_last_file): New, factored out from ...
11079 (gdb_load): ... this. Move further below and add comment.
11080 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11081
8aed1c0d
PA
110822017-10-12 Pedro Alves <palves@redhat.com>
11083
11084 * gdb.base/attach.exp: Remove references to gdb64.
11085 * gdb.base/dbx.exp: Remove references to gdb64.
11086
cfa34c87
SM
110872017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11088 Pedro Alves <palves@redhat.com>
11089
11090 * gdb.base/label.exp: Remove is_remote target check.
11091
9192b7de
PA
110922017-10-12 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.base/auvx.exp (coredir): Update comment.
11095 (top level) <core_works>: Use "set cwd" command instead of "cd"
11096 command.
11097
6bf0052d
PA
110982017-10-12 Pedro Alves <palves@redhat.com>
11099 Simon Marchi <simon.marchi@polymtl.ca>
11100
11101 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11102 target boards.
11103
e48ef82d
PA
111042017-10-12 Pedro Alves <palves@redhat.com>
11105 Simon Marchi <simon.marchi@polymtl.ca>
11106
11107 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11108 Instead skip if there's any gdb_protocol set.
11109
8d7aea57
SM
111102017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11111 Pedro Alves <palves@redhat.com>
11112
11113 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11114
30440677
PA
111152017-10-12 Pedro Alves <palves@redhat.com>
11116 Simon Marchi <simon.marchi@polymtl.ca>
11117
11118 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11119 instead of on dejagnu remote boards.
11120
4e04f045 111212017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11122 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11123
11124 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11125 checks. Use build_executable + clean_restart instead of
11126 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11127 of enabling non-stop after starting gdb.
11128
871a186e
PA
111292017-10-12 Pedro Alves <palves@redhat.com>
11130
11131 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11132 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11133 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11134 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11135
56d704da
AK
111362017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11137
11138 * gdb.arch/arc-tdesc-cpu.exp: New file.
11139 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11140
2f20e312
SM
111412017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11142
11143 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11144
65630365
PA
111452017-10-10 Pedro Alves <palves@redhat.com>
11146
11147 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11148 expect CLI output.
11149
bf469271
PA
111502017-10-10 Pedro Alves <palves@redhat.com>
11151
11152 * lib/selftest-support.exp (selftest_setup): Update for
11153 captured_command_loop's prototype change.
11154
777a42f1
PA
111552017-10-09 Pedro Alves <palves@redhat.com>
11156
11157 Test both arch1=>arch2 and arch2=>arch1.
11158
11159 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11160 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11161 factored out to...
11162 (append_arch1_options, append_arch2_options, append_arch_options)
11163 (build_executables): New procedures.
11164 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11165 local.
11166 (top level): Add new 'first_arch' testing axis.
11167
cbd2b4e3
PA
111682017-10-09 Pedro Alves <palves@redhat.com>
11169
11170 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11171 (barrier): New.
11172 (thread_start, all_started): New functions.
11173 (main): Spawn new thread and wait until it is scheduled.
11174 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11175 option.
11176 (do_test): Add 'selected_thread' parameter. Run to all_started
11177 instead of main. Explicitly set the breakpoint at main. Switch
11178 to the SELECTED_THREAD thread.
11179 (top level): Test handling the exec event with either the main
11180 thread or the second thread selected.
11181
5c9e4427
PA
111822017-10-09 Pedro Alves <palves@redhat.com>
11183
11184 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11185 logic. Move STOP marker after the value checks.
11186 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11187 regexp.
11188
b3b7c423
SL
111892017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11190
11191 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11192
3b4b2f16
UW
111932017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11194
11195 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11196 integer-to-dfp conversion.
11197 * gdb.base/dfp-test.exp: Likewise.
11198
5cd63fda
PA
111992017-10-04 Pedro Alves <palves@redhat.com>
11200
11201 * gdb.multi/hangout.c: Include <unistd.h>.
11202 (hangout_loop): New function.
11203 (main): Call alarm. Call hangout_loop in a loop.
11204 * gdb.multi/hello.c: Include <unistd.h>.
11205 (hello_loop): New function.
11206 (main): Call alarm. Call hangout_loop in a loop.
11207 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11208 inferior with the other selected.
11209
4c71c105
SM
112102017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11211
11212 * gdb.mi/list-thread-groups-available.exp: New file.
11213 * gdb.mi/list-thread-groups-available.c: New file.
11214
bc3b087d
SDJ
112152017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11216
11217 * gdb.base/set-cwd.exp: Make it available on
11218 native-extended-gdbserver.
11219
d092c5a2
SDJ
112202017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11221
11222 * gdb.base/set-cwd.c: New file.
11223 * gdb.base/set-cwd.exp: Likewise.
11224
45320ffa
TT
112252017-10-02 Tom Tromey <tom@tromey.com>
11226
11227 PR rust/22236:
11228 * gdb.rust/simple.rs (main): New variable "fslice".
11229 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11230
b3e3859b
TT
112312017-10-02 Tom Tromey <tom@tromey.com>
11232
11233 * gdb.rust/simple.exp: Test ptype of a slice.
11234
01af5e0d
TT
112352017-10-02 Tom Tromey <tom@tromey.com>
11236
11237 * gdb.rust/simple.exp: Test index of slice.
11238
a9bbfbd8
TT
112392017-09-27 Tom Tromey <tom@tromey.com>
11240
11241 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11242
df8899e5
TP
112432017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11244 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.base/compare-sections.exp (get value of read-only section): Read
11247 as unsigned value.
11248 (corrupt read-only section): Likewise and don't set written if patching
11249 failed.
11250
757bf54b
KB
112512017-09-21 Kevin Buettner <kevinb@redhat.com>
11252
11253 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11254 files.
11255
06871ae8
PA
112562017-09-20 Pedro Alves <palves@redhat.com>
11257
11258 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11259 symbol names in gdb's output.
11260 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11261
e5f25bc5
PA
112622017-09-20 Pedro Alves <palves@redhat.com>
11263
11264 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11265 Rename to ...
11266 (test_list_ambiguous_symbol): ... this and add a symbol name
11267 parameter. Adjust.
11268 (test_list_ambiguous_function): Reimplement on top of
11269 test_list_ambiguous_symbol and also test listing ambiguous
11270 variables.
11271 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11272 (ambiguous_fun): ... this.
11273 (ambiguous_var): New.
11274 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11275 (ambiguous_fun): ... this.
11276 (ambiguous_var): New.
11277
4e5a4f58
JB
112782017-09-19 John Baldwin <jhb@FreeBSD.org>
11279
11280 * gdb.base/starti.c: New file.
11281 * gdb.base/starti.exp: New file.
11282 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11283
26e53f3e
PA
112842017-09-14 Pedro Alves <palves@redhat.com>
11285
11286 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11287 (top level): Use it instead of runto.
11288
cb791d59
TT
112892017-09-11 Tom Tromey <tom@tromey.com>
11290
11291 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11292
7c96f8c1
TT
112932017-09-11 Tom Tromey <tom@tromey.com>
11294
11295 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11296 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11297
469412dd
CW
112982017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11299
11300 * gdb.fortran/printing-types.exp: New file.
11301 * gdb.fortran/printing-types.exp: New file.
11302
e0f86435
BH
113032017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11304
11305 * gdb.fortran/vla-ptype.exp: Fix typos.
11306 * gdb.fortran/vla-value.exp: Same.
11307
9e9af4be
BH
113082017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11309
11310 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11311 * gdb.mi/mi-var-child-f.exp: Likewise.
11312 * gdb.mi/mi-vla-fortran.exp: Likewise.
11313
a5ad232b 113142017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11315 Christoph Weinmann <christoph.t.weinmann@intel.com>
11316 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11317
11318 * gdb.fortran/ptr-indentation.f90: New file.
11319 * gdb.fortran/ptr-indentation.exp: New file.
11320
5aec60eb
TT
113212017-09-05 Tom Tromey <tom@tromey.com>
11322
11323 PR gdb/22010:
11324 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11325
8f8f8152
TP
113262017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11327
11328 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11329
fbd1b771
JK
113302017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11331
11332 * gdb.threads/tls-nodebug-pie.c: New file.
11333 * gdb.threads/tls-nodebug-pie.exp: New file.
11334
5eb5f850
TT
113352017-09-05 Tom Tromey <tom@tromey.com>
11336
11337 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11338 for rust.
11339
ae780a21
SM
113402017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11341
11342 * gdb.multi/multi-arch-exec.exp: Test with different
11343 "follow-exec-mode" settings.
11344 (do_test): New procedure.
11345
3693fdb3
PA
113462017-09-04 Pedro Alves <palves@redhat.com>
11347
11348 * gdb.base/func-static.c (S::method const, S::method volatile)
11349 (S::method volatile const): New methods.
11350 (c_s, v_s, cv_s): New instances.
11351 (main): Call method() on them.
11352 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11353 (cannot_resolve): New procedure.
11354 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11355 print-quote-unquoted columns.
11356 (do_test): Test printing each scope too.
11357
e68cb8e0
PA
113582017-09-04 Pedro Alves <palves@redhat.com>
11359
11360 * gdb.base/local-static.exp: Also test with
11361 class::method::variable wholly quoted.
11362 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11363
858be34c
PA
113642017-09-04 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.base/local-static.c: New.
11367 * gdb.base/local-static.cc: New.
11368 * gdb.base/local-static.exp: New.
11369
46a4882b
PA
113702017-09-04 Pedro Alves <palves@redhat.com>
11371
11372 * gdb.asm/asm-source.exp: Add casts to int.
11373 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11374 (dataglobal64_1, dataglobal64_2): New globals.
11375 * gdb.base/nodebug.exp: Test different expressions involving the
11376 new globals, with print, whatis and ptype. Add casts to int.
11377 * gdb.base/solib-display.exp: Add casts to int.
11378 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11379 * gdb.cp/m-static.exp: Add cast to int.
11380 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11381 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11382 tls variable with no debug info without a cast. Test with a cast
11383 to int too.
11384 * gdb.trace/entry-values.exp: Add casts.
11385
2c5a2be1
PA
113862017-09-04 Pedro Alves <palves@redhat.com>
11387
11388 * gdb.base/nodebug.exp: Test that ptype's error about functions
11389 with unknown return type includes the function name too.
11390
7022349d
PA
113912017-09-04 Pedro Alves <palves@redhat.com>
11392
11393 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11394 return type of munmap in infcall.
11395 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11396 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11397 type of ftell in infcall.
11398 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11399 type of getpid in infcall.
11400 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11401 infcall.
11402 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11403 Bail on failure to extract the pid.
11404 * gdb.base/nodebug.c: #include <stdint.h>.
11405 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11406 New functions.
11407 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11408 Change expected output of print/whatis/ptype with functions with
11409 no debug info. Test all supported languages. Call
11410 test_call_promotion.
11411 * gdb.compile/compile.exp: Adjust expected output to expect
11412 warning.
11413 * gdb.threads/siginfo-threads.exp: Likewise.
11414
54990598
PA
114152017-09-04 Pedro Alves <palves@redhat.com>
11416
11417 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11418 "prototypes". Test calling float functions via prototyped and
11419 unprototyped function pointers.
11420 (perform_all_tests): New parameter "prototypes". Pass it down.
11421 (top level): Pass down "prototypes" parameter to
11422 perform_all_tests.
11423
34d16ea2
SM
114242017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11425
11426 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11427 Test with nested loops.
11428
9521ecda
SM
114292017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11430
11431 * gdb.base/commands.exp: Call the new procedures.
11432 (loop_break_test, loop_continue_test): New procedures.
11433
80a65e9b
SM
114342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11435
11436 * gdb.base/commands.exp: Call new procedure.
11437 (define_if_without_arg_test): New procedure.
11438
e439fa14
PA
114392017-09-04 Pedro Alves <palves@redhat.com>
11440
11441 * gdb.base/list-ambiguous.exp: New file.
11442 * gdb.base/list-ambiguous0.c: New file.
11443 * gdb.base/list-ambiguous1.c: New file.
11444 * gdb.base/list.exp (test_list_range): Adjust expected output.
11445
0a2dde4a
SDJ
114462017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11447
11448 * gdb.base/share-env-with-gdbserver.c: New file.
11449 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11450
5e89eb3a
SM
114512017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11452
11453 * gdb.base/commands.exp (gdbvar_simple_if_test,
11454 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11455 progvar_simple_if_test, progvar_simple_while_test,
11456 progvar_complex_if_while_test, user_defined_command_test,
11457 user_defined_command_args_eval,
11458 user_defined_command_args_stack_test,
11459 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11460 temporary_breakpoint_commands,
11461 gdb_test_no_prompt, redefine_hook_test,
11462 redefine_backtrace_test): Remove "global gdb_prompt".
11463
fd437cbc
SM
114642017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11465
11466 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11467 New proc, call it from toplevel.
11468
87215ad1
SDJ
114692017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11470
11471 PR remote/21852
11472 * gdb.server/normal.c: New file, copied from gdb.base.
11473 * gdb.server/run-without-local-binary.exp: New file.
11474
58afddc6
WP
114752017-08-07 Weimin Pan <weimin.pan@oracle.com>
11476
11477 * gdb.arch/sparc64-adi.exp: New file.
11478 * gdb.arch/sparc64-adi.c: New file.
11479
5277199a
PA
114802017-08-22 Pedro Alves <palves@redhat.com>
11481
11482 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11483 (top level): Add "list all overloads" tests.
11484
14278e1f
TT
114852017-08-22 Tom Tromey <tom@tromey.com>
11486
11487 * gdb.gdb/xfullpath.exp: Remove.
11488
bf223d3e
PA
114892017-08-21 Pedro Alves <palves@redhat.com>
11490
11491 PR gdb/19487
11492 * gdb.base/symbol-alias.c: New.
11493 * gdb.base/symbol-alias2.c: New.
11494 * gdb.base/symbol-alias.exp: New.
11495
c973d0aa
PA
114962017-08-21 Pedro Alves <palves@redhat.com>
11497
11498 * gdb.base/dfp-test.c
11499 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11500 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11501 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11502 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11503 * gdb.base/whatis-ptype-typedefs.c: New.
11504 * gdb.base/whatis-ptype-typedefs.exp: New.
11505 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11506 (an_int, an_int_type, an_int_type2): New globals.
11507 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11508 involving typedefs and cast expressions.
11509 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11510 (lookup_typedefs_function): New.
11511 (typedefs_pretty_printers_dict): New.
11512 (top level): Register lookup_typedefs_function in
11513 gdb.pretty_printers.
11514
6d580b63
YQ
115152017-08-18 Yao Qi <yao.qi@linaro.org>
11516
11517 * gdb.server/unittest.exp: New.
11518
206726fb
SDJ
115192017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11520
11521 PR gdb/21954
11522 * gdb.base/environ.exp: Add test to check if 'unset environment'
11523 works.
11524
bf0ec4c2
AA
115252017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11526
11527 * lib/gdb.exp (universal_compile_options): New caching proc.
11528 (gdb_compile): Suppress GCC's coloring of messages.
11529
d6382fff
TT
115302017-08-14 Tom Tromey <tom@tromey.com>
11531
11532 PR gdb/21675:
11533 * gdb.base/printcmds.exp (test_radices): New function.
11534 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11535 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11536 * lib/gdb.exp (get_integer_valueof): Use p/d.
11537
c2c2dd9f
SM
115382017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11539
11540 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11541 characters.
11542
fdffd6f4
TT
115432017-08-05 Tom Tromey <tom@tromey.com>
11544
11545 * gdb.rust/simple.exp: Allow String to appear in a different
11546 namespace.
11547
27d41eac
YQ
115482017-07-26 Yao Qi <yao.qi@linaro.org>
11549
11550 * gdb.gdb/unittest.exp: Invoke command
11551 "maintenance check xml-descriptions".
11552
031ed05d
AA
115532017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11554
11555 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11556 calling context.
11557 (hex128): Drop erroneous calculation of parameters.
11558
dcd27ddf
SM
115592017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11560
11561 * gdb.python/py-unwind.exp: Disable stack protection when
11562 building test file.
11563
47e77640
PA
115642017-07-20 Pedro Alves <palves@redhat.com>
11565
11566 * gdb.base/default.exp (set language): Adjust expected output.
11567
62d2a18a
PA
115682017-07-20 Pedro Alves <palves@redhat.com>
11569
11570 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11571 (test_minsym): ... this, and make static.
11572 (get_pck__foo__bar__minsym): Rename to ...
11573 (get_test_minsym): ... this.
11574 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11575 symbol names and comments.
11576 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11577 (get_test_minsym): ... this.
11578 (pck__foo__bar__minsym__2): Rename to ...
11579 (test_minsym): ... this.
11580 (main): Adjust.
11581
c45ec17c
PA
115822017-07-17 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.base/completion.exp: Adjust expected output.
11585 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11586 the completer works.
11587
c6756f62
PA
115882017-07-17 Pedro Alves <palves@redhat.com>
11589
11590 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11591
5bd68487
AB
115922017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11593
11594 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11595
8880f2a9
TT
115962017-07-14 Tom Tromey <tom@tromey.com>
11597
11598 PR rust/21764:
11599 * gdb.rust/simple.exp: Add tests.
11600
65547233
TT
116012017-07-14 Tom Tromey <tom@tromey.com>
11602
11603 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11604
8f14146e
PA
116052017-07-14 Pedro Alves <palves@redhat.com>
11606
11607 * gdb.linespec/base/one/thefile.cc (z1): New function.
11608 * gdb.linespec/base/two/thefile.cc (z2): New function.
11609 * gdb.linespec/linespec.exp: Add tests.
11610
b4365d02
AB
116112017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11612
11613 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11614 to mi_create_breakpoint.
11615
5d2cbaa5
AB
116162017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11617
11618 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11619 mi_create_breakpoint.
11620
11cb5716
IB
116212017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11622
11623 * gdb.dlang/demangle.exp: Update for demangling changes.
11624
03278692
TT
116252017-07-09 Tom Tromey <tom@tromey.com>
11626
11627 * gdb.dwarf2/shortpiece.exp: New file.
11628
33c5cd75
DB
116292017-07-06 David Blaikie <dblaikie@gmail.com>
11630
11631 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11632 built from fissiont-multi-cu{1,2}.c.
11633 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11634 except putting 'main' and 'func' in separate CUs in the same DWO file.
11635 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11636 test.
11637 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11638 test.
11639
8455d262
PA
116402017-07-06 Pedro Alves <palves@redhat.com>
11641
11642 * gdb.python/py-unwind.exp: Test flushregs.
11643
dc4bde35
SDJ
116442017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11645
11646 PR cli/21688
11647 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11648 tests for alias commands and trailing whitespace.
11649
51ed89aa
SDJ
116502017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11651
11652 PR cli/21688
11653 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11654 procedure. Call it.
11655
eb17d413
PA
116562017-06-29 Pedro Alves <palves@redhat.com>
11657
11658 * gdb.base/printcmds.exp: Add tests.
11659
41664b45
DG
116602017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11661
11662 PR gdb/21337
11663 * gdb.base/reread-readsym.exp: New file.
11664 * gdb.base/reread-readsym.c: New file.
11665
75312ae3
KB
116662017-06-21 Kevin Buettner <kevinb@redhat.com>
11667
11668 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11669 subpattern.
11670
66953522
PB
116712017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11672
11673 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11674 extended mnemonic.
11675 * gdb.arch/powerpc-power9.s: Likewise.
11676
5524b525
AA
116772017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11678
11679 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11680 on 32-bit x86 targets. Exploit is_*_target macros where
11681 appropriate.
11682
03c8af18
AA
116832017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11684
11685 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11686 register pieces.
11687
3bf31011
AA
116882017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11689
11690 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11691 located in one or more DWARF pieces.
11692
805acca0
AA
116932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11694
11695 * lib/gdb.exp (get_endianness): New proc.
11696 * gdb.arch/aarch64-fp.exp: Use it.
11697 * gdb.arch/altivec-regs.exp: Likewise.
11698 * gdb.arch/e500-regs.exp: Likewise.
11699 * gdb.arch/vsx-regs.exp: Likewise.
11700 * gdb.base/dump.exp: Likewise.
11701 * gdb.base/funcargs.exp: Likewise.
11702 * gdb.base/gnu_vector.exp: Likewise.
11703 * gdb.dwarf2/formdata16.exp: Likewise.
11704 * gdb.dwarf2/implptrpiece.exp: Likewise.
11705 * gdb.dwarf2/nonvar-access.exp: Likewise.
11706 * gdb.python/py-inferior.exp: Likewise.
11707 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11708
e9352324
AA
117092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11710
11711 PR gdb/21226
11712 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11713 stack value pieces are taken from the LSB end.
11714
d5d1163e
AA
117152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11716
11717 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11718 variable at nonzero offset.
11719
0567c986
AA
117202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11721
11722 * gdb.dwarf2/var-access.c: New file.
11723 * gdb.dwarf2/var-access.exp: New test.
11724 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11725
973e9aab
TT
117262017-06-12 Tom Tromey <tom@tromey.com>
11727
11728 * gdb.dwarf2/formdata16.exp: Add tests.
11729
d9109c80
TT
117302017-06-12 Tom Tromey <tom@tromey.com>
11731
11732 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11733
30a25466
TT
117342017-06-12 Tom Tromey <tom@tromey.com>
11735
11736 PR exp/16225:
11737 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11738 * gdb.arch/vsx-regs.exp: Update tests.
11739 * gdb.arch/s390-vregs.exp (hex128): New proc.
11740 Update test.
11741 * gdb.arch/altivec-regs.exp: Update tests.
11742
aefd8b33
SDJ
117432017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11744
11745 * gdb.base/startup-with-shell.c: New file.
11746 * gdb.base/startup-with-shell.exp: Likewise.
11747
2090129c
SDJ
117482017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11749
11750 * gdb.server/non-existing-program.exp: Update regex in order to
11751 reflect the fact that gdbserver is now using fork_inferior (with a
11752 shell) to startup the inferior.
11753
8e86a419
SM
117542017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11755
11756 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11757 support function calls from GDB.
11758
e6cf65f2
TT
117592017-05-21 Tom Tromey <tom@tromey.com>
11760
11761 PR rust/21466:
11762 * gdb.rust/unsized.exp: New file.
11763 * gdb.rust/unsized.rs: New file.
11764
43cc5389
TT
117652017-05-19 Tom Tromey <tom@tromey.com>
11766
11767 PR rust/21484:
11768 * gdb.rust/watch.exp: New file.
11769 * gdb.rust/watch.rs: New file.
11770
ec8df234
TT
117712017-05-18 Tom Tromey <tom@tromey.com>
11772
11773 * gdb.rust/simple.exp: Allow Box to be qualified.
11774
3e3e7fae
TP
117752017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11776
11777 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11778
59cc050d
PA
117792017-05-18 Pedro Alves <palves@redhat.com>
11780
11781 * gdb.base/fileio.c (test_write, test_read, test_close)
11782 (test_fstat): Don't print 'ret' in the fail path.
11783
c8f6abd1
PA
117842017-05-18 Pedro Alves <palves@redhat.com>
11785
11786 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11787 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11788 (test_system, test_rename, test_unlink, test_time): Change
11789 prototypes.
11790 * gdb.base/fileio.exp (stop_msg): Adjust.
11791
d2a03b77
PA
117922017-05-18 Pedro Alves <palves@redhat.com>
11793
11794 * gdb.base/fileio.c (null_str): New global.
11795 (test_stat): Use it.
11796 * gdb.base/fileio.exp: Remove nowarnings.
11797
0d5c6999
YQ
117982017-05-17 Yao Qi <yao.qi@linaro.org>
11799
11800 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11801
21873064
YQ
118022017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11803
11804 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11805 argument command.
11806 (top-level): Invoke test_set_inferior_tty.
11807
d512d31c
PA
118082017-05-04 Pedro Alves <palves@redhat.com>
11809
11810 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11811 Add parens to print call for Python 3.
11812
90cef2ed
KS
118132017-05-03 Keith Seitz <keiths@redhat.com>
11814
11815 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11816 (main): Call it.
11817
14f819c8
TW
118182017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11819
11820 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11821 to prev and next.
11822
913aeadd
TW
118232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11824
11825 * gdb.python/py-record-btrace.exp: Remove test for
11826 gdb.BtraceInstruction.error.
11827
a3be24ad
TW
118282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11829
11830 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11831
ae20e79a
TW
118322017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11833
11834 * gdb.python/py-record-btrace-threads.c: New file.
11835 * gdb.python/py-record-btrace-threads.exp: New file.
11836
45ce1b47
SDJ
118372017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11838
11839 PR testsuite/8595
11840 * gdb.base/environ.exp: Make test available in all architectures.
11841 Move bits related to "info program" testing to
11842 gdb.base/info-program.exp. Rewrite tests to use the two new
11843 procedures mentione below.
11844 (test_set_show_env_var) New procedure.
11845 (test_set_show_env_var_equal): Likewise.
11846 * gdb.base/info-program.exp: New file.
11847
e15c3eb4
KS
118482017-04-27 Keith Seitz <keiths@redhat.com>
11849
11850 * gdb.cp/oranking.cc (test15): New function.
11851 (main): Call test15 and declare additional variables for testing.
11852 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11853 "p foo101('abc')" tests.
11854 Add tests for cv qualifier overloads.
11855 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11856 "lvalue reference overload" test.
11857 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11858 "print value of f1 on Child&& in f2" test.
11859
3a3fd0fd
PA
118602017-04-19 Pedro Alves <palves@redhat.com>
11861
11862 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11863 procedure.
11864 (top level): Call it.
11865 * lib/gdb.exp (gdb_define_cmd): New procedure.
11866
53375380
PA
118672017-04-12 Pedro Alves <palves@redhat.com>
11868
11869 PR gdb/21323
11870 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11871 (wchar): New global.
11872 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11873 (do_test_wide_char, wide_char_types_no_program, top level): Add
11874 wchar_t testing.
11875
53e710ac
PA
118762017-04-12 Pedro Alves <palves@redhat.com>
11877
11878 PR c++/21323
11879 * gdb.cp/wide_char_types.c: New file.
11880 * gdb.cp/wide_char_types.exp: New file.
11881
0ad9d8c7
SDJ
118822017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11883
11884 PR gdb/21352
11885 * gdb.trace/tsv.exp: Add test for "tsave -r".
11886
b1b45502
IB
118872017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11888
11889 * gdb.dlang/watch-loc.c: New file.
11890 * gdb.dlang/watch-loc.exp: New file.
11891
ec13808e
JK
118922017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11893
11894 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11895
fe5f7374
AK
118962017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11897
11898 * gdb.arch/arc-analyze-prologue.S: New file.
11899 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11900
eea78757
AK
119012017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11902
11903 * gdb.arch/arc-decode-insn.S: New file.
11904 * gdb.arch/arc-decode-insn.exp: Likewise.
11905
5badf10a
IR
119062017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11907
11908 PR tdep/20928
11909 * gdb.arch/sparc64-regs.exp: New file.
11910 * gdb.arch/sparc64-regs.S: Likewise.
11911
cee59b3f
TW
119122017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11913
11914 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11915 and memory view on Python 3.
11916
c0f55cc6
AV
119172017-03-20 Artemiy Volkov <artemiyv@acm.org>
11918 Keith Seitz <keiths@redhat.com>
11919
11920 PR gdb/14441
11921 * gdb.cp/demangle.exp: Add rvalue reference tests.
11922 * gdb.cp/rvalue-ref-casts.cc: New file.
11923 * gdb.cp/rvalue-ref-casts.exp: New file.
11924 * gdb.cp/rvalue-ref-overload.cc: New file.
11925 * gdb.cp/rvalue-ref-overload.exp: New file.
11926 * gdb.cp/rvalue-ref-params.cc: New file.
11927 * gdb.cp/rvalue-ref-params.exp: New file.
11928 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11929 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11930 * gdb.cp/rvalue-ref-types.cc: New file.
11931 * gdb.cp/rvalue-ref-types.exp: New file.
11932 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11933 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11934
51457a05
MAL
119352017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11936
11937 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11938 New procedure.
11939
5b291c04
MAL
119402017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11941
11942 * lib/mi-support.exp (mi_gdb_test): Add additional message
11943 for unexpected output.
11944
59a56148
AA
119452017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11946
11947 * gdb.base/examine-backward.c (Barrier): New character array
11948 constant, to ensure that TestStrings is preceded by a string
11949 terminator.
11950
7942e96e
AA
119512017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11952
11953 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11954 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11955 and implicit pointer into such a location.
11956
6ebac3fb
DE
119572017-03-16 Doug Evans <dje@google.com>
11958
11959 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11960
ec3b243d
TP
119612017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11962
11963 * gdb.cp/m-static.exp: Fix expectation for prototype of
11964 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11965
119662017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11967
11968 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11969 * gdb.guile/scm-lazy-string.c: New file.
11970 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11971 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11972 for pointer, array, typedef lazy strings.
11973
2cc36e25 119742017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11975
11976 PR python/17728, python/18439, python/18779
11977 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11978 * gdb.python/py-lazy-string.c (pointer): New typedef.
11979 (main): New locals ptr, array, typedef_ptr.
11980 * gdb.python/py-value.exp: Move lazy string tests to ...
11981 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11982 array, typedef lazy strings.
ec3b243d 11983
0efcde63
AK
119842017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11985
11986 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11987 Add optional 'test' parameter.
11988
7978d7c3
SM
119892017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11990
11991 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11992 Skip for versions of DejaGnu < 1.5.
11993
896c0c1e
SM
119942017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11995
11996 * lib/gdb.exp (dejagnu_version): New proc.
11997 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11998 Use dejagnu_version.
11999
5f4d1085
KS
120002017-03-10 Keith Seitz <keiths@redhat.com>
12001
12002 PR c++/8128
12003 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12004 type from destructor regexps.
12005 Add a branch which actually passes the test.
12006 Adjust "ptype t5i" test names.
12007
1de05205
PA
120082017-03-08 Pedro Alves <palves@redhat.com>
12009
12010 * gdb.base/step-over-exit.exp: Add explicit test message.
12011
c65d6b55
PA
120122017-03-08 Pedro Alves <palves@redhat.com>
12013
12014 PR gdb/18360
12015 * gdb.threads/interrupt-while-step-over.c: New file.
12016 * gdb.threads/interrupt-while-step-over.exp: New file.
12017
2e86a283
PA
120182017-03-08 Pedro Alves <palves@redhat.com>
12019
12020 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12021 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12022
25dcbff6
PA
120232017-03-08 Pedro Alves <palves@redhat.com>
12024
12025 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12026 PKRU as not supported as a PASS.
12027
dc9366eb
PA
120282017-03-08 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12031 prefix instead of $binfile1/$binfile2.
12032 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12033 in test message.
12034 * gdb.python/py-completion.exp: Use "load python file" as test
12035 messages instead of unstable path names.
12036
6e5d74e7
PA
120372017-03-08 Pedro Alves <palves@redhat.com>
12038 Jan Kratochvil <jan.kratochvil@redhat.com>
12039
12040 PR cli/21218
12041 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12042 New proc.
12043 (top level): Call it.
12044
9753a2f6
PA
120452017-03-08 Pedro Alves <palves@redhat.com>
12046
12047 PR tui/21216
12048 * gdb.tui/tui-nl-filtered-output.exp: New file.
12049
1a4dd9dd
PA
120502017-03-08 Pedro Alves <palves@redhat.com>
12051
12052 * gdb.base/completion.exp: Move TUI completion tests to ...
12053 * gdb.tui/completion.exp: ... this new file.
12054
7cbbff33
PA
120552017-03-08 Pedro Alves <palves@redhat.com>
12056
12057 * gdb.base/tui-disasm-long-lines.c,
12058 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12059 gdb.base/tui-layout.exp: Move to ...
12060 * gdb.tui/: ... this new directory.
12061
5f6fd321
PA
120622017-03-07 Pedro Alves <palves@redhat.com>
12063
12064 * gdb.base/tui-layout.c: New file.
12065 * gdb.base/tui-layout.exp: New file.
12066
44959fa8
PA
120672017-03-07 Pedro Alves <palves@redhat.com>
12068
12069 * gdb.base/tui-layout.c: Rename to ...
12070 * gdb.base/tui-disasm-long-lines.c: ... this.
12071 * gdb.base/tui-layout.exp: Rename to ...
12072 * gdb.base/tui-disasm-long-lines.exp: ... this.
12073
f8c4e718
PA
120742017-03-07 Pedro Alves <palves@redhat.com>
12075
12076 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12077
6dbb839a 120782017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12079
12080 * i386-mpx-call.c: New file.
12081 * i386-mpx-call.exp: New file.
12082
65b48a81
PB
120832017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12084
12085 * gdb.arch/powerpc-power.exp: Delete test.
12086 * gdb.arch/powerpc-power.s: Likewise.
12087 * gdb.disasm/disassembler-options.exp: New test.
12088 * gdb.arch/powerpc-altivec.exp: Likewise.
12089 * gdb.arch/powerpc-altivec.s: Likewise.
12090 * gdb.arch/powerpc-altivec2.exp: Likewise.
12091 * gdb.arch/powerpc-altivec2.s: Likewise.
12092 * gdb.arch/powerpc-altivec3.exp: Likewise.
12093 * gdb.arch/powerpc-altivec3.s: Likewise.
12094 * gdb.arch/powerpc-power7.exp: Likewise.
12095 * gdb.arch/powerpc-power7.s: Likewise.
12096 * gdb.arch/powerpc-power8.exp: Likewise.
12097 * gdb.arch/powerpc-power8.s: Likewise.
12098 * gdb.arch/powerpc-power9.exp: Likewise.
12099 * gdb.arch/powerpc-power9.s: Likewise.
12100 * gdb.arch/powerpc-vsx.exp: Likewise.
12101 * gdb.arch/powerpc-vsx.s: Likewise.
12102 * gdb.arch/powerpc-vsx2.exp: Likewise.
12103 * gdb.arch/powerpc-vsx2.s: Likewise.
12104 * gdb.arch/powerpc-vsx3.exp: Likewise.
12105 * gdb.arch/powerpc-vsx3.s: Likewise.
12106 * gdb.arch/arm-disassembler-options.exp: Likewise.
12107 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12108 * gdb.arch/s390-disassembler-options.exp: Likewise.
12109
17cd4947
LM
121102017-02-23 Luis Machado <lgustavo@codesourcery.com>
12111
12112 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12113 (check_supported_features): ... this. Changed return type to void.
12114 (supports_rdseed): New static global.
12115 (rdseed): Check supports_rdseed.
12116 (initialize): Call check_supported_features.
12117
2039d74e
EBM
121182017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12119
12120 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12121 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12122 and lqarx/stqcx.
12123 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12124 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12125
a51d7ecf
EBM
121262017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12127
12128 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12129 uppercase.
12130
0224619f
JK
121312017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12132
12133 * gdb.dwarf2/formdata16.c: New file.
12134 * gdb.dwarf2/formdata16.exp: New file.
12135 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12136
216f72a1
JK
121372017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12138
12139 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12140 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12141 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12142 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12143 DW_AT_GNU_*.
12144
43988095
JK
121452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12146
12147 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12148
99e8a4f9
SDJ
121492017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12150
12151 PR gdb/21164
12152 * gdb.base/maint.exp: Add testcases for when the commands do
12153 not have arguments.
12154
b58a8c0c
TP
121552017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12156
12157 * gdb.cp/chained-calls.exp: Use p instead of P.
12158
4e746bb6
TW
121592017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12160
12161 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12162 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12163
3f77c769
TT
121642017-02-14 Tom Tromey <tom@tromey.com>
12165
12166 PR python/13598:
12167 * gdb.python/py-events.exp: Add before_prompt event tests.
12168
075beec0
AA
121692017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12170
12171 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12172
bf5f525c
LM
121732017-02-13 Luis Machado <lgustavo@codesourcery.com>
12174
12175 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12176 (main): Call my_unique_function_name.
12177 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12178 completion of patterns with a single match.
12179 Add missing -re switches to gdb_test_multiple calls.
12180
13a66184
LM
121812017-02-13 Luis Machado <lgustavo@codesourcery.com>
12182
12183 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12184 return if core file is not recognized.
12185
26a06916
SM
121862017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12187
12188 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12189 and extra UIs.
12190
b761ca9e
SM
121912017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12192
12193 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12194 proc_with_prefix.
12195
b964bee0
TT
121962017-02-10 Tom Tromey <tom@tromey.com>
12197
12198 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12199
18da0c51
MG
122002017-02-10 Martin Galvan <martingalvan@sourceware.org>
12201
12202 PR gdb/21122
12203 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12204
604c4576
JG
122052017-02-08 Jerome Guitton <guitton@adacore.com>
12206
12207 * gdb.base/define.exp: Add test for command abbreviations
12208 in define.
12209
20b477a7
LM
122102017-02-06 Luis Machado <lgustavo@codesourcery.com>
12211
12212 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12213 * gdb.reverse/insn-reverse-x86.c: New file.
12214
3f7b46f2
IR
122152017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12216
12217 PR tdep/20936
12218 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12219
f0fd41c1
TT
122202017-02-03 Tom Tromey <tom@tromey.com>
12221
12222 PR rust/21097:
12223 * gdb.rust/simple.exp: Add new tests.
12224
5be5dbf0
PA
122252017-02-02 Pedro Alves <palves@redhat.com>
12226
12227 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12228 tests.
12229
7346ef59
AA
122302017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12231
12232 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12233 taking a 2-byte value out of a 4-byte DWARF implicit value on
12234 big-endian targets.
12235 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12236 logic. Add test cases for DW_OP_implicit.
12237
787f0025
MM
122382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12239
12240 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12241
68777c29
MM
122422017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12243
12244 * gdb.btrace/enable.exp: Call gdb_exit before
12245 skip_gdbserver_tests.
12246
0a1c7e28
MM
122472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12248
12249 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12250 GDBFLAGS.
12251
b5ac99b0
MM
122522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12253
12254 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12255 the test is skipped.
12256 * gdb.btrace/data.exp: Likewise.
12257 * gdb.btrace/delta.exp: Likewise.
12258 * gdb.btrace/dlopen.exp: Likewise.
12259 * gdb.btrace/enable-running.exp: Likewise.
12260 * gdb.btrace/enable.exp: Likewise.
12261 * gdb.btrace/exception.exp: Likewise.
12262 * gdb.btrace/function_call_history.exp: Likewise.
12263 * gdb.btrace/gcore.exp: Likewise.
12264 * gdb.btrace/instruction_history.exp: Likewise.
12265 * gdb.btrace/multi-thread-step.exp: Likewise.
12266 * gdb.btrace/nohist.exp: Likewise.
12267 * gdb.btrace/non-stop.exp: Likewise.
12268 * gdb.btrace/reconnect.exp: Likewise.
12269 * gdb.btrace/record_goto-step.exp: Likewise.
12270 * gdb.btrace/record_goto.exp: Likewise.
12271 * gdb.btrace/rn-dl-bind.exp: Likewise.
12272 * gdb.btrace/segv.exp: Likewise.
12273 * gdb.btrace/step.exp: Likewise.
12274 * gdb.btrace/stepi.exp: Likewise.
12275 * gdb.btrace/tailcall-only.exp: Likewise.
12276 * gdb.btrace/tailcall.exp: Likewise.
12277 * gdb.btrace/tsx.exp: Likewise.
12278 * gdb.btrace/unknown_functions.exp: Likewise.
12279 * gdb.btrace/vdso.exp: Likewise.
12280
cd4007e4
MM
122812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12282
12283 * gdb.btrace/enable-running.c: New.
12284 * gdb.btrace/enable-running.exp: New.
12285
2735833d
WT
122862017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12287
12288 * gdb.arch/amd64-gs_base.c: New file.
12289 * gdb.arch/amd64-gs_base.exp: New file.
12290
b51e1e94
LM
122912017-01-26 Luis Machado <lgustavo@codesourcery.com>
12292
12293 * lib/memory.exp: Remove spurious empty newlines.
12294
72ca0410
SM
122952017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12296
12297 * gdb.python/py-bad-printers.exp: Load python file using "source".
12298 * gdb.python/py-events.exp: Likewise.
12299 * gdb.python/py-evsignal.exp: Likewise.
12300 * gdb.python/py-evthreads.exp: Likewise.
12301 * gdb.python/py-frame-args.exp: Likewise.
12302 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12303 * gdb.python/py-framefilter-mi.exp: Likewise.
12304 * gdb.python/py-framefilter.exp: Likewise.
12305 * gdb.python/py-mi.exp: Likewise.
12306 * gdb.python/py-pp-maint.exp: Likewise.
12307 * gdb.python/py-pp-registration.exp: Likewise.
12308 * gdb.python/py-prettyprint.exp: Likewise.
12309 (run_lang_tests): Likewise.
12310 * gdb.python/py-typeprint.exp: Likewise.
12311
e309aa65
LM
123122017-01-26 Luis Machado <lgustavo@codesourcery.com>
12313
12314 * lib/memory.exp: New file.
12315 * lib/gdb.exp: Load memory.exp.
12316 * gdb.base/memattr.exp (delete_memory): Move proc to
12317 lib/memory.exp and rename to delete_memory_regions.
12318 Replace delete_memory with delete_memory_regions.
12319 Cleanup memory regions before tests.
12320 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12321 before tests.
12322
515aff23
LM
123232017-01-26 Luis Machado <lgustavo@codesourcery.com>
12324
12325 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12326 files.
12327 (initialize): New function conditionally defined.
12328 (testcases): Move within conditional block.
12329 (main): Call initialize.
12330 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12331 of gdb.reverse/insn-reverse.c.
12332 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12333 gdb.reverse/insn-reverse.c.
12334
d8b49cf0
YQ
123352017-01-26 Yao Qi <yao.qi@linaro.org>
12336
12337 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12338 disassemble on address 0.
12339
f13a9a0c
YQ
123402017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12341 Yao Qi <yao.qi@linaro.org>
12342
12343 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12344 * gdb.dwarf2/implptr-64bit.S: Remove.
12345 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12346 variables in caller's context. Add DW_OP_implicit_value.
12347
5ac95241
YQ
123482017-01-25 Yao Qi <yao.qi@linaro.org>
12349
12350 * lib/dwarf.exp (Dwarf::_location): Handle
12351 DW_OP_GNU_implicit_pointer with proper size.
12352
23e82930
LM
123532017-01-20 Luis Machado <lgustavo@codesourcery.com>
12354
12355 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12356 and add untested calls.
12357
d334ae25
LM
123582017-01-20 Luis Machado <lgustavo@codesourcery.com>
12359
12360 * gdb.python/python.exp: Check line number against what GDB thinks
12361 the line number is for func1.
12362
f5e6296e
IB
123632017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12364
12365 * gdb.dlang/debug-expr.exp: New file.
12366
5b362f04
LM
123672016-12-23 Luis Machado <lgustavo@codesourcery.com>
12368
12369 Fix test names for the following files:
12370
12371 * gdb.ada/exec_changed.exp
12372 * gdb.ada/info_types.exp
12373 * gdb.arch/aarch64-atomic-inst.exp
12374 * gdb.arch/aarch64-fp.exp
12375 * gdb.arch/altivec-abi.exp
12376 * gdb.arch/altivec-regs.exp
12377 * gdb.arch/amd64-byte.exp
12378 * gdb.arch/amd64-disp-step.exp
12379 * gdb.arch/amd64-dword.exp
12380 * gdb.arch/amd64-entry-value-inline.exp
12381 * gdb.arch/amd64-entry-value-param.exp
12382 * gdb.arch/amd64-entry-value-paramref.exp
12383 * gdb.arch/amd64-entry-value.exp
12384 * gdb.arch/amd64-i386-address.exp
12385 * gdb.arch/amd64-invalid-stack-middle.exp
12386 * gdb.arch/amd64-invalid-stack-top.exp
12387 * gdb.arch/amd64-optimout-repeat.exp
12388 * gdb.arch/amd64-prologue-skip.exp
12389 * gdb.arch/amd64-prologue-xmm.exp
12390 * gdb.arch/amd64-stap-special-operands.exp
12391 * gdb.arch/amd64-stap-wrong-subexp.exp
12392 * gdb.arch/amd64-tailcall-cxx.exp
12393 * gdb.arch/amd64-tailcall-noret.exp
12394 * gdb.arch/amd64-tailcall-ret.exp
12395 * gdb.arch/amd64-tailcall-self.exp
12396 * gdb.arch/amd64-word.exp
12397 * gdb.arch/arm-bl-branch-dest.exp
12398 * gdb.arch/arm-disp-step.exp
12399 * gdb.arch/arm-neon.exp
12400 * gdb.arch/arm-single-step-kernel-helper.exp
12401 * gdb.arch/avr-flash-qualifier.exp
12402 * gdb.arch/disp-step-insn-reloc.exp
12403 * gdb.arch/e500-abi.exp
12404 * gdb.arch/e500-regs.exp
12405 * gdb.arch/ftrace-insn-reloc.exp
12406 * gdb.arch/i386-avx512.exp
12407 * gdb.arch/i386-bp_permanent.exp
12408 * gdb.arch/i386-byte.exp
12409 * gdb.arch/i386-cfi-notcurrent.exp
12410 * gdb.arch/i386-disp-step.exp
12411 * gdb.arch/i386-dr3-watch.exp
12412 * gdb.arch/i386-float.exp
12413 * gdb.arch/i386-gnu-cfi.exp
12414 * gdb.arch/i386-mpx-map.exp
12415 * gdb.arch/i386-mpx-sigsegv.exp
12416 * gdb.arch/i386-mpx-simple_segv.exp
12417 * gdb.arch/i386-mpx.exp
12418 * gdb.arch/i386-permbkpt.exp
12419 * gdb.arch/i386-prologue.exp
12420 * gdb.arch/i386-signal.exp
12421 * gdb.arch/i386-size-overlap.exp
12422 * gdb.arch/i386-unwind.exp
12423 * gdb.arch/i386-word.exp
12424 * gdb.arch/mips-fcr.exp
12425 * gdb.arch/powerpc-d128-regs.exp
12426 * gdb.arch/powerpc-stackless.exp
12427 * gdb.arch/ppc64-atomic-inst.exp
12428 * gdb.arch/s390-stackless.exp
12429 * gdb.arch/s390-tdbregs.exp
12430 * gdb.arch/s390-vregs.exp
12431 * gdb.arch/sparc-sysstep.exp
12432 * gdb.arch/thumb-bx-pc.exp
12433 * gdb.arch/thumb-singlestep.exp
12434 * gdb.arch/thumb2-it.exp
12435 * gdb.arch/vsx-regs.exp
12436 * gdb.asm/asm-source.exp
12437 * gdb.base/a2-run.exp
12438 * gdb.base/advance.exp
12439 * gdb.base/all-bin.exp
12440 * gdb.base/anon.exp
12441 * gdb.base/args.exp
12442 * gdb.base/arithmet.exp
12443 * gdb.base/async-shell.exp
12444 * gdb.base/async.exp
12445 * gdb.base/attach-pie-noexec.exp
12446 * gdb.base/attach-twice.exp
12447 * gdb.base/auto-load.exp
12448 * gdb.base/bang.exp
12449 * gdb.base/bitfields.exp
12450 * gdb.base/break-always.exp
12451 * gdb.base/break-caller-line.exp
12452 * gdb.base/break-entry.exp
12453 * gdb.base/break-inline.exp
12454 * gdb.base/break-on-linker-gcd-function.exp
12455 * gdb.base/break-probes.exp
12456 * gdb.base/break.exp
12457 * gdb.base/breakpoint-shadow.exp
12458 * gdb.base/call-ar-st.exp
12459 * gdb.base/call-sc.exp
12460 * gdb.base/call-signal-resume.exp
12461 * gdb.base/call-strs.exp
12462 * gdb.base/callfuncs.exp
12463 * gdb.base/catch-fork-static.exp
12464 * gdb.base/catch-gdb-caused-signals.exp
12465 * gdb.base/catch-load.exp
12466 * gdb.base/catch-signal-fork.exp
12467 * gdb.base/catch-signal.exp
12468 * gdb.base/catch-syscall.exp
12469 * gdb.base/charset.exp
12470 * gdb.base/checkpoint.exp
12471 * gdb.base/chng-syms.exp
12472 * gdb.base/code-expr.exp
12473 * gdb.base/code_elim.exp
12474 * gdb.base/commands.exp
12475 * gdb.base/completion.exp
12476 * gdb.base/complex.exp
12477 * gdb.base/cond-expr.exp
12478 * gdb.base/condbreak.exp
12479 * gdb.base/consecutive.exp
12480 * gdb.base/continue-all-already-running.exp
12481 * gdb.base/coredump-filter.exp
12482 * gdb.base/corefile.exp
12483 * gdb.base/dbx.exp
12484 * gdb.base/debug-expr.exp
12485 * gdb.base/define.exp
12486 * gdb.base/del.exp
12487 * gdb.base/disabled-location.exp
12488 * gdb.base/disasm-end-cu.exp
12489 * gdb.base/disasm-optim.exp
12490 * gdb.base/display.exp
12491 * gdb.base/duplicate-bp.exp
12492 * gdb.base/ena-dis-br.exp
12493 * gdb.base/ending-run.exp
12494 * gdb.base/enumval.exp
12495 * gdb.base/environ.exp
12496 * gdb.base/eu-strip-infcall.exp
12497 * gdb.base/eval-avoid-side-effects.exp
12498 * gdb.base/eval-skip.exp
12499 * gdb.base/exitsignal.exp
12500 * gdb.base/expand-psymtabs.exp
12501 * gdb.base/filesym.exp
12502 * gdb.base/find-unmapped.exp
12503 * gdb.base/finish.exp
12504 * gdb.base/float.exp
12505 * gdb.base/foll-exec-mode.exp
12506 * gdb.base/foll-exec.exp
12507 * gdb.base/foll-fork.exp
12508 * gdb.base/fortran-sym-case.exp
12509 * gdb.base/freebpcmd.exp
12510 * gdb.base/func-ptr.exp
12511 * gdb.base/func-ptrs.exp
12512 * gdb.base/funcargs.exp
12513 * gdb.base/gcore-buffer-overflow.exp
12514 * gdb.base/gcore-relro-pie.exp
12515 * gdb.base/gcore-relro.exp
12516 * gdb.base/gcore.exp
12517 * gdb.base/gdb1090.exp
12518 * gdb.base/gdb11530.exp
12519 * gdb.base/gdb11531.exp
12520 * gdb.base/gdb1821.exp
12521 * gdb.base/gdbindex-stabs.exp
12522 * gdb.base/gdbvars.exp
12523 * gdb.base/hbreak.exp
12524 * gdb.base/hbreak2.exp
12525 * gdb.base/included.exp
12526 * gdb.base/infcall-input.exp
12527 * gdb.base/inferior-died.exp
12528 * gdb.base/infnan.exp
12529 * gdb.base/info-macros.exp
12530 * gdb.base/info-os.exp
12531 * gdb.base/info-proc.exp
12532 * gdb.base/info-shared.exp
12533 * gdb.base/info-target.exp
12534 * gdb.base/infoline.exp
12535 * gdb.base/interp.exp
12536 * gdb.base/interrupt.exp
12537 * gdb.base/jit-reader.exp
12538 * gdb.base/jit-simple.exp
12539 * gdb.base/kill-after-signal.exp
12540 * gdb.base/kill-detach-inferiors-cmd.exp
12541 * gdb.base/label.exp
12542 * gdb.base/langs.exp
12543 * gdb.base/ldbl_e308.exp
12544 * gdb.base/line-symtabs.exp
12545 * gdb.base/linespecs.exp
12546 * gdb.base/list.exp
12547 * gdb.base/long_long.exp
12548 * gdb.base/longest-types.exp
12549 * gdb.base/maint.exp
12550 * gdb.base/max-value-size.exp
12551 * gdb.base/memattr.exp
12552 * gdb.base/mips_pro.exp
12553 * gdb.base/morestack.exp
12554 * gdb.base/moribund-step.exp
12555 * gdb.base/multi-forks.exp
12556 * gdb.base/nested-addr.exp
12557 * gdb.base/nextoverexit.exp
12558 * gdb.base/noreturn-finish.exp
12559 * gdb.base/noreturn-return.exp
12560 * gdb.base/nostdlib.exp
12561 * gdb.base/offsets.exp
12562 * gdb.base/opaque.exp
12563 * gdb.base/pc-fp.exp
12564 * gdb.base/permissions.exp
12565 * gdb.base/print-symbol-loading.exp
12566 * gdb.base/prologue-include.exp
12567 * gdb.base/psymtab.exp
12568 * gdb.base/ptype.exp
12569 * gdb.base/random-signal.exp
12570 * gdb.base/randomize.exp
12571 * gdb.base/range-stepping.exp
12572 * gdb.base/readline-ask.exp
12573 * gdb.base/recpar.exp
12574 * gdb.base/recurse.exp
12575 * gdb.base/relational.exp
12576 * gdb.base/restore.exp
12577 * gdb.base/return-nodebug.exp
12578 * gdb.base/return.exp
12579 * gdb.base/run-after-attach.exp
12580 * gdb.base/save-bp.exp
12581 * gdb.base/scope.exp
12582 * gdb.base/sect-cmd.exp
12583 * gdb.base/set-lang-auto.exp
12584 * gdb.base/set-noassign.exp
12585 * gdb.base/setvar.exp
12586 * gdb.base/sigall.exp
12587 * gdb.base/sigbpt.exp
12588 * gdb.base/siginfo-addr.exp
12589 * gdb.base/siginfo-infcall.exp
12590 * gdb.base/siginfo-obj.exp
12591 * gdb.base/siginfo.exp
12592 * gdb.base/signals-state-child.exp
12593 * gdb.base/signest.exp
12594 * gdb.base/sigstep.exp
12595 * gdb.base/sizeof.exp
12596 * gdb.base/skip.exp
12597 * gdb.base/solib-corrupted.exp
12598 * gdb.base/solib-nodir.exp
12599 * gdb.base/solib-search.exp
12600 * gdb.base/stack-checking.exp
12601 * gdb.base/stale-infcall.exp
12602 * gdb.base/stap-probe.exp
12603 * gdb.base/start.exp
12604 * gdb.base/step-break.exp
12605 * gdb.base/step-bt.exp
12606 * gdb.base/step-line.exp
12607 * gdb.base/step-over-exit.exp
12608 * gdb.base/step-over-syscall.exp
12609 * gdb.base/step-resume-infcall.exp
12610 * gdb.base/step-test.exp
12611 * gdb.base/store.exp
12612 * gdb.base/structs3.exp
12613 * gdb.base/sym-file.exp
12614 * gdb.base/symbol-without-target_section.exp
12615 * gdb.base/term.exp
12616 * gdb.base/testenv.exp
12617 * gdb.base/ui-redirect.exp
12618 * gdb.base/until.exp
12619 * gdb.base/unwindonsignal.exp
12620 * gdb.base/value-double-free.exp
12621 * gdb.base/vla-datatypes.exp
12622 * gdb.base/vla-ptr.exp
12623 * gdb.base/vla-sideeffect.exp
12624 * gdb.base/volatile.exp
12625 * gdb.base/watch-cond-infcall.exp
12626 * gdb.base/watch-cond.exp
12627 * gdb.base/watch-non-mem.exp
12628 * gdb.base/watch-read.exp
12629 * gdb.base/watch-vfork.exp
12630 * gdb.base/watchpoint-cond-gone.exp
12631 * gdb.base/watchpoint-delete.exp
12632 * gdb.base/watchpoint-hw-hit-once.exp
12633 * gdb.base/watchpoint-hw.exp
12634 * gdb.base/watchpoint-stops-at-right-insn.exp
12635 * gdb.base/watchpoints.exp
12636 * gdb.base/wchar.exp
12637 * gdb.base/whatis-exp.exp
12638 * gdb.btrace/buffer-size.exp
12639 * gdb.btrace/data.exp
12640 * gdb.btrace/delta.exp
12641 * gdb.btrace/dlopen.exp
12642 * gdb.btrace/enable.exp
12643 * gdb.btrace/exception.exp
12644 * gdb.btrace/function_call_history.exp
12645 * gdb.btrace/gcore.exp
12646 * gdb.btrace/instruction_history.exp
12647 * gdb.btrace/nohist.exp
12648 * gdb.btrace/reconnect.exp
12649 * gdb.btrace/record_goto-step.exp
12650 * gdb.btrace/record_goto.exp
12651 * gdb.btrace/rn-dl-bind.exp
12652 * gdb.btrace/segv.exp
12653 * gdb.btrace/step.exp
12654 * gdb.btrace/stepi.exp
12655 * gdb.btrace/tailcall-only.exp
12656 * gdb.btrace/tailcall.exp
12657 * gdb.btrace/tsx.exp
12658 * gdb.btrace/unknown_functions.exp
12659 * gdb.btrace/vdso.exp
12660 * gdb.compile/compile-ifunc.exp
12661 * gdb.compile/compile-ops.exp
12662 * gdb.compile/compile-print.exp
12663 * gdb.compile/compile-setjmp.exp
12664 * gdb.cp/abstract-origin.exp
12665 * gdb.cp/ambiguous.exp
12666 * gdb.cp/annota2.exp
12667 * gdb.cp/annota3.exp
12668 * gdb.cp/anon-ns.exp
12669 * gdb.cp/anon-struct.exp
12670 * gdb.cp/anon-union.exp
12671 * gdb.cp/arg-reference.exp
12672 * gdb.cp/baseenum.exp
12673 * gdb.cp/bool.exp
12674 * gdb.cp/breakpoint.exp
12675 * gdb.cp/bs15503.exp
12676 * gdb.cp/call-c.exp
12677 * gdb.cp/casts.exp
12678 * gdb.cp/chained-calls.exp
12679 * gdb.cp/class2.exp
12680 * gdb.cp/classes.exp
12681 * gdb.cp/cmpd-minsyms.exp
12682 * gdb.cp/converts.exp
12683 * gdb.cp/cp-relocate.exp
12684 * gdb.cp/cpcompletion.exp
12685 * gdb.cp/cpexprs.exp
12686 * gdb.cp/cplabel.exp
12687 * gdb.cp/cplusfuncs.exp
12688 * gdb.cp/cpsizeof.exp
12689 * gdb.cp/ctti.exp
12690 * gdb.cp/derivation.exp
12691 * gdb.cp/destrprint.exp
12692 * gdb.cp/dispcxx.exp
12693 * gdb.cp/enum-class.exp
12694 * gdb.cp/exception.exp
12695 * gdb.cp/exceptprint.exp
12696 * gdb.cp/expand-psymtabs-cxx.exp
12697 * gdb.cp/expand-sals.exp
12698 * gdb.cp/extern-c.exp
12699 * gdb.cp/filename.exp
12700 * gdb.cp/formatted-ref.exp
12701 * gdb.cp/fpointer.exp
12702 * gdb.cp/gdb1355.exp
12703 * gdb.cp/gdb2495.exp
12704 * gdb.cp/hang.exp
12705 * gdb.cp/impl-this.exp
12706 * gdb.cp/infcall-dlopen.exp
12707 * gdb.cp/inherit.exp
12708 * gdb.cp/iostream.exp
12709 * gdb.cp/koenig.exp
12710 * gdb.cp/local.exp
12711 * gdb.cp/m-data.exp
12712 * gdb.cp/m-static.exp
12713 * gdb.cp/mb-ctor.exp
12714 * gdb.cp/mb-inline.exp
12715 * gdb.cp/mb-templates.exp
12716 * gdb.cp/member-name.exp
12717 * gdb.cp/member-ptr.exp
12718 * gdb.cp/meth-typedefs.exp
12719 * gdb.cp/method.exp
12720 * gdb.cp/method2.exp
12721 * gdb.cp/minsym-fallback.exp
12722 * gdb.cp/misc.exp
12723 * gdb.cp/namelessclass.exp
12724 * gdb.cp/namespace-enum.exp
12725 * gdb.cp/namespace-nested-import.exp
12726 * gdb.cp/namespace.exp
12727 * gdb.cp/nextoverthrow.exp
12728 * gdb.cp/no-dmgl-verbose.exp
12729 * gdb.cp/non-trivial-retval.exp
12730 * gdb.cp/noparam.exp
12731 * gdb.cp/nsdecl.exp
12732 * gdb.cp/nsimport.exp
12733 * gdb.cp/nsnested.exp
12734 * gdb.cp/nsnoimports.exp
12735 * gdb.cp/nsrecurs.exp
12736 * gdb.cp/nsstress.exp
12737 * gdb.cp/nsusing.exp
12738 * gdb.cp/operator.exp
12739 * gdb.cp/oranking.exp
12740 * gdb.cp/overload-const.exp
12741 * gdb.cp/overload.exp
12742 * gdb.cp/ovldbreak.exp
12743 * gdb.cp/ovsrch.exp
12744 * gdb.cp/paren-type.exp
12745 * gdb.cp/parse-lang.exp
12746 * gdb.cp/pass-by-ref.exp
12747 * gdb.cp/pr-1023.exp
12748 * gdb.cp/pr-1210.exp
12749 * gdb.cp/pr-574.exp
12750 * gdb.cp/pr10687.exp
12751 * gdb.cp/pr12028.exp
12752 * gdb.cp/pr17132.exp
12753 * gdb.cp/pr17494.exp
12754 * gdb.cp/pr9067.exp
12755 * gdb.cp/pr9167.exp
12756 * gdb.cp/pr9631.exp
12757 * gdb.cp/printmethod.exp
12758 * gdb.cp/psmang.exp
12759 * gdb.cp/psymtab-parameter.exp
12760 * gdb.cp/ptype-cv-cp.exp
12761 * gdb.cp/ptype-flags.exp
12762 * gdb.cp/re-set-overloaded.exp
12763 * gdb.cp/ref-types.exp
12764 * gdb.cp/rtti.exp
12765 * gdb.cp/scope-err.exp
12766 * gdb.cp/shadow.exp
12767 * gdb.cp/smartp.exp
12768 * gdb.cp/static-method.exp
12769 * gdb.cp/static-print-quit.exp
12770 * gdb.cp/temargs.exp
12771 * gdb.cp/templates.exp
12772 * gdb.cp/try_catch.exp
12773 * gdb.cp/typedef-operator.exp
12774 * gdb.cp/typeid.exp
12775 * gdb.cp/userdef.exp
12776 * gdb.cp/using-crash.exp
12777 * gdb.cp/var-tag.exp
12778 * gdb.cp/virtbase.exp
12779 * gdb.cp/virtfunc.exp
12780 * gdb.cp/virtfunc2.exp
12781 * gdb.cp/vla-cxx.exp
12782 * gdb.disasm/t01_mov.exp
12783 * gdb.disasm/t02_mova.exp
12784 * gdb.disasm/t03_add.exp
12785 * gdb.disasm/t04_sub.exp
12786 * gdb.disasm/t05_cmp.exp
12787 * gdb.disasm/t06_ari2.exp
12788 * gdb.disasm/t07_ari3.exp
12789 * gdb.disasm/t08_or.exp
12790 * gdb.disasm/t09_xor.exp
12791 * gdb.disasm/t10_and.exp
12792 * gdb.disasm/t11_logs.exp
12793 * gdb.disasm/t12_bit.exp
12794 * gdb.disasm/t13_otr.exp
12795 * gdb.dlang/circular.exp
12796 * gdb.dwarf2/arr-stride.exp
12797 * gdb.dwarf2/arr-subrange.exp
12798 * gdb.dwarf2/atomic-type.exp
12799 * gdb.dwarf2/bad-regnum.exp
12800 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12801 * gdb.dwarf2/callframecfa.exp
12802 * gdb.dwarf2/clztest.exp
12803 * gdb.dwarf2/corrupt.exp
12804 * gdb.dwarf2/data-loc.exp
12805 * gdb.dwarf2/dup-psym.exp
12806 * gdb.dwarf2/dw2-anon-mptr.exp
12807 * gdb.dwarf2/dw2-anonymous-func.exp
12808 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12809 * gdb.dwarf2/dw2-bad-unresolved.exp
12810 * gdb.dwarf2/dw2-basic.exp
12811 * gdb.dwarf2/dw2-canonicalize-type.exp
12812 * gdb.dwarf2/dw2-case-insensitive.exp
12813 * gdb.dwarf2/dw2-common-block.exp
12814 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12815 * gdb.dwarf2/dw2-compressed.exp
12816 * gdb.dwarf2/dw2-const.exp
12817 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12818 * gdb.dwarf2/dw2-cu-size.exp
12819 * gdb.dwarf2/dw2-dup-frame.exp
12820 * gdb.dwarf2/dw2-entry-value.exp
12821 * gdb.dwarf2/dw2-icycle.exp
12822 * gdb.dwarf2/dw2-ifort-parameter.exp
12823 * gdb.dwarf2/dw2-inline-break.exp
12824 * gdb.dwarf2/dw2-inline-param.exp
12825 * gdb.dwarf2/dw2-intercu.exp
12826 * gdb.dwarf2/dw2-intermix.exp
12827 * gdb.dwarf2/dw2-lexical-block-bare.exp
12828 * gdb.dwarf2/dw2-linkage-name-trust.exp
12829 * gdb.dwarf2/dw2-minsym-in-cu.exp
12830 * gdb.dwarf2/dw2-noloc.exp
12831 * gdb.dwarf2/dw2-op-call.exp
12832 * gdb.dwarf2/dw2-op-out-param.exp
12833 * gdb.dwarf2/dw2-opt-structptr.exp
12834 * gdb.dwarf2/dw2-param-error.exp
12835 * gdb.dwarf2/dw2-producer.exp
12836 * gdb.dwarf2/dw2-ranges-base.exp
12837 * gdb.dwarf2/dw2-ref-missing-frame.exp
12838 * gdb.dwarf2/dw2-reg-undefined.exp
12839 * gdb.dwarf2/dw2-regno-invalid.exp
12840 * gdb.dwarf2/dw2-restore.exp
12841 * gdb.dwarf2/dw2-restrict.exp
12842 * gdb.dwarf2/dw2-single-line-discriminators.exp
12843 * gdb.dwarf2/dw2-strp.exp
12844 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12845 * gdb.dwarf2/dw2-unresolved.exp
12846 * gdb.dwarf2/dw2-var-zero-addr.exp
12847 * gdb.dwarf2/dw4-sig-types.exp
12848 * gdb.dwarf2/dwz.exp
12849 * gdb.dwarf2/dynarr-ptr.exp
12850 * gdb.dwarf2/enum-type.exp
12851 * gdb.dwarf2/gdb-index.exp
12852 * gdb.dwarf2/implptr-64bit.exp
12853 * gdb.dwarf2/implptr-optimized-out.exp
12854 * gdb.dwarf2/implptr.exp
12855 * gdb.dwarf2/implref-array.exp
12856 * gdb.dwarf2/implref-const.exp
12857 * gdb.dwarf2/implref-global.exp
12858 * gdb.dwarf2/implref-struct.exp
12859 * gdb.dwarf2/mac-fileno.exp
12860 * gdb.dwarf2/main-subprogram.exp
12861 * gdb.dwarf2/member-ptr-forwardref.exp
12862 * gdb.dwarf2/method-ptr.exp
12863 * gdb.dwarf2/missing-sig-type.exp
12864 * gdb.dwarf2/nonvar-access.exp
12865 * gdb.dwarf2/opaque-type-lookup.exp
12866 * gdb.dwarf2/pieces-optimized-out.exp
12867 * gdb.dwarf2/pieces.exp
12868 * gdb.dwarf2/pr10770.exp
12869 * gdb.dwarf2/pr13961.exp
12870 * gdb.dwarf2/staticvirtual.exp
12871 * gdb.dwarf2/subrange.exp
12872 * gdb.dwarf2/symtab-producer.exp
12873 * gdb.dwarf2/trace-crash.exp
12874 * gdb.dwarf2/typeddwarf.exp
12875 * gdb.dwarf2/valop.exp
12876 * gdb.dwarf2/watch-notconst.exp
12877 * gdb.fortran/array-element.exp
12878 * gdb.fortran/charset.exp
12879 * gdb.fortran/common-block.exp
12880 * gdb.fortran/complex.exp
12881 * gdb.fortran/derived-type-function.exp
12882 * gdb.fortran/derived-type.exp
12883 * gdb.fortran/logical.exp
12884 * gdb.fortran/module.exp
12885 * gdb.fortran/multi-dim.exp
12886 * gdb.fortran/nested-funcs.exp
12887 * gdb.fortran/print-formatted.exp
12888 * gdb.fortran/subarray.exp
12889 * gdb.fortran/vla-alloc-assoc.exp
12890 * gdb.fortran/vla-datatypes.exp
12891 * gdb.fortran/vla-history.exp
12892 * gdb.fortran/vla-ptr-info.exp
12893 * gdb.fortran/vla-ptype-sub.exp
12894 * gdb.fortran/vla-ptype.exp
12895 * gdb.fortran/vla-sizeof.exp
12896 * gdb.fortran/vla-type.exp
12897 * gdb.fortran/vla-value-sub-arbitrary.exp
12898 * gdb.fortran/vla-value-sub-finish.exp
12899 * gdb.fortran/vla-value-sub.exp
12900 * gdb.fortran/vla-value.exp
12901 * gdb.fortran/whatis_type.exp
12902 * gdb.go/chan.exp
12903 * gdb.go/handcall.exp
12904 * gdb.go/hello.exp
12905 * gdb.go/integers.exp
12906 * gdb.go/methods.exp
12907 * gdb.go/package.exp
12908 * gdb.go/strings.exp
12909 * gdb.go/types.exp
12910 * gdb.go/unsafe.exp
12911 * gdb.guile/scm-arch.exp
12912 * gdb.guile/scm-block.exp
12913 * gdb.guile/scm-breakpoint.exp
12914 * gdb.guile/scm-cmd.exp
12915 * gdb.guile/scm-disasm.exp
12916 * gdb.guile/scm-equal.exp
12917 * gdb.guile/scm-frame-args.exp
12918 * gdb.guile/scm-frame-inline.exp
12919 * gdb.guile/scm-frame.exp
12920 * gdb.guile/scm-iterator.exp
12921 * gdb.guile/scm-math.exp
12922 * gdb.guile/scm-objfile.exp
12923 * gdb.guile/scm-ports.exp
12924 * gdb.guile/scm-symbol.exp
12925 * gdb.guile/scm-symtab.exp
12926 * gdb.guile/scm-value-cc.exp
12927 * gdb.guile/types-module.exp
12928 * gdb.linespec/break-ask.exp
12929 * gdb.linespec/cpexplicit.exp
12930 * gdb.linespec/explicit.exp
12931 * gdb.linespec/keywords.exp
12932 * gdb.linespec/linespec.exp
12933 * gdb.linespec/ls-dollar.exp
12934 * gdb.linespec/ls-errs.exp
12935 * gdb.linespec/skip-two.exp
12936 * gdb.linespec/thread.exp
12937 * gdb.mi/mi-async.exp
12938 * gdb.mi/mi-basics.exp
12939 * gdb.mi/mi-break.exp
12940 * gdb.mi/mi-catch-load.exp
12941 * gdb.mi/mi-cli.exp
12942 * gdb.mi/mi-cmd-param-changed.exp
12943 * gdb.mi/mi-console.exp
12944 * gdb.mi/mi-detach.exp
12945 * gdb.mi/mi-disassemble.exp
12946 * gdb.mi/mi-eval.exp
12947 * gdb.mi/mi-file-transfer.exp
12948 * gdb.mi/mi-file.exp
12949 * gdb.mi/mi-fill-memory.exp
12950 * gdb.mi/mi-inheritance-syntax-error.exp
12951 * gdb.mi/mi-linespec-err-cp.exp
12952 * gdb.mi/mi-logging.exp
12953 * gdb.mi/mi-memory-changed.exp
12954 * gdb.mi/mi-read-memory.exp
12955 * gdb.mi/mi-record-changed.exp
12956 * gdb.mi/mi-reg-undefined.exp
12957 * gdb.mi/mi-regs.exp
12958 * gdb.mi/mi-return.exp
12959 * gdb.mi/mi-reverse.exp
12960 * gdb.mi/mi-simplerun.exp
12961 * gdb.mi/mi-solib.exp
12962 * gdb.mi/mi-stack.exp
12963 * gdb.mi/mi-stepi.exp
12964 * gdb.mi/mi-syn-frame.exp
12965 * gdb.mi/mi-until.exp
12966 * gdb.mi/mi-var-block.exp
12967 * gdb.mi/mi-var-child.exp
12968 * gdb.mi/mi-var-cmd.exp
12969 * gdb.mi/mi-var-cp.exp
12970 * gdb.mi/mi-var-display.exp
12971 * gdb.mi/mi-var-invalidate.exp
12972 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12973 * gdb.mi/mi-vla-fortran.exp
12974 * gdb.mi/mi-watch.exp
12975 * gdb.mi/mi2-var-child.exp
12976 * gdb.mi/user-selected-context-sync.exp
12977 * gdb.modula2/unbounded-array.exp
12978 * gdb.multi/dummy-frame-restore.exp
12979 * gdb.multi/multi-arch-exec.exp
12980 * gdb.multi/multi-arch.exp
12981 * gdb.multi/tids.exp
12982 * gdb.multi/watchpoint-multi.exp
12983 * gdb.opencl/callfuncs.exp
12984 * gdb.opencl/convs_casts.exp
12985 * gdb.opencl/datatypes.exp
12986 * gdb.opencl/operators.exp
12987 * gdb.opencl/vec_comps.exp
12988 * gdb.opt/clobbered-registers-O2.exp
12989 * gdb.opt/inline-break.exp
12990 * gdb.opt/inline-bt.exp
12991 * gdb.opt/inline-cmds.exp
12992 * gdb.opt/inline-locals.exp
12993 * gdb.pascal/case-insensitive-symbols.exp
12994 * gdb.pascal/floats.exp
12995 * gdb.pascal/gdb11492.exp
12996 * gdb.python/lib-types.exp
12997 * gdb.python/py-arch.exp
12998 * gdb.python/py-as-string.exp
12999 * gdb.python/py-bad-printers.exp
13000 * gdb.python/py-block.exp
13001 * gdb.python/py-breakpoint-create-fail.exp
13002 * gdb.python/py-breakpoint.exp
13003 * gdb.python/py-caller-is.exp
13004 * gdb.python/py-cmd.exp
13005 * gdb.python/py-explore-cc.exp
13006 * gdb.python/py-explore.exp
13007 * gdb.python/py-finish-breakpoint.exp
13008 * gdb.python/py-finish-breakpoint2.exp
13009 * gdb.python/py-frame-args.exp
13010 * gdb.python/py-frame-inline.exp
13011 * gdb.python/py-frame.exp
13012 * gdb.python/py-framefilter-mi.exp
13013 * gdb.python/py-infthread.exp
13014 * gdb.python/py-lazy-string.exp
13015 * gdb.python/py-linetable.exp
13016 * gdb.python/py-mi-events.exp
13017 * gdb.python/py-mi-objfile.exp
13018 * gdb.python/py-mi.exp
13019 * gdb.python/py-objfile.exp
13020 * gdb.python/py-pp-integral.exp
13021 * gdb.python/py-pp-maint.exp
13022 * gdb.python/py-pp-re-notag.exp
13023 * gdb.python/py-pp-registration.exp
13024 * gdb.python/py-recurse-unwind.exp
13025 * gdb.python/py-strfns.exp
13026 * gdb.python/py-symbol.exp
13027 * gdb.python/py-symtab.exp
13028 * gdb.python/py-sync-interp.exp
13029 * gdb.python/py-typeprint.exp
13030 * gdb.python/py-unwind-maint.exp
13031 * gdb.python/py-unwind.exp
13032 * gdb.python/py-value-cc.exp
13033 * gdb.python/py-xmethods.exp
13034 * gdb.reverse/amd64-tailcall-reverse.exp
13035 * gdb.reverse/break-precsave.exp
13036 * gdb.reverse/break-reverse.exp
13037 * gdb.reverse/consecutive-precsave.exp
13038 * gdb.reverse/consecutive-reverse.exp
13039 * gdb.reverse/finish-precsave.exp
13040 * gdb.reverse/finish-reverse-bkpt.exp
13041 * gdb.reverse/finish-reverse.exp
13042 * gdb.reverse/fstatat-reverse.exp
13043 * gdb.reverse/getresuid-reverse.exp
13044 * gdb.reverse/i386-precsave.exp
13045 * gdb.reverse/i386-reverse.exp
13046 * gdb.reverse/i386-sse-reverse.exp
13047 * gdb.reverse/i387-env-reverse.exp
13048 * gdb.reverse/i387-stack-reverse.exp
13049 * gdb.reverse/insn-reverse.exp
13050 * gdb.reverse/machinestate-precsave.exp
13051 * gdb.reverse/machinestate.exp
13052 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13053 * gdb.reverse/pipe-reverse.exp
13054 * gdb.reverse/readv-reverse.exp
13055 * gdb.reverse/recvmsg-reverse.exp
13056 * gdb.reverse/rerun-prec.exp
13057 * gdb.reverse/s390-mvcle.exp
13058 * gdb.reverse/step-precsave.exp
13059 * gdb.reverse/step-reverse.exp
13060 * gdb.reverse/time-reverse.exp
13061 * gdb.reverse/until-precsave.exp
13062 * gdb.reverse/until-reverse.exp
13063 * gdb.reverse/waitpid-reverse.exp
13064 * gdb.reverse/watch-precsave.exp
13065 * gdb.reverse/watch-reverse.exp
13066 * gdb.rust/generics.exp
13067 * gdb.rust/methods.exp
13068 * gdb.rust/modules.exp
13069 * gdb.rust/simple.exp
13070 * gdb.server/connect-with-no-symbol-file.exp
13071 * gdb.server/ext-attach.exp
13072 * gdb.server/ext-restart.exp
13073 * gdb.server/ext-wrapper.exp
13074 * gdb.server/file-transfer.exp
13075 * gdb.server/server-exec-info.exp
13076 * gdb.server/server-kill.exp
13077 * gdb.server/server-mon.exp
13078 * gdb.server/wrapper.exp
13079 * gdb.stabs/exclfwd.exp
13080 * gdb.stabs/gdb11479.exp
13081 * gdb.threads/clone-new-thread-event.exp
13082 * gdb.threads/corethreads.exp
13083 * gdb.threads/current-lwp-dead.exp
13084 * gdb.threads/dlopen-libpthread.exp
13085 * gdb.threads/gcore-thread.exp
13086 * gdb.threads/sigstep-threads.exp
13087 * gdb.threads/watchpoint-fork.exp
13088 * gdb.trace/actions-changed.exp
13089 * gdb.trace/backtrace.exp
13090 * gdb.trace/change-loc.exp
13091 * gdb.trace/circ.exp
13092 * gdb.trace/collection.exp
13093 * gdb.trace/disconnected-tracing.exp
13094 * gdb.trace/ftrace.exp
13095 * gdb.trace/mi-trace-frame-collected.exp
13096 * gdb.trace/mi-trace-unavailable.exp
13097 * gdb.trace/mi-traceframe-changed.exp
13098 * gdb.trace/mi-tsv-changed.exp
13099 * gdb.trace/no-attach-trace.exp
13100 * gdb.trace/passc-dyn.exp
13101 * gdb.trace/qtro.exp
13102 * gdb.trace/range-stepping.exp
13103 * gdb.trace/read-memory.exp
13104 * gdb.trace/save-trace.exp
13105 * gdb.trace/signal.exp
13106 * gdb.trace/status-stop.exp
13107 * gdb.trace/tfile.exp
13108 * gdb.trace/trace-break.exp
13109 * gdb.trace/trace-buffer-size.exp
13110 * gdb.trace/trace-condition.exp
13111 * gdb.trace/tracefile-pseudo-reg.exp
13112 * gdb.trace/tstatus.exp
13113 * gdb.trace/unavailable.exp
13114 * gdb.trace/while-dyn.exp
13115 * gdb.trace/while-stepping.exp
13116
34c41c68
DE
131172016-12-22 Doug Evans <xdje42@gmail.com>
13118
13119 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13120 and msymbols.
13121
16e69324
YQ
131222016-12-19 Yao Qi <yao.qi@linaro.org>
13123
13124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13125 (test_with_self): Don't call do_steps_and_nexts, and remove
13126 code about stepping into xmalloc.
13127
f94f411b
YQ
131282016-12-09 Yao Qi <yao.qi@linaro.org>
13129
13130 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13131
131322016-12-09 Yao Qi <yao.qi@linaro.org>
13133
13134 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13135
f1b5deee
PA
131362016-12-09 Pedro Alves <palves@redhat.com>
13137
13138 * gdb.base/all-architectures-0.exp: New file.
13139 * gdb.base/all-architectures-1.exp: New file.
13140 * gdb.base/all-architectures-2.exp: New file.
13141 * gdb.base/all-architectures-3.exp: New file.
13142 * gdb.base/all-architectures-4.exp: New file.
13143 * gdb.base/all-architectures-5.exp: New file.
13144 * gdb.base/all-architectures-6.exp: New file.
13145 * gdb.base/all-architectures-7.exp: New file.
13146 * gdb.base/all-architectures.exp.in: New file.
13147
364ca42e
YQ
131482016-12-09 Yao Qi <yao.qi@linaro.org>
13149
13150 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13151
107c2d62
LM
131522016-12-02 Luis Machado <lgustavo@codesourcery.com>
13153
13154 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13155 possible.
13156 Remove useless pattern-matching code.
13157
df3ee9ca
PA
131582016-12-02 Pedro Alves <palves@redhat.com>
13159
13160 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13161 procedure.
13162 (top level): Call it.
13163
ec835369
PA
131642016-12-02 Pedro Alves <palves@redhat.com>
13165
13166 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13167 New procedure.
13168 (top level): Call it.
13169
01770bbd
PA
131702016-12-02 Pedro Alves <palves@redhat.com>
13171
13172 PR cli/20559
13173 * gdb.base/commands.exp (user_defined_command_args_eval): New
13174 procedure.
13175 (top level): Call it.
13176
008459ea
LM
131772016-12-02 Luis Machado <lgustavo@codesourcery.com>
13178
13179 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13180 timeout handling.
13181
0c1b455e
TT
131822016-12-02 Tom Tromey <tom@tromey.com>
13183
13184 * gdb.dwarf2/main-subprogram.c: New file.
13185 * gdb.dwarf2/main-subprogram.exp: New file.
13186
018572b8
LM
131872016-12-01 Luis Machado <lgustavo@codesourcery.com>
13188
13189 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13190 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13191 gdb_test_no_output for a couple of cases.
13192 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13193
84c93cd5
LM
131942016-12-01 Luis Machado <lgustavo@codesourcery.com>
13195
13196 Fix test names and standardize compilation error messages throughout
13197 the following files:
13198
13199 * gdb.ada/start.exp
13200 * gdb.arch/alpha-step.exp
13201 * gdb.arch/e500-prologue.exp
13202 * gdb.arch/ftrace-insn-reloc.exp
13203 * gdb.arch/gdb1291.exp
13204 * gdb.arch/gdb1431.exp
13205 * gdb.arch/gdb1558.exp
13206 * gdb.arch/i386-dr3-watch.exp
13207 * gdb.arch/i386-sse-stack-align.exp
13208 * gdb.arch/ia64-breakpoint-shadow.exp
13209 * gdb.arch/pa-nullify.exp
13210 * gdb.arch/powerpc-aix-prologue.exp
13211 * gdb.arch/thumb-bx-pc.exp
13212 * gdb.base/annota1.exp
13213 * gdb.base/annota3.exp
13214 * gdb.base/arrayidx.exp
13215 * gdb.base/assign.exp
13216 * gdb.base/attach.exp
13217 * gdb.base/auxv.exp
13218 * gdb.base/bang.exp
13219 * gdb.base/bfp-test.exp
13220 * gdb.base/bigcore.exp
13221 * gdb.base/bitfields2.exp
13222 * gdb.base/break-fun-addr.exp
13223 * gdb.base/break-probes.exp
13224 * gdb.base/call-rt-st.exp
13225 * gdb.base/callexit.exp
13226 * gdb.base/catch-fork-kill.exp
13227 * gdb.base/charset.exp
13228 * gdb.base/checkpoint.exp
13229 * gdb.base/comprdebug.exp
13230 * gdb.base/constvars.exp
13231 * gdb.base/coredump-filter.exp
13232 * gdb.base/cursal.exp
13233 * gdb.base/cvexpr.exp
13234 * gdb.base/detach.exp
13235 * gdb.base/display.exp
13236 * gdb.base/dmsym.exp
13237 * gdb.base/dprintf-pending.exp
13238 * gdb.base/dso2dso.exp
13239 * gdb.base/dtrace-probe.exp
13240 * gdb.base/dump.exp
13241 * gdb.base/enum_cond.exp
13242 * gdb.base/exe-lock.exp
13243 * gdb.base/exec-invalid-sysroot.exp
13244 * gdb.base/execl-update-breakpoints.exp
13245 * gdb.base/exprs.exp
13246 * gdb.base/fileio.exp
13247 * gdb.base/find.exp
13248 * gdb.base/finish.exp
13249 * gdb.base/fixsection.exp
13250 * gdb.base/foll-vfork.exp
13251 * gdb.base/frame-args.exp
13252 * gdb.base/gcore.exp
13253 * gdb.base/gdb1250.exp
13254 * gdb.base/global-var-nested-by-dso.exp
13255 * gdb.base/gnu-ifunc.exp
13256 * gdb.base/hashline1.exp
13257 * gdb.base/hashline2.exp
13258 * gdb.base/hashline3.exp
13259 * gdb.base/hbreak-in-shr-unsupported.exp
13260 * gdb.base/huge.exp
13261 * gdb.base/infcall-input.exp
13262 * gdb.base/info-fun.exp
13263 * gdb.base/info-shared.exp
13264 * gdb.base/jit-simple.exp
13265 * gdb.base/jit-so.exp
13266 * gdb.base/jit.exp
13267 * gdb.base/jump.exp
13268 * gdb.base/label.exp
13269 * gdb.base/lineinc.exp
13270 * gdb.base/logical.exp
13271 * gdb.base/longjmp.exp
13272 * gdb.base/macscp.exp
13273 * gdb.base/miscexprs.exp
13274 * gdb.base/new-ui-echo.exp
13275 * gdb.base/new-ui-pending-input.exp
13276 * gdb.base/new-ui.exp
13277 * gdb.base/nodebug.exp
13278 * gdb.base/nofield.exp
13279 * gdb.base/offsets.exp
13280 * gdb.base/overlays.exp
13281 * gdb.base/pending.exp
13282 * gdb.base/pointers.exp
13283 * gdb.base/pr11022.exp
13284 * gdb.base/printcmds.exp
13285 * gdb.base/prologue.exp
13286 * gdb.base/ptr-typedef.exp
13287 * gdb.base/realname-expand.exp
13288 * gdb.base/relativedebug.exp
13289 * gdb.base/relocate.exp
13290 * gdb.base/remote.exp
13291 * gdb.base/reread.exp
13292 * gdb.base/return2.exp
13293 * gdb.base/savedregs.exp
13294 * gdb.base/sep.exp
13295 * gdb.base/sepdebug.exp
13296 * gdb.base/sepsymtab.exp
13297 * gdb.base/set-inferior-tty.exp
13298 * gdb.base/setshow.exp
13299 * gdb.base/shlib-call.exp
13300 * gdb.base/sigaltstack.exp
13301 * gdb.base/siginfo-addr.exp
13302 * gdb.base/signals.exp
13303 * gdb.base/signull.exp
13304 * gdb.base/sigrepeat.exp
13305 * gdb.base/so-impl-ld.exp
13306 * gdb.base/solib-display.exp
13307 * gdb.base/solib-overlap.exp
13308 * gdb.base/solib-search.exp
13309 * gdb.base/solib-symbol.exp
13310 * gdb.base/structs.exp
13311 * gdb.base/structs2.exp
13312 * gdb.base/symtab-search-order.exp
13313 * gdb.base/twice.exp
13314 * gdb.base/unload.exp
13315 * gdb.base/varargs.exp
13316 * gdb.base/watchpoint-solib.exp
13317 * gdb.base/watchpoint.exp
13318 * gdb.base/whatis.exp
13319 * gdb.base/wrong_frame_bt_full.exp
13320 * gdb.btrace/dlopen.exp
13321 * gdb.cell/ea-standalone.exp
13322 * gdb.cell/ea-test.exp
13323 * gdb.cp/dispcxx.exp
13324 * gdb.cp/gdb2384.exp
13325 * gdb.cp/method2.exp
13326 * gdb.cp/nextoverthrow.exp
13327 * gdb.cp/pr10728.exp
13328 * gdb.disasm/am33.exp
13329 * gdb.disasm/h8300s.exp
13330 * gdb.disasm/mn10300.exp
13331 * gdb.disasm/sh3.exp
13332 * gdb.dwarf2/dw2-dir-file-name.exp
13333 * gdb.fortran/complex.exp
13334 * gdb.fortran/library-module.exp
13335 * gdb.guile/scm-pretty-print.exp
13336 * gdb.guile/scm-symbol.exp
13337 * gdb.guile/scm-type.exp
13338 * gdb.guile/scm-value.exp
13339 * gdb.linespec/linespec.exp
13340 * gdb.mi/gdb701.exp
13341 * gdb.mi/gdb792.exp
13342 * gdb.mi/mi-breakpoint-changed.exp
13343 * gdb.mi/mi-dprintf-pending.exp
13344 * gdb.mi/mi-dprintf.exp
13345 * gdb.mi/mi-exit-code.exp
13346 * gdb.mi/mi-pending.exp
13347 * gdb.mi/mi-solib.exp
13348 * gdb.mi/new-ui-mi-sync.exp
13349 * gdb.mi/pr11022.exp
13350 * gdb.mi/user-selected-context-sync.exp
13351 * gdb.opt/solib-intra-step.exp
13352 * gdb.python/py-events.exp
13353 * gdb.python/py-finish-breakpoint.exp
13354 * gdb.python/py-mi.exp
13355 * gdb.python/py-prettyprint.exp
13356 * gdb.python/py-shared.exp
13357 * gdb.python/py-symbol.exp
13358 * gdb.python/py-template.exp
13359 * gdb.python/py-type.exp
13360 * gdb.python/py-value.exp
13361 * gdb.reverse/solib-precsave.exp
13362 * gdb.reverse/solib-reverse.exp
13363 * gdb.server/solib-list.exp
13364 * gdb.stabs/weird.exp
13365 * gdb.threads/reconnect-signal.exp
13366 * gdb.threads/stepi-random-signal.exp
13367 * gdb.trace/actions.exp
13368 * gdb.trace/ax.exp
13369 * gdb.trace/backtrace.exp
13370 * gdb.trace/change-loc.exp
13371 * gdb.trace/deltrace.exp
13372 * gdb.trace/ftrace-lock.exp
13373 * gdb.trace/ftrace.exp
13374 * gdb.trace/infotrace.exp
13375 * gdb.trace/mi-tracepoint-changed.exp
13376 * gdb.trace/packetlen.exp
13377 * gdb.trace/passcount.exp
13378 * gdb.trace/pending.exp
13379 * gdb.trace/range-stepping.exp
13380 * gdb.trace/report.exp
13381 * gdb.trace/stap-trace.exp
13382 * gdb.trace/tfind.exp
13383 * gdb.trace/trace-break.exp
13384 * gdb.trace/trace-condition.exp
13385 * gdb.trace/trace-enable-disable.exp
13386 * gdb.trace/trace-mt.exp
13387 * gdb.trace/tracecmd.exp
13388 * gdb.trace/tspeed.exp
13389 * gdb.trace/tsv.exp
13390 * lib/perftest.exp
13391
fb9feb35
LM
133922016-12-01 Luis Machado <lgustavo@codesourcery.com>
13393
13394 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13395 with gdb_test_no_output.
13396 Use command as test name.
13397
cd2ddb6c
LM
133982016-12-01 Luis Machado <lgustavo@codesourcery.com>
13399
13400 Fix test names starting with uppercase throughout the files.
13401
13402 * gdb.ada/assign_1.exp
13403 * gdb.ada/boolean_expr.exp
13404 * gdb.base/arrayidx.exp
13405 * gdb.base/del.exp
13406 * gdb.base/gcore-buffer-overflow.exp
13407 * gdb.base/testenv.exp
13408 * gdb.compile/compile.exp
13409 * gdb.python/py-framefilter-invalidarg.exp
13410 * gdb.python/py-framefilter.exp
13411
bb95117e
LM
134122016-12-01 Luis Machado <lgustavo@codesourcery.com>
13413
13414 Fix test names starting with uppercase throughout the files.
13415
13416 * gdb.ada/array_return.exp
13417 * gdb.ada/expr_delims.exp
13418 * gdb.ada/mi_dyn_arr.exp
13419 * gdb.ada/mi_interface.exp
13420 * gdb.ada/mi_var_array.exp
13421 * gdb.ada/watch_arg.exp
13422 * gdb.arch/alpha-step.exp
13423 * gdb.arch/altivec-regs.exp
13424 * gdb.arch/e500-regs.exp
13425 * gdb.arch/powerpc-d128-regs.exp
13426 * gdb.base/arrayidx.exp
13427 * gdb.base/break.exp
13428 * gdb.base/checkpoint.exp
13429 * gdb.base/debug-expr.exp
13430 * gdb.base/dmsym.exp
13431 * gdb.base/radix.exp
13432 * gdb.base/sepdebug.exp
13433 * gdb.base/testenv.exp
13434 * gdb.base/watch_thread_num.exp
13435 * gdb.base/watchpoint-cond-gone.exp
13436 * gdb.cell/break.exp
13437 * gdb.cell/ea-cache.exp
13438 * gdb.compile/compile.exp
13439 * gdb.cp/gdb2495.exp
13440 * gdb.gdb/selftest.exp
13441 * gdb.gdb/xfullpath.exp
13442 * gdb.go/hello.exp
13443 * gdb.go/integers.exp
13444 * gdb.objc/basicclass.exp
13445 * gdb.pascal/hello.exp
13446 * gdb.pascal/integers.exp
13447 * gdb.python/py-breakpoint.exp
13448 * gdb.python/py-cmd.exp
13449 * gdb.python/py-linetable.exp
13450 * gdb.python/py-xmethods.exp
13451 * gdb.python/python.exp
13452 * gdb.reverse/consecutive-precsave.exp
13453 * gdb.reverse/finish-precsave.exp
13454 * gdb.reverse/i386-precsave.exp
13455 * gdb.reverse/machinestate-precsave.exp
13456 * gdb.reverse/sigall-precsave.exp
13457 * gdb.reverse/solib-precsave.exp
13458 * gdb.reverse/step-precsave.exp
13459 * gdb.reverse/until-precsave.exp
13460 * gdb.reverse/watch-precsave.exp
13461 * gdb.threads/leader-exit.exp
13462 * gdb.threads/pthreads.exp
13463 * gdb.threads/wp-replication.exp
13464 * gdb.trace/actions.exp
13465 * gdb.trace/mi-tsv-changed.exp
13466 * gdb.trace/tsv.exp
13467
de97fdd4
LM
134682016-12-01 Luis Machado <lgustavo@codesourcery.com>
13469
13470 Fix test names starting with uppercase throughout the files.
13471
13472 * gdb.arch/i386-bp_permanent.exp
13473 * gdb.arch/i386-gnu-cfi.exp
13474 * gdb.base/disasm-end-cu.exp
13475 * gdb.base/macscp.exp
13476 * gdb.base/pending.exp
13477 * gdb.base/watch_thread_num.exp
13478 * gdb.cp/exception.exp
13479 * gdb.cp/gdb2495.exp
13480 * gdb.cp/local.exp
13481 * gdb.python/py-evsignal.exp
13482 * gdb.python/python.exp
13483 * gdb.trace/tracecmd.exp
13484
9f058c10
LM
134852016-12-01 Luis Machado <lgustavo@codesourcery.com>
13486
13487 Fix test names starting with uppercase throughout the files.
13488
13489 * gdb.base/charset.exp
13490 * gdb.base/eval.exp
13491 * gdb.base/multi-forks.exp
13492 * gdb.guile/scm-progspace.exp
13493 * gdb.opencl/datatypes.exp
13494 * gdb.python/py-block.exp
13495 * gdb.python/py-function.exp
13496 * gdb.python/py-symbol.exp
13497 * gdb.python/py-symtab.exp
13498 * gdb.python/py-xmethods.exp
13499 * gdb.reverse/break-precsave.exp
13500 * gdb.reverse/break-reverse.exp
13501 * gdb.reverse/consecutive-precsave.exp
13502 * gdb.reverse/consecutive-reverse.exp
13503 * gdb.reverse/finish-precsave.exp
13504 * gdb.reverse/finish-reverse-bkpt.exp
13505 * gdb.reverse/finish-reverse.exp
13506 * gdb.reverse/fstatat-reverse.exp
13507 * gdb.reverse/getresuid-reverse.exp
13508 * gdb.reverse/i386-precsave.exp
13509 * gdb.reverse/i386-reverse.exp
13510 * gdb.reverse/i386-sse-reverse.exp
13511 * gdb.reverse/i387-stack-reverse.exp
13512 * gdb.reverse/insn-reverse.exp
13513 * gdb.reverse/machinestate-precsave.exp
13514 * gdb.reverse/machinestate.exp
13515 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13516 * gdb.reverse/pipe-reverse.exp
13517 * gdb.reverse/readv-reverse.exp
13518 * gdb.reverse/recvmsg-reverse.exp
13519 * gdb.reverse/rerun-prec.exp
13520 * gdb.reverse/s390-mvcle.exp
13521 * gdb.reverse/sigall-precsave.exp
13522 * gdb.reverse/sigall-reverse.exp
13523 * gdb.reverse/solib-precsave.exp
13524 * gdb.reverse/solib-reverse.exp
13525 * gdb.reverse/step-precsave.exp
13526 * gdb.reverse/step-reverse.exp
13527 * gdb.reverse/time-reverse.exp
13528 * gdb.reverse/until-precsave.exp
13529 * gdb.reverse/until-reverse.exp
13530 * gdb.reverse/waitpid-reverse.exp
13531 * gdb.reverse/watch-precsave.exp
13532 * gdb.reverse/watch-reverse.exp
13533
cdc7edd7
LM
135342016-12-01 Luis Machado <lgustavo@codesourcery.com>
13535
13536 Fix test names starting with uppercase throughout the files.
13537
13538 * gdb.arch/i386-mpx-simple_segv.exp
13539 * gdb.arch/i386-mpx.exp
13540 * gdb.arch/i386-permbkpt.exp
13541 * gdb.arch/pa-nullify.exp
13542 * gdb.arch/powerpc-d128-regs.exp
13543 * gdb.arch/vsx-regs.exp
13544 * gdb.base/bfp-test.exp
13545 * gdb.base/break.exp
13546 * gdb.base/breakpoint-shadow.exp
13547 * gdb.base/callfuncs.exp
13548 * gdb.base/charset.exp
13549 * gdb.base/commands.exp
13550 * gdb.base/completion.exp
13551 * gdb.base/dfp-test.exp
13552 * gdb.base/echo.exp
13553 * gdb.base/ending-run.exp
13554 * gdb.base/eval.exp
13555 * gdb.base/expand-psymtabs.exp
13556 * gdb.base/float128.exp
13557 * gdb.base/floatn.exp
13558 * gdb.base/foll-exec-mode.exp
13559 * gdb.base/gdb1056.exp
13560 * gdb.base/gdb11531.exp
13561 * gdb.base/kill-after-signal.exp
13562 * gdb.base/multi-forks.exp
13563 * gdb.base/overlays.exp
13564 * gdb.base/pending.exp
13565 * gdb.base/sepdebug.exp
13566 * gdb.base/testenv.exp
13567 * gdb.base/valgrind-db-attach.exp
13568 * gdb.base/watch_thread_num.exp
13569 * gdb.base/watchpoint-cond-gone.exp
13570 * gdb.base/watchpoint.exp
13571 * gdb.base/watchpoints.exp
13572 * gdb.cp/arg-reference.exp
13573 * gdb.cp/baseenum.exp
13574 * gdb.cp/operator.exp
13575 * gdb.cp/shadow.exp
13576 * gdb.dwarf2/dw2-op-out-param.exp
13577 * gdb.dwarf2/dw2-reg-undefined.exp
13578 * gdb.go/chan.exp
13579 * gdb.go/hello.exp
13580 * gdb.go/integers.exp
13581 * gdb.go/methods.exp
13582 * gdb.go/package.exp
13583 * gdb.guile/scm-parameter.exp
13584 * gdb.guile/scm-progspace.exp
13585 * gdb.guile/scm-value.exp
13586 * gdb.mi/mi-pending.exp
13587 * gdb.mi/user-selected-context-sync.exp
13588 * gdb.multi/multi-attach.exp
13589 * gdb.multi/tids.exp
13590 * gdb.opt/clobbered-registers-O2.exp
13591 * gdb.pascal/floats.exp
13592 * gdb.pascal/integers.exp
13593 * gdb.python/py-block.exp
13594 * gdb.python/py-events.exp
13595 * gdb.python/py-parameter.exp
13596 * gdb.python/py-symbol.exp
13597 * gdb.python/py-symtab.exp
13598 * gdb.python/py-type.exp
13599 * gdb.python/py-value.exp
13600 * gdb.python/py-xmethods.exp
13601 * gdb.python/python.exp
13602 * gdb.reverse/break-precsave.exp
13603 * gdb.reverse/consecutive-precsave.exp
13604 * gdb.reverse/finish-precsave.exp
13605 * gdb.reverse/i386-precsave.exp
13606 * gdb.reverse/machinestate-precsave.exp
13607 * gdb.reverse/sigall-precsave.exp
13608 * gdb.reverse/solib-precsave.exp
13609 * gdb.reverse/step-precsave.exp
13610 * gdb.reverse/until-precsave.exp
13611 * gdb.reverse/watch-precsave.exp
13612 * gdb.server/ext-attach.exp
13613 * gdb.server/ext-restart.exp
13614 * gdb.server/ext-run.exp
13615 * gdb.server/ext-wrapper.exp
13616 * gdb.stabs/gdb11479.exp
13617 * gdb.stabs/weird.exp
13618 * gdb.threads/attach-many-short-lived-threads.exp
13619 * gdb.threads/kill.exp
13620 * gdb.threads/watchpoint-fork.exp
13621
bc6c7af4
LM
136222016-12-01 Luis Machado <lgustavo@codesourcery.com>
13623
13624 Fix test names starting with uppercase throughout all the files below.
13625
13626 * gdb.ada/array_return.exp
13627 * gdb.ada/catch_ex.exp
13628 * gdb.ada/info_exc.exp
13629 * gdb.ada/mi_catch_ex.exp
13630 * gdb.ada/mi_dyn_arr.exp
13631 * gdb.ada/mi_ex_cond.exp
13632 * gdb.ada/mi_exc_info.exp
13633 * gdb.ada/mi_interface.exp
13634 * gdb.ada/mi_task_arg.exp
13635 * gdb.ada/mi_task_info.exp
13636 * gdb.ada/mi_var_array.exp
13637 * gdb.arch/alpha-step.exp
13638 * gdb.arch/amd64-disp-step.exp
13639 * gdb.arch/arm-disp-step.exp
13640 * gdb.arch/disp-step-insn-reloc.exp
13641 * gdb.arch/e500-prologue.exp
13642 * gdb.arch/ftrace-insn-reloc.exp
13643 * gdb.arch/gdb1558.exp
13644 * gdb.arch/i386-bp_permanent.exp
13645 * gdb.arch/i386-disp-step.exp
13646 * gdb.arch/i386-float.exp
13647 * gdb.arch/i386-gnu-cfi.exp
13648 * gdb.arch/ia64-breakpoint-shadow.exp
13649 * gdb.arch/mips16-thunks.exp
13650 * gdb.arch/pa-nullify.exp
13651 * gdb.arch/powerpc-aix-prologue.exp
13652 * gdb.arch/powerpc-power.exp
13653 * gdb.arch/ppc-dfp.exp
13654 * gdb.arch/s390-tdbregs.exp
13655 * gdb.arch/spu-info.exp
13656 * gdb.arch/spu-ls.exp
13657 * gdb.arch/thumb-bx-pc.exp
13658 * gdb.base/advance.exp
13659 * gdb.base/annota-input-while-running.exp
13660 * gdb.base/arrayidx.exp
13661 * gdb.base/asmlabel.exp
13662 * gdb.base/async.exp
13663 * gdb.base/attach-wait-input.exp
13664 * gdb.base/auto-connect-native-target.exp
13665 * gdb.base/batch-preserve-term-settings.exp
13666 * gdb.base/bfp-test.exp
13667 * gdb.base/bigcore.exp
13668 * gdb.base/bp-permanent.exp
13669 * gdb.base/break-always.exp
13670 * gdb.base/break-fun-addr.exp
13671 * gdb.base/break-idempotent.exp
13672 * gdb.base/break-main-file-remove-fail.exp
13673 * gdb.base/break-probes.exp
13674 * gdb.base/break-unload-file.exp
13675 * gdb.base/break.exp
13676 * gdb.base/call-ar-st.exp
13677 * gdb.base/call-rt-st.exp
13678 * gdb.base/call-sc.exp
13679 * gdb.base/call-signal-resume.exp
13680 * gdb.base/call-strs.exp
13681 * gdb.base/callexit.exp
13682 * gdb.base/callfuncs.exp
13683 * gdb.base/catch-gdb-caused-signals.exp
13684 * gdb.base/catch-signal-siginfo-cond.exp
13685 * gdb.base/catch-syscall.exp
13686 * gdb.base/compare-sections.exp
13687 * gdb.base/cond-eval-mode.exp
13688 * gdb.base/condbreak-call-false.exp
13689 * gdb.base/consecutive-step-over.exp
13690 * gdb.base/cursal.exp
13691 * gdb.base/disabled-location.exp
13692 * gdb.base/disasm-end-cu.exp
13693 * gdb.base/display.exp
13694 * gdb.base/double-prompt-target-event-error.exp
13695 * gdb.base/dprintf-bp-same-addr.exp
13696 * gdb.base/dprintf-detach.exp
13697 * gdb.base/dprintf-next.exp
13698 * gdb.base/dprintf-non-stop.exp
13699 * gdb.base/dprintf-pending.exp
13700 * gdb.base/dso2dso.exp
13701 * gdb.base/ending-run.exp
13702 * gdb.base/enum_cond.exp
13703 * gdb.base/examine-backward.exp
13704 * gdb.base/exe-lock.exp
13705 * gdb.base/exec-invalid-sysroot.exp
13706 * gdb.base/execl-update-breakpoints.exp
13707 * gdb.base/execution-termios.exp
13708 * gdb.base/fileio.exp
13709 * gdb.base/fixsection.exp
13710 * gdb.base/foll-exec-mode.exp
13711 * gdb.base/foll-exec.exp
13712 * gdb.base/fork-running-state.exp
13713 * gdb.base/frame-args.exp
13714 * gdb.base/fullpath-expand.exp
13715 * gdb.base/func-ptr.exp
13716 * gdb.base/gcore-relro-pie.exp
13717 * gdb.base/gdb1090.exp
13718 * gdb.base/gdb1555.exp
13719 * gdb.base/global-var-nested-by-dso.exp
13720 * gdb.base/gnu-ifunc.exp
13721 * gdb.base/hbreak-in-shr-unsupported.exp
13722 * gdb.base/hbreak-unmapped.exp
13723 * gdb.base/hook-stop.exp
13724 * gdb.base/infcall-input.exp
13725 * gdb.base/info-fun.exp
13726 * gdb.base/info-shared.exp
13727 * gdb.base/interrupt-noterm.exp
13728 * gdb.base/jit-so.exp
13729 * gdb.base/jit.exp
13730 * gdb.base/line-symtabs.exp
13731 * gdb.base/list.exp
13732 * gdb.base/longjmp.exp
13733 * gdb.base/macscp.exp
13734 * gdb.base/max-value-size.exp
13735 * gdb.base/nodebug.exp
13736 * gdb.base/nofield.exp
13737 * gdb.base/overlays.exp
13738 * gdb.base/paginate-after-ctrl-c-running.exp
13739 * gdb.base/paginate-bg-execution.exp
13740 * gdb.base/paginate-inferior-exit.exp
13741 * gdb.base/pending.exp
13742 * gdb.base/pr11022.exp
13743 * gdb.base/printcmds.exp
13744 * gdb.base/ptr-typedef.exp
13745 * gdb.base/ptype.exp
13746 * gdb.base/randomize.exp
13747 * gdb.base/range-stepping.exp
13748 * gdb.base/realname-expand.exp
13749 * gdb.base/relativedebug.exp
13750 * gdb.base/remote.exp
13751 * gdb.base/savedregs.exp
13752 * gdb.base/sepdebug.exp
13753 * gdb.base/set-noassign.exp
13754 * gdb.base/shlib-call.exp
13755 * gdb.base/shreloc.exp
13756 * gdb.base/sigaltstack.exp
13757 * gdb.base/sigbpt.exp
13758 * gdb.base/siginfo-addr.exp
13759 * gdb.base/siginfo-obj.exp
13760 * gdb.base/siginfo-thread.exp
13761 * gdb.base/signest.exp
13762 * gdb.base/signull.exp
13763 * gdb.base/sigrepeat.exp
13764 * gdb.base/skip.exp
13765 * gdb.base/so-impl-ld.exp
13766 * gdb.base/solib-corrupted.exp
13767 * gdb.base/solib-disc.exp
13768 * gdb.base/solib-display.exp
13769 * gdb.base/solib-overlap.exp
13770 * gdb.base/solib-search.exp
13771 * gdb.base/solib-symbol.exp
13772 * gdb.base/source-execution.exp
13773 * gdb.base/sss-bp-on-user-bp-2.exp
13774 * gdb.base/sss-bp-on-user-bp.exp
13775 * gdb.base/stack-checking.exp
13776 * gdb.base/stale-infcall.exp
13777 * gdb.base/step-break.exp
13778 * gdb.base/step-line.exp
13779 * gdb.base/step-over-exit.exp
13780 * gdb.base/step-test.exp
13781 * gdb.base/structs.exp
13782 * gdb.base/sym-file.exp
13783 * gdb.base/symtab-search-order.exp
13784 * gdb.base/term.exp
13785 * gdb.base/type-opaque.exp
13786 * gdb.base/unload.exp
13787 * gdb.base/until-nodebug.exp
13788 * gdb.base/until.exp
13789 * gdb.base/unwindonsignal.exp
13790 * gdb.base/watch-cond.exp
13791 * gdb.base/watch-non-mem.exp
13792 * gdb.base/watch_thread_num.exp
13793 * gdb.base/watchpoint-reuse-slot.exp
13794 * gdb.base/watchpoint-solib.exp
13795 * gdb.base/watchpoint.exp
13796 * gdb.btrace/dlopen.exp
13797 * gdb.cell/arch.exp
13798 * gdb.cell/break.exp
13799 * gdb.cell/bt.exp
13800 * gdb.cell/core.exp
13801 * gdb.cell/data.exp
13802 * gdb.cell/dwarfaddr.exp
13803 * gdb.cell/ea-cache.exp
13804 * gdb.cell/ea-standalone.exp
13805 * gdb.cell/ea-test.exp
13806 * gdb.cell/f-regs.exp
13807 * gdb.cell/fork.exp
13808 * gdb.cell/gcore.exp
13809 * gdb.cell/mem-access.exp
13810 * gdb.cell/ptype.exp
13811 * gdb.cell/registers.exp
13812 * gdb.cell/sizeof.exp
13813 * gdb.cell/solib-symbol.exp
13814 * gdb.cell/solib.exp
13815 * gdb.compile/compile-tls.exp
13816 * gdb.cp/exception.exp
13817 * gdb.cp/gdb2495.exp
13818 * gdb.cp/local.exp
13819 * gdb.cp/mb-inline.exp
13820 * gdb.cp/mb-templates.exp
13821 * gdb.cp/pr10687.exp
13822 * gdb.cp/pr9167.exp
13823 * gdb.cp/scope-err.exp
13824 * gdb.cp/templates.exp
13825 * gdb.cp/virtfunc.exp
13826 * gdb.dwarf2/dw2-dir-file-name.exp
13827 * gdb.dwarf2/dw2-single-line-discriminators.exp
13828 * gdb.fortran/complex.exp
13829 * gdb.fortran/library-module.exp
13830 * gdb.guile/guile.exp
13831 * gdb.guile/scm-cmd.exp
13832 * gdb.guile/scm-frame-inline.exp
13833 * gdb.guile/scm-objfile.exp
13834 * gdb.guile/scm-pretty-print.exp
13835 * gdb.guile/scm-symbol.exp
13836 * gdb.guile/scm-type.exp
13837 * gdb.guile/scm-value.exp
13838 * gdb.linespec/keywords.exp
13839 * gdb.linespec/ls-errs.exp
13840 * gdb.linespec/macro-relative.exp
13841 * gdb.linespec/thread.exp
13842 * gdb.mi/mi-breakpoint-changed.exp
13843 * gdb.mi/mi-dprintf-pending.exp
13844 * gdb.mi/mi-fullname-deleted.exp
13845 * gdb.mi/mi-logging.exp
13846 * gdb.mi/mi-pending.exp
13847 * gdb.mi/mi-solib.exp
13848 * gdb.mi/new-ui-mi-sync.exp
13849 * gdb.mi/user-selected-context-sync.exp
13850 * gdb.multi/dummy-frame-restore.exp
13851 * gdb.multi/multi-arch-exec.exp
13852 * gdb.multi/remove-inferiors.exp
13853 * gdb.multi/watchpoint-multi-exit.exp
13854 * gdb.opt/solib-intra-step.exp
13855 * gdb.perf/backtrace.exp
13856 * gdb.perf/single-step.exp
13857 * gdb.perf/skip-command.exp
13858 * gdb.perf/skip-prologue.exp
13859 * gdb.perf/solib.exp
13860 * gdb.python/lib-types.exp
13861 * gdb.python/py-as-string.exp
13862 * gdb.python/py-bad-printers.exp
13863 * gdb.python/py-block.exp
13864 * gdb.python/py-breakpoint.exp
13865 * gdb.python/py-cmd.exp
13866 * gdb.python/py-events.exp
13867 * gdb.python/py-evthreads.exp
13868 * gdb.python/py-finish-breakpoint.exp
13869 * gdb.python/py-finish-breakpoint2.exp
13870 * gdb.python/py-frame-inline.exp
13871 * gdb.python/py-frame.exp
13872 * gdb.python/py-inferior.exp
13873 * gdb.python/py-infthread.exp
13874 * gdb.python/py-mi.exp
13875 * gdb.python/py-objfile.exp
13876 * gdb.python/py-pp-maint.exp
13877 * gdb.python/py-pp-registration.exp
13878 * gdb.python/py-prettyprint.exp
13879 * gdb.python/py-recurse-unwind.exp
13880 * gdb.python/py-shared.exp
13881 * gdb.python/py-symbol.exp
13882 * gdb.python/py-symtab.exp
13883 * gdb.python/py-template.exp
13884 * gdb.python/py-type.exp
13885 * gdb.python/py-unwind-maint.exp
13886 * gdb.python/py-unwind.exp
13887 * gdb.python/py-value.exp
13888 * gdb.python/python.exp
13889 * gdb.reverse/finish-reverse-bkpt.exp
13890 * gdb.reverse/insn-reverse.exp
13891 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13892 * gdb.reverse/solib-precsave.exp
13893 * gdb.reverse/solib-reverse.exp
13894 * gdb.stabs/gdb11479.exp
13895 * gdb.stabs/weird.exp
13896 * gdb.threads/fork-child-threads.exp
13897 * gdb.threads/fork-plus-threads.exp
13898 * gdb.threads/fork-thread-pending.exp
13899 * gdb.threads/forking-threads-plus-breakpoint.exp
13900 * gdb.threads/hand-call-in-threads.exp
13901 * gdb.threads/interrupted-hand-call.exp
13902 * gdb.threads/linux-dp.exp
13903 * gdb.threads/local-watch-wrong-thread.exp
13904 * gdb.threads/next-while-other-thread-longjmps.exp
13905 * gdb.threads/non-ldr-exit.exp
13906 * gdb.threads/pending-step.exp
13907 * gdb.threads/print-threads.exp
13908 * gdb.threads/process-dies-while-detaching.exp
13909 * gdb.threads/process-dies-while-handling-bp.exp
13910 * gdb.threads/pthreads.exp
13911 * gdb.threads/queue-signal.exp
13912 * gdb.threads/reconnect-signal.exp
13913 * gdb.threads/signal-command-handle-nopass.exp
13914 * gdb.threads/signal-command-multiple-signals-pending.exp
13915 * gdb.threads/signal-delivered-right-thread.exp
13916 * gdb.threads/signal-sigtrap.exp
13917 * gdb.threads/sigthread.exp
13918 * gdb.threads/staticthreads.exp
13919 * gdb.threads/stepi-random-signal.exp
13920 * gdb.threads/thread-unwindonsignal.exp
13921 * gdb.threads/thread_check.exp
13922 * gdb.threads/thread_events.exp
13923 * gdb.threads/tid-reuse.exp
13924 * gdb.threads/tls-nodebug.exp
13925 * gdb.threads/tls-shared.exp
13926 * gdb.threads/tls-so_extern.exp
13927 * gdb.threads/tls.exp
13928 * gdb.threads/wp-replication.exp
13929 * gdb.trace/actions-changed.exp
13930 * gdb.trace/actions.exp
13931 * gdb.trace/backtrace.exp
13932 * gdb.trace/change-loc.exp
13933 * gdb.trace/collection.exp
13934 * gdb.trace/deltrace.exp
13935 * gdb.trace/disconnected-tracing.exp
13936 * gdb.trace/entry-values.exp
13937 * gdb.trace/ftrace-lock.exp
13938 * gdb.trace/ftrace.exp
13939 * gdb.trace/infotrace.exp
13940 * gdb.trace/mi-trace-frame-collected.exp
13941 * gdb.trace/mi-trace-unavailable.exp
13942 * gdb.trace/mi-traceframe-changed.exp
13943 * gdb.trace/mi-tracepoint-changed.exp
13944 * gdb.trace/mi-tsv-changed.exp
13945 * gdb.trace/no-attach-trace.exp
13946 * gdb.trace/packetlen.exp
13947 * gdb.trace/passc-dyn.exp
13948 * gdb.trace/passcount.exp
13949 * gdb.trace/pending.exp
13950 * gdb.trace/pr16508.exp
13951 * gdb.trace/qtro.exp
13952 * gdb.trace/range-stepping.exp
13953 * gdb.trace/read-memory.exp
13954 * gdb.trace/report.exp
13955 * gdb.trace/save-trace.exp
13956 * gdb.trace/signal.exp
13957 * gdb.trace/stap-trace.exp
13958 * gdb.trace/status-stop.exp
13959 * gdb.trace/strace.exp
13960 * gdb.trace/tfile.exp
13961 * gdb.trace/tfind.exp
13962 * gdb.trace/trace-break.exp
13963 * gdb.trace/trace-condition.exp
13964 * gdb.trace/trace-enable-disable.exp
13965 * gdb.trace/trace-mt.exp
13966 * gdb.trace/tracecmd.exp
13967 * gdb.trace/tracefile-pseudo-reg.exp
13968 * gdb.trace/tspeed.exp
13969 * gdb.trace/tstatus.exp
13970 * gdb.trace/tsv.exp
13971 * gdb.trace/unavailable.exp
13972 * gdb.trace/while-dyn.exp
13973 * gdb.trace/while-stepping.exp
13974 * lib/gdb-guile.exp
13975 * lib/gdb.exp
13976 * lib/mi-support.exp
13977 * lib/pascal.exp
13978 * lib/perftest.exp
13979 * lib/prelink-support.exp
13980 * lib/selftest-support.exp
13981
ad02e4fe
SM
139822016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13983
13984 * Makefile.in: Include disable-implicit-rules.mk.
13985
22347e55
AA
139862016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13987
13988 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13989 non-byte-aligned bit fields.
13990
da5b30da
AA
139912016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13992
13993 PR gdb/12616
13994 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13995 respects the DW_AT_data_bit_offset attribute.
13996
b593ecca
SM
139972016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13998
13999 * gdb.base/default.exp: Fix output of "set language".
14000
3b165252
SM
140012016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14002
14003 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14004 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14005 make.
14006 * configure.ac: Remove checks for the make program.
14007 * configure: Re-generate.
14008
1a2f3d7f
KB
140092016-11-16 Kevin Buettner <kevinb@redhat.com>
14010
14011 * gdb.python/py-recurse-unwind.c (main): Add loop.
14012 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14013 to read_register() and gdb.parse_and_eval(). Make each code
14014 call a separate case that can be individually tested.
14015 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14016 proc. Call cont_and_backtrace for each of the code paths that
14017 we want to test in the unwinder.
14018
b7f38fda
AA
140192016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14020
14021 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14022 the definition of struct S.
14023
1f8db343
CM
140242016-11-11 Catherine Moore <clm@codesourcery.com>
14025
14026 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14027
fad0c9fb
PA
140282016-11-09 Pedro Alves <palves@redhat.com>
14029
14030 * gdb.base/commands.exp (runto_or_return): New procedure.
14031 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14032 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14033 (progvar_simple_while_test, progvar_complex_if_while_test)
14034 (if_while_breakpoint_command_test)
14035 (infrun_breakpoint_command_test, breakpoint_command_test)
14036 (user_defined_command_test, watchpoint_command_test)
14037 (test_command_prompt_position, redefine_hook_test)
14038 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14039 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14040 multi_line_input and multi_line. Remove gdb_expect and
14041 gdb_stop_suppressing_tests uses.
14042 * lib/gdb.exp (valnum_re): New global.
14043 (multi_line_input): New procedure.
14044
8354c62c
SM
140452016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14046
14047 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14048 Remove.
14049 (test_setup): Define with proc_with_prefix.
14050 (test_cli_inferior): Likewise.
14051 (test_cli_thread): Likewise.
14052 (test_cli_frame): Likewise.
14053 (test_cli_select_frame): Likewise.
14054 (test_cli_up_down): Likewise.
14055 (test_mi_thread_select): Likewise.
14056 (test_mi_stack_select_frame): Likewise.
14057 (test_cli_in_mi_inferior): Likewise.
14058 (test_cli_in_mi_thread): Likewise.
14059 (test_cli_in_mi_frame): Likewise.
14060 (top level): Do not use with_test_prefix_procname.
14061
64f367a2
PA
140622016-11-09 Pedro Alves <palves@redhat.com>
14063
14064 * gdb.base/commands.exp (gdbvar_simple_if_test)
14065 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14066 (progvar_simple_if_test, progvar_simple_while_test)
14067 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14068 (infrun_breakpoint_command_test, breakpoint_command_test)
14069 (user_defined_command_test, watchpoint_command_test)
14070 (test_command_prompt_position, deprecated_command_test)
14071 (bp_deleted_in_command, temporary_breakpoint_commands)
14072 (stray_arg0_test, source_file_with_indented_comment)
14073 (recursive_source_test, if_commands_test)
14074 (error_clears_commands_left, redefine_hook_test)
14075 (redefine_backtrace_test): Use proc_with_prefix.
14076 * lib/gdb.exp (proc_with_prefix): New proc.
14077
0bb65f1e
AA
140782016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14079
14080 * gdb.base/tui-layout.c: New file.
14081 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14082 disassembly window contains very long lines.
14083
7353f247
TT
140842016-11-08 Tom Tromey <tom@tromey.com>
14085
14086 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14087 depend on Python 2.
14088
30a7bb83
TT
140892016-11-08 Tom Tromey <tom@tromey.com>
14090
14091 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14092 New method.
14093
cdf5a07c
MG
140942016-10-29 Manish Goregaokar <manish@mozilla.com>
14095
2806dc7e 14096 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14097
51a789c3
MG
140982016-10-27 Manish Goregaokar <manish@mozilla.com>
14099
2806dc7e
PA
14100 * gdb.rust/simple.rs: Add test for univariant enums without
14101 discriminants and for encoded struct-like enums.
51a789c3 14102
f610ab6d
PA
141032016-10-28 Pedro Alves <palves@redhat.com>
14104
14105 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14106 gdb_test_multiple, tighten regexps and match symtabs and line
14107 tables incrementally.
14108
b129b0ca
LM
141092016-10-28 Luis Machado <lgustavo@codesourcery.com>
14110
14111 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14112 general.
14113
ecf45d2c
SL
141142016-10-25 Luis Machado <lgustavo@codesourcery.com>
14115
14116 * gdb.base/exec-invalid-sysroot.exp: New file.
14117
b8d38ee4
JK
141182016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14119
14120 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14121
f90fd8c2
JK
141222016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14123
14124 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14125
2d2476aa
MR
141262016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14127
2806dc7e
PA
14128 * gdb.base/killed-outside.exp: Remove $options from a call to
14129 `prepare_for_testing'.
2d2476aa 14130
e42b25a0
SM
141312016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14132
14133 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14134 Change test message.
14135
3ccdb432
SM
141362016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14137
14138 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14139 Update comment.
14140
5bad3170
SM
141412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14142
14143 * gdb.trace/mi-trace-save.exp: New file.
14144
5ad9dba7
YQ
141452016-10-13 Yao Qi <yao.qi@linaro.org>
14146
14147 * gdb.base/code_elim.exp (get_var_address): Remove.
14148 * gdb.base/relocate.exp: Likewise.
14149 * gdb.base/shreloc.exp: Likewise.
14150 * lib/gdb.exp (get_var_address): New.
14151
62df7e21
YQ
141522016-10-13 Yao Qi <yao.qi@linaro.org>
14153
14154 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14155 floating point tests if $skip_float_test is false.
14156
4dac951e
LM
141572016-10-12 Luis Machado <lgustavo@codesourcery.com>
14158
14159 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14160 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14161 argc values.
14162 Add 1 to argc so we guarantee distinct initial/modified argc values.
14163
8f1a8fc4
JK
141642016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14165
14166 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14167
16c85b5d
JK
141682016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14169
14170 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14171 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14172 * gdb.arch/vsx-regs.exp: Likewise.
14173
1d0e042a
YQ
141742016-10-07 Yao Qi <yao.qi@linaro.org>
14175
14176 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14177
68dadef5
MM
141782016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14179
14180 * gdb.python/python.exp: Test decode_line("*0").
14181
33fa2c6e
DE
141822016-10-06 Doug Evans <dje@google.com>
14183
14184 * gdb.python/py-value.exp (test_value_creation): Add test for large
14185 unsigned 64-bit value.
14186
9c37b5ae
TT
141872016-10-06 Tom Tromey <tom@tromey.com>
14188
14189 * gdb.compile/compile.exp: Change java tests to rust.
14190 * gdb.base/setshow.exp: Change java tests to rust.
14191 * gdb.base/default.exp: Remove java from language list.
14192 * README (Examples): Update language example.
14193 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14194 test.
14195 * lib/gdb.exp (skip_java_tests): Remove.
14196 * lib/java.exp: Remove.
14197 * gdb.java: Remove.
14198
78b86327
MR
141992016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14200
14201 * gdb.arch/mips-fcr.exp: New test.
14202 * gdb.arch/mips-fcr.c: Source for the new test.
14203
7470adbb
MR
142042016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14205
14206 * gdb.base/solib-disc.exp: Use `standard_output_file'
14207 throughout.
14208
4a556533
PA
142092016-10-06 Pedro Alves <palves@redhat.com>
14210
14211 * gdb.base/jit-simple-dl.c: New file.
14212 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14213 * gdb.base/jit-simple.c: ... this.
14214 * gdb.base/jit-simple.exp (jit_run): Delete.
14215 (build_jit): New proc.
14216 (jit_test_reread): Recompile either the main program or the shared
14217 library, depending on what is being tested. Skip changing address
14218 if caller wants to. Compare before/after addresses. If testing
14219 standalone, explicitly load the binary. Test "maint info
14220 breakpoints".
14221 (top level): Add "standalone vs shared lib" and "change address"
14222 vs "same address" axes.
14223
5a122fbc
PA
142242016-10-06 Pedro Alves <palves@redhat.com>
14225
14226 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14227 call.
14228 (jit_run): Delete.
14229 (jit_test_reread): Use with_test_prefix. Reload the main binary
14230 explicitly. Compare the before/after addresses of the JIT
14231 descriptor.
14232
ee8da4b8
DE
142332016-08-15 Doug Evans <dje@google.com>
14234
14235 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14236 for single bitfields is bool.
14237 * gdb.xml/tdesc-regs.exp: Ditto.
14238
f389f6fe
JK
142392016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14240
14241 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14242
fdebf1a4
YQ
142432016-10-05 Yao Qi <yao.qi@linaro.org>
14244
14245 * lib/gdb.exp (support_complex_tests): Return zero if
14246 gdb_skip_float_test return true.
14247
9c36d954 142482016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14249 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14250
14251 PR gdb/20487
14252 * gdb.mi/user-selected-context-sync.exp: New file.
14253 * gdb.mi/user-selected-context-sync.c: New file.
14254
4034d0ff 142552016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14256 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14257
14258 PR gdb/20487
14259 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14260 =thread-select-event check.
14261
a4297203
PB
142622016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14263
14264 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14265 the compulsory L operand changes.
14266 * gdb.arch/powerpc-power.s: Likewise.
14267
bb805577
JK
142682016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14269
14270 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14271 * gdb.base/jit-attach-pie.c: New file.
14272 * gdb.base/jit-attach-pie.exp: New file.
14273
6d61dee5
PA
142742016-09-28 Pedro Alves <palves@redhat.com>
14275
14276 * gdb.base/infcall-input.c: New file.
14277 * gdb.base/infcall-input.exp: New file.
14278
f73842fc
YQ
142792016-09-22 Yao Qi <yao.qi@linaro.org>
14280
14281 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14282 (gdb_exit): Rename it to ...
14283 (gdbserver_gdb_exit): ... Close GDBserver.
14284 (gdb_exit): New proc, call gdbserver_gdb_exit.
14285 (mi_gdb_exit): Likewise.
14286
90681dab
YQ
142872016-09-22 Yao Qi <yao.qi@linaro.org>
14288
14289 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14290 path.
14291 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14292 Remove duplication.
14293
9c211fd8
YQ
142942016-09-22 Yao Qi <yao.qi@linaro.org>
14295
14296 * lib/gdbserver-support.exp: Check the existence of
14297 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14298
ad0a504f
AK
142992016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14300
14301 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14302
36cf1806
TT
143032016-09-21 Tom Tromey <tom@tromey.com>
14304
14305 PR gdb/20604:
14306 * gdb.base/quit.exp: New file.
14307
74172ecf
SM
143082016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14309
14310 * .gitignore: New file.
14311
3d0ec882
MR
143122016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14313
14314 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14315 throughout.
14316
8193adea
AA
143172016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14318
14319 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14320
d41a5c09
JK
143212016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14322
14323 * gdb.cp/casts.cc (decltype): Move it ...
14324 (main): ... with its call to ...
14325 * gdb.cp/casts03.cc: ... a new file.
14326 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14327
d2dfe700
JK
143282016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14329
14330 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14331
e2a92b16
PB
143322016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14333
14334 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14335 and sync up the test with tests in gas/testsuite/gas/ppc.
14336 * gdb.arch/powerpc-power.exp: Likewise.
14337
49b4de64
JK
143382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14339
14340 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14341
2c29df25
SDJ
143422016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14343 Jan Kratochvil <jan.kratochvil@redhat.com>
14344
14345 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14346 make m1's definition to be different from m2's. Use 'dummy' as an
14347 argument for probe 'two'.
14348
cc3c2846
JB
143492016-09-10 Jon Beniston <jon@beniston.com>
14350
14351 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14352 for sim target.
14353
e1b2624a
AA
143542016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14355
14356 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14357 variable declaration.
14358 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14359 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14360 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14361 received HWCAP as its argument.
14362
4295e285
PA
143632016-09-06 Pedro Alves <palves@redhat.com>
14364
14365 * gdb.base/new-ui-pending-input.c: New file.
14366 * gdb.base/new-ui-pending-input.exp: New file.
14367 * gdb.exp (clear_gdb_spawn_id): New procedure.
14368 (with_spawn_id): Check whether gdb_spawn_id exists before
14369 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14370 on exit.
14371
00d5215e
UW
143722016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14373
14374 * gdb.base/float128.c: New file.
14375 * gdb.base/float128.exp: Likewise.
14376 * gdb.base/floatn.c: Likewise.
14377 * gdb.base/floatn.exp: Likewise.
14378
a9ff5f12
UW
143792016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14380
14381 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14382
f245535c
PA
143832016-09-05 Pedro Alves <palves@redhat.com>
14384
14385 PR backtrace/19927
14386 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14387 unwinders are immediately called as side effect of "source" or
14388 "disable unwinder" commands.
14389 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14390
ae9cf263
YQ
143912016-09-02 Yao Qi <yao.qi@linaro.org>
14392
14393 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14394 is true and $type is "float" or "double".
14395
27aba047
YQ
143962016-09-02 Yao Qi <yao.qi@linaro.org>
14397
14398 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14399 true.
14400 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14401 * gdb.base/call-rt-st.exp: Likewise.
14402 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14403 return value instead of gdb,skip_float_test.
14404 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14405 (do_function_calls): Use its return value instead of
14406 gdb,skip_float_test.
14407 * gdb.base/finish.exp: Likewise.
14408 * gdb.base/funcargs.exp: Likewise.
14409 * gdb.base/return.exp: Likewise.
14410 * gdb.base/return2.exp: Likewise.
14411 * gdb.base/varargs.exp: Likewise.
14412 * lib/gdb.exp (gdb_skip_float_test): Change it to
14413 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14414
5af962df
AA
144152016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14416
14417 * gdb.multi/tids.exp: Test "thread apply all".
14418
7fac6910
JK
144192016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14420
14421 * gdb.base/default.exp (tty): Remove.
14422
bb1fe4ac
KB
144232016-08-24 Kevin Buettner <kevinb@redhat.com>
14424
2806dc7e
PA
14425 * gdb.python/py-recurse-unwind.c: New file.
14426 * gdb.python/py-recurse-unwind.py: New file.
14427 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14428
0a1ddfa6
SM
144292016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14430
14431 * gdb.base/set-inferior-tty.exp: New file.
14432 * gdb.base/set-inferior-tty.c: New file.
14433
d9de1fe3
PA
144342016-08-23 Pedro Alves <palves@redhat.com>
14435
14436 PR gdb/20494
14437 * gdb.base/new-ui-echo.c: New file.
14438 * gdb.base/new-ui-echo.exp: New file.
14439
e9d9abd7
YQ
144402016-08-23 Yao Qi <yao.qi@linaro.org>
14441
14442 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14443 gdbserver_spawn.
14444 * gdb.server/connect-without-multi-process.exp (do_test):
14445 Likewise.
14446
3589529e
YQ
144472016-08-23 Yao Qi <yao.qi@linaro.org>
14448
14449 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14450 standalone_txt. Delete gdb_txt and standalone_txt on host
14451 and target. Spawn the binary on target. Copy files from
14452 target to host.
14453
6bb90213
PA
144542016-08-22 Pedro Alves <palves@redhat.com>
14455
14456 PR gdb/20505
14457 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14458 with_test_prefix. Factor out bits to ...
14459 (test_no_vdso): ... this new procedure.
14460
20c2c024
CL
144612016-08-19 Carl Love <cel@us.ibm.com>
14462
14463 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14464 maintaining separate logic for constructing the output path.
14465 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14466 * gdb.arch/ppc-dfp.exp: Likewise.
14467 * gdb.arch/ppc-fp.exp: Likewise.
14468 * gdb.arch/vsx-regs.exp: Likewise.
14469 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14470 binprefix for generating the additional binary files.
14471
0646e07d
PA
144722016-08-19 Pedro Alves <palves@redhat.com>
14473
14474 * gdb.trace/mi-trace-frame-collected.exp
14475 (test_trace_frame_collected): On x32, expect two registers.
14476
46da9242
CL
144772016-08-18 Carl Love <cel@us.ibm.com>
14478
14479 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14480 and sync up the test with tests in gas/testsuite/gas/ppc.
14481 * gdb.arch/powerpc-power.exp: Likewise.
14482
eb2332d7
SM
144832016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14484
14485 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14486 expected error message.
14487
63c61e04
SM
144882016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14489
14490 * gdb.multi/remove-inferiors.exp: New file.
14491 * gdb.multi/remove-inferiors.c: New file.
14492
7b17065f
YQ
144932016-08-12 Yao Qi <yao.qi@linaro.org>
14494
14495 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14496 argument list.
14497
01d3dedf
PA
144982016-08-10 Pedro Alves <palves@redhat.com>
14499
14500 PR gdb/19187
14501 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14502 setup_kfails.
14503
3eb7562a
PA
145042016-08-09 Pedro Alves <palves@redhat.com>
14505 Simon Marchi <simon.marchi@ericsson.com>
14506
14507 PR gdb/20418
14508 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14509 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14510
80614914
PA
145112016-08-09 Pedro Alves <palves@redhat.com>
14512
14513 PR mi/20431
14514 * gdb.mi/mi-cmd-error.exp: New file.
14515
f348d89a
PA
145162016-08-09 Pedro Alves <palves@redhat.com>
14517
14518 PR gdb/18653
14519 * gdb.base/signals-state-child.c: New file.
14520 * gdb.base/signals-state-child.exp: New file.
14521 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14522
e5ca03b4
PA
145232016-08-09 Pedro Alves <palves@redhat.com>
14524
14525 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14526
282a0691
TT
145272016-08-03 Tom Tromey <tom@tromey.com>
14528
14529 PR python/18565:
14530 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14531
41bfcd63
YQ
145322016-08-01 Yao Qi <yao.qi@linaro.org>
14533
14534 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14535 variable mode to "multi-process" if $multi_process is 1, otherwise
14536 set it to "single-process".
14537
e3465b24
YQ
145382016-08-01 Yao Qi <yao.qi@linaro.org>
14539
14540 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14541 * gdb.cp/cpexprs.exp: Likewise.
14542 * gdb.cp/m-static.exp: Likewise.
14543
0b31a4bc
TT
145442016-07-26 Tom Tromey <tom@tromey.com>
14545
14546 PR python/20190:
14547 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14548 test.
14549
e0461dbb
MM
145502016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14551
14552 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14553 selecting assembly source files.
14554 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14555 assembly source files.
14556 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14557 assembly source files.
14558 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14559 selecting assembly source files.
14560
8194e927
SM
145612016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14562
14563 * gdb.base/new-ui.exp (do_test_invalid_args): New
14564 procedure.
14565
c0272db5
TW
145662016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14567
14568 * gdb.btrace/reconnect.c: New file.
14569 * gdb.btrace/reconnect.exp: New file.
14570
e3487908
GKB
145712016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14572
14573 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14574 to test_catch_syscall_group.
14575 (test_catch_syscall_group): New.
14576
12df5c00
TT
145772016-07-21 Tom Tromey <tom@tromey.com>
14578
14579 * gdb.rust/simple.rs (main): Use empty struct expression.
14580 * gdb.rust/simple.exp: Add tests for empty struct expression.
14581
bae62ee2
YQ
145822016-07-21 Yao Qi <yao.qi@linaro.org>
14583
14584 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14585 if gdb_skip_xml_test is true on some targets.
14586
b1b53fb3
YQ
145872016-07-21 Yao Qi <yao.qi@linaro.org>
14588
14589 * gdb.server/solib-list.exp: Unset last_loaded_file.
14590
027d97f8
JK
145912016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14592
14593 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14594 "step into captured_main (args)".
14595
7674d381
JK
145962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14597
14598 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14599
72b5d099
JK
146002016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14601
14602 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14603
1f960ced
PA
146042016-07-19 Pedro Alves <palves@redhat.com>
14605
14606 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14607 * gdb.opt/inline-bt.exp: Likewise.
14608 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14609 additional_flags=-Winline.
14610 * gdb.opt/inline-locals.exp: Likewise.
14611 * gdb.opt/inline-markers.c (ATTR): Define.
14612 (inlined_fn): Use it.
14613
f25827c1
YQ
146142016-07-19 Yao Qi <yao.qi@linaro.org>
14615
14616 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14617 (test_with_self): Remove some code. Remove argument executable.
14618 (top-level): Use do_self_tests.
14619
37539ebe
DB
146202016-07-15 Zachary Welch <zwelch@codesourcery.com>
14621 Don Breazeal <donb@codesourcery.com>
14622
14623 * gdb.base/maint.exp: Escape paths used in regular expressions.
14624 * gdb.stabs/weird.exp: Likewise.
14625
dac790e1
TT
146262016-07-13 Tom Tromey <tom@tromey.com>
14627
14628 PR python/15620, PR python/18620:
14629 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14630 (test_bkpt_events): New procs.
14631
93daf339
TT
146322016-07-13 Tom Tromey <tom@tromey.com>
14633
14634 PR python/17698:
14635 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14636 test.
14637 (test_watchpoints): Likewise.
14638 (test_bkpt_pending): New proc.
14639
6571a381
TT
146402016-07-13 Tom Tromey <tom@tromey.com>
14641
14642 PR cli/18053:
14643 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14644 completion test.
14645
e8732474
JK
146462016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14647
14648 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14649 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14650 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14651 f_label.
14652 (g): Rename g_end_lbl to g_label.
14653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14654 low_pc and high_pc.
14655 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14656
e0f3fd7c
TT
146572016-07-12 Tom Tromey <tom@tromey.com>
14658
14659 PR python/19293:
14660 * gdb.python/py-unwind-maint.exp: Update tests.
14661
3cfe46b6
YQ
146622016-07-12 Yao Qi <yao.qi@linaro.org>
14663
14664 * lib/selftest-support.exp (selftest_setup): Match the output
14665 when captured_main is inlined.
14666
4f19a0e6
WT
146672016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14668
14669 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14670 New variables.
14671 (print this%a, print this%b, print this): New tests.
14672 * gdb.fortran/derived-types.f90 (this): New object and
14673 initialization.
14674
986cf455
SM
146752016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14676
14677 * gdb.ada/arraydim.exp: Remove extra directory level in build
14678 directory.
14679
f0464b23
SM
146802016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14681
14682 * lib/ada.exp: Remove extra directory level in build directory.
14683 * gdb.ada/cond_lang.exp: Likewise.
14684 * gdb.ada/exec_changed.exp: Likewise.
14685 * gdb.ada/lang_switch.exp: Likewise.
14686
42d94011
MG
146872016-07-06 Manish Goregaokar <manish@mozilla.com>
14688
2806dc7e
PA
14689 * simple.rs: Add test for raw pointer subscripting.
14690 * simple.exp: Add test expectations.
42d94011 14691
647c264c
YQ
146922016-07-05 Yao Qi <yao.qi@linaro.org>
14693
14694 * gdb.mi/mi-reverse.exp: Match =record-started output.
14695
20aa2c60
PA
146962016-07-01 Pedro Alves <palves@redhat.com>
14697
14698 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14699 procedure.
14700 (jit_reader_test): Test the jit reader's unwinder.
14701 * gdb.base/jithost.c (jit_function_00_code): New global.
14702 (main): Use memcpy to fill in the mmapped code, instead of poking
14703 bytes manually here.
14704 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14705 value.
14706 (read_debug_info): Save the function's range.
14707 (read_sp): New function.
14708 (unwind_frame): Use it. Also unwind RBP.
14709 (get_frame_id): Use read_sp.
14710 (gdb_init_reader): Use calloc instead of malloc.
14711 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14712 parameter. Use gdb_test_multiple.
14713
ced2dffb
PA
147142016-07-01 Pedro Alves <palves@redhat.com>
14715 Antoine Tremblay <antoine.tremblay@ericsson.com>
14716
14717 * gdb.threads/process-dies-while-detaching.c: New file.
14718 * gdb.threads/process-dies-while-detaching.exp: New file.
14719
63000888
PA
147202016-07-01 Pedro Alves <palves@redhat.com>
14721
14722 * gdb.multi/watchpoint-multi-exit.c: New file.
14723 * gdb.multi/watchpoint-multi-exit.exp: New file.
14724
038d4868
PA
147252016-06-30 Pedro Alves <palves@redhat.com>
14726
14727 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14728 unset inferior_spawn_id.
14729
994e9c83
PA
147302016-06-30 Pedro Alves <palves@redhat.com>
14731
14732 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14733 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14734
e5653468
YQ
147352016-06-29 Yao Qi <yao.qi@linaro.org>
14736
14737 * gdb.base/return.c: Add copyright header.
14738
803b47e5
TT
147392016-06-29 Tom Tromey <tom@tromey.com>
14740
14741 PR python/20129:
14742 * gdb.python/py-framefilter.exp: Add tests for setting priority
14743 and disabling of non-existent frame filter.
14744
28244707
YQ
147452016-06-29 Yao Qi <yao.qi@linaro.org>
14746
14747 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14748 0x0f07ff.
14749
a31d2f06
YQ
147502016-06-28 Yao Qi <yao.qi@linaro.org>
14751
14752 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14753 triplets. Start gdb, execute catch syscall, and continue. Check
14754 gdb's output to determine catch syscall is supported.
14755
921d8f54
MG
147562016-06-27 Manish Goregaokar <manish@mozilla.com>
14757
25d49b86
PA
14758 * gdb.rust/simple.rs: Add test for returning unit in a function.
14759 * gdb.rust/simple.exp: Add expectation for functions returning
14760 unit.
921d8f54 14761
f4952523
PMR
147622016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14763
14764 * gdb.python/py-breakpoint-create-fail.c,
14765 gdb.python/py-breakpoint-create-fail.exp,
14766 gdb.python/py-breakpoint-create-fail.py: New testcase.
14767
fccb08f8
MG
147682016-06-25 Manish Goregaokar <manish@mozilla.com>
14769
14770 PR gdb/20239
14771 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14772 * gdb.rust/simple.exp: Add test expectations for new NonZero
14773 tests.
fccb08f8 14774
6b850546
DT
147752016-06-24 David Taylor <dtaylor@emc.com>
14776
14777 * gdb.base/offsets.exp: New file.
14778 * gdb.base/offsets.c: New file.
14779
17621150
TT
147802016-06-23 Tom Tromey <tom@tromey.com>
14781
14782 PR gdb/16483:
14783 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14784 before any filters are loaded.
14785
04d59df6
WT
147862016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14787
14788 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14789 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14790 structs.
14791 * gdb.fortran/derived-type-function.exp: New file.
14792 * gdb.fortran/derived-type-function.f90: New file.
14793
14794
ac69f786
PA
147952016-06-21 Pedro Alves <palves@redhat.com>
14796
14797 * gdb.base/new-ui.exp: New file.
14798 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14799 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14800 (with_spawn_id): New procedure.
14801
49940788
PA
148022016-06-21 Pedro Alves <palves@redhat.com>
14803
14804 * gdb.mi/mi-exec-run.exp: New file.
14805
ef274d26
PA
148062016-06-21 Pedro Alves <palves@redhat.com>
14807
14808 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14809 breakpoint command's output on the main UI.
14810 (test_break): New procedure, factored out from calls in the top
14811 level.
14812 (top level): Use foreach_with_prefix to test MI as main UI and as
14813 separate UI.
14814
468afe6c
PA
148152016-06-21 Pedro Alves <palves@redhat.com>
14816
14817 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14818 (test_awatch_creation_and_listing)
14819 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14820 Remove 'type' parameter.
14821 (test_watchpoint_all): New parameter mi_mode. Remove
14822 with_test_prefix.
14823 (top level): Use foreach_with_prefix, and add main/separate UI MI
14824 testing axis.
14825
51f77c37
PA
148262016-06-21 Pedro Alves <palves@redhat.com>
14827
14828 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14829 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14830 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14831 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14832 (gdb_main_spawn_id, mi_spawn_id): Declare and
14833 comment.
14834 (mi_create_inferior_pty): New procedure,
14835 factored out from default_mi_gdb_start.
14836 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14837 procedures.
14838 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14839 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14840 Use mi_create_inferior_pty.
14841 (mi_gdb_start): Use eval to pass down args list.
14842
8980e177
PA
148432016-06-21 Pedro Alves <palves@redhat.com>
14844
14845 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14846 * gdb.opt/inline-cmds.exp: Add MI tests.
14847
f38d3ad1
PA
148482016-06-21 Pedro Alves <palves@redhat.com>
14849
14850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14851
45db7c09
PA
148522016-06-21 Pedro Alves <palves@redhat.com>
14853
14854 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14855 (top level): Use it instead of mi_execute_to.
14856
5a069ab3
PA
148572016-06-21 Pedro Alves <palves@redhat.com>
14858
14859 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14860 (cont_handler_str): New.
14861 (signal_stop_handler): Set stop_handler_str instead of printing to
14862 stdout.
14863 (continue_handler): Set cont_handler_str instead of printing to
14864 stdout.
14865 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14866 mi_send_resuming_command. Print stop_handler_str and
14867 cont_handler_str instead of expecting the python events print
14868 directly.
14869
2838cc1d
SD
148702016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14871
14872 * gdb.base/jit-reader.exp: New file.
14873 * gdb.base/jithost.c: New file.
14874 * gdb.base/jithost.h: New file.
14875 * gdb.base/jitreader.c : New file.
14876 * gdb.base/jit-protocol.h: New file.
14877
21a77091
YQ
148782016-06-17 Yao Qi <yao.qi@linaro.org>
14879
14880 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14881 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14882 and detach-on-fork. Adjust tests.
14883 (top level): Invoke break_cond_on_syscall with combinations of
14884 syscall, follow-fork-mode and detach-on-fork.
14885
f50bf8e5
YQ
148862016-06-17 Yao Qi <yao.qi@linaro.org>
14887
14888 * gdb.base/step-over-exit.c: New.
14889 * gdb.base/step-over-exit.exp: New.
14890
a28d8e50
YTL
148912016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14892
14893 * gdb.base/float.exp: Add target check for nds32*-*-*.
14894 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14895
cad8e26d
AB
148962016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14897
14898 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14899 for unsupported target features.
14900 * gdb.base/call-rt-st.exp: Likewise.
14901 * gdb.base/call-sc.exp: Likewise.
14902 * gdb.base/call-signal-resume.exp: Likewise.
14903 * gdb.base/call-strs.exp: Likewise.
14904 * gdb.base/callexit.exp: Likewise.
14905 * gdb.base/callfuncs.exp: Likewise.
14906 * gdb.base/nodebug.exp: Likewise.
14907 * gdb.base/printcmds.exp: Likewise.
14908 * gdb.base/ptype.exp: Likewise.
14909 * gdb.base/structs.exp: Likewise.
14910 * gdb.base/unwindonsignal.exp: Likewise.
14911 * gdb.cp/gdb2495.exp: Likewise.
14912 * gdb.cp/templates.exp: Likewise.
14913 * gdb.cp/virtfunc.exp: Likewise.
14914 * gdb.threads/hand-call-in-threads.exp: Likewise.
14915 * gdb.threads/interrupted-hand-call.exp: Likewise.
14916 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14917
347dc102
TT
149182016-06-10 Tom Tromey <tom@tromey.com>
14919
14920 PR rust/20110:
14921 * gdb.rust/expr.exp: Add test for integer constant larger than
14922 i32.
14923
5e13cf25
BH
149242016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14925
14926 * gdb.fortran/nested-funcs.exp: New.
14927 * gdb.fortran/nested-funcs.f90: New.
14928
bb556f1f
TK
149292016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14930
14931 * gdb.base/examine-backward.c: New file.
14932 * gdb.base/examine-backward.exp: New file.
14933
38b022b4
SM
149342016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14935
14936 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14937 matching.
14938
1b40ec05
TT
149392016-06-02 Tom Tromey <tom@tromey.com>
14940
14941 PR python/18984:
14942 * gdb.python/py-shared.exp: Add solib_name test.
14943
193bd378
SM
149442016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14945
14946 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14947
3326303b
MG
149482016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14949
14950 PR c++/19893
14951 * gdb.dwarf2/implref.exp: Rename to...
14952 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14953 * gdb.dwarf2/implref-array.c: New file.
14954 * gdb.dwarf2/implref-array.exp: Likewise.
14955 * gdb.dwarf2/implref-global.c: Likewise.
14956 * gdb.dwarf2/implref-global.exp: Likewise.
14957 * gdb.dwarf2/implref-struct.c: Likewise.
14958 * gdb.dwarf2/implref-struct.exp: Likewise.
14959
825c8ef2
AT
149602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14961
14962 * gdb.trace/trace-condition.exp: Add 64bit tests.
14963
2320162a
AT
149642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14965
14966 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14967 bits types.
14968 (main): Adapt to 8 to 64 bits types.
14969 * gdb.trace/trace-condition.exp: Add new tests.
14970
a7818233
AT
149712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14972
14973 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14974
0d336466
AT
149752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14976
14977 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14978 Move condition tests...
14979 * gdb.trace/trace-condition.exp: Here.
14980
7faeb45a
AT
149812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14982
14983 * gdb.trace/trace-condition.exp: Add counter-case tests.
14984
e385593e
JK
149852016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14986
14987 PR c++/15231
14988 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14989 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14990
744608cc
PA
149912016-05-27 Pedro Alves <palves@redhat.com>
14992
14993 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14994 New procedure.
14995 (top level): Call it, and bail out of DejaGnu is known to be bad.
14996
ac775bf4
AB
149972016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14998
14999 * gdb.base/whatis.c: Extend the test case.
15000 * gdb.base/whatis.exp: Add additional tests.
15001
2bbad2ea
BH
150022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15003
15004* gdb.fortran/type.f90: Add pointer variable.
15005* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15006
8b70175d
BH
150072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15008
15009 * gdb.fortran/vla-type.exp: Fix testcase name.
15010
86d8a848
BH
150112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15012
15013 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15014
e188eb36
BH
150152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15016
15017 * gdb.fortran/type.f90: Add nested structures.
15018 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15019 * gdb.fortran/derived-type.exp: Adapt expected output.
15020 * gdb.fortran/vla-type.exp: Adapt expected output.
15021
9b2db1fd
BH
150222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15023
15024 * gdb.fortran/whatis_type.exp: Adapt expected output.
15025
72b17055
BH
150262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15027
15028 * gdb.fortran/print_type.exp: Fix expected output.
15029 * gdb.fortran/whatis_type.exp: Fix expected output.
15030
3cd81d8d
BH
150312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15032
15033 * gdb.fortran/whatis_type.exp: Use multi_line.
15034
ddae9462
TT
150352016-05-24 Tom Tromey <tom@tromey.com>
15036
15037 PR python/17386:
15038 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15039 use value as an index.
15040
1957f6b8
TT
150412016-05-23 Tom Tromey <tom@tromey.com>
15042
15043 PR python/17981:
15044 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15045 no-breakpoint case.
15046
026a9174
PA
150472016-05-24 Pedro Alves <palves@redhat.com>
15048
15049 PR gdb/19828
15050 * gdb.threads/clone-attach-detach.c: New file.
15051 * gdb.threads/clone-attach-detach.exp: New file.
15052
e70a7231
FR
150532016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15054
15055 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15056
0f6ed0e0
TT
150572016-05-23 Tom Tromey <tom@tromey.com>
15058
15059 PR python/19438, PR python/18393:
15060 * gdb.python/py-progspace.exp: Add "dir" test.
15061 * gdb.python/py-objfile.exp: Add "dir" test.
15062
ffd19d61
YQ
150632016-05-23 Yao Qi <yao.qi@linaro.org>
15064
15065 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15066 * gdb.arch/thumb2-it.exp: Likewise.
15067
9e8f9b05
SM
150682016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15069
15070 * gdb.mi/mi-threads-interrupt.c: New file.
15071 * gdb.mi/mi-threads-interrupt.exp: New file.
15072
61c6156d
SM
150732016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15074
15075 PR gdb/18077
15076 * gdb.mi/mi-async-run.exp: New file.
15077 * gdb.mi/mi-async-run.c: New file.
15078
67218854
TT
150792016-05-17 Tom Tromey <tom@tromey.com>
15080 Manish Goregaokar <manishsmail@gmail.com>
15081
15082 * lib/rust-support.exp: New file.
15083 * lib/gdb.exp (skip_rust_tests): New proc.
15084 (build_executable_from_specs): Handle rust.
15085 * lib/future.exp (gdb_find_rustc): New proc.
15086 (gdb_default_target_compile): Handle rust.
15087 * gdb.rust/expr.exp: New file.
15088 * gdb.rust/generics.exp: New file.
15089 * gdb.rust/generics.rs: New file.
15090 * gdb.rust/methods.exp: New file.
15091 * gdb.rust/methods.rs: New file.
15092 * gdb.rust/modules.exp: New file.
15093 * gdb.rust/modules.rs: New file.
15094 * gdb.rust/simple.exp: New file.
15095 * gdb.rust/simple.rs: New file.
15096
c44af4eb
TT
150972016-05-17 Tom Tromey <tom@tromey.com>
15098
15099 * gdb.base/default.exp (set language): Add rust.
15100
dcd1f979
TT
151012016-05-17 Tom Tromey <tom@tromey.com>
15102
15103 * gdb.gdb/unittest.exp: New file.
15104
155b7f57
YQ
151052016-05-16 Yao Qi <yao.qi@linaro.org>
15106
15107 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15108 shell_prompt. Update shell_prompt_re.
15109
8ddd5a6c
DE
151102016-05-12 Doug Evans <dje@google.com>
15111
15112 PR symtab/19999
15113 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15114 $options when building executable.
15115 * gdb.dwarf2/fission-loclists-pie.S: New file.
15116 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15117
02e370d9
SM
151182016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15119
15120 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15121 of [is_remote target],
15122
8929ad8b
SM
151232016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15124
15125 * lib/gdb.exp (use_gdb_stub): New procedure.
15126
6c447423
DE
151272016-05-03 Yunlian Jiang <yunlian@google.com>
15128 Doug Evans <dje@google.com>
15129
15130 PR symtab/19914
15131 * gdb.dwarf2/dwp-sepdebug.c: New file.
15132 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15133
444e826c
SM
151342016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15135
15136 * gdb.base/detach.exp: Remove is_remote check.
15137
740feeaa
SM
151382016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15139
15140 * gdb.base/annota-input-while-running.exp: Don't check for
15141 [is_remote target]. Enable annotations after running to main.
15142 Remove unused "set test..." line.
15143
9080ac9d
SM
151442016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15145
15146 * gdb.trace/trace-enable-disable.exp: New file.
15147 * gdb.trace/trace-enable-disable.c: New file.
15148
952ebca5
SM
151492016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15150
15151 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15152 use it in info sharedlibrary test.
15153 * gdb.trace/ftrace-lock.exp: Likewise.
15154 * gdb.trace/ftrace.exp: Likewise.
15155 * gdb.trace/range-stepping.exp: Likewise.
15156 * gdb.trace/trace-break.exp: Likewise.
15157 * gdb.trace/trace-condition.exp: Likewise.
15158 * gdb.trace/trace-mt.exp: Likewise.
15159
d9019901
SM
151602016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15161
15162 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15163 (gdb_load_shlib): ... this.
15164 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15165 gdb_load_shlib.
15166 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15167 * gdb.base/ctxobj.exp: Likewise.
15168 * gdb.base/dprintf-pending.exp: Likewise.
15169 * gdb.base/dso2dso.exp: Likewise.
15170 * gdb.base/fixsection.exp: Likewise.
15171 * gdb.base/gcore-relro.exp: Likewise.
15172 * gdb.base/gdb1555.exp: Likewise.
15173 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15174 * gdb.base/gnu-ifunc.exp: Likewise.
15175 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15176 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15177 * gdb.base/pending.exp: Likewise.
15178 * gdb.base/print-file-var.exp: Likewise.
15179 * gdb.base/print-symbol-loading.exp: Likewise.
15180 * gdb.base/shlib-call.exp: Likewise.
15181 * gdb.base/shreloc.exp: Likewise.
15182 * gdb.base/so-impl-ld.exp: Likewise.
15183 * gdb.base/solib-disc.exp: Likewise.
15184 * gdb.base/solib-nodir.exp: Likewise.
15185 * gdb.base/solib-overlap.exp: Likewise.
15186 * gdb.base/solib-symbol.exp: Likewise.
15187 * gdb.base/solib-weak.exp (do_test): Likewise.
15188 * gdb.base/sym-file.exp: Likewise.
15189 * gdb.base/symtab-search-order.exp: Likewise.
15190 * gdb.base/type-opaque.exp: Likewise.
15191 * gdb.base/unload.exp: Likewise.
15192 * gdb.base/watchpoint-solib.exp: Likewise.
15193 * gdb.compile/compile.exp: Likewise.
15194 * gdb.cp/gdb2384.exp: Likewise.
15195 * gdb.cp/infcall-dlopen.exp: Likewise.
15196 * gdb.cp/re-set-overloaded.exp: Likewise.
15197 * gdb.fortran/library-module.exp: Likewise.
15198 * gdb.opt/solib-intra-step.exp: Likewise.
15199 * gdb.python/py-finish-breakpoint.exp: Likewise.
15200 * gdb.python/py-shared.exp: Likewise.
15201 * gdb.reverse/solib-precsave.exp: Likewise.
15202 * gdb.reverse/solib-reverse.exp: Likewise.
15203 * gdb.server/solib-list.exp: Likewise.
15204 * gdb.threads/dlopen-libpthread.exp: Likewise.
15205 * gdb.threads/tls-shared.exp: Likewise.
15206 * gdb.threads/tls-so_extern.exp: Likewise.
15207 * gdb.trace/change-loc.exp: Likewise.
15208 * gdb.trace/ftrace-lock.exp: Likewise.
15209 * gdb.trace/ftrace.exp: Likewise.
15210 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15211 * gdb.trace/pending.exp: Likewise.
15212 * gdb.trace/range-stepping.exp: Likewise.
15213 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15214 (strace_info_marker): Likewise.
15215 (strace_probe_marker): Likewise.
15216 (strace_trace_on_same_addr): Likewise.
15217 (strace_trace_on_diff_addr): Likewise.
15218 * gdb.trace/trace-break.exp: Likewise.
15219 * gdb.trace/trace-condition.exp: Likewise.
15220 * gdb.trace/trace-mt.exp: Likewise.
15221
fca4cfd9
SM
152222016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15223
15224 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15225 result of gdb_remote_download.
15226 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15227 * gdb.base/dso2dso.exp: Likewise.
15228 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15229 * gdb.base/print-file-var.exp: Likewise.
15230 * gdb.base/shlib-call.exp: Likewise.
15231 * gdb.base/shreloc.exp: Likewise.
15232 * gdb.base/solib-overlap.exp: Likewise.
15233 * gdb.base/solib-weak.exp (do_test): Likewise.
15234 * gdb.base/unload.exp: Likewise.
15235
11cf4ffb
YQ
152362016-04-27 Yao Qi <yao.qi@linaro.org>
15237
15238 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15239 exists.
15240
3e2e34f8
KB
152412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15242
15243 * vla-type.exp: Print structure from toplevel.
15244
8f07e298
BH
152452016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15246
15247 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15248 of dynamic types.
15249 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15250 of dynamic types.
15251
9920b434
BH
152522016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15253
15254 * gdb.fortran/vla-type.f90: New file.
15255 * gdb.fortran/vla-type.exp: New file.
15256
f3abeff5
YQ
152572016-04-25 Yao Qi <yao.qi@linaro.org>
15258
15259 * gdb.base/branch-to-self.c: New file.
15260 * gdb.base/branch-to-self.exp: New file.
15261
0a5d52f0
YQ
152622016-04-22 Yao Qi <yao.qi@linaro.org>
15263
15264 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15265 more after $hex.
15266
495346f6
YQ
152672016-04-22 Yao Qi <yao.qi@linaro.org>
15268
15269 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15270 * gdb.base/annota3.exp: Likewise.
15271
4a7e075c
YQ
152722016-04-22 Yao Qi <yao.qi@linaro.org>
15273
15274 * gdb.reverse/step-precsave.exp: Do one step and test program
15275 stops in "callee" and do multiple steps until program goes out
15276 of "callee".
15277 * gdb.reverse/step-reverse.exp: Likewise.
15278
5b061e98
YQ
152792016-04-22 Yao Qi <yao.qi@linaro.org>
15280
15281 * gdb.trace/signal.exp: Also pass if
15282 $tracepoint_hits($i) > $iterations.
15283
5c5dc57f
YQ
152842016-04-22 Yao Qi <yao.qi@linaro.org>
15285
15286 * gdb.trace/signal.c: New file.
15287 * gdb.trace/signal.exp: New file.
15288
a55411b9
DE
152892016-04-19 Doug Evans <xdje42@gmail.com>
15290
15291 * gdb.base/bad-file.exp: New file.
15292
a22df60a
MG
152932016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15294
15295 * gdb.dwarf2/implref.exp: New file.
15296
0c13f7e5
BH
152972016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15298
15299 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15300 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15301 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15302 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15303 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15304 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15305 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15306 * lib/fortran.exp (fortran_int4): New procedure.
15307 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15308 (fortran_logical4): Likewise.
15309
9b9b09e9
BH
153102016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15311
15312 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15313
a14d1f4d
BH
153142016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15315
15316 * lib/compiler.c: Add Intel specific preprocessor macros.
15317 * lib/compiler.cc: Likewise.
25d49b86 15318
7d49b1d0
LM
153192016-04-13 Luis Machado <lgustavo@codesourcery.com>
15320
15321 * gdb.server/connect-with-no-symbol-file.c: New file.
15322 * gdb.server/connect-with-no-symbol-file.exp: New file.
15323
8392fa22
SM
153242016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15325
15326 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15327
8c4c4aeb
SM
153282016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15329
15330 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15331 standard output directory.
15332
45e3745e
AT
153332016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15334
15335 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15336
e26b7e41
MM
153372016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15338
15339 * gdb.btrace/instruction_history.c (loop): Add declaration.
15340
8ce09462
AT
153412016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15342
15343 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15344
2e88a1ea
SM
153452016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15346
15347 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15348 parentheses to print.
15349 (continue_handler): Likewise.
15350
f48e22e3
SM
153512016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15352
15353 * gdb.server/solib-list.exp: Remove is_remote check.
15354 Pass shlib= to gdb_compile. Don't link shared library with
15355 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15356 Run binary filename through "readlink -f" on the target.
15357
096be756
PA
153582016-04-08 Pedro Alves <palves@redhat.com>
15359
15360 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15361 interpreter filename as argument to gdbserver_spawn.
15362 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15363 Return empty if $last_loaded_file does not exist.
15364
06500533
JK
153652016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15366
15367 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15368 * gdb.base/jit-main.c: Use exit after usage.
15369
2d35e871
JK
153702016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15371
15372 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15373 GDBHISTSIZE prior to the tests.
15374 * gdb.base/gdbinit-history.exp: Likewise.
15375
153762016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15377
15378 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15379 instead of build_executable. Use gdb_load_shlibs.
15380
c8064e7e
YQ
153812016-04-07 Yao Qi <yao.qi@linaro.org>
15382
15383 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15384 Execute "si" command.
15385
bde47561
YQ
153862016-04-07 Yao Qi <yao.qi@linaro.org>
15387
15388 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15389 number instead of the comments on some line.
15390
b16f8a3b
DB
153912016-04-06 Don Breazeal <donb@codesourcery.com>
15392
15393 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15394 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15395
c2f901df
SM
153962016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15397
15398 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15399 standard_output_file. Remove unused binfile variable.
15400
ac17fda0
CU
154012016-04-05 Catalin Udma <catalin.udma@freescale.com>
15402
15403 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15404 * gdb.python/py-mi-objfile.exp: Match "list main" output
15405 in console format.
15406
03a8c4df
SM
154072016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15408
15409 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15410 absolute.
15411
6e774b13
SM
154122016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15413
15414 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15415 absolute.
15416 * gdb.trace/ftrace.exp: Likewise.
15417 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15418 targets as well.
15419 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15420 (gdb_load_shlibs): Copy libraries to test directory when testing
15421 natively. Only set solib-search-path if testing remotely.
15422 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15423
7817ea46
SM
154242016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15425
15426 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15427 gdb_download. Use it even if the target is not remote.
15428 * gdb.base/jit.exp (compile_jit_test): Likewise.
15429 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15430 output directory if the destination board is local, otherwise use
15431 the standard remote_download from DejaGnu.
15432 (gdb_download): Remove.
15433 (gdb_load_shlibs): Use gdb_remote_download instead of
15434 gdb_download.
15435 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15436 Use gdb_remote_download instead of gdb_download. Use it even if
15437 the target is not remote.
15438 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15439 instead of gdb_download.
15440
7beb7f68
SM
154412016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15442
15443 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15444 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15445 run.
15446
cc63428a
AV
154472016-04-01 Artemiy Volkov <artemiyv@acm.org>
15448
15449 PR gdb/19820
15450 * gdb.base/printcmds.exp: Add artificial arrays tests.
15451
64cdf930
PA
154522016-03-31 Pedro Alves <palves@redhat.com>
15453
15454 PR gdb/19858
15455 * gdb.base/jit-main.c: Include unistd.h.
15456 (ATTACH): Define to 0 if not already defined.
15457 (wait_for_gdb, mypid): New globals.
15458 (WAIT_FOR_GDB): New macro.
15459 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15460 some breakpoint locations.
15461 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15462 New procedures.
15463 (one_jit_test): Add REATTACH parameter, and handle it. Use
15464 continue_to_test_location.
15465 (top level): Test attach, and adjusts calls to one_jit_test.
15466
40dea8cb
PA
154672016-03-31 Pedro Alves <palves@redhat.com>
15468
15469 PR gdb/19858
15470 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15471 BINSUFFIX parameter, and handle it.
15472 (top level): Adjust calls compile_jit_test.
15473
e7ea3ec7
CU
154742016-03-31 Catalin Udma <catalin.udma@freescale.com>
15475
15476 PR python/19743
15477 * gdb.python/py-mi-events-gdb.py: New file.
15478 * gdb.python/py-mi-events.c: New file.
15479 * gdb.python/py-mi-events.exp: New file.
15480
e6359af3
YQ
154812016-03-30 Yao Qi <yao.qi@linaro.org>
15482
15483 * gdb.reverse/until-precsave.exp: Match function name only.
15484 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15485 Move malloc to a condition block.
15486 * gdb.reverse/until-reverse.exp: Match function name only.
15487
a4105d04
MK
154882016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15489
15490 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15491 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15492 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15493 variable for GPR 0 instead of assuming it is register 0.
15494 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15495 * lib/trace-support.exp: Add s390 registers.
15496
bfa6adb9
YQ
154972016-03-29 Yao Qi <yao.qi@linaro.org>
15498
15499 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15500
1e6697ea
YQ
155012016-03-24 Yao Qi <yao.qi@linaro.org>
15502
15503 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15504 test message.
15505
64bcd522
AA
155062016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15507
15508 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15509 maintaining separate logic for constructing the output path.
15510
7868401b
DB
155112016-03-16 Don Breazeal <donb@codesourcery.com>
15512
15513 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15514 Retry fork and waitpid on interrupted system call errors.
15515 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15516 Use with_timeout_factor to increase timeout by factor of 10.
15517
1cafadb4
DB
155182016-03-15 Don Breazeal <donb@codesourcery.com>
15519
15520 * gdb.cp/scope-err.cc: New test program.
15521 * gdb.cp/scope-err.exp: New test script.
15522 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15523 lines and "set breakpoint here" comment.
15524 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15525 Fixed some whitespace and format issues.
15526 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15527 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15528
81516450
DE
155292016-03-15 Doug Evans <dje@google.com>
15530
15531 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15532 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15533 All callers updated. Add tests for enums, mixed flags register.
15534
aa52b601
DE
155352016-03-15 Doug Evans <dje@google.com>
15536
15537 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15538 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15539
fa4ff313
SM
155402016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15541
15542 * gdb.base/default.exp: Add $_as_string to the list of expected
15543 convenience functions.
15544
f2403c39
AB
155452016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15546
15547 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15548
f2f3ccb9
SM
155492016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15550
15551 * gdb.python/py-as-string.exp: New file.
15552 * gdb.python/py-as-string.c: New file.
15553
00dbd492
PA
155542016-03-09 Pedro Alves <palves@redhat.com>
15555
15556 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15557 signal" -> "Thread NN received signal" output change.
15558 * gdb.threads/ia64-sigill.exp: Likewise.
15559 * gdb.threads/linux-dp.exp: Likewise.
15560 * gdb.threads/manythreads.exp: Likewise.
15561 * gdb.threads/pending-step.exp: Likewise.
15562 * gdb.threads/print-threads.exp: Likewise.
15563 * gdb.threads/sigstep-threads.exp: Likewise.
15564 * gdb.threads/staticthreads.exp: Likewise.
15565 * gdb.threads/tls.exp: Likewise.
15566
1e6697ea
YQ
155672016-03-09 Pedro Alves <palves@redhat.com>
15568
15569 * gdb.base/command-line-input.exp: New file.
15570
b04fd3be
MK
155712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15572
15573 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15574 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15575 * gdb.trace/pending.exp: Accept leading dot before function name.
15576 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15577 * lib/trace-support.exp: Set registers for ppc.
15578
98fa59e9
MK
155792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15580
15581 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15582 use it for disassembly; accept .main in addition to main in backtrace.
15583
f77198c8
MK
155842016-03-09 Wei-cheng Wang <cole945@gmail.com>
15585 Marcin Kościelnicki <koriakin@0x04.net>
15586
15587 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15588 (gdb_recursion_test_ptr): New global variable.
15589 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15590 gdb_recursion_test.
15591 (gdb_c_test): Ditto.
15592
ba84e0da
MK
155932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15594
15595 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15596 ordering.
15597
4366d36e
MK
155982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15599
15600 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15601 (bar): Add bar_start_lbl label.
15602 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15603 of foo/bar for emitting DWARF and tracing.
15604
5eb264df
SDJ
156052016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15606
15607 * analyze-racy-logs.py: Set executable bit.
15608
fb6a751f
SDJ
156092016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15610
15611 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15612 (CHECK_TARGET_TMP): Likewise.
15613 (check-single-racy): New rule.
15614 (check-parallel-racy): Likewise.
15615 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15616 (do-check-parallel-racy): New rule.
15617 (check-racy/%.exp): Likewise.
15618 * README (Racy testcases): New section.
15619 * analyze-racy-logs.py: New file.
15620
bdf7e230
DE
156212016-03-03 Doug Evans <dje@google.com>
15622
15623 * gdb.base/skip.exp: Use with_test_prefix.
15624
4719d415
YQ
156252016-03-03 Yao Qi <yao.qi@linaro.org>
15626
15627 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15628 Invoke step_over_syscall "clone" and break_cond_on_syscall
15629 "clone".
15630 * gdb.base/step-over-clone.c: New file.
15631
ea507862
YQ
156322016-03-03 Yao Qi <yao.qi@linaro.org>
15633
15634 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15635 code format.
15636
8fc8cbda
YQ
156372016-03-03 Yao Qi <yao.qi@linaro.org>
15638
15639 * gdb.base/disp-step-fork.c: Rename to ...
15640 * gdb.base/step-over-fork.c: ... it. New file.
15641 * gdb.base/disp-step-vfork.c: Rename to ...
15642 * gdb.base/step-over-vfork.c: ... it. New file.
15643 * gdb.base/disp-step-syscall.exp: Rename to ...
15644 * gdb.base/step-over-syscall.exp: ... it. New file.
15645 (disp_step_cross_syscall): Rename to ...
15646 (step_over_syscall): ... it.
15647
92fa70b0
YQ
156482016-03-03 Yao Qi <yao.qi@linaro.org>
15649
15650 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15651 If target supports condition evaluation on target, invoke
15652 break_cond_on_syscall for fork and vfork.
15653
e197ad3c
YQ
156542016-03-03 Yao Qi <yao.qi@linaro.org>
15655
15656 * gdb.base/disp-step-syscall.exp: Don't invoke
15657 support_displaced_stepping.
15658 (disp_step_cross_syscall): Test with displaced stepping off and
15659 on if supported.
15660
0b47da9f
YQ
156612016-03-03 Yao Qi <yao.qi@linaro.org>
15662
15663 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15664 proc.
15665 (setup): New proc.
15666 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15667 and setup.
15668
065ab6dc
BH
156692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15670
15671 * gdb.fortran/vla-history.exp: Remove breakpoint.
15672
07e448ad 156732016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15674
25d49b86
PA
15675 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15676 exceeds timeout.
07e448ad 15677
9ac2d526 156782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15679
25d49b86
PA
15680 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15681 breakpoint.
9ac2d526 15682
17807369
BH
156832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15684
15685 * gdb.mi/vla.f90: Nullify pointer after declaration.
15686
86e501af
PA
156872016-03-01 Pedro Alves <palves@redhat.com>
15688
15689 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15690
1e903e32
PA
156912016-03-01 Pedro Alves <palves@redhat.com>
15692
15693 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15694 before anything else.
15695 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15696 _GNU_SOURCE here.
15697 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15698 before anything else.
15699 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15700
6ccb54e2
PA
157012016-03-01 Pedro Alves <palves@redhat.com>
15702
15703 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15704
30ca9da1
YQ
157052016-03-01 Yao Qi <yao.qi@linaro.org>
15706
15707 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15708 prepare_for_testing.
15709
dc856b38
YQ
157102016-03-01 Yao Qi <yao.qi@linaro.org>
15711
15712 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15713
4a932159
AA
157142016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15715
15716 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15717 manually constructing the output path.
15718
f2489477
AA
157192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15720
15721 * gdb.arch/s390-stackless.S: New.
15722 * gdb.arch/s390-stackless.exp: New.
15723
38899f16
IB
157242016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15725
15726 * gdb.dlang/circular.c: New file.
15727 * gdb.dlang/circular.exp: New file.
15728
9fde51ed
YQ
157292016-02-26 Yao Qi <yao.qi@linaro.org>
15730
15731 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15732 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15733 (testcases): Update.
15734
ce90fefe
YQ
157352016-02-26 Yao Qi <yao.qi@linaro.org>
15736
15737 * gdb.reverse/aarch64.c: Rename to ...
15738 * gdb.reverse/insn-reverse.c: ... it.
15739 * gdb.reverse/aarch64.exp: Rename to ...
15740 * gdb.reverse/insn-reverse.exp: ... it.
15741
3263bceb
YQ
157422016-02-26 Yao Qi <yao.qi@linaro.org>
15743
15744 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15745 (testcase_ftype): New.
15746 (testcases): New array.
15747 (n_testcases): New.
15748 (main): Call each element in testcases.
15749 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15750 (read_testcase): New.
15751 Do the tests in a loop.
15752
6cb59ff1
YQ
157532016-02-25 Yao Qi <yao.qi@linaro.org>
15754
15755 * gdb.base/branches.c: Remove.
15756
ae91f625
MK
157572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15758
15759 PR gdb/13808
15760 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15761
678b48b7
MK
157622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15763
15764 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15765
7337a6f2
MK
157662016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15767
15768 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15769 change x86_64 call_insn to 'callq'.
15770
861ca91f
AT
157712016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15772
15773 * gdb.trace/tfile-avx.c: Move to...
15774 * gdb.trace/tracefile-pseudo-reg.c: Here.
15775 * gdb.trace/tfile-avx.exp: Move to...
15776 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15777
bf74e428
GB
157782016-02-24 Gary Benson <gbenson@redhat.com>
15779
15780 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15781 message on attach.
15782
cce0e923
DE
157832016-02-23 Doug Evans <dje@google.com>
15784
15785 * gdb.base/skip.c (test_skip): New function.
15786 (end_test_skip_file_and_function): New function.
15787 (test_skip_file_and_function): New function.
15788 * gdb.base/skip1.c (test_skip): New function.
15789 (skip1_test_skip_file_and_function): New function.
15790 * gdb.base/skip.exp: Add tests for new skip options.
15791 * gdb.base/skip-solib.exp: Update expected output.
15792 * gdb.perf/skip-command.cc: New file.
15793 * gdb.perf/skip-command.exp: New file.
15794 * gdb.perf/skip-command.py: New file.
15795
4000e47e
MK
157962016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15797
15798 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15799 info registers pattern.
15800
24f75ead
IB
158012016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15802
15803 * lib/future.exp: Add D support.
15804 (gdb_find_gdc): New proc.
15805 (gdb_default_target_compile): Add D support.
15806
fbb7bcbe
WW
158072016-02-18 Wei-cheng Wang <cole945@gmail.com>
15808
15809 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15810 user+system time.
15811 (trace_speed_test): Determine the iteration count for a time
15812 between 15..30 seconds.
15813
012b3a21
WT
158142016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15815
15816 * gdb.arch/i386-mpx-sigsegv.c: New file.
15817 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15818 * gdb.arch/i386-mpx-simple_segv.c: New file.
15819 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15820
2d5189bd
YQ
158212016-02-18 Yao Qi <yao.qi@linaro.org>
15822
15823 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15824 Don't call setup_kfail.
15825
40fb20d0
YQ
158262016-02-18 Yao Qi <yao.qi@linaro.org>
15827
15828 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15829 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15830
21b1f8d2
DE
158312016-02-16 Doug Evans <dje@google.com>
15832
15833 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15834 * gdb.base/skip1.c: Ditto.
15835 * gdb.base/skip.exp: Whitespace cleanup.
15836
4041ed77
DB
158372016-02-16 Don Breazeal <donb@codesourcery.com>
15838
15839 PR remote/19496
15840 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15841 Remove kfail for PR remote/19496.
15842
c4ef31bf
SM
158432016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15844
15845 * lib/gdb.exp (standard_temp_file): Return a path specific to
15846 the runtest invocation.
15847
266b65b3
SM
158482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15849
15850 * gdb.trace/save-trace.exp: Change relative path to be in the
15851 standard output directory.
15852
a7a0a6a9
JK
158532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15854
15855 * gdb.arch/i386-prologue.c: Add missing prototypes.
15856
c99dbb42
JK
158572016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15858
15859 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15860 * gdb.arch/i386-prologue.exp: Likewise.
15861 * gdb.arch/i386-size.exp: Likewise.
15862
aa480355
SM
158632016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15864
15865 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15866 define object file path.
15867 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15868 file path.
15869 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15870 standard_output_file to define binfile.
15871
ba881f50
JK
158722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15873
15874 Fix compatibility with recent gfortran-5.3.1.
15875 * gdb.fortran/vla-history.exp (print vla1 allocated)
15876 (print vla2 allocated, print $2, print $3): Remove
15877 (print $4): Rename to ...
15878 (print $2): ... here.
15879 (print $9): Rename to ...
15880 (print $5): ... here.
15881 (print $10): Rename to ...
15882 (print $6): ... here.
15883 * gdb.fortran/vla.f90: Add pvla initialization.
15884
e9fb005c
JK
158852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15886
15887 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15888 New test.
15889 * gdb.fortran/vla-value-sub.exp: Likewise.
15890
e44e00ff
MK
158912016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15892
15893 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15894
97e94151
SM
158952016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15896
15897 * i386-biarch-core.exp: Define corefile using
15898 standard_output_file.
15899
01113bc1
YQ
159002016-02-12 Yao Qi <yao.qi@linaro.org>
15901
15902 * gdb.arch/arm-single-step-kernel-helper.c: New.
15903 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15904
33b4777c
MM
159052016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15906
15907 * gdb.btrace/tailcall-only.exp: New.
15908 * gdb.btrace/tailcall-only.c: New.
15909 * gdb.btrace/x86_64-tailcall-only.S: New.
15910 * gdb.btrace/i686-tailcall-only.S: New.
15911
acc23c11
PA
159122016-02-11 Pedro Alves <palves@redhat.com>
15913
15914 * README (Parallel testing): Add missing double quotes.
15915
e352bf0a
PA
159162016-02-11 Pedro Alves <palves@redhat.com>
15917
15918 * README (Parallel testing): New section.
15919 (GDB_PARALLEL): Rewrite.
15920 (FORCE_PARALLEL): Document.
15921
9f5fed78
MK
159222016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15923
15924 * gdb.trace/tfile-avx.c: New test.
15925 * gdb.trace/tfile-avx.exp: New test.
15926
9ef9e6a6
KS
159272016-02-09 Keith Seitz <keiths@redhat.com>
15928
15929 PR breakpoints/19546
15930 * gdb.base/infcall-exec.c: New file.
15931 * gdb.base/infcall-exec2.c: New file.
15932 * gdb.base/infcall-exec.exp: New file.
15933
a96e36da
KS
159342016-02-09 Keith Seitz <keiths@redhat.com>
15935
15936 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15937 (toplevel): Call test_bkpt_address.
15938
9f61929f
KS
159392016-02-09 Keith Seitz <keiths@redhat.com>
15940
15941 PR python/19506
15942 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15943 (toplevel): Call test_bkpt_address.
15944
1e94266c
SM
159452016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15946
15947 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15948 to AC_OUTPUT.
15949 * configure: Regenerate.
15950
2a7f3dff
PA
159512016-02-09 Pedro Alves <palves@redhat.com>
15952
15953 PR breakpoints/19548
15954 * gdb.base/execl-update-breakpoints.c (some_function): New
15955 function.
15956 (main): Call it.
15957 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15958 Tighten expected GDB output.
15959
2151ccc5
SM
159602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15961
15962 * Makefile.in (ALL_SUBDIRS): Remove.
15963 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15964 (distclean maintainer-clean realclean): Likewise.
15965 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15966 * configure: Regenerate.
15967 * gdb.ada/Makefile.in: Delete.
15968 * gdb.arch/Makefile.in: Likewise.
15969 * gdb.asm/Makefile.in: Likewise.
15970 * gdb.base/Makefile.in: Likewise.
15971 * gdb.btrace/Makefile.in: Likewise.
15972 * gdb.cell/Makefile.in: Likewise.
15973 * gdb.compile/Makefile.in: Likewise.
15974 * gdb.cp/Makefile.in: Likewise.
15975 * gdb.disasm/Makefile.in: Likewise.
15976 * gdb.dlang/Makefile.in: Likewise.
15977 * gdb.dwarf2/Makefile.in: Likewise.
15978 * gdb.fortran/Makefile.in: Likewise.
15979 * gdb.gdb/Makefile.in: Likewise.
15980 * gdb.go/Makefile.in: Likewise.
15981 * gdb.guile/Makefile.in: Likewise.
15982 * gdb.java/Makefile.in: Likewise.
15983 * gdb.linespec/Makefile.in: Likewise.
15984 * gdb.mi/Makefile.in: Likewise.
15985 * gdb.modula2/Makefile.in: Likewise.
15986 * gdb.multi/Makefile.in: Likewise.
15987 * gdb.objc/Makefile.in: Likewise.
15988 * gdb.opencl/Makefile.in: Likewise.
15989 * gdb.opt/Makefile.in: Likewise.
15990 * gdb.pascal/Makefile.in: Likewise.
15991 * gdb.perf/Makefile.in: Likewise.
15992 * gdb.python/Makefile.in: Likewise.
15993 * gdb.reverse/Makefile.in: Likewise.
15994 * gdb.server/Makefile.in: Likewise.
15995 * gdb.stabs/Makefile.in: Likewise.
15996 * gdb.threads/Makefile.in: Likewise.
15997 * gdb.trace/Makefile.in: Likewise.
15998 * gdb.xml/Makefile.in: Likewise.
15999 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16000 GDB_PARALLEL.
16001 (standard_output_file): Remove check for GDB_PARALLEL, always
16002 return path in outputs/$subdir/$testname.
16003
437277d4
SM
160042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16005
16006 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16007 (site.exp): Assign abs_srcdir to tcl's srcdir.
16008
31d913c7
YQ
160092016-02-04 Yao Qi <yao.qi@linaro.org>
16010
16011 * gdb.base/foll-exec-mode.c: Include limits.h.
16012 (main): Add parameters argc and argv. Get directory from
16013 argv[0].
16014 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16015 compilation.
16016 * gdb.base/foll-exec.c: Include limits.h.
16017 (main): Add parameters argc and argv.
16018 Get directory from argv[0].
16019 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16020 Adjust tests on the number of lines as source code changed.
16021 * gdb.base/foll-vfork-exit.c: Include limits.h.
16022 (main): Add one line of statement before vfork.
16023 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16024 (main): Add parameters argc and argv. Get directory from
16025 argv[0].
16026 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16027 (setup_gdb): Set tbreak to skip some source lines.
16028 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16029 (main): Add parameters argc and argv. Get directory from
16030 argv[0].
16031 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16032 compilation.
16033 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16034 (main): Add parameters argc and argv. Get directory from
16035 argv[0].
16036 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16037 compilation.
16038
9482b9fb
DE
160392016-02-01 Doug Evans <dje@google.com>
16040
16041 * gdb.base/skip.exp: Clean up multiple references to same test name.
16042
6b2e4f10
PA
160432016-02-01 Pedro Alves <palves@redhat.com>
16044
ccb6afd6 16045 PR remote/19496
6b2e4f10
PA
16046 * gdb.threads/forking-threads-plus-breakpoint.exp
16047 (displaced_stepping_supported): New global.
16048 (probe_displaced_stepping_support): New procedure.
16049 (do_test): Add 'displaced' parameter, and use it.
16050 (top level): Check for displaced stepping support. Add displaced
16051 stepping on/off testing axis.
16052
37a8db1a
AB
160532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16054
16055 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16056 pointer. Don't perform further tests on the unassociated pointer
16057 if the first test fails.
16058
5fdf6324
AB
160592016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16060
16061 * gdb.base/max-value-size.c: New file.
16062 * gdb.base/max-value-size.exp: New file.
16063 * gdb.base/huge.exp: Disable max-value-size for this test.
16064
935c6144
IB
160652016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16066
16067 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16068
7fe8399d
YQ
160692016-01-28 Yao Qi <yao.qi@linaro.org>
16070
16071 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16072
a2077e25
PA
160732016-01-25 Pedro Alves <palves@redhat.com>
16074
16075 PR threads/19461
16076 * gdb.base/fork-running-state.c: New file.
16077 * gdb.base/fork-running-state.exp: New file.
16078
1d2736d4
PA
160792016-01-25 Pedro Alves <palves@redhat.com>
16080
16081 PR gdb/19494
16082 * gdb.base/catch-fork-kill.c: New file.
16083 * gdb.base/catch-fork-kill.exp: New file.
16084
f1da4b11
PA
160852016-01-25 Pedro Alves <palves@redhat.com>
16086
16087 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16088 Delete, moved to lib/gdb.exp.
16089 * gdb.threads/forking-threads-plus-breakpoint.exp
16090 (foreach_with_prefix): Likewise.
16091 * gdb.threads/process-dies-while-handling-bp.exp
16092 (foreach_with_prefix): Likewise.
16093 * lib/gdb.exp (foreach_with_prefix): New procedure.
16094
45f38546
MK
160952016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16096
16097 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16098 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16099
dc29a1ce
MK
161002016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16101
16102 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16103 endian targets.
16104
092127d7
JK
161052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16106 Pedro Alves <palves@redhat.com>
16107
16108 Fix testsuite compatibility with Guile.
16109 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16110 number.
16111
31d765d3
JK
161122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16113
16114 Fix testsuite compatibility with Guile.
16115 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16116 (thread 1): New test for backtrace through signal handler.
16117
1ac78c04
YQ
161182016-01-22 Yao Qi <yao.qi@linaro.org>
16119
16120 PR testsuite/19491
16121 * gdb.base/multi-forks.c: Include
16122 ../lib/unbuffer_output.c
16123 (main): Call gdb_unbuffer_output.
16124
4f5946a8
DE
161252016-01-21 Doug Evans <dje@google.com>
16126
16127 * lib/ada.exp (gdb_compile_ada): Fix typo.
16128
305e13e6
JB
161292016-01-21 Joel Brobecker <brobecker@adacore.com>
16130
16131 * gdb.base/break-fun-addr.exp: New file.
16132 * gdb.base/break-fun-addr1.c: New file.
16133 * gdb.base/break-fun-addr2.c: New file.
16134
5f5dfff6
SM
161352016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16136
16137 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16138 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16139 enum flag values.
16140
fd356fa2
AA
161412016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16142
16143 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16144 when GDB can not set the vector return value. Add more comments
16145 for clarification.
16146
9df22175
AT
161472016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16148
16149 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16150 command.
16151
41d1845e
SM
161522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16153
16154 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16155
01ac6840
SM
161562016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16157
16158 * Makefile.in (check-single): Pass --status to runtest.
16159 (check/%.exp): Likewise.
16160
161612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16162
16163 * Makefile.in (check-parallel): Propagate return code from make
16164 do-check-parallel.
16165
bd0a71fa
MK
161662016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16167
16168 * gdb.trace/ftrace.exp: Fix expected message on continue.
16169 * gdb.trace/pending.exp: Fix expected message on continue.
16170 * gdb.trace/trace-break.exp: Fix expected message on continue.
16171
8bcbad33
SM
161722016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16173
16174 * lib/gdb.exp (gdb_test): Remove unused global references.
16175
f303dbd6
PA
161762016-01-18 Pedro Alves <palves@redhat.com>
16177
16178 * gdb.base/async-shell.exp: Adjust expected output.
16179 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16180 * gdb.base/siginfo-thread.exp: Adjust expected output.
16181 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16182 * gdb.java/jnpe.exp: Adjust expected output.
16183 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16184 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16185 * gdb.threads/leader-exit.exp: Adjust expected output.
16186 * gdb.threads/manythreads.exp: Adjust expected output.
16187 * gdb.threads/pthreads.exp: Adjust expected output.
16188 * gdb.threads/schedlock.exp: Adjust expected output.
16189 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16190 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16191 expected output.
16192 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16193 output.
16194 * gdb.threads/sigthread.exp: Adjust expected output.
16195 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16196
b2789696
YQ
161972016-01-18 Yao Qi <yao.qi@linaro.org>
16198
16199 * gdb.guile/scm-section-script.c: Replace @progbits with
16200 %progbits.
16201 * gdb.python/py-section-script.c: Likewise.
16202
71ef29a8
PA
162032016-01-15 Pedro Alves <palves@redhat.com>
16204
16205 * gdb.multi/tids.exp: Test star wildcard ranges.
16206
3f5b7598
PA
162072016-01-15 Pedro Alves <palves@redhat.com>
16208
16209 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16210 command from "thread apply" invocation.
16211 (thr_apply_info_thr_invalid): Default the expected output to the
16212 input tid list.
16213 (top level): Add tests that use convenience variables. Add tests
16214 for "thread apply" with a valid TID list, but missing the command.
16215
663f6d42
PA
162162016-01-13 Pedro Alves <palves@redhat.com>
16217
16218 * gdb.base/default.exp: Expect $_gthread as well.
16219 * gdb.multi/tids.exp: Test $_gthread.
16220 * gdb.threads/thread-specific.exp: Test $_gthread.
16221
c84f6bbf
PA
162222016-01-13 Pedro Alves <palves@redhat.com>
16223
16224 * gdb.multi/tids.exp: Test "info threads -gid".
16225
22a02324
PA
162262016-01-13 Pedro Alves <palves@redhat.com>
16227
16228 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16229 Breakpoint.thread.
16230 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16231
5d5658a1
PA
162322016-01-07 Pedro Alves <palves@redhat.com>
16233
16234 * gdb.base/break.exp: Adjust to output changes.
16235 * gdb.base/hbreak2.exp: Likewise.
16236 * gdb.base/sepdebug.exp: Likewise.
16237 * gdb.base/watch_thread_num.exp: Likewise.
16238 * gdb.linespec/keywords.exp: Likewise.
16239 * gdb.multi/info-threads.exp: Likewise.
16240 * gdb.threads/thread-find.exp: Likewise.
16241 * gdb.multi/tids.c: New file.
16242 * gdb.multi/tids.exp: New file.
16243
84654457
PA
162442016-01-13 Pedro Alves <palves@redhat.com>
16245
16246 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16247
e3940304
PA
162482016-01-13 Pedro Alves <palves@redhat.com>
16249
16250 * gdb.base/default.exp: Expect $_inferior as well.
16251 * gdb.multi/base.exp: Test $_inferior.
16252
a911d87a
PA
162532016-01-13 Pedro Alves <palves@redhat.com>
16254
16255 PR breakpoints/19388
16256 * gdb.base/catch-signal-siginfo-cond.c: New file.
16257 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16258
82075af2
JS
162592016-01-12 Josh Stone <jistone@redhat.com>
16260 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16261
16262 * gdb.base/catch-syscall.c (do_execve): New variable.
16263 (main): Conditionally trigger an execve.
16264 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16265 (test_catch_syscall_execve): New, check entry/return across execve.
16266 (do_syscall_tests): Call test_catch_syscall_execve.
16267
e46eeedd
PA
162682016-01-12 Pedro Alves <palves@redhat.com>
16269
16270 * gdb.base/random-signal.exp (do_test): New procedure, with body
16271 of testcase moved in.
16272
01d8c27e
JK
162732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16274 Pedro Alves <palves@redhat.com>
16275
16276 * gdb.base/funcargs.exp (finish from indirectly called function):
16277 Reintroduce the case for 'First'.
16278
9a706302
JK
162792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16280 Pedro Alves <palves@redhat.com>
16281
16282 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16283 (tcatch_vfork_then_child_follow_exec)
16284 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16285 identification.
16286
c0ecb95f
JK
162872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16288
16289 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16290 and repeats to unlimited.
16291 * gdb.python/py-value.exp: Likewise.
16292 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16293 and repeats to unlimited.
16294
6cfc1fcb
JK
162952016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16296
16297 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16298 and reordering the functions.
16299 * gdb.multi/hangout.c: Likewise.
16300 * gdb.multi/hello.c: Likewise.
16301
582a1b00
SM
163022016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16303
16304 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16305 absolute.
16306 (SingleStatisticTestResult.report): Use dict.keys instead of
16307 dict.iterkeys.
16308
79bc59cb
PA
163092016-01-06 Pedro Alves <palves@redhat.com>
16310
16311 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16312
43368e1d
MM
163132016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16314
16315 * gdb.btrace/dlopen.exp: New.
16316 * gdb.btrace/dlopen.c: New.
16317 * gdb.btrace/dlopen-dso.c: New.
16318
79fad5b8
SL
163192015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16320
16321 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16322 PATTERN argument is optional.
16323
ab8314b3
JB
163242015-12-24 Joel Brobecker <brobecker@adacore.com>
16325
16326 * lib/ada.exp (target_compile_ada_from_dir): New function.
16327 (gdb_compile_ada): Reimplement avoiding the use of project files.
16328 * gdb.ada/gnat_ada.gpr: Delete.
16329 * gdb.ada/cond_lang.exp: Adjust test to make path before
16330 filename optional.
16331 * gdb.ada/small_reg_param.exp: Likewise.
16332
fe33faff
SM
163332015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16334
16335 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16336
6d265cb4
TP
163372015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16338
16339 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16340 case.
16341
10125099
SM
163422015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16343
16344 * gdb.base/break.exp: Remove dead code.
16345 * gdb.base/sepdebug.exp: Likewise.
16346
3ca22649
SM
163472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16348
16349 * gdb.asm/asm-source.exp: Remove HP-UX references.
16350 * gdb.base/annota1.exp: Likewise.
16351 * gdb.base/annota3.exp: Likewise.
16352 * gdb.base/attach.exp: Likewise.
16353 * gdb.base/bigcore.exp: Likewise.
16354 * gdb.base/break.exp: Likewise.
16355 * gdb.base/call-ar-st.exp: Likewise.
16356 * gdb.base/callfuncs.exp: Likewise.
16357 * gdb.base/catch-fork-static.exp: Likewise.
16358 * gdb.base/display.exp: Likewise.
16359 * gdb.base/foll-exec-mode.exp: Likewise.
16360 * gdb.base/foll-exec.exp: Likewise.
16361 * gdb.base/foll-fork.exp: Likewise.
16362 * gdb.base/foll-vfork.exp: Likewise.
16363 * gdb.base/funcargs.exp: Likewise.
16364 * gdb.base/hbreak2.exp: Likewise.
16365 * gdb.base/inferior-died.exp: Likewise.
16366 * gdb.base/interrupt.exp: Likewise.
16367 * gdb.base/multi-forks.exp: Likewise.
16368 * gdb.base/nodebug.exp: Likewise.
16369 * gdb.base/sepdebug.exp: Likewise.
16370 * gdb.base/solib1.c: Likewise.
16371 * gdb.base/step-test.exp: Likewise.
16372 * gdb.mi/non-stop.c: Likewise.
16373 * gdb.mi/pthreads.c: Likewise.
16374 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16375 * gdb.threads/pthreads.c: Likewise.
16376 * gdb.threads/staticthreads.exp: Likewise.
16377 * lib/future.exp: Likewise.
16378 * lib/gdb.exp: Likewise.
16379 * gdb.base/so-indr-cl.c: Remove.
16380 * gdb.base/so-indr-cl.exp: Likewise.
16381 * gdb.base/solib.c: Likewise.
16382 * gdb.base/solib.exp: Likewise.
16383 * gdb.base/solib2.c: Likewise.
16384
b6304613
SM
163852015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16386
16387 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16388 * gdb.base/call-ar-st.exp: Likewise.
16389 * gdb.base/callfuncs.exp: Likewise.
16390 * gdb.base/condbreak.exp: Likewise.
16391 * gdb.base/constvars.exp: Likewise.
16392 * gdb.base/hbreak2.exp: Likewise.
16393 * gdb.base/langs.exp: Likewise.
16394 * gdb.base/list.exp: Likewise.
16395 * gdb.base/long_long.exp: Likewise.
16396 * gdb.base/ptype.exp: Likewise.
16397 * gdb.base/scope.exp: Likewise.
16398 * gdb.base/signals.exp: Likewise.
16399 * gdb.base/so-impl-ld.exp: Likewise.
16400 * gdb.base/varargs.exp: Likewise.
16401 * gdb.base/volatile.exp: Likewise.
16402 * gdb.base/whatis.exp: Likewise.
16403 * gdb.cp/cplusfuncs.exp: Likewise.
16404 * gdb.cp/inherit.exp: Likewise.
16405 * gdb.cp/local.exp: Likewise.
16406 * gdb.cp/member-ptr.exp: Likewise.
16407 * gdb.cp/method.exp: Likewise.
16408 * gdb.cp/overload.exp: Likewise.
16409 * gdb.cp/templates.exp: Likewise.
16410 * gdb.stabs/weird.exp: Likewise.
16411 * lib/compiler.c: Likewise.
16412 * lib/compiler.cc: Likewise.
16413 * lib/cp-support.exp: Likewise.
16414 * lib/gdb.exp: Likewise.
16415
bf401b07
SM
164162015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16417
16418 * configure.ac: Remove HP-UX case.
16419 * configure: Regenerate.
16420
aff9c0f8
SM
164212015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16422
16423 * lib/gdb.exp (gdb_compile): Add function doc.
16424
a6904d5a
PA
164252015-12-17 Pedro Alves <palves@redhat.com>
16426
16427 PR threads/19354
16428 * gdb.multi/info-threads.exp: New file.
16429
a22279dd
YQ
164302015-12-15 Yao Qi <yao.qi@linaro.org>
16431
16432 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16433 is aarch64*-*-*.
16434
0588c796
SL
164352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16436
16437 * gdb.base/history-duplicates.exp: Skip if no readline support.
16438
5d978e17
SL
164392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16440
16441 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16442
7e763b86
SL
164432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16444
16445 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16446
87a3a92c
SL
164472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16448
16449 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16450 ctrl-C if nointerrupts target property is set.
16451 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16452 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16453 * gdb.base/paginate-bg-execution.exp: Likewise.
16454 * gdb.base/paginate-execution-startup.exp: Likewise.
16455 * gdb.base/random-signal.exp: Likewise.
16456 * gdb.base/range-stepping.exp: Likewise.
16457 * gdb.cp/annota2.exp: Likewise.
16458 * gdb.cp/annota3.exp: Likewise.
16459 * gdb.gdb/selftest.exp: Likewise.
16460 * gdb.threads/continue-pending-status.exp: Likewise.
16461 * gdb.threads/leader-exit.exp: Likewise.
16462 * gdb.threads/manythreads.exp: Likewise.
16463 * gdb.threads/pthreads.exp: Likewise.
16464 * gdb.threads/schedlock.exp: Likewise.
16465 * gdb.threads/sigthread.exp: Likewise.
16466
a8f077dc
DB
164672015-12-11 Don Breazeal <donb@codesourcery.com>
16468
16469 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16470 remote.
16471 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16472 * gdb.base/foll-exec.exp (main): Enable for target remote.
16473 * gdb.base/foll-fork.exp (main): Likewise.
16474 * gdb.base/foll-vfork.exp (main): Likewise.
16475 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16476 (proc continue_to_exit_bp_loc): Use clean_restart.
16477 * gdb.base/pie-execl.exp (main): Disable for target remote.
16478 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16479 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16480 * gdb.threads/execl.exp (main): Likewise.
16481 * gdb.threads/fork-child-threads.exp (main): Likewise.
16482 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16483 remote.
16484 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16485 remote.
16486 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16487 pid.tid style ptids, instead of just tid.
16488 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16489 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16490 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16491 ptids, instead of just tid.
16492
3b2464a8
AB
164932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16494
16495 * gdb.base/list.exp (test_list_forward): Add end of file error
16496 test.
16497 (test_repeat_list_command): Add end of file error test.
16498 (test_list_backwards): Add beginning of file error test.
16499
a0def019
AB
165002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16501
16502 * gdb.base/list.exp (test_list_invalid_args): New function,
16503 defined, and called.
16504
5c000dff
AB
165052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16506
16507 * gdb.base/list.exp (test_list): Make test names unique.
16508
f1637ebe
YQ
165092015-12-11 Yao Qi <yao.qi@linaro.org>
16510
16511 * gdb.base/coremaker2.c: Remove.
16512
36d6fc0a
PA
165132015-12-10 Pedro Alves <palves@redhat.com>
16514
16515 * gdb.multi/base.exp: Remove stale "spaces" references.
16516
762f7747
PA
165172015-12-10 Pedro Alves <palves@redhat.com>
16518
16519 * gdb.multi/base.exp: Don't use nowarnings.
16520 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16521 * gdb.multi/hangout.c: Include stdio.h.
16522 * gdb.multi/hello.c: Include stdlib.h.
16523 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16524 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16525 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16526
28d2bfb9
AB
165272015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16528
16529 * gdb.dwarf2/dw2-ranges-base.c: New file.
16530 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16531 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16532 support additional line table, and debug ranges generation.
16533 (Dwarf::ranges): New function, generate .debug_ranges.
16534 (Dwarf::lines): Support generating simple line table programs.
16535 (Dwarf::assemble): Initialise new namespace variables.
16536
5fc2beac
KB
165372015-12-09 Kevin Buettner <kevinb@redhat.com>
16538
16539 * gdb.base/async.exp (proc test_background): Add case for
16540 asynchronous execution not supported.
16541
1c35a88f
LM
165422015-12-09 Luis Machado <lgustavo@codesourcery.com>
16543
16544 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16545 format and change test names to make them unique.
16546
b593e3d9
RK
165472015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16548 Pedro Alves <pedro@redhat.com>
16549
16550 PR gdb/18702
16551 Add checking of floatformats setup on x86_64 hosts.
16552 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16553 (smallval, bigval): New labels/constants.
16554 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16555 float" after loading bigval and smallval.
16556
d72413e6
PMR
165572015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16558
16559 * gdb.ada/fun_overload_menu.exp: New testcase.
16560 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16561
ece66d65
JS
165622015-12-04 Josh Stone <jistone@redhat.com>
16563
16564 * gdb.base/catch-fork-static.exp: New.
16565
41d0efca
YQ
165662015-12-03 Yao Qi <yao.qi@linaro.org>
16567
16568 * gdb.base/sizeof.c: Don't include stdio.h and
16569 ../lib/unbuffer_output.c.
16570 (main): New variable 'size' and 'value'. Remove printf and
16571 gdb_unbuffer_output. Assign return value to size and value.
16572 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16573 at the beginning.
16574 (check_sizeof): Check the result by printing variable 'size'.
16575 (check_valueof): Check the result by printing variable 'value'.
16576
99fd02d9
YQ
165772015-12-01 Yao Qi <yao.qi@linaro.org>
16578
16579 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16580 for aarch64*-*-linux* target.
16581
f2faf941
PA
165822015-11-30 Pedro Alves <palves@redhat.com>
16583
16584 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16585
04bf20c5
PA
165862015-11-30 Pedro Alves <palves@redhat.com>
16587
16588 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16589 Handle non-stop mode vCont replies.
16590
09df4675
PA
165912015-11-30 Pedro Alves <palves@redhat.com>
16592
16593 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16594 prepare_for_testing. Start gdb with "set non-stop on" appended to
16595 GDBFLAGS. Lax expected stop output.
16596
58b584af
YQ
165972015-11-27 Yao Qi <yao.qi@linaro.org>
16598
16599 * gdb.arch/arm-neon.exp: New.
16600 * gdb.arch/arm-neon.c: New.
16601
dfcb77a8
YQ
166022015-11-27 Yao Qi <yao.qi@linaro.org>
16603
16604 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16605
88e8ec1b
YQ
166062015-11-27 Yao Qi <yao.qi@linaro.org>
16607
16608 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16609 frames-invalid annotation.
16610
bfde72c2
YQ
166112015-11-27 Yao Qi <yao.qi@linaro.org>
16612
16613 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16614
f6512a69
SM
166152015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16616
16617 * gdb.threads/names.exp: New file.
16618 * gdb.threads/names.c: New file.
16619 * README: Mention gdb,no_thread_names.
16620
46a3515b
MM
166212015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16622
16623 PR 19297
16624 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16625 support" error.
16626
62147a22
PA
166272015-11-24 Pedro Alves <palves@redhat.com>
16628
16629 PR 17539
16630 * gdb.base/display.exp: Expect displays to be sorted in ascending
16631 order. Use multi_line.
16632 * gdb.base/solib-display.exp: Likewise.
16633
2f341b6e
PA
166342015-11-24 Pedro Alves <palves@redhat.com>
16635
16636 PR 17539
25d49b86
PA
16637 * gdb.base/display.exp: Expect displays to be sorted in ascending
16638 order. Use multi_line.
16639 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16640
7e0aa6aa
PA
166412015-11-24 Pedro Alves <palves@redhat.com>
16642
16643 PR 17539
16644 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16645 threads in ascending order.
16646 * gdb.base/foll-fork.exp: Likewise.
16647 * gdb.base/foll-vfork.exp: Likewise.
16648 * gdb.base/multi-forks.exp: Likewise.
16649 * gdb.mi/mi-nonstop.exp: Likewise.
16650 * gdb.mi/mi-nsintrall.exp: Likewise.
16651 * gdb.multi/base.exp: Likewise.
16652 * gdb.multi/multi-arch.exp: Likewise.
16653 * gdb.python/py-inferior.exp: Likewise.
16654 * gdb.threads/break-while-running.exp: Likewise.
16655 * gdb.threads/execl.exp: Likewise.
16656 * gdb.threads/gcore-thread.exp: Likewise.
16657 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16658 * gdb.threads/kill.exp: Likewise.
16659 * gdb.threads/linux-dp.exp: Likewise.
16660 * gdb.threads/multiple-step-overs.exp: Likewise.
16661 * gdb.threads/next-bp-other-thread.exp: Likewise.
16662 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16663 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16664 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16665 * gdb.threads/thread-find.exp: Likewise.
16666 * gdb.threads/tls.exp: Likewise.
16667 * lib/mi-support.exp (mi_reverse_list): Delete.
16668 (mi_check_thread_states): No longer reverse list.
16669
2cc57ad8
PA
166702015-11-24 Pedro Alves <palves@redhat.com>
16671
16672 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16673 use lowercase.
16674
c93e8391
SM
166752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16676
16677 * gdb.trace/actions.c: Include trace-common.h.
16678 (main): Add a location for a fast tracepoint.
16679 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16680 the normal tracepoints.
16681 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16682
045ccf91
SM
166832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16684
16685 * save-trace.exp: Factor out code to these...
16686 (gdb_save_tracepoints): New.
16687 (gdb_load_tracepoints): New.
16688 (do_save_load_test): New.
16689
5506f9f6
KB
166902015-11-23 Kevin Buettner <kevinb@redhat.com>
16691
16692 * gdb.base/asmlabel.exp: New test.
16693 * gdb.base/asmlabel.c: New test case.
16694
16c3b12f
JB
166952015-11-23 Joel Brobecker <brobecker@adacore.com>
16696
16697 * gdb.base/wrong_frame_bt_full-main.c: New file.
16698 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16699 * gdb.base/wrong_frame_bt_full.exp: New file.
16700
155bfbd3
JB
167012015-11-23 Joel Brobecker <brobecker@adacore.com>
16702
16703 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16704
bb097445
JM
167052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16706
206853a0 16707 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16708 pstate register when comparing registers values in
16709 sparc64-*-linux-gnu targets to avoid spurious differences.
16710
9c88ed8f
JM
167112015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16712
206853a0 16713 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16714
96161e25
SL
167152015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16716
16717 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16718 as type argument to gdb_compile.
16719 * gdb.base/nested-subp2.exp: Likewise.
16720 * gdb.base/nested-subp3.exp: Likewise.
16721
340c2830
DV
167222015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16723
16724 * lib/dwarf.exp (_note): Fix left shift of negative value.
16725 * gdb.trace/trace-condition.exp: Likewise.
16726
c1862d0f
YQ
167272015-11-13 Yao Qi <yao.qi@linaro.org>
16728
16729 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16730 comments about d10v.
16731 (test_scalar_returns): Likewise.
16732 * gdb.base/d10v.ld: Remove.
16733 * gdb.base/overlays.exp: Remove the target triplet checking for
16734 d10v-*-*.
16735 * gdb.base/structs.exp (test_struct_returns): Remove the
16736 comments about d10v.
16737 (test_struct_calls): Likewise.
16738
77ae9c19
YQ
167392015-11-13 Yao Qi <yao.qi@linaro.org>
16740
16741 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16742 * gdb.base/gnu_vector.c: Don't include stdio.h.
16743 (main): Don't print res and call add_some_intvecs.
16744
430e004e
MK
167452015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16746
16747 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16748 macro.
16749 (func5): Removed.
16750 (func4): Use FAST_TRACEPOINT_LABEL.
16751 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16752 macro.
16753 (func): Removed.
16754 (thread_function): Use FAST_TRACEPOINT_LABEL.
16755 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16756 (func): Remove.
16757 (marker): Use FAST_TRACEPOINT_LABEL.
16758 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16759 (pendfunc1): Remove.
16760 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16761 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16762 (foo): Remove.
16763 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16764 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16765 macro.
16766 (func): Remove.
16767 (marker): Use FAST_TRACEPOINT_LABEL.
16768 * gdb.trace/trace-common.h: New header.
16769 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16770 macro.
16771 (func): Remove.
16772 (marker): Use FAST_TRACEPOINT_LABEL.
16773 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16774 (func): Remove.
16775 (thread_function): Use FAST_TRACEPOINT_LABEL.
16776
6e7675a7
MK
167772015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16778
16779 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16780 in front.
16781 * gdb.trace/change-loc.exp: Use global pcreg definition.
16782 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16783 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16784 in front.
16785 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16786 * gdb.trace/pending.exp: Likewise.
16787 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16788 * gdb.trace/trace-break.exp: Likewise.
16789 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16790 in front.
16791 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16792 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16793 in front.
16794 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16795
dddc0e16
JB
167962015-11-09 Joel Brobecker <brobecker@adacore.com>
16797
16798 * gdb.ada/fin_fun_out: New testcase.
16799
c6f0b406
KB
168002015-11-07 Kevin Buettner <kevinb@redhat.com>
16801
16802 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16803 value associated with DW_AT_byte_size.
16804 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16805 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16806 DW_AT_upper_bound.
16807
f01dcfd9
KB
168082015-11-07 Kevin Buettner <kevinb@redhat.com>
16809
16810 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16811 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16812 version.
16813 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16814 gdb.dwarf2/dw2-canonicalize-type.exp,
16815 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16816 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16817 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16818 provided by gdb_target_symbol_prefix_flags_asm.
16819 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16820 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16821 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16822 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16823 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16824 macros where needed). Use this macro for symbols which require
16825 the prefix provided by SYMBOL_PREFIX.
16826
2223449a
KB
168272015-11-05 Kevin Buettner <kevinb@redhat.com>
16828
16829 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16830 New procs.
16831 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16832 representing expressions, of more than one list element.
16833 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16834 to prepend linker symbol prefix to f.
16835 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16836 table_1 and table_2.
16837 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16838 Likewise, for f and g.
16839 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16840 for ptr.
16841 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16842 for main.
16843 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16844 table_1_ptr and table_2_ptr.
16845
6f2f1a3a
JK
168462015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16847 Joel Brobecker <brobecker@adacore.com>
16848
16849 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16850
566c56c9
MK
168512015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16852
16853 * gdb.reverse/s390-mvcle.c: New test.
16854 * gdb.reverse/s390-mvcle.exp: New file.
16855 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16856
d5f0636b
MK
168572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16858
16859 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16860
7ad8b86c
MK
168612015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16862
16863 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16864 reaching marker2.
16865 * gdb.reverse/getresuid-reverse.exp: Likewise.
16866 * gdb.reverse/pipe-reverse.exp: Likewise.
16867 * gdb.reverse/readv-reverse.exp: Likewise.
16868 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16869 * gdb.reverse/time-reverse.exp: Likewise.
16870 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16871
4081c0f1
YQ
168722015-10-30 Yao Qi <yao.qi@linaro.org>
16873
16874 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16875 (empty_cycle): Remove.
16876 (main): Don't call empty_cycle. Don't use watch_count_done.
16877 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16878 empty_cycle. Rewrite the code counting HW watchpoints.
16879
452b4ba5
MK
168802015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16881
16882 * gdb.reverse/fstatat-reverse.c: New test.
16883 * gdb.reverse/fstatat-reverse.exp: New file.
16884 * gdb.reverse/getresuid-reverse.c: New test.
16885 * gdb.reverse/getresuid-reverse.exp: New file.
16886 * gdb.reverse/pipe-reverse.c: New test.
16887 * gdb.reverse/pipe-reverse.exp: New file.
16888 * gdb.reverse/readv-reverse.c: New test.
16889 * gdb.reverse/readv-reverse.exp: New file.
16890 * gdb.reverse/recvmsg-reverse.c: New test.
16891 * gdb.reverse/recvmsg-reverse.exp: New file.
16892 * gdb.reverse/time-reverse.c: New test.
16893 * gdb.reverse/time-reverse.exp: New file.
16894 * gdb.reverse/waitpid-reverse.c: New test.
16895 * gdb.reverse/waitpid-reverse.exp: New file.
16896
5e2e7507
JK
168972015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16898
16899 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16900
0fde2c53
DE
169012015-10-26 Doug Evans <dje@google.com>
16902
16903 PR symtab/17391
16904 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16905 * gdb.dwarf2/bad-regnum.c: New file.
16906 * gdb.dwarf2/bad-regnum.exp: New file.
16907
1a70ae97
DE
169082015-10-26 Doug Evans <dje@google.com>
16909
16910 PR python/18938
16911 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16912 file.
16913
27dc26ab
JK
169142015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16915
16916 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16917 for a change by "Mention language in compile error message".
16918
bed91f4d
SM
169192015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16920
16921 PR python/18073
16922 * gdb.python/py-type.c (C::a_method): New.
16923 (C::a_const_method): New.
16924 (C::a_static_method): New.
16925 (a_function): New.
16926 * gdb.python/py-type.exp (test_fields): Test getting fields
16927 from function and method.
16928
3f2f83dd
KB
169292015-10-21 Keven Boell <keven.boell@intel.com>
16930
16931 * gdb.fortran/vla-alloc-assoc.exp: New file.
16932 * gdb.fortran/vla-datatypes.exp: New file.
16933 * gdb.fortran/vla-datatypes.f90: New file.
16934 * gdb.fortran/vla-history.exp: New file.
16935 * gdb.fortran/vla-ptype-sub.exp: New file.
16936 * gdb.fortran/vla-ptype.exp: New file.
16937 * gdb.fortran/vla-sizeof.exp: New file.
16938 * gdb.fortran/vla-sub.f90: New file.
16939 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16940 * gdb.fortran/vla-value-sub-finish.exp: New file.
16941 * gdb.fortran/vla-value-sub.exp: New file.
16942 * gdb.fortran/vla-value.exp: New file.
16943 * gdb.fortran/vla-ptr-info.exp: New file.
16944 * gdb.mi/mi-vla-fortran.exp: New file.
16945 * gdb.mi/vla.f90: New file.
16946
27145d50
SL
169472015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16948
16949 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16950 of hardwired timeout value.
16951
5f3ff4f8
JK
169522015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16953 Pedro Alves <palves@redhat.com>
16954
16955 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16956 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16957
bfd09d20
JS
169582015-10-19 Josh Stone <jistone@redhat.com>
16959
16960 * gdb.base/catch-syscall.c: Include <sched.h>.
16961 (unknown_syscall): New variable.
16962 (main): Trigger a vfork and an unknown syscall.
16963 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16964 (unknown_syscall_number): Likewise.
16965 (check_call_to_syscall): Accept an optional syscall pattern.
16966 (check_return_from_syscall): Likewise.
16967 (check_continue): Likewise.
16968 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16969 (test_catch_syscall_skipping_return): New test toggling off 'catch
16970 syscall' to step over the syscall return, then toggling back on.
16971 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16972 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16973 (do_syscall_tests): Call test_catch_syscall_without_args and
16974 test_catch_syscall_mid_vfork.
16975 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16976 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16977
b32b93c6
AS
169782015-10-19 Andrew Stubbs <ams@codesourcery.com>
16979
16980 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16981 print g_vE): Add new pass patterns.
16982 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16983 print various symbol names for vptr fields.
16984
9d622bda
AB
169852015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16986
16987 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16988 results.
16989
0fd8ac1c
YQ
169902015-10-12 Yao Qi <yao.qi@linaro.org>
16991
16992 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16993
34240514
YQ
169942015-10-12 Yao Qi <yao.qi@linaro.org>
16995
16996 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16997 is aarch64*-*-linux*.
16998
8240f442
YQ
169992015-10-12 Yao Qi <yao.qi@linaro.org>
17000
17001 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17002 (can_relocate_bcond_true): ... it.
17003 (can_relocate_bcond_false): New function.
17004 (foo): Likewise.
17005 (can_relocate_bl): Likewise.
17006 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17007 can_relocate_bl.
17008
2520f728
PMR
170092015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17010
17011 * gdb.base/nested-addr.c: New file.
17012 * gdb.base/nested-addr.exp: New testcase.
17013
abcef95a
MM
170142015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17015
17016 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17017 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17018 its output. Ignore the output of "record goto begin" and instead
17019 check that GDB is replaying.
17020
145e3ddb
PA
170212015-10-09 Pedro Alves <palves@redhat.com>
17022
17023 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17024 (top level): Use it in the run with no args test.
17025
d5d8c4e1
IB
170262015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17027
17028 * gdb.dlang/properties.exp: New file.
17029
06e635ef
SL
170302015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17031
17032 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17033 whether or not address 0x1000 is mapped on the target.
17034
e019fd1d
SM
170352015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17036
17037 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17038 build.
17039
77ba2a67
MM
170402015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17041
17042 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17043 instruction-history test.
17044
c60eb31f
DE
170452015-09-28 Doug Evans <dje@google.com>
17046
17047 * gdb.base/gcore.c (array_func): Add reference to static_array.
17048
9a3c8263
SM
170492015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17050
17051 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17052 source line.
17053
9720e656
SL
170542015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17055
17056 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17057 short or char as base type.
17058
938d3bf2
SL
170592015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17060
17061 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17062 to allow any size enum.
17063
e6c2c623
PMR
170642015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17065
17066 * gdb.ada/array_ptr_renaming.exp: New testcase.
17067 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17068 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17069
06da0f77
PL
170702015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17071
17072 * gdb.trace/ftrace-lock.c: New file.
17073 * gdb.trace/ftrace-lock.exp: New file.
17074
4f51c22a
PL
170752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17076
17077 * gdb.arch/insn-reloc.c: New file.
17078 * gdb.arch/ftrace-insn-reloc.exp: New file.
17079
7041adf4
PL
170802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17081
17082 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17083 instruction.
17084 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17085 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17086 * gdb.trace/range-stepping.c: Likewise.
17087 * gdb.trace/trace-break.c: Likewise.
17088 * gdb.trace/trace-mt.c (thread_function): Likewise.
17089 * gdb.trace/ftrace.c (marker): Likewise.
17090 * gdb.trace/trace-condition.c (marker): Likewise.
17091 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17092 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17093 is_aarch64_target.
17094
015d2e7e
DE
170952015-09-18 Doug Evans <xdje42@gmail.com>
17096
17097 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17098 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17099
26b188a2
SL
171002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17101
17102 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17103 the breakpoint.
17104
79dc332b
SL
171052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17106
17107 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17108 the pending breakpoint. Remove timeout override for "Run till
17109 MI pending breakpoint on pendfunc3 on thread 2" test.
17110
f57929f2
SL
171112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17112
17113 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17114 filename pattern.
17115
3f469b17
SL
171162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17117
17118 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17119 in breakpoint filename pattern.
17120
515b89b3
SL
171212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17122
7800dbe4
SL
17123 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17124
171252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17126
515b89b3
SL
17127 * gdb.linespec/explicit.exp: Check for readline support for
17128 tab-completion tests. Fix obvious typo.
17129
d2939ba2
MM
171302015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17131
17132 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17133 and replay.
17134
cbb55fa7
MM
171352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17136
17137 * gdb.btrace/non-stop.c: New.
17138 * gdb.btrace/non-stop.exp: New.
17139
43691ca1
PL
171402015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17141 Yao Qi <yao.qi@linaro.org>
17142
17143 * gdb.trace/trace-condition.c: New file.
17144 * gdb.trace/trace-condition.exp: New file.
17145
d78908cf
WW
171462015-09-16 Wei-cheng Wang <cole945@gmail.com>
17147
17148 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17149 for testing bytecode compilation.
17150
1ed415e2
PA
171512015-09-16 Pedro Alves <palves@redhat.com>
17152 Sandra Loosemore <sandra@codesourcery.com>
17153
17154 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17155 (SECONDS): Redefine.
17156 (main): Call pthread_kill and alarm early.
17157 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17158 support.
17159 (test): If the target can't hardware step and doesn't support
17160 displaced stepping, increase the timeout.
17161
d136eff5
PA
171622015-09-16 Pedro Alves <palves@redhat.com>
17163
17164 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17165 (enable_debug): New procedures.
17166 (test): Use them. Bail out if waiting for threads fails.
17167 (top level): Bail out if a test fails.
17168
991f019c
YQ
171692015-09-16 Yao Qi <yao.qi@linaro.org>
17170
17171 * gdb.asm/asm-source.exp: Set asm-arch for
17172 aarch64*-*-* target.
17173 * gdb.asm/aarch64.inc: New file.
17174
bfca584f
PMR
171752015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17176
17177 * gdb.ada/array_of_variable_length.exp: New testcase.
17178 * gdb.ada/array_of_variable_length/foo.adb: New file.
17179 * gdb.ada/array_of_variable_length/pck.adb: New file.
17180 * gdb.ada/array_of_variable_length/pck.ads: New file.
17181
b326e587
DE
171822015-09-15 Doug Evans <dje@google.com>
17183
17184 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17185 of function static local variable.
17186
5382cfab
PW
171872015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17188
17189 * gdb.threads/tls-so_extern.exp: New test file.
17190 * gdb.threads/tls-so_extern.c: New test file.
17191 * gdb.threads/tls-so_extern_main.c: New test file.
17192
141c5cc4
JK
171932015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17194
17195 * gdb.opt/solib-intra-step-lib.c: New file.
17196 * gdb.opt/solib-intra-step-main.c: New file.
17197 * gdb.opt/solib-intra-step.exp: New file.
17198
d15dcecd
PA
171992015-09-15 Pedro Alves <palves@redhat.com>
17200
17201 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17202 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17203
4c2f2a79
PA
172042015-09-14 Pedro Alves <palves@redhat.com>
17205
17206 * gdb.base/hook-stop-continue.c: Delete.
17207 * gdb.base/hook-stop-continue.exp: Delete.
17208 * gdb.base/hook-stop-frame.c: Delete.
17209 * gdb.base/hook-stop-frame.exp: Delete.
17210 * gdb.base/hook-stop.c: New file.
17211 * gdb.base/hook-stop.exp: New file.
17212
919e6dbe
PMR
172132015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17214
17215 * gdb.ada/access_to_packed_array.exp: New testcase.
17216 * gdb.ada/access_to_packed_array/foo.adb: New file.
17217 * gdb.ada/access_to_packed_array/pack.adb: New file.
17218 * gdb.ada/access_to_packed_array/pack.ads: New file.
17219
157280a4
MM
172202015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17221
17222 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17223 buffer size test.
17224
2fd33e94
DB
172252015-09-11 Don Breazeal <donb@codesourcery.com>
17226
17227 * gdb.base/foll-exec.c: Add copyright header. Fix
17228 formatting issues.
17229 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17230 (do_exec_tests): Use clean_restart in place of zap_session,
17231 and for test initialization. Fix formatting issues. Use
17232 fail in place of perror.
17233 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17234 an expect statement to match an expression with output from
17235 the program under debug.
17236 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17237 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17238 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17239 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17240 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17241
e70b6e8e
DE
172422015-09-09 Doug Evans <dje@google.com>
17243
17244 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17245
7a551a51
DE
172462015-09-09 Doug Evans <dje@google.com>
17247
17248 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17249
4c666f84
DE
172502015-09-09 Doug Evans <dje@google.com>
17251
17252 * gdb.base/savedregs.exp: Fix typo.
17253
243a9253
PA
172542015-09-09 Pedro Alves <palves@redhat.com>
17255
17256 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17257
c0fa8fbd
SL
172582015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17259
17260 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17261 command actually switches threads. Give up on remaining
17262 tests if target fails to stop at breakpoint.
17263
cd7c1778
PMR
172642015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17265
17266 * gdb.ada/funcall_char.exp: New testcase.
17267 * gdb.ada/funcall_char/foo.adb: New file.
17268
dc5c8746
PMR
172692015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17270
17271 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17272 expected outputs. Add two testcases for completing ambiguous
17273 functions.
17274 * gdb.ada/complete/aux_pck.adb: New file.
17275 * gdb.ada/complete/aux_pck.ads: New file.
17276 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17277 Ambiguous_Func functions.
17278 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17279 * gdb.ada/complete/pck.adb: Likewise.
17280
4e83a1e7
UW
172812015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17282
17283 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17284 failures to run the test program under GDB.
17285
8ce74153
LM
172862015-08-26 Luis Machado <lgustavo@codesourcery.com>
17287
17288 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17289 to C.
17290
e9756d52
PP
172912015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17292
17293 * gdb.base/run-after-attach.exp: New test file.
17294 * gdb.base/run-after-attach.c: New test file.
17295
8d37573b
DB
172962015-08-26 Don Breazeal <donb@codesourcery.com>
17297
17298 * gdb.base/foll-exec-2.c: New test program.
17299 * gdb.base/foll-exec-2.exp: New test.
17300
63e43d3a
PMR
173012015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17302
17303 * gdb.base/nested-subp1.exp: New file.
17304 * gdb.base/nested-subp1.c: New file.
17305 * gdb.base/nested-subp2.exp: New file.
17306 * gdb.base/nested-subp2.c: New file.
17307 * gdb.base/nested-subp3.exp: New file.
17308 * gdb.base/nested-subp3.c: New file.
17309
3d40fbb5
PA
173102015-08-24 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.server/connect-without-multi-process.c: New file.
17313 * gdb.server/connect-without-multi-process.exp: New file.
17314
4422ac93
LM
173152015-08-24 Luis Machado <lgustavo@codesourcery.com>
17316
17317 * gdb.opt/inline-markers.c: Make z int.
17318
91dddb86
LM
173192015-08-24 Luis Machado <lgustavo@codesourcery.com>
17320
17321 * gdb.opt/inline-markers.c: Make z volatile.
17322
a48847ee
LM
173232015-08-24 Luis Machado <lgustavo@codesourcery.com>
17324
17325 * gdb.opt/inline-bt.c: New volatile global z.
17326 * gdb.opt/inline-cmds.c: Likewise.
17327 * gdb.opt/inline-locals.c: Likewise.
17328 * gdb.opt/inline-markers.c: New extern global z.
17329 (marker): Use z.
17330 (inline_fn): Likewise.
17331
0ebbc52b
PA
173322015-08-24 Pedro Alves <palves@redhat.com>
17333
17334 * config/m32r-stub.exp: Remove file.
17335 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17336 * gdb.base/call-rt-st.exp: Likewise.
17337 * gdb.base/call-strs.exp: Likewise.
17338 * gdb.base/default.exp: Remove references to h8300-*-hms and
17339 *-*-udi*.
17340 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17341
77c365df
AA
173422015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17343
17344 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17345 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17346 and "return" use KFAIL when GDB can not read/write the vector
17347 return value.
17348
4313b8c0
GB
173492015-08-21 Gary Benson <gbenson@redhat.com>
17350
17351 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17352
0e433b32
PA
173532015-08-20 Pedro Alves <palves@redhat.com>
17354
17355 * gdb.server/solib-list.exp: No longer expect an interior stop in
17356 non-stop mode.
17357
221e1a37
PA
173582015-08-20 Pedro Alves <palves@redhat.com>
17359
17360 * gdb.server/connect-stopped-target.c: New file.
17361 * gdb.server/connect-stopped-target.exp: New file.
17362
40e3ad0e
PA
173632015-08-20 Pedro Alves <palves@redhat.com>
17364
17365 * gdb.dwarf2/comp-unit-lang.exp: New file.
17366 * gdb.dwarf2/comp-unit-lang.c: New file.
17367
af39b327
PMR
173682015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17369
17370 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17371 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17372
7d45c7c3 173732015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17374
7d45c7c3
KB
17375 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17376 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17377
4d6cceb4
DE
173782015-08-18 Doug Evans <dje@google.com>
17379 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17380
17381 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17382 skip_python_tests. New arg prompt_regexp.
17383 (skip_python_tests): New function.
17384 * lib/mi-support.exp (mi_skip_python_tests): New function.
17385 * gdb.python/py-mi-objfile-gdb.py: New file.
17386 * gdb.python/py-mi-objfile.c: New file.
17387 * gdb.python/py-mi-objfile.exp: New file.
17388
ad89c2aa
KS
173892015-08-17 Keith Seitz <keiths@redhat.com>
17390
17391 * gdb.linespec/explicit.exp: Move strace test from here ...
17392 * gdb.trace/strace.exp: ... to here.
17393
e3ae3c43
PP
173942015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17395
17396 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17397 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17398
604b2636
DE
173992015-08-14 Doug Evans <xdje42@gmail.com>
17400
17401 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17402 inferior before selecting a new file.
17403
6ff0ba5f
DE
174042015-08-14 Doug Evans <xdje42@gmail.com>
17405
17406 * gdb.mi/mi-disassemble.exp: Update.
17407 * gdb.base/disasm-optim.S: New file.
17408 * gdb.base/disasm-optim.c: New file.
17409 * gdb.base/disasm-optim.h: New file.
17410 * gdb.base/disasm-optim.exp: New file.
17411
9ca98f92
KS
174122015-08-14 Keith Seitz <keiths@redhat.com>
17413
17414 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17415 "evaluated-by".
17416
52bbc560
JB
174172015-08-13 Joel Brobecker <brobecker@adacore.com>
17418
17419 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17420
5d8c3ed3
PMR
174212015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17422
17423 * gdb.ada/fun_renaming.exp: New testcase.
17424 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17425 * gdb.ada/fun_renaming/pack.adb: New file.
17426 * gdb.ada/fun_renaming/pack.ads: New file.
17427
ea8812bc
KS
174282015-08-12 Keith Seitz <keiths@redhat.com>
17429
17430 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17431 gdb_get_line_number.
17432
4dafcdeb
JB
174332015-08-12 Joel Brobecker <brobecker@adacore.com>
17434
17435 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17436 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17437 gdb.base/dso2dso.exp: New files.
17438
5ba32597
SDJ
174392015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17440 Pedro Alves <palves@redhat.com>
17441 Keith Seitz <keiths@redhat.com>
17442
17443 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17444 GDBFLAGS.
17445
b6dafabf
PP
174462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17447
17448 * gdb.base/gdbhistsize-history.exp
17449 (test_histsize_history_setting): Use save_vars.
17450 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17451 Use save_vars.
17452 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17453 * gdb.base/readline.exp: Use save_vars.
17454
abe8e607
PP
174552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17456
17457 * lib/gdb.exp (save_vars): New proc.
17458
629500fa
KS
174592015-08-11 Keith Seitz <keiths@redhat.com>
17460
17461 * gdb.base/help.exp: Update help_breakpoint_text.
17462
eb8c4e2e
KS
174632015-08-11 Keith Seitz <keiths@redhat.com>
17464
17465 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17466 (at toplevel): Call test_explicit_breakpoints.
17467 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17468 breakpoints.
17469 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17470 breakpoint conditions, "-cond".
17471
87f0e720
KS
174722015-08-11 Keith Seitz <keiths@redhat.com>
17473
17474 * gdb.linespec/3explicit.c: New file.
17475 * gdb.linespec/cpexplicit.cc: New file.
17476 * gdb.linespec/cpexplicit.exp: New file.
17477 * gdb.linespec/explicit.c: New file.
17478 * gdb.linespec/explicit.exp: New file.
17479 * gdb.linespec/explicit2.c: New file.
17480 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17481 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17482 before using in the matching pattern.
17483 Clarify that `prefix' is a regular expression.
17484
f00aae0f
KS
174852015-08-11 Keith Seitz <keiths@redhat.com>
17486
17487 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17488 test.
17489 Add tests for missing ",FMT" and ",".
17490
e27852be
DE
174912015-08-10 Doug Evans <dje@google.com>
17492 Keith Seitz <keiths@redhat.com>
17493
17494 PR gdb/17960
17495 * gdb.base/completion.exp: Add location completer tests.
17496
7f03bd92
PA
174972015-08-07 Pedro Alves <palves@redhat.com>
17498
17499 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17500 tests here.
17501 (top level): Run do_test with and without displaced stepping.
17502
3fc8eb30
PA
175032015-08-07 Pedro Alves <palves@redhat.com>
17504
17505 * gdb.base/valgrind-disp-step.c: New file.
17506 * gdb.base/valgrind-disp-step.exp: New file.
17507
d4569d7b
PA
175082015-08-07 Pedro Alves <palves@redhat.com>
17509
17510 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17511 Delete function.
17512 (main): Add alarm. Run an infinite loop instead of calling
17513 wait_threads.
17514 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17515 comment.
17516 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17517 Delete function.
17518 (main): Add alarm. Run an infinite loop instead of calling
17519 wait_threads.
17520 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17521 comment.
17522
e1316e60
PA
175232015-08-07 Pedro Alves <palves@redhat.com>
17524
17525 * gdb.base/checkpoint-ns.exp: New file.
17526 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17527 standard_testfile.
17528
da8c46d2
MM
175292015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17530
17531 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17532 * gdb.btrace/instruction_history.exp: Update.
17533 * gdb.btrace/tsx.exp: New.
17534 * gdb.btrace/tsx.c: New.
17535
de1c2c52
PA
175362015-08-06 Pedro Alves <palves@redhat.com>
17537
17538 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17539 increase timeout.
17540 * gdb.reverse/until-precsave.exp: Bump timeouts.
17541
782e0bf4
PA
175422015-08-06 Pedro Alves <palves@redhat.com>
17543
17544 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17545
83e97ed0
PA
175462015-08-06 Pedro Alves <palves@redhat.com>
17547
17548 PR gdb/18749
17549 * gdb.threads/process-dies-while-handling-bp.c: New file.
17550 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17551
863d01bd
PA
175522015-08-06 Pedro Alves <palves@redhat.com>
17553
17554 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17555 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17556
0a39bb32
PA
175572015-08-05 Pedro Alves <palves@redhat.com>
17558
17559 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17560 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17561
ee2d2b10
SL
175622015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17563
17564 * gdb.base/bp-permanent.exp: Report test as unsupported if
17565 the target cannot stop at the permanent breakpoint.
17566
4e1bdb00
DE
175672015-08-03 Doug Evans <dje@google.com>
17568
17569 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17570 10000.
17571
3d338901
DE
175722015-08-03 Doug Evans <dje@google.com>
17573
17574 * Makefile.in (workers/%.worker, build-perf): New rule.
17575 (GDB_PERFTEST_MODE): New variable.
17576 (check-perf): Use it.
17577 (clean): Clean up gdb.perf parallel build subdirs.
17578 * lib/build-piece.exp: New file.
17579 * lib/gdb.exp (make_gdb_parallel_path): New function
17580 (standard_output_file, standard_temp_file): Call it.
17581 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17582 of $GDB_PARALLEL.
17583 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17584
af061d3e
DE
175852015-08-03 Doug Evans <dje@google.com>
17586
8e1afc81 17587 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17588 (LOG_FILE_NAME): New global.
17589 (TextReporter.__init__): Initialize self.txt_sum.
17590 (TextReporter.report): Add support for multiple data-points.
17591 Move report to perftest.sum, put raw data in perftest.log.
17592 (TextReporter.start): Open sum and log files.
17593 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17594 * gdb.perf/lib/perftest/testresult.py
17595 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17596
2c8c5d37
PA
175972015-07-31 Pedro Alves <palves@redhat.com>
17598
17599 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17600 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17601 kill_wait_spawned_process instead of explicit "kill -9".
17602 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17603 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17604 kill_wait_spawned_process.
17605 * gdb.base/attach-twice.exp: Likewise.
17606 * gdb.base/attach.exp: Likewise.
17607 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17608 gdb_test_multiple.
17609 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17610 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17611 kill_wait_spawned_process.
17612 * gdb.base/valgrind-infcall.exp: Likewise.
17613 * gdb.multi/multi-attach.exp: Likewise.
17614 * gdb.python/py-prompt.exp: Likewise.
17615 * gdb.python/py-sync-interp.exp: Likewise.
17616 * gdb.server/ext-attach.exp: Likewise.
17617 * gdb.threads/attach-into-signal.exp (corefunc): Use
17618 spawn_wait_for_attach, spawn_id_get_pid and
17619 kill_wait_spawned_process.
17620 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17621 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17622 spawn_id_get_pid and kill_wait_spawned_process.
17623 * gdb.threads/attach-stopped.exp (corefunc): Use
17624 spawn_wait_for_attach, spawn_id_get_pid and
17625 kill_wait_spawned_process.
17626 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17627 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17628 kill_wait_spawned_process instead of explicit "kill -9".
17629 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17630 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17631 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17632 processes. Don't map cygwin/windows pids here. Now returns a
17633 spawn id list.
17634
032a0fca
SL
176352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17636
17637 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17638 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17639 correct patch.
17640
61a934ca
SL
176412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17642
17643 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17644
4bc4d428
SL
176452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17646
17647 Reapply:
17648 2014-05-21 Mark Wielaard <mjw@redhat.com>
17649
17650 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17651
998d452a
PA
176522015-07-30 Pedro Alves <palves@redhat.com>
17653
17654 * linux-low.c (handle_extended_wait): Set the child's last
17655 reported status to TARGET_WAITKIND_STOPPED.
17656
69dde7dc
PA
176572015-07-30 Pedro Alves <palves@redhat.com>
17658
17659 PR threads/18600
17660 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17661 only shows inferior 1.
17662
4dd63d48
PA
176632015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17664 Pedro Alves <palves@redhat.com>
17665
17666 PR threads/18600
17667 * gdb.threads/fork-plus-threads.c: New file.
17668 * gdb.threads/fork-plus-threads.exp: New file.
17669
d618e4c5
PP
176702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17671
17672 * gdb.base/batch-preserve-term-settings.exp
17673 (test_terminal_settings_preserved_after_cli_exit): Use
17674 send_quit_command.
17675
1eef6428
PA
176762015-07-29 Pedro Alves <palves@redhat.com>
17677 Don Breazeal <donb@codesourcery.com>
17678
17679 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17680 output from both inferior_spawn_id and gdb_spawn_id.
17681
7da5b897
SDJ
176822015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17683
17684 * gdb.threads/attach-into-signal.exp (corefunc): Use
17685 with_test_prefix on nested loops, uniquefying the test messages.
17686
dac804df
SDJ
176872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17688
17689 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17690 commit.
17691
06265e53
PP
176922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17693
17694 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17695 New proc.
17696 (test_terminal_settings_preserved_after_sigterm): New test.
17697
18206ca3
PP
176982015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17699
17700 * gdb.base/batch-preserve-term-settings.exp
17701 (test_terminal_settings_preserved_after_cli_exit): New test.
17702
90074d11
PP
177032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17704
17705 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17706 manipulation of saved_gdbflags.
17707 (test_terminal_settings_preserved): Remove global declaration of
17708 the unused variable pagination_prompt. Remove manipulation of
17709 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17710 GDBFLAGS.
17711
eb1a7902
PA
177122015-07-29 Pedro Alves <palves@redhat.com>
17713
17714 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17715
8b75dd3b
PA
177162015-07-29 Pedro Alves <palves@redhat.com>
17717
17718 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17719 at the top.
17720
dedad4e3
PA
177212015-07-29 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17724 (main): Call gdb_unbuffer_output.
17725 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17726 (main): Call gdb_unbuffer_output.
17727 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17728 (main): Call gdb_unbuffer_output.
17729 * gdb.base/call-strs.exp: Adjust to step over the
17730 gdb_unbuffer_output call.
17731 * gdb.base/catch-gdb-caused-signals.c: Include
17732 "../lib/unbuffer_output.c".
17733 (main): Call gdb_unbuffer_output.
17734 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17735 (main): Call gdb_unbuffer_output.
17736 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17737 (main): Call gdb_unbuffer_output.
17738 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17739 (main): Call gdb_unbuffer_output.
17740 * gdb.base/shlib-call.exp: Adjust to step over the
17741 gdb_unbuffer_output call.
17742 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17743 (main): Call gdb_unbuffer_output.
17744 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17745 (main): Call gdb_unbuffer_output.
17746 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17747 (main): Rename to ...
17748 (test): ... this.
17749 (main): Reimplement.
17750 * gdb.base/varargs.exp: Run to test instead of to main.
17751 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17752 (main): Call gdb_unbuffer_output.
17753
58789a91
PA
177542015-07-29 Pedro Alves <palves@redhat.com>
17755
17756 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17757 factore out from mi_continue_dprintf. For call-style dprintfs,
17758 expect dprintf output out of $inferior_spawn_id.
17759 (mi_continue_dprintf): Use mi_expect_dprintf.
17760 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17761 (main): Call gdb_unbuffer_output.
17762
e8376742
PA
177632015-07-29 Pedro Alves <palves@redhat.com>
17764
17765 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17766 (default_mi_gdb_start): Set inferior_spawn_id instead of
17767 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17768 gdb_spawn_id.
17769 (mi_gdb_test): Always expect inferior output from both
17770 $inferior_spawn_id and $gdb_spawn_id.
17771
08280010
PA
177722015-07-29 Pedro Alves <palves@redhat.com>
17773
17774 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17775 send_inferior and $inferior_spawn_id.
17776
4d30e432
PA
177772015-07-29 Pedro Alves <palves@redhat.com>
17778
17779 * gdb.gdb/complaints.exp (test_initial_complaints)
17780 (test_serial_complaints, test_short_complaints): Use
17781 gdb_test_stdio.
17782 (test_empty_complaint): Handle $inferior_spawn_id !=
17783 $gdb_spawn_id.
17784
0d30a335
PA
177852015-07-29 Pedro Alves <palves@redhat.com>
17786
17787 * gdb.base/varargs.exp: Use gdb_test_stdio.
17788
39413b29
PA
177892015-07-29 Pedro Alves <palves@redhat.com>
17790
17791 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17792
7cb000a9
PA
177932015-07-29 Pedro Alves <palves@redhat.com>
17794
17795 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17796
d7b8ac82
PA
177972015-07-29 Pedro Alves <palves@redhat.com>
17798
17799 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17800 parameter into two new parameters, "inf_result" and "gdb_result".
17801 Expect inferior output and gdb output from $inferior_spawn_id and
17802 $gdb_spawn_id, respectively. Adjust all callers.
17803
789c3a0c
PA
178042015-07-29 Pedro Alves <palves@redhat.com>
17805
17806 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17807 of gdb_test_sequence.
17808
77e760c3
PA
178092015-07-29 Pedro Alves <palves@redhat.com>
17810
17811 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17812 (saw_spurious_output): Expect inferior output from
17813 $inferior_spawn_id. Use gdb_test_stdio.
17814
8396d2cd
PA
178152015-07-29 Pedro Alves <palves@redhat.com>
17816
17817 * gdb.base/dprintf.exp: Use standard_testfile. Change
17818 prepare_for_testing call.
17819 (srcfile): Don't set.
17820 (restart): New procedure.
17821 (test_dprintf): New procecure, use to continue over dprintfs.
17822 (test_call, test_agent): New procedures, tests moved here.
17823 Restart gdb and recreate dprintfs. Adjust expected output.
17824
2051d61f
PA
178252015-07-29 Pedro Alves <palves@redhat.com>
17826
17827 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17828
452397af
PA
178292015-07-29 Pedro Alves <palves@redhat.com>
17830
17831 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17832
8aed9555
PA
178332015-07-29 Pedro Alves <palves@redhat.com>
17834
17835 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17836 gdb_test_stdio.
17837
188a61b4
PA
178382015-07-29 Pedro Alves <palves@redhat.com>
17839
17840 * lib/gdb.exp (gdb_test_stdio): New procedure.
17841
12264a45
PA
178422015-07-29 Pedro Alves <palves@redhat.com>
17843
17844 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17845
23ffc893
PA
178462015-07-29 Pedro Alves <palves@redhat.com>
17847
17848 * gdb.base/call-signal-resume.exp: Remove check for
17849 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17850 * gdb.base/unwindonsignal.exp: Likewise.
17851 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17852 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17853
65566918
PA
178542015-07-29 Pedro Alves <palves@redhat.com>
17855
17856 * gdb.base/siginfo-addr.c (pass): New function.
17857 (handler): Call it iff si_addr is correct.
17858 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17859 Set a breakpoint at "pass" and continue to it.
17860
d60a9221
SDJ
178612015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17862
17863 * gdb.python/py-objfile.exp: Make some tests have unique names.
17864 * gdb.python/py-pp-registration.exp: Likewise.
17865
bde40b8f
PA
178662015-07-28 Pedro Alves <palves@redhat.com>
17867
17868 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17869
13e1dec8
SM
178702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17871
17872 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17873
da33c9a7
SM
178742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17875
17876 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17877
077836f7
PP
178782015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17879
17880 * gdb.base/gdb-sigterm-2.exp: New test.
17881
b8cc7b2e
DE
178822015-07-25 Doug Evans <xdje42@gmail.com>
17883
17884 Revert:
17885 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17886 (workers/%.worker, build-perf): New rule.
17887 (GDB_PERFTEST_MODE): New variable.
17888 (check-perf): Use it.
17889 (clean): Clean up gdb.perf parallel build subdirs.
17890 * lib/build-piece.exp: New file.
17891 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17892 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17893 name.
17894 (standard_temp_file): Ditto.
17895 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17896 of $GDB_PARALLEL.
17897
c8bd4544
DE
178982015-07-24 Doug Evans <dje@google.com>
17899
17900 * gdb.perf/lib/perftest/utils.py: New file.
17901 * gdb.perf/gm-hello.cc: New file.
17902 * gdb.perf/gm-pervasive-typedef.cc: New file.
17903 * gdb.perf/gm-pervasive-typedef.h: New file.
17904 * gdb.perf/gm-std.cc: New file.
17905 * gdb.perf/gm-std.h: New file.
17906 * gdb.perf/gm-use-cerr.cc: New file.
17907 * gdb.perf/gm-utils.h: New file.
17908 * gdb.perf/gmonster-null-lookup.py: New file.
17909 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17910 * gdb.perf/gmonster-print-cerr.py: New file.
17911 * gdb.perf/gmonster-ptype-string.py: New file.
17912 * gdb.perf/gmonster-runto-main.py: New file.
17913 * gdb.perf/gmonster-select-file.py: New file.
17914 * gdb.perf/gmonster1-null-lookup.exp: New file.
17915 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17916 * gdb.perf/gmonster1-print-cerr.exp: New file.
17917 * gdb.perf/gmonster1-ptype-string.exp: New file.
17918 * gdb.perf/gmonster1-runto-main.exp: New file.
17919 * gdb.perf/gmonster1-select-file.exp: New file.
17920 * gdb.perf/gmonster1.cc: New file.
17921 * gdb.perf/gmonster1.exp: New file.
17922 * gdb.perf/gmonster2-null-lookup.exp: New file.
17923 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17924 * gdb.perf/gmonster2-print-cerr.exp: New file.
17925 * gdb.perf/gmonster2-ptype-string.exp: New file.
17926 * gdb.perf/gmonster2-runto-main.exp: New file.
17927 * gdb.perf/gmonster2-select-file.exp: New file.
17928 * gdb.perf/gmonster2.cc: New file.
17929 * gdb.perf/gmonster2.exp: New file.
17930
6eab34f3
DE
179312015-07-24 Doug Evans <dje@google.com>
17932
17933 * gdb.perf/README: New file.
17934 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17935 * lib/gen-perf-test.exp: New file.
17936
63738bfd
DE
179372015-07-24 Doug Evans <dje@google.com>
17938
17939 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17940 (PerfTest::startup): New function.
17941 (PerfTest::run): Return result of calling body.
17942 (PerfTest::assemble): Rewrite.
17943 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17944 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17945 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17946 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17947 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17948
7b606f95
DE
179492015-07-24 Doug Evans <dje@google.com>
17950
17951 * lib/gdb.exp (clean_restart): Make executable optional.
17952
a97b16b8
DE
179532015-07-24 Doug Evans <dje@google.com>
17954
17955 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17956 compiler_info references.
17957 * gdb.cp/temargs.exp: Ditto.
17958 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17959 (get_compiler_info): Early exit if already computed. Set compiler_info
17960 to "unknown" if there was a problem.
17961 (test_compiler_info): Add function comment. Call get_compiler_info.
17962
35baa57f
DE
179632015-07-24 Doug Evans <dje@google.com>
17964
17965 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17966 (workers/%.worker, build-perf): New rule.
17967 (GDB_PERFTEST_MODE): New variable.
17968 (check-perf): Use it.
17969 (clean): Clean up gdb.perf parallel build subdirs.
17970 * lib/build-piece.exp: New file.
17971 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17972 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17973 name.
17974 (standard_temp_file): Ditto.
17975 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17976 of $GDB_PARALLEL.
17977
6ebea266
DE
179782015-07-24 Doug Evans <dje@google.com>
17979
17980 * lib/future.exp (gdb_default_target_compile): New option
17981 "early_flags".
17982 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17983 --as-needed.
17984
1e76a7e9
SDJ
179852015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17986
17987 * gdb.base/catch-syscall.exp: Call gdb_exit before
17988 gdb_skip_xml_test.
17989
5068630a
PA
179902015-07-24 Pedro Alves <palves@redhat.com>
17991
17992 * gdb.python/py-events.exp: Accept output between the stop event
17993 and the prompt.
17994 * gdb.python/py-evsignal.exp: Likewise.
17995 * gdb.python/py-evthreads.exp: Likewise.
17996
77598427
PA
179972015-07-24 Pedro Alves <palves@redhat.com>
17998
17999 PR gdb/18717
18000 * gdb.threads/non-ldr-exit.c: New file.
18001 * gdb.threads/non-ldr-exit.exp: New file.
18002
11e6c98f
YQ
180032015-07-24 Yao Qi <yao.qi@linaro.org>
18004
18005 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18006 restarting process.
18007
51aee833
YQ
180082015-07-24 Yao Qi <yao.qi@linaro.org>
18009
18010 * gdb.server/ext-restart.exp: New file.
18011
8cfe207c
YQ
180122015-07-24 Yao Qi <yao.qi@linaro.org>
18013
18014 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18015 argument options.
18016 * gdb.server/ext-wrapper.exp: New file.
18017
cc12ce38
DE
180182015-07-23 Doug Evans <dje@google.com>
18019
18020 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18021 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18022
d0d84780
PMR
180232015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18024
18025 * gdb.ada/var_arr_typedef.exp: New testcase.
18026 * gdb.ada/var_arr_typedef/pack.adb: New file.
18027 * gdb.ada/var_arr_typedef/pack.ads: New file.
18028 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18029
8b558f79
JB
180302015-07-20 Joel Brobecker <brobecker@adacore.com>
18031
18032 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18033
775a3298
JK
180342015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18035
18036 * gdb.arch/i386-biarch-core.exp: Replace istarget
18037 by "complete set gnutarget". Remove expectation for the "core-file"
18038 command.
18039
db1ff28b
JK
180402015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18041
18042 Revert the previous commit:
18043 Tests for validate symbol file using build-id.
18044
0a94970d
JK
180452015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18046
18047 Tests for validate symbol file using build-id.
18048 * gdb.base/solib-mismatch-lib.c: New file.
18049 * gdb.base/solib-mismatch-libmod.c: New file.
18050 * gdb.base/solib-mismatch.c: New file.
18051 * gdb.base/solib-mismatch.exp: New file.
18052
03346981
SL
180532015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18054
18055 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18056 nios2-*-linux*.
18057 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18058 * gdb.base/siginfo.exp: Likewise.
18059 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18060
42422cc7
PL
180612015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18062
18063 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18064 Move it to ...
18065 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18066 ... here.
18067 * gdb.trace/range-stepping.exp: Check that the target supports
18068 range stepping.
18069
cfa68bae
JK
180702015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18071
18072 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18073
8ffdba26
PA
180742015-07-14 Pedro Alves <palves@redhat.com>
18075
18076 * gdb.base/killed-outside.exp: New file.
18077 * gdb.base/killed-outside.c: New file.
18078
218a5a11
JK
180792015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18080
18081 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18082 (n at main): New.
18083 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18084
e03ed3c6
AA
180852015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18086
18087 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18088 infcall tests instead of setting up for KFAIL.
18089
485668e5
MM
180902015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18091
18092 * gdb.btrace/record_goto-step.exp: New.
18093
08464196
JK
180942015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18095
18096 PR compile/18484
18097 * gdb.compile/compile.c (struct struct_type): Add volatile to
18098 selffield's type.
18099 * gdb.compile/compile.exp
18100 (compile code struct_object.selffield = &struct_object): Skip further
18101 struct_object tests if this one xfails.
18102
bcf5c1d9
RC
181032015-07-08 Robert O'Callahan <robert@ocallahan.org>
18104
18105 PR exp/18617
18106 * gdb.trace/ax.exp: Add test.
18107
4931af25
YQ
181082015-07-07 Yao Qi <yao.qi@linaro.org>
18109
18110 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18111 instead of istarget "aarch64*-*-*".
18112 * gdb.arch/aarch64-fp.exp: Likewise.
18113 * gdb.base/float.exp: Likewise.
18114 * gdb.reverse/aarch64.exp: Likewise.
18115 * lib/gdb.exp (is_aarch64_target): New proc.
18116
9fcf688e
YQ
181172015-07-07 Yao Qi <yao.qi@linaro.org>
18118
18119 * lib/gdb.exp (is_aarch32_target): New proc.
18120 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18121 instead of "istarget "arm*-*-*"".
18122 * gdb.arch/arm-disp-step.exp: Likewise.
18123 * gdb.arch/thumb-bx-pc.exp: Likewise.
18124 * gdb.arch/thumb-prologue.exp: Likewise.
18125 * gdb.arch/thumb-singlestep.exp: Likewise.
18126 * gdb.base/disp-step-syscall.exp: Likewise.
18127 * gdb.base/float.exp: Likewise.
18128
fbd8d50d
YQ
181292015-07-07 Yao Qi <yao.qi@linaro.org>
18130
18131 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18132 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18133
71be1fdc
YQ
181342015-07-07 Yao Qi <yao.qi@linaro.org>
18135
18136 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18137 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18138 if it exists.
18139 * gdb.multi/multi-arch.exp: Likewise.
18140
3e221d36
SM
181412015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18142
18143 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18144 print.
18145
d441430b
YQ
181462015-07-07 Yao Qi <yao.qi@linaro.org>
18147
18148 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18149
06f810bd
MG
181502015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18151
18152 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18153 '[' and ']' characters.
18154
5e61e7c0
IB
181552015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18156
18157 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18158
28bf096c
PA
181592015-06-29 Pedro Alves <palves@redhat.com>
18160
18161 PR threads/18127
18162 * gdb.threads/hand-call-new-thread.c: New file.
18163 * gdb.threads/hand-call-new-thread.c: New file.
18164
ee93cd5e
KS
181652015-06-26 Keith Seitz <keiths@redhat.com>
18166 Doug Evans <dje@google.com>
18167
18168 PR 16253
18169 * gdb.cp/var-tag-2.cc: New file.
18170 * gdb.cp/var-tag-3.cc: New file.
18171 * gdb.cp/var-tag-4.cc: New file.
18172 * gdb.cp/var-tag.cc: New file.
18173 * gdb.cp/var-tag.exp: New file.
18174
fc637f04
PP
181752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18176
18177 * gdb.base/history-duplicates.exp: New test.
18178
2e52ae68
PP
181792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18180
18181 * gdb.base/completion.exp: Test the completion of the "focus"
18182 command.
18183
6e22494e
JK
181842015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18185
18186 * gdb.arch/amd64-prologue-skip.S: New file.
18187 * gdb.arch/amd64-prologue-skip.exp: New file.
18188
bf7b9cd9
SM
181892015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18190
18191 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18192 is_address_zero_readable check.
18193
201e8dfd
PB
181942015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18195
18196 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18197 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18198
5cd867b4
YQ
181992015-06-24 Yao Qi <yao.qi@linaro.org>
18200
18201 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18202 linux targets.
18203
4d7be007
YQ
182042015-06-24 Yao Qi <yao.qi@linaro.org>
18205
18206 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18207 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18208 * gdb.base/siginfo-thread.exp: Likewise.
18209
07fcd301
YQ
182102015-06-22 Yao Qi <yao.qi@linaro.org>
18211
18212 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18213
52042a00
YQ
182142015-06-22 Yao Qi <yao.qi@linaro.org>
18215
18216 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18217 aarch64*-*-*.
18218 (skip_hw_watchpoint_tests): Likewise.
18219
74bd41ce
PP
182202015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18221
18222 * gdb.base/gdbinit-history.exp: Test the interaction between
18223 setting GDBHISTSIZE and setting the history size via .gdbinit.
18224
bc460514
PP
182252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18226
18227 PR gdb/16999
18228 * gdb.base/gdbhistsize-history.exp: New test.
18229
b58c513b
PP
182302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18231
18232 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18233 with GDBHISTSIZE.
18234 * gdb.base/readline.exp: Likewise.
18235
92046791
YQ
182362015-06-17 Yao Qi <yao.qi@linaro.org>
18237
18238 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18239 line.
18240
2093d2d3
PP
182412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18242
18243 * gdb.base/gdbinit-history.exp: Add test case to check that
18244 an unlimited history file does not get truncated on exit.
18245
e6c693af
AA
182462015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18247
18248 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18249 (VECTOR): New macro. Use it...
18250 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18251 ...for these typedefs.
18252 (int8, char1, int1, double1): New typedefs.
18253 (struct just_int2, struct two_int2): New structures.
18254 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18255 (add_structvecs, add_singlevecs): New functions.
18256 (main): Call add_some_intvecs twice.
18257 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18258 the compile and exit upon failure. Try compiling for the "native"
18259 architecture. Test inferior function calls with vector arguments
18260 and vector return value handling with "finish" and "return".
18261
c74f7d1c
JT
182622015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18263
18264 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18265 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18266 PE file.
18267 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18268
98aa42ee
AT
182692015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18270
18271 PR breakpoints/16465
18272 * gdb.mi/mi-dprintf-pending.c: New file.
18273 * gdb.mi/mi-dprintf-pending.exp: New test.
18274 * gdb.mi/mi-dprintf-pendshr.c: New file.
18275
7d73c23c 182762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18277 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18278
18279 * gdb.arch/i386-mpx-map.c: New file.
18280 * gdb.arch/i386-mpx-map.exp: New File.
18281
182822015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18283
18284 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18285 * gdb.arch/i386-mpx.exp: Indentation fixed.
18286
182872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18288
18289 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18290 function and improved indentation.
18291 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18292 gdb_test_multiple. Added additional tests to skip the test.
18293
182942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18295
18296 * gdb.arch/i386-avx512.c: Change path in include file.
18297 * gdb.arch/i386-avx512.exp: Change include dir path
18298 compilation flag.
18299 * gdb.arch/i386-mpx.c: Change path in include file.
18300 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18301 flag.
18302
d5eba19a
JK
183032015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18304
18305 * gdb.compile/compile-print.exp (compile print *vararray@3)
18306 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18307
7f361056
JK
183082015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18309
18310 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18311 (do not keep jit in memory): ... this.
18312 (expect 5): Change it to ...
18313 (expect no 5): ... this.
18314
3b462ec2
SM
183152015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18316
18317 PR gdb/15564
18318 * gdb.mi/mi-detach.exp: New file.
18319
e0619de6
JK
183202015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18321
18322 PR symtab/18392
18323 * gdb.arch/amd64-tailcall-self.S: New file.
18324 * gdb.arch/amd64-tailcall-self.c: New file.
18325 * gdb.arch/amd64-tailcall-self.exp: New file.
18326
e970cb34
DB
183272015-05-28 Don Breazeal <donb@codesourcery.com>
18328
18329 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18330 tests for remote targets by checking is_target_gdbserver.
18331
b2e2f908
DE
183322015-05-27 Doug Evans <dje@google.com>
18333
18334 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18335 * gdb.dwarf2/opaque-type-lookup.c: New file.
18336 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18337
82c7be31
DE
183382015-05-26 Doug Evans <dje@google.com>
18339
18340 * gdb.cp/iostream.cc: New file.
18341 * gdb.cp/iostream.exp: New file.
18342
b4f54984
DE
183432015-05-26 Doug Evans <dje@google.com>
18344
18345 * gdb.dwarf2/dw2-op-call.exp: Update.
18346 * gdb.dwarf2/dw4-sig-types.exp: Update.
18347 * gdb.dwarf2/implptr.exp: Update.
18348 * gdb.mi/mi-cmd-param-changed.exp: Update.
18349
4ea6efe9
DE
183502015-05-26 Doug Evans <dje@google.com>
18351
18352 * gdb.python/py-lazy-string.c: New file.
18353 * gdb.python/py-lazy-string.exp: New file.
18354 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18355 (main): Update. Add estring3.
18356 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18357 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18358
f6bb7db3
YQ
183592015-05-26 Omair Javaid <omair.javaid@linaro.org>
18360 Yao Qi <yao.qi@linaro.org>
18361
18362 * gdb.reverse/aarch64.c: New.
18363 * gdb.reverse/aarch64.exp: New.
18364
a81bfbd0
OJ
183652015-05-26 Omair Javaid <omair.javaid@linaro.org>
18366
25d49b86
PA
18367 * lib/gdb.exp (supports_process_record): Return true for
18368 aarch64*-linux*.
a81bfbd0
OJ
18369 (supports_reverse): Likewise.
18370
158bf1b4
PP
183712015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18372
18373 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18374 Use with_test_prefix.
18375
a0145030
AB
183762015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18377
18378 * gdb.base/completion.exp: Add test for completion of layout
18379 names.
18380
ebe3b578
AB
183812015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18382
18383 * lib/gdb.exp (skip_tui_tests): New proc.
18384 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18385
84204ed7
PA
183862015-05-19 Pedro Alves <palves@redhat.com>
18387
18388 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18389 Save the whole env array instead of just HOME. Unset HISTSIZE in
18390 the environment while testing. Restore whole environment
18391 afterwards.
18392
37442ce1
DE
183932015-05-16 Doug Evans <xdje42@gmail.com>
18394
18395 * gdb.guile/scm-ports.c: New file.
18396 * gdb.guile/scm-ports.exp: Add memory port tests.
18397
36de76f9
JK
183982015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18399
18400 * gdb.compile/compile-print.c: New file.
18401 * gdb.compile/compile-print.exp: New file.
18402
3a9558c4
JK
184032015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18404
18405 * gdb.compile/compile-ops.exp: Cast param to void.
18406 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18407 (compile code struct_object.selffield = &struct_object): Add xfail.
18408
aa715135
JG
184092015-05-15 Joel Brobecker <brobecker@adacore.com>
18410
18411 * gdb.ada/arr_enum_with_gap: New testcase.
18412
931e5bc3
JG
184132015-05-15 Joel Brobecker <brobecker@adacore.com>
18414
18415 * gdb.ada/byte_packed_arr: New testcase.
18416
9cd4d857
JB
184172015-05-15 Joel Brobecker <brobecker@adacore.com>
18418
18419 * gdb.ada/pckd_neg: New testcase.
18420
ebfd00d2
PP
184212015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18422
18423 PR gdb/17820
18424 * gdb.base/gdbinit-history.exp: New test.
18425 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18426 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18427
4c082a81
SC
184282015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18429
18430 * gdb.python/py-xmethods.cc: Enhance test case.
18431 * gdb.python/py-xmethods.exp: New tests.
18432 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18433 function.
18434 (B_indexoper): Likewise.
18435 (global_dm_list) : Add new xmethod worker functions.
18436
f7797074
SDJ
184372015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18438
18439 * gdb.base/coredump-filter.exp: Correctly unset
18440 "coredump_var_addr" array.
18441
a4674e4e
PA
184422015-05-08 Pedro Alves <palves@redhat.com>
18443
18444 * gdb.server/non-existing-program.exp: Unset spawn_id.
18445
df2eb078
SC
184462015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18447
18448 PR python/18291
18449 * gdb.python/py-xmethods.exp: Add tests.
18450
422349a3
YQ
184512015-05-08 Yao Qi <yao.qi@linaro.org>
18452
18453 PR gdb/18208
18454 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18455 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18456 function set_coredump_filter, and remove remote_exec call.
18457 Remove argument ipid. Callers update.
18458 (top level): Don't get inferior's PID.
18459
63fc80ce
AA
184602015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18461
18462 * gdb.base/watch_thread_num.exp: Skip test on targets without
18463 access watchpoints.
18464
80ad801e
PA
184652015-05-06 Pedro Alves <palves@redhat.com>
18466
18467 PR server/18081
18468 * gdb.server/non-existing-program.exp: New file.
18469
0fa7fe50
JB
184702015-05-05 Joel Brobecker <brobecker@adacore.com>
18471
18472 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18473
3ea89b92
PMR
184742015-05-05 Joel Brobecker <brobecker@adacore.com>
18475
18476 * gdb.ada/out_of_line_in_inlined: New testcase.
18477
87b8eff0
JB
184782015-05-05 Joel Brobecker <brobecker@adacore.com>
18479
18480 * gdb.ada/var_rec_arr: New testcase.
18481
5fccc635
YQ
184822015-04-30 Yao Qi <yao.qi@linaro.org>
18483
18484 * gdb.base/break-idempotent.exp: If
18485 skip_hw_watchpoint_multi_tests returns true, skip the tests
18486 on "rwatch" and "awatch".
18487
42d38f42
YQ
184882015-04-30 Yao Qi <yao.qi@linaro.org>
18489
18490 * gdb.base/relativedebug.exp: Invoke gdb command
18491 "info sharedlibrary", and if libc.so doesn't have debug info,
18492 skip the test.
18493
2ce1cdbf
DE
184942015-04-29 Doug Evans <dje@google.com>
18495
18496 * gdb.python/py-xmethods.exp: Add ptype tests.
18497 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18498 get_result_type method.
18499
f24a38c5
LM
185002015-04-29 Luis Machado <lgustavo@codesourcery.com>
18501
18502 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18503 the target does not support hardware watchpoints.
18504
ecbf2b3c
LM
185052015-04-29 Luis Machado <lgustavo@codesourcery.com>
18506
18507 * gdb.base/break-always.exp: Abort testing if writing to memory
18508 causes an error.
18509
34f5f757
DE
185102015-04-28 Doug Evans <dje@google.com>
18511
18512 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18513 * gdb.python/py-pp-registration.exp: ... here. New file.
18514 * gdb.python/py-pp-registration.c: New file.
18515 * gdb.python/py-pp-registration.py: New file.
18516
69b4374a
DE
185172015-04-28 Doug Evans <dje@google.com>
18518
18519 * gdb.python/py-bad-printers.c: New file.
18520 * gdb.python/py-bad-printers.py: New file.
18521 * gdb.python/py-bad-printers.exp: New file.
18522
59fb7612
SS
185232015-04-28 Sasha Smundak <asmundak@google.com>
18524
18525 * gdb.python/py-type.exp: New test.
18526
2631b16a
AW
185272015-04-28 Andy Wingo <wingo@igalia.com>
18528
18529 * gdb.python/py-parameter.exp:
18530 * gdb.guile/scm-parameter.exp: Escape the path that we are
18531 matching against, as it might contain characters that are special
18532 to regular expressions.
18533
460efde1
JB
185342015-04-27 Joel Brobecker <brobecker@adacore.com>
18535
18536 * gdb.ada/rec_comp: New testcase.
18537
2d369d8e
SDJ
185382015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18539
18540 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18541 before using it.
18542
cf75d6c3
AB
185432015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18544
18545 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18546 new tests for verilog output.
18547
8dbe7ca5
YQ
185482015-04-24 Yao Qi <yao.qi@linaro.org>
18549
18550 * boards/remote-gdbserver-on-localhost.exp: New file.
18551
4ef9fb2f
PA
185522015-04-23 Pedro Alves <palves@redhat.com>
18553
18554 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18555 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18556 "end of file", remove $inferior_spawn_id from the indirect list.
18557
0a803169
PA
185582015-04-23 Pedro Alves <palves@redhat.com>
18559
18560 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18561
749ef8f8
PA
185622015-04-23 Pedro Alves <palves@redhat.com>
18563
18564 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18565 on $any_spawn_id instead of only on $gdb_spawn_id.
18566
8aae4344
PM
185672015-04-21 Pierre Muller <muller@sourceware.org>
18568
18569 PR pascal/17815
18570 * lib/pascal.exp (gpc_compile): Add new option "class".
18571 (fpc_compile): Likewise.
18572 * gdb.pascal/case-insensitive-symbols.pas: New file.
18573 * gdb.pascal/case-insensitive-symbols.exp: New file.
18574
1586c8fb
GB
185752015-04-20 Gary Benson <gbenson@redhat.com>
18576
18577 * gdb.base/attach.exp: Fix three extended remote failures.
18578
1b6e6f5c
GB
185792015-04-17 Gary Benson <gbenson@redhat.com>
18580
18581 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18582 the main executable over the remote protocol.
18583
e797481d
PA
185842015-04-16 Pedro Alves <palves@redhat.com>
18585
18586 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18587 a new gdbserver if gdbserver_reconnect_p is set.
18588
1ca99c42
PA
185892015-04-16 Pedro Alves <palves@redhat.com>
18590
18591 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18592 is set, don't exit gdbserver.
18593
af9fd6f8
AA
185942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18595
18596 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18597 appropriate .insn, such that an older assembler can be used.
18598 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18599 the z/Architecture instruction set on 31-bit targets as well.
18600
04ff1e61
AA
186012015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18602
18603 * gdb.go/handcall.exp: Remove all logic related to the first
18604 breakpoint and rely on go_runto_main instead.
18605 * gdb.go/strings.exp: Likewise.
18606 * gdb.go/unsafe.exp: Likewise.
18607 * gdb.go/hello.exp: Likewise. Also rename the remaining
18608 breakpoint marker to "breakpoint 1".
18609 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18610 * gdb.go/strings.go: Likewise.
18611 * gdb.go/unsafe.go: Likewise.
18612 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18613 "set breakpoint 2 here" and rename the remaining breakpoint marker
18614 to "breakpoint 1".
18615
40d2f8d6
SM
186162015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18617
18618 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18619 if itertools.imap is not present.
18620 * gdb.python/py-objfile.exp: Add parentheses.
18621 * gdb.python/py-type.exp: Same.
18622 * gdb.python/py-unwind-maint.py: Same.
18623
8cbc97c6
YQ
186242015-04-15 Yao Qi <yao.qi@linaro.org>
18625
18626 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18627 of ":$ptr_size" and set its form explicitly.
18628
45fd756c
YQ
186292015-04-15 Pedro Alves <palves@redhat.com>
18630 Yao Qi <yao.qi@linaro.org>
18631
18632 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18633 timeout by factor of 4.
18634 (test_regular_watch): Likewise.
18635 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18636 * gdb.reverse/sigall-reverse.exp: Likewise.
18637 * gdb.reverse/until-precsave.exp: Likewise.
18638 * lib/gdb.exp (with_timeout_factor): New proc.
18639 (gdb_expect): Move some code to ...
18640 (get_largest_timeout): ... here. New procedure.
18641
9e811bc3
LM
186422015-04-14 Luis Machado <lgustavo@codesourcery.com>
18643
18644 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18645
0ff6fcb2
LM
186462015-04-13 Luis Machado <lgustavo@codesourcery.com>
18647
18648 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18649 to write to the .text section.
18650
7578d5f7
LM
186512015-04-13 Luis Machado <lgustavo@codesourcery.com>
18652
18653 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18654 Handle the case of targets that do not provide PID information.
18655
2efe15c4
YQ
186562015-04-13 Yao Qi <yao.qi@linaro.org>
18657
18658 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18659 and use expect instead of gdb_expect.
18660
8cd8f2f8
SDJ
186612015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18662
18663 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18664 "coredump_var_addr" to avoid naming conflict with other testcases.
18665
9ee41772
PA
186662015-04-10 Pedro Alves <palves@redhat.com>
18667
18668 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18669 gdb_test_sequence and gdb_assert.
18670
07473109
PA
186712015-04-10 Pedro Alves <palves@redhat.com>
18672
18673 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18674 test messages that don't include the breakpoint address.
18675
de3db44c
YQ
186762015-04-10 Yao Qi <yao.qi@linaro.org>
18677
18678 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18679 false for some offset and width combinations which aren't
18680 supported by linux kernel.
18681
c79d856c
PA
186822015-04-10 Pedro Alves <palves@redhat.com>
18683
18684 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18685 procedure, factored out from ...
18686 (top level): ... here. Add "set displaced-stepping" testing axis.
18687 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18688 parameter "displaced". Use it.
18689 (top level): Use foreach and add "set displaced-stepping" testing
18690 axis.
18691
ebc90b50
PA
186922015-04-10 Pedro Alves <palves@redhat.com>
18693
18694 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18695 Remove comment.
18696 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18697 both the address of the instruction that triggers the watchpoint
18698 and the address of the instruction immediately after, and use
18699 those addresses for the test. Fix comment.
18700
8f572e5c
PA
187012015-04-10 Pedro Alves <palves@redhat.com>
18702
18703 * gdb.base/sigstep.exp (breakpoint_to_handler)
18704 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18705 Test "backtrace" in handler.
18706 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18707 (top level): Add new "displaced" test axis to
18708 breakpoint_to_handler, breakpoint_to_handler_entry and
18709 breakpoint_over_handler.
18710
8d707a12
PA
187112015-04-10 Pedro Alves <palves@redhat.com>
18712
18713 PR gdb/18216
18714 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18715
ef713951
YQ
187162015-04-10 Yao Qi <yao.qi@linaro.org>
18717
18718 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18719 (test_add_rn_pc): New function.
18720 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18721 (top level): Invoke test_add_rn_pc.
18722
906d60cf
PA
187232015-04-10 Pedro Alves <palves@redhat.com>
18724
18725 PR gdb/13858
18726 * gdb.base/step-over-no-symbols.exp: New file.
18727
f2983cc3
AW
187282015-04-09 Andy Wingo <wingo@igalia.com>
18729
18730 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18731 after the Python tests.
18732
6d62641c
SDJ
187332015-04-08 Keith Seitz <keiths@redhat.com>
18734
18735 PR python/16699
18736 * gdb.python/py-completion.exp: New tests for completion.
18737 * gdb.python/py-completion.py (CompleteLimit1): New class.
18738 (CompleteLimit2): Likewise.
18739 (CompleteLimit3): Likewise.
18740 (CompleteLimit4): Likewise.
18741 (CompleteLimit5): Likewise.
18742 (CompleteLimit6): Likewise.
18743 (CompleteLimit7): Likewise.
18744
f3770638
PA
187452015-04-08 Pedro Alves <palves@redhat.com>
18746
18747 PR gdb/18214
18748 PR gdb/18216
18749 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18750 function.
18751 (main): Install it as SIGUSR1 handler.
18752 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18753 parameter. Always use "setup" as prefix. Toggle "set
18754 displaced-stepping" off/on depending on global. Don't switch to
18755 thread 1 here.
18756 (top level): Add displaced stepping "off/on" test axis. Update
18757 "setup" calls. Wrap each subtest with with_test_prefix. Test
18758 continuing with a queued signal in each thread.
18759
4496bed7
PA
187602015-04-08 Pedro Alves <palves@redhat.com>
18761
18762 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18763 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18764 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18765 Return early if running to main fails.
18766 * gdb.trace/while-stepping.exp: Likewise.
18767
b97fde92
PA
187682015-04-07 Pedro Alves <palves@redhat.com>
18769
18770 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18771 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18772 interact with inferior program.
18773
f71c18e7
PA
187742015-04-07 Pedro Alves <palves@redhat.com>
18775
18776 * lib/gdb.exp (inferior_spawn_id): New global.
18777 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18778 spawn id after processing the user code.
18779 (default_gdb_start): Set inferior_spawn_id.
18780 (send_inferior): New procedure.
18781 * lib/gdbserver-support.exp (gdbserver_start): Set
18782 inferior_spawn_id.
18783 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18784
6423214f
PA
187852015-04-07 Pedro Alves <palves@redhat.com>
18786
18787 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18788 * lib/gdbserver-support.exp (gdbserver_start): Make
18789 $server_spawn_id global.
18790 (gdbserver_start): Don't wait for gdbserver's spawn id with
18791 expect_background.
18792 (close_gdbserver): New procedure.
18793 (gdb_exit): Rename the default version and reimplement.
18794
71c0ee8c
PA
187952015-04-07 Pedro Alves <palves@redhat.com>
18796
72f4393d 18797 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18798 append the substituted item, not the original item.
18799
203bc29b
PA
188002015-04-07 Pedro Alves <palves@redhat.com>
18801
18802 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18803 gdb_expect.
18804
508a3ddf
PA
188052015-04-07 Pedro Alves <palves@redhat.com>
18806
18807 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18808 output appearing once only.
18809
9f6dbe2b
PA
188102015-04-07 Pedro Alves <palves@redhat.com>
18811
18812 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18813 that doesn't expect anything. Return early if running to main
18814 fails.
18815
337532fa
YQ
188162015-04-07 Yao Qi <yao.qi@linaro.org>
18817
18818 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18819 (child_function): Call alarm.
18820 (main): Move call to alarm into the loop.
18821 * gdb.threads/non-stop-fair-events.exp: Build program with
18822 -DTIMEOUT=$timeout.
18823
01b622d4
DE
188242015-04-06 Doug Evans <xdje42@gmail.com>
18825
18826 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18827 Fix dest parameter to board_info.
18828 (fpc_compile): Ditto.
18829 (gdb_compile_pascal): Rename dest arg to destfile.
18830
961f4160
PMR
188312015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18832
18833 * gdb.ada/funcall_ref.exp: New file.
18834 * gdb.ada/funcall_ref/foo.adb: New file.
18835
cafda597
YQ
188362015-04-02 Yao Qi <yao.qi@linaro.org>
18837
18838 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18839 is remote.
18840
fed040c6
GB
188412015-04-02 Gary Benson <gbenson@redhat.com>
18842
18843 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18844
d11916aa
SS
188452015-04-01 Sasha Smundak <asmundak@google.com>
18846
18847 * gdb.python/py-unwind-maint.c: New file.
18848 * gdb.python/py-unwind-maint.exp: New test.
18849 * gdb.python/py-unwind-maint.py: New file.
18850 * gdb.python/py-unwind.c: New file.
18851 * gdb.python/py-unwind.exp: New test.
18852 * gdb.python/py-unwind.py: New test.
18853
a1471180
PA
188542015-04-01 Pedro Alves <palves@redhat.com>
18855
18856 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18857 to fail instead of non-existent $test.
18858
0bbeccb1
PA
188592015-04-01 Pedro Alves <palves@redhat.com>
18860
18861 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18862 GDBFLAGS if not empty.
18863
3c724c8c
PMR
188642015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18865
18866 * gdb.ada/complete.exp: Remove "multi_line".
18867 * gdb.ada/info_exc.exp: Remove "multi_line".
18868 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18869 * gdb.ada/ptype_field.exp: Remove "multi_line".
18870 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18871 * gdb.ada/tagged.exp: Remove "multi_line".
18872 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18873 [multi_line ...]
18874 * gdb.btrace/delta.exp: Likewise.
18875 * gdb.btrace/exception.exp: Likewise.
18876 * gdb.btrace/function_call_history.exp: Likewise.
18877 * gdb.btrace/instruction_history.exp: Likewise.
18878 * gdb.btrace/nohist.exp: Likewise.
18879 * gdb.btrace/record_goto.exp: Likewise.
18880 * gdb.btrace/segv.exp: Likewise.
18881 * gdb.btrace/stepi.exp: Likewise.
18882 * gdb.btrace/tailcall.exp: Likewise.
18883 * gdb.btrace/unknown_functions.exp: Likewise.
18884 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18885 * lib/gdb.exp: Add the "multi_line" helper.
18886
4eec2deb
PA
188872015-04-01 Pedro Alves <palves@redhat.com>
18888
18889 * gdb.threads/tid-reuse.c: New file.
18890 * gdb.threads/tid-reuse.exp: New file.
18891
df8411da
SDJ
188922015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18893
18894 PR corefiles/16092
18895 * gdb.base/coredump-filter.c: New file.
18896 * gdb.base/coredump-filter.exp: Likewise.
18897
6ef37366
PM
188982015-03-27 Petr Machata <pmachata@redhat.com>
18899
18900 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18901 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18902 (Dwarf::assemble): Initialize them.
18903 (Dwarf::lines): New function.
18904
7ec911b0
JT
189052015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18906
18907 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18908 SYMBOL_PREFIX for x86_64-*-cygwin.
18909
ff908ebf
AW
189102015-03-26 Andy Wingo <wingo@igalia.com>
18911
18912 PR symtab/18148
18913 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18914 const_value but not a location.
18915 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18916 location defined in non-main CUs are visible.
18917
6d5f0679
YQ
189182015-03-26 Yao Qi <yao.qi@linaro.org>
18919
18920 PR testsuite/18139
18921 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18922 Add a line number entry for the same line.
18923 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18924 Add a line number entry for the same line.
18925
2898689b
YQ
189262015-03-26 Yao Qi <yao.qi@linaro.org>
18927
18928 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18929 .int 0.
18930 (func): Likewise. Add .Lfunc_1 label.
18931 Use .Lfunc_1 label.
18932 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18933 .int 0.
18934 (func): Likewise.
18935 Use .Lfunc_1 label.
18936
85180498
YQ
189372015-03-26 Yao Qi <yao.qi@linaro.org>
18938
18939 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18940 Call gdb_compile instead to compile each .s files without debug
18941 information.
18942
8aa08a8d
YQ
189432015-03-26 Yao Qi <yao.qi@linaro.org>
18944
18945 * gdb.base/savedregs.exp (process_saved_regs): Make
18946 "Saved registers:" optional in the pattern.
18947
66849923
MM
189482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18949
18950 * gdb.btrace/next.exp: Merged into step.exp.
18951 * gdb.btrace/finish.exp: Merged into step.exp.
18952 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18953 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18954 "record goto" and checking the exact replay position.
18955 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18956 check for "Recording format" in "info record" output.
18957 * gdb.btrace/record_goto.exp: Choose test file based on target.
18958 * gdb.btrace/x86-record_goto.S: Renamed into ...
18959 * gdb.btrace/x86_64-record_goto.S: ... this.
18960 * gdb.btrace/i686-record_goto.S: New.
18961 * gdb.btrace/x86-tailcall.S: Renamed into ...
18962 * gdb.btrace/x86_64-tailcall.S: ... this.
18963 * gdb.btrace/i686-tailcall.S: New.
18964 * gdb.btrace/x86-tailcall.c: Renamed into ...
18965 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18966 separate statements. Update test.
18967 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18968 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18969 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18970 * gdb.btrace/tailcall.exp: Choose test file based on target.
18971 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18972
11cc1b74
MM
189732015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18974
18975 * gdb.btrace/exception.exp: Increase BTS buffer size.
18976
a25d8bf9
PA
189772015-03-24 Pedro Alves <palves@redhat.com>
18978
18979 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18980
856e7dd6
PA
189812015-03-24 Pedro Alves <palves@redhat.com>
18982
18983 * gdb.threads/schedlock.exp (test_step): No longer expect that
18984 "set scheduler-locking step" with "next" over a function call runs
18985 threads unlocked.
18986
ad235a41
AT
189872015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18988
18989 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18990
15630549
AT
189912015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18992
18993 PR breakpoints/16466
18994 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18995 * gdb.mi/mi-pending.c (thread_func): New function.
18996 (int main): Add threading support required.
18997 * gdb.mi/mi-pending.exp: Add tests for this issue.
18998 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18999 (pendfunc2): Remove stdio dependency.
19000 * gdb.mi/mi-pendshr2.c: New file.
19001
693dca06
KS
190022015-03-23 Keith Seitz <keiths@redhat.com>
19003
19004 * gdb.linespec/keywords.c: New file.
19005 * gdb.linespec/keywords.exp: New file.
19006
7e993ebf
KS
190072015-03-23 Keith Seitz <keiths@redhat.com>
19008
19009 PR gdb/18021
19010 * gdb.dwarf2/staticvirtual.exp: New test.
19011
bc23328c
JK
190122015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19013
19014 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19015 * README: Remove HP-UX and gdb.hp.
19016 (configuration):
19017 * configure: Regenerate.
19018 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19019 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19020 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19021 gdb.hp/gdb.defects/Makefile.
19022 * gdb.hp/Makefile.in: File deleted.
19023 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19024 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19025 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19026 * gdb.hp/gdb.aCC/run.c: File deleted.
19027 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19028 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19029 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19030 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19031 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19032 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19033 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19034 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19035 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19036 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19037 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19038 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19039 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19040 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19041 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19042 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19043 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19044 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19045 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19046 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19047 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19048 * gdb.hp/gdb.compat/average.c: File deleted.
19049 * gdb.hp/gdb.compat/sum.c: File deleted.
19050 * gdb.hp/gdb.compat/xdb.c: File deleted.
19051 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19052 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19053 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19054 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19055 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19056 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19057 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19058 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19059 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19060 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19061 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19062 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19063 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19064 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19065 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19066 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19067 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19068 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19069 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19070 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19071 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19072 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19073 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19074 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19075 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19076 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19077 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19078 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19079 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19080 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19081 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19082 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19083 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19084 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19085 * gdb.hp/tools/odump: File deleted.
19086
8bf3b159
PA
190872015-03-19 Pedro Alves <palves@redhat.com>
19088
19089 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19090 (saw_thread_3): New globals.
19091 (top level): Increment them when an event for the corresponding
19092 thread is seen.
19093 (no thread starvation): New test.
19094
eb54c8bf
PA
190952015-03-19 Pedro Alves <palves@redhat.com>
19096
19097 * gdb.threads/continue-pending-status.c: New file.
19098 * gdb.threads/continue-pending-status.exp: New file.
19099
32d2e5d6
PA
191002015-03-18 Pedro Alves <palves@redhat.com>
19101
19102 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19103 Use gdb_is_target_remote instead of is_remote. Use
19104 gdb_test_multiple instead of gdb_expect. Exit early if
19105 gdb_test_multiple hits its internal matches. Tighten stepi tests
19106 expected output. Fail on exit with any signal, instead of just
19107 SIGILL.
19108
f68f11b7
YQ
191092015-03-18 Yao Qi <yao.qi@linaro.org>
19110
19111 PR tdep/18107
19112 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19113 variable.
19114 * gdb.base/catch-syscall.exp: Don't skip it on
19115 aarch64*-*-linux* target. Remove elements in all_syscalls.
19116 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19117 target.
19118 (setup_all_syscalls): New proc.
19119
ca5fd19b
YQ
191202015-03-16 Yao Qi <yao.qi@linaro.org>
19121
19122 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19123 (top level): Skip tests if valid_addr_p returns false for
19124 $cmd1 or $cmd2.
19125
85642ba0
AW
191262015-03-11 Andy Wingo <wingo@igalia.com>
19127
19128 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19129
e03f9645
YQ
191302015-03-11 Yao Qi <yao.qi@linaro.org>
19131
19132 * gdb.base/catch-syscall.exp: Fix typo in comments.
19133
5d0962b2
YQ
191342015-03-11 Yao Qi <yao.qi@linaro.org>
19135
19136 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19137
b2df3cef
PA
191382015-03-09 Pedro Alves <palves@redhat.com>
19139
19140 * dg-extract-results.py: Delete.
19141
ef878e53
PA
191422015-03-09 Pedro Alves <palves@redhat.com>
19143
19144 Merge dg-extract-results.sh from GCC upstream (r218843).
19145
19146 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19147 * dg-extract-results.sh: Use --text with grep to avoid issues with
19148 binary files. Fall back to cat -v, if that doesn't work.
19149
9494d219
PA
191502015-03-05 Pedro Alves <palves@redhat.com>
19151
19152 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19153
a8d9763a
SM
191542015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19155
19156 * lib/mi-support.exp (mi_expect_interrupt): Accept
19157 alternative event for when in all-stop mode.
19158
be9957b8
PA
191592015-03-04 Pedro Alves <palves@redhat.com>
19160
19161 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19162
d57be0f4 191632015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19164
19165 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19166
c214c7cf
AA
191672015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19168
19169 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19170 regexps for GDB's current line display, accept a hex address
19171 preceding the line number.
19172
6d74a497
AA
191732015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19174
19175 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19176 the 'arch1' variable for "s390*-linux*" targets.
19177
511aee7c
PA
191782015-03-04 Pedro Alves <palves@redhat.com>
19179
19180 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19181 (main): Pass missing retval argument to pthread_join call.
19182
95e50b27
PA
191832015-03-02 Pedro Alves <palves@redhat.com>
19184
19185 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19186 (top level): Call do_test with non-stop as well.
19187
28054d69
PA
191882015-03-02 Pedro Alves <palves@redhat.com>
19189
19190 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19191 -1.
19192
4fa5d7b4
AA
191932015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19194
19195 * gdb.arch/s390-vregs.exp: New test.
19196 * gdb.arch/s390-vregs.S: New file.
19197
97c18565
PA
191982015-02-27 Pedro Alves <palves@redhat.com>
19199
19200 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19201 call to catch_command_errors.
19202 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19203 catch_command_errors.
19204
a37bfa30
PA
192052015-02-27 Pedro Alves <palves@redhat.com>
19206
19207 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19208 "true" for boolean result.
19209 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19210 prototype of main.
19211
6f98576f
PA
192122015-02-27 Pedro Alves <palves@redhat.com>
19213
19214 * lib/unbuffer_output.c: New file.
19215 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19216 (main): Call gdb_unbuffer_output.
19217
eba5ab56
YQ
192182015-02-27 Yao Qi <yao.qi@linaro.org>
19219
19220 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19221 target.
19222
0def5aaa
DE
192232015-02-26 Doug Evans <dje@google.com>
19224
19225 * gdb.cp/class2.cc (Dbase, D): New classes.
19226 (main): New local delta.
19227 * gdb.cp/class2.exp: Test printing delta.
19228 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19229 (dynbar): New global.
19230 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19231
081a1c2c
JK
192322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19233
19234 * gdb.compile/compile-ifunc.c: New file.
19235 * gdb.compile/compile-ifunc.exp: New file.
19236
2f41223f
AT
192372015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19238
19239 * gdb.base/structs.exp: Check for correct struct on finish.
19240
03eddd80
YQ
192412015-02-26 Yao Qi <yao.qi@linaro.org>
19242
19243 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19244 is zero.
19245
80c57053
JK
192462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19247
19248 * gdb.arch/cordic.ko.bz2: New file.
19249 * gdb.arch/cordic.ko.debug.bz2: New file.
19250 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19251
21613c12
YQ
192522015-02-25 Yao Qi <yao.qi@linaro.org>
19253
19254 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19255 aarch64*-*-* target.
19256
d8b901ed
PA
192572015-02-23 Pedro Alves <palves@redhat.com>
19258
19259 * lib/gdb.exp (delete_breakpoints): Rewrite using
19260 gdb_test_multiple.
19261
e5b85ead
PA
192622015-02-23 Pedro Alves <palves@redhat.com>
19263
19264 * gdb.base/info-os.c: Include stdlib.h.
19265
85c3a371
DE
192662015-02-22 Doug Evans <xdje42@gmail.com>
19267
19268 PR symtab/17855
19269 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19270 is read after symbols have been re-read.
19271 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19272 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19273
96553a0c
DE
192742015-02-21 Doug Evans <dje@google.com>
19275
19276 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19277
97a0c697
JK
192782015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19279
19280 PR corefiles/17808
19281 * gdb.arch/i386-biarch-core.core.bz2: New file.
19282 * gdb.arch/i386-biarch-core.exp: New file.
19283
a47cd6e9
PA
192842015-02-21 Pedro Alves <palves@redhat.com>
19285
19286 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19287 runto_main fails.
19288
c5facdc4
PA
192892015-02-20 Pedro Alves <palves@redhat.com>
19290
19291 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19292 info probes.
19293
2db9a427
PA
192942015-02-20 Pedro Alves <palves@redhat.com>
19295
19296 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19297
60fb7e9e
PA
192982015-02-20 Pedro Alves <palves@redhat.com>
19299
19300 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19301 clean_restart before gdb_target_supports_trace.
19302
5c5019c2
PA
193032015-02-20 Pedro Alves <palves@redhat.com>
19304
19305 PR threads/18006
19306 * gdb.threads/clone-thread_db.c: New file.
19307 * gdb.threads/clone-thread_db.exp: New file.
19308
c9587f88
AT
193092015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19310
19311 PR breakpoints/16812
19312 * gdb.base/catch-gdb-caused-signals.c: New file.
19313 * gdb.base/catch-gdb-caused-signals.exp: New file.
19314
f6a88844
JM
193152015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19316
19317 * configure: Regenerated.
19318 * configure.ac: Use GDB_AC_TRANSFORM.
19319 * aclocal.m4: sinclude ../transform.m4.
19320
497c491b
JM
193212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19322
19323 * lib/dtrace.exp: New file.
19324 * gdb.base/dtrace-probe.exp: Likewise.
19325 * gdb.base/dtrace-probe.d: Likewise.
19326 * gdb.base/dtrace-probe.c: Likewise.
19327 * lib/pdtrace.in: Likewise.
19328 * configure.ac: Output variables with the transformed names of
19329 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19330 * configure: Regenerated.
19331
03e98035
JM
193322015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19333
19334 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19335 expected message when trying to access $_probe_* convenience
19336 variables while not on a probe.
19337
63cc30e9
JK
193382015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19339
19340 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19341
0703599a
PA
193422015-02-11 Pedro Alves <pedro@codesourcery.com>
19343
19344 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19345 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19346
7e60a48e
DE
193472015-02-10 Doug Evans <xdje42@gmail.com>
19348
19349 * lib/gdb.exp (gdb_load): Always return a result.
19350
01b088bc
PA
193512015-02-10 Pedro Alves <palves@redhat.com>
19352
19353 * gdb.threads/signal-sigtrap.c: New file.
19354 * gdb.threads/signal-sigtrap.exp: New file.
19355
b05ec7a5
AT
193562015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19357
19358 * gdb.trace/no-attach-trace.c: New file.
19359 * gdb.trace/no-attach-trace.exp: New file.
19360
a2c2acaf
MW
193612015-02-09 Mark Wielaard <mjw@redhat.com>
19362
19363 * gdb.dwarf2/atomic.c: New file.
19364 * gdb.dwarf2/atomic-type.exp: Likewise.
19365
31fd9caa
MM
193662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19367
19368 * gdb.btrace/buffer-size.exp: Update "info record" output.
19369 * gdb.btrace/delta.exp: Update "info record" output.
19370 * gdb.btrace/enable.exp: Update "info record" output.
19371 * gdb.btrace/finish.exp: Update "info record" output.
19372 * gdb.btrace/instruction_history.exp: Update "info record" output.
19373 * gdb.btrace/next.exp: Update "info record" output.
19374 * gdb.btrace/nexti.exp: Update "info record" output.
19375 * gdb.btrace/step.exp: Update "info record" output.
19376 * gdb.btrace/stepi.exp: Update "info record" output.
19377 * gdb.btrace/nohist.exp: Update "info record" output.
19378
d33501a5
MM
193792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19380
19381 * gdb.btrace/buffer-size: New.
19382
f4abbc16
MM
193832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19384
19385 * gdb.btrace/delta.exp: Update "info record" output.
19386 * gdb.btrace/enable.exp: Update "info record" output.
19387 * gdb.btrace/finish.exp: Update "info record" output.
19388 * gdb.btrace/instruction_history.exp: Update "info record" output.
19389 * gdb.btrace/next.exp: Update "info record" output.
19390 * gdb.btrace/nexti.exp: Update "info record" output.
19391 * gdb.btrace/step.exp: Update "info record" output.
19392 * gdb.btrace/stepi.exp: Update "info record" output.
19393 * gdb.btrace/nohist.exp: Update "info record" output.
19394
b9d61307
SM
193952015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19396
19397 PR gdb/15678
19398 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19399
e584fdbc
PA
194002015-02-06 Pedro Alves <palves@redhat.com>
19401
19402 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19403 macro.
19404 (seconds_left, again): New globals.
19405 (main): Wait seconds_left in a 1-second sleep loop instead of
19406 sleeping 180 seconds. If 'again' is set, reset the seconds
19407 counter.
19408 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19409 'again' in the inferior before detaching. Print the seconds left.
19410 (options): New global.
19411 (top level): Build program with -DTIMEOUT=$timeout.
19412
77f41761
PA
194132015-02-06 Pedro Alves <palves@redhat.com>
19414
19415 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19416 determine how many seconds to pass to 'alarm'.
19417 * gdb.base/gdb-sigterm.exp (top level): Build program with
19418 -DTIMEOUT=$timeout.
19419 (do_test): Return success/failure indication. Add more verbose
19420 logging. Don't fail if 200 single steps are seen. Instead, fail
19421 when the test times out.
19422 (passes): New global.
19423 (top level): Break the testing loop if testing fails on any
19424 iteration. Use gdb_assert.
19425
b9394193
DB
194262015-02-04 Don Breazeal <donb@codesourcery.com>
19427
19428 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19429 and initialize them.
19430 (ipc_cleanup): New function.
19431 (main): Don't declare shmid, semid, and msqid. Add a call to
19432 atexit so that we call ipc_cleanup on exit.
19433
42d9e528
PA
194342015-02-04 Pedro Alves <palves@redhat.com>
19435
19436 * boards/native-extended-gdbserver.exp: Remove any target variant
19437 specifications from the board name before clearing the isremote
19438 flag from board_info.
19439
ae6ae975
DE
194402015-01-31 Doug Evans <xdje42@gmail.com>
19441
19442 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19443
cfb069a8
GB
194442015-01-31 Gary Benson <gbenson@redhat.com>
19445
19446 * gdb.base/completion.exp: Disable completion limiting for
19447 existing tests. Add new tests to check completion limiting.
19448 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19449
5dd31d79
DE
194502015-01-31 Doug Evans <xdje42@gmail.com>
19451
19452 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19453
9f050062
DE
194542015-01-31 Doug Evans <xdje42@gmail.com>
19455
19456 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19457 entries. Duplicate file section script entries.
19458 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19459 inlined entries. Add test for safe-path rejection.
19460 * gdb.python/py-section-script.c: Add duplicate inlined section script
19461 entries. Duplicate file section script entries.
19462 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19463 inlined entries. Add test for safe-path rejection.
19464
df25ebbd
JB
194652015-01-29 Joel Brobecker <brobecker@adacore.com>
19466
19467 * gdb.ada/disc_arr_bound: New testcase.
19468
4a0ca9ec
JB
194692015-01-29 Joel Brobecker <brobecker@adacore.com>
19470
19471 * gdb.ada/mi_var_array: New testcase.
19472
3a8b707a
DE
194732015-01-27 Doug Evans <dje@google.com>
19474
19475 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19476 Add test for objfile.filename, objfile.username after objfile
19477 has been unloaded.
19478
f8313f6e
JB
194792015-01-26 Joel Brobecker <brobecker@adacore.com>
19480
19481 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19482 the second test to print the name attribute of value
19483 returned by the call to gdb.lookup_type, and adjust
19484 the expected output accordingly.
19485
37bc665e
MW
194862015-01-25 Mark Wielaard <mjw@redhat.com>
19487
19488 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19489 * gdb.base/disp-step-fork.c: Include unistd.h.
19490 * gdb.base/siginfo-obj.c: Include stdio.h.
19491 * gdb.base/siginfo-thread.c: Likewise.
19492 * gdb.mi/non-stop.c: Include unistd.h.
19493 * gdb.mi/nsthrexec.c: Include stdio.h.
19494 * gdb.mi/pthreads.c: Include unistd.h.
19495 * gdb.modula2/unbounded1.c (main): Declare returns int.
19496 * gdb.reverse/consecutive-reverse.c: Likewise.
19497 * gdb.threads/create-fail.c: Include unistd.h.
19498 * gdb.threads/killed.c: Likewise.
19499 * gdb.threads/linux-dp.c: Likewise.
19500 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19501 * gdb.threads/non-ldr-exc-2.c: Likewise.
19502 * gdb.threads/non-ldr-exc-3.c: Likewise.
19503 * gdb.threads/non-ldr-exc-4.c: Likewise.
19504 * gdb.threads/pthreads.c: Include unistd.h.
19505 (main): Declare returns int.
19506 * gdb.threads/tls-main.c (foo): New declaration.
19507 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19508
f7e5394d
SM
195092015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19510
19511 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19512 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19513
743649fd
MW
195142015-01-15 Mark Wielaard <mjw@redhat.com>
19515
19516 * gdb.base/noreturn-return.c: New file.
19517 * gdb.base/noreturn-return.exp: New file.
19518 * gdb.base/noreturn-finish.c: New file.
19519 * gdb.base/noreturn-finish.exp: New file.
19520
198297aa
PA
195212015-01-23 Pedro Alves <palves@redhat.com>
19522
19523 * gdb.threads/continue-pending-after-query.c: New file.
19524 * gdb.threads/continue-pending-after-query.exp: New file.
19525
717cf30c
AG
195262015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19527 Simon Marchi <simon.marchi@ericsson.com>
19528
19529 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19530 * gdb.base/valgrind-db-attach.exp: Same.
19531 * gdb.base/valgrind-infcall.exp: Same.
19532 * lib/mi-support.exp (default_mi_gdb_start): Same.
19533 * lib/prompt.exp (default_prompt_gdb_start): Same.
19534 * lib/gdb.exp (default_gdb_spawn): Same.
19535 (gdb_interact): New.
19536
19537
4b62a76e
JK
195382015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19539
19540 * gdb.compile/compile.exp (pointer to jit function): New test.
19541
b4cdae6f
WW
195422015-01-17 Wei-cheng Wang <cole945@gmail.com>
19543
19544 * lib/gdb.exp (supports_process_record): Return true for
19545 powerpc*-*-linux*.
19546 (supports_reverse): Likewise.
19547
d221e7ef
DB
195482015-01-15 Don Breazeal <donb@codesourcery.com>
19549
19550 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19551 instead of checking whether the target board is remote and
19552 use spawn_wait_for_attach instead of exec/sleep.
19553 * gdb.base/attach-twice.exp: Likewise.
19554
bafffb51
JB
195552015-01-15 Joel Brobecker <brobecker@adacore.com>
19556
19557 * gdb.ada/var_arr_attrs: New testcase.
19558
5589af0e
PA
195592015-01-14 Pedro Alves <palves@redhat.com>
19560 Joel Brobecker <brobecker@adacore.com>
19561
19562 PR gdb/17525
19563 * gdb.base/bp-cmds-execution-x-script.c: New file.
19564 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19565 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19566
6c400b59
PA
195672015-01-14 Pedro Alves <palves@redhat.com>
19568
19569 PR cli/17828
19570 * gdb.base/batch-preserve-term-settings.c: New file.
19571 * gdb.base/batch-preserve-term-settings.exp: New file.
19572
e02c96a7
DE
195732015-01-13 Doug Evans <dje@google.com>
19574
19575 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19576 binary.
19577
576fd14c
JB
195782015-01-13 Joel Brobecker <brobecker@adacore.com>
19579
19580 * Makefile.in (clean mostlyclean): Do not delete *.py.
19581
04dccad0
JB
195822015-01-13 Joel Brobecker <brobecker@adacore.com>
19583
19584 * gdb.python/py-lookup-type.exp: New file.
19585
3d230f71
PA
195862015-01-12 Pedro Alves <palves@redhat.com>
19587
19588 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19589 restore GDBFLAGS before returning.
19590
7e67715d
JK
195912015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19592
19593 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19594 is_amd64_regs_target and is_x86_like_target.
19595
f2e0d4b4
DE
195962015-01-11 Doug Evans <xdje42@gmail.com>
19597
19598 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19599 is given without an explicit form.
19600 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19601 attributes.
19602 * gdb.dwarf/corrupt.exp: Ditto.
19603 * gdb.dwarf2/enum-type.exp: Ditto.
19604 * gdb.trace/entry-values.exp: Ditto.
19605 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19606
439250fb
DE
196072015-01-11 Doug Evans <xdje42@gmail.com>
19608
19609 PR gdb/15830
19610 * gdb.base/maint.exp: Remove references to "maint demangle".
19611 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19612 Add tests for explicitly specifying language to demangle.
19613 * gdb.dlang/demangle.exp: Ditto.
19614
ede9f622
PA
196152015-01-09 Pedro Alves <palves@redhat.com>
19616
19617 * gdb.threads/non-stop-fair-events.c: New file.
19618 * gdb.threads/non-stop-fair-events.exp: New file.
19619
a7b796db
PA
196202015-01-09 Pedro Alves <palves@redhat.com>
19621
19622 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19623 the global scope. Set a breakpoint after all threads are started
19624 rather than stepping over two source lines. Expect the prompt.
19625 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19626 global.
19627 (NUM): Now 15.
19628 (main): Use threads_started_barrier to wait for all threads to
19629 start. Main thread no longer calls thread_function. Exit after
19630 180 seconds.
19631 (loop): New function.
19632 (thread_function): Wait on threads_started_barrier barrier. Call
19633 'loop' at each iteration.
19634 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19635 threads have started, instead of hardcoding number of "next"
19636 steps. Use an access watchpoint instead of a write watchpoint.
19637
9665ffdd
PA
196382015-01-09 Pedro Alves <palves@redhat.com>
19639
19640 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19641 (thread_func): Wait on barrier.
19642 (main): Wait for all threads to start before stopping GDB.
19643 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19644 global.
19645 (thread1_func, thread2_func): Wait on barrier.
19646 (main): Wait for all threads to start before stopping GDB.
19647 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19648 New global.
19649 (thread1_func, thread2_func): Wait on barrier.
19650 (main): Wait for all threads to start before stopping GDB.
19651
c945a99f
PA
196522015-01-09 Pedro Alves <palves@redhat.com>
19653
19654 * gdb.threads/attach-many-short-lived-threads.c: New file.
19655 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19656
c1a747c1
PA
196572014-01-09 Pedro Alves <palves@redhat.com>
19658
19659 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19660 instead of to thread 2.
19661 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19662 Add barrier around each pthread_create call instead of around all
19663 calls.
19664 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19665 Set a break on thread_function and have the child threads hit it
19666 one at at a time.
19667
60b3033e
PA
196682015-01-09 Pedro Alves <palves@redhat.com>
19669
19670 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19671 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19672 false.
19673 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19674 checking whether the target board is remote.
19675 * gdb.multi/multi-attach.exp: Likewise.
19676 * gdb.python/py-sync-interp.exp: Likewise.
19677 * gdb.server/ext-attach.exp: Likewise.
19678 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19679 tests that need to attach, instead of checking whether the target
19680 board is remote at the top of the file.
19681
acc018ac
YQ
196822015-01-08 Yao Qi <yao@codesourcery.com>
19683
19684 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19685
50a18af8
JK
196862015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19687
19688 Fix testcase compilation.
19689 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19690
8503d6e1
JB
196912015-01-06 Joel Brobecker <brobecker@adacore.com>
19692
19693 * gdb.python/py-type.exp: Add a couple test about empty
19694 array creation, and negative-length array creation.
19695
cc73dbcc
DE
196962015-01-02 Doug Evans <xdje42@gmail.com>
19697
19698 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19699
0300bbc7
DE
197002015-01-02 Doug Evans <dje@google.com>
19701
19702 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19703
9d85a0ec
YQ
197042014-12-29 Yao Qi <yao@codesourcery.com>
19705
19706 * gdb.trace/entry-values.exp: Update comments. Rename variable
19707 bar_call_foo to returned_from_foo.
19708
87186c6a
MMN
197092014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19710
19711 PR gdb/17394
19712 * gdb.linespec/break-asm-file.c: New file.
19713 * gdb.linespec/break-asm-file.exp: New file.
19714 * gdb.linespec/break-asm-file0.s: New file.
19715 * gdb.linespec/break-asm-file1.s: New file.
19716
1bab7383
YQ
197172014-12-18 Nigel Stephens <nigel@mips.com>
19718 Maciej W. Rozycki <macro@codesourcery.com>
19719
19720 * gdb.base/float.exp: Handle the new output from "info float" on
19721 MIPS targets.
19722
1bc1068a
JK
197232014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19724
19725 Fix MinGW compilation.
19726 * gdb.compile/compile-ops.exp: Update untested message if
19727 !skip_compile_feature_tests.
19728 * gdb.compile/compile-setjmp.exp: Likewise.
19729 * gdb.compile/compile-tls.exp: Likewise.
19730 * gdb.compile/compile.exp: Likewise.
19731 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19732 supported on this host".
19733
b6615d10
DE
197342014-12-16 Doug Evans <xdje42@gmail.com>
19735
19736 * boards/stabs.exp: New file.
19737
25dda427
AA
197382014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19739
19740 * gdb.base/completion.exp: Adjust to format changes of "maint
19741 print user-registers".
19742
bf330350
CU
197432014-12-16 Catalin Udma <catalin.udma@freescale.com>
19744
19745 PR server/17457
19746 * gdb.arch/aarch64-fp.c: New file.
19747 * gdb.arch/aarch64-fp.exp: New file.
19748
395cf596
SDJ
197492014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19750
19751 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19752 r210637, r210913, r211666, r215400, r215817).
19753
19754 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19755 * dg-extract-results.py: New file.
19756 * dg-extract-results.sh: Use it if the environment seems
19757 suitable.
19758
19759 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19760
19761 * dg-extract-results.py (parse_run): Handle warnings that
19762 are printed before a test harness is run.
19763
19764 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19765
19766 * dg-extract-results.py (Named): Remove __cmp__ method.
19767 (output_variation): Use a key to sort variation.harnesses.
19768
19769 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19770
19771 * dg-extract-results.py: For Python 3, force sys.stdout to
19772 handle surrogate escape sequences.
19773 (safe_open): New function.
19774 (output_segment, main): Use it.
19775
19776 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19777
19778 * dg-extract-results.py (Prog.result_re): Include options
19779 in test name.
19780
19781 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19782
19783 * dg-extract-results.py (output_variation): Always sort if
19784 do_sum.
19785
e882ef3c
SM
197862014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19787
19788 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19789 as long as we get pagination notifications.
19790
4992aa20
JM
197912014-12-15 Jason Merrill <jason@redhat.com>
19792
19793 * Makefile.in (check-gdb.%): Restore.
19794 * README: Mention it.
19795
c1b5a1a6
JB
197962014-12-13 Joel Brobecker <brobecker@adacore.com>
19797
19798 * gdb.ada/str_uninit: New testcase.
19799
5537b577
JK
198002014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19801
19802 PR symtab/17642
19803 * gdb.base/vla-stub-define.c: New file.
19804 * gdb.base/vla-stub.c: New file.
19805 * gdb.base/vla-stub.exp: New file.
19806
bb2ec1b3
TT
198072014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19808 Jan Kratochvil <jan.kratochvil@redhat.com>
19809 Tom Tromey <tromey@redhat.com>
19810
19811 * configure.ac: Add gdb.compile/.
19812 * configure: Regenerate.
19813 * gdb.compile/Makefile.in: New file.
19814 * gdb.compile/compile-ops.exp: New file.
19815 * gdb.compile/compile-ops.c: New file.
19816 * gdb.compile/compile-tls.c: New file.
19817 * gdb.compile/compile-tls.exp: New file.
19818 * gdb.compile/compile-constvar.S: New file.
19819 * gdb.compile/compile-constvar.c: New file.
19820 * gdb.compile/compile-mod.c: New file.
19821 * gdb.compile/compile-nodebug.c: New file.
19822 * gdb.compile/compile-setjmp-mod.c: New file.
19823 * gdb.compile/compile-setjmp.c: New file.
19824 * gdb.compile/compile-setjmp.exp: New file.
19825 * gdb.compile/compile-shlib.c: New file.
19826 * gdb.compile/compile.c: New file.
19827 * gdb.compile/compile.exp: New file.
19828 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19829
4ff709eb
TT
198302014-12-12 Tom Tromey <tromey@redhat.com>
19831
19832 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19833 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19834
6dddd6a5
DE
198352014-12-12 Doug Evans <dje@google.com>
19836
19837 * lib/gdb-python.exp (get_python_valueof): New function.
19838 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19839
71c24708
AA
198402014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19841
19842 * gdb.base/completion.exp: Add test for completion of "info
19843 registers ".
19844
3e29f34a
MR
198452014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19846
19847 * gdb.base/func-ptrs.c: New file.
19848 * gdb.base/func-ptrs.exp: New file.
19849
fc126975
SM
198502014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19851
19852 PR breakpoints/17012
19853 * gdb.base/dprintf-detach.c: New file.
19854 * gdb.base/dprintf-detach.exp: New file.
19855
0a46d518
SM
198562014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19857
19858 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19859 * lib/gdb.exp (target_is_gdbserver): New procedure.
19860
a0be3e44
DE
198612014-12-08 Doug Evans <dje@google.com>
19862
19863 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19864
df1b803a
YQ
198652014-12-05 Yao Qi <yao@codesourcery.com>
19866
19867 * gdb.guile/scm-error.exp: Remove the third argument to
19868 gdb_remote_download.
19869 * gdb.guile/scm-frame-args.exp: Likewise.
19870 * gdb.guile/scm-section-script.exp: Likewise.
19871
ddb9f679
YQ
198722014-12-05 Yao Qi <yao@codesourcery.com>
19873
19874 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19875
86e4ed39
DE
198762014-12-04 Doug Evans <dje@google.com>
19877
19878 * gdb.python/py-objfile.exp: Add tests for
19879 objfile.add_separate_debug_file.
19880
7c50a931
DE
198812014-12-04 Doug Evans <dje@google.com>
19882
19883 * lib/gdb.exp (get_build_id): New function.
19884 (build_id_debug_filename_get): Rewrite to use it.
19885 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19886
621661e3
MR
198872014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19888
19889 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19890 `method(long)', not just 0x0.
19891 * gdb.cp/nsalias.exp: Align code labels to 4.
19892 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19893 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19894 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19895 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19896 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19897 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19898
29f0c3b7
DE
198992014-12-02 Doug Evans <dje@google.com>
19900
e1e061e7 19901 PR symtab/17602
29f0c3b7 19902 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19903 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19904 * gdb.cp/anon-ns.exp: Update.
19905
162078c8
NB
199062014-12-02 Nick Bull <nicholaspbull@gmail.com>
19907
19908 * gdb.python/py-events.py (inferior_call_handler): New.
19909 (register_changed_handler, memory_changed_handler): New.
19910 (test_events.invoke): Register new handlers.
19911 * gdb.python/py-events.exp: Add tests for inferior call,
19912 memory_changed and register_changed events.
19913
fdb09caf
AA
199142014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19915
19916 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19917 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19918 if the linker doesn't understand this.
19919
55cfb2c4
SM
199202014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19921
19922 * gdb.python/python.exp: Change expected reply to help().
19923
9e8cd6df
YQ
199242014-12-01 Yao Qi <yao@codesourcery.com>
19925
19926 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19927 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19928 * configure: Re-generated.
19929
6c659fc2
SC
199302014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19931
19932 * gdb.cp/chained-calls.cc: New file.
19933 * gdb.cp/chained-calls.exp: New file.
19934 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19935
d7fc3181
SM
199362014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19937
19938 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19939 * gdb.dwarf2/symtab-producer.exp: Same.
19940 * gdb.gdb/python-interrupts.exp: Same.
19941 * gdb.gdb/python-selftest.exp: Same.
19942 * gdb.python/py-linetable.exp: Same.
19943 * gdb.python/py-type.exp: Same.
19944 * gdb.python/py-value-cc.exp: Same.
19945 * gdb.python/py-value.exp: Same.
19946
10e79639
YQ
199472014-11-28 Yao Qi <yao@codesourcery.com>
19948
19949 * gdb.base/break-probes.exp: Match library name prefixed with
19950 sysroot.
19951
f28a0564
SM
199522014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19953
19954 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19955 test expected output. Add parentheses for the call to print.
19956 Remove L suffix from integers.
19957
3fe1ce1d
DE
199582014-11-26 Doug Evans <dje@google.com>
19959
19960 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19961
84429e27
YQ
199622014-11-22 Yao Qi <yao@codesourcery.com>
19963
19964 * gdb.trace/entry-values.c: Remove asms.
19965 (foo): Add foo_label.
19966 (bar): Add bar_label.
19967 * gdb.trace/entry-values.exp: Remove code computing foo's
19968 length and bar's length.
19969 (Dwarf::assemble): Invoke function_range for bar and use
19970 MACRO_AT_func for foo.
19971
26741859
YQ
199722014-11-22 Yao Qi <yao@codesourcery.com>
19973
19974 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19975 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19976 Use .Lgcc43_procstart instead of gcc43.
19977
45e44d27
JB
199782014-11-21 Joel Brobecker <brobecker@adacore.com>
19979
19980 * gdb.ada/n_arr_bound: New testcase.
19981
458c8db8
SDJ
199822014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19983
19984 PR breakpoints/10737
19985 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19986 test_catch_syscall_multi_arch.
19987 (test_catch_syscall_multi_arch): New function.
19988
43f3e411
DE
199892014-11-20 Doug Evans <xdje42@gmail.com>
19990
19991 * gdb.base/maint.exp: Update expected output.
19992
0d7b2549
AA
199932014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19994
19995 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19996 4-byte instruction on S390.
19997
8908fca5
JB
199982014-11-19 Joel Brobecker <brobecker@adacore.com>
19999
20000 * gdb.ada/arr_arr: New testcase.
20001
4a46959e
JB
200022014-11-19 Joel Brobecker <brobecker@adacore.com>
20003
20004 * gdb.ada/pkd_arr_elem: New Testcase.
20005
470e2f4e
LM
200062014-11-18 Luis Machado <lgustavo@codesourcery.com>
20007
20008 * gdb.reverse/break-precsave: Expect completion message for
20009 core file reads.
20010 * gdb.reverse/consecutive-precsave.exp: Likewise.
20011 * gdb.reverse/finish-precsave.exp: Likewise.
20012 * gdb.reverse/i386-precsave.exp: Likewise.
20013 * gdb.reverse/machinestate-precsave.exp: Likewise.
20014 * gdb.reverse/sigall-precsave.exp: Likewise.
20015 * gdb.reverse/solib-precsave.exp: Likewise.
20016 * gdb.reverse/step-precsave.exp: Likewise.
20017 * gdb.reverse/until-precsave.exp: Likewise.
20018 * gdb.reverse/watch-precsave.exp: Likewise.
20019
a267f3ad
AA
200202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20021
20022 * gdb.base/bp-permanent.c: Include unistd.h.
20023 * gdb.python/py-framefilter-mi.c (main): Add return type.
20024 * gdb.python/py-framefilter.c (main): Likewise.
20025 * gdb.trace/actions-changed.c (main): Likewise.
20026
12084a9a
AA
200272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20028
20029 * gdb.mi/until.c: Add eye-catchers.
20030 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20031 line numbers.
20032
dc7e1a77
AA
200332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20034
20035 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20036 function header variants in break1.c.
20037 * gdb.base/ena-dis-br.exp: Likewise.
20038 * gdb.base/hbreak2.exp: Likewise.
20039 * gdb.reverse/until-precsave.exp: Drop references to removed
20040 non-prototype function header variants in ur1.c.
20041 * gdb.reverse/until-reverse.exp: Likewise.
20042
41c77605
PM
200432014-11-17 Petr Machata <pmachata@redhat.com>
20044
20045 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20046 ${_cu_offset_size} bytes abbrev offset.
20047
34248c3a
DE
200482014-11-15 Doug Evans <xdje42@gmail.com>
20049
20050 PR symtab/17559
20051 * gdb.base/line-symtabs.exp: New file.
20052 * gdb.base/line-symtabs.c: New file.
20053 * gdb.base/line-symtabs.h: New file.
20054
646da059
YQ
200552014-11-14 Yao Qi <yao@codesourcery.com>
20056
20057 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20058 (func): Add label func_label.
20059 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20060 Replace low_pc and high_pc with MACRO_AT_range.
20061 Replace name, low_pc and high_pc with MACRO_AT_func.
20062
9301ebe6
YQ
200632014-11-14 Yao Qi <yao@codesourcery.com>
20064
20065 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20066 Replace name, low_pc and high_pc with MACRO_AT_func.
20067
f166b542
YQ
200682014-11-14 Yao Qi <yao@codesourcery.com>
20069
20070 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20071 produce debug information.
20072 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20073
0f6e71e3
YQ
200742014-11-14 Yao Qi <yao@codesourcery.com>
20075
20076 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20077 object and get function length.
20078 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20079 with MACRO_AT_func.
20080 (top-level): Replace gdb_compile and clean_restart with
20081 prepare_for_testing.
20082 * gdb.dwarf2/main.c (main): Add label main_label.
20083
876c4df9
YQ
200842014-11-14 Yao Qi <yao@codesourcery.com>
20085
20086 * lib/dwarf.exp (function_range): New procedure.
20087 (Dwarf::_handle_macro_at_func): New procedure.
20088 (Dwarf::_handle_macro_at_range): New procedure.
20089 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20090
02ad9cf1
YQ
200912014-11-14 Yao Qi <yao@codesourcery.com>
20092
20093 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20094 (_handle_attribute): New procedure.
20095
a59add0c
AA
200962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20097
20098 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20099 * gdb.base/call-sc.c (zed): Likewise.
20100 * gdb.base/checkpoint.c (main): Likewise.
20101 * gdb.base/dump.c (main): Likewise.
20102 * gdb.base/gcore.c (main): Likewise.
20103 * gdb.base/huge.c (main): Likewise.
20104 * gdb.base/multi-forks.c (main): Likewise.
20105 * gdb.base/pr10179-a.c (main): Likewise.
20106 * gdb.base/savedregs.c (main): Likewise.
20107 * gdb.base/sigaltstack.c (main): Likewise.
20108 * gdb.base/siginfo.c (main): Likewise.
20109 * gdb.base/structs.c (zed): Likewise.
20110 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20111 * gdb.mi/mi-syn-frame.c (main): Likewise.
20112 * gdb.mi/until.c (foo, main): Likewise.
20113 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20114 * gdb.base/solib-weak.c (foo): Declare.
20115 * gdb.base/attach-twice.c: Include stdio.h.
20116 * gdb.base/weaklib1.c: Likewise.
20117 * gdb.base/weaklib2.c: Likewise.
20118 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20119 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20120 unistd.h.
20121 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20122 * gdb.mi/mi-exit-code.c: Likewise.
20123 * gdb.base/break-interp-lib.c: Include string.h.
20124 * gdb.base/coremaker.c: Likewise.
20125 * gdb.base/testenv.c: Likewise.
20126 * gdb.python/py-finish-breakpoint.c: Likewise.
20127 * gdb.base/inferior-died.c: Include sys/wait.h.
20128 * gdb.base/fileio.c: Include time.h.
20129 * gdb.base/async-shell.c: Include unistd.h.
20130 * gdb.base/dprintf-non-stop.c: Likewise.
20131 * gdb.base/info-os.c: Likewise.
20132 * gdb.mi/mi-console.c: Likewise.
20133 * gdb.mi/watch-nonstop.c: Likewise.
20134 * gdb.python/py-events.c: Likewise.
20135 * gdb.base/async.c (baz): Move up before its invocation.
20136 * gdb.base/code_elim2.c (my_global_func): Likewise.
20137 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20138 * gdb.base/advance.c (func2): Likewise.
20139
3b5d5997
AA
201402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20141
20142 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20143 variant.
20144 * gdb.base/annota3.c: Likewise.
20145 * gdb.base/async.c: Likewise.
20146 * gdb.base/average.c: Likewise.
20147 * gdb.base/call-ar-st.c: Likewise.
20148 * gdb.base/call-rt-st.c: Likewise.
20149 * gdb.base/call-sc.c: Likewise.
20150 * gdb.base/call-strs.c: Likewise.
20151 * gdb.base/ending-run.c: Likewise.
20152 * gdb.base/execd-prog.c: Likewise.
20153 * gdb.base/exprs.c: Likewise.
20154 * gdb.base/foll-exec.c: Likewise.
20155 * gdb.base/foll-fork.c: Likewise.
20156 * gdb.base/foll-vfork.c: Likewise.
20157 * gdb.base/funcargs.c: Likewise.
20158 * gdb.base/gcore.c: Likewise.
20159 * gdb.base/jump.c: Likewise.
20160 * gdb.base/langs0.c: Likewise.
20161 * gdb.base/langs1.c: Likewise.
20162 * gdb.base/langs2.c: Likewise.
20163 * gdb.base/mips_pro.c: Likewise.
20164 * gdb.base/nodebug.c: Likewise.
20165 * gdb.base/opaque0.c: Likewise.
20166 * gdb.base/opaque1.c: Likewise.
20167 * gdb.base/recurse.c: Likewise.
20168 * gdb.base/run.c: Likewise.
20169 * gdb.base/scope0.c: Likewise.
20170 * gdb.base/scope1.c: Likewise.
20171 * gdb.base/setshow.c: Likewise.
20172 * gdb.base/setvar.c: Likewise.
20173 * gdb.base/shmain.c: Likewise.
20174 * gdb.base/shr1.c: Likewise.
20175 * gdb.base/shr2.c: Likewise.
20176 * gdb.base/sigall.c: Likewise.
20177 * gdb.base/signals.c: Likewise.
20178 * gdb.base/so-indr-cl.c: Likewise.
20179 * gdb.base/solib2.c: Likewise.
20180 * gdb.base/structs.c: Likewise.
20181 * gdb.base/sum.c: Likewise.
20182 * gdb.base/vforked-prog.c: Likewise.
20183 * gdb.base/watchpoint.c: Likewise.
20184 * gdb.reverse/shr2.c: Likewise.
20185 * gdb.reverse/until-reverse.c: Likewise.
20186 * gdb.reverse/ur1.c: Likewise.
20187 * gdb.reverse/watch-reverse.c: Likewise.
20188
066a77c5
AA
201892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20190
20191 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20192 variant.
20193 * gdb.base/sepdebug.exp: Drop references to removed code.
20194
4f204ea5
AA
201952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20196
20197 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20198 variant. Preserve original line numbering.
20199 * gdb.base/list1.c: Likewise.
20200
3b377a3a
AA
202012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20202
20203 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20204 variant.
20205 * gdb.base/break1.c: Likewise.
20206 * gdb.base/break.exp: Drop references to removed code.
20207
e444df73
AA
202082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20209
20210 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20211 variant.
20212
8008f2a7
AA
202132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20214
20215 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20216
a5a06887
AA
202172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20218
20219 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20220 logic into perform_all_tests() and invoke it with and without
20221 function header prototypes.
20222 (do_function_calls): Remove conditional XFAIL for PR 5318.
20223 (rerun_and_prepare): Remove duplicate code.
20224 (perform_all_tests): New. Main logic moved here.
20225
44dba9b9
AA
202262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20227
20228 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20229 code guarded by #ifdef NO_PROTOTYPES.
20230 (t_double_many_args): Likewise.
20231 (DEF_FUNC_MANY_ARGS_1): Likewise.
20232 (DEF_FUNC_VALUES_1): Likewise.
20233 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20234 guarded by #ifdef PROTOTYPES.
20235
d1fbcd56
AA
202362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20237
20238 * gdb.mi/mi-console.c: Add eye-catcher.
20239 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20240 instead of literal line number.
20241
b0e59b8f
AA
202422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20243
20244 * gdb.base/shr2.c: Add eye-catcher.
20245 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20246 line number.
20247
78f98cca
AA
202482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20249
20250 * gdb.base/jump.c: Add eye-catchers.
20251 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20252 numbers.
20253
58fa2af0
AA
202542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20255
20256 * gdb.base/execd-prog.c: Add eye-catchers.
20257 * gdb.base/foll-exec.c: Likewise.
20258 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20259 line numbers.
20260
04e5059b
AA
202612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20262
20263 * gdb.base/ending-run.c: Add eye-catchers.
20264 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20265 literal line numbers.
20266
dbfdb174
AA
202672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20268
20269 * gdb.base/call-rt-st.c: Add eye-catchers.
20270 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20271 literal line numbers.
20272
888a2ade
AA
202732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20274
20275 * gdb.base/call-ar-st.c: Add eye-catchers.
20276 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20277 literal line numbers.
20278
6acc2dde
AA
202792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20280
20281 * gdb.base/average.c: Add eye-catchers.
20282 * gdb.base/sum.c: Likewise.
20283 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20284 regexps dynamically.
20285
9ecfcd1d
AA
202862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20287
20288 * gdb.base/solib1.c: Add eye-catchers.
20289 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20290 literal line numbers.
20291
78708b7c
PA
202922014-11-12 Pedro Alves <palves@redhat.com>
20293
20294 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20295 leader has exited.
20296
af48d08f
PA
202972014-11-12 Pedro Alves <palves@redhat.com>
20298
20299 * gdb.arch/i386-bp_permanent.c: New file.
20300 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20301 (srcfile): Set to i386-bp_permanent.c.
20302 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20303 that stepi does not execute the 'leave' instruction, instead of
20304 testing it does execute.
20305 * gdb.base/bp-permanent.c: New file.
20306 * gdb.base/bp-permanent.exp: New file.
20307
af3768e9
DE
203082014-11-10 Doug Evans <xdje42@gmail.com>
20309
20310 PR symtab/17564
20311 * gdb.base/symtab-search-order.exp: New file.
20312 * gdb.base/symtab-search-order.c: New file.
20313 * gdb.base/symtab-search-order-1.c: New file.
20314 * gdb.base/symtab-search-order-shlib-1.c: New file.
20315
9de00a4a
PA
203162014-11-07 Pedro Alves <palves@redhat.com>
20317
20318 PR gdb/17511
20319 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20320 i?86-*-linux*.
20321
e0f52461
SC
203222014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20323
20324 PR c++/17494
20325 * gdb.cp/pr17494.cc: New file.
20326 * gdb.cp/pr17494.exp: New file.
20327
6ce8c980
YQ
203282014-11-02 Yao Qi <yao@codesourcery.com>
20329
20330 * gdb.python/python.exp: Get working directory and match the
20331 output of "set extended-prompt \\w " with it.
20332
02be9a71
DE
203332014-10-30 Doug Evans <dje@google.com>
20334
20335 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20336 in objfiles.
20337 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20338 in progspaces.
20339
3bdff46b
LM
203402014-10-30 Janis Johnson <janisjo@codesourcery.com>
20341
20342 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20343 * gdb.base/realname-expand.exp: Likewise.
20344 * gdb.linespec/macro-relative.exp: Likewise.
20345
ab917dfb
PA
203462014-10-29 Pedro Alves <palves@redhat.com>
20347
20348 PR gdb/17408
20349 * gdb.threads/schedlock.c (some_function): New function.
20350 (call_function): New global.
20351 (MAYBE_CALL_SOME_FUNCTION): New macro.
20352 (thread_function): Call it.
20353 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20354 and use it instead of a global counter. Adjust all callers.
20355 (get_current_thread): Use "find current thread" for test message
20356 here rather than having all callers pass down the same string.
20357 (goto_loop): New procedure, factored out from ...
20358 (my_continue): ... this.
20359 (step_ten_loops): Change parameter from test message to command to
20360 use. Adjust.
20361 (list_count): Delete global.
20362 (check_result): New procedure, factored out from duplicate top
20363 level code.
20364 (continue tests): Wrap in with_test_prefix.
20365 (test_step): New procedure, factored out from duplicate top level
20366 code.
20367 (top level): Test "step" in combination with all scheduler-locking
20368 modes. Test "next" in combination with all scheduler-locking
20369 modes, and in combination with stepping over a function call or
20370 not.
20371 * gdb.threads/next-bp-other-thread.c: New file.
20372 * gdb.threads/next-bp-other-thread.exp: New file.
20373
d3d4baed
PA
203742014-10-29 Pedro Alves <palves@redhat.com>
20375
20376 PR python/17372
20377 * gdb.python/python.exp: Test a multi-line command that spawns
20378 interactive Python.
20379 * gdb.base/multi-line-starts-subshell.exp: New file.
20380
563e8d85
YQ
203812014-10-29 Yao Qi <yao@codesourcery.com>
20382
20383 * gdb.base/fileio.exp: Make directories on host.
20384
0ea4d52e
YQ
203852014-10-29 Yao Qi <yao@codesourcery.com>
20386
20387 * gdb.base/fileio.c (test_write): Close the file.
20388
7f5ef605
PA
203892014-10-28 Pedro Alves <palves@redhat.com>
20390
20391 PR gdb/12623
20392 * gdb.base/sigstep.c (no_handler): New global.
20393 (main): If 'no_handler is true, set the signal handlers to
20394 SIG_IGN.
20395 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20396 with_sw_watch and no_handler parameters. Handle them.
20397 (top level) <stepping over handler when stopped at a breakpoint
20398 test>: Add a test axis for testing with a software watchpoint, and
20399 another for testing with the signal handler set to SIG_IGN.
20400 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20401 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20402
abbdbd03
PA
204032014-10-28 Pedro Alves <palves@redhat.com>
20404
20405 PR gdb/17511
20406 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20407 * gdb.base/sigstep.exp (other_handler_location): New global.
20408 (advance): Support stepping into the signal handler, and running
20409 commands while in the handler.
20410 (in_handler_map): New global.
20411 (top level): In the advance test, add combinations for getting
20412 into the handler with stepping commands, and for running commands
20413 in the handler. Add comment descripting the advancei tests.
20414
1df4399f
PA
204152014-10-28 Pedro Alves <palves@redhat.com>
20416
20417 * gdb.base/sigstep.exp: Use build_executable instead of
20418 prepare_for_testing.
20419 (top level): Move code that starts GDB, runs to main and creates a
20420 display to ...
20421 (restart): ... this new procedure.
20422 (top level): Move backtrace from signal handler test to ...
20423 (validate_backtrace): ... this new procedure.
20424 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20425 with_test_prefix. Always restart GDB.
20426 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20427 with_test_prefix. Always restart GDB. No need to delete
20428 breakpoints after the test.
20429 (test_skip_handler): Remove prefix parameter.
20430 (skip_over_handler, breakpoint_to_handler)
20431 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20432 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20433 restart GDB. No need to delete breakpoints after the test.
20434 (top level): Use foreach to call the test procedures with
20435 different commands.
20436
a5b6e449
PA
204372014-10-28 Pedro Alves <palves@redhat.com>
20438
20439 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20440 instead of GNATS numbers.
20441 * gdb.base/sigbpt.exp: Likewise.
20442 * gdb.base/siginfo.exp: Likewise.
20443 * gdb.base/sigstep.exp: Likewise.
20444
e5f8a7cc
PA
204452014-10-27 Pedro Alves <palves@redhat.com>
20446
20447 * gdb.base/sigstep.c (dummy): New global.
20448 (main): Issue a couple writes to the new global.
20449 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20450 procedures.
20451 (skip_over_handler): Use test_skip_handler.
20452 (top level): Call skip_over_handler for stepi and nexti too.
20453 (breakpoint_over_handler): Use test_skip_handler.
20454 (top level): Call breakpoint_over_handler for stepi and nexti too.
20455
763905a3
YQ
204562014-10-27 Yao Qi <yao@codesourcery.com>
20457
20458 * gdb.trace/tfile.c (adjust_function_address)
20459 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20460 function descriptor.
20461
6f259a23
DB
204622014-10-24 Don Breazeal <donb@codesourcery.com>
20463
20464 * gdb.base/foll-fork.exp (test_follow_fork,
20465 catch_fork_child_follow): Check for updated fork messages emitted
20466 from infrun.c.
20467 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20468 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20469 vfork_and_exec_child_follow_through_step): Check for updated vfork
20470 messages emitted from infrun.c.
20471
09dd9a69
PA
204722014-10-24 Pedro Alves <palves@redhat.com>
20473
20474 * gdb.base/corefile.exp: Remove references to ultrix.
20475 * gdb.base/interrupt.exp: Likewise.
20476 * gdb.base/whatis.exp: Likewise.
20477 * gdb.gdb/selftest.exp: Likewise.
20478 * gdb.threads/manythreads.exp: Likewise.
20479 * gdb.threads/print-threads.exp: Likewise.
20480 * gdb.threads/pthreads.exp:: Likewise.
20481 * gdb.threads/schedlock.exp: Likewise.
20482
3433cfa5
SC
204832014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20484
20485 * gdb.cp/non-trivial-retval.cc: Add a test case.
20486 * gdb.cp/non-trivial-retval.exp: Add a test.
20487
092f880b
YQ
204882014-10-20 Yao Qi <yao@codesourcery.com>
20489
20490 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20491 * gdb.python/py-objfile-script-gdb.py: New file.
20492 * gdb.python/py-objfile-script.exp: Update reference to
20493 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20494 of remote_download. Remove the dest file.
20495
acbdb7f3
YQ
204962014-10-20 Yao Qi <yao@codesourcery.com>
20497
20498 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20499 * gdb.base/step-line.exp: Likewise.
20500 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20501 * gdb.dwarf2/dw2-basic.exp: Likewise.
20502 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20503 * gdb.dwarf2/dw2-filename.exp: Likewise.
20504 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20505 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20506 * gdb.dwarf2/dw2-producer.exp: Likewise.
20507 * gdb.dwarf2/mac-fileno.exp: Likewise.
20508 * gdb.python/py-frame-args.exp: Likewise.
20509 * gdb.python/py-framefilter.exp: Likewise.
20510 * gdb.python/py-mi.exp: Likewise.
20511 * gdb.python/py-objfile-script.exp: Likewise
20512 * gdb.python/py-pp-integral.exp: Likewise.
20513 * gdb.python/py-pp-re-notag.exp: Likewise.
20514 * gdb.python/py-prettyprint.exp: Likewise.
20515 * gdb.python/py-section-script.exp: Likewise.
20516 * gdb.python/py-typeprint.exp: Likewise.
20517 * gdb.python/py-xmethods.exp: Likewise.
20518 * gdb.stabs/weird.exp: Likewise.
20519 * gdb.xml/tdesc-regs.exp: Likewise.
20520
bd286a29
KCY
205212014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20522
20523 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20524 (out_cu): Use addr_len for the size of addresses.
20525 (out_line): Likewise. Size DW_LNE_set_address instruction
20526 according to addr_len.
20527 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20528 (FUNC): Add START_INSNS to definition.
20529
673dc4a0
YQ
205302014-10-18 Yao Qi <yao@codesourcery.com>
20531
20532 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20533 gdb_has_argv0 return true.
20534 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20535 check [target_info exists noargs], check [gdb_has_argv0]
20536 instead.
20537 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20538 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20539 procedures.
20540
4ffbba72
DE
205412014-10-17 Doug Evans <dje@google.com>
20542
20543 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20544 event.
20545 * gdb.python/py-events.py: Add clear_objfiles event.
20546
d096d8c1
DE
205472014-10-17 Doug Evans <dje@google.com>
20548
20549 * gdb.python/py-objfile.exp: Test progspace attribute.
20550
a80db015
LM
205512014-10-17 Luis Machado <lgustavo@codesourcery.com>
20552
20553 * gdb.guile/scm-breakpoint.exp: Do not assume any
20554 directory separators when matching source file paths.
20555 * gdb.python/py-breakpoint.exp: Likewise.
20556 * gdb.reverse/break-precsave.exp: Likewise.
20557 * gdb.reverse/break-reverse.exp: Likewise.
20558 * gdb.reverse/consecutive-precsave.exp: Likewise.
20559 * gdb.reverse/finish-precsave.exp: Likewise.
20560 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20561 * gdb.reverse/finish-reverse.exp: Likewise.
20562 * gdb.reverse/i386-precsave.exp: Likewise.
20563 * gdb.reverse/i387-env-reverse.exp: Likewise.
20564 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20565 * gdb.reverse/machinestate-precsave.exp: Likewise.
20566 * gdb.reverse/machinestate.exp: Likewise.
20567 * gdb.reverse/sigall-precsave.exp: Likewise.
20568 * gdb.reverse/solib-precsave.exp: Likewise.
20569 * gdb.reverse/step-precsave.exp: Likewise.
20570 * gdb.reverse/until-precsave.exp: Likewise.
20571 * gdb.reverse/watch-precsave.exp: Likewise.
20572 * gdb.reverse/watch-reverse.exp: Likewise.
20573
b22089ab
YQ
205742014-10-17 Yao Qi <yao@codesourcery.com>
20575
20576 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20577 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20578
6c4486e6
PA
205792014-10-17 Pedro Alves <palves@redhat.com>
20580
20581 PR gdb/17471
20582 * gdb.base/bg-execution-repeat.c: New file.
20583 * gdb.base/bg-execution-repeat.exp: New file.
20584
0ff33695
PA
205852014-10-17 Pedro Alves <palves@redhat.com>
20586
20587 PR gdb/17300
20588 * gdb.base/continue-all-already-running.c: New file.
20589 * gdb.base/continue-all-already-running.exp: New file.
20590
6fdebc3d
PA
205912014-10-17 Pedro Alves <palves@redhat.com>
20592
20593 PR gdb/17472
20594 * gdb.base/annota-input-while-running.c: New file.
20595 * gdb.base/annota-input-while-running.exp: New file.
20596
32a8097b
PA
205972014-10-17 Pedro Alves <palves@redhat.com>
20598
20599 * gdb.base/callfuncs.exp: emove references to osf.
20600 * gdb.base/sigall.exp: Likewise.
20601 * gdb.gdb/selftest.exp: Likewise.
20602 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20603 * gdb.mi/non-stop.c: Likewise.
20604 * gdb.mi/pthreads.c: Likewise.
20605 * gdb.reverse/sigall-precsave.exp: Likewise.
20606 * gdb.reverse/sigall-reverse.exp: Likewise.
20607 * gdb.threads/pthreads.c: Likewise.
20608 * gdb.threads/pthreads.exp: Likewise.
20609
7a3517ff
YQ
206102014-10-17 Yao Qi <yao@codesourcery.com>
20611
20612 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20613 check 'target_info exists noargs'.
20614 (test_command_prompt_position): Likewise.
20615 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20616 Remove "set args".
20617 (progvar_simple_while_test): Likewise.
20618 (progvar_complex_if_while_test): Likewise.
20619 (if_while_breakpoint_command_test): Likewise.
20620 (infrun_breakpoint_command_test): Likewise.
20621 (breakpoint_command_test): Likewise.
20622 (watchpoint_command_test): Likewise.
20623 (bp_deleted_in_command_test): Likewise.
20624 (temporary_breakpoint_commands): Likewise.
20625
bb99c472
YQ
206262014-10-16 Yao Qi <yao@codesourcery.com>
20627
20628 * gdb.base/remotetimeout.exp: Remove noargs checking.
20629
7c16b83e
PA
206302014-10-15 Pedro Alves <palves@redhat.com>
20631
20632 PR breakpoints/9649
20633 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20634 * gdb.base/breakpoint-in-ro-region.exp
20635 (probe_target_hardware_step): New procedure.
20636 (top level): Probe hardware stepping and hardware breakpoint
20637 support. Test stepping through a read-only region, with both
20638 "breakpoint auto-hw" on and off and both "always-inserted" on and
20639 off.
20640
35a49624
IB
206412014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20642
20643 * gdb.dlang/demangle.exp: Update for demangling changes.
20644
2d1c107c
SC
206452014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20646
20647 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20648 * gdb.cp/non-trivial-retval.exp: Add new tests.
20649
778811d5
SC
206502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20651
20652 PR c++/13403
20653 PR c++/15154
20654 * gdb.cp/non-trivial-retval.cc: New file.
20655 * gdb.cp/non-trivial-retval.exp: New file.
20656
10c5f0a8
YQ
206572014-10-15 Yao Qi <yao@codesourcery.com>
20658
20659 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20660 remote host.
20661
65d7b369
YQ
206622014-10-15 Yao Qi <yao@codesourcery.com>
20663
20664 * gdb.python/py-symbol.exp: Match file base name if host is
20665 remote, otherwise match file name with dir name.
20666 * gdb.python/py-symtab.exp: Likewise.
20667 * gdb.python/python.exp: Likewise.
20668
46dc1394
YQ
206692014-10-15 Yao Qi <yao@codesourcery.com>
20670
20671 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20672 pattern.
20673 * gdb.python/py-symtab.exp: Likewise.
20674 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20675 locationn.
20676
c40cc657
JB
206772014-10-14 Joel Brobecker <brobecker@adacore.com>
20678
20679 * gdb.ada/addr_arith: New testcase.
20680
2abf49e1
MR
206812014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20682
20683 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20684 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20685 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20686 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20687
f7088df3
SDJ
206882014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20689
20690 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20691 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20692 * gdb.arch/stap-eval-lang-ada.exp: New file.
20693
4dc06805
YQ
206942014-10-14 Yao Qi <yao@codesourcery.com>
20695
20696 * gdb.mi/mi-var-child.c (nothing1): New function.
20697 (nothing2): New function.
20698 (do_children_tests): Set function pointers by nothing1 and
20699 nothing2.
20700 * gdb.mi/mi-var-child.exp: Step over new added statements.
20701 Update test to match the new output.
20702 * gdb.mi/var-cmd.c (nothing1): New function.
20703 (nothing2): New function.
20704 (do_children_tests): Set function pointers by nothing1 and
20705 nothing2.
20706 * gdb.mi/mi-var-display.exp: Update test to match output.
20707 Step to the line specified by $line_dct_nothing.
20708 Increase the number of lines to step.
20709
46a93de2
YQ
207102014-10-14 Yao Qi <yao@codesourcery.com>
20711
20712 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20713 tests.
20714 * gdb.mi/mi2-var-child.exp: Likewise.
20715
14ea52ee
DE
207162014-10-13 Doug Evans <dje@google.com>
20717
20718 * gdb.python/py-objfile.exp: Change name of file name test.
20719
e5c6e92b
DE
207202014-10-13 Doug Evans <dje@google.com>
20721
20722 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20723 from the start of the CU.
20724
c780cc2f
JK
207252014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20726 Yao Qi <yao@codesourcery.com>
20727
20728 Fix "save breakpoints" for "catch" command.
20729 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20730 Remove -nonewline. Match also the added "main" line.
20731
99894e11
JK
207322014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20733
20734 Fix "save breakpoints" for "disable $bpnum" command.
20735 * gdb.base/save-bp.c (main): Add label.
20736 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20737
6e1ac5a3
JK
207382014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20739
20740 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20741
754dd2b0
YQ
207422014-10-11 Yao Qi <yao@codesourcery.com>
20743
20744 * gdb.server/server-kill.exp: Execute command
20745 "set remote trace-status-packet on" before "tstatus".
20746
f90183d7
YQ
207472014-10-11 Yao Qi <yao@codesourcery.com>
20748
20749 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20750 (main): Call getppid.
20751 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20752 and continue to it. Read variable "server_pid".
20753
bf40a607
YQ
207542014-10-11 Yao Qi <yao@codesourcery.com>
20755
20756 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20757
052ca370
YQ
207582014-10-11 Yao Qi <yao@codesourcery.com>
20759
20760 * gdb.threads/thread-find.exp: Don't execute command
20761 "info threads".
20762 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20763 * gdb.threads/linux-dp.exp: Don't check the condition
20764 $threads_created equals to zero.
20765
3831839c
PA
207662014-10-10 Pedro Alves <palves@redhat.com>
20767
20768 * gdb.base/bigcore.exp: Remove references to IRIX.
20769 * gdb.base/funcargs.exp: Likewise.
20770 * gdb.base/interrupt.exp: Likewise.
20771 * gdb.base/mips_pro.exp: Likewise.
20772 * gdb.base/nodebug.exp: Likewise.
20773 * gdb.base/setvar.exp: Likewise.
20774 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20775
8b9a549d
PA
207762014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20777 Pedro Alves <palves@redhat.com>
20778
20779 PR symtab/14466
20780 * gdb.base/vdso-warning.c: New file.
20781 * gdb.base/vdso-warning.exp: New file.
20782
d48ba5e8
DE
207832014-10-02 Doug Evans <dje@google.com>
20784
20785 * gdb.base/structs.c (main): Don't run forever.
20786
2278c276
PA
207872014-10-02 Pedro Alves <palves@redhat.com>
20788
20789 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20790 (top level) <stop threads 1, stop threads 2>: Use it.
20791
b57bacec
PA
207922014-10-02 Pedro Alves <palves@redhat.com>
20793
20794 * gdb.threads/break-while-running.exp (test): Add new
20795 'update_thread_list' argument. Skip "info threads" if false.
20796 (top level): Add new 'update_thread_list' axis.
20797
13fd3ff3
PA
207982014-10-02 Pedro Alves <palves@redhat.com>
20799
20800 PR breakpoints/17431
20801 * gdb.base/execl-update-breakpoints.c: New file.
20802 * gdb.base/execl-update-breakpoints.exp: New file.
20803
0fec99e8
PA
208042014-10-01 Pedro Alves <palves@redhat.com>
20805
20806 * gdb.base/breakpoint-in-ro-region.c: New file.
20807 * gdb.base/breakpoint-in-ro-region.exp: New file.
20808
2ddf4301
SM
208092014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20810
20811 * gdb.mi/mi-exit-code.exp: New file.
20812 * gdb.mi/mi-exit-code.c: New file.
20813
6a5f3f43
YQ
208142014-09-30 Yao Qi <yao@codesourcery.com>
20815
20816 * lib/prelink-support.exp (build_executable_own_libs): Error if
20817 the target isn't native.
20818
345bcc73
YQ
208192014-09-30 Yao Qi <yao@codesourcery.com>
20820
20821 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20822 false.
20823
a25a5a45
PA
208242014-09-22 Pedro Alves <palves@redhat.com>
20825
20826 * gdb.threads/break-while-running.exp: New file.
20827 * gdb.threads/break-while-running.c: New file.
20828
00ba3162
YQ
208292014-09-19 Yao Qi <yao@codesourcery.com>
20830
20831 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20832 Invoke test. Restart GDB with --readnow and invoke test again.
20833
c3b7b696
YQ
208342014-09-19 Yao Qi <yao@codesourcery.com>
20835
20836 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20837 proc set_breakpoint_on_gcd_function. Invoke
20838 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20839 invoke set_breakpoint_on_gcd_function again.
20840
2b4fd423
DE
208412014-09-18 Doug Evans <dje@google.com>
20842
20843 * gdb.dwarf2/symtab-producer.exp: New file.
20844
a5947601
SDJ
208452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20846
20847 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20848 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20849 * gdb.base/global-var-nested-by-dso.c: Likewise.
20850 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20851
91c19059
SDJ
208522014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20853 Pedro Alves <palves@redhat.com>
20854
20855 * gdb.base/watch-bitfields.exp: Pass string other than test file
20856 name to prepare_for_testing.
20857 (watch): New procedure.
20858 (expect_watchpoint): Use with_test_prefix.
20859 (top level): Factor out tests to ...
20860 (test_watch_location, test_regular_watch): ... these new
20861 procedures, and use with_test_prefix and gdb_continue_to_end.
20862
bb9d5f81
PP
208632014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20864
20865 PR breakpoints/12526
20866 * gdb.base/watch-bitfields.exp: New file.
20867 * gdb.base/watch-bitfields.c: New file.
20868
635856f5
PA
208692014-09-16 Pedro Alves <palves@redhat.com>
20870
20871 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20872 software and hardware addresses, not software address against
20873 itself.
20874
7280ceea
PA
208752014-09-16 Pedro Alves <palves@redhat.com>
20876
20877 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20878 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20879
428b16bd
PA
208802014-09-16 Pedro Alves <palves@redhat.com>
20881
20882 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20883 files.
20884 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20885 "*-*-vxworks*" throughout.
20886 * gdb.base/break.exp: Likewise.
20887 * gdb.base/default.exp: Likewise.
20888 * gdb.base/scope.exp: Likewise.
20889 * gdb.base/sepdebug.exp: Likewise.
20890 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20891 throughout.
20892 * gdb.base/run.c: Likewise.
20893 * gdb.base/sepdebug.c: Likewise.
20894 * gdb.hp/gdb.aCC/run.c: Likewise.
20895 * gdb.reverse/until-reverse.c: Likewise.
20896 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20897
666d413c
YQ
208982014-09-16 Yao Qi <yao@codesourcery.com>
20899
20900 * boards/local-remote-host-native.exp: New file.
20901
57cbd724
DE
209022014-09-14 Doug Evans <xdje42@gmail.com>
20903
20904 * gdb.threads/queue-signal.c (thread_count): New variable.
20905 (thread_count_mutex, thread_count_condvar): New variables.
20906 (incr_thread_count, wait_all_threads_running): New functions.
20907 (main): Wait for all threads to be in their thread functions.
20908
81219e53
DE
209092014-09-13 Doug Evans <xdje42@gmail.com>
20910
20911 * gdb.threads/queue-signal.c: New file.
20912 * gdb.threads/queue-signal.exp: New file.
20913
3714cea7
DE
209142014-09-13 Doug Evans <xdje42@gmail.com>
20915
20916 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20917 be consistent with what default_gdb_init uses.
20918 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20919 the plain text of the prompt. Add some logging printfs.
20920 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20921
fa43b1d7
PA
209222014-09-12 Pedro Alves <palves@redhat.com>
20923
20924 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20925 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20926 * gdb.arch/i386-size-overlap.exp: Likewise.
20927 * gdb.arch/i386-size.exp: Likewise.
20928 * gdb.arch/i386-unwind.exp: Likewise.
20929 * gdb.base/a2-run.exp: Likewise.
20930 * gdb.base/break.exp: Likewise.
20931 * gdb.base/charset.exp: Likewise.
20932 * gdb.base/chng-syms.exp: Likewise.
20933 * gdb.base/commands.exp: Likewise.
20934 * gdb.base/dbx.exp: Likewise.
20935 * gdb.base/find.exp: Likewise.
20936 * gdb.base/funcargs.exp: Likewise.
20937 * gdb.base/jit-simple.exp: Likewise.
20938 * gdb.base/reread.exp: Likewise.
20939 * gdb.base/sepdebug.exp: Likewise.
20940 * gdb.base/step-bt.exp: Likewise.
20941 * gdb.cp/mb-inline.exp: Likewise.
20942 * gdb.cp/mb-templates.exp: Likewise.
20943 * gdb.objc/basicclass.exp: Likewise.
20944 * gdb.threads/killed.exp: Likewise.
20945
9d9bf2df
EBM
209462014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20947
20948 PR tdep/17379
20949 * gdb.arch/powerpc-stackless.S: New file.
20950 * gdb.arch/powerpc-stackless.exp: New file.
20951
1cf2f1b0
JK
209522014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20953
20954 * gdb.base/attach.c: Include unistd.h.
20955 (main): Call alarm. Add label postloop.
20956 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20957 gdb_breakpoint, gdb_continue_to_breakpoint.
20958 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20959
98880d46
PA
209602014-09-11 Pedro Alves <palves@redhat.com>
20961
20962 PR gdb/17347
20963 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20964 * gdb.base/attach.exp (test_command_line_attach_run): New
20965 procedure.
20966 (top level): Call it.
20967
4c92ff2c
PA
209682014-09-11 Pedro Alves <palves@redhat.com>
20969
20970 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20971 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20972 (do_command_attach_tests): Use spawn_wait_for_attach.
20973 * gdb.base/solib-overlap.exp: Likewise.
20974 * gdb.multi/multi-attach.exp: Likewise.
20975 * gdb.python/py-prompt.exp: Likewise.
20976 * gdb.python/py-sync-interp.exp: Likewise.
20977 * gdb.server/ext-attach.exp: Likewise.
20978
3adc1a7d
GKB
209792014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20980
20981 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20982 command in testcase. Simplify testcase.
20983
96334934
JB
209842014-09-10 Joel Brobecker <brobecker@adacore.com>
20985
20986 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20987
eb479039
JB
209882014-09-10 Joel Brobecker <brobecker@adacore.com>
20989
20990 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20991
deede10c
JB
209922014-09-10 Joel Brobecker <brobecker@adacore.com>
20993
20994 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20995
7828a5f5
JB
209962014-09-10 Joel Brobecker <brobecker@adacore.com>
20997
20998 * gdb.dwarf2/dynarr-ptr.c: New file.
20999 * gdb.dwarf2/dynarr-ptr.exp: New file.
21000
33aeebcf
MR
210012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21002
21003 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21004 of 30 rather than hardcoding 120 for a slow test case. Take the
21005 `gdb,timeout' target setting into account for this calculation.
21006 Don't extend the timeout for the test cases that don't need it.
21007
7b415901
MR
210082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21009
21010 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21011 a factor of 2 for a slow test case. Take the `gdb,timeout'
21012 target setting into account for this calculation.
21013 * gdb.reverse/until-precsave.exp: Increase the timeout by
21014 a factor of 15 and 3 respectively rather than adding 120
21015 for a pair of slow test cases. Take the `gdb,timeout'
21016 target setting into account for this calculation.
21017
4a40f85a
MR
210182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21019
21020 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21021 timeout, don't pass one down to gdb_expect.
21022 (gdb_expect): Rework timeout selection.
21023
09635af7
MR
210242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21025
21026 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21027 exception on timeout.
21028 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21029 (gdbserver_start_extended): Catch any `gdbserver_start' error
21030 exceptions.
21031 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21032 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21033 `gdbserver_gdb_load' error exceptions.
21034
2bdd10b7
MR
210352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21036
21037 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21038 120 on waiting for the TCP socket to open.
21039
316935f0
DE
210402014-09-09 Doug Evans <xdje42@gmail.com>
21041
21042 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21043 _caller_matches, _any_caller_is, _any_caller_matches.
21044
83740597
DE
210452014-09-09 Doug Evans <xdje42@gmail.com>
21046
21047 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21048
4c122fc3
YQ
210492014-09-09 Yao Qi <yao@codesourcery.com>
21050
21051 * gdb.mi/mi-var-display.exp: Set print symbol off.
21052
a9f116cb
GKB
210532014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21054
21055 PR gdb/17035
21056 * gdb.base/commands.exp: Add tests to verify user-defined
21057 commands with empty bodies.
21058 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21059 python commands in `show user command`.
21060 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21061 scheme commands in `show user command`.
21062
c75bd3a2
JK
210632014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21064
21065 PR python/17355
21066 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21067 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21068 * gdb.python/py-framefilter-invalidarg.exp: New file.
21069 * gdb.python/py-framefilter-invalidarg.py: New file.
21070
faa42425
DE
210712014-09-06 Doug Evans <xdje42@gmail.com>
21072
21073 PR 15276
21074 * gdb.python/py-caller-is.c: New file.
21075 * gdb.python/py-caller-is.exp: New file.
21076
474ca4f6
SDJ
210772014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21078
21079 PR gdb/17235
21080 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21081 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21082
eb0b0463
SDJ
210832014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21084
21085 PR fortran/17237
21086 * gdb.fortran/print-formatted.exp: New file.
21087 * gdb.fortran/print-formatted.f90: Likewise.
21088
5f3b99cf
SS
210892014-09-03 Sasha Smundak <asmundak@google.com>
21090
21091 * gdb.python/py-frame.exp: Test Frame.read_register.
21092
7d793aa9
SDJ
210932014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21094
21095 PR python/16699
21096 * gdb.python/py-completion.exp: New file.
21097 * gdb.python/py-completion.py: Likewise.
21098
fb0576e9
DE
210992014-08-28 Doug Evans <dje@google.com>
21100
21101 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21102 eax,etc. are live with values set by gdb and thus the compiler can't
21103 use them.
21104 * gdb.arch/i386-pseudo.c (main): Ditto.
21105
ee92b0dd
DE
211062014-08-27 Doug Evans <dje@google.com>
21107
21108 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21109
6649db35
DE
211102014-08-25 Doug Evans <dje@google.com>
21111
21112 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21113 (main): Ditto.
21114
564b7600
DE
211152014-08-25 Doug Evans <dje@google.com>
21116
21117 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21118
3881fb67
YQ
211192014-08-24 Yao Qi <yao@codesourcery.com>
21120
21121 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21122 symbol off.
21123 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21124
a05a36a5
DE
211252014-08-22 Doug Evans <dje@google.com>
21126
21127 PR 17276
21128 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21129 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21130 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21131
7c343b48
YQ
211322014-08-22 Yao Qi <yao@codesourcery.com>
21133
21134 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21135 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21136 * gdb.python/python.exp: Likewise. Use .py file on the host
21137 instead of the build.
21138
22fd09ae
JK
211392014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21140
21141 * gdb.threads/gcore-stale-thread.c: New file.
21142 * gdb.threads/gcore-stale-thread.exp: New file.
21143
a8454a7c
PA
211442014-08-21 Pedro Alves <palves@redhat.com>
21145
21146 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21147 * gdb.base/gcore-relro-pie.exp: Likewise.
21148 * gdb.base/gcore-relro.exp: Likewise.
21149 * gdb.base/gcore.exp: Likewise.
21150 * gdb.base/print-symbol-loading.exp: Likewise.
21151 * gdb.threads/gcore-thread.exp: Likewise.
21152 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21153
2a31c623
PA
211542014-08-20 Pedro Alves <palves@redhat.com>
21155 Jan Kratochvil <jan.kratochvil@redhat.com>
21156
21157 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21158 configure.
21159 (EXPECT): Handle READ1 being set.
21160 (all): Depend on EXTRA_RULES.
21161 (check-read1, expect-read1, read1.so, read1): New rules.
21162 * README (Testsuite Parameters): Document the READ1 make variable.
21163 (Race detection): New section.
21164 * configure: Regenerate.
21165 * configure.ac: If build==host==target, and running under a
21166 GNU/glibc system, add read1 to the extra Makefile rules.
21167 (EXTRA_RULES): AC_SUBST it.
21168 * lib/read1.c: New file.
21169
d36430db
JB
211702014-08-20 Joel Brobecker <brobecker@adacore.com>
21171
21172 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21173 the handling of variables declared as a typedef to an array
21174 which a DW_AT_data_location attribute.
21175
9a0dc9e3
PA
211762014-08-19 Andrew Burgess <aburgess@broadcom.com>
21177 Pedro Alves <palves@redhat.com>
21178
21179 PR symtab/14604
21180 PR symtab/14605
21181 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21182 gdb_test.
21183
0718a8da
PA
211842014-08-19 Pedro Alves <palves@redhat.com>
21185
21186 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21187
13b448cd
YQ
211882014-08-19 Yao Qi <yao@codesourcery.com>
21189
21190 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21191 right line.
21192
1cbf5077
DB
211932014-08-18 David Blaikie <dblaikie@gmail.com>
21194
21195 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21196
bf0fae19
JB
211972014-08-18 Joel Brobecker <brobecker@adacore.com>
21198
21199 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21200 attribute in array range.
21201
3c8c5dcc
JB
212022014-08-18 Joel Brobecker <brobecker@adacore.com>
21203
21204 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21205
e66d4446
SC
212062014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21207
21208 PR c++/17132
21209 * gdb.cp/pr17132.cc: New file.
21210 * gdb.cp/pr17132.exp: New file.
21211
940df408
SC
212122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21213
21214 * gdb.python/py-xmethods.py (A_getarrayind)
21215 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21216 Use 'print' with function call syntax.
21217 (E_method_matcher.match): Fix tab vs space indentation mixup.
21218
ebcc6c3a
YQ
212192014-08-15 Yao Qi <yao@codesourcery.com>
21220
21221 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21222 false.
21223
775e0f04
YQ
212242014-08-15 Yao Qi <yao@codesourcery.com>
21225
21226 * gdb.cp/casts.exp: Set print symbol off.
21227 * gdb.cp/class2.exp: Likewise.
21228 * gdb.cp/overload.exp: Likewise.
21229 * gdb.cp/templates.exp: Likewise.
21230
d769e349
DE
212312014-08-11 Doug Evans <dje@google.com>
21232
21233 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21234 (test_load_shlib): Update.
21235
20c6f1e1
YQ
212362014-08-09 Yao Qi <yao@codesourcery.com>
21237
21238 * gdb.base/display.exp: Invoke is_address_zero_readable.
21239 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21240 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21241 * gdb.base/hbreak-unmapped.exp: Return if
21242 is_address_zero_readable returns true.
21243 * gdb.base/signest.exp: Likewise.
21244 * gdb.base/signull.exp: Likewise.
21245 * gdb.base/sigbpt.exp: Likewise.
21246 * gdb.guile/scm-disasm.exp: Do the test if
21247 is_address_zero_readable returns false.
21248 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21249 * gdb.python/py-arch.exp: Likewise.
21250 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21251 * lib/gdb.exp (is_address_zero_readable): New proc.
21252
5792e8e3
YQ
212532014-08-09 Yao Qi <yao@codesourcery.com>
21254
21255 PR testsuite/13443
21256 * gdb.mi/mi-var-display.exp: Make test messages unique.
21257
3cecbbbe
TT
212582014-08-04 Tom Tromey <tromey@redhat.com>
21259
21260 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21261 target 0".
21262
00b51ff5
TT
212632014-08-04 Tom Tromey <tromey@redhat.com>
21264
21265 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21266 "target_resume".
21267
6908c509
JB
212682014-08-01 Joel Brobecker <brobecker@adacore.com>
21269
21270 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21271 inner_vla_struct_object_size.
21272 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21273 as xfail.
21274
cc6563d2
PA
212752014-07-30 Pedro Alves <palves@redhat.com>
21276
21277 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21278 comment.
21279
7e09a223
YQ
212802014-07-29 Yao Qi <yao@codesourcery.com>
21281
21282 PR gdb/17206
21283 * gdb.base/until-nodebug.exp: New.
21284
7ebdbe92
DE
212852014-07-28 Doug Evans <xdje42@gmail.com>
21286
21287 PR guile/17203
21288 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21289 previously existing parameter, and previously ambiguously spelled
21290 parameter.
21291
fdb1adc6
WN
212922014-07-28 Will Newton <will.newton@linaro.org>
21293
21294 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21295
186fcde0
DE
212962014-07-26 Ludovic Courtès <ludo@gnu.org>
21297 Doug Evans <xdje42@gmail.com>
21298
21299 PR guile/17146
21300 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21301
70509625
PA
213022014-07-25 Pedro Alves <palves@redhat.com>
21303
21304 * gdb.threads/signal-command-handle-nopass.c: New file.
21305 * gdb.threads/signal-command-handle-nopass.exp: New file.
21306 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21307 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21308 * gdb.threads/signal-delivered-right-thread.c: New file.
21309 * gdb.threads/signal-delivered-right-thread.exp: New file.
21310
c3f814a1
PA
213112014-07-25 Pedro Alves <palves@redhat.com>
21312
21313 * gdb.base/double-prompt-target-event-error.exp
21314 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21315 match.
21316 (cancel_pagination_in_target_event): Rework double prompt
21317 detection.
21318 * gdb.base/paginate-after-ctrl-c-running.exp
21319 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21320 <return>' match.
21321 * gdb.base/paginate-bg-execution.exp
21322 (test_bg_execution_pagination_return)
21323 (test_bg_execution_pagination_cancel): Remove '-notransfer
21324 <return>' matches.
21325 * gdb.base/paginate-execution-startup.exp
21326 (test_fg_execution_pagination_return)
21327 (test_fg_execution_pagination_cancel): Remove '-notransfer
21328 <return>' matches.
21329 * gdb.base/paginate-inferior-exit.exp
21330 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21331 match.
21332 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21333 * lib/gdb.exp (pagination_prompt): Run text through
21334 string_to_regexp.
21335 (gdb_test_multiple): Match $pagination_prompt instead of
21336 "<return>".
21337 (string_to_regexp): Move to lib/gdb-utils.exp.
21338
e214cf6c
JK
213392014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21340
21341 * gdb.arch/amd64-entry-value-paramref.S: New file.
21342 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21343 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21344 * gdb.arch/amd64-optimout-repeat.S: New file.
21345 * gdb.arch/amd64-optimout-repeat.c: New file.
21346 * gdb.arch/amd64-optimout-repeat.exp: New file.
21347
17d0c5c8
JK
213482014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21349
21350 PR gdb/17170
21351 * gdb.base/statistics.exp: New file.
21352
b8b8facf
DE
213532014-07-17 Doug Evans <dje@google.com>
21354
74b49205 21355 PR gdb/17170
b8b8facf
DE
21356 * gdb.base/maint.exp: Update testing of per-command stats.
21357
1b5d0ab3
PA
213582014-07-16 Pedro Alves <palves@redhat.com>
21359
21360 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21361 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21362 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21363 (tfile_write_buf): New functions.
21364 (add_memory_block): Rewrite using the above.
21365 (adjust_function_address): New function.
21366 (FUNCTION_ADDRESS): New macro.
21367 (write_basic_trace_file): Remove short_x local, and use
21368 tfile_write_16. Change type of func_addr local to unsigned long
21369 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21370 here. Cast argument of add_memory_block to char pointer.
21371 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21372 (main): Remove parameters.
21373 * gdb.trace/tfile.exp: Remove nowarnings.
21374
4d974e88
SM
213752014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21376
21377 * gdb.base/debug-expr.exp: Test string evaluation with
21378 "debug expression" on.
21379
41e99568
PA
213802014-07-15 Pedro Alves <palves@redhat.com>
21381
21382 * gdb.base/reread.exp: Use clean_restart.
21383
487d9753
PL
213842014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21385
21386 * gdb.arch/avr-flash-qualifer.c: New.
21387 * gdb.arch/avr-flash-qualifer.exp: New.
21388
cc1c52ad
PA
213892014-07-14 Pedro Alves <palves@redhat.com>
21390
21391 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21392 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21393
1e973570
PA
213942014-07-14 Pedro Alves <palves@redhat.com>
21395
21396 * gdb.base/double-prompt-target-event-error.c: New file.
21397 * gdb.base/double-prompt-target-event-error.exp: New file.
21398
93d6eb10
PA
213992014-07-14 Pedro Alves <palves@redhat.com>
21400
21401 PR gdb/17072
21402 * gdb.base/paginate-inferior-exit.c: New file.
21403 * gdb.base/paginate-inferior-exit.exp: New file.
21404
0017922d
PA
214052014-07-14 Pedro Alves <palves@redhat.com>
21406
21407 PR gdb/17072
21408 * gdb.base/paginate-bg-execution.c: New file.
21409 * gdb.base/paginate-bg-execution.exp: New file.
21410
94696ad3
PA
214112014-07-14 Pedro Alves <palves@redhat.com>
21412
21413 PR gdb/17072
21414 * gdb.base/paginate-execution-startup.c: New file.
21415 * gdb.base/paginate-execution-startup.exp: New file.
21416 * lib/gdb.exp (pagination_prompt): New global.
21417 (default_gdb_spawn): New procedure, factored out from
21418 default_gdb_spawn.
21419 (default_gdb_start): Adjust to call default_gdb_spawn.
21420 (gdb_spawn): New procedure.
21421
bd293940
PA
214222014-07-14 Pedro Alves <palves@redhat.com>
21423
21424 * lib/gdb.exp (gdb_assert): New procedure.
21425 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21426
c933f875
PA
214272014-07-14 Pedro Alves <palves@redhat.com>
21428
21429 * gdb.base/execution-termios.c: New file.
21430 * gdb.base/execution-termios.exp: New file.
21431
d98b7a16
TT
214322014-07-14 Tom Tromey <tromey@redhat.com>
21433
21434 * gdb.cp/vla-cxx.cc: New file.
21435 * gdb.cp/vla-cxx.exp: New file.
21436
548740d6
TT
214372014-07-14 Tom Tromey <tromey@redhat.com>
21438
21439 * gdb.reverse/rerun-prec.c: New file.
21440 * gdb.reverse/rerun-prec.exp: New file.
21441
a25eb028
MR
214422014-07-12 Maciej W. Rozycki <macro@mips.com>
21443 Maciej W. Rozycki <macro@codesourcery.com>
21444
21445 * lib/gdb-utils.exp: New file.
21446 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21447 inline `gdb_init_command' processing.
21448 (gdb_start_cmd): Likewise.
21449 * lib/mi-support.exp (mi_run_cmd): Likewise.
21450 * README: Document `gdb_init_command' and `gdb_init_commands'.
21451
218c2655
JK
214522014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21453
21454 Fix false FAIL running under a very long directory name.
21455 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21456 and "set print elements 10000". Twice.
21457
5401fde3
YQ
214582014-07-11 Yao Qi <yao@codesourcery.com>
21459
21460 * gdb.base/exprs.exp: "set print symbol off".
21461
e76126e8
PA
214622014-07-11 Pedro Alves <palves@redhat.com>
21463
21464 * gdb.threads/kill.c: New file.
21465 * gdb.threads/kill.exp: New file.
21466
2d6f0de6
YQ
214672014-07-10 Yao Qi <yao@codesourcery.com>
21468
21469 * gdb.trace/tfile.c (write_basic_trace_file)
21470 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21471 address written to trace file.
21472
7180e04a
PA
214732014-07-09 Pedro Alves <palves@redhat.com>
21474
21475 * gdb.base/attach-wait-input.exp: New file.
21476 * gdb.base/attach-wait-input.c: New file.
21477
9a9a7608
AB
214782014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21479
21480 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21481 setting up test structures.
21482 (main): Call new test function.
21483 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21484 test function, continue into test function and walk test
21485 structures.
21486
161ac41e
YQ
214872014-07-02 Yao Qi <yao@codesourcery.com>
21488
21489 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21490 'bar_start' at the beginning of functions 'foo' and 'bar'
21491 respectively.
21492 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21493 instead of 'foo' and 'bar'.
21494
1f267ae3
MM
214952014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21496
21497 * gdb.btrace/segv.exp: New.
21498 * gdb.btrace/segv.c: New.
21499
2b239efb
LM
215002014-07-02 Luis Machado <lgustavo@codesourcery.com>
21501
21502 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21503 instruction.
21504
cf363f18
MW
215052014-06-30 Mark Wielaard <mjw@redhat.com>
21506
21507 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21508 vulture, vilify, villar): New volatile array constants.
21509 (vindictive, vegetation): New const volatile array constants.
21510 * gdb.base/volatile.exp: Test volatile and const volatile array
21511 types.
21512
aebf9d24
AA
215132014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21514
21515 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21516 target lacks support for awatch, rwatch, or hbreak.
21517
b67a2c6f
YQ
215182014-06-27 Yao Qi <yao@codesourcery.com>
21519
21520 * gdb.multi/dummy-frame-restore.exp: New.
21521 * gdb.multi/dummy-frame-restore.c: New.
21522
aef92902
MM
215232014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21524
21525 * gdb.btrace/gcore.exp: New.
21526
8e9db26e
PA
215272014-06-23 Pedro Alves <palves@redhat.com>
21528
21529 * gdb.base/watchpoint-reuse-slot.c: New file.
21530 * gdb.base/watchpoint-reuse-slot.exp: New file.
21531
70afc5b7
SC
215322014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21533
21534 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21535 progspace's filename in 'info', 'enable' and 'disable' command
21536 tests.
21537
b972bd9c
JK
215382014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21539
21540 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21541 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21542 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21543
125f8a3d
GB
215442014-06-20 Gary Benson <gbenson@redhat.com>
21545
21546 * gdb.arch/i386-avx.exp: Fix include file location.
21547 * gdb.arch/i386-sse.exp: Likewise.
21548
3ed9baed
IB
215492014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21550
21551 * gdb.dlang/expression.exp: New file.
21552
034f788c
PA
215532014-06-19 Pedro Alves <palves@redhat.com>
21554
21555 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21556 out from ...
21557 (top level): ... here. Iterate running tests under different
21558 scheduler-locking settings.
21559
45371d0c
LM
215602014-06-18 Luis Machado <lgustavo@codesourcery.com>
21561
21562 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21563 to DW_FORM_addr and use non-zero addresses.
21564
5d376983
SC
215652014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21566
21567 PR gdb/17017
21568 * gdb.python/py-xmethods.cc: Add global function call counters and
21569 increment them in their respective functions. Remove "cout"
21570 statements.
21571 * gdb.python/py-xmethods.exp: Make tests check the global function
21572 call counters instead of depending on inferior IO.
21573
a1aa2221
LM
215742014-06-18 Don Breazeal <donb@codesourcery.com>
21575
21576 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21577 Deleted procedure.
21578 (explicit_fork_parent_follow): Deleted procedure.
21579 (explicit_fork_child_follow): Deleted procedure.
21580 (test_follow_fork): New procedure.
21581 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21582 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21583 procedure calls.
21584
0fc05997
YQ
215852014-06-17 Yao Qi <yao@codesourcery.com>
21586
21587 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21588 CP1252.
21589
70795c52
LM
215902014-06-17 Luis Machado <lgustavo@codesourcery.com>
21591
21592 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21593 Initialize ptr and S explicitly.
21594 (skip_type_update_when_not_use_rtti_test): Likewise.
21595
6be47f0c
KS
215962014-06-16 Keith Seitz <keiths@redhat.com>
21597
21598 PR mi/15863
21599 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21600 the inferior is started.
21601
d03de421
PA
216022014-06-16 Pedro Alves <palves@redhat.com>
21603
21604 * gdb.base/break-main-file-remove-fail.c: New file.
21605 * gdb.base/break-main-file-remove-fail.exp: New file.
21606 * gdb.base/break-unload-file.exp: Use build_executable instead of
21607 prepare_for_testing.
21608 (test_break): New parameter "initial_load". Handle it.
21609 (top level): Add initial_load cmdline/file axis.
21610
f9579b99
TT
216112014-06-12 Tom Tromey <tromey@redhat.com>
21612
21613 * gdb.base/completion.exp: Don't use directory name in test.
21614
3657956b
GB
216152014-06-09 Gary Benson <gbenson@redhat.com>
21616
21617 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21618 separate the always-available ANSI-standard signals from the
21619 signals that require checking.
21620 (main): Likewise.
21621 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21622 Likewise.
21623 (main): Likewise.
21624
4186eb54
KS
216252014-06-07 Keith Seitz <keiths@redhat.com>
21626
21627 Revert:
21628 PR c++/16253
21629 * gdb.cp/var-tag.cc: New file.
21630 * gdb.cp/var-tag.exp: New file.
21631 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21632 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21633 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21634 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21635
25326a28 216362014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21637
21638 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21639
829155c9
PA
216402014-06-06 Pedro Alves <palves@redhat.com>
21641
21642 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21643 in target debug output instead of looking at RSP packets,
21644 disabling the test on any target that uses hardware stepping.
21645 Update comments.
21646
61c8d22e
PA
216472014-06-06 Pedro Alves <palves@redhat.com>
21648
21649 * gdb.base/break-unload-file.exp: Fix typo.
21650
d9a47287
YQ
216512014-06-06 Yao Qi <yao@codesourcery.com>
21652
21653 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21654 from "jit_function" to "^jit_function".
21655
e5e01dbf
YQ
216562014-06-06 Yao Qi <yao@codesourcery.com>
21657
21658 * gdb.base/async.c (foo): Add one statement.
21659 * gdb.base/async.exp: Get the next instruction address and
21660 match the output of "nexti" by instruction address. Match
21661 the hex address in the output of "finish".
21662
73ba372c
GB
216632014-06-06 Gary Benson <gbenson@redhat.com>
21664
21665 * gdb.base/call-signals.c: Remove preprocessor conditionals
21666 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21667 SIGSEGV and SIGTERM.
21668 * gdb.base/sigall.c: Likewise.
21669 * gdb.base/unwindonsignal.c: Likewise.
21670 * gdb.reverse/sigall-reverse.c: Likewise.
21671
831517df
YQ
216722014-06-06 Yao Qi <yao@codesourcery.com>
21673
21674 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21675 readable, skip the test.
21676
b8b91e98
YQ
216772014-06-06 Yao Qi <yao@codesourcery.com>
21678
21679 * gdb.threads/staticthreads.c (thread_function): Move the line
21680 setting breakpoint on forward.
21681 * gdb.threads/staticthreads.exp: Update comments.
21682
fb934770
LC
216832014-06-05 Ludovic Courtès <ludo@gnu.org>
21684
21685 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21686 "history-append! type error".
21687
6ef284bd
SM
216882014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21689
21690 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21691 erroneous dprintf expected input.
21692
a872e241
DE
216932014-06-04 Doug Evans <xdje42@gmail.com>
21694
21695 * gdb.guile/scm-generics.exp: Delete.
21696
16f691fb
DE
216972014-06-04 Doug Evans <xdje42@gmail.com>
21698
21699 * gdb.guile/scm-breakpoint.exp: Update.
21700 Add tests for breakpoint registration.
21701
012370f6
TT
217022014-06-04 Tom Tromey <tromey@redhat.com>
21703
21704 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21705 VLA-in-union.
21706 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21707 inner_vla_struct, vla_union types. Initialize objects of those
21708 types and compute their sizes.
21709
9f5a4cef
HZ
217102014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21711 Hui Zhu <hui@codesourcery.com>
21712
21713 * gdb.base/fileio.exp: Add test for shell not available as well as
21714 available.
21715 * gdb.base/fileio.c (test_system): Check for shell twice.
21716
90a45c4d
YQ
217172014-06-04 Yao Qi <yao@codesourcery.com>
21718
21719 * gdb.base/auto-connect-native-target.exp: Remove redundant
21720 space from the regexp pattern.
21721
70017e41
YQ
217222014-06-04 Yao Qi <yao@codesourcery.com>
21723
21724 * gdb.base/default.exp: Replace "child" with "native" in
21725 regexp pattern.
21726
883964a7
SC
217272014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21728
21729 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21730 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21731 * gdb.python/py-xmethods.py: Python script supporting the
21732 new testcase and tests.
21733
ef370185
JB
217342014-06-03 Joel Brobecker <brobecker@adacore.com>
21735 Pedro Alves <palves@redhat.com>
21736
21737 PR breakpoints/17000
21738 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21739 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21740
1e2ccb61
BM
217412014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21742
21743 * gdb.base/subst.exp: Add tests to verify partial path matching
21744 output.
21745
c6ec5ab2
PA
217462014-06-03 Pedro Alves <palves@redhat.com>
21747
21748 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21749 target that doesn't use software single-stepping.
21750
835c559f
PA
217512014-06-03 Pedro Alves <palves@redhat.com>
21752
21753 PR breakpoints/17000
21754 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21755 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21756
06eb1586
DE
217572014-06-02 Doug Evans <xdje42@gmail.com>
21758
21759 * gdb.guile/scm-parameter.exp: New file.
21760
e698b8c4
DE
217612014-06-02 Doug Evans <xdje42@gmail.com>
21762
21763 * gdb.guile/scm-cmd.c: New file.
21764 * gdb.guile/scm-cmd.exp: New file.
21765
ded03782
DE
217662014-06-02 Doug Evans <xdje42@gmail.com>
21767
21768 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21769 pretty-printer lookup.
21770 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21771 (make-pp_s-printer): Call it.
21772 (make-pretty-printer-from-dict): New function.
21773 (lookup-pretty-printer-maker-from-dict): New function.
21774 (*pretty-printer*): Simplify.
21775 (make-objfile-pp_s-printer): New function.
21776 (install-objfile-pretty-printers!): New function.
21777 (make-progspace-pp_s-printer): New function.
21778 (install-progspace-pretty-printers!): New function.
21779 * gdb.guile/scm-progspace.c: New file.
21780 * gdb.guile/scm-progspace.exp: New file.
21781
41fac0cf
PA
217822014-06-02 Pedro Alves <palves@redhat.com>
21783
21784 * gdb.base/dprintf-bp-same-addr.c: New file.
21785 * gdb.base/dprintf-bp-same-addr.exp: New file.
21786
96ae5695
EBM
217872014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21788
21789 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21790 * gdb.arch/powerpc-power.s: Likewise.
21791
da02b3a8
JB
217922014-06-02 Joel Brobecker <brobecker@adacore.com>
21793
21794 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21795
c72b2e7b
YQ
217962014-06-01 Yao Qi <yao@codesourcery.com>
21797
21798 * gdb.base/watchpoint.exp (test_watch_location): Check null
21799 pointer can be dereferenced. If not, do the test, otherwise
21800 skip it.
21801
53e8a631
AB
218022014-05-30 Andrew Burgess <aburgess@broadcom.com>
21803
21804 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21805 results.
21806 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21807
938f0e2f
AB
218082014-05-30 Andrew Burgess <aburgess@broadcom.com>
21809
21810 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21811 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21812 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21813 * gdb.arch/amd64-invalid-stack-top.c: New file.
21814 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21815
9ba6657a
PA
218162014-05-30 Pedro Alves <palves@redhat.com>
21817
21818 PR breakpoints/17000
21819 * gdb.base/sss-bp-on-user-bp.c: New file.
21820 * gdb.base/sss-bp-on-user-bp.exp: New file.
21821
522c09bf
DB
218222014-05-30 David Blaikie <dblaikie@gmail.com>
21823
21824 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21825 gnu_inline semantics via attribute.
21826 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21827 source explicitly specifies the required semantics.
21828
bf4ef81e
MR
218292014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21830
21831 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21832
329ea579
PA
218332014-05-29 Pedro Alves <palves@redhat.com>
21834 Tom Tromey <tromey@redhat.com>
21835
21836 * gdb.base/async-shell.exp: Don't enable target-async.
21837 * gdb.base/async.exp
21838 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21839 parameter. Adjust.
21840 (top level): Don't test with "target-async".
21841 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21842 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21843 * gdb.base/inferior-died.exp: Don't enable target-async.
21844 * gdb.base/interrupt-noterm.exp: Likewise.
21845 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21846 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21847 * gdb.mi/mi-nonstop.exp: Likewise.
21848 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21849 * gdb.mi/mi-nsintrall.exp: Likewise.
21850 * gdb.mi/mi-nsmoribund.exp: Likewise.
21851 * gdb.mi/mi-nsthrexec.exp: Likewise.
21852 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21853 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21854 * gdb.python/py-evsignal.exp: Don't enable target-async.
21855 * gdb.python/py-evthreads.exp: Likewise.
21856 * gdb.python/py-prompt.exp: Likewise.
21857 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21858 * gdb.server/solib-list.exp: Don't enable target-async.
21859 * gdb.threads/thread-specific-bp.exp: Likewise.
21860 * lib/mi-support.exp: Adjust to use mi-async.
21861
fd664c91
PA
218622014-05-29 Pedro Alves <palves@redhat.com>
21863
21864 PR gdb/13860
21865 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21866 reason, even in sync mode.
21867
251bde03
PA
218682014-05-29 Pedro Alves <palves@redhat.com>
21869 Hui Zhu <hui@codesourcery.com>
21870
21871 PR PR15693
21872 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21873 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21874 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21875 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21876
7f3c0343
JB
218772014-05-28 Joel Brobecker <brobecker@adacore.com>
21878
21879 * config/monitor.exp (gdb_target_monitor): Replace use of
21880 "set remotebaud" by "set serial baud".
21881
b2715b27
AW
218822014-05-26 Andy Wingo <wingo@igalia.com>
21883
21884 * gdb.guile/scm-breakpoint.exp:
21885 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21886 properties instead of gdb-object-properties.
21887
498a4489
YQ
218882014-05-26 Yao Qi <yao@codesourcery.com>
21889
21890 * gdb.server/no-thread-db.exp: Specify source file name
21891 explicitly when setting a breakpoint.
21892
589fdceb
MM
218932014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21894
21895 * gdb.btrace/vdso.c: New.
21896 * gdb.btrace/vdso.exp: New.
21897
e9089e05
MM
218982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21899
21900 * gdb.base/gcore.exp (capture_command_output): Move ...
21901 * lib/gdb.exp (capture_command_output): ... here.
21902
67b5c0c1
MM
219032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21904
21905 * gdb.btrace/data.exp: Test memory access during btrace replay.
21906
a2199296
SM
219072014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21908
21909 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21910
17b2616c
PA
219112014-05-21 Pedro Alves <palves@redhat.com>
21912
21913 PR gdb/13860
21914 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21915 (top level): Test that output related to execution commands is
21916 sent to the console with CLI commands, but not with MI commands.
21917 Test that breakpoint events are always mirrored to the console.
21918 Also expect the new source line to be output after a "next" in
21919 async mode too. Make it a pass/fail test.
21920 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21921 output.
21922 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21923
5166082f
PA
219242014-05-21 Pedro Alves <palves@redhat.com>
21925
21926 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21927 Use them to test variations of "list" after reaching a breakpoint.
21928 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21929 Test "list" with listsize 10 after reaching a breakpoint.
21930 * gdb.python/python.exp (decode_line current location line
21931 number): Adjust expected line number.
21932
2f25d70f
SM
219332014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21934
21935 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21936 behavior for $args, pass it directly to "run".
21937
ff604a67
MR
219382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21939
21940 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21941 30000 to 65536.
21942
6a3cb8e8
PA
219432014-05-21 Pedro Alves <palves@redhat.com>
21944
21945 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21946 auto-connect-native-target off".
21947 * gdb.base/auto-connect-native-target.c: New file.
21948 * gdb.base/auto-connect-native-target.exp: New file.
21949
4ebfc96e
PA
219502014-05-21 Pedro Alves <palves@redhat.com>
21951
21952 * gdb.base/default.exp: Test "target native" instead of "target
21953 child".
21954
36d46afb
MW
219552014-05-21 Mark Wielaard <mjw@redhat.com>
21956
21957 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21958
5876f503
JK
219592014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21960
21961 Fix TLS access for -static -pthread.
21962 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21963 <HAVE_TLS> (thread_function, main): Initialize it.
21964 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21965 Add clean_restart.
21966 <$have_tls != "">: Check TLSVAR.
21967
0256a6ac
PA
219682014-05-21 Pedro Alves <palves@redhat.com>
21969
21970 * gdb.base/dcache-line-read-error.c: New.
21971 * gdb.base/dcache-line-read-error.exp: New.
21972
936d2992
PA
219732014-05-20 Pedro Alves <palves@redhat.com>
21974
21975 * gdb.base/compare-sections.c: New file.
21976 * gdb.base/compare-sections.exp: New file.
21977
802e8e6d
PA
219782014-05-20 Pedro Alves <palves@redhat.com>
21979
21980 * gdb.base/break-idempotent.c: New file.
21981 * gdb.base/break-idempotent.exp: New file.
21982
e59fa00f
MM
219832014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21984
21985 * gdb.btrace/nohist.exp: New.
21986
8b696e31
YQ
219872014-05-20 Yao Qi <yao@codesourcery.com>
21988
21989 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21990 gdb.reverse directory and gdb_reverse_timeout exists in board
21991 setting.
21992 * README: Document gdb_reverse_timeout.
21993
73c9764f
YQ
219942014-05-20 Yao Qi <yao@codesourcery.com>
21995
21996 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21997 'test_file_name'. Treat args as a string instead of a list.
21998 (gdb_init): Rename argument 'args' by 'test_file_name'.
21999
f1f4348a
JK
220002014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22001
22002 * gdb.arch/powerpc-power.exp: New file.
22003 * gdb.arch/powerpc-power.s: New file.
22004
0dbe70ce
DE
220052014-05-16 Doug Evans <dje@google.com>
22006
22007 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22008 * gdb.base/completion.exp: Check that all expected files exist
22009 before doing file completion.
0dbe70ce 22010
8d551b02
DE
220112014-05-16 Doug Evans <dje@google.com>
22012
22013 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22014 Update.
22015 (do_syscall_tests_without_xml): Update.
22016
73eb7709
PA
220172014-05-16 Pedro Alves <palves@redhat.com>
22018
22019 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22020 instead of "unknown output after running".
22021
3fae92fc
YQ
220222014-05-16 Yao Qi <yao@codesourcery.com>
22023
22024 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22025 file1.txt from host at the end.
22026 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22027
c2b2ccc5
DE
220282014-05-15 Doug Evans <dje@google.com>
22029
22030 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22031 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22032 loading file. Add test for TU lookup.
22033
8c217a4b
SM
220342014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22035
22036 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22037 calling "-exec-arguments" or "set args" before running the
22038 inferior.
22039
3deb39c6
SM
220402014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22041
22042 * lib/mi-support.exp (mi_expect_stop): Expect message for
22043 inferiors that exit with non-zero exit code.
22044
71a79f8c
YQ
220452014-05-14 Yao Qi <yao@codesourcery.com>
22046
22047 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22048 match absolute path on remote host.
22049 (test_file_list_exec_source_files): Remove "/" from the
22050 pattern.
22051
f23fcd46
YQ
220522014-05-14 Yao Qi <yao@codesourcery.com>
22053
22054 * boards/local-remote-host-notty.exp (${board}_file): New
22055 proc.
22056
9404b58f
KM
220572014-05-07 Kyle McMartin <kyle@redhat.com>
22058
22059 Pushed by Joel Brobecker <brobecker@adacore.com>.
22060 * gdb.arch/aarch64-atomic-inst.c: New file.
22061 * gdb.arch/aarch64-atomic-inst.exp: New file.
22062
5e45f04c
YQ
220632014-05-07 Yao Qi <yao@codesourcery.com>
22064
22065 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22066 in current context" too.
22067
c888a17d
KS
220682014-05-05 Keith Seitz <keiths@redhat.com>
22069
22070 * gdb.linespec/ls-dollar.exp: Add test for linespec
22071 file:convenience_variable.
22072
290a839c
YQ
220732014-05-05 Yao Qi <yao@codesourcery.com>
22074
22075 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22076 traceframes into tfile and ctf trace files. Read data from
22077 trace file and test collected data.
22078 (gdb_collect_locals_test): Likewise.
22079 (gdb_unavailable_registers_test): Likewise.
22080 (gdb_unavailable_floats): Likewise.
22081 (gdb_collect_globals_test): Likewise.
22082 (top-level): Append "ctf" to trace_file_targets if GDB
22083 supports.
22084
b5262cd0
YQ
220852014-05-05 Yao Qi <yao@codesourcery.com>
22086
22087 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22088 code to ...
22089 (gdb_collect_args_test_1): ... it. New proc.
22090 (gdb_collect_locals_test): Move some code to ...
22091 (gdb_collect_locals_test_1): ... it. New proc.
22092 (gdb_unavailable_registers_test): Move some code to ...
22093 (gdb_unavailable_registers_test_1): ... it. New proc.
22094 (gdb_unavailable_floats): Move some code to ...
22095 (gdb_unavailable_floats_1): ... it. New proc.
22096
30a1e6cc
SDJ
220972014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22098
22099 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22100 probes to test for bitness recognition.
22101 * gdb.arch/amd64-stap-optional-prefix.exp
22102 (test_probe_value_without_reg): New procedure.
22103 Add code to test for different kinds of bitness.
22104
f33da99a
SDJ
221052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22106
22107 PR breakpoints/16889
22108 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22109 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22110
5b80f00d
PA
221112014-05-01 Pedro Alves <palves@redhat.com>
22112
22113 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22114 gdb_file_cmd if no file is specified.
22115 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22116 last_loaded_file to set the remote exec-file.
22117
f8c2a73c
PA
221182014-05-01 Pedro Alves <palves@redhat.com>
22119
22120 * boards/local-remote-host.exp: New file.
22121
be6e8ac7
PA
221222014-05-01 Pedro Alves <palves@redhat.com>
22123
22124 * boards/local-remote-host.exp: Rename to ...
22125 * boards/local-remote-host-notty.exp: ... this.
22126
cac0dc8f
JB
221272014-04-28 Joel Brobecker <brobecker@adacore.com>
22128
22129 * gdb.ada/dyn_arrayidx: New testcase.
22130
9730e6cc
YQ
221312014-04-26 Yao Qi <yao@codesourcery.com>
22132
22133 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22134 and compute the length of function main. Save it in
22135 $main_length.
22136 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22137 (top-level): Use gdb_compile to compile objects into
22138 executable and restart GDB. Remove invocation to
22139 prepare_for_testing.
22140
7ae1a6a6
PA
221412014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22142 Pedro Alves <palves@redhat.com>
22143
22144 PR server/16255
22145 * gdb.multi/multi-attach.c: New file.
22146 * gdb.multi/multi-attach.exp: New file.
22147
4082afcc
PA
221482014-04-25 Pedro Alves <palves@redhat.com>
22149
22150 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22151 user.
22152 (top level): Test that "set remote conditional-breakpoints-packet
22153 off" works as intended.
22154 * gdb.base/dprintf.exp: Test that "set remote
22155 breakpoint-commands-packet off" works as intended.
22156 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22157 New function.
22158 (top level): Call it.
22159 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22160 remote fast-tracepoints-packet off" works as intended.
22161 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22162 * lib/gdb.exp (gdb_is_target_remote): ... here.
22163
2abc3f8d
DB
221642014-04-24 David Blaikie <dblaikie@gmail.com>
22165
22166 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22167 ensure clang would not discard them.
22168 * gdb.base/gdbvars.c: Ditto.
22169 * gdb.base/memattr.c: Ditto.
22170 * gdb.base/whatis.c: Ditto.
22171 * gdb.python/py-prettyprint.c: Ditto.
22172 * gdb.trace/actions.c: Ditto.
22173 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22174 ensure clang would not discard it.
22175
bfd39632
DB
221762014-04-24 David Blaikie <dblaikie@gmail.com>
22177
22178 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22179 clang to emit the full definition of type required by the test
22180 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22181
22842ff6
DB
221822014-04-24 David Blaikie <dblaikie@gmail.com>
22183
22184 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22185 coax Clang into emitting the definition of the type.
22186 * gdb.cp/pr10728-x.h (y): Ditto.
22187 * gdb.cp/pr10728-y.cc (y): Ditto.
22188
c2e827ad
DB
221892014-04-24 David Blaikie <dblaikie@gmail.com>
22190
22191 * gdb.base/label.exp: XFAIL label related tests under Clang.
22192 * gdb.cp/cplabel.exp: Ditto.
22193 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22194 under Clang those using labels.
22195
4c2d33e7
YQ
221962014-04-25 Yao Qi <yao@codesourcery.com>
22197
22198 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22199 double_label.
22200 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22201 partial_label and double_label.
22202
56083b99
DB
222032014-04-24 David Blaikie <dblaikie@gmail.com>
22204
22205 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22206
25d4e99d
DB
222072014-04-24 David Blaikie <dblaikie@gmail.com>
22208
22209 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22210 of the function to work across GCC and Clang.
22211 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22212 pointer types (const void ** const V void **).
22213
01f9f808
MS
222142014-04-24 Michael Sturm <michael.sturm@mintel.com>
22215 Walfred Tedeschi <walfred.tedeschi@intel.com>
22216
22217 * Makefile.in (EXECUTABLES): Added i386-avx512.
22218 * gdb.arch/i386-avx512.c: New file.
22219 * gdb.arch/i386-avx512.exp: Likewise.
22220
4b48d439
KS
222212014-04-23 Keith Seitz <keiths@redhat.com>
22222
22223 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22224 (mi_make_breakpoint_table): New procedure.
22225 (mi_create_breakpoint): Use mi_make_breakpoint
22226 and return the result.
22227 (mi_make_breakpoint): New procedure.
22228 (mi_build_kv_pairs): New procedure.
22229
22230 * gdb.mi/mi-break.exp: Remove unused globals,
22231 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22232 All callers updated.
22233 * gdb.mi/mi-dprintf.exp: Use variable to track command
22234 number.
22235 Update all callers of mi_create_breakpoint and use
22236 mi_make_breakpoint_table.
22237 Remove any unused global variables.
22238 * gdb.mi/mi-nonstop.exp: Likewise.
22239 * gdb.mi/mi-nsintrall.exp: Likewise.
22240 * gdb.mi/mi-nsmoribund.exp: Likewise.
22241 * gdb.mi/mi-nsthrexec.exp: Likewise.
22242 * gdb.mi/mi-reverse.exp: Likewise.
22243 * gdb.mi/mi-simplerun.exp: Likewise.
22244 * gdb.mi/mi-stepn.exp: Likewise.
22245 * gdb.mi/mi-syn-frame.exp: Likewise.
22246 * gdb.mi/mi-until.exp: Likewise.
22247 * gdb.mi/mi-var-cp.exp: Likewise.
22248 * gdb.mi/mi-var-display.exp: Likewise.
22249 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22250 * gdb.mi/mi2-var-child.exp: Likewise.
22251 * gdb.mi/mi-vla-c99.exp: Likewise.
22252 * lib/mi-support.exp: Likewise.
22253
22254 From Ian Lance Taylor <iant@cygnus.com>:
22255 * lib/gdb.exp (parse_args): New procedure.
22256
08351840
PA
222572014-04-23 Pedro Alves <palves@redhat.com>
22258
22259 * gdb.base/break-unload-file.c: New file.
22260 * gdb.base/break-unload-file.exp: New file.
22261 * gdb.base/sym-file-lib.c (baz): New function.
22262 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22263 field.
22264 (load): Store the segment's mapped size.
22265 (unload): New function.
22266 (unload_shlib): New function.
22267 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22268 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22269 set a breakpoint at baz, and call it.
22270 * gdb.base/sym-file.exp: New tests for stale breakpoint
22271 instructions.
22272
076855f9
PA
222732014-04-23 Pedro Alves <palves@redhat.com>
22274
22275 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22276 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22277 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22278 * gdb.base/hbreak-unmapped.c: New file.
22279 * gdb.base/hbreak-unmapped.exp: New file.
22280 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22281 * lib/gdb.exp (gdb_is_target_remote): ... here.
22282
483805cf
PA
222832014-04-22 Pedro Alves <palves@redhat.com>
22284
22285 * gdb.base/consecutive-step-over.c: New file.
22286 * gdb.base/consecutive-step-over.exp: New file.
22287
06d97543
PA
222882014-04-22 Pedro Alves <palves@redhat.com>
22289
22290 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22291 instead of send_gdb/gdb_expect.
22292
b4429ea2
YQ
222932014-04-22 Yao Qi <yao@codesourcery.com>
22294
22295 * lib/trace-support.exp (generate_tracefile): New procedure.
22296 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22297 return 0.
22298 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22299 if generate_tracefile returns 1.
22300
51d48146
PA
223012014-04-18 Tom Tromey <palves@redhat.com>
22302 Pedro alves <tromey@redhat.com>
22303
22304 PR backtrace/15558
22305 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22306 with a backtrace limit.
22307 * gdb.python/py-frame-inline.exp: Test running to an inline
22308 function with a backtrace limit, and printing the newest frame.
22309 * gdb.python/py-frame-inline.c (main): Call f.
22310
bd1dce5f
MS
223112014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22312
22313 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22314
40d1a503
MS
223152014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22316
22317 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22318 Drop prefix from unsupported source file path.
22319
389b98f7
YQ
223202014-04-17 Yao Qi <yao@codesourcery.com>
22321
22322 * lib/gdb.exp (with_target_charset): New proc.
22323 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22324 with_target_charset.
22325 (test_print_strings): Likewise.
22326 (test_repeat_bytes): Likewise.
22327 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22328 for some tests.
22329
22869d73
KS
223302014-04-16 Keith Seitz <keiths@redhat.com>
22331
22332 PR gdb/15827
22333 * gdb.dwarf2/corrupt.c: New file.
22334 * gdb.dwarf2/corrupt.exp: New file.
22335
c4f87ca6
KS
223362014-04-16 Keith Seitz <keiths@redhat.com>
22337
22338 PR c++/16597
22339 * gdb.cp/namelessclass.cc: New file.
22340 * gdb.cp/namelessclass.exp: New file.
22341 * gdb.cp/namelessclass.S: New file.
22342
ab19de87
DE
223432014-04-16 Doug Evans <dje@google.com>
22344
22345 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22346 Add comment.
22347 (gdbserver_default_get_comm_port): New function.
22348 (gdbserver_start): Check if board file provided
22349 "gdbserver,get_comm_port" and use it if so.
22350 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22351 (gdb,socketport): Set to "stdio".
22352 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22353 (stdio_gdbserver_template): Delete.
22354 (${board}_get_remote_address): Update.
22355 (${board}_build_remote_cmd): Delete.
22356 (${board}_get_comm_port): New function.
22357 (${board}_spawn): Update.
22358 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22359 Delete.
22360 (${board}_get_remote_address): Update.
22361 (${board}_get_comm_port): New function.
22362
fc98a809
AB
223632014-04-16 Andrew Burgess <aburgess@broadcom.com>
22364
22365 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22366 appearing in any order.
22367
87fd9e6e
DE
223682014-04-15 Doug Evans <dje@google.com>
22369
22370 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22371 uninitialized value of "description".
22372
099fc3ea
KS
223732014-04-15 Keith Seitz <keiths@redhat.com>
22374
22375 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22376 Remove unused globals.
22377 (test_running_the_program): Likewise.
22378 (test_controlled_execution): Likewise.
22379 (test_controlling_breakpoints): Likewise.
22380 (test_program_termination): Likewise.
22381
5da151d4
KS
223822014-04-15 Keith Seitz <keiths@redhat.com>
22383
22384 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22385 unused globals.
22386 (test_rbreak_creation_and_listing): Likewise.
22387 (test_ignore_count): Likewise.
22388 (test_error): Likewise.
22389
35e5d2f0
PA
223902014-04-15 Pedro Alves <palves@redhat.com>
22391
22392 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22393 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22394 sym-file-loader.c.
22395 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22396 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22397 to sym-file-loader.c.
22398 (struct library): Forward declare.
22399 (load_shlib, lookup_function): Change prototypes.
22400 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22401 (translate_offset): Remove declarations.
22402 (get_text_addr): New declaration.
22403 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22404 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22405 sym-file-loader.h.
22406 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22407 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22408 here from sym-file-loader.h.
22409 (struct library): New structure.
22410 (load_shlib, lookup_function): Change prototypes and adjust to
22411 work with a struct library.
22412 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22413 (translate_offset): Make static.
22414 (get_text_addr): New function.
22415 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22416
eb4c1710
PA
224172014-04-15 Pedro Alves <palves@redhat.com>
22418
22419 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22420
2d1baf52
PA
224212014-04-15 Pedro Alves <palves@redhat.com>
22422
22423 * gdb.base/sym-file-loader.c: Include <limits.h>.
22424 (SELF_LINK): New define.
22425 (get_origin): New function.
22426 (load_shlib): Use it.
22427 * gdb.base/sym-file.exp: Don't early return if the target is
22428 remote. Use runto_main, and issue fail is that fails. Use
22429 gdb_load_shlibs.
22430 (shlib_name): Delete.
22431 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22432
7dd6df01
PA
224332014-04-15 Pedro Alves <palves@redhat.com>
22434
22435 * gdb.base/sym-file.exp: Remove regex characters from test
22436 message. Don't refer to breakpoint numbers in test messages.
22437
b50c8614
KS
224382014-04-14 Keith Seitz <keiths@redhat.com>
22439
22440 PR c++/16253
22441 * gdb.cp/var-tag.cc: New file.
22442 * gdb.cp/var-tag.exp: New file.
22443 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22444 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22445 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22446 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22447
3d567982
TT
224482014-04-14 Tom Tromey <tromey@redhat.com>
22449
22450 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22451 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22452 type.
22453 * gdb.cp/enum-class.exp: New file.
22454 * gdb.cp/enum-class.cc: New file.
22455
0626fc76
TT
224562014-04-14 Tom Tromey <tromey@redhat.com>
22457
22458 * gdb.dwarf2/enum-type.exp: New file.
22459
dca325b3
SA
224602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22461
22462 * gdb.mi/mi-vla-c99.exp: New file.
22463 * gdb.mi/vla.c: New file.
22464
5854b38a
SA
224652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22466
22467 * gdb.base/vla-datatypes.c: New file.
22468 * gdb.base/vla-datatypes.exp: New file.
22469
463bb957
SA
224702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22471
22472 * gdb.base/vla-ptr.c: New file.
22473 * gdb.base/vla-ptr.exp: New file.
22474
3dd170be
SA
224752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22476
22477 * gdb.dwarf2/count.exp: New file.
22478
5ecaaa66
SA
224792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22480
22481 * gdb.base/vla-sideeffect.c: New file.
22482 * gdb.base/vla-sideeffect.exp: New file.
22483
41f1ada5
DB
224842014-04-14 David Blaikie <dblaikie@gmail.com>
22485
22486 * gdb.mi/non-stop.c: Add return value for non-void function return
22487 statement.
22488 * gdb.threads/staticthreads.c: Ditto.
22489
0be03e84
DE
224902014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22491 Doug Evans <xdje42@gmail.com>
22492
22493 * gdb.guile/scm-value.c: Improve test case.
22494 * gdb.guile/scm-value.exp: Add new test.
22495
f180a1fb
DB
224962014-04-11 David Blaikie <dblaikie@gmail.com>
22497
22498 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22499 override Clang's default.
22500
6b662e19
JB
225012014-04-11 Joel Brobecker <brobecker@adacore.com>
22502
22503 Revert the following changes (regressions):
22504
22505 * gdb.base/vla-sideeffect.c: New file.
22506 * gdb.base/vla-sideeffect.exp: New file.
22507
22508 * gdb.dwarf2/count.exp: New file.
22509
22510 * gdb.base/vla-multi.c: New file.
22511 * gdb.base/vla-multi.exp: New file.
22512
22513 * gdb.base/vla-ptr.c: New file.
22514 * gdb.base/vla-ptr.exp: New file.
22515
22516 * gdb.base/vla-datatypes.c: New file.
22517 * gdb.base/vla-datatypes.exp: New file.
22518
22519 * gdb.mi/mi-vla-c99.exp: New file.
22520 * gdb.mi/vla.c: New file.
22521
245a5f0b
KS
225222014-04-11 Keith Seitz <keiths@redhat.com>
22523
22524 PR c++/16675
22525 * gdb.cp/cpsizeof.exp: New file.
22526 * gdb.cp/cpsizeof.cc: New file.
22527
58a84dcf
SA
225282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22529
191a8a90
JB
22530 * gdb.mi/mi-vla-c99.exp: New file.
22531 * gdb.mi/vla.c: New file.
58a84dcf 22532
c8655f75
SA
225332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22534
22535 * gdb.base/vla-datatypes.c: New file.
22536 * gdb.base/vla-datatypes.exp: New file.
22537
024e13b4
SA
225382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22539
22540 * gdb.base/vla-ptr.c: New file.
22541 * gdb.base/vla-ptr.exp: New file.
22542
1a237e0e
SA
225432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22544
22545 * gdb.base/vla-multi.c: New file.
22546 * gdb.base/vla-multi.exp: New file.
22547
504f3432
SA
225482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22549
22550 * gdb.dwarf2/count.exp: New file.
22551
3bce8237
SA
225522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22553
191a8a90
JB
22554 * gdb.base/vla-sideeffect.c: New file.
22555 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22556
322f9c21
YQ
225572014-04-11 Yao Qi <yao@codesourcery.com>
22558
22559 * gdb.base/completion.exp: Check file exists before running tests
22560 on file completion.
22561
d708bcd1
PA
225622014-04-10 Pedro Alves <palves@redhat.com>
22563
22564 * gdb.base/cond-eval-mode.c: New file.
22565 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22566 prepare_for_testing to build the new file. Check result of
22567 runto_main.
22568 (test_break, test_watch): New procedures.
22569 (top level): Use them.
22570
ae1d2761
PM
225712014-04-08 Pierre Muller <muller@sourceware.org>
22572
22573 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22574 Ctrl-V use for mingw hosts.
22575
7af389b8
SC
225762014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22577
22578 * gdb.python/py-value.c: Improve test case.
22579 * gdb.python/py-value.exp: Add new test.
22580
5e703181
DE
225812014-04-07 David Blaikie <dblaikie@gmail.com>
22582
22583 * lib/compiler.c: Identify the clang compiler.
22584 * lib/compiler.cc: Ditto.
22585
9810b410
YQ
225862014-04-03 Yao Qi <yao@codesourcery.com>
22587
22588 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22589
98d1b8dc
AB
225902014-04-01 Anton Blanchard <anton@samba.org>
22591
22592 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22593 messages unique.
22594
3114cea1
AB
225952014-04-01 Anton Blanchard <anton@samba.org>
22596
22597 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22598 prepare_for_testing.
22599
62f7182c
AB
226002014-04-01 Anton Blanchard <anton@samba.org>
22601
22602 * gdb.arch/ppc64-atomic-inst.c: Remove.
22603 * gdb.arch/ppc64-atomic-inst.S: New file.
22604 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22605
770e7fc7
DE
226062014-03-31 Doug Evans <dje@google.com>
22607
22608 * gdb.base/print-symbol-loading-lib.c: New file.
22609 * gdb.base/print-symbol-loading-main.c: New file.
22610 * gdb.base/print-symbol-loading.exp: New file.
22611
46e2bafa
YQ
226122014-03-31 Yao Qi <yao@codesourcery.com>
22613
22614 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22615
8776cfe9
JB
226162014-03-28 Joel Brobecker <brobecker@adacore.com>
22617
22618 * gdb.ada/mi_dyn_arr: New testcase.
22619
5d1ef361
DE
226202014-03-27 Doug Evans <dje@google.com>
22621
22622 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22623
b5bee914
YQ
226242014-03-27 Yao Qi <yao@codesourcery.com>
22625
22626 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22627 if target is nios2-*-*.
22628
0d4d0e77
YQ
226292014-03-26 Yao Qi <yao@codesourcery.com>
22630
22631 * lib/gdb.exp (readline_is_used): New proc.
22632 * gdb.base/completion.exp: Move tests on command complete up.
22633 Skip the rest of tests if readline is not used.
22634 * gdb.ada/complete.exp: Skp the test if readline is not
22635 used.
22636 * gdb.base/filesym.exp: Likewise.
22637 * gdb.base/macscp.exp: Likewise.
22638 * gdb.base/readline-ask.exp: Likewise.
22639 * gdb.base/readline.exp: Likewise.
22640 * gdb.python/py-cmd.exp: Likewise.
22641 * gdb.trace/tfile.exp: Likewise.
22642
29361eee
YQ
226432014-03-26 Yao Qi <yao@codesourcery.com>
22644
22645 * gdb.base/macscp.exp: Fix code format issues.
22646
bc9a5525
UW
226472014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22648
22649 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22650 * gdb.asm/powerpc64le.inc: New file.
22651
d3839ede
PA
226522014-03-25 Pedro Alves <palves@redhat.com>
22653 Doug Evans <dje@google.com>
22654
22655 * gdb.base/source-execution.c: New file.
22656 * gdb.base/source-execution.exp: New file.
22657 * gdb.base/source-execution.gdb: New file.
22658
01672a57
DE
226592014-03-24 Doug Evans <dje@google.com>
22660
22661 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22662 using fission.
22663
88bbeca9
HZ
226642014-03-24 Hui Zhu <hui@codesourcery.com>
22665 Pedro Alves <palves@redhat.com>
22666
22667 PR breakpoints/16101
22668 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22669 test pass/fail messages. Detect missing support for dprintf when
22670 breakpoints are actually inserted.
22671 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22672 breakpoints are actually inserted.
22673 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22674 fails.
22675
d2348791
JK
226762014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22677
22678 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22679
feef67ab
DE
226802014-03-22 Doug Evans <xdje42@gmail.com>
22681
22682 * gdb.python/python.exp (python not supported): Verify multi-line
22683 python command issues an error.
25d743f9 22684 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22685 guile command issues an error.
feef67ab 22686
ecebef6a
MR
226872014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22688
22689 * gdb.threads/thread-specific.exp: Handle the lack of usable
22690 $this_breakpoint and $this_thread.
22691
ccdd1909
HZ
226922014-03-21 Hui Zhu <hui@codesourcery.com>
22693
22694 * gdb.base/attach.exp (do_command_attach_tests): New.
22695
beb460e8
PA
226962014-03-20 Tom Tromey <tromey@redhat.com>
22697 Pedro Alves <palves@redhat.com>
22698
22699 PR cli/15718
22700 * gdb.base/condbreak-call-false.c: New file.
22701 * gdb.base/condbreak-call-false.exp: New file.
22702
40acf43a
PA
227032014-03-20 Pedro Alves <palves@redhat.com>
22704
22705 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22706 Delete.
22707 (block_signals, unblock_signals): Delete.
22708 (child_function_2, main): Remove references to deleted variable
22709 and functions.
22710
9f5e1e02
PA
227112014-03-20 Pedro Alves <palves@redhat.com>
22712
22713 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22714 Use pthread_kill to signal thread 2.
22715 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22716 Adjust to make the test send itself a signal rather than using the
22717 host's "kill" command.
22718
99619bea
PA
227192014-03-20 Pedro Alves <palves@redhat.com>
22720
22721 * gdb.threads/multiple-step-overs.c: New file.
22722 * gdb.threads/multiple-step-overs.exp: New file.
22723 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22724 Adjust expected infrun debug output.
22725
2adfaa28
PA
227262014-03-20 Pedro Alves <palves@redhat.com>
22727
22728 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22729 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22730
31e77af2
PA
227312014-03-20 Pedro Alves <palves@redhat.com>
22732
22733 PR breakpoints/7143
22734 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22735 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22736 of gdb_test_multiple.
22737 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22738 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22739
b9f437de
PA
227402014-03-20 Pedro Alves <palves@redhat.com>
22741
22742 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22743 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22744
05adc73e
PA
227452014-03-19 Pedro Alves <palves@redhat.com>
22746
22747 * gdb.base/async.exp: Remove early return.
22748
6048b950
PA
227492014-03-19 Pedro Alves <palves@redhat.com>
22750
22751 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22752
8bcfb00a
PA
227532014-03-19 Pedro Alves <palves@redhat.com>
22754
22755 * gdb.base/async.exp (test_background): Expect \r\n after
22756 "completed." in the fail pattern.
22757
884e37dc
PA
227582014-03-19 Pedro Alves <palves@redhat.com>
22759
22760 * gdb.base/async.exp (test_background): New procedure.
22761 Use it for all background execution command tests.
22762
148e57e2
PA
227632014-03-19 Pedro Alves <palves@redhat.com>
22764
22765 * gdb.base/async.exp: Use prepare_for_testing.
22766
f48088c7
PA
227672014-03-19 Pedro Alves <palves@redhat.com>
22768
22769 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22770 the same line.
22771
e2f6c966
PA
227722014-03-19 Pedro Alves <palves@redhat.com>
22773
22774 * gdb.base/async.c (main): Add "jump here" and "until here" line
22775 marker comments.
22776 * gdb.base/async.exp (jump_here): New global.
22777 (jump& test): Use it.
22778 (until_here): New global.
22779 (until& test): Use it.
22780
c30568d4
PA
227812014-03-19 Pedro Alves <palves@redhat.com>
22782
22783 * gdb.base/async.exp: Don't frob gdb_protocol.
22784
0172b6a7
DE
227852014-03-18 Doug Evans <xdje42@gmail.com>
22786
22787 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22788 Fix spelling of exec-done-display.
22789
06c868a8
JK
227902014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22791
22792 PR gdb/15358
22793 * gdb.base/gdb-sigterm.c: New file.
22794 * gdb.base/gdb-sigterm.exp: New file.
22795
0c7e1a46
PA
227962014-03-18 Pedro Alves <palves@redhat.com>
22797
22798 PR gdb/13860
22799 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22800 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22801 solib-event.
22802
f7c77d93
JB
228032014-03-17 Joel Brobecker <brobecker@adacore.com>
22804
22805 * gdb.ada/pckd_arr_ren: New testcase.
22806
5a1e8c7a
DE
228072014-03-13 Doug Evans <xdje42@gmail.com>
22808
22809 PR guile/16612
22810 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22811 collect after discarding symbols.
22812
350e1a76
DE
228132014-03-13 Ludovic Courtès <ludo@gnu.org>
22814 Doug Evans <xdje42@gmail.com>
22815
22816 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22817 to history survives a gc.
22818
a69900ae
PA
228192014-03-13 Pedro Alves <palves@redhat.com>
22820
22821 * gdb.base/default.exp: Don't test "target procfs".
22822
5db9f0bd
PA
228232014-03-13 Pedro Alves <palves@redhat.com>
22824
22825 * gdb.base/default.exp: Update "target child" and "target procfs"
22826 tests to not expect "Unix".
22827
b3ccfe11
TT
228282014-03-12 Tom Tromey <tromey@redhat.com>
22829
22830 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22831 New procs. Add target-async tests.
22832 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22833 Add target-async tests.
22834
646f4417
AA
228352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22836
22837 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22838 'func_start' and 'func_end' for the beginning and end of the
22839 function code, respectively.
22840 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22841 'func_end' instead of 'func' and 'main'.
22842
288c211f
AA
228432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22844
22845 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22846 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22847 generate the debug info assembler source.
22848
e0c0f156
AA
228492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22850
22851 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22852 * gdb.dwarf2/arr-subrange.exp: Likewise.
22853 * gdb.dwarf2/dwz.exp: Likewise.
22854 * gdb.dwarf2/method-ptr.exp: Likewise.
22855 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22856 * gdb.dwarf2/subrange.exp: Likewise.
22857 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22858 * gdb.dwarf2/implptrpiece.exp: Likewise.
22859 * gdb.dwarf2/nostaticblock.exp: Likewise.
22860
0e5c4555
AA
228612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22862
22863 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22864 directory to absolute path name arguments.
22865
5ec18f2b
JG
228662014-03-10 Joel Brobecker <brobecker@adacore.com>
22867
22868 * gdb.ada/tagged_access: New testcase.
22869
847fc4f2
MM
228702014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22871
22872 * gdb.btrace/data.exp: Update expected output.
22873
cc3da688
YQ
228742014-03-06 Yao Qi <yao@codesourcery.com>
22875
22876 * gdb.trace/pr16508.exp: New file.
22877
0f26cec1
PA
228782014-03-05 Pedro Alves <palves@redhat.com>
22879
22880 PR gdb/16575
22881 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22882 procedure.
22883 (top level): Adjust to use it. Add tests that exercise breakpoint
22884 interaction with the code-cache.
22885
7a5a839f
LC
228862014-02-26 Ludovic Courtès <ludo@gnu.org>
22887
22888 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22889 test for 'history-append!'.
22890
31aa7e4e
JB
228912014-02-26 Joel Brobecker <brobecker@adacore.com>
22892
22893 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22894 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22895 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22896 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22897 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22898 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22899
1b588015
JB
229002014-02-26 Joel Brobecker <brobecker@adacore.com>
22901
22902 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22903 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22904 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22905
55426c9d
JB
229062014-02-26 Joel Brobecker <brobecker@adacore.com>
22907
22908 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22909
dc53a7ad
JB
229102014-02-26 Joel Brobecker <brobecker@adacore.com>
22911
22912 * gdb.dwarf2/arr-stride.c: New file.
22913 * gdb.dwarf2/arr-stride.exp: New file.
22914
12ab52e9
PA
229152014-02-26 Pedro Alves <palves@redhat.com>
22916
22917 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22918 that won't ever trigger. Make sure that GDB reports the correct
22919 breakpoint that caused the stop.
22920
849c862e
JK
229212014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22922
22923 PR gdb/16626
22924 * gdb.base/auto-load-script: New file.
22925 * gdb.base/auto-load.c: New file.
22926 * gdb.base/auto-load.exp: New file.
22927
71b7d793
JK
22928 PR gdb/16626
22929 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22930
e2f0d509
JK
229312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22932
22933 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22934 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22935
50cc37c8
DE
229362014-02-24 Doug Evans <dje@google.com>
22937
22938 * lib/gdb.exp (run_on_host): Log error output if program fails.
22939
ea4758f2
PA
229402014-02-21 Pedro Alves <palves@redhat.com>
22941
22942 * gdb.threads/step-after-sr-lock.c: Rename to ...
22943 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22944 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22945 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22946 ... this.
22947
d7b30f67
SDJ
229482014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22949
22950 PR tdep/16397
22951 * gdb.arch/amd64-stap-special-operands.exp: New file.
22952 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22953 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22954 * gdb.arch/amd64-stap-triplet.S: Likewise.
22955 * gdb.arch/amd64-stap-triplet.c: Likewise.
22956
83deb43f
JB
229572014-02-20 Joel Brobecker <brobecker@adacore.com>
22958
22959 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22960 in .section pseudo-op.
22961
adde2bff
DE
229622014-02-20 lin zuojian <manjian2006@gmail.com>
22963 Joel Brobecker <brobecker@adacore.com>
22964 Doug Evans <xdje42@gmail.com>
22965
22966 PR symtab/16581
22967 * gdb.dwarf2/dw2-icycle.S: New file.
22968 * gdb.dwarf2/dw2-icycle.c: New file.
22969 * gdb.dwarf2/dw2-icycle.exp: New file.
22970
f7bd0f78
SC
229712014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22972
22973 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22974 operations on gdb.Value objects.
22975 * gdb.python/py-value-cc.exp: Add new test to test operations on
22976 gdb.Value objects.
22977
c17ef0d5
DE
229782014-02-18 Doug Evans <dje@google.com>
22979
22980 * Makefile.in (TESTS): New variable.
22981 (expanded_tests, expanded_tests_or_none): New variables
22982 (check-single): Pass $(expanded_tests_or_none) to runtest.
22983 (check-parallel): Only run tests in $(TESTS) if non-empty.
22984 (check/no-matching-tests-found): New rule.
22985 * README: Document TESTS makefile variable.
22986
5dd3176f
DE
229872014-02-18 Doug Evans <dje@google.com>
22988
22989 * Makefile.in (check-parallel): rm -rf outputs temp.
22990
0b10be4f
JK
229912014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22992
22993 Fix "ERROR: no fileid for" in the testsuite.
22994 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22995
85f224e7
DE
229962014-02-12 Doug Evans <dje@google.com>
22997
22998 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22999 (MISCELLANEOUS): New variable.
23000 (clean): rm -rf $(MISCELLANEOUS).
23001 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23002 dwp live in the same directory as symlinks, with each symlink pointed
23003 to a differently named file in a different directory.
23004
149b30ff
DE
230052014-02-11 Doug Evans <dje@google.com>
23006
23007 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23008 of Tcl file commands.
23009
1dfdac32
MK
230102014-02-10 Mark Kettenis <kettenis@gnu.org>
23011
23012 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23013 "kill -SIGUSR1 -1".
23014
aa4fb036
JB
230152014-02-10 Joel Brobecker <brobecker@adacore.com>
23016
23017 * gdb.ada/tick_length_array_enum_idx: New testcase.
23018
ed3ef339
DE
230192014-02-10 Doug Evans <xdje42@gmail.com>
23020
23021 * configure.ac (AC_OUTPUT): Add gdb.guile.
23022 * configure: Regenerate.
23023 * lib/gdb-guile.exp: New file.
23024 * lib/gdb.exp (get_target_charset): New function.
23025 * gdb.base/help.exp: Update expected output from "apropos apropos".
23026 * gdb.guile/Makefile.in: New file.
23027 * gdb.guile/guile.exp: New file.
23028 * gdb.guile/scm-arch.c: New file.
23029 * gdb.guile/scm-arch.exp: New file.
23030 * gdb.guile/scm-block.c: New file.
23031 * gdb.guile/scm-block.exp: New file.
23032 * gdb.guile/scm-breakpoint.c: New file.
23033 * gdb.guile/scm-breakpoint.exp: New file.
23034 * gdb.guile/scm-disasm.c: New file.
23035 * gdb.guile/scm-disasm.exp: New file.
23036 * gdb.guile/scm-equal.c: New file.
23037 * gdb.guile/scm-equal.exp: New file.
23038 * gdb.guile/scm-error.exp: New file.
23039 * gdb.guile/scm-error.scm: New file.
23040 * gdb.guile/scm-frame-args.c: New file.
23041 * gdb.guile/scm-frame-args.exp: New file.
23042 * gdb.guile/scm-frame-args.scm: New file.
23043 * gdb.guile/scm-frame-inline.c: New file.
23044 * gdb.guile/scm-frame-inline.exp: New file.
23045 * gdb.guile/scm-frame.c: New file.
23046 * gdb.guile/scm-frame.exp: New file.
23047 * gdb.guile/scm-generics.exp: New file.
23048 * gdb.guile/scm-gsmob.exp: New file.
23049 * gdb.guile/scm-iterator.c: New file.
23050 * gdb.guile/scm-iterator.exp: New file.
23051 * gdb.guile/scm-math.c: New file.
23052 * gdb.guile/scm-math.exp: New file.
23053 * gdb.guile/scm-objfile-script-gdb.in: New file.
23054 * gdb.guile/scm-objfile-script.c: New file.
23055 * gdb.guile/scm-objfile-script.exp: New file.
23056 * gdb.guile/scm-objfile.c: New file.
23057 * gdb.guile/scm-objfile.exp: New file.
23058 * gdb.guile/scm-ports.exp: New file.
23059 * gdb.guile/scm-pretty-print.c: New file.
23060 * gdb.guile/scm-pretty-print.exp: New file.
23061 * gdb.guile/scm-pretty-print.scm: New file.
23062 * gdb.guile/scm-section-script.c: New file.
23063 * gdb.guile/scm-section-script.exp: New file.
23064 * gdb.guile/scm-section-script.scm: New file.
23065 * gdb.guile/scm-symbol.c: New file.
23066 * gdb.guile/scm-symbol.exp: New file.
23067 * gdb.guile/scm-symtab-2.c: New file.
23068 * gdb.guile/scm-symtab.c: New file.
23069 * gdb.guile/scm-symtab.exp: New file.
23070 * gdb.guile/scm-type.c: New file.
23071 * gdb.guile/scm-type.exp: New file.
23072 * gdb.guile/scm-value-cc.cc: New file.
23073 * gdb.guile/scm-value-cc.exp: New file.
23074 * gdb.guile/scm-value.c: New file.
23075 * gdb.guile/scm-value.exp: New file.
23076 * gdb.guile/source2.scm: New file.
23077 * gdb.guile/types-module.cc: New file.
23078 * gdb.guile/types-module.exp: New file.
23079
7026a7c1
YQ
230802014-02-10 Yao Qi <yao@codesourcery.com>
23081
23082 PR testsuite/16543
23083 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23084 * configure: Regenerated.
23085 * Makefile.in: New file.
23086
6c466447
AS
230872014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23088
23089 * gdb.python/py-framefilter.exp: Fix typo.
23090
6e854735
YQ
230912014-02-08 Yao Qi <yao@codesourcery.com>
23092
23093 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23094 that no =breakpoint-modified is emitted when breakpoints are
23095 modified through MI commands.
23096
d137e6dc
PA
230972014-02-07 Pedro Alves <pedro@codesourcery.com>
23098 Pedro Alves <palves@redhat.com>
23099
23100 * gdb.threads/step-after-sr-lock.c: New file.
23101 * gdb.threads/step-after-sr-lock.exp: New file.
23102
b5ee5a50
PA
231032014-02-07 Pedro Alves <palves@redhat.com>
23104
23105 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23106
3c77faf3
JK
231072014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23108
23109 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23110 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23111
6dddc817
DE
231122014-02-06 Doug Evans <xdje42@gmail.com>
23113
23114 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23115 output.
23116
23117 * gdb.gdb/python-interrupts.exp: New file.
23118
de7b2893
YQ
231192014-02-05 Yao Qi <yao@codesourcery.com>
23120
23121 * gdb.trace/report.exp (use_collected_data): Test the output
23122 of "info threads" and "info inferiors".
23123
66d032ac
YQ
231242014-02-05 Yao Qi <yao@codesourcery.com>
23125
23126 Revert this patch:
23127
23128 2013-05-24 Yao Qi <yao@codesourcery.com>
23129
23130 * gdb.trace/tfile.exp: Test inferior and thread.
23131
591a12a1
UW
231322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23133
23134 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23135 on a function.
23136 * gdb.base/step-bt.c: Call hello via function pointer to make
23137 sure its first instruction is executed on powerpc64le-linux.
23138
0ff3e01f
UW
231392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23140
23141 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23142
084ee545
UW
231432014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23144
23145 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23146 of the test patterns for use on little-endian systems.
23147
6ed14ff3
UW
231482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23149
23150 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23151 (decimal_vector): Fix for little-endian.
23152
401e27fd
JM
231532014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23154
23155 * gdb.arch/sparc-sysstep.exp: New file.
23156 * gdb.arch/sparc-sysstep.c: Likewise.
23157
23158 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23159
8b924729
EBM
231602014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23161
23162 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23163
fb151210
JB
231642014-01-23 Tom Tromey <tromey@redhat.com>
23165
23166 * gdb.ada/array_char_idx: New testcase.
23167
0740f8d8
TT
231682014-01-23 Tom Tromey <tromey@redhat.com>
23169
23170 PR python/16487:
23171 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23172 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23173 classes.
23174
21909fa1
TT
231752014-01-23 Tom Tromey <tromey@redhat.com>
23176
23177 PR python/16491:
23178 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23179 string from an inferior frame.
23180 * gdb.python/py-framefilter-mi.exp: Update.
23181
87ce2a04
DE
231822014-01-22 Doug Evans <dje@google.com>
23183
23184 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23185
237b092b
AA
231862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23187
23188 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23189
d674a709
AA
231902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23191
23192 * gdb.trace/entry-values.exp: Remove excess space character from
23193 regex patterns. Handle s390 call instruction.
23194
20fa3390
AA
231952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23196
23197 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23198 define "*_start" label. Make "name" static.
23199 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23200 ${name} by references to ${name}_start.
23201
78466714
AA
232022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23203
23204 * gdb.base/info-macros.exp: Remove "debug" from the compile
23205 options.
23206
ec9f644a
IB
232072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23208
23209 * gdb.dlang/demangle.exp: New file.
23210
94b1b47e
IB
232112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23212
23213 * gdb.dlang/primitive-types.exp: New file.
23214
7f420862
IB
232152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23216
23217 * configure.ac: Create gdb.dlang/Makefile.
23218 * configure: Regenerate.
23219 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23220 * gdb.dlang/Makefile.in: New file.
23221 * lib/d-support.exp: New file.
23222 * lib/gdb.exp (skip_d_tests): New proc.
23223
52834460
MM
232242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23225
23226 * gdb.btrace/delta.exp: Check reverse stepi.
23227 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23228 * gdb.btrace/finish.exp: New.
23229 * gdb.btrace/next.exp: New.
23230 * gdb.btrace/nexti.exp: New.
23231 * gdb.btrace/record_goto.c: Add comments.
23232 * gdb.btrace/step.exp: New.
23233 * gdb.btrace/stepi.exp: New.
23234 * gdb.btrace/multi-thread-step.c: New.
23235 * gdb.btrace/multi-thread-step.exp: New.
23236 * gdb.btrace/rn-dl-bind.c: New.
23237 * gdb.btrace/rn-dl-bind.exp: New.
23238 * gdb.btrace/data.c: New.
23239 * gdb.btrace/data.exp: New.
23240 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23241
6e07b1d2
MM
232422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23243
23244 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23245 * gdb.btrace/exception.exp: Update.
23246 * gdb.btrace/instruction_history.exp: Update.
23247 * gdb.btrace/record_goto.exp: Update.
23248 * gdb.btrace/tailcall.exp: Update.
23249 * gdb.btrace/unknown_functions.exp: Update.
23250 * gdb.btrace/delta.exp: New.
23251
0b722aec
MM
232522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23253
23254 * gdb.btrace/record_goto.exp: Add backtrace test.
23255 * gdb.btrace/tailcall.exp: Add backtrace test.
23256
066ce621
MM
232572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23258
23259 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23260 * gdb.btrace/record_goto.c: New.
23261 * gdb.btrace/record_goto.exp: New.
23262 * gdb.btrace/x86-record_goto.S: New.
23263
0688d04e
MM
232642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23265
23266 * gdb.btrace/function_call_history.exp: Update tests.
23267 * gdb.btrace/instruction_history.exp: Update tests.
23268
8710b709
MM
232692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23270
23271 * gdb.btrace/function_call_history.exp: Fix expected field
23272 order for "record function-call-history".
23273 Add new tests for "record function-call-history /c".
23274 * gdb.btrace/exception.cc: New.
23275 * gdb.btrace/exception.exp: New.
23276 * gdb.btrace/tailcall.exp: New.
23277 * gdb.btrace/x86-tailcall.S: New.
23278 * gdb.btrace/x86-tailcall.c: New.
23279 * gdb.btrace/unknown_functions.c: New.
23280 * gdb.btrace/unknown_functions.exp: New.
23281 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23282
5de9129b
MM
232832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23284
23285 * gdb.btrace/instruction_history.exp: Update.
23286 * gdb.btrace/function_call_history.exp: Update.
23287
23a7fe75
MM
232882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23289
23290 * gdb.btrace/function_call_history.exp: Fix expected function
23291 trace.
23292 * gdb.btrace/instruction_history.exp: Initialize traced.
23293 Remove traced_functions.
23294
724c7dd8
MM
232952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23296
23297 * gdb.btrace/function_call_history.exp: Update
23298 * gdb.btrace/instruction_history.exp: Update.
23299
6d78d93b
MM
233002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23301
23302 * gdb.btrace/enable.exp: Update expected text.
23303
93a360cc
OJ
233042014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23305
23306 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23307 bytes.
23308
3772b53f
MR
233092014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23310
23311 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23312
596662fa
OJ
233132014-01-15 Omair Javaid <omair.javaid@linaro.org>
23314
23315 * lib/gdb.exp (supports_process_record): Return true for
23316 arm*-linux*. (supports_reverse): Likewise.
23317
b5b08fb4
SC
233182014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23319
23320 PR python/15464
23321 PR python/16113
23322 * gdb.python/py-type.c: Enhance test case.
23323 * gdb.python/py-value-cc.cc: Likewise
23324 * gdb.python/py-type.exp: Add new tests.
23325 * gdb.python/py-value-cc.exp: Likewise
23326
52d7fb13
AA
233272014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23328 Pedro Alves <palves@redhat.com>
23329
23330 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23331 Make "name" extern.
23332 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23333 references to ${name}_start by references to ${name}.
23334
a2cd8cfe
JB
233352014-01-10 Joel Brobecker <brobecker@adacore.com>
23336
23337 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23338
4e23fced
JB
233392014-01-10 Joel Brobecker <brobecker@adacore.com>
23340
23341 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23342
c6a9e42c
PA
233432014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23344 Pedro Alves <palves@redhat.com>
23345
23346 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23347 mi_gdb_target_load.
c6a9e42c 23348
b7ea362b
PA
233492014-01-08 Pedro Alves <palves@redhat.com>
23350
23351 * gdb.threads/reconnect-signal.c: New file.
23352 * gdb.threads/reconnect-signal.exp: New file.
23353
5e3f4fab
EBM
233542014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23355
23356 * gdb.base/source-dir.exp: New file.
23357
79301218
JB
233582014-01-07 Joel Brobecker <brobecker@adacore.com>
23359
23360 * gdb.ada/mi_interface: New testcase.
23361
8e355c5d
JB
233622014-01-07 Joel Brobecker <brobecker@adacore.com>
23363
23364 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23365 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23366 gdb.ada/pp-rec-component/pck.ads: New files.
23367
c0d48811
JB
233682014-01-07 Joel Brobecker <brobecker@adacore.com>
23369
23370 * gdb.python/py-pp-integral.c: New file.
23371 * gdb.python/py-pp-integral.py: New file.
23372 * gdb.python/py-pp-integral.exp: New file.
23373
17b609c3 23374For older changes see ChangeLog-1993-2013.
c906108c 23375\f
8d8cb839
EZ
23376;; Local Variables:
23377;; mode: change-log
23378;; left-margin: 8
23379;; fill-column: 74
23380;; version-control: never
23381;; End:
902f2ccb 23382
3666a048 23383 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23384 Copying and distribution of this file, with or without modification,
23385 are permitted provided the copyright notice and this notice are preserved.