]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c0e56745
TV
12021-02-06 Tom de Vries <tdevries@suse.de>
2
3 PR testsuite/26922
4 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
5 scrolling.
6
0e857c82
TV
72021-02-05 Tom de Vries <tdevries@suse.de>
8
9 PR breakpoints/27313
10 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
11 rejected.
12
a22ec6e8
TV
132021-02-05 Tom de Vries <tdevries@suse.de>
14
15 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
16 * gdb.fortran/mixed-lang-stack.exp: Same.
17
ae710496
TV
182021-02-05 Tom de Vries <tdevries@suse.de>
19
20 PR exp/27265
21 * gdb.base/complex-parts.exp: Add tests.
22
d3b54e63
TV
232021-02-05 Tom de Vries <tdevries@suse.de>
24
25 PR symtab/27307
26 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
27
3eccb1c8
SV
282021-02-04 Shahab Vahedi <shahab@synopsys.com>
29
30 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
31
a71501e2
PA
322021-02-03 Pedro Alves <pedro@palves.net>
33
34 * gdb.threads/detach-step-over.c: New file.
35 * gdb.threads/detach-step-over.exp: New file.
36
92234eb1
PA
372021-02-03 Pedro Alves <pedro@palves.net>
38
39 * gdb.threads/attach-non-stop.c: New file.
40 * gdb.threads/attach-non-stop.exp: New file.
41
2e3773ff
LS
422021-02-02 Lancelot SIX <lsix@lancelotsix.com>
43
44 * gdb.base/inferior-noarg.c: New test.
45 * gdb.base/inferior-noarg.exp: New test.
46
e0bd9202
SM
472021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
48
49 * gdb.base/scope.exp: Use proc_with_prefix.
50
9307efbe
SM
512021-02-02 Simon Marchi <simon.marchi@efficios.com>
52
53 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
54 table proc.
55 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
56 .debug_rnglists table without offset array.
57 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
58 .debug_loclists table without offset array.
59
2b0c7f41
SM
602021-02-02 Simon Marchi <simon.marchi@efficios.com>
61
62 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
63 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
64 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
65 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
66 attribute
67
ecfda20d
SM
682021-02-02 Simon Marchi <simon.marchi@efficios.com>
69
70 PR gdb/26813
71 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
72 (loclists): New proc.
73 * gdb.dwarf2/loclists-multiple-cus.c: New.
74 * gdb.dwarf2/loclists-multiple-cus.exp: New.
75 * gdb.dwarf2/loclists-sec-offset.c: New.
76 * gdb.dwarf2/loclists-sec-offset.exp: New.
77
6b0933da
SM
782021-02-02 Simon Marchi <simon.marchi@efficios.com>
79
80 * lib/dwarf.exp (_location): Add parameters.
81 (_handle_DW_FORM): Adjust.
82
962effa7
SM
832021-02-02 Simon Marchi <simon.marchi@efficios.com>
84
85 PR gdb/26813
86 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
87 (cu): Generate header for DWARF 5.
88 (rnglists): New proc.
89 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
90 * gdb.dwarf2/rnglists-sec-offset.exp: New.
91
2bd3e4b8
TV
922021-02-02 Tom de Vries <tdevries@suse.de>
93
94 PR symtab/24620
95 * gdb.dwarf2/fission-reread.exp: Add test-case.
96
c39c8637
TV
972021-02-01 Tom de Vries <tdevries@suse.de>
98
99 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
100 * gdb.dwarf2/fission-loclists-pie.S: Same.
101 * gdb.dwarf2/fission-loclists.S: Same.
102 * gdb.dwarf2/fission-multi-cu.S: Same.
103 * gdb.dwarf2/fission-reread.S: Same.
104 * gdb.dwarf2/fission-base.exp: Use DWO.
105 * gdb.dwarf2/fission-loclists-pie.exp: Same.
106 * gdb.dwarf2/fission-loclists.exp: Same.
107 * gdb.dwarf2/fission-multi-cu.exp: Same.
108 * gdb.dwarf2/fission-reread.exp: Same.
109
ebde6f2d
TV
1102021-01-29 Tom de Vries <tdevries@suse.de>
111
112 PR breakpoints/26063
113 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
114 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
115
620ec3ca
TV
1162021-01-29 Tom de Vries <tdevries@suse.de>
117
118 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
119
cdeba395
TV
1202021-01-28 Tom de Vries <tdevries@suse.de>
121
122 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
123 in the backtrace, and use that in the rest of the test instead of
124 hardcoded constant 3. Use "frame" instead of "up" for robustness.
125
c47b145e
TV
1262021-01-28 Tom de Vries <tdevries@suse.de>
127
128 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
129 * gdb.arch/i386-sse-stack-align.c: Same.
130 * gdb.arch/i386-sse-stack-align.exp: Same.
131
47918cca
AB
1322021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
133
134 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
135
2f985dd1
TV
1362021-01-28 Tom de Vries <tdevries@suse.de>
137
138 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
139
22efa3d3
TV
1402021-01-28 Tom de Vries <tdevries@suse.de>
141
142 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
143 "maint info line-table". Make PASS pattern more specific. Make
144 FAIL pattern work for -m32.
145
59b59f08
LS
1462021-01-27 Lancelot SIX <lsix@lancelotsix.com>
147
148 PR gdb/27133
149 * gdb.base/ui-redirect.exp: Add test case that ensures that
150 redirecting both logging and debug does not cause gdb to crash.
151
152
807f647c
MM
1532021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
154
155 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
156
4ca40594
TV
1572021-01-26 Tom de Vries <tdevries@suse.de>
158
159 * gdb.threads/killed-outside.exp: Allow regular output.
160
d0021af3
TV
1612021-01-26 Tom de Vries <tdevries@suse.de>
162
163 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
164
9f6c202e
TV
1652021-01-25 Tom de Vries <tdevries@suse.de>
166
167 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
168 * lib/gdb.exp: Use gdb_load_no_complaints.
169
a625a8c9
TT
1702021-01-25 Tom Tromey <tromey@adacore.com>
171
172 * gdb.ada/fixed_points.exp: Add regression test.
173 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
174 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
175
19184910
TT
1762021-01-25 Tom Tromey <tromey@adacore.com>
177
178 * gdb.ada/local-enum.exp: Add enumerator resolution test.
179
acd6125f
TT
1802021-01-25 Tom Tromey <tromey@adacore.com>
181
182 * gdb.ada/local-enum.exp: New file.
183 * gdb.ada/local-enum/local.adb: New file.
184
1af4c9c4
TT
1852021-01-23 Tom Tromey <tom@tromey.com>
186
187 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
188
705646c0
BE
1892021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
190
191 * gdb.base/line65535.exp: Fix test expectation.
192
0ac85db5
SM
1932021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
194
195 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
196 suppression.
197 (default_gdb_exit): Likewise.
198 (default_gdb_spawn): Likewise.
199 (send_gdb): Likewise.
200 (gdb_expect): Likewise.
201 (gdb_expect_list): Likewise.
202 (default_gdb_init): Likewise.
203 (gdb_suppress_entire_file): Remove.
204 (gdb_suppress_tests): Remove.
205 (gdb_stop_suppressing_tests): Remove.
206 (gdb_clear_suppressed): Remove.
207 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
208 related to test suppression.
209 (default_mi_gdb_start): Likewise.
210 (mi_gdb_reinitialize_dir): Likewise.
211 (mi_gdb_test): Likewise.
212 (mi_run_cmd_full): Likewise.
213 (mi_runto_helper): Likewise.
214 (mi_execute_to): Likewise.
215 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
216 * gdb.base/bitfields.exp: Likewise.
217 * gdb.base/bitfields2.exp: Likewise.
218 * gdb.base/break.exp: Likewise.
219 * gdb.base/call-sc.exp: Likewise.
220 * gdb.base/callfuncs.exp: Likewise.
221 * gdb.base/dfp-test.exp: Likewise.
222 * gdb.base/endian.exp: Likewise.
223 * gdb.base/exprs.exp: Likewise.
224 * gdb.base/funcargs.exp: Likewise.
225 * gdb.base/hbreak2.exp: Likewise.
226 * gdb.base/recurse.exp: Likewise.
227 * gdb.base/scope.exp: Likewise.
228 * gdb.base/sepdebug.exp: Likewise.
229 * gdb.base/structs.exp: Likewise.
230 * gdb.base/until.exp: Likewise.
231 * gdb.cp/misc.exp: Likewise.
232
9d2d8a16
AB
2332021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 PR cli/25956
236 * gdb.base/style.exp (run_style_tests): Add version string test.
237 (test_startup_version_string): Use version style name.
238 * lib/gdb-utils.exp (style): Handle version style name.
239
e7b43072
AB
2402021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.base/style.exp (limited_style): New proc.
243 (clean_restart_and_disable): New proc.
244 (run_style_tests): New proc. Most of the old tests from this file
245 are now in this proc.
246 (test_startup_version_string): New proc. Reamining test from the
247 old file is in this proc.
248
2189c312
SM
2492021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
250
251 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
252 Adjust to "set debug remote" changes.
253
cd211c75
LM
2542021-01-21 Luis Machado <luis.machado@linaro.org>
255
256 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
257 message.
258
730af663
SM
2592021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
260
261 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
262
325d39e4
HD
2632021-01-21 Hannes Domani <ssbssa@yahoo.de>
264
265 PR python/19151
266 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
267
c3e96aa7
SM
2682021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
269
270 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
271
6571ffc6
SM
2722021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
273
274 * lib/tuiterm.exp: Add links in comments.
275
7c794afd
TV
2762021-01-20 Tom de Vries <tdevries@suse.de>
277
278 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
279 offset.
280
1402665c
TV
2812021-01-20 Tom de Vries <tdevries@suse.de>
282
283 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
284
6f52fdf4
SDJ
2852021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
286
287 * gdb.arch/amd64-stap-expressions.S: New file.
288 * gdb.arch/amd64-stap-expressions.exp: New file.
289
14852123
TV
2902021-01-19 Tom de Vries <tdevries@suse.de>
291
292 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
293 sequence.
294
0c4e2c6c
TV
2952021-01-19 Tom de Vries <tdevries@suse.de>
296
297 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
298
02baa133
AB
2992021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.fortran/array-slices.exp (run_test): Avoid including
302 addresses in test names.
303
10f92414
TV
3042021-01-15 Tom de Vries <tdevries@suse.de>
305
306 PR testsuite/26997
307 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
308 when adding sizeof.
309
116d0cf1
TV
3102021-01-14 Tom de Vries <tdevries@suse.de>
311
312 PR testsuite/24590
313 * gdb.base/style.exp: Handle shorter argv in frame command output.
314
8f66807b
AB
3152021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 PR gdb/26819
318 * gdb.server/stop-reply-no-thread-multi.c: New file.
319 * gdb.server/stop-reply-no-thread-multi.exp: New file.
320
3f94e588
TV
3212021-01-12 Tom de Vries <tdevries@suse.de>
322
323 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
324 (main): Remove call to have_mpx.
325 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
326 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
327 (main): Remote call to have_mpx.
328 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
329 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
330 (main): Remove call to have_mpx.
331 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
332 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
333 (main): Remove call to have_mpx.
334 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
335 * gdb.arch/i386-mpx.c (have_mpx): Remove.
336 (main): Remote call to have_mpx.
337 * gdb.arch/i386-mpx.exp: Use have_mpx.
338 * lib/gdb.exp (have_mpx): New proc.
339
5291fe3c
SP
3402021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
341
342 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
343
18bfb505
TV
3442021-01-12 Tom de Vries <tdevries@suse.de>
345
346 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
347
ce38f5ed
AB
3482021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
349
350 * gdb.fortran/debug-expr.exp: Add new tests.
351
7c654b71
AB
3522021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * gdb.fortran/dot-ops.exp: Add new tests.
355
10dadadc
TV
3562021-01-11 Tom de Vries <tdevries@suse.de>
357
358 PR testsuite/26968
359 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
360 Move insn setting $eax to before probe point.
361
66beed02
TT
3622021-01-09 Tom Tromey <tom@tromey.com>
363
364 * gdb.trace/ax.exp: Do not require an "ext".
365
8fc48b79
TT
3662021-01-08 Tom Tromey <tromey@adacore.com>
367
368 * gdb.ada/voidctx/pck.adb: New file.
369 * gdb.ada/voidctx/pck.ads: New file.
370 * gdb.ada/voidctx/voidctx.adb: New file.
371 * gdb.ada/voidctx.exp: New file.
372
6abd4cf2
SM
3732021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
374
375 PR gdb/27157
376 * gdb.base/empty-host-env-vars.exp: New test.
377
d00f0868
AB
3782021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
379
380 * gdb.base/completion.exp: Add a new test.
381
3c8c6de2
AB
3822021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
383
384 * gdb.fortran/intvar-dynamic-types.exp: New file.
385 * gdb.fortran/intvar-dynamic-types.f90: New file.
386
e3436813
AB
3872021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
388
389 * gdb.fortran/intvar-array.exp: New file.
390 * gdb.fortran/intvar-array.f90: New file.
391
d4813f10
TT
3922021-01-07 Tom Tromey <tromey@adacore.com>
393
394 * gdb.ada/assign_arr.exp: Add 'others' test.
395
b49180ac
TT
3962021-01-06 Tom Tromey <tromey@adacore.com>
397
398 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
399 (FP4_Type): New type.
400 (FP4_Var): New variable.
401 * gdb.ada/fixed_points/fixed_points.adb: Update.
402 * gdb.ada/fixed_points.exp: Add tests for binary operators.
403
3c55062c
SM
4042021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
405
406 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
407 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
408 Pass prompt containing debug print to gdb_test_sequence.
409
e4ad960a
TV
4102021-01-04 Tom de Vries <tdevries@suse.de>
411
412 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
413
3ec3145c
SM
4142021-01-04 Simon Marchi <simon.marchi@efficios.com>
415
416
417
8dc558a0
SM
4182021-01-04 Simon Marchi <simon.marchi@efficios.com>
419
420 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
421 * gdb.server/connect-without-multi-process.exp: Likewise.
422 * gdb.server/exit-multiple-threads.exp: Likewise.
423 * gdb.server/ext-attach.exp: Likewise.
424 * gdb.server/ext-restart.exp: Likewise.
425 * gdb.server/ext-run.exp: Likewise.
426 * gdb.server/ext-wrapper.exp: Likewise.
427 * gdb.server/multi-ui-errors.exp: Likewise.
428 * gdb.server/no-thread-db.exp: Likewise.
429 * gdb.server/reconnect-ctrl-c.exp: Likewise.
430 * gdb.server/run-without-local-binary.exp: Likewise.
431 * gdb.server/server-kill.exp: Likewise.
432 * gdb.server/server-run.exp: Likewise.
433 * gdb.server/solib-list.exp: Likewise.
434 * gdb.server/stop-reply-no-thread.exp: Likewise.
435 * gdb.server/wrapper.exp: Likewise.
436 * gdb.server/sysroot.exp: Increase timeout when testing the
437 target: sysroot.
438
d8387cc8
SM
4392021-01-04 Simon Marchi <simon.marchi@efficios.com>
440
441 * gdb.server/server-run.exp: Use clean_restart.
442
5169ae34
SM
4432021-01-04 Simon Marchi <simon.marchi@efficios.com>
444
445 * gdb.server/ext-run.exp: Use clean_restart.
446
7b0ff8a2
SM
4472021-01-04 Simon Marchi <simon.marchi@efficios.com>
448
449 * gdb.server/stop-reply-no-thread.exp: Use build_executable
450 instead of prepare_for_testing.
451
a754fbdf
SM
4522021-01-04 Simon Marchi <simon.marchi@efficios.com>
453
454 * gdb.server/solib-list.exp: Use clean_restart.
455
c5e71b33
TV
4562021-01-04 Tom de Vries <tdevries@suse.de>
457
458 * gdb.base/morestack.c: Remove printf.
459 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
460
9b243007
TT
4612020-12-31 Tom Tromey <tom@tromey.com>
462
463 * gdb.rust/simple.exp: Update output for Rust 1.49.
464
4ff509e7
BE
4652020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
466
467 * gdb.cp/step-and-next-inline.exp: Fix test case.
468
391750c3
SM
4692020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
470
471 * gdb.python/py-frame-args.exp: De-duplicate test names.
472
b7874836
AB
4732020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
474
475 PR gdb/27059
476 * gdb.dwarf2/dyn-type-unallocated.c: New file.
477 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
478
e1ff6226
PW
4792020-12-21 Peter Waller <p@pwaller.net>
480
481 * gdb.base/style-interp-exec-mi.exp: New.
482 * gdb.base/style-interp-exec-mi.c: New.
483
ca01f1bf
SM
4842020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
485
486 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
487 gdb_test. Use proc_with_prefix.
488
0fe69a94
MM
4892020-12-21 Markus Metzger <markus.t.metzger@intel.com>
490
491 * gdb.btrace/exception.exp: Build with nopie.
492 * gdb.btrace/function_call_history.exp: Likewise.
493 * gdb.btrace/unknown_functions.exp: Likewise.
494
806e7575
MM
4952020-12-21 Markus Metzger <markus.t.metzger@intel.com>
496
497 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
498
493d2172
MM
4992020-12-21 Markus Metzger <markus.t.metzger@intel.com>
500
501 * gdb.python/py-record-btrace.exp: Make test names unique.
502 * gdb.python/py-record-full.exp: Likewise.
503
1a1c0afc
MM
5042020-12-21 Markus Metzger <markus.t.metzger@intel.com>
505
506 * gdb.btrace/data.exp: Make test names unique.
507 * gdb.btrace/delta.exp: Likewise.
508 * gdb.btrace/enable.exp: Likewise.
509 * gdb.btrace/function_call_history.exp: Likewise.
510 * gdb.btrace/nohist.exp: Likewise.
511 * gdb.btrace/non-stop.exp: Likewise.
512 * gdb.btrace/rn-dl-bind.exp: Likewise.
513 * gdb.btrace/step.exp: Likewise.
514 * gdb.btrace/stepi.exp: Likewise.
515 * gdb.btrace/tailcall.exp: Likewise.
516
98d837f0
MM
5172020-12-21 Markus Metzger <markus.t.metzger@intel.com>
518
519 * gdb.btrace/enable.exp: Update error message.
520 * gdb.btrace/multi-inferior.exp: Likewise.
521 * gdb.btrace/reconnect.exp: Likewise.
522 * gdb.python/py-record-btrace.exp: Likewise.
523 * gdb.python/py-record-full.exp: Likewise.
524
c541fa7c
TV
5252020-12-20 Tom de Vries <tdevries@suse.de>
526
527 * lib/gdb.exp (save_target_board_info): New proc.
528 (gdb_compile_shlib): Use save_target_board_info.
529
60108e47
TV
5302020-12-19 Tom de Vries <tdevries@suse.de>
531
532 * lib/gdb.exp (supports_scalar_storage_order_attribute)
533 (supports_gnuc): New proc.
534 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
535 test_compiler_info calls. Add unsupported message.
536 * gdb.base/endianity.c: Use TEST_SSO.
537
fa639f55
HD
5382020-12-19 Hannes Domani <ssbssa@yahoo.de>
539
540 PR exp/27070
541 * gdb.python/compare-enum-type-a.c: New test.
542 * gdb.python/compare-enum-type-b.c: New test.
543 * gdb.python/compare-enum-type.exp: New file.
544 * gdb.python/compare-enum-type.h: New test.
545
4aea001f
HD
5462020-12-18 Hannes Domani <ssbssa@yahoo.de>
547
548 * gdb.python/py-format-string.exp: Add tests for address keyword.
549
b3f9469b
HD
5502020-12-18 Hannes Domani <ssbssa@yahoo.de>
551
552 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
553
86ef42bd
TT
5542020-12-18 Tom Tromey <tromey@adacore.com>
555
556 * gdb.ada/fixed_points.exp: Also run with
557 -fgnat-encodings=minimal. Update expected output.
558
93df4a1d
SM
5592020-12-16 Simon Marchi <simon.marchi@efficios.com>
560
561 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
562 * gdb.base/continue-all-already-running.exp: Likewise.
563 * gdb.base/moribund-step.exp: Likewise.
564 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
565
592995fa
TV
5662020-12-16 Tom de Vries <tdevries@suse.de>
567
568 * gdb.base/batch-preserve-term-settings.exp:
569
1e61189d
TV
5702020-12-16 Tom de Vries <tdevries@suse.de>
571
572 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
573 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
574
19007d95
LM
5752020-12-16 Luis Machado <luis.machado@linaro.org>
576
577 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
578 pointer-based memory accesses.
579 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
580 hw watchpoint cases.
581
a33fc9ae
RK
5822020-12-15 Rae Kim <rae.kim@gmail.com>
583
584 * gdb.base/document.exp: New test.
585
0e5ad442
TT
5862020-12-15 Tom Tromey <tromey@adacore.com>
587
588 * gdb.base/style.exp: Add deprecation tests.
589
60598dbd
SM
5902020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
591
592 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
593
8cd6d968
MW
5942020-12-14 Mark Wielaard <mark@klomp.org>
595
596 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
597 specially, set attr_form_comment to the actual FORM string used.
598
eab9267c
MW
5992020-12-14 Mark Wielaard <mark@klomp.org>
600
601 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
602 _constants(SPECIAL_expr) here, but set it...
603 (Dwarf::cu): ...here based on _cu_version.
604
2f413264
TV
6052020-12-14 Tom de Vries <tdevries@suse.de>
606
607 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
608 pass -fPIC.
609 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
610 * gdb.base/break-probes.exp: Same.
611 * gdb.base/ctxobj.exp: Same.
612 * gdb.base/dso2dso.exp: Same.
613 * gdb.base/global-var-nested-by-dso.exp: Same.
614 * gdb.base/info-shared.exp: Same.
615 * gdb.base/jit-reader-simple.exp: Same.
616 * gdb.base/print-file-var.exp: Same.
617 * gdb.base/skip-solib.exp: Same.
618 * gdb.btrace/dlopen.exp: Same.
619
18f1cb1f
TV
6202020-12-14 Tom de Vries <tdevries@suse.de>
621
622 PR testsuite/26963
623 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
624
519155c9
TV
6252020-12-14 Tom de Vries <tdevries@suse.de>
626
627 PR testsuite/26962
628 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
629 cast it to its declared type".
630
153f6e6c
TV
6312020-12-14 Tom de Vries <tdevries@suse.de>
632
633 PR testsuite/26951
634 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
635 shell prompt.
636
86b44259
TT
6372020-12-14 Tom Tromey <tromey@adacore.com>
638
639 * gdb.ada/nested.exp: Add new tests.
640 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
641
e26624c6
TT
6422020-12-14 Tom Tromey <tromey@adacore.com>
643
644 * gdb.dwarf2/ada-thick-pointer.exp: New file.
645
a3bdae4e
TT
6462020-12-14 Tom Tromey <tromey@adacore.com>
647
648 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
649
862fcbd8
TV
6502020-12-13 Tom de Vries <tdevries@suse.de>
651
652 PR testsuite/26953
653 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
654 attribute support if compiler doesn't support it.
655
a406a98e
TV
6562020-12-13 Tom de Vries <tdevries@suse.de>
657
658 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
659 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
660 source to shared lib. Add ada to options.
661
5d7e6ed0
TV
6622020-12-13 Tom de Vries <tdevries@suse.de>
663
664 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
665 calling gnatbind and gnatlink.
666
ee9812a0
AB
6672020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
668
669 * gdb.base/dcache-flush.c: New file.
670 * gdb.base/dcache-flush.exp: New file.
671
50a5f187
AB
6722020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
673
674 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
675 commands.
676 * gdb.base/killed-outside.exp: Likewise.
677 * gdb.opt/inline-bt.exp: Likewise.
678 * gdb.perf/gmonster-null-lookup.py: Likewise.
679 * gdb.perf/gmonster-print-cerr.py: Likewise.
680 * gdb.perf/gmonster-ptype-string.py: Likewise.
681 * gdb.python/py-unwind.exp: Likewise.
682
19c659f1
AB
6832020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
684
685 * gdb.base/commands.exp: Update expected results.
686
9ef6d4a1
AB
6872020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 PR cli/15104
690 * gdb.base/commands.exp: Add additional tests.
691 * gdb.base/completion.exp: Add additional tests.
692
1536146f
AB
6932020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.base/completion.exp: Add additional tests.
696
346e7e19
TV
6972020-12-11 Tom de Vries <tdevries@suse.de>
698
699 PR testsuite/26991
700 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
701 violations by setting bounds registers if the bounds are passed in the
702 Bounds Table.
703
9cd7a95a
TV
7042020-12-11 Tom de Vries <tdevries@suse.de>
705
706 PR testsuite/26954
707 * gdb.base/float128.exp: Detect and handle no mpfr support.
708
4483a8e7
SM
7092020-12-10 Simon Marchi <simon.marchi@efficios.com>
710
711 PR gdb/24694
712 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
713 calls.
714
10067028
TV
7152020-12-10 Tom de Vries <tdevries@suse.de>
716
717 PR testsuite/26947
718 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
719 braces for tcl 8.5 and earlier.
720
5b56203a
SM
7212020-12-09 Simon Marchi <simon.marchi@efficios.com>
722
723 PR 26875, PR 26901
724 * gdb.base/flexible-array-member.c: New test.
725 * gdb.base/flexible-array-member.exp: New test.
726
b46551b2
TV
7272020-12-08 Tom de Vries <tdevries@suse.de>
728
729 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
730 using is_amd64_regs_target.
731
8439f446
TV
7322020-12-08 Tom de Vries <tdevries@suse.de>
733
734 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
735 self_id.
736
bc545da7
PA
7372020-12-07 Pedro Alves <pedro@palves.net>
738
739 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
740 'additional_flags' variable.
741
1f58f6c2
TBA
7422020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
743
744 * gdb.linespec/explicit.exp: Extend with a test to check completing
745 '-' after seemingly complete options.
746
5759831a
TBA
7472020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
748
749 * gdb.linespec/keywords.exp: Add tests to check positional
750 flexibility of "-force-condition".
751
21e051b3
TBA
7522020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
753
754 * gdb.base/bp-cmds-run-with-ex.c: New file.
755 * gdb.base/bp-cmds-run-with-ex.exp: New file.
756 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
757 * gdb.gdb/python-interrupts.exp: Update the call to
758 'catch_command_errors' with the new argument.
759 * gdb.gdb/python-selftest.exp: Ditto.
760
187b041e
SM
7612020-12-04 Simon Marchi <simon.marchi@efficios.com>
762
763 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
764 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
765 * gdb.threads/non-stop-fair-events.exp: Likewise.
766
3b7a962d
SM
7672020-12-04 Simon Marchi <simon.marchi@efficios.com>
768
769 * gdb.threads/step-over-exec.exp: New.
770 * gdb.threads/step-over-exec.c: New.
771 * gdb.threads/step-over-exec-execd.c: New.
772 * lib/my-syscalls.S: New.
773 * lib/my-syscalls.h: New.
774
e633b117
SM
7752020-12-04 Simon Marchi <simon.marchi@efficios.com>
776
777 * lib/dwarf.exp (declare_labels): Use name as text if text is
778 not provided.
779
67748e0f
TV
7802020-12-04 Tom de Vries <tdevries@suse.de>
781
782 PR testsuite/26990
783 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
784 are unsupported.
785
a8d13675
TV
7862020-12-04 Tom de Vries <tdevries@suse.de>
787
788 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
789 clause.
790
f17727b3
TV
7912020-12-04 Tom de Vries <tdevries@suse.de>
792
793 * gdb.reverse/insn-reverse.exp: Fix count handling.
794
a1499830
TV
7952020-12-04 Tom de Vries <tdevries@suse.de>
796
797 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
798 __x86_64__.
799
9c027c2f
TV
8002020-12-04 Tom de Vries <tdevries@suse.de>
801
802 * gdb.reverse/insn-reverse.c (test_nr): New var.
803 (usage, parse_args): New function.
804 (main): Call parse_args. Only run test for test_nr.
805 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
806 and bail out. Run subtests individually, using an inferior arg
807 specifying the subtest.
808
533b2ae0
AB
8092020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
810
811 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
812
e4502042
AB
8132020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
814
815 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
816 update test to use this.
817
f55a9a37
SM
8182020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
819
820 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
821
0a6155a0
SM
8222020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
823
824 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
825 (do_test): Don't use with_test_prefix.
826 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
827 (do_test): Don't use with_test_prefix.
828 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
829 (do_test): Don't use with_test_prefix.
830 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
831 (do_test): Don't use with_test_prefix.
832
4d56d64a
SM
8332020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
834
835 * gdb.threads/non-ldr-exit.exp: Fix comment.
836
54e75f29
AB
8372020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
838
839 * gdb.xml/maint-xml-dump-03.xml: New file.
840
7ce05d21
TV
8412020-11-30 Tom de Vries <tdevries@suse.de>
842
843 PR symtab/26905
844 * gdb.dwarf2/count.exp: Remove kfails.
845
50757f95
TBA
8462020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
847
848 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
849 indices.
850
4afa9fd9
JB
8512020-11-24 Joel Brobecker <brobecker@adacore.com>
852
853 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
854 the "ptype pck__fp1_range_var" test for the module-2 and pascal
855 languages. Remove the associated setup_xfail.
856
15a491af
SM
8572020-11-23 Simon Marchi <simon.marchi@efficios.com>
858
859 * lib/gdb.exp (gdb_assert): Show error message on error.
860
891615f0
TV
8612020-11-23 Tom de Vries <tdevries@suse.de>
862
863 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
864 * gdb.ada/mod_from_name.exp: Same.
865 * gdb.ada/pckd_arr_ren.exp: Same.
866
19922582
SM
8672020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
868
869 * gdb.base/template.exp: New.
870 * gdb.base/template.c: New.
871
117c628d
GB
8722020-11-22 Gary Benson <gbenson@redhat.com>
873
874 PR gdb/26905
875 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
876 is defined using a DW_AT_count which references another DIE.
877
da39d3ba
TV
8782020-11-21 Tom de Vries <tdevries@suse.de>
879
880 * gdb.base/vla-ptr.exp: Add XFAIL.
881
a5c641b5
AB
8822020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
883
884 * gdb.fortran/array-slices-bad.exp: New file.
885 * gdb.fortran/array-slices-bad.f90: New file.
886 * gdb.fortran/array-slices-sub-slices.exp: New file.
887 * gdb.fortran/array-slices-sub-slices.f90: New file.
888 * gdb.fortran/array-slices.exp: Rewrite tests.
889 * gdb.fortran/array-slices.f90: Rewrite tests.
890 * gdb.fortran/vla-sizeof.exp: Correct expected results.
891
a15a5258
AB
8922020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * gdb.base/completion.exp: Add new completion tests.
895
7cb2893d
SM
8962020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
897
898 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
899 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
900 * gdb.mi/mi-nsintrall.exp: Likewise.
901 * gdb.mi/mi-nsmoribund.exp: Likewise.
902 * gdb.mi/mi-nsthrexec.exp: Likewise.
903 * gdb.mi/mi-watch-nonstop.exp: Likewise.
904
cf144ec8
SM
9052020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
906
907 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
908 of perror.
909
6b6a3e05
JM
9102020-11-18 Joseph Myers <joseph@codesourcery.com>
911
912 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
913 $arg.exe exists but $arg does not.
914
811bdca0
GB
9152020-11-17 Gary Benson <gbenson@redhat.com>
916
917 * gdb.trace/trace-common.h (x86_trace_dummy): Add
918 __attribute__ ((used)).
919
c72e3136
AB
9202020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
923
037d7135
AB
9242020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 * gdb.base/completion.exp: Add new tests.
927
119e99bb
TT
9282020-11-16 Tom Tromey <tromey@adacore.com>
929
930 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
931 tests.
932
b74dbc20
JB
9332020-11-15 Joel Brobecker <brobecker@adacore.com>
934
935 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
936 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
937 (main): Add reference to pck__fp1_var2.
938 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
939
0a12719e
JB
9402020-11-15 Joel Brobecker <brobecker@adacore.com>
941
942 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
943
0c9150e4
JB
9442020-11-15 Joel Brobecker <brobecker@adacore.com>
945
946 * gdb.ada/fixed_points.exp: Add ptype tests.
947 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
948
b26daff9
JB
9492020-11-15 Joel Brobecker <brobecker@adacore.com>
950
951 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
952
09584414
JB
9532020-11-15 Joel Brobecker <brobecker@adacore.com>
954
955 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
956 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
957 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
958 New files.
959 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
960
961 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
962 New files.
963
9dd02fc0
AB
9642020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
965
966 PR cli/26879
967 * gdb.fortran/completion.exp: New file.
968 * gdb.fortran/completion.f90: New file.
969
5643c500
JM
9702020-11-12 Joseph Myers <joseph@codesourcery.com>
971
972 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
973 but $arg does not.
974
7bea47f0
AB
9752020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 * gdb.fortran/types.exp: Add more tests.
978
1f2624a3
TT
9792020-11-12 Tom Tromey <tom@tromey.com>
980
981 PR rust/26799:
982 * gdb.rust/traits.exp: Remove kfails.
983
9e74f0ae
GB
9842020-11-12 Gary Benson <gbenson@redhat.com>
985
986 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
987 statement.
988
acb994fa
SM
9892020-11-11 Simon Marchi <simon.marchi@efficios.com>
990
991 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
992 always-inserted" axis.
993 (do_test): Add breakpoint_always_inserted parameter.
994
95016fd2
TT
9952020-11-10 Tom Tromey <tromey@adacore.com>
996
997 * gdb.ada/bias.exp: Update.
998 * gdb.ada/bias/bias.adb (X): Change value.
999
83100a74
GB
10002020-11-10 Gary Benson <gbenson@redhat.com>
1001
1002 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1003 regexp fragment in parentheses to prevent false matching.
1004
6ff174a7
GB
10052020-11-10 Gary Benson <gbenson@redhat.com>
1006
1007 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1008
eb24648c
GB
10092020-11-10 Gary Benson <gbenson@redhat.com>
1010
1011 * gdb.cp/step-and-next-inline.exp: Only require
1012 -gstatement-frontiers when building with GCC.
1013 Only setup KFAIL's for GCC issues when using
1014 a GCC-built executable.
1015
86775fab
AB
10162020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1017
1018 * gdb.base/debug-expr.c: Add extra function to allow for an
1019 additional test.
1020 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1021 to this proc with gdb_test_debug_expr. Add an extra test.
1022 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1023 to this proc with gdb_test_debug_expr, give the tests names
1024 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1025 calls to this proc with gdb_test_debug_expr, give the tests names
1026 * gdb.fortran/debug-expr.exp: New file.
1027 * gdb.fortran/debug-expr.f90: New file.
1028 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1029
a1945bd4
SM
10302020-11-06 Simon Marchi <simon.marchi@efficios.com>
1031
1032 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1033 proceduresu.
1034 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1035 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1036 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1037 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1038 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1039 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1040 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1041 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1042
9c91c725
TT
10432020-11-04 Tom Tromey <tromey@adacore.com>
1044
1045 * gdb.ada/funcall_ref.exp: Update.
1046 * gdb.ada/var_rec_arr.exp: Update.
1047
8d9fd3a1
TT
10482020-11-04 Tom Tromey <tromey@adacore.com>
1049
1050 * gdb.ada/rec_ptype.exp: New file.
1051 * gdb.ada/rec_ptype/main.adb: New file.
1052 * gdb.ada/rec_ptype/p.ads: New file.
1053
d8f62e84
TT
10542020-11-04 Tom Tromey <tromey@adacore.com>
1055
1056 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1057 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1058 (PT_Full): New variable.
1059 * gdb.ada/tick_length_array_enum_idx/pck.adb
1060 (Full_PT): New type.
1061
7ff5b937
TT
10622020-11-04 Tom Tromey <tromey@adacore.com>
1063
1064 * gdb.ada/array_of_variant.exp: New file.
1065 * gdb.ada/array_of_variant/p.adb: New file.
1066 * gdb.ada/array_of_variant/pck.ads: New file.
1067 * gdb.ada/array_of_variant/pck.adb: New file.
1068
10f6a3ad
TT
10692020-11-04 Tom Tromey <tromey@adacore.com>
1070
1071 * gdb.ada/enum_idx_packed.exp: Add test.
1072 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1073 New variable.
1074 * gdb.ada/enum_idx_packed/pck.ads (Short)
1075 (Multi_Dimension, Multi_Dimension_Access): New types.
1076
b72795a8
TT
10772020-11-04 Tom Tromey <tromey@adacore.com>
1078
1079 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1080
24aa1b02
TT
10812020-11-04 Tom Tromey <tromey@adacore.com>
1082
1083 * gdb.ada/set_pckd_arr_elt.exp: Also test
1084 -fgnat-encodings=minimal. Add tests.
1085 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1086 Call Update_Small a second time.
1087 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1088 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1089 (Variant_Access): New types.
1090 (New_Variant): Declare.
1091
c9a28cbe
TT
10922020-11-04 Tom Tromey <tromey@adacore.com>
1093
1094 * gdb.ada/mod_from_name.exp: Test printing slice.
1095
57567375
TT
10962020-11-04 Tom Tromey <tromey@adacore.com>
1097
1098 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1099 values.
1100 * gdb.ada/access_to_unbounded_array.exp: Test different
1101 -fgnat-encodings values.
1102 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1103 values.
1104 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1105 values.
1106 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1107 values.
1108 * gdb.ada/array_of_variable_length.exp: Test different
1109 -fgnat-encodings values.
1110 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1111 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1112 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1113 change.
1114 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1115 values.
1116 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1117 * gdb.ada/out_of_line_in_inlined.exp: Test different
1118 -fgnat-encodings values.
1119 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1120 values.
1121 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1122 values.
1123 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1124 -fgnat-encodings values.
1125 * gdb.ada/variant_record_packed_array.exp: Test different
1126 -fgnat-encodings values.
1127
a7400e44
TT
11282020-11-04 Tom Tromey <tromey@adacore.com>
1129
1130 * gdb.ada/enum_idx_packed.exp: Add tests.
1131 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1132 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1133 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1134 declarations.
1135
c40907bf
TV
11362020-11-03 Tom de Vries <tdevries@suse.de>
1137
1138 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1139 terminator comments.
1140 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1141 terminator.
1142
f468977a
SM
11432020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1144
1145 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1146 integer format test with regexp.
1147
1c2bec19
GB
11482020-11-02 Gary Benson <gbenson@redhat.com>
1149
1150 * gdb.base/print-file-var.exp (test): Separate compiler and
1151 linker options, and build using build_executable_from_specs
1152 to accommodate this.
1153
6539a36d
GB
11542020-11-02 Gary Benson <gbenson@redhat.com>
1155
1156 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1157 for .c files compiled as C++ with Clang if any shared
1158 libraries are specified.
1159
7ea44a51
GB
11602020-11-02 Gary Benson <gbenson@redhat.com>
1161
1162 * lib/attributes.h: New header.
1163 * gdb.base/backtrace.c: Include the above. Replace
1164 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1165 * gdb.base/infcall-nested-structs.c: Likewise.
1166 * gdb.base/vla-optimized-out.c: Likewise.
1167
ab8f783d
TV
11682020-11-02 Tom de Vries <tdevries@suse.de>
1169
1170 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1171
d77c9224
JB
11722020-11-01 Joel Brobecker <brobecker@adacore.com>
1173
1174 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1175 System.Min_Int and System.Max_Int with smaller hardcoded
1176 constants.
1177
0e5b0dd0
SM
11782020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1179
1180 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1181 * configure: Re-generate.
1182
136821d9
SM
11832020-10-30 Simon Marchi <simon.marchi@efficios.com>
1184
1185 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1186 expected output.
1187
b78b3a29
TBA
11882020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1189
1190 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1191 behavior.
1192 * gdb.base/paginate-bg-execution.exp: Ditto.
1193 * gdb.base/paginate-inferior-exit.exp: Ditto.
1194 * gdb.base/double-prompt-target-event-error.c: Remove.
1195 * gdb.base/double-prompt-target-event-error.exp: Remove.
1196
cfaa8f76
TBA
11972020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1198
1199 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1200 inferiors' and 'detach inferiors' do not change the current
1201 inferior.
1202
0ad0e70c
TV
12032020-10-29 Tom de Vries <tdevries@suse.de>
1204
1205 * gdb.threads/tls.exp: Fix DUPLICATEs.
1206
99cc6b2a
TV
12072020-10-28 Tom de Vries <tdevries@suse.de>
1208
1209 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1210
efe9b873
TV
12112020-10-28 Tom de Vries <tdevries@suse.de>
1212
1213 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1214 * gdb.base/reread.exp: Same.
1215
6b68fd45
TV
12162020-10-28 Tom de Vries <tdevries@suse.de>
1217
1218 * lib/gdb.exp (readnow): Handle arg.
1219 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1220
32a5f98a
TV
12212020-10-28 Tom de Vries <tdevries@suse.de>
1222
1223 * gdb.base/relocate.exp: Update regexp for -readnow.
1224
f93b8760
TV
12252020-10-28 Tom de Vries <tdevries@suse.de>
1226
1227 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1228 -readnow.
1229
1b00ef06
TV
12302020-10-28 Tom de Vries <tdevries@suse.de>
1231
1232 PR symtab/26772
1233 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1234 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1235
364bb903
TV
12362020-10-28 Tom de Vries <tdevries@suse.de>
1237
1238 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1239 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1240 complaint during file command for -readnow.
1241
445a033f
TV
12422020-10-28 Tom de Vries <tdevries@suse.de>
1243
1244 * gdb.cp/nsalias.exp: Fix typo in test name.
1245
fdd67a42
TV
12462020-10-28 Tom de Vries <tdevries@suse.de>
1247
1248 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1249
706baf4c
TV
12502020-10-28 Tom de Vries <tdevries@suse.de>
1251
1252 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1253 -readnow.
1254
b448cca5
TV
12552020-10-27 Tom de Vries <tdevries@suse.de>
1256
1257 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1258
5868da03
TV
12592020-10-27 Tom de Vries <tdevries@suse.de>
1260
1261 * gdb.base/maint.exp: Update for -readnow.
1262
06db6ec3
TV
12632020-10-27 Tom de Vries <tdevries@suse.de>
1264
1265 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1266 -readnow.
1267
934a1764
GB
12682020-10-14 Gary Benson <gbenson@redhat.com>
1269
1270 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1271 "_vptr$Base" as correct, in addition to "_vptr.Base".
1272 (test_mixed): Likewise.
1273
0bf21fbd
GB
12742020-10-27 Gary Benson <gbenson@redhat.com>
1275
1276 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1277 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1278
b1d4d8d1
TBA
12792020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1280
1281 * gdb.base/condbreak.exp: Update the completion tests to
1282 consider the '-force' flag.
1283
bd24c5d6
TV
12842020-10-27 Tom de Vries <tdevries@suse.de>
1285
1286 * gdb.base/list-ambiguous-readnow.exp: New file.
1287
733d554a
TBA
12882020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1289
1290 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1291 the condition.
1292 * gdb.linespec/cpcompletion.exp: Update to consider the
1293 '-force-condition' keyword.
1294 * gdb.linespec/explicit.exp: Ditto.
1295 * lib/completion-support.exp: Ditto.
1296
b5fa468f
TBA
12972020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1298
1299 * gdb.base/condbreak-multi-context.cc: New file.
1300 * gdb.base/condbreak-multi-context.exp: New file.
1301
b3247276
TT
13022020-10-26 Tom Tromey <tom@tromey.com>
1303
1304 * lib/mi-support.exp (default_mi_gdb_start): Call
1305 gdb_stdin_log_init.
1306 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1307 subtract one from gdb_instances.
1308 (gdb_stdin_log_write): Flush in_file.
1309
1c47ec3e
TV
13102020-10-26 Tom de Vries <tdevries@suse.de>
1311
1312 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1313
6390859c
TT
13142020-10-26 Tom Tromey <tromey@adacore.com>
1315
1316 * gdb.ada/unsigned_range/foo.adb: New file.
1317 * gdb.ada/unsigned_range/pack.adb: New file.
1318 * gdb.ada/unsigned_range/pack.ads: New file.
1319 * gdb.ada/unsigned_range.exp: New file.
1320
55c3ad88
TV
13212020-10-26 Tom de Vries <tdevries@suse.de>
1322
1323 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1324
1612c4bb
TV
13252020-10-26 Tom de Vries <tdevries@suse.de>
1326
1327 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1328 for CU.
1329 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1330
7d72802b
TV
13312020-10-23 Tom de Vries <tdevries@suse.de>
1332
1333 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1334 DW_FORM_string.
1335 (Dwarf::_default_form): New proc.
1336 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1337 guessed.
1338
9476b583
TV
13392020-10-23 Tom de Vries <tdevries@suse.de>
1340
1341 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1342 * gdb.dwarf2/atomic-type.exp: Same.
1343 * gdb.dwarf2/bad-regnum.exp: Same.
1344 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1345 * gdb.dwarf2/dw2-align.exp: Same.
1346 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1347 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1348 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1349 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1350 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1351 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1352 * gdb.dwarf2/enum-type.exp: Same.
1353 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1354 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1355 * gdb.dwarf2/main-subprogram.exp: Same.
1356 * gdb.dwarf2/missing-type-name.exp: Same.
1357 * gdb.dwarf2/nonvar-access.exp: Same.
1358 * gdb.dwarf2/typedef-void-finish.exp: Same.
1359 * gdb.dwarf2/var-access.exp: Same.
1360 * gdb.dwarf2/void-type.exp: Same.
1361
4a636814
SM
13622020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1363
1364 PR gdb/26693
1365 * gdb.dwarf2/template-specification-full-name.exp: New test.
1366
557fc257
LM
13672020-10-22 Luis Machado <luis.machado@linaro.org>
1368
1369 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1370 expected an offset from the function.
1371 * gdb.base/msym-bp.exp (test): Likewise.
1372
6b4c676c
AB
13732020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1374
1375 * gdb.fortran/array-slices.exp: Add a new test.
1376
98cec4f6
GB
13772020-10-21 Gary Benson <gbenson@redhat.com>
1378
1379 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1380 fullname test with Clang. Also expand comments generally.
1381
ae86f581
TV
13822020-10-20 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1385
8c161360
TV
13862020-10-20 Tom de Vries <tdevries@suse.de>
1387
1388 * gdb.dwarf2/arr-stride.c: Remove.
1389 * gdb.dwarf2/arr-stride.exp: Use main.c.
1390 * gdb.dwarf2/arr-subrange.c: Remove.
1391 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1392 * gdb.dwarf2/bad-regnum.c: Remove.
1393 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1394 * gdb.dwarf2/corrupt.c: Remove.
1395 * gdb.dwarf2/corrupt.exp: Use main.c.
1396 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1397 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1398 * gdb.dwarf2/dw2-icycle.c: Remove.
1399 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1400 * gdb.dwarf2/formdata16.c: Remove.
1401 * gdb.dwarf2/formdata16.exp: Use main.c.
1402 * gdb.dwarf2/implptrconst.c: Remove.
1403 * gdb.dwarf2/implptrconst.exp: Use main.c.
1404 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1405 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1406 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1407 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1408
9c2412ec
TV
14092020-10-20 Tom de Vries <tdevries@suse.de>
1410
1411 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1412 file.
1413 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1414
0cd2ad78
TV
14152020-10-20 Tom de Vries <tdevries@suse.de>
1416
1417 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1418 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1419 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1420 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1421 * gdb.dwarf2/dw2-ranges.exp: Same.
1422 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1423 * gdb.dwarf2/var-access.exp: Same.
1424
22cc388e
TT
14252020-10-19 Tom Tromey <tromey@adacore.com>
1426
1427 PR tui/26719
1428 * gdb.tui/list.exp: Check source window contents after focus
1429 change.
1430
520596f2
TV
14312020-10-17 Tom de Vries <tdevries@suse.de>
1432
1433 PR symtab/26317
1434 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1435
d1c8a76d
TV
14362020-10-17 Tom de Vries <tdevries@suse.de>
1437
1438 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1439 as suffix.
1440 * gdb.dwarf2/atomic.c: Rename to ...
1441 * gdb.dwarf2/atomic-type.c: ... this.
1442 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1443 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1444 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1445 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1446 * gdb.dwarf2/fission-mix2.c: Rename to ...
1447 * gdb.dwarf2/fission-mix-2.c: ... this.
1448 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1449 standard_testfile.
1450 * gdb.dwarf2/ada-valprint-error.exp: Same.
1451 * gdb.dwarf2/arr-stride.exp: Same.
1452 * gdb.dwarf2/arr-subrange.exp: Same.
1453 * gdb.dwarf2/atomic-type.exp: Same.
1454 * gdb.dwarf2/bad-regnum.exp: Same.
1455 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1456 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1457 * gdb.dwarf2/clang-debug-names.exp: Same.
1458 * gdb.dwarf2/comp-unit-lang.exp: Same.
1459 * gdb.dwarf2/corrupt.exp: Same.
1460 * gdb.dwarf2/count.exp: Same.
1461 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1462 * gdb.dwarf2/data-loc.exp: Same.
1463 * gdb.dwarf2/dw2-align.exp: Same.
1464 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1465 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1466 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1467 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1468 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1469 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1470 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1471 * gdb.dwarf2/dw2-inline-param.exp: Same.
1472 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1473 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1474 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1475 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1476 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1477 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1478 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1479 * gdb.dwarf2/dw2-param-error.exp: Same.
1480 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1481 * gdb.dwarf2/dw2-ranges.exp: Same.
1482 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1483 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1484 * gdb.dwarf2/dw4-sig-types.exp: Same.
1485 * gdb.dwarf2/dynarr-ptr.exp: Same.
1486 * gdb.dwarf2/enum-type.exp: Same.
1487 * gdb.dwarf2/fission-mix.exp: Same.
1488 * gdb.dwarf2/formdata16.exp: Same.
1489 * gdb.dwarf2/implptrconst.exp: Same.
1490 * gdb.dwarf2/implptrpiece.exp: Same.
1491 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1492 * gdb.dwarf2/main-subprogram.exp: Same.
1493 * gdb.dwarf2/method-ptr.exp: Same.
1494 * gdb.dwarf2/missing-sig-type.exp: Same.
1495 * gdb.dwarf2/nonvar-access.exp: Same.
1496 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1497 * gdb.dwarf2/shortpiece.exp: Same.
1498 * gdb.dwarf2/staticvirtual.exp: Same.
1499 * gdb.dwarf2/subrange.exp: Same.
1500 * gdb.dwarf2/symtab-producer.exp: Same.
1501 * gdb.dwarf2/typedef-void-finish.exp: Same.
1502 * gdb.dwarf2/var-access.exp: Same.
1503 * gdb.dwarf2/variant.exp: Same.
1504 * gdb.dwarf2/void-type.exp: Same.
1505 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1506 dw2-ranges-main.c.
1507 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1508
472d09c1
TV
15092020-10-16 Tom de Vries <tdevries@suse.de>
1510
1511 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1512
afe75f6d
TV
15132020-10-16 Tom de Vries <tdevries@suse.de>
1514
1515 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1516
8c8bd0ba
TV
15172020-10-14 Tom de Vries <tdevries@suse.de>
1518
1519 PR testsuite/26732
1520 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1521 scenario 2.
1522 * gdb.ada/mi_catch_ex_hand.exp: Same.
1523
b75d55d4
PA
15242020-10-13 Pedro Alves <pedro@palves.net>
1525
1526 * lib/mi-support.exp (mi_clean_restart): New.
1527 (mi_run_to_main): Delete.
1528 All callers adjust to use mi_clean_restart / mi_runto_main.
1529
e777225b
PA
15302020-10-13 Pedro Alves <pedro@palves.net>
1531
1532 * config/monitor.exp: Use "list -q".
1533 * gdb.arch/gdb1558.exp: Use "break -q".
1534 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1535 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1536 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1537 * gdb.base/commands.exp: Use "break -q".
1538 * gdb.base/condbreak.exp: Use "break -q".
1539 * gdb.base/ctf-ptype.exp: Use "list -q".
1540 * gdb.base/define.exp: Use "break -q".
1541 * gdb.base/del.exp: Use "break -q".
1542 * gdb.base/fullname.exp: Use "break -q".
1543 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1544 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1545 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1546 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1547 "hbreak -q".
1548 * gdb.base/included.exp: Use "list -q".
1549 * gdb.base/label.exp: Use "break -q".
1550 * gdb.base/lineinc.exp: Use "break -q".
1551 * gdb.base/list.exp: Use "list -q".
1552 * gdb.base/macscp.exp: Use "list -q".
1553 * gdb.base/pending.exp: Use "break -q".
1554 * gdb.base/prologue-include.exp: Use "break -q".
1555 * gdb.base/ptype.exp: Use "list -q".
1556 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1557 * gdb.base/server-del-break.exp: Use "break -q".
1558 * gdb.base/style.exp: Use "break -q".
1559 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1560 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1561 * gdb.cp/exception.exp: Use "tbreak -q".
1562 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1563 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1564 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1565 * gdb.dwarf2/pr13961.exp: Use "break -q".
1566 * gdb.linespec/explicit.exp: Use "list -q".
1567 * gdb.linespec/linespec.exp: Use "break -q".
1568 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1569 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1570 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1571 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1572 * gdb.trace/change-loc.exp: Use "break -q".
1573 * gdb.trace/pending.exp: Use "break -q".
1574 * gdb.tui/basic.exp: Use "list -q".
1575 * gdb.tui/list-before.exp: Use "list -q".
1576 * gdb.tui/list.exp: Use "list -q".
1577 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1578
8abd8ee8
PA
15792020-10-13 Pedro Alves <pedro@palves.net>
1580
1581 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1582 saved breakpoints file.
1583 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1584 inspecting breakpoint list.
1585 * lib/gdb.exp (runto_main): Add "qualified" to options.
1586 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1587 and handle it.
1588 (mi_runto_main): Pass 1 as qualified argument.
1589
f71e6719
PA
15902020-10-13 Pedro Alves <pedro@palves.net>
1591
1592 * lib/mi-support.exp (mi_runto_main): New proc.
1593 (mi_run_to_main): Use it.
1594 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1595 * gdb.mi/mi-var-cmd.exp: Likewise.
1596 * gdb.mi/mi-var-invalidate.exp: Likewise.
1597 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1598 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1599 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1600 * gdb.mi/user-selected-context-sync.exp: Likewise.
1601 * gdb.opt/inline-cmds.exp: Likewise.
1602 * gdb.python/py-framefilter-mi.exp: Likewise.
1603 * gdb.python/py-mi.exp: Likewise.
1604
50441f0f
PA
16052020-10-13 Pedro Alves <pedro@palves.net>
1606
1607 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1608 "runto main".
1609 * gdb.ada/small_reg_param.exp: Likewise.
1610 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1611 * gdb.base/annota1.exp: Likewise.
1612 * gdb.base/anon.exp: Likewise.
1613 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1614 * gdb.base/dprintf-non-stop.exp: Likewise.
1615 * gdb.base/dprintf.exp: Likewise.
1616 * gdb.base/gdb11530.exp: Likewise.
1617 * gdb.base/gdb11531.exp: Likewise.
1618 * gdb.base/gnu_vector.exp: Likewise.
1619 * gdb.base/interrupt-noterm.exp: Likewise.
1620 * gdb.base/memattr.exp: Likewise.
1621 * gdb.base/step-over-syscall.exp: Likewise.
1622 * gdb.base/watch-cond-infcall.exp: Likewise.
1623 * gdb.base/watch-read.exp: Likewise.
1624 * gdb.base/watch-vfork.exp: Likewise.
1625 * gdb.base/watch_thread_num.exp: Likewise.
1626 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1627 * gdb.guile/scm-frame-inline.exp: Likewise.
1628 * gdb.linespec/explicit.exp: Likewise.
1629 * gdb.opt/inline-break.exp: Likewise.
1630 * gdb.python/py-frame-inline.exp: Likewise.
1631 * gdb.reverse/break-precsave.exp: Likewise.
1632 * gdb.reverse/break-reverse.exp: Likewise.
1633 * gdb.reverse/consecutive-precsave.exp: Likewise.
1634 * gdb.reverse/consecutive-reverse.exp: Likewise.
1635 * gdb.reverse/finish-precsave.exp: Likewise.
1636 * gdb.reverse/finish-reverse.exp: Likewise.
1637 * gdb.reverse/fstatat-reverse.exp: Likewise.
1638 * gdb.reverse/getresuid-reverse.exp: Likewise.
1639 * gdb.reverse/i386-precsave.exp: Likewise.
1640 * gdb.reverse/i386-reverse.exp: Likewise.
1641 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1642 * gdb.reverse/i387-env-reverse.exp: Likewise.
1643 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1644 * gdb.reverse/insn-reverse.exp: Likewise.
1645 * gdb.reverse/machinestate-precsave.exp: Likewise.
1646 * gdb.reverse/machinestate.exp: Likewise.
1647 * gdb.reverse/pipe-reverse.exp: Likewise.
1648 * gdb.reverse/readv-reverse.exp: Likewise.
1649 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1650 * gdb.reverse/rerun-prec.exp: Likewise.
1651 * gdb.reverse/s390-mvcle.exp: Likewise.
1652 * gdb.reverse/solib-precsave.exp: Likewise.
1653 * gdb.reverse/solib-reverse.exp: Likewise.
1654 * gdb.reverse/step-precsave.exp: Likewise.
1655 * gdb.reverse/step-reverse.exp: Likewise.
1656 * gdb.reverse/time-reverse.exp: Likewise.
1657 * gdb.reverse/until-precsave.exp: Likewise.
1658 * gdb.reverse/until-reverse.exp: Likewise.
1659 * gdb.reverse/waitpid-reverse.exp: Likewise.
1660 * gdb.reverse/watch-precsave.exp: Likewise.
1661 * gdb.reverse/watch-reverse.exp: Likewise.
1662 * gdb.threads/kill.exp: Likewise.
1663 * gdb.threads/tid-reuse.exp: Likewise.
1664
d3a07122
SM
16652020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1666
1667 PR gdb/26642
1668 * gdb.base/maint-target-async-off.c: New test.
1669 * gdb.base/maint-target-async-off.exp: New test.
1670
c65c6c42
AM
16712020-10-13 Alan Modra <amodra@gmail.com>
1672
1673 * gdb.arch/powerpc-altivec.s,
1674 * gdb.arch/powerpc-power7.s,
1675 * gdb.arch/powerpc-power8.s,
1676 * gdb.arch/powerpc-power9.s,
1677 * gdb.arch/powerpc-vsx.s,
1678 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1679 * gdb.arch/powerpc-altivec.exp,
1680 * gdb.arch/powerpc-power7.exp,
1681 * gdb.arch/powerpc-power8.exp,
1682 * gdb.arch/powerpc-power9.exp,
1683 * gdb.arch/powerpc-vsx.exp,
1684 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1685 disassembly of mfvsrd/mtvsrd.
1686
f4a0f710
AM
16872020-10-13 Alan Modra <amodra@gmail.com>
1688
1689 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1690 "target architecture" output.
1691 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1692 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1693 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1694 * gdb.arch/s390-disassembler-options.exp: Likewise.
1695
87a37e5e
PA
16962020-10-12 Pedro Alves <pedro@palves.net>
1697
1698 PR exp/26602
1699 PR c++/26550
1700 * gdb.cp/ambiguous.cc (marker1): Delete.
1701 (main): Initialize all the fields of the locals. Replace marker1
1702 call with a "set breakpoint here" marker.
1703 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1704 instead of running to marker1. Add tests printing all the
1705 variables and all the fields of the variables.
1706 (test_ambiguous): New proc, expecting the new GDB output when a
1707 field access is ambiguous. Change all "warning: X ambiguous"
1708 tests to use it.
1709
71e1b6b0
GB
17102020-10-12 Gary Benson <gbenson@redhat.com>
1711
1712 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1713 * gdb.base/msym-bp-2.c (foo): Likewise.
1714 * gdb.base/msym-lang.c (foo): Likewise.
1715 * gdb.base/msym-lang-main.c (foo): Likewise.
1716 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1717 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1718 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1719 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1720 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1721 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1722 * gdb.python/py-objfile.c (static_var): Likewise.
1723 * gdb.python/py-symbol.c (rr): Likewise.
1724 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1725 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1726
9370fd51
AB
17272020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1728
1729 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1730 output of backtrace.
1731
7c184d33
TT
17322020-10-09 Tom Tromey <tromey@adacore.com>
1733
1734 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1735 (Rec): Add field. Fix range.
1736 * gdb.ada/scalar_storage.exp: Update.
1737
3d87245c
HD
17382020-10-09 Hannes Domani <ssbssa@yahoo.de>
1739
1740 PR exp/26714
1741 * gdb.base/printcmds.exp: Add tests for void results.
1742
f5c4b229
JV
17432020-10-09 Jan Vrany <jan.vrany@labware.com>
1744
1745 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1746 is emmited for both 'set directories' and 'directory' commands.
1747
b2701685
TT
17482020-10-08 Tom Tromey <tom@tromey.com>
1749
1750 * gdb.base/style.exp: Check that "main"'s name is styled.
1751
e86efb33
TT
17522020-10-07 Tom Tromey <tromey@adacore.com>
1753
1754 * gdb.base/find.exp: Rename some tests.
1755
30897591
GB
17562020-10-06 Gary Benson <gbenson@redhat.com>
1757
1758 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1759 * gdb.base/list1.c (unused): Likewise.
1760
ced4a4c1
GB
17612020-10-06 Gary Benson <gbenson@redhat.com>
1762
1763 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1764 __attribute__ ((used)).
1765 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1766
ed3bdac4
AB
17672020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1768
1769 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1770 make use of regions throughout.
1771 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1772 not {...}.
1773 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1774
cd096ec8
HD
17752020-10-05 Hannes Domani <ssbssa@yahoo.de>
1776
1777 * gdb.base/call-sc.c: Fix return struct on stack test case.
1778 * gdb.base/call-sc.exp: Likewise.
1779
3ee6f75d
GB
17802020-10-02 Gary Benson <gbenson@redhat.com>
1781
1782 * README: Fix "paralell".
1783
f65825ec
GB
17842020-09-30 Gary Benson <gbenson@redhat.com>
1785
1786 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1787 Convert directive to lowercase.
1788 (.Labbrev1_begin): Add missing label.
1789 (abbrev code 0x1): Remove DW_AT_stmt_list.
1790 (.Ldie_b): Likewise.
1791
5f278258
TT
17922020-09-27 Tom Tromey <tom@tromey.com>
1793
1794 * gdb.tui/new-layout.exp: Use with_test_prefix.
1795
8f9929bb
GR
17962020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1797
1798 PR python/26586
1799 * gdb.python/python.exp: add test cases for the from_tty
1800 argument to gdb.execute.
1801
c20c017b
GB
18022020-09-25 Gary Benson <gbenson@redhat.com>
1803
1804 * gdb.base/infcall-nested-structs.exp.tcl: Add
1805 additional_flags=-Wno-tautological-compare for C++
1806 tests when compiling using Clang.
1807
68d654af
GB
18082020-09-25 Gary Benson <gbenson@redhat.com>
1809
1810 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1811 for .c files.
1812
b551a89f
TT
18132020-09-24 Tom Tromey <tromey@adacore.com>
1814
1815 PR tui/26638:
1816 * gdb.tui/list.exp: Check output of "focus next".
1817
20a5fcbd
TT
18182020-09-23 Tom Tromey <tom@tromey.com>
1819
1820 * gdb.dwarf2/intbits.exp: New file.
1821 * gdb.dwarf2/intbits.c: New file.
1822
b167e53f
PA
18232020-09-20 Pedro Alves <pedro@palves.net>
1824
1825 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1826 spawn_id before calling remote_close. Close secondary MI channel.
1827
dbc49e9f
PA
18282020-09-20 Pedro Alves <pedro@palves.net>
1829
1830 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1831 fails.
1832
c8d5abea
AB
18332020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1834
1835 * gdb.fortran/array-slices.exp: Update expected results.
1836 * gdb.fortran/class-allocatable-array.exp: Likewise.
1837 * gdb.fortran/multi-dim.exp: Likewise.
1838 * gdb.fortran/vla-type.exp: Likewise.
1839 * gdb.mi/mi-vla-fortran.exp: Likewise.
1840
14f9473c
VC
18412020-09-18 Victor Collod <vcollod@nvidia.com>
1842
1843 PR gdb/26635
1844 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1845 compatible with i386, and move it to...
1846 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1847 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1848 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1849
e8ef12b9
PA
18502020-09-18 Pedro Alves <pedro@palves.net>
1851
1852 PR gdb/26631
1853 * gdb.multi/multi-target-thread-find.exp: New file.
1854
e11daf7a
PA
18552020-09-18 Pedro Alves <pedro@palves.net>
1856
1857 * gdb.multi/multi-target-continue.exp: New file, factored out from
1858 multi-target.exp.
1859 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1860 multi-target.exp.
1861 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1862 multi-target.exp.
1863 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1864 multi-target.exp.
1865 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1866 multi-target.exp.
1867 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1868 multi-target.exp.
1869 * gdb.multi/multi-target.exp: Delete.
1870
d0edc2b8
AB
18712020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1872
1873 * gdb.fortran/array-slices.exp: Add missing message data.
1874
7474326c
PA
18752020-09-17 Pedro Alves <pedro@palves.net>
1876
1877 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1878
dd23068d
PA
18792020-09-17 Pedro Alves <pedro@palves.net>
1880
1881 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1882 full prototype.
1883
0640a543
PA
18842020-09-17 Pedro Alves <pedro@palves.net>
1885
1886 * gdb.python/py-as-string.c: Add cast.
1887
ef0cdbc1
PA
18882020-09-17 Pedro Alves <pedro@palves.net>
1889
1890 * gdb.base/sizeof.c (fill): Add cast.
1891
3a5eeb8b
PA
18922020-09-17 Pedro Alves <pedro@palves.net>
1893
1894 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1895
a8129512
PA
18962020-09-17 Pedro Alves <pedro@palves.net>
1897
1898 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1899 linkage name.
1900 * gdb.base/prologue.exp: Use print /d.
1901 * gdb.base/symbol-alias.exp: Handle C++ output.
1902 * gdb.base/symbol-alias2.c: Handle C++ output.
1903 [__cplusplus] (func): Explicitly specify linkage name.
1904
a83cdcb6
PA
19052020-09-17 Pedro Alves <pedro@palves.net>
1906
1907 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1908 (struct my_key_t): ... this. Adjust all references.
1909 (struct value_t): Rename to ...
1910 (struct my_value_t): ... this. Adjust all references.
1911 (create_map, add_map_element, create_map_map)
1912 (add_map_map_element): Add casts.
1913
d4bcee5c
PA
19142020-09-17 Pedro Alves <pedro@palves.net>
1915
1916 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1917 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1918
81f90489
PA
19192020-09-17 Pedro Alves <pedro@palves.net>
1920
1921 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1922
0a229804
PA
19232020-09-17 Pedro Alves <pedro@palves.net>
1924
1925 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1926 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1927 (charfoo, intfoo): Define full prototype.
1928 * gdb.base/ptype1.c (charfoo): Define full prototype.
1929 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1930 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1931
c3e5138d
PA
19322020-09-17 Pedro Alves <pedro@palves.net>
1933
1934 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1935 Don't define.
1936 (utf_32_string): Compile for both C and C++.
1937 * gdb.base/charset.exp: Use "print /d".
1938
151fdbad
PA
19392020-09-17 Pedro Alves <pedro@palves.net>
1940
1941 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1942 (nullptr): Rename to ...
1943 (null_ptr): ... this.
1944 * gdb.base/watchpoint.exp: Adjust to rename.
1945
18a25b64
PA
19462020-09-17 Pedro Alves <pedro@palves.net>
1947
1948 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1949 (three_not_flag): Add casts.
1950
11fac337
PA
19512020-09-17 Pedro Alves <pedro@palves.net>
1952
1953 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1954 char array.
1955 (main): Add references to Barrier, TestStrings, TestStringsH and
1956 TestStringsW.
1957 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1958 and expect a full prototype in C++.
1959
52626c58
PA
19602020-09-17 Pedro Alves <pedro@palves.net>
1961
1962 * gdb.base/nested-addr.c (main): Add cast.
1963 * gdb.base/nested-addr.exp: Use "print /d".
1964
52bb0902
PA
19652020-09-17 Pedro Alves <pedro@palves.net>
1966
1967 * gdb.base/break.exp (func): New. Use it throughout when
1968 expecting a function name.
1969
73e18ac9
PA
19702020-09-17 Pedro Alves <pedro@palves.net>
1971
1972 * gdb.base/display.exp: Issue "set print asm-demangle on".
1973
c8b18808
PA
19742020-09-17 Pedro Alves <pedro@palves.net>
1975
1976 * gdb.base/find.c: Include <string.h>.
1977 (init_bufs): Add cast.
1978 * gdb.base/find.exp: Issue "set print asm-demangle on".
1979
fe830662
TT
19802020-09-16 Tom Tromey <tromey@adacore.com>
1981
1982 PR gdb/26598:
1983 * gdb.base/skipcxx.exp: New file.
1984 * gdb.base/skipcxx.cc: New file.
1985
945ff6e2
TV
19862020-09-16 Tom de Vries <tdevries@suse.de>
1987
1988 PR testsuite/26617
1989 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1990 WITH_DEBUG_SECTIONS is defined.
1991 (xstr, str): New macro.
1992 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1993 to get start and size of _Dmain.
1994 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1995 using additional_flags.
1996
da1df1db
TBA
19972020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1998
1999 * gdb.base/bp-cmds-sourced-script.c: New file.
2000 * gdb.base/bp-cmds-sourced-script.exp: New test.
2001 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2002
337882d4
TV
20032020-09-16 Tom de Vries <tdevries@suse.de>
2004
2005 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2006 get the gdb prompt after issuing "monitor exit".
2007
7361f908
TV
20082020-09-16 Tom de Vries <tdevries@suse.de>
2009
2010 PR testsuite/26624
2011 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2012
4d91ddd3
TV
20132020-09-16 Tom de Vries <tdevries@suse.de>
2014
2015 PR testsuite/26618
2016 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2017
08cc37dd
TT
20182020-09-15 Tom Tromey <tromey@adacore.com>
2019
2020 PR rust/26197:
2021 * lib/rust-support.exp (rust_llvm_version): New proc.
2022 * gdb.rust/simple.exp: Check rust_llvm_version.
2023
ee6372f2
TV
20242020-09-14 Tom de Vries <tdevries@suse.de>
2025
2026 * gdb.rust/traits.exp: Fix PATH warning.
2027
dc3a371e
PA
20282020-09-13 Pedro Alves <pedro@palves.net>
2029
2030 * gdb.base/catch-follow-exec.c (main): Add explicit return
2031 statement.
2032 * gdb.base/catch-signal.c (main): Likewise.
2033 * gdb.base/condbreak-call-false.c (main): Likewise.
2034 * gdb.base/consecutive.c (main): Add explicit return
2035 statement and return type.
2036 * gdb.base/cursal.c (main): Add explicit return statement.
2037 * gdb.base/cvexpr.c (main): Likewise.
2038 * gdb.base/display.c (main): Add explicit return statement and
2039 return type.
2040 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2041 * gdb.base/endianity.c (main): Likewise.
2042 * gdb.base/execd-prog.c (main): Likewise.
2043 * gdb.base/gdb1090.c (main): Likewise.
2044 * gdb.base/info_qt.c (main): Likewise.
2045 * gdb.base/lineinc.c (main): Likewise.
2046 * gdb.base/load-command.c (main): Likewise.
2047 * gdb.base/macscp1.c (main): Likewise.
2048 * gdb.base/pr10179-a.c (main): Likewise.
2049 * gdb.base/quit-live.c (main): Likewise.
2050 * gdb.base/scope0.c (main): Likewise.
2051 * gdb.base/settings.c (main): Likewise.
2052 * gdb.base/stack-checking.c (main): Return int.
2053 * gdb.base/varargs.c (main): Add explicit return statement.
2054 * gdb.cp/ambiguous.cc (main): Likewise.
2055 * gdb.cp/anon-struct.cc (main): Likewise.
2056 * gdb.cp/anon-union.cc (main): Likewise.
2057 * gdb.cp/bool.cc (main): Likewise.
2058 * gdb.cp/bs15503.cc (main): Likewise.
2059 * gdb.cp/cplusfuncs.cc (main): Likewise.
2060 * gdb.cp/cttiadd.cc (main): Likewise.
2061 * gdb.cp/extern-c.cc (main): Likewise.
2062 * gdb.cp/filename.cc (main): Likewise.
2063 * gdb.cp/formatted-ref.cc (main): Likewise.
2064 * gdb.cp/mb-ctor.cc (main): Likewise.
2065 * gdb.cp/member-ptr.cc (main): Likewise.
2066 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2067 * gdb.cp/overload-const.cc (main): Likewise.
2068 * gdb.cp/paren-type.cc (main): Likewise.
2069 * gdb.cp/parse-lang.cc (main): Likewise.
2070 * gdb.cp/pr-1023.cc (main): Likewise.
2071 * gdb.cp/psmang1.cc (main): Likewise.
2072 * gdb.cp/readnow-language.cc (main): Likewise.
2073 * gdb.cp/ref-params.cc (main): Likewise.
2074 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2075 * gdb.cp/virtbase2.cc (main): Likewise.
2076 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2077 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2078 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2079 * gdb.mi/mi-console.c (main): Likewise.
2080 * gdb.mi/mi-read-memory.c (main): Likewise.
2081 * gdb.modula2/multidim.c (main): Likewise.
2082 * gdb.opt/inline-small-func.c (main): Likewise.
2083 * gdb.python/py-rbreak.c (main): Likewise.
2084 * gdb.stabs/exclfwd1.c (main): Likewise.
2085 * gdb.trace/qtro.c (main): Likewise.
2086
af26601c
PA
20872020-09-13 Pedro Alves <pedro@palves.net>
2088
2089 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2090 instead of getenv.
2091
2f4b83cd
PA
20922020-09-13 Pedro Alves <pedro@palves.net>
2093
2094 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2095 instead of spawning GDB with remote_spawn.
2096 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2097 gdb_spawn instead of spawning GDB with remote_spawn.
2098
c49da0e4
PA
20992020-09-13 Pedro Alves <pedro@palves.net>
2100
2101 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2102 file and add calls to first and second.
2103 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2104 add call to f.
2105
6791b117
PA
21062020-09-13 Pedro Alves <pedro@palves.net>
2107
2108 * gdb.mi/mi-break-qualified.cc: New file.
2109 * gdb.mi/mi-break-qualified.exp: New file.
2110 * lib/mi-support.exp (mi_create_breakpoint_multi)
2111 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2112 procedures.
2113 (mi_create_breakpoint_1): New, factored out from
2114 mi_create_breakpoint.
2115
3b8d4c5c
PA
21162020-09-13 Pedro Alves <pedro@palves.net>
2117
2118 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2119 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2120 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2121 (register_class): Delete.
2122 (main): Don't call register_class.
2123
d5f96005
PA
21242020-09-13 Pedro Alves <pedro@palves.net>
2125
2126 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2127 (do_tests): Remove "calling method for small class" test.
2128 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2129 (register_class): Delete.
2130 (main): Don't call register_class.
2131 * gdb.cp/call-method-register.exp: New file, based on bits removed
2132 from classes.exp.
2133 * gdb.cp/call-method-register.cc: New file, based on bits removed
2134 from classes.cc.
2135
77f2120b
PA
21362020-09-13 Pedro Alves <pedro@palves.net>
2137
2138 * gdb.base/msym-bp-2.c: New.
2139 * gdb.base/msym-bp-shl-lib.c: New file.
2140 * gdb.base/msym-bp-shl-main-2.c: New file.
2141 * gdb.base/msym-bp-shl-main.c: New file.
2142 * gdb.base/msym-bp-shl.exp: New file.
2143 * gdb.base/msym-bp.c: New file.
2144 * gdb.base/msym-bp.exp: New file.
2145
32aea73e
JB
21462020-09-13 Joel Brobecker <brobecker@adacore.com>
2147
2148 * gdb.base/default.exp: Change $_gdb_major to 11.
2149
2a67f09d
FW
21502020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2151 Felix Willgerodt <Felix.Willgerodt@intel.com>
2152
2153 * x86-avx512bf16.c: New file.
2154 * x86-avx512bf16.exp: Likewise.
2155 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2156
ad570dd7
TV
21572020-09-11 Tom de Vries <tdevries@suse.de>
2158
2159 PR exp/26602
2160 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2161
a56f7391
TBA
21622020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2163
2164 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2165
918619e5
AM
21662020-09-10 Alan Modra <amodra@gmail.com>
2167
2168 PR 26597
2169 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2170
cac1e71d
TV
21712020-09-08 Tom de Vries <tdevries@suse.de>
2172
2173 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2174 after gdb_starti_cmd.
2175
c5cd900e
AKS
21762020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2177
2178 * lib/fortran.exp (fortran_complex8): New proc.
2179 (fortran_complex16): New proc.
2180 * gdb.fortran/complex.exp: Use routines from fortran.exp
2181 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2182 * gdb.fortran/vla-ptr-info.exp: Likewise.
2183
8f5c6526
TV
21842020-09-03 Tom de Vries <tdevries@suse.de>
2185
2186 PR breakpoint/26546
2187 * gdb.base/label-without-address.exp: Runto main first.
2188
02c6f3f1
TT
21892020-09-02 Tom Tromey <tromey@adacore.com>
2190
2191 * gdb.ada/mi_var_access.exp: Test children of access variable.
2192 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2193 * gdb.ada/mi_var_array.exp: Update.
2194
efe24f05
KB
21952020-08-31 Kevin Buettner <kevinb@redhat.com>
2196
2197 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2198 on docker w/ AUFS storage driver.
2199
973695d6
KB
22002020-08-31 Kevin Buettner <kevinb@redhat.com>
2201
2202 * gdb.base/corefile2.exp (renamed binfile): New tests.
2203
f3bd50f1
SM
22042020-08-31 Simon Marchi <simon.marchi@efficios.com>
2205
2206 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2207
22b9b4b0
SL
22082020-08-31 Simon Marchi <simon.marchi@efficios.com>
2209
2210 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2211 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2212
8efaf6b3
SM
22132020-08-31 Simon Marchi <simon.marchi@efficios.com>
2214
2215 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2216 output, printing a "not saved" value from history and printing a
2217 convenience variable created from a "not saved" value.
2218
e840f2e3
TV
22192020-08-31 Tom de Vries <tdevries@suse.de>
2220
2221 * gdb.base/eh_return.exp: Use nopie.
2222
8f57f343
PA
22232020-08-28 Pedro Alves <pedro@palves.net>
2224
2225 * gdb.base/advance-until-multiple-locations.exp
2226 (advance_overload, until_overload): Adjust to match the
2227 frame/function header instead of the source line text.
2228
626d2320
TV
22292020-08-28 Tom de Vries <tdevries@suse.de>
2230
2231 * gdb.base/label-without-address.c: New test.
2232 * gdb.base/label-without-address.exp: New file.
2233
df631783
PA
22342020-08-27 Pedro Alves <pedro@palves.net>
2235
2236 PR gdb/26523
2237 PR gdb/26524
2238 * gdb.base/advance-until-multiple-locations.cc: New.
2239 * gdb.base/advance-until-multiple-locations.exp: New.
2240
48b076bb
SM
22412020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2242
2243 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2244
c2015ce4
AB
22452020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2246
2247 * gdb.arch/amd64-byte.exp: Make test names unique, use
2248 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2249 * gdb.arch/amd64-dword.exp: Likewise.
2250 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2251 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2252 unique.
2253 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2254 * gdb.arch/amd64-word.exp: Make test names unique, use
2255 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2256 * gdb.arch/i386-byte.exp: Make test names unique, use
2257 gdb_breakpoint.
2258 * gdb.arch/i386-word.exp: Likewise.
2259
995d3a19
SV
22602020-08-25 Shahab Vahedi <shahab@synopsys.com>
2261
2262 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2263
8cac2b31
SM
22642020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2265
2266 PR gdb/26532
2267 * gdb.threads/stepi-random-signal.exp: Update pattern.
2268
2bc19622
SM
22692020-08-25 Simon Marchi <simon.marchi@efficios.com>
2270
2271 PR gdb/26532
2272 * gdb.base/ui-redirect.exp: Update pattern.
2273
b04aa1fc
GB
22742020-08-25 Gary Benson <gbenson@redhat.com>
2275
2276 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2277 when compiling with clang.
8571e9c8 2278 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2279
9f68b453
GB
22802020-08-25 Gary Benson <gbenson@redhat.com>
2281
2282 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2283 Add additional_flags=-Wno-inaccessible-base when compiling
2284 with GCC >= 10.1 or clang. Add additional_flags=-w when
2285 compiling with GCC < 10.
2286
3945d2d7
GM
22872020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2288
2289 PR m2/26372
fc5d6901
SM
2290 * gdb.modula2/multidim.c: New file.
2291 * gdb.modula2/multidim.exp: New file.
3945d2d7 2292
60122dbe
SM
22932020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2294
2295 * lib/gdb.exp (runto): Always emit fail on internal error.
2296
1eb8556f
SM
22972020-08-24 Simon Marchi <simon.marchi@efficios.com>
2298
2299 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2300 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2301 Likewise.
2302 * gdb.threads/stepi-random-signal.exp: Likewise.
2303
33bf4c5c
TBA
23042020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2305
2306 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2307 * gdb.trace/strace.exp: Ditto.
2308
c2fd7fae
AKS
23092020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2310
2311 * gdb.fortran/vla-type.exp: Skip commands not required for
2312 the Flang compiled binaries after prologue fix.
2313
326afb72
TT
23142020-08-17 Tom de Vries <tdevries@suse.de>
2315 Tom Tromey <tromey@adacore.com>
2316
2317 PR rust/26197:
2318 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2319
3ae7ab99
TT
23202020-08-17 Tom Tromey <tromey@adacore.com>
2321
2322 * gdb.ada/mi_var_access.exp: New file.
2323 * gdb.ada/mi_var_access/mi_access.adb: New file.
2324 * gdb.ada/mi_var_access/pck.adb: New file.
2325 * gdb.ada/mi_var_access/pck.ads: New file.
2326
f569c1c5
TV
23272020-08-16 Tom de Vries <tdevries@suse.de>
2328
2329 PR gdb/25350
2330 * gdb.base/eh_return.c: New test.
2331 * gdb.base/eh_return.exp: New file.
2332
3d11c30a
TV
23332020-08-15 Tom de Vries <tdevries@suse.de>
2334
2335 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2336 (mixed_func_1d_): Use fortran_charlen_t in decl.
2337
547ce8f0
TV
23382020-08-15 Tom de Vries <tdevries@suse.de>
2339
2340 PR backtrace/26390
2341 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2342 Update expected pattern.
2343
a54a7f13
PA
23442020-08-13 Pedro Alves <pedro@palves.net>
2345
2346 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2347 * gdb.fortran/library-module.exp: Likewise.
2348 * gdb.fortran/logical.exp: Likewise.
2349 * gdb.fortran/module.exp: Likewise.
2350 * gdb.fortran/print_type.exp: Likewise.
2351 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2352 * gdb.fortran/vla-datatypes.exp: Likewise.
2353 * gdb.fortran/vla-history.exp: Likewise.
2354 * gdb.fortran/vla-ptr-info.exp: Likewise.
2355 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2356 * gdb.fortran/vla-ptype.exp: Likewise.
2357 * gdb.fortran/vla-sizeof.exp: Likewise.
2358 * gdb.fortran/vla-type.exp: Likewise.
2359 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2360 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2361 * gdb.fortran/vla-value-sub.exp: Likewise.
2362 * gdb.fortran/vla-value.exp: Likewise.
2363
7a82e903
PA
23642020-08-13 Pedro Alves <pedro@palves.net>
2365
2366 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2367 * gdb.ada/access_to_packed_array.exp: Likewise.
2368 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2369 * gdb.ada/addr_arith.exp: Likewise.
2370 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2371 * gdb.ada/arr_arr.exp: Likewise.
2372 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2373 * gdb.ada/array_bounds.exp: Likewise.
2374 * gdb.ada/array_of_variable_length.exp: Likewise.
2375 * gdb.ada/array_ptr_renaming.exp: Likewise.
2376 * gdb.ada/array_subscript_addr.exp: Likewise.
2377 * gdb.ada/arraydim.exp: Likewise.
2378 * gdb.ada/arrayparam.exp: Likewise.
2379 * gdb.ada/arrayptr.exp: Likewise.
2380 * gdb.ada/assign_1.exp: Likewise.
2381 * gdb.ada/assign_arr.exp: Likewise.
2382 * gdb.ada/atomic_enum.exp: Likewise.
2383 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2384 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2385 * gdb.ada/bias.exp: Likewise.
2386 * gdb.ada/boolean_expr.exp: Likewise.
2387 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2388 * gdb.ada/bp_enum_homonym.exp: Likewise.
2389 * gdb.ada/bp_inlined_func.exp: Likewise.
2390 * gdb.ada/bp_on_var.exp: Likewise.
2391 * gdb.ada/bp_range_type.exp: Likewise.
2392 * gdb.ada/bp_reset.exp: Likewise.
2393 * gdb.ada/call_pn.exp: Likewise.
2394 * gdb.ada/catch_assert_if.exp: Likewise.
2395 * gdb.ada/catch_ex.exp: Likewise.
2396 * gdb.ada/catch_ex_std.exp: Likewise.
2397 * gdb.ada/char_enum.exp: Likewise.
2398 * gdb.ada/char_param.exp: Likewise.
2399 * gdb.ada/complete.exp: Likewise.
2400 * gdb.ada/cond_lang.exp: Likewise.
2401 * gdb.ada/convvar_comp.exp: Likewise.
2402 * gdb.ada/dgopt.exp: Likewise.
2403 * gdb.ada/disc_arr_bound.exp: Likewise.
2404 * gdb.ada/display_nested.exp: Likewise.
2405 * gdb.ada/dot_all.exp: Likewise.
2406 * gdb.ada/dyn_loc.exp: Likewise.
2407 * gdb.ada/dyn_stride.exp: Likewise.
2408 * gdb.ada/excep_handle.exp: Likewise.
2409 * gdb.ada/expr_delims.exp: Likewise.
2410 * gdb.ada/expr_with_funcall.exp: Likewise.
2411 * gdb.ada/exprs.exp: Likewise.
2412 * gdb.ada/fin_fun_out.exp: Likewise.
2413 * gdb.ada/fixed_cmp.exp: Likewise.
2414 * gdb.ada/formatted_ref.exp: Likewise.
2415 * gdb.ada/frame_arg_lang.exp: Likewise.
2416 * gdb.ada/frame_args.exp: Likewise.
2417 * gdb.ada/fullname_bp.exp: Likewise.
2418 * gdb.ada/fun_addr.exp: Likewise.
2419 * gdb.ada/fun_in_declare.exp: Likewise.
2420 * gdb.ada/fun_overload_menu.exp: Likewise.
2421 * gdb.ada/fun_renaming.exp: Likewise.
2422 * gdb.ada/funcall_char.exp: Likewise.
2423 * gdb.ada/funcall_param.exp: Likewise.
2424 * gdb.ada/funcall_ptr.exp: Likewise.
2425 * gdb.ada/funcall_ref.exp: Likewise.
2426 * gdb.ada/homonym.exp: Likewise.
2427 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2428 * gdb.ada/info_auto_lang.exp: Likewise.
2429 * gdb.ada/info_exc.exp: Likewise.
2430 * gdb.ada/info_types.exp: Likewise.
2431 * gdb.ada/int_deref.exp: Likewise.
2432 * gdb.ada/interface.exp: Likewise.
2433 * gdb.ada/iwide.exp: Likewise.
2434 * gdb.ada/lang_switch.exp: Likewise.
2435 * gdb.ada/length_cond.exp: Likewise.
2436 * gdb.ada/maint_with_ada.exp: Likewise.
2437 * gdb.ada/mi_catch_assert.exp: Likewise.
2438 * gdb.ada/mi_catch_ex.exp: Likewise.
2439 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2440 * gdb.ada/mi_dyn_arr.exp: Likewise.
2441 * gdb.ada/mi_ex_cond.exp: Likewise.
2442 * gdb.ada/mi_exc_info.exp: Likewise.
2443 * gdb.ada/mi_interface.exp: Likewise.
2444 * gdb.ada/mi_prot.exp: Likewise.
2445 * gdb.ada/mi_ref_changeable.exp: Likewise.
2446 * gdb.ada/mi_string_access.exp: Likewise.
2447 * gdb.ada/mi_task_arg.exp: Likewise.
2448 * gdb.ada/mi_task_info.exp: Likewise.
2449 * gdb.ada/mi_var_array.exp: Likewise.
2450 * gdb.ada/mi_var_union.exp: Likewise.
2451 * gdb.ada/mi_variant.exp: Likewise.
2452 * gdb.ada/minsyms.exp: Likewise.
2453 * gdb.ada/mod_from_name.exp: Likewise.
2454 * gdb.ada/nested.exp: Likewise.
2455 * gdb.ada/null_array.exp: Likewise.
2456 * gdb.ada/optim_drec.exp: Likewise.
2457 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2458 * gdb.ada/packed_array_assign.exp: Likewise.
2459 * gdb.ada/packed_tagged.exp: Likewise.
2460 * gdb.ada/pp-rec-component.exp: Likewise.
2461 * gdb.ada/print_chars.exp: Likewise.
2462 * gdb.ada/print_pc.exp: Likewise.
2463 * gdb.ada/ptr_typedef.exp: Likewise.
2464 * gdb.ada/ptype_arith_binop.exp: Likewise.
2465 * gdb.ada/ptype_array.exp: Likewise.
2466 * gdb.ada/ptype_field.exp: Likewise.
2467 * gdb.ada/ptype_tagged_param.exp: Likewise.
2468 * gdb.ada/ptype_union.exp: Likewise.
2469 * gdb.ada/py_range.exp: Likewise.
2470 * gdb.ada/py_taft.exp: Likewise.
2471 * gdb.ada/rdv_wait.exp: Likewise.
2472 * gdb.ada/rec_comp.exp: Likewise.
2473 * gdb.ada/rec_return.exp: Likewise.
2474 * gdb.ada/ref_param.exp: Likewise.
2475 * gdb.ada/ref_tick_size.exp: Likewise.
2476 * gdb.ada/rename_subscript_param.exp: Likewise.
2477 * gdb.ada/repeat_dyn.exp: Likewise.
2478 * gdb.ada/same_component_name.exp: Likewise.
2479 * gdb.ada/same_enum.exp: Likewise.
2480 * gdb.ada/scalar_storage.exp: Likewise.
2481 * gdb.ada/set_wstr.exp: Likewise.
2482 * gdb.ada/small_reg_param.exp: Likewise.
2483 * gdb.ada/str_binop_equal.exp: Likewise.
2484 * gdb.ada/str_ref_cmp.exp: Likewise.
2485 * gdb.ada/str_uninit.exp: Likewise.
2486 * gdb.ada/sub_variant.exp: Likewise.
2487 * gdb.ada/sym_print_name.exp: Likewise.
2488 * gdb.ada/taft_type.exp: Likewise.
2489 * gdb.ada/tagged.exp: Likewise.
2490 * gdb.ada/tagged_access.exp: Likewise.
2491 * gdb.ada/task_bp.exp: Likewise.
2492 * gdb.ada/task_switch_in_core.exp: Likewise.
2493 * gdb.ada/tasks.exp: Likewise.
2494 * gdb.ada/tick_last_segv.exp: Likewise.
2495 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2496 * gdb.ada/type_coercion.exp: Likewise.
2497 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2498 * gdb.ada/unchecked_union.exp: Likewise.
2499 * gdb.ada/uninitialized_vars.exp: Likewise.
2500 * gdb.ada/var_arr_attrs.exp: Likewise.
2501 * gdb.ada/var_arr_typedef.exp: Likewise.
2502 * gdb.ada/var_rec_arr.exp: Likewise.
2503 * gdb.ada/variant-record.exp: Likewise.
2504 * gdb.ada/variant.exp: Likewise.
2505 * gdb.ada/variant_record_packed_array.exp: Likewise.
2506 * gdb.ada/varsize_limit.exp: Likewise.
2507 * gdb.ada/whatis_array_val.exp: Likewise.
2508 * gdb.ada/widewide.exp: Likewise.
2509 * gdb.ada/win_fu_syms.exp: Likewise.
2510
25112020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2512
2513 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2514
10c381b5
AB
25152020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2516
2517 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2518 unset the array variable.
2519
8f34b746
TV
25202020-08-03 Tom de Vries <tdevries@suse.de>
2521
2522 PR symtab/26333
2523 * lib/dwarf.exp (DW_LNE_user): New proc.
2524 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2525 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2526
0245e136
KB
25272020-07-31 Kevin Buettner <kevinb@redhat.com>
2528
2529 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2530 to 'uintptr_t'
2531 (inttypes.h): Include.
2532
9ef1ec5d
KB
25332020-07-31 Kevin Buettner <kevinb@redhat.com>
2534
2535 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2536 (C5_24k): Delete.
2537 (C5_8k, C5_64k, C5_256k): New macros.
2538 (buf_ro): Allocate 256 KiB of initialized data.
2539
4c55e970
TBA
25402020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2541
2542 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2543 that attempt to overwrite an existing condition with a condition
2544 that fails parsing and also with a condition that parses fine
2545 but contains junk at the end.
2546
1e620590
TBA
25472020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2548
2549 * gdb.base/condbreak-bad.c: New test.
2550 * gdb.base/condbreak-bad.exp: New file.
2551
e12dcc50
TV
25522020-07-30 Tom de Vries <tdevries@suse.de>
2553
2554 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2555 out of ...
2556 (GDBInfoModuleSymbols::check_entry): ... here.
2557 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2558 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2559 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2560
6cc64caa
TV
25612020-07-30 Tom de Vries <tdevries@suse.de>
2562
2563 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2564 "__class_some_module_Number_t" optional.
2565
90fd07fc
TV
25662020-07-29 Tom de Vries <tdevries@suse.de>
2567
2568 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2569 multiple locations.
2570
f5c79e97
TV
25712020-07-29 Tom de Vries <tdevries@suse.de>
2572
2573 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2574 rather than function name.
2575
f75a0693
AB
25762020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2577
2578 PR symtab/26270:
2579 * gdb.cp/disasm-func-name.cc: New file.
2580 * gdb.cp/disasm-func-name.exp: New file.
2581
4888741a
TT
25822020-07-28 Tom Tromey <tromey@adacore.com>
2583
2584 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2585 'varval' location.
2586
43d5901d
AB
25872020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2588
2589 * gdb.python/py-unwind.py: Update to make use of a register
2590 descriptor.
2591
14fa8fb3
AB
25922020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2593
2594 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2595
e79eb02f
AB
25962020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2597
2598 PR fortran/23051
2599 PR fortran/26139
2600 * gdb.fortran/class-allocatable-array.exp: New file.
2601 * gdb.fortran/class-allocatable-array.f90: New file.
2602 * gdb.fortran/pointer-to-pointer.exp: New file.
2603 * gdb.fortran/pointer-to-pointer.f90: New file.
2604
876518dd
TV
26052020-07-25 Tom de Vries <tdevries@suse.de>
2606
2607 PR symtab/26243
2608 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2609 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2610
6dcfb80a
TV
26112020-07-24 Tom de Vries <tdevries@suse.de>
2612
2613 PR testsuite/26293
2614 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2615
e7bc9db8
PA
26162020-07-23 Pedro Alves <pedro@palves.net>
2617
2618 * gdb.server/server-kill.exp (prepare): New, factored out from the
2619 top level.
2620 (kill_server): New.
2621 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2622 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2623
78344df7
AB
26242020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2625
2626 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2627
25dfed24
SL
26282020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2629
2630 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2631 Initialize to empty string at top level.
2632 (gdb_wrapper_init): Revert check for file existence on build.
2633 Build the wrapper in its default place, not a build-specific
2634 location. When host == build, make the pathname absolute.
2635 (gdb_compile): Delete leftover declaration of
2636 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2637 string instead of uninitialized.
2638
7da515fd
KB
26392020-07-22 Kevin Buettner <kevinb@redhat.com>
2640
2641 * gdb.base/corefile2.exp: New file.
2642 * gdb.base/coremaker2.exp: New file.
2643
9c5ec5c2
KB
26442020-07-22 Kevin Buettner <kevinb@redhat.com>
2645
2646 * gdb.base/coredump-filter.exp: Add second
2647 non-Private-Shared-Anon-File test.
2648 (test_disasm): Rename binfile for test which is expected
2649 to fail.
2650
f9e233c9
KB
26512020-07-22 Kevin Buettner <kevinb@redhat.com>
2652
2653 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2654 data in core file".
2655 * gdb.base/coremaker.c (buf2ro): New global.
2656 (mmapdata): Add a read-only mmap mapping.
2657
94c265d7
KB
26582020-07-22 Kevin Buettner <kevinb@redhat.com>
2659
2660 PR corefiles/25631
2661 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2662 New test.
2663 * gdb.base/coremaker.c (buf3): New global.
2664 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2665 flags.
2666
26672020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2668
2669 * gdb.base/coremaker.c (filler_ro): New global constant.
2670
32fa152e
TT
26712020-07-22 Tom Tromey <tromey@adacore.com>
2672
2673 * gdb.ada/mi_prot.exp: New file.
2674 * gdb.ada/mi_prot/pkg.adb: New file.
2675 * gdb.ada/mi_prot/pkg.ads: New file.
2676 * gdb.ada/mi_prot/prot.adb: New file.
2677
c8474dc3
TBA
26782020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2679
2680 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2681 loads two JITers.
2682
baf8791e
AB
26832020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2684
2685 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2686
f7306dac
AB
26872020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2688
2689 * gdb.python/py-arch-reg-names.exp: Additional tests.
2690
6d3d6e4b
TV
26912020-07-21 Tom de Vries <tdevries@suse.de>
2692
2693 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2694 breakpoint locations".
2695 * gdb.reverse/solib-reverse.exp: Same.
2696
803d0592
TV
26972020-07-21 Tom de Vries <tdevries@suse.de>
2698
2699 * gdb.reverse/step-reverse.c (callee): Merge statements.
2700
e9bdc510
TV
27012020-07-21 Tom de Vries <tdevries@suse.de>
2702
2703 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2704 line numbers for some variables.
2705
f0f9e75a
TV
27062020-07-21 Tom de Vries <tdevries@suse.de>
2707
2708 * gdb.opt/inline-locals.c (init_array): New func.
2709 (func1): Use init_array.
2710 * gdb.opt/inline-locals.exp: Update pattern.
2711
bd460ecb
TV
27122020-07-21 Tom de Vries <tdevries@suse.de>
2713
2714 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2715 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2716
ae5369e7
LC
27172020-07-20 Ludovic Courtès <ludo@gnu.org>
2718
2719 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2720 * gdb.guile/types-module.exp: Remove "ERROR:" from
2721 regexps since Guile 3.0 no longer prints that.
2722
68cf161c
LC
27232020-07-20 Ludovic Courtès <ludo@gnu.org>
2724
2725 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2726 error regexp to match on Guile 2.2.
2727
c14b4913
GB
27282020-07-20 Gary Benson <gbenson@redhat.com>
2729
2730 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2731 with clang.
2732
b243ba58
TV
27332020-07-20 Tom de Vries <tdevries@suse.de>
2734
2735 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2736 (omp_set_lock_in_order): New function.
2737 (single_scope, multi_scope, nested_func, nested_parallel): Use
2738 omp_set_lock_in_order and omp_unset_lock.
2739 (main): Init and destroy lock and lock2.
2740
c06ad8b5
TV
27412020-07-20 Tom de Vries <tdevries@suse.de>
2742
2743 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2744
6e22f117
TV
27452020-07-20 Tom de Vries <tdevries@suse.de>
2746
2747 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2748
33176ea7
TV
27492020-07-17 Tom de Vries <tdevries@suse.de>
2750
2751 * gdb.base/valgrind-infcall-2.c: New test.
2752 * gdb.base/valgrind-infcall-2.exp: New file.
2753 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2754
90c3ec2d
TV
27552020-07-17 Tom de Vries <tdevries@suse.de>
2756
2757 * gdb.dlang/circular.c (found): Use found_label as label name.
2758 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2759 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2760 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2761 * gdb.dwarf2/ada-linkage-name.exp: Same.
2762 * gdb.dwarf2/arr-subrange.exp: Same.
2763 * gdb.dwarf2/atomic-type.exp: Same.
2764 * gdb.dwarf2/comp-unit-lang.exp: Same.
2765 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2766 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2767 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2768 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2769 * gdb.dwarf2/implptr-64bit.exp: Same.
2770 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2771 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2772 * gdb.dwarf2/imported-unit.exp: Same.
2773 * gdb.dwarf2/main-subprogram.exp: Same.
2774 * gdb.dwarf2/missing-type-name.exp: Same.
2775 * gdb.dwarf2/nonvar-access.exp: Same.
2776 * gdb.dwarf2/struct-with-sig.exp: Same.
2777 * gdb.dwarf2/typedef-void-finish.exp: Same.
2778 * gdb.dwarf2/void-type.exp: Same.
2779
10da644d
TV
27802020-07-17 Tom de Vries <tdevries@suse.de>
2781
2782 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2783 src parameter.
2784 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2785 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2786 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2787 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2788 * gdb.dwarf2/dwz.exp: Same.
2789 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2790 * gdb.dwarf2/implref-array.exp: Same.
2791 * gdb.dwarf2/implref-const.exp: Same.
2792 * gdb.dwarf2/implref-global.exp: Same.
2793 * gdb.dwarf2/implref-struct.exp: Same.
2794 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2795 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2796 * gdb.dwarf2/var-access.exp: Same.
2797 * gdb.dwarf2/varval.exp: Same.
2798 * gdb.trace/entry-values.exp: Same.
2799
315e6afc
TV
28002020-07-17 Tom de Vries <tdevries@suse.de>
2801
2802 * lib/dwarf.exp (Dwarf::extern): Remove.
2803 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2804 * gdb.dlang/circular.exp: Same.
2805 * gdb.dwarf2/comp-unit-lang.exp: Same.
2806 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2807 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2808 * gdb.dwarf2/dwz.exp: Same.
2809 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2810 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2811 * gdb.dwarf2/imported-unit.exp: Same.
2812 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2813
5597c940
SL
28142020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2815
2816 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2817 Use double quotes instead of single quotes.
2818
d0ce17d8
CT
28192020-07-16 Caroline Tice <cmtice@google.com>
2820
2821 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2822 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2823
853772cc
TV
28242020-07-16 Tom de Vries <tdevries@suse.de>
2825
2826 * lib/dwarf.exp (program): Initialize _line.
2827 (DW_LNE_end_sequence): Reinitialize _line.
2828 (DW_LNS_advance_line): Update _line.
2829 (line): New proc.
2830 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2831 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2832 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2833 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2834 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2835 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2836
fe07b572
AB
28372020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2838
2839 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2840 generic.
2841
52781cce
TV
28422020-07-15 Tom de Vries <tdevries@suse.de>
2843
2844 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2845 is_amd64_regs_target.
2846
3dcc261c
AB
28472020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2848
2849 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2850 * gdb.fortran/ptype-on-functions.f90: Likewise.
2851
054a0959
SM
28522020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2853
2854 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2855 values in documentation for addr_size to 4 and 8.
2856
ccb9eba6
AB
28572020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2858
2859 * gdb.arch/amd64-osabi.exp: Update.
2860 * gdb.arch/arm-disassembler-options.exp: Update.
2861 * gdb.arch/powerpc-disassembler-options.exp: Update.
2862 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2863 * gdb.arch/s390-disassembler-options.exp: Update.
2864 * gdb.base/all-architectures.exp.tcl: Update.
2865 * gdb.base/attach-pie-noexec.exp: Update.
2866 * gdb.base/catch-syscall.exp: Update.
2867 * gdb.xml/tdesc-arch.exp: Update.
2868
025a39a7
TV
28692020-07-14 Tom de Vries <tdevries@suse.de>
2870
2871 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2872 (local_gettid): ... this.
2873 (fn): Update.
2874
74e4b667
SL
28752020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2876
2877 * gdb.base/info_sources.exp: Skip directory match tests on
2878 remote hosts.
2879
f413dd74
GB
28802020-07-13 Gary Benson <gbenson@redhat.com>
2881
2882 * gdb.base/savedregs.exp (caller): Use parentheses to
2883 make expected expression evaluation ordering explicit.
2884
915771bb
GB
28852020-07-13 Gary Benson <gbenson@redhat.com>
2886
2887 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2888
2a122642
GB
28892020-07-13 Gary Benson <gbenson@redhat.com>
2890
2891 * gdb.base/bigcore.c (main): Use a volatile pointer when
2892 attempting to trigger a SIGSEGV.
2893 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2894 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2895 * gdb.base/savedregs.c (thrower): Likewise.
2896 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2897
3f00c730
GB
28982020-07-13 Gary Benson <gbenson@redhat.com>
2899
2900 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2901 defining and using VLA structure fields into...
2902 * gdb.base/vla-struct-fields.c: New file.
2903 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2904 tests into...
2905 * gdb.base/vla-struct-fields.exp: New file.
2906
963eeee4
TV
29072020-07-13 Tom de Vries <tdevries@suse.de>
2908
2909 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2910 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2911 * gdb.base/gold-gdb-index.exp: Same.
2912 * gdb.base/morestack.exp: Same.
2913
0ed35c9a
DX
29142020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2915
2916 PR rust/26121
2917 * gdb.rust/modules.rs: Prevent linker from discarding test
2918 symbol.
2919
4fdba23d
PA
29202020-07-10 Pedro Alves <pedro@palves.net>
2921
2922 PR gdb/26199
2923 * gdb.multi/multi-target.c (exit_thread): New.
2924 (thread_start): Break loop if EXIT_THREAD.
2925 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2926 (top level) Call test_no_resumed.
2927
15f3b077
TT
29282020-07-08 Tom Tromey <tromey@adacore.com>
2929
2930 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2931 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2932
9fc501fd
AB
29332020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2934
2935 PR python/22748
2936 * gdb.opt/inline-frame-tailcall.c: New file.
2937 * gdb.opt/inline-frame-tailcall.exp: New file.
2938 * gdb.python/py-unwind-inline.c: New file.
2939 * gdb.python/py-unwind-inline.exp: New file.
2940 * gdb.python/py-unwind-inline.py: New file.
2941
64cb3757
AB
29422020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2943
2944 * gdb.python/py-arch-reg-groups.exp: New file.
2945
0f767f94
AB
29462020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2947
2948 * gdb.python/py-arch-reg-names.exp: New file.
2949
87dbc774
AB
29502020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2951
2952 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2953 gdb.PendingFrame.architecture method.
2954
d8cc8af6
TV
29552020-07-06 Tom de Vries <tdevries@suse.de>
2956
2957 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2958
3c8ea5be
PA
29592020-07-03 Pedro Alves <palves@redhat.com>
2960
2961 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2962 explicitly write negative numbers.
2963 * gdb.base/structs2.exp: Adjust expected output.
2964
bf90c83a
PA
29652020-07-03 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.base/charset.c (init_string): Change all char parameters to
2968 unsigned char parameters.
2969
2eb82157
PA
29702020-07-03 Pedro Alves <palves@redhat.com>
2971
2972 * gdb.base/call-sc.exp (start_scalars_test): Use
2973 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2974 * gdb.base/overlays.c: Remove references to PARAMS.
2975 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2976 * gdb.base/reread.exp: Don't set 'prototypes' global.
2977 * gdb.base/structs.exp (start_structs_test): Use
2978 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2979 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2980 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2981 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2982 call.
2983 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2984
9adda7af
PA
29852020-07-03 Pedro Alves <palves@redhat.com>
2986
2987 * gdb.base/m32rovly.c: Delete.
2988 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2989
2a17c803
PW
29902020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2991
2992 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2993 of gdb_py_test_multiple.
2994 * gdb.python/py-cmd.exp: Likewise.
2995 * gdb.python/py-events.exp: Likewise.
2996 * gdb.python/py-function.exp: Likewise.
2997 * gdb.python/py-inferior.exp: Likewise.
2998 * gdb.python/py-infthread.exp: Likewise.
2999 * gdb.python/py-linetable.exp: Likewise.
3000 * gdb.python/py-parameter.exp: Likewise.
3001 * gdb.python/py-value.exp: Likewise.
3002
b011fe1a
TV
30032020-06-30 Tom de Vries <tdevries@suse.de>
3004
3005 PR testsuite/26175
3006 * lib/future.exp (gdb_default_target_compile): Detect and handle
3007 early_flags.
3008
df5b8876
SM
30092020-06-29 Simon Marchi <simon.marchi@efficios.com>
3010
3011 * boards/simavr.exp (gdb_load): Catch errors when closing
3012 previous connection. Close connection, wait for process and
3013 unset simavr_spawn_id on failure.
3014
a3ca48cd
TV
30152020-06-29 Tom de Vries <tdevries@suse.de>
3016
3017 * lib/gdb.exp (unknown): Make test-case unresolved.
3018
b0237c0e
TV
30192020-06-29 Tom de Vries <tdevries@suse.de>
3020
3021 PR gdb/25475
3022 * gdb.server/solib-list.exp: Verify that the symbol reload
3023 confirmation question is asked.
3024
c0b3b3bd
PW
30252020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3026
3027 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3028 have a input seq nr in each pass message.
fe4c3d43 3029 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3030 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3031 * gdb.python/python.exp: Make test names unique,
3032 use gdb_test_multiline instead of gdb_py_test_multiple,
3033 use $gdb_test_name.
3034 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3035
1776e3e5
NA
30362020-06-26 Nick Alcock <nick.alcock@oracle.com>
3037
3038 * configure.ac: Add --enable-libctf.
3039 * aclocal.m4: sinclude ../config/enable.m4.
3040 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3041 * lib/gdb.exp (skip_ctf_tests): Use it.
3042 * gdb.base/ctf-constvars.exp: Error message tweak.
3043 * gdb.base/ctf-ptype.exp: Likewise.
3044 * configure: Regenerate.
3045
f53b3eeb
GB
30462020-06-26 Gary Benson <gbenson@redhat.com>
3047
3048 * gdb.cp/try_catch.cc: Include string.h.
3049 (main): Replace comparison against string literal with
3050 strcmp, avoiding build failure with -Wstring-compare.
3051 Add "marker test-complete".
3052 * gdb.cp/try_catch.exp: Run the test to the above marker,
3053 then verify that the value of "test" is still true.
3054
6d74da72
AB
30552020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3056
3057 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3058
2e52d038
AB
30592020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3060
3061 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3062
3b9fce96
AB
30632020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3066 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3067 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3068 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3069 * gdb.arch/riscv-tdesc-loading.exp: New file.
3070
ed69cbc8
AB
30712020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3072
3073 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3074
767a879e
AB
30752020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3076
3077 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3078 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3079 * gdb.arch/riscv-tdesc-regs.c: New file.
3080 * gdb.arch/riscv-tdesc-regs.exp: New file.
3081
221db974
PA
30822020-06-24 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.arch/amd64-entry-value-paramref.exp: Use
3085 prepare_for_testing_full and don't pass "c++" for the .S file
3086 build spec.
3087 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3088 $options, since it's an assembly file. Remove -Wno-deprecated.
3089 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3090 compiling C++ programs.
3091
331733cd
PA
30922020-06-24 Pedro Alves <palves@redhat.com>
3093
3094 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3095 Clang, add "-Wno-unknown-warning-option" to the options.
3096
caa7fd04
AB
30972020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3098
3099 * gdb.xml/tdesc-reload.c: New file.
3100 * gdb.xml/tdesc-reload.exp: New file.
3101 * gdb.xml/maint-xml-dump-01.xml: New file.
3102 * gdb.xml/maint-xml-dump-02.xml: New file.
3103 * gdb.xml/maint-xml-dump.exp: New file.
3104
bb8d1260
SL
31052020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3106
3107 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3108 Adjust for omitted commands when TUI is disabled.
3109
7e4b9c4c
GB
31102020-06-23 Gary Benson <gbenson@redhat.com>
3111 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3114 * gdb.cp/nsimport.cc: Likewise.
3115 * gdb.cp/nsnested.cc: Likewise.
3116 * gdb.cp/nsnoimports.cc: Likewise.
3117 * gdb.cp/nsusing.cc: Likewise.
3118 * gdb.cp/smartp.cc: Likewise.
3119 * gdb.python/py-pp-integral.c: Likewise.
3120 * gdb.python/py-pp-re-notag.c: Likewise.
3121
2e573c0a
GB
31222020-06-23 Gary Benson <gbenson@redhat.com>
3123
3124 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3125 * gdb.cp/nsimport.cc: Likewise.
3126 * gdb.cp/nsnested.cc: Likewise.
3127 * gdb.cp/nsnoimports.cc: Likewise.
3128 * gdb.cp/nsusing.cc: Likewise.
3129 * gdb.cp/smartp.cc: Likewise.
3130 * gdb.python/py-pp-integral.c: Likewise.
3131 * gdb.python/py-pp-re-notag.c: Likewise.
3132
746ebfe8
PW
31332020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3134
3135 * gdb.base/default-args.exp: New test.
3136 * gdb.base/default-args.c: New file.
3137 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3138 * gdb.base/default.exp: Update to new help text.
3139 * gdb.base/help.exp: Likewise.
3140 * gdb.base/page.exp: Likewise.
3141 * gdb.base/style.exp: Likewise.
3142 * gdb.guile/guile.exp: Likewise.
3143 * gdb.python/python.exp: Likewise.
3144
e822f2cd
SL
31452020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3146
3147 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3148 remote host. Fix search path syntax on Windows host.
3149
48e9cc84
PW
31502020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3151
3152 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3153 over 'exec-file-mismatch'.
3154 * gdb.base/attach.c: Mark should_exit volatile.
3155 * gdb.base/attach2.c: Likewise. Add a comment explaining
3156 why the sleep cannot be big.
3157 * gdb.base/attach3.c: New file.
3158
160f8a8f
SL
31592020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3160
3161 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3162 prefix optional.
3163
4d91c2a4
SL
31642020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3165
3166 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3167 for remote host.
3168
87f83f20
SL
31692020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3170 Hafiz Abid Qadeer <abidh@codesourcery.com>
3171
3172 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3173 file sent to remote host.
3174 (top level): Allow int32_t as type of 32-bit register.
3175
37ab8655
TV
31762020-06-19 Tom de Vries <tdevries@suse.de>
3177
3178 * lib/gdb.exp (gdb_note): New proc.
3179 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3180 (gdb_default_target_compile): ... here. Only call
3181 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3182 (use_gdb_compile): Change to array.
3183 (toplevel): Update sets of use_gdb_compile to specify language.
3184 Warn about default_target_compile override. Store dejagnu's version
3185 of default_target_compile in dejagnu_default_target_compile.
3186
a8a56685
TV
31872020-06-18 Tom de Vries <tdevries@suse.de>
3188
3189 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3190 (default_gdb_init): ... here.
3191
581bea2c
SL
31922020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3193
3194 Fix TUI support checks in gdb.tui tests.
3195
3196 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3197 just say UNSUPPORTED.
3198 * gdb.tui/corefile-run.exp: Likewise.
3199 * gdb.tui/empty.exp: Likewise.
3200 * gdb.tui/list-before.exp: Likewise.
3201 * gdb.tui/list.exp: Likewise.
3202 * gdb.tui/main.exp: Likewise.
3203 * gdb.tui/regs.exp: Likewise.
3204 * gdb.tui/resize.exp: Likewise.
3205 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3206 * gdb.tui/tui-layout-asm.exp: Likewise.
3207 * gdb.tui/tui-missing-src.exp: Likewise.
3208 * gdb.tui/winheight.exp: Likewise.
3209 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3210
05e682e3
SL
32112020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3212
3213 Fix TCL error in gdb.python/py-format-string.exp.
3214
3215 * gdb.python/py-format-string.exp: Move test for python support
3216 earlier, out of function body.
3217
efb763a5
SM
32182020-06-15 Simon Marchi <simon.marchi@efficios.com>
3219
3220 * gdb.base/index-cache-load-twice.c: New.
3221 * gdb.base/index-cache-load-twice.exp: New.
3222
43327b20
KS
32232020-06-17 Keith Seitz <keiths@redhat.com>
3224
99cf27cf 3225 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3226 when executing "gdb --configuration".
3227
081e778c
TV
32282020-06-17 Tom de Vries <tdevries@suse.de>
3229
3230 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3231 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3232 conditional on presence of gdb_tcl_unknown.
3233 (gdb_finish): Make override undo conditional on presence of
3234 gdb_tcl_unknown.
3235
d2d1ea20
TT
32362020-06-16 Tom Tromey <tom@tromey.com>
3237
3238 * gdb.python/tui-window.py (failwin): New function. Register it
3239 as a TUI window type.
3240 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3241
c802e8a7
GB
32422020-06-16 Gary Benson <gbenson@redhat.com>
3243
3244 * gdb.python/py-nested-maps.c (create_map): Add missing return
3245 value.
3246 (create_map_map): Likewise.
3247
ff08abb8
TBA
32482020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3249
3250 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3251 variable.
3252 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3253 and use the already-defined 'options' variable.
3254
a29d5112
AB
32552020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3256 Tom de Vries <tdevries@suse.de>
3257
3258 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3259 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3260 (gdb_setup_known_globals): New proc.
3261 (gdb_cleanup_globals): New proc.
3262 * lib/gdb.exp (load_lib): New override proc.
3263 (gdb_stdin_log_init): Set var in_file as persistent global.
3264 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3265 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3266 fpc_compiler as persistent global.
3267
8c74a764
TV
32682020-06-12 Tom de Vries <tdevries@suse.de>
3269
3270 * lib/tuiterm.exp (spawn): Rename to ...
3271 (tui_spawn): ... this.
3272 (toplevel): Move rename of spawn ...
3273 (gdb_init_tuiterm): ... here. New proc.
3274 (gdb_finish_tuiterm): New proc.
3275 * lib/gdb.exp (gdb_finish_hooks): New global var.
3276 (gdb_finish): Handle gdb_finish_hooks.
3277 (tuiterm_env): New proc.
3278 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3279 tuiterm_env.
3280 * gdb.tui/basic.exp: Same.
3281 * gdb.tui/corefile-run.exp: Same.
3282 * gdb.tui/empty.exp: Same.
3283 * gdb.tui/list-before.exp: Same.
3284 * gdb.tui/list.exp: Same.
3285 * gdb.tui/main.exp: Same.
3286 * gdb.tui/new-layout.exp: Same.
3287 * gdb.tui/regs.exp: Same.
3288 * gdb.tui/resize.exp: Same.
3289 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3290 * gdb.tui/tui-layout-asm.exp: Same.
3291 * gdb.tui/tui-missing-src.exp: Same.
3292 * gdb.tui/winheight.exp: Same.
3293
26783bce
TV
32942020-06-12 Tom de Vries <tdevries@suse.de>
3295
3296 PR testsuite/26110
3297 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3298 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3299
2b4e6a3f
TT
33002020-06-11 Tom Tromey <tom@tromey.com>
3301
3302 PR gdb/18318:
3303 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3304 floating point tests.
3305
2f33032a
KS
33062020-06-11 Keith Seitz <keiths@redhat.com>
3307
3308 PR gdb/21356
3309 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3310 vla_struct.
3311 Add new struct vla_typedef and union vla_typedef_union and
3312 corresponding instantiation objects.
3313 Initialize new objects.
3314 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3315 and vla_typedef_union_object.
3316 Fixup type for vla_struct_object.
3317
a8baf0a3
TV
33182020-06-11 Tom de Vries <tdevries@suse.de>
3319
3320 * lib/gdb.exp (with_override): New proc, factored out of ...
3321 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3322
7ab96794
TV
33232020-06-10 Tom de Vries <tdevries@suse.de>
3324
3325 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3326
cab5c3b7
SM
33272020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3328
3329 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3330 parameter, update callers.
3331
f8c41851
SM
33322020-06-04 Simon Marchi <simon.marchi@efficios.com>
3333
3334 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3335 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3336 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3337
1c07a73f
TV
33382020-06-04 Tom de Vries <tdevries@suse.de>
3339
3340 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3341
95146b5d
TV
33422020-06-04 Tom de Vries <tdevries@suse.de>
3343
3344 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3345 exp_continue.
3346
0cfcd4f0
TV
33472020-06-04 Tom de Vries <tdevries@suse.de>
3348
3349 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3350
f9b5d5ea
TV
33512020-06-03 Tom de Vries <tdevries@suse.de>
3352
3353 PR symtab/26046
3354 * gdb.cp/breakpoint-locs-2.cc: New test.
3355 * gdb.cp/breakpoint-locs.cc: New test.
3356 * gdb.cp/breakpoint-locs.exp: New file.
3357 * gdb.cp/breakpoint-locs.h: New test.
3358
5144dfba
TV
33592020-06-03 Tom de Vries <tdevries@suse.de>
3360
3361 PR testsuite/25609
3362 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3363 value of global verbose.
3364 * gdb.base/jit-elf.exp: Same.
3365 * gdb.base/jit-reader.exp: Same.
3366
621eacdf
TV
33672020-06-02 Tom de Vries <tdevries@suse.de>
3368
3369 * gdb.dwarf2/multidictionary.exp: Don't use
3370 gdb_spawn_with_cmdline_opts.
3371
1313c56e
AB
33722020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3373
3374 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3375 use_header case.
3376 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3377 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3378 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3379 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3380 * gdb.dwarf2/dw2-inline-header.c: New file.
3381 * gdb.dwarf2/dw2-inline-header.h: New file.
3382
f68f85b5
PA
33832020-05-30 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3386 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3387
678048e8
GB
33882020-05-29 Gary Benson <gbenson@redhat.com>
3389
3390 * gdb.compile/compile-cplus.exp (additional_flags): Also
3391 set when building with clang.
3392 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3393 when building with clang.
3394
9fcafd23
GB
33952020-05-29 Gary Benson <gbenson@redhat.com>
3396
3397 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3398 building with clang.
3399 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3400
735d5a07
GB
34012020-05-29 Gary Benson <gbenson@redhat.com>
3402
3403 * gdb.cp/koenig.exp (prepare_for_testing): Add
3404 additional_flags=-Wno-unused-comparison.
3405 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3406
4ad2c6a0
GB
34072020-05-28 Gary Benson <gbenson@redhat.com>
3408
3409 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3410 statement.
3411
09fe663e
GB
34122020-05-28 Gary Benson <gbenson@redhat.com>
3413
3414 * gdb.cp/classes.exp (prepare_for_testing): Add
3415 additional_flags=-Wno-deprecated-register.
3416 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3417 * gdb.cp/misc.exp: Likewise.
3418
cee00f17
GB
34192020-05-28 Gary Benson <gbenson@redhat.com>
3420
3421 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3422 (test_op_new::operator new): Add return statement.
3423 (test_op_new_array::operator new[]): Likewise.
3424
636edd00
PA
34252020-05-27 Pedro Alves <palves@redhat.com>
3426
3427 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3428 check. Use test_gdb_complete_unique instead of
3429 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3430 test_gdb_complete_multiple instead of
3431 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3432
c2b75043
LM
34332020-05-27 Luis Machado <luis.machado@linaro.org>
3434
3435 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3436 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3437 * gdb.arch/arm-disassembler-options.exp: Likewise.
3438 * gdb.arch/arm-disp-step.exp: Likewise.
3439 * gdb.arch/thumb-prologue.exp: Likewise.
3440 * gdb.base/async.exp: Likewise.
3441 * gdb.base/auxv.exp: Likewise.
3442 * gdb.base/complex-parts.exp: Likewise.
3443 * gdb.base/ena-dis-br.exp: Likewise.
3444 * gdb.base/foll-exec.exp: Likewise.
3445 * gdb.base/permissions.exp: Likewise.
3446 * gdb.base/relocate.exp: Likewise.
3447 * gdb.base/return2.exp: Likewise.
3448 * gdb.base/sigbpt.exp: Likewise.
3449 * gdb.base/siginfo-obj.exp: Likewise.
3450 * gdb.cp/converts.exp: Likewise.
3451 * gdb.cp/exceptprint.exp: Likewise.
3452 * gdb.cp/inherit.exp: Likewise.
3453 * gdb.cp/nsnoimports.exp: Likewise.
3454 * gdb.cp/virtbase2.exp: Likewise.
3455 * gdb.mi/mi-var-cmd.exp: Likewise.
3456 * gdb.mi/var-cmd.c: Likewise.
3457
53a47a3e
TT
34582020-05-26 Tom Tromey <tromey@adacore.com>
3459
3460 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3461
0bc2354b
TT
34622020-05-26 Tom Tromey <tromey@adacore.com>
3463
3464 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3465 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3466 type.
3467 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3468 variable.
3469
0db49895
CBG
34702020-05-26 Christian Biesinger <cbiesinger@google.com>
3471
3472 * Makefile.in: Use = instead of == for the test command
3473 for portability.
3474
40d22035
TV
34752020-05-26 Tom de Vries <tdevries@suse.de>
3476
3477 * gdb.base/gold-gdb-index-2.c: New test.
3478 * gdb.base/gold-gdb-index.c: New test.
3479 * gdb.base/gold-gdb-index.exp: New file.
3480 * gdb.base/gold-gdb-index.h: New test.
3481
043e2e02
TV
34822020-05-25 Tom de Vries <tdevries@suse.de>
3483
3484 * boards/gold-gdb-index.exp: New file.
3485
462f72c5
SM
34862020-05-25 Simon Marchi <simon.marchi@efficios.com>
3487
3488 * boards/simavr.exp: New file.
3489
6cf66e76
SM
34902020-05-25 Simon Marchi <simon.marchi@efficios.com>
3491
3492 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3493 * gdb.base/inferior-args.exp: New file.
3494 * gdb.base/inferior-args.c: New file.
3495
75d04512
SM
34962020-05-25 Simon Marchi <simon.marchi@efficios.com>
3497
3498 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3499 inferior_args. Pass it to gdb_reload.
3500 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3501 inferior_args.
3502 (gdb_reload): Add inferior_args argument.
3503 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3504 pass it to gdbserver_run.
3505 * boards/native-gdbserver.exp: Do not set noargs.
3506 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3507 inferior_args argument.
3508 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3509 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3510 * gdb.base/args.exp: Likewise.
3511
42cf1844
TV
35122020-05-25 Tom de Vries <tdevries@suse.de>
3513
3514 * lib/gdb.exp (exec_is_pie): Add comment.
3515
8f7d38ef
TV
35162020-05-25 Tom de Vries <tdevries@suse.de>
3517
3518 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3519 instead of $binfile in the untested message.
3520
465e1b0f
TV
35212020-05-25 Tom de Vries <tdevries@suse.de>
3522
3523 PR testsuite/26031
3524 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3525
3c5a0e02
TV
35262020-05-25 Tom de Vries <tdevries@suse.de>
3527
3528 * boards/gold.exp: New file.
3529
0a4f5f8c
TT
35302020-05-23 Tom Tromey <tom@tromey.com>
3531
3532 * gdb.base/style.exp: Remove completion styling test.
3533 * lib/gdb-utils.exp (style): Remove completion styles.
3534
eca1f90c
TT
35352020-05-23 Tom Tromey <tom@tromey.com>
3536
3537 * gdb.base/style.exp: Add completion styling test.
3538 * lib/gdb-utils.exp (style): Add completion styles.
3539
7c13f4e8
AB
35402020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3541
3542 * gdb.base/annota1.exp: Update expected results.
3543 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3544 test name.
3545 * gdb.cp/annota3.exp: Update expected results.
3546
41977d16
SM
35472020-05-20 Simon Marchi <simon.marchi@efficios.com>
3548
3549 PR gdb/26016
3550 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3551 against MAP_FAILED.
3552 * gdb.base/coremaker.c (mmapdata): Likewise.
3553 * gdb.base/jit-reader-host.c (main): Likewise.
3554 * gdb.base/sym-file-loader.c (load): Likewise.
3555 (load_shlib): Likewise.
3556
b4757f2e
TT
35572020-05-20 Tom Tromey <tromey@adacore.com>
3558
3559 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3560
9a0bacfb
TV
35612020-05-20 Tom de Vries <tdevries@suse.de>
3562
3563 PR symtab/25833
3564 * gdb.base/with-mf-inc.c: New test.
3565 * gdb.base/with-mf-main.c: New test.
3566 * gdb.base/with-mf.exp: New file.
3567
76571211
TT
35682020-05-19 Tom Tromey <tromey@adacore.com>
3569
3570 * gdb.rust/simple.exp: Restore missing test result.
3571
4cd9f3d5
TV
35722020-05-19 Tom de Vries <tdevries@suse.de>
3573
3574 * gdb.base/gdb-caching-proc.exp: Fix typo.
3575
7d874253
TT
35762020-05-19 Tom Tromey <tromey@adacore.com>
3577
3578 * gdb.rust/simple.exp: Add some test descriptions.
3579 (test_one_slice): Use with_test_prefix.
3580
1d727695
TV
35812020-05-18 Tom de Vries <tdevries@suse.de>
3582
3583 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3584
7f32a4d5
PA
35852020-05-17 Pedro Alves <palves@redhat.com>
3586
3587 PR gdb/25741
3588 * gdb.base/hw-sw-break-same-address.exp: New file.
3589
7cfd74cf
PA
35902020-05-16 Pedro Alves <palves@redhat.com>
3591
3592 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3593 LAST_LOADED_FILE accordingly.
3594
57b4f16e
PW
35952020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3596
3597 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3598
7c05caf7
PW
35992020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3600
3601 * gdb.base/help.exp: Test apropos and help for commands
3602 having aliases. Fixed comments not starting with an
3603 upper-case letter or not finishing with a dot.
3604
7aa1b46f
PW
36052020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3606
3b3aaacb
PW
3607 * gdb.base/alias.exp: Update help output check.
3608
57b4f16e 36092020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3610
7aa1b46f
PW
3611 * gdb.base/default.exp: Update output following fixes.
3612
0605465f
PW
36132020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3614
3615 * gdb.base/alias.exp: Test aliases starting with a prefix of
3616 another alias.
3617
86e4e63d
GB
36182020-05-15 Gary Benson <gbenson@redhat.com>
3619
3620 * gdb.base/info-os.c (main): Add return statement.
3621 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3622 * gdb.base/large-frame-2.c (func): Likewise.
3623 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3624 * gdb.base/pr10179-b.c (foo2): Likewise.
3625 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3626 * gdb.base/watch-cond.c (func): Likewise.
3627 * gdb.multi/goodbye.c (verylongfun): Likewise.
3628 * gdb.multi/hello.c (commonfun): Likewise.
3629 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3630 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3631 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3632 Likewise.
3633 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3634 * gdb.threads/interrupt-while-step-over.c (child_function):
3635 Likewise.
3636 * gdb.trace/actions-changed.c (end): Likewise.
3637
163df4df
GB
36382020-05-15 Gary Benson <gbenson@redhat.com>
3639
3640 * gdb.opencl/callfuncs.exp: Report when test skipped.
3641 * gdb.opencl/convs_casts.exp: Likewise.
3642 * gdb.opencl/datatypes.exp: Likewise.
3643 * gdb.opencl/operators.exp: Likewise.
3644 * gdb.opencl/vec_comps.exp: Likewise.
3645
6dbc505a
TV
36462020-05-15 Tom de Vries <tdevries@suse.de>
3647
3648 * gdb.base/align.exp.in: Rename to ...
3649 * gdb.base/align.exp.tcl: ... this.
3650 * gdb.base/align-c++.exp: Update.
3651 * gdb.base/align-c.exp: Update.
3652 * gdb.base/all-architectures.exp.in: Rename to ...
3653 * gdb.base/all-architectures.exp: ... this.
3654 * gdb.base/all-architectures-0.exp: Update.
3655 * gdb.base/all-architectures-1.exp: Update.
3656 * gdb.base/all-architectures-2.exp: Update.
3657 * gdb.base/all-architectures-3.exp: Update.
3658 * gdb.base/all-architectures-4.exp: Update.
3659 * gdb.base/all-architectures-5.exp: Update.
3660 * gdb.base/all-architectures-6.exp: Update.
3661 * gdb.base/all-architectures-7.exp: Update.
3662 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3663 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3664 * gdb.base/infcall-nested-structs-c++.exp: Update.
3665 * gdb.base/infcall-nested-structs-c.exp: Update.
3666 * gdb.base/info-types.exp.in: Rename to ...
3667 * gdb.base/info-types.exp.tcl: ... this.
3668 * gdb.base/info-types-c++.exp: Update.
3669 * gdb.base/info-types-c.exp: Update.
3670 * gdb.base/max-depth.exp.in: Rename to ...
3671 * gdb.base/max-depth.exp.tcl: ... this.
3672 * gdb.base/max-depth-c++.exp: Update.
3673 * gdb.base/max-depth-c.exp: Update.
3674 * gdb.cp/cpexprs.exp.in: Rename to ...
3675 * gdb.cp/cpexprs.exp.tcl: ... this.
3676 * gdb.cp/cpexprs-debug-types.exp: Update.
3677 * gdb.cp/cpexprs.exp: Update.
3678 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3679 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3680 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3681 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3682 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3683 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3684 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3685 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3686 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3687 * gdb.dwarf2/clang-debug-names.exp: Update.
3688
d1034d78
AB
36892020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3690
3691 * lib/check-test-names.exp: Remove code that prevents this file
3692 loading when tests are run in parallel.
3693
3c5c3649
PA
36942020-05-15 Pedro Alves <palves@redhat.com>
3695
3696 * gdb.multi/multi-kill.exp (start_inferior): Remove
3697 'testpid' parameter. Refer to namespace variable directly.
3698 (testpid): Declare as namespace variable.
3699
272c36b8
PA
37002020-05-15 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.multi/multi-kill.exp: Wrap in namespace.
3703 (start_inferior): Add TESTPID parameter. Use it instead of the
3704 testpid global.
3705 (top level): Define empty TESTPID array, and pass it down to
3706 start_inferior.
3707
02eba61a
TV
37082020-05-14 Tom de Vries <tdevries@suse.de>
3709
3710 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3711 output.
3712
971a3747
TV
37132020-05-14 Tom de Vries <tdevries@suse.de>
3714
3715 * gdb.base/align.exp: Split into ...
3716 * gdb.base/align.exp.in: ...
3717 * gdb.base/align-c++.exp: ...
3718 * gdb.base/align-c.exp: ... these.
3719 * gdb.base/infcall-nested-structs.exp: Split into ...
3720 * gdb.base/infcall-nested-structs.exp.in: ...
3721 * gdb.base/infcall-nested-structs-c++.exp: ...
3722 * gdb.base/infcall-nested-structs-c.exp: ... these.
3723 * gdb.base/info-types.exp: Split into ...
3724 * gdb.base/info-types.exp.in: ...
3725 * gdb.base/info-types-c++.exp: ...
3726 * gdb.base/info-types-c.exp: ... these.
3727 * gdb.base/max-depth.exp: Split into ...
3728 * gdb.base/max-depth.exp.in: ...
3729 * gdb.base/max-depth-c++.exp: ...
3730 * gdb.base/max-depth-c.exp: ... these.
3731 * gdb.cp/infcall-nodebug.exp: Split into ...
3732 * gdb.cp/infcall-nodebug.exp.in: ...
3733 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3734 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3735 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3736 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3737
a05575d3
TBA
37382020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3739 Pedro Alves <palves@redhat.com>
3740
3741 * gdb.multi/multi-exit.c: New file.
3742 * gdb.multi/multi-exit.exp: New file.
3743 * gdb.multi/multi-kill.c: New file.
3744 * gdb.multi/multi-kill.exp: New file.
3745
6ad82919
TBA
37462020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3747
3748 * gdb.base/annota1.exp: Update the expected output.
3749 * gdb.cp/annota2.exp: Ditto.
3750
843f4d93
AB
37512020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3752
3753 * lib/check-test-names.exp: Disable when testing is being run in
3754 parallel.
3755
c7c66341
TV
37562020-05-12 Tom de Vries <tdevries@suse.de>
3757
3758 * gdb.base/jit-elf.exp: Fix string concat.
3759
1b59ca1c
TV
37602020-05-12 Tom de Vries <tdevries@suse.de>
3761
3762 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3763 messages.
3764
b4991d29
TV
37652020-05-12 Tom de Vries <tdevries@suse.de>
3766
3767 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3768
dbb0ab10
TV
37692020-05-12 Tom de Vries <tdevries@suse.de>
3770
3771 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3772 * gdb.ada/mi_catch_ex.exp: Same.
3773 * gdb.ada/mi_catch_ex_hand.exp: Same.
3774
7549fed8
TV
37752020-05-12 Tom de Vries <tdevries@suse.de>
3776
3777 * gdb.fortran/complex.exp: Use with_test_prefix.
3778
af2d5cd8
TV
37792020-05-12 Tom de Vries <tdevries@suse.de>
3780
3781 * gdb.trace/passcount.exp: Fix test-names.
3782
7c121311
TV
37832020-05-12 Tom de Vries <tdevries@suse.de>
3784
3785 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3786
c9f3b40e
TV
37872020-05-12 Tom de Vries <tdevries@suse.de>
3788
3789 * gdb.gdb/complaints.exp: Use with_test_prefix.
3790 * gdb.xml/tdesc-regs.exp: Same.
3791 * gdb.opt/inline-locals.exp: Fix test name.
3792
111b33f0
TV
37932020-05-12 Tom de Vries <tdevries@suse.de>
3794
3795 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3796 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3797 * gdb.dwarf2/implref-struct.exp: Same.
3798 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3799 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3800
ebf47080
SM
38012020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3802
3803 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3804
d30dcd12
AB
38052020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3806
3807 * lib/check-test-names.exp (all_test_names): New module variable.
3808 (counts): Add 'duplicates' field.
3809 (_check_duplicates): New procedure.
3810 (check): Also check for duplicates.
3811 (do_log_summary): Print duplicates count.
3812 (do_reset_vars): Reset counter for duplicate test names, and
3813 discard all know test names.
3814
34584c09
AB
38152020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3816
3817 * lib/gdb.exp: Include check-test-names.exp library.
3818 * lib/check-test-names.exp: New file.
3819
e0002117
TV
38202020-05-11 Tom de Vries <tdevries@suse.de>
3821
3822 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3823
53f539a3
KS
38242020-05-11 Keith Seitz <keiths@redhat.com>
3825
3826 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3827
113ee09a
TV
38282020-05-11 Tom de Vries <tdevries@suse.de>
3829
3830 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3831 * gdb.cp/cpexprs.exp.in: .. here.
3832 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3833 cpexprs.exp.
3834
ba3e70b0
KS
38352020-05-11 Keith Seitz <keiths@redhat.com>
3836
3837 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3838 test names.
3839 * gdb.ada/arrayptr.exp: Likewise.
3840 * gdb.ada/assign_arr.exp: Likewise.
3841 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3842 * gdb.ada/bp_on_var.exp: Likewise.
3843 * gdb.ada/call_pn.exp: Likewise.
3844 * gdb.ada/complete.exp: Likewise.
3845 * gdb.ada/fun_overload_menu.exp: Likewise.
3846 * gdb.ada/funcall_param.exp: Likewise.
3847 * gdb.ada/funcall_ref.exp: Likewise.
3848 * gdb.ada/packed_array_assign.exp: Likewise.
3849 * gdb.ada/same_component_name.exp: Likewise.
3850 * gdb.ada/type_coercion.exp: Likewise.
3851 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3852 * gdb.ada/variant_record_packed_array.exp: Likewise.
3853
3ee6bb11
TV
38542020-05-11 Tom de Vries <tdevries@suse.de>
3855
3856 PR symtab/25941
3857 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3858 out of ...
3859 * gdb.dwarf2/clang-debug-names.exp: ... here.
3860 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3861 clang-debug-names.exp.in.
3862 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3863 * gdb.dwarf2/clang-debug-names-2.c: New test.
3864
86cd6bc8
AKS
38652020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3866
3867 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3868 (fortran_runto_main): New Proc, fortran version of runto_main.
3869 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3870 * gdb.fortran/array-bounds.exp: Likewise.
3871 * gdb.fortran/array-slices.exp: Likewise.
3872 * gdb.fortran/block-data.exp: Likewise.
3873 * gdb.fortran/charset.exp: Likewise.
3874 * gdb.fortran/common-block.exp: Likewise.
3875 * gdb.fortran/complex.exp: Likewise.
3876 * gdb.fortran/derived-type-function.exp: Likewise.
3877 * gdb.fortran/derived-type.exp: Likewise.
3878 * gdb.fortran/info-modules.exp: Likewise.
3879 * gdb.fortran/info-types.exp: Likewise.
3880 * gdb.fortran/intrinsics.exp: Likewise.
3881 * gdb.fortran/library-module.exp: Likewise.
3882 * gdb.fortran/logical.exp: Likewise.
3883 * gdb.fortran/max-depth.exp: Likewise.
3884 * gdb.fortran/module.exp: Likewise.
3885 * gdb.fortran/multi-dim.exp: Likewise.
3886 * gdb.fortran/nested-funcs.exp: Likewise.
3887 * gdb.fortran/print-formatted.exp: Likewise.
3888 * gdb.fortran/print_type.exp: Likewise.
3889 * gdb.fortran/printing-types.exp: Likewise.
3890 * gdb.fortran/ptr-indentation.exp: Likewise.
3891 * gdb.fortran/ptype-on-functions.exp: Likewise.
3892 * gdb.fortran/subarray.exp: Likewise.
3893 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3894 * gdb.fortran/vla-datatypes.exp: Likewise.
3895 * gdb.fortran/vla-history.exp: Likewise.
3896 * gdb.fortran/vla-ptr-info.exp: Likewise.
3897 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3898 * gdb.fortran/vla-ptype.exp: Likewise.
3899 * gdb.fortran/vla-sizeof.exp: Likewise.
3900 * gdb.fortran/vla-type.exp: Likewise.
3901 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3902 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3903 * gdb.fortran/vla-value-sub.exp: Likewise.
3904 * gdb.fortran/vla-value.exp: Likewise.
3905 * gdb.fortran/whatis_type.exp: Likewise.
3906 * gdb.mi/mi-var-child-f.exp: Likewise.
3907
6dc55ce9 39082020-05-09 Tom de Vries <tdevries@suse.de>
3909
3910 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3911
283cb58c
TV
39122020-05-08 Tom de Vries <tdevries@suse.de>
3913
3914 * gdb.dwarf2/clang-debug-names.c: New test.
3915 * gdb.dwarf2/clang-debug-names.exp: New file.
3916
ac4a4f1c
SM
39172020-05-06 Simon Marchi <simon.marchi@efficios.com>
3918
3919 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3920 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3921
24fe640b
TV
39222020-05-06 Tom de Vries <tdevries@suse.de>
3923
3924 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3925 breakpoint is at a "recommended breakpoint location".
3926 * gdb.reverse/consecutive-reverse.exp: Same.
3927
0d8683a3
TV
39282020-05-06 Tom de Vries <tdevries@suse.de>
3929
3930 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3931 address.
3932
b8983c46
TV
39332020-05-06 Tom de Vries <tdevries@suse.de>
3934
3935 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3936
abf6d805
TV
39372020-05-06 Tom de Vries <tdevries@suse.de>
3938
3939 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3940 info for r.
3941
0fc2a808
TV
39422020-05-06 Tom de Vries <tdevries@suse.de>
3943
3944 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3945 necessary.
3946
873dd427
TV
39472020-05-06 Tom de Vries <tdevries@suse.de>
3948
3949 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3950 void.
3951
7c99e7e2
TV
39522020-05-06 Tom de Vries <tdevries@suse.de>
3953
3954 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3955 of ...
3956 * gdb.base/async.exp: ... here.
3957 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3958 "recommended breakpoint location".
3959
6173d6a6
TV
39602020-05-06 Tom de Vries <tdevries@suse.de>
3961
3962 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3963
6015a067
TV
39642020-05-04 Tom de Vries <tdevries@suse.de>
3965
3966 * gdb.base/async.exp: Check whether instruction addresses are a
3967 "recommended breakpoint location".
3968
3b6acaee
TT
39692020-05-03 Tom Tromey <tom@tromey.com>
3970
3971 * gdb.base/sepdebug.exp: Remove "catch" test.
3972 * gdb.base/break.exp: Remove "catch" test.
3973 * gdb.base/default.exp: Update expected output.
3974
5beb4d17
TV
39752020-05-02 Tom de Vries <tdevries@suse.de>
3976
3977 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3978 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3979 * gdb.arch/i386-mpx-map.exp: Same.
3980 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3981 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3982 * gdb.arch/i386-mpx.exp: Same.
3983
8caf140d
TV
39842020-05-02 Tom de Vries <tdevries@suse.de>
3985
3986 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3987
693196cb
TV
39882020-05-01 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.ada/operator_bp.exp: Allow more than required amount of
3991 breakpoint.
3992
53ae0aa9
TV
39932020-05-01 Tom de Vries <tdevries@suse.de>
3994
3995 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3996
ee9d1e5f
HD
39972020-04-30 Hannes Domani <ssbssa@yahoo.de>
3998
3999 PR gdb/18706
4000 * gdb.cp/stub-array-size.cc: New test.
4001 * gdb.cp/stub-array-size.exp: New file.
4002 * gdb.cp/stub-array-size.h: New test.
4003 * gdb.cp/stub-array-size2.cc: New test.
4004
d5cf82c0
HD
40052020-04-30 Hannes Domani <ssbssa@yahoo.de>
4006
4007 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4008 output to the new format.
4009
42e165c3
SM
40102020-04-29 Simon Marchi <simon.marchi@efficios.com>
4011
4012 * gdb.base/break.exp: Use with_test_prefix.
4013
6e4e3fe1
TV
40142020-04-29 Tom de Vries <tdevries@suse.de>
4015
4016 * lib/gdb.exp (debug_types): New proc.
4017 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4018 * gdb.python/py-symtab.exp: Same.
4019
d642b692
HD
40202020-04-29 Hannes Domani <ssbssa@yahoo.de>
4021
4022 PR gdb/17320
4023 * gdb.base/pretty-array.c: New test.
4024 * gdb.base/pretty-array.exp: New file.
4025
ea90f227
TV
40262020-04-29 Tom de Vries <tdevries@suse.de>
4027
4028 PR symtab/25889
4029 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4030 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4031 and include cpexprs.exp.
4032
a65189c9
TV
40332020-04-28 Mark Williams <mark@myosotissp.com>
4034
4035 PR gdb/24480
4036 * dw4-toplevel-types.exp: Test for top level types.
4037 * dw4-toplevel-types.cc: Test for top level types.
4038
32d1f47a
TBA
40392020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4040
4041 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4042 (theads -> threads).
4043
56a4f5a1
TV
40442020-04-28 Tom de Vries <tdevries@suse.de>
4045
4046 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4047
0b2f8a3b
TV
40482020-04-28 Tom de Vries <tdevries@suse.de>
4049
4050 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4051
5390c717
TV
40522020-04-28 Tom de Vries <tdevries@suse.de>
4053
4054 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4055
15cd93d0
TV
40562020-04-28 Tom de Vries <tdevries@suse.de>
4057
4058 * gdb.dwarf2/main-foo.c: New test.
4059 * gdb.dwarf2/struct-with-sig.exp: New file.
4060
d472f0fb
TV
40612020-04-25 Tom de Vries <tdevries@suse.de>
4062
4063 * boards/debug-types.exp: New file.
4064
8d840e05
AB
40652020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4066
4067 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4068
bcfe6157
TT
40692020-04-24 Tom Tromey <tom@tromey.com>
4070
4071 PR symtab/12707:
4072 * gdb.python/py-symbol.exp: Update expected results for
4073 linkage_name test.
4074 * gdb.cp/print-demangle.exp: New file.
4075 * gdb.base/c-linkage-name.exp: Fix test.
4076 * gdb.guile/scm-symbol.exp: Update expected results for
4077 linkage_name test.
4078
f049a313
TT
40792020-04-24 Tom Tromey <tom@tromey.com>
4080
4081 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4082 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4083 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4084 assembler.
4085
7cf28874
TV
40862020-04-24 Tom de Vries <tdevries@suse.de>
4087
4088 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4089 C++.
4090
dac2fef7
TT
40912020-04-24 Tom Tromey <tromey@adacore.com>
4092
4093 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4094 values.
4095 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4096 values. Update test for minimal encodings.
4097 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4098 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4099 values. Update test for minimal encodings.
4100
1acda803
TT
41012020-04-24 Tom Tromey <tromey@adacore.com>
4102
4103 PR python/23662:
4104 * gdb.ada/variant.exp: Add Python checks.
4105 * gdb.rust/simple.exp: Add dynamic type checks.
4106
adfb9815
TT
41072020-04-24 Tom Tromey <tromey@adacore.com>
4108
4109 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4110 Make array type matching more lax.
4111 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4112 * gdb.ada/mi_variant.exp: New file.
4113 * gdb.ada/mi_variant/pck.ads: New file.
4114 * gdb.ada/mi_variant/pkg.adb: New file.
4115 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4116 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4117
7d79de9a
TT
41182020-04-24 Tom Tromey <tromey@adacore.com>
4119
4120 * gdb.ada/variant.exp: Add dynamic field offset tests.
4121 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4122 * gdb.ada/variant/pkg.adb: Add new variables.
4123
f8e89861
TT
41242020-04-24 Tom Tromey <tromey@adacore.com>
4125
4126 * gdb.ada/variant.exp: New file
4127 * gdb.ada/variant/pkg.adb: New file
4128 * gdb.ada/variant/pck.adb: New file
4129
86e887ae
TV
41302020-04-24 Tom de Vries <tdevries@suse.de>
4131
4132 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4133
88428775
TV
41342020-04-24 Tom de Vries <tdevries@suse.de>
4135
4136 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4137 flags.
4138
4e86f6e7
TV
41392020-04-24 Tom de Vries <tdevries@suse.de>
4140
4141 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4142
2016d3e6
TV
41432020-04-24 Tom de Vries <tdevries@suse.de>
4144
4145 * lib/gdb.exp (default_gdb_start): Handle eof.
4146 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4147 failure.
4148 * gdb.base/readnever.exp: Handle clean_restart failure.
4149
70bc38f5
TV
41502020-04-23 Tom de Vries <tdevries@suse.de>
4151
4152 * gdb.base/decl-before-def.exp: Run to main and print a again.
4153
de82891c
TV
41542020-04-23 Tom de Vries <tdevries@suse.de>
4155
4156 * gdb.base/decl-before-def-decl.c: New test.
4157 * gdb.base/decl-before-def-def.c: New test.
4158 * gdb.base/decl-before-def.exp: New file.
4159
96038148
TV
41602020-04-23 Tom de Vries <tdevries@suse.de>
4161
4162 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4163
54ac3df1
TV
41642020-04-22 Tom de Vries <tdevries@suse.de>
4165
4166 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4167 debug_info_offset.
4168 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4169 before $objsfile in the line line.
4170
714534e1
TV
41712020-04-22 Tom de Vries <tdevries@suse.de>
4172
4173 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4174
16a7dbf4
MS
41752020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4176
4177 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4178 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4179 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4180 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4181 * gdb.base/jit-protocol.h: Update definitions to match all usage
4182 contexts.
4183
41842020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4185
4186 * gdb.base: Rename all jit related test and source files.
4187
41882020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4189
4190 * gdb.base/jit-reader.exp: Relax register output check.
4191
317d2668
TV
41922020-04-22 Tom de Vries <tdevries@suse.de>
4193
4194 PR symtab/25764
4195 * gdb.base/psym-external-decl-2.c: New test.
4196 * gdb.base/psym-external-decl.c: New test.
4197 * gdb.base/psym-external-decl.exp: New file.
4198 * gdb.threads/tls.exp: Add PR25807 kfail.
4199
eea9e357
TV
42002020-04-22 Tom de Vries <tdevries@suse.de>
4201
4202 PR symtab/25801
4203 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4204 in "info source" output.
4205
3d5afab3
TV
42062020-04-22 Tom de Vries <tdevries@suse.de>
4207
4208 PR symtab/25700
4209 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4210 symtab for imported_unit.c.
4211
b32102f6
GB
42122020-04-21 Gary Benson <gbenson@redhat.com>
4213
4214 * gdb.base/advance.c (func): New argument, to match call site.
4215 (func2, func3): Add return statements.
4216
d43b7a2d
TBA
42172020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4218
4219 * gdb.multi/run-only-second-inf.c: New file.
4220 * gdb.multi/run-only-second-inf.exp: New file.
4221
d89edf9b
MM
42222020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4223
4224 * gdb.btrace/multi-inferior.c: New test.
4225 * gdb.btrace/multi-inferior.exp: New file.
4226
1a476b6d
MM
42272020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4228
4229 * gdb.btrace/enable-new-thread.c: New test.
4230 * gdb.btrace/enable-new-thread.exp: New file.
4231
4778a5f8
TV
42322020-04-21 Tom de Vries <tdevries@suse.de>
4233
4234 PR gdb/25471
4235 * gdb.threads/killed-outside.c: New test.
4236 * gdb.threads/killed-outside.exp: New file.
4237
9b2c992c
GB
42382020-04-20 Gary Benson <gbenson@redhat.com>
4239
4240 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4241 * gdb.base/nested-subp2.exp: Likewise.
4242 * gdb.base/nested-subp3.exp: Likewise.
4243
b5d1d6f7
GB
42442020-04-20 Gary Benson <gbenson@redhat.com>
4245
4246 * gdb.base/nested-subp1.exp: Disable test when using clang.
4247 * gdb.base/nested-subp2.exp: Likewise.
4248 * gdb.base/nested-subp3.exp: Likewise.
4249
25230285
GB
42502020-04-20 Gary Benson <gbenson@redhat.com>
4251
4252 * gdb.cp/exception.cc: Fix compilation error with clang.
4253
fa93cc8f
GB
42542020-04-20 Gary Benson <gbenson@redhat.com>
4255
809730f3 4256 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4257
e0c45f30
GB
42582020-04-20 Gary Benson <gbenson@redhat.com>
4259
4260 * gdb.base/jit-main.c: Fix compilation error with clang.
4261
4ddfec93
KR
42622020-04-17 Kamil Rytarowski <n54@gmx.com>
4263
4264 * gdb.base/attach-twice.c: Include "sys/types.h".
4265 (PTRACE_ATTACH): Add fallback definition.
4266 (main): Pass `0' to the 4th argument of `ptrace'.
4267
2bed205e
KR
42682020-04-17 Kamil Rytarowski <n54@gmx.com>
4269
4270 * gdb.base/fork-running-state.c: Include "signal.h".
4271
0743fc83
TT
42722020-04-17 Tom Tromey <tromey@adacore.com>
4273
4274 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4275 Update tests.
4276 * gdb.btrace/cpu.exp: Update tests.
4277 * gdb.base/maint.exp: Update tests.
4278 * gdb.base/default.exp: Update tests.
4279 * gdb.base/completion.exp: Update tests.
4280
efba5c23
TV
42812020-04-16 Tom de Vries <tdevries@suse.de>
4282
4283 PR symtab/25791
4284 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4285 (ensure_gdb_index): and factor out and move ...
4286 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4287 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4288
d191d716
TV
42892020-04-16 Tom de Vries <tdevries@suse.de>
4290
4291 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4292 loading exec.
4293
99f1bc6a
AB
42942020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4295
4296 * gdb.base/many-completions.exp: New file.
4297
194d088f
TV
42982020-04-14 Tom de Vries <tdevries@suse.de>
4299
4300 PR symtab/25718
4301 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4302
c1a66c06
TV
43032020-04-14 Tom de Vries <tdevries@suse.de>
4304
4305 PR symtab/25720
4306 * gdb.base/maint-expand-symbols-header-file.c: New test.
4307 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4308 * gdb.base/maint-expand-symbols-header-file.h: New test.
4309
21b0982c
AB
43102020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4311
4312 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4313 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4314 get_func_info.
4315 (get_func_info): Delete.
4316 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4317 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4318 * lib/dwarf.exp (get_func_info): New function.
4319
dd1cab06
TV
43202020-04-13 Tom de Vries <tdevries@suse.de>
4321
4322 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4323 to what find_gnatmake does.
4324
71ea2b6b
TV
43252020-04-10 Tom de Vries <tdevries@suse.de>
4326
4327 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4328 -readnow.
4329
bdfc1e8a
TV
43302020-04-10 Tom de Vries <tdevries@suse.de>
4331
4332 PR cli/25808
4333 * gdb.base/style.c: Add leading newlines.
4334 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4335 Check listing of main's one-line body.
4336
14ca8ecf
TV
43372020-04-08 Tom de Vries <tdevries@suse.de>
4338
4339 * lib/gdb.exp (psymtabs_p): New proc.
4340 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4341 importing unit" unsupported if there are no partial symbols.
4342
e21d048f
TV
43432020-04-08 Tom de Vries <tdevries@suse.de>
4344
4345 PR testsuite/25760
4346 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4347
25c11aca
TV
43482020-04-07 Tom de Vries <tdevries@suse.de>
4349
4350 PR symtab/25796
4351 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4352
5707e24b
TV
43532020-04-07 Tom de Vries <tdevries@suse.de>
4354
4355 * gdb.base/check-psymtab.c: New test.
4356 * gdb.base/check-psymtab.exp: New file.
4357
6ee448cc
TT
43582020-04-06 Tom Tromey <tromey@adacore.com>
4359
4360 * gdb.ada/variant-record/proc.adb: New file.
4361 * gdb.ada/variant-record/value.adb: New file.
4362 * gdb.ada/variant-record/value.s: New file.
4363 * gdb.ada/variant-record.exp: New file.
4364
9e7c9a03
HD
43652020-04-03 Hannes Domani <ssbssa@yahoo.de>
4366
4367 PR gdb/25325
4368 * gdb.cp/typed-enum.cc: New test.
4369 * gdb.cp/typed-enum.exp: New file.
4370
c90d28ac
AB
43712020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4372
4373 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4374 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4375 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4376 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4377 * gdb.opt/inline-small-func.c: New file.
4378 * gdb.opt/inline-small-func.exp: New file.
4379 * gdb.opt/inline-small-func.h: New file.
4380
34e9a9fa
AB
43812020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4384 function.
4385
6a354911
AB
43862020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4387
4388 * lib/dwarf.exp (function_range): Allow compiler options to be
4389 specified.
4390
880d9777
TV
43912020-04-02 Tom de Vries <tdevries@suse.de>
4392
4393 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4394 __attribute__((always_inline)).
4395 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4396
f32682ea
TV
43972020-04-02 Tom de Vries <tdevries@suse.de>
4398
4399 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4400 (gdbserver_gdb_exit): ... here. Add timeout warning.
4401 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4402 (connect_target_extended_remote): Append new server_spawn_id to
4403 server_spawn_ids.
4404 (cleanup): New proc.
4405 (setup, <toplevel>): Call cleanup.
4406
d3214198
TV
44072020-04-02 Tom de Vries <tdevries@suse.de>
4408
4409 * gdb.base/main-psymtab.exp: New file.
4410
cc77ed24
TV
44112020-04-02 Tom de Vries <tdevries@suse.de>
4412
4413 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4414
3638a098
TT
44152020-04-01 Tom Tromey <tom@tromey.com>
4416
4417 * gdb.base/complex-parts.exp: Add type tests.
4418
c34e8714
TT
44192020-04-01 Tom Tromey <tom@tromey.com>
4420
4421 * gdb.base/complex-parts.exp: Add arithmetic tests.
4422
981c08ce
TT
44232020-04-01 Tom Tromey <tom@tromey.com>
4424
4425 * gdb.compile/compile.exp: Update.
4426 * gdb.compile/compile-cplus.exp: Update.
4427 * gdb.base/varargs.exp: Update.
4428 * gdb.base/floatn.exp: Update.
4429 * gdb.base/endianity.exp: Update.
4430 * gdb.base/callfuncs.exp (do_function_calls): Update.
4431 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4432 (complex_float_integral_args): Update.
4433 * gdb.base/complex.exp: Update.
4434 * gdb.base/complex-parts.exp: Update.
4435
3d1cfd43
TT
44362020-04-01 Tom Tromey <tromey@adacore.com>
4437
4438 * gdb.rust/union.rs: New file.
4439 * gdb.rust/union.exp: New file.
4440 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4441 (main): Update.
4442 * gdb.rust/simple.exp: Move union tests to union.exp.
4443
e033dfa9
TT
44442020-04-01 Tom Tromey <tromey@adacore.com>
4445
4446 * gdb.rust/simple.rs (main): Remove "y0".
4447
53cccef1
TBA
44482020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4449
4450 * gdb.multi/stop-all-on-exit.c: New test.
4451 * gdb.multi/stop-all-on-exit.exp: New file.
4452
60e22c1e
HD
44532020-04-01 Hannes Domani <ssbssa@yahoo.de>
4454
4455 PR gdb/24789
4456 * gdb.cp/misc.cc: Add integer reference variable.
4457 * gdb.cp/misc.exp: Add test.
4458
e139a727
TBA
44592020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4460
4461 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4462 scenario to cover execution until the end and also the case
4463
16b0db75
TV
44642020-03-31 Tom de Vries <tdevries@suse.de>
4465
4466 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4467 c. Use "maint info symtabs" to check symtab expansion.
4468
c0502da6
TV
44692020-03-30 Tom de Vries <tdevries@suse.de>
4470
4471 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4472 unsupported.
4473 (verify_psymtab_expanded): Move ...
4474 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4475 test.
4476 (readnow): New proc.
4477
5935fd15
AB
44782020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4479
4480 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4481 with $hex.
4482
1773be9e
TT
44832020-03-20 Tom Tromey <tromey@adacore.com>
4484
4485 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4486
70304be9
TT
44872020-03-20 Tom Tromey <tromey@adacore.com>
4488
4489 * gdb.ada/sub_variant/subv.adb: New file.
4490 * gdb.ada/sub_variant.exp: New file.
4491
0dd7b8f7
TV
44922020-03-20 Tom de Vries <tdevries@suse.de>
4493
4494 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4495 first break fails.
4496 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4497
cada5fc9
AB
44982020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4499
4500 * gdb.server/exit-multiple-threads.c: New file.
4501 * gdb.server/exit-multiple-threads.exp: New file.
4502
6b8c53f2
AB
45032020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4504
4505 * gdb.fortran/mixed-lang-stack.c: New file.
4506 * gdb.fortran/mixed-lang-stack.cpp: New file.
4507 * gdb.fortran/mixed-lang-stack.exp: New file.
4508 * gdb.fortran/mixed-lang-stack.f90: New file.
4509
19a2740f
AB
45102020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4511
4512 * gdb.linespec/cp-completion-aliases.cc: New file.
4513 * gdb.linespec/cp-completion-aliases.exp: New file.
4514
d8c8b848
TV
45152020-03-19 Tom de Vries <tdevries@suse.de>
4516
4517 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4518 more precise.
4519
a9933ccf
TV
45202020-03-18 Tom de Vries <tdevries@suse.de>
4521
4522 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4523 * gdb.dwarf2/break-inline-psymtab.c: New test.
4524 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4525
2f89101f
TV
45262020-03-16 Tom de Vries <tdevries@suse.de>
4527
4528 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4529 cache_verify and cache_verify_proc.
4530
6b9374f1
TV
45312020-03-15 Tom de Vries <tdevries@suse.de>
4532
4533 * gdb.server/solib-list.exp: Handle
4534 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4535
eaeaf44c
TV
45362020-03-15 Tom de Vries <tdevries@suse.de>
4537
4538 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4539 objfiles".
4540
3293bbaf
TT
45412020-03-14 Tom Tromey <tom@tromey.com>
4542
4543 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4544
ab44624c
TV
45452020-03-14 Tom de Vries <tdevries@suse.de>
4546
4547 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4548
54c43825
TV
45492020-03-14 Tom de Vries <tdevries@suse.de>
4550
4551 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4552 result in line-by-line fashion.
4553
2ac70237
TV
45542020-03-14 Tom de Vries <tdevries@suse.de>
4555
4556 * lib/gdb.exp (supports_statement_frontiers): New proc.
4557 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4558
09546b56
TV
45592020-03-14 Tom de Vries <tdevries@suse.de>
4560
4561 * gdb.base/printcmds.exp: Add missing quoting for "print
4562 teststring2".
4563
a1f6a07c
TT
45642020-03-13 Tom Tromey <tom@tromey.com>
4565
4566 * gdb.base/printcmds.exp (test_print_strings): Add regression
4567 test.
4568 * gdb.base/printcmds.c (charptr): New typedef.
4569 (teststring2): New global.
4570
1b83d09c
AB
45712020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4572
4573 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4574 full path in the test name.
4575 (test_ld): Add some with_test_prefix blocks to make test names
4576 unique.
4577
2d61316c
TV
45782020-03-13 Tom de Vries <tdevries@suse.de>
4579
4580 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4581
2e9145ac
TV
45822020-03-13 Tom de Vries <tdevries@suse.de>
4583
4584 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4585
96c7f873
TV
45862020-03-13 Tom de Vries <tdevries@suse.de>
4587
4588 PR symtab/25646
4589 * gdb.dwarf2/imported-unit.exp: Add test.
4590
49ba92c0
TV
45912020-03-13 Tom de Vries <tdevries@suse.de>
4592
4593 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4594 (var1, var2): New variable.
4595 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4596 matching symbols.
4597
301b21e0
TV
45982020-03-13 Tom de Vries <tdevries@suse.de>
4599
4600 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4601 (Term::command): Use prompt prefix.
4602 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4603 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4604 command_no_prompt_prefix instead of prefix.
4605 * gdb.tui/tui-layout-asm.exp: Same.
4606
3f512721
SM
46072020-03-12 Simon Marchi <simon.marchi@efficios.com>
4608
4609 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4610
40310f30
SM
46112020-03-12 Simon Marchi <simon.marchi@efficios.com>
4612
4613 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4614 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4615 on" while stepping over the test instruction, match printed
4616 message.
4617
09252140
TV
46182020-03-12 Tom de Vries <tdevries@suse.de>
4619
4620 * gdb.base/info-types.exp: Use exp_continue during matching of output
4621 of "info types".
4622
14e9c72c
TV
46232020-03-12 Tom de Vries <tdevries@suse.de>
4624
4625 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4626
e515d67e
TV
46272020-03-12 Tom de Vries <tdevries@suse.de>
4628
4629 * gdb.fortran/module.exp: Use exp_continue during matching of output
4630 of "info variable -n".
4631
307eafd8
TV
46322020-03-12 Tom de Vries <tdevries@suse.de>
4633
4634 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4635 gdb.dwarf2/dw2-ranges-base.c.
4636
9a2de3fc
TV
46372020-03-12 Tom de Vries <tdevries@suse.de>
4638
4639 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4640 in presence of GLIBC debuginfo.
4641
3217502e
TV
46422020-03-12 Tom de Vries <tdevries@suse.de>
4643
4644 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4645 $core.
4646
1281424c
TV
46472020-03-12 Tom de Vries <tdevries@suse.de>
4648
4649 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4650 more precise.
4651
038b97fc
SM
46522020-03-11 Simon Marchi <simon.marchi@efficios.com>
4653
4654 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4655 from Unix to Windows path.
4656
5308d1e7
TV
46572020-03-11 Tom de Vries <tdevries@suse.de>
4658
4659 * gdb.ada/minsyms.exp: Set language to ada.
4660
f870f78f
TV
46612020-03-11 Tom de Vries <tdevries@suse.de>
4662
4663 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4664
5a13315d
TV
46652020-03-11 Tom de Vries <tdevries@suse.de>
4666
4667 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4668
976862ed
TT
46692020-03-11 Tom Tromey <tromey@adacore.com>
4670
4671 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4672
7462c383
TV
46732020-03-11 Tom de Vries <tdevries@suse.de>
4674
4675 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4676
1c6c46a0
TV
46772020-03-11 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.base/break-interp.exp: Limit verbose scope.
4680
44f41bb7
TV
46812020-03-11 Tom de Vries <tdevries@suse.de>
4682
4683 * gdb.fortran/logical.f90: Define variable with character type.
4684 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4685
b76f3a42
TV
46862020-03-11 Tom de Vries <tdevries@suse.de>
4687
4688 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4689
1c33af77
TV
46902020-03-11 Tom de Vries <tdevries@suse.de>
4691
4692 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4693 symtabs.
4694
8c95582d
AB
46952020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4696 Bernd Edlinger <bernd.edlinger@hotmail.de>
4697
4698 * gdb.cp/step-and-next-inline.cc: New file.
4699 * gdb.cp/step-and-next-inline.exp: New file.
4700 * gdb.cp/step-and-next-inline.h: New file.
4701 * gdb.dwarf2/dw2-is-stmt.c: New file.
4702 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4703 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4704 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4705 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4706
cecf8547
AB
47072020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4708
4709 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4710 is-stmt flag in the line table.
4711
0ba678c9
TV
47122020-03-09 Tom de Vries <tdevries@suse.de>
4713
4714 * lib/gdb.exp (cached_file): Create cache dir.
4715
72fbdf83
TV
47162020-03-07 Tom de Vries <tdevries@suse.de>
4717
4718 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4719 * gdb.cp/rvalue-ref-params.exp: Same.
4720
436b5e99
TV
47212020-03-06 Tom de Vries <tdevries@suse.de>
4722
4723 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4724 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4725
09f2921c
TV
47262020-03-06 Tom de Vries <tdevries@suse.de>
4727
4728 * README: Fix "the the".
4729 * gdb.base/dprintf.exp: Same.
4730
50a3cc5d
TV
47312020-03-05 Tom de Vries <tdevries@suse.de>
4732
4733 * gdb.base/maint.exp: Update "main print statistics" expected output.
4734
0a709cba
AKS
47352020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4736
4737 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4738 (fortran_int8): Likewise.
4739 (fortran_real4): Likewise.
4740 (fortran_real8): Likewise.
4741 (fortran_complex4): Likewise.
4742 (fortran_logical4): Likewise.
4743 (fortran_character1): Likewise.
4744
5e5d66b6
AB
47452020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4746
4747 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4748 printed as true.
4749
7b973adc
SDJ
47502020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4751
4752 * gdb.base/printcmds.exp: Add test to verify printf of a
4753 variable holding an address.
4754
478e490a
TV
47552020-03-03 Tom de Vries <tdevries@suse.de>
4756
4757 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4758
1ef44e86
TV
47592020-03-03 Tom de Vries <tdevries@suse.de>
4760
4761 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4762 gdb_test_multiple call.
4763
b98cc2cf
TV
47642020-03-03 Tom de Vries <tdevries@suse.de>
4765
4766 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4767 gdb_test_multiple calls.
4768
63e163f2
AB
47692020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4770
4771 * gdb.base/default.exp: Remove test of 'set history filename'.
4772 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4773 filename to the empty string.
4774 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4775 and GDBHISTSIZE.
4776
24ed6739
AB
47772020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4778
4779 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4780 disabled.
4781
590003dc 47822020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4783 Tom de Vries <tdevries@suse.de>
590003dc
TV
4784
4785 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4786 -prompt prefix, before user_code argument. Add -lbl option likewise.
4787 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4788 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4789 argument.
4790 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4791 have "\r\n" at start-of-line, instead of at end-of-line.
4792
f5e46084
SM
47932020-02-28 Simon Marchi <simon.marchi@efficios.com>
4794
4795 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4796 libinproctrace.so.
4797
f7a7000d
LM
47982020-02-28 Luis Machado <luis.machado@linaro.org>
4799
4800 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4801 to "p/x".
4802
718e0816
LM
48032020-02-28 Luis Machado <luis.machado@linaro.org>
4804
4805 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4806 asm/ptrace.h and error.h.
4807
13c3a74a
TV
48082020-02-28 Tom de Vries <tdevries@suse.de>
4809
4810 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4811 (struct wrapper, do_something, mundane/symada__cS): Move ...
4812 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4813 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4814 Update "print symada__cS before partial symtab expansion" regexp.
4815 Update breakpoint location. Flush symbol cache after expansion.
4816
85d2d5bb
LM
48172020-02-28 Luis Machado <luis.machado@linaro.org>
4818
4819 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4820
3608f86c
TV
48212020-02-27 Tom de Vries <tdevries@suse.de>
4822
4823 * config/sid.exp: Remove unused globals.
4824 * gdb.base/attach.exp: Same.
4825 * gdb.base/catch-load.exp: Same.
4826 * gdb.base/dbx.exp: Same.
4827 * lib/gdb.exp: Same.
4828 * lib/mi-support.exp: Same.
4829 * lib/prompt.exp: Same.
4830
c8d4f6df
TV
48312020-02-27 Tom de Vries <tdevries@suse.de>
4832
4833 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4834 not set.
4835
0d79cdc4
AM
48362020-02-26 Aaron Merey <amerey@redhat.com>
4837
4838 * gdb.debuginfod: New directory for debuginfod tests.
4839 * gdb.debuginfod/main.c: New test file.
4840 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4841
0dce4280
TV
48422020-02-26 Tom de Vries <tdevries@suse.de>
4843
4844 PR gdb/25603
4845 * gdb.base/persistent-lang.cc: New test.
4846 * gdb.base/persistent-lang.exp: New file.
4847
9e80cfa1
AB
48482020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4849
4850 * gdb.fortran/derived-type-striding.exp: Add a new test.
4851 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4852 new test.
4853
2078dbb2
AB
48542020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4855
4856 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4857 names.
4858
70d49700
TV
48592020-02-25 Tom de Vries <tdevries@suse.de>
4860
4861 PR go/18926
4862 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4863
a88ef40d
TV
48642020-02-24 Tom de Vries <tdevries@suse.de>
4865
4866 PR gdb/25592
4867 * gdb.base/info-locals-unused-static-var.c: New test.
4868 * gdb.base/info-locals-unused-static-var.exp: New file.
4869
01b1af32
TT
48702020-02-22 Tom Tromey <tom@tromey.com>
4871
4872 * gdb.python/tui-window.exp: New file.
4873 * gdb.python/tui-window.py: New file.
4874
7c043ba6
TT
48752020-02-22 Tom Tromey <tom@tromey.com>
4876
4877 PR tui/17850:
4878 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4879 tests.
4880
c22fef7e
TT
48812020-02-22 Tom Tromey <tom@tromey.com>
4882
4883 * gdb.tui/new-layout.exp: Add sub-layout tests.
4884
ee325b61
TT
48852020-02-22 Tom Tromey <tom@tromey.com>
4886
4887 * gdb.tui/new-layout.exp: New file.
4888
3f0cbb04
TT
48892020-02-22 Tom Tromey <tom@tromey.com>
4890
4891 * gdb.rust/rust-style.rs: New file.
4892 * gdb.rust/rust-style.exp: New file.
4893 * gdb.base/style.exp: Test structure printing.
4894 * gdb.base/style.c (struct some_struct): New type.
4895 (enum etype): New type.
4896 (struct_value): New global.
4897
75525152
TV
48982020-02-21 Tom de Vries <tdevries@suse.de>
4899
4900 PR go/18926
4901 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4902 Remove blanket xfails. Use message argument for gdb_breakpoint.
4903 Make continuing to breakpoint test conditional on setting breakpoint.
4904 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4905 DW_AT_name attribute. Add xfail for GCC PR93866.
4906
bd360d30
AB
49072020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4908
4909 * gdb.dwarf2/cpp-linkage-name.c: New file.
4910 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4911
c7adb09f 49122020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4913
4914 * lib/gdb.exp (gdb_wrapper_init): Reset
4915 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4916 not exist.
4917
a9c79803
TV
49182020-02-20 Tom de Vries <tdevries@suse.de>
4919
4920 PR go/17018
4921 * gdb.go/hello.exp: Copy ...
4922 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4923 print of st to print value of global definition. Add xfail for GCC
4924 PR93844.
4925 * gdb.go/hello.exp: Remove printing of st before definition.
4926 * gdb.go/hello.go: Copy ...
4927 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4928 to st.
4929 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4930
d7445728
TV
49312020-02-20 Tom de Vries <tdevries@suse.de>
4932
4933 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4934 (gdb_simple_compile): Handle compile_flags go by using .go extension
4935 for source file.
4936 * gdb.go/chan.exp: Use support_go_compile.
4937 * gdb.go/handcall.exp: Same.
4938 * gdb.go/hello.exp: Same.
4939 * gdb.go/integers.exp: Same.
4940 * gdb.go/max-depth.exp: Same.
4941 * gdb.go/methods.exp: Same.
4942 * gdb.go/package.exp: Same.
4943 * gdb.go/strings.exp: Same.
4944 * gdb.go/types.exp: Same.
4945 * gdb.go/unsafe.exp: Same.
4946
c9c41e6d
TV
49472020-02-19 Tom de Vries <tdevries@suse.de>
4948
4949 * gdb.python/lib-types.exp: Make xfail more strict.
4950
f20ff837
TV
49512020-02-19 Tom de Vries <tdevries@suse.de>
4952
4953 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4954
08410482
DE
49552020-02-19 Doug Evans <dje@google.com>
4956
4957 PR rust/25535
4958 * gdb.rust/simple.exp: Add test.
4959 * gdb.rust/simple.rs: Add test.
4960
623563f7
TV
49612020-02-19 Tom de Vries <tdevries@suse.de>
4962
4963 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4964 output line-by-line.
4965
d3308cfd
TV
49662020-02-19 Tom de Vries <tdevries@suse.de>
4967
4968 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4969
86cbc5dc
TV
49702020-02-19 Tom de Vries <tdevries@suse.de>
4971
4972 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4973 prelink.
4974
9db2b96b
TV
49752020-02-19 Tom de Vries <tdevries@suse.de>
4976
4977 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4978 (gdb_do_cache): Use gdb_do_cache_wrap.
4979 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4980
89e2fdc5
TV
49812020-02-19 Tom de Vries <tdevries@suse.de>
4982
4983 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4984 gdb_compile option.
4985
373d7ac0
SM
49862020-02-18 Simon Marchi <simon.marchi@efficios.com>
4987
4988 * gdb.base/printcmds.exp (test_print_enums): Update expected
4989 output.
4990
b29a2df0
SM
49912020-02-18 Simon Marchi <simon.marchi@efficios.com>
4992
4993 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4994 for "unknown".
4995
6740f0cc
SM
49962020-02-18 Simon Marchi <simon.marchi@efficios.com>
4997
4998 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4999 enumerator.
5000
edd45eb0
SM
50012020-02-18 Simon Marchi <simon.marchi@efficios.com>
5002
5003 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5004 FE_, add FE_NONE.
5005 (three): Update.
5006 (enum flag_enum_without_zero): New enum.
5007 (flag_enum_without_zero): New variable.
5008 (enum not_flag_enum): New enum.
5009 (three_not_flag): New variable.
5010 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5011 (test_print_enums): Add more tests for printing flag enums.
5012
d4295de4
TV
50132020-02-18 Tom de Vries <tdevries@suse.de>
5014
5015 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5016 (gdb_compile_ada): ... here.
5017 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5018 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5019
f251f505
TT
50202020-02-14 Tom Tromey <tom@tromey.com>
5021
5022 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5023 build directory.
5024 * boards/gdbserver-base.exp: Update path to gdbserver.
5025
8f432634
TV
50262020-02-13 Tom de Vries <tdevries@suse.de>
5027
5028 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5029
92b6eaf7
TV
50302020-02-13 Tom de Vries <tdevries@suse.de>
5031
5032 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5033 are missing.
5034
f3b0f7fe
TV
50352020-02-13 Tom de Vries <tdevries@suse.de>
5036
5037 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5038 call.
5039
f6be8713
SDJ
50402020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5041
5042 PR tui/25126
5043 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5044 * gdb.base/cached-source-file.c: New file.
5045 * gdb.base/cached-source-file.exp: New file.
5046
b2770d5e
TV
50472020-02-11 Tom de Vries <tdevries@suse.de>
5048
5049 PR testsuite/25488
5050 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5051
44f6938e
TV
50522020-02-10 Tom de Vries <tdevries@suse.de>
5053
5054 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5055
5f0e2eb7
MR
50562020-02-10 Maciej W. Rozycki <macro@wdc.com>
5057
5058 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5059 and $after_addr are both integers before making a comparison.
5060
46ce2b6f
TV
50612020-02-09 Tom de Vries <tdevries@suse.de>
5062
5063 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5064 command output and paste it into gdb.log. If any, paste catch message
5065 to gdb.log.
5066
5abbbe1d
TT
50672020-02-07 Tom Tromey <tromey@adacore.com>
5068
5069 PR breakpoints/24915:
5070 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5071
1d5d29e7
SV
50722020-02-06 Shahab Vahedi <shahab@synopsys.com>
5073
5074 * gdb.tui/tui-missing-src.exp: Add the "missing source
5075 file" test for the TUI.
5076
b0999b9b
AB
50772020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5078
5079 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5080 including a port number in the output.
5081
c3b149eb
AKS
50822020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5083
5084 * lib/fortran.exp (fortran_int4): Handle clang.
5085 (fortran_int8): Likewise.
5086 (fortran_real4): Likewise.
5087 (fortran_real8): Likewise.
5088 (fortran_complex4): Likewise.
5089 (fortran_logical4): Likewise.
5090 (fortran_character1): Likewise.
5091
f8dcc90b
TV
50922020-02-04 Tom de Vries <tdevries@suse.de>
5093
5094 * README (Race detection): Add note.
5095
f90ac7c2
TV
50962020-02-04 Tom de Vries <tdevries@suse.de>
5097
5098 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5099
780636ae
TV
51002020-02-04 Tom de Vries <tdevries@suse.de>
5101
5102 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5103
5d2e1193
RA
51042020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5105
5106 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5107 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5108 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5109 blttar, bnetarl.
5110 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5111 binary for blttar, bnetarl.
5112 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5113 wait instruction. Delete ldmx test.
5114 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5115
e409c542
AKS
51162020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5117
5118 * gdb.fortran/array-bounds-high.exp: New file.
5119 * gdb.fortran/array-bounds-high.f90: New file.
5120
b0029748
LD
51212020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5122
5123 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5124 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5125
195a8287
TV
51262020-02-01 Tom de Vries <tdevries@suse.de>
5127
5128 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5129
42330a68
AB
51302020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5131
5132 PR tui/9765
5133 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5134 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5135
b62a8028
LM
51362020-01-29 Luis Machado <luis.machado@linaro.org>
5137
5138 * gdb.arch/aarch64-brk-patterns.c: New source file.
5139 * gdb.arch/aarch64-brk-patterns.exp: New test.
5140
5f440116
TBA
51412020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5142
5143 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5144 GCC/Clang version.
5145 * gdb.cp/pass-by-ref.exp: Ditto.
5146
ee2a6fc6
TV
51472020-01-29 Tom de Vries <tdevries@suse.de>
5148
5149 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5150 * gdb.threads/watchpoint-fork-mt.c: Same.
5151 * gdb.threads/watchpoint-fork-parent.c: Same.
5152 * gdb.threads/watchpoint-fork-st.c: Same.
5153 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5154
16b10d6e
LM
51552020-01-27 Luis Machado <luis.machado@linaro.org>
5156
5157 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5158 sitting at a syscall instruction when we hit the syscall function's
5159 breakpoint.
5160 Check PC against one obtained with the x command.
5161 Validate syscall number.
5162 (step_over_syscall): Don't continue to the syscall instruction if
5163 we're already there.
5164
b1468492
PW
51652020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5166
5167 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5168
7ffa82e1
AB
51692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5170
5171 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5172 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5173
3d92a3e3
AB
51742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5175
5176 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5177 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5178
94a72be7
AB
51792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5180
5181 * gdb.base/maint.exp: Update line table parsing test.
5182 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5183
53af73bf
PA
51842020-01-24 Pedro Alves <palves@redhat.com>
5185
5186 PR gdb/25410
5187 * gdb.multi/multi-re-run-1.c: New.
5188 * gdb.multi/multi-re-run-2.c: New.
5189 * gdb.multi/multi-re-run.exp: New.
5190
1ba1ac88
AB
51912020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5192
5193 PR gdb/23718
5194 * gdb.server/server-kill-python.exp: New file.
5195
f3364a6d
AB
51962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5197
5198 * gdb.server/multi-ui-errors.c: New file.
5199 * gdb.server/multi-ui-errors.exp: New file.
5200
733d0a67
AB
52012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5202
5203 PR tui/9765
5204 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5205
4f13c1c0
TT
52062020-01-19 Tom Tromey <tom@tromey.com>
5207
5208 * gdb.tui/main.exp: Add check for plain "file".
5209
40c94099
CB
52102020-01-16 Christian Biesinger <cbiesinger@google.com>
5211
5212 * lib/gdb.exp: Fix spelling error (seperatelly).
5213
ff47f4f0
TT
52142020-01-14 Tom Tromey <tom@tromey.com>
5215
5216 PR symtab/12535:
5217 * gdb.python/python.exp: Test decode_line with empty string
5218 argument.
5219
717c684d
BE
52202020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5221
5222 * gdb.base/skip-inline.exp: Extend test.
5223
44e4c775
AB
52242020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5225
5226 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5227 * gdb.dwarf2/dw2-bad-elf.c: New file.
5228 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5229
d93c6db7
AB
52302020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5231
5232 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5233 _line_saw_file.
5234
9a6d629c
AB
52352020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5236
5237 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5238 border.
5239
d9ebdab7
TBA
52402020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5241
5242 * gdb.multi/multi-target.exp (setup): Factor out "info
5243 connections" and "info inferiors" tests to ...
5244 (test_info_inferiors): ... this new procedure.
5245 (top level): Run new "info-inferiors" tests.
5246
f3c469b9
PA
52472020-01-10 Pedro Alves <palves@redhat.com>
5248
5249 * gdb.server/bkpt-other-inferior.exp: New file.
5250
121b3efd
PA
52512020-01-10 Pedro Alves <palves@redhat.com>
5252
5253 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5254 of "add-inferior".
5255 * gdb.base/quit-live.exp: Likewise.
5256 * gdb.base/remote-exec-file.exp: Likewise.
5257 * gdb.guile/scm-progspace.exp: Likewise.
5258 * gdb.linespec/linespec.exp: Likewise.
5259 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5260 * gdb.mi/user-selected-context-sync.exp: Likewise.
5261 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5262 "info inferiors" tests.
5263 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5264 "add-inferior".
5265 * gdb.multi/watchpoint-multi.exp: Likewise.
5266 * gdb.python/py-inferior.exp: Likewise.
5267 * gdb.server/extended-remote-restart.exp: Likewise.
5268 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5269 "info inferiors".
5270 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5271 * gdb.trace/report.exp: Likewise.
5272
1dadb1dd
PA
52732020-01-10 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.multi/multi-target.c: New file.
5276 * gdb.multi/multi-target.exp: New file.
5277 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5278 mode requested, but remote does not support non-stop".
5279
78f2c40a
PA
52802020-01-10 Pedro Alves <palves@redhat.com>
5281
5282 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5283 disconnect before reconnecting.
5284
e7af6c70
TBA
52852020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5286 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.server/connect-without-multi-process.exp: Also test
5289 continuing to end.
5290
acdf84a6
PA
52912020-01-10 Pedro Alves <palves@redhat.com>
5292
5293 * gdb.base/remote-exec-file.exp: New file.
5294
873657b9
PA
52952020-01-10 Pedro Alves <palves@redhat.com>
5296
5297 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5298 output.
5299 * gdb.threads/async.c: New.
5300 * gdb.threads/async.exp: New.
5301 * gdb.multi/tids-gid-reset.c: New.
5302 * gdb.multi/tids-gid-reset.exp: New.
5303
7f0ae84c
GB
53042020-01-10 George Barrett <bob@bob131.so>
5305
5306 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5307 to help in finding the image relocation offset.
5308 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5309 options in arguments.
5310 (stap_test_no_debuginfo): Likewise.
5311 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5312 test variants.
5313 (stap_test): Add null semaphore relocation test.
5314
47e9d49d
GB
53152020-01-10 George Barrett <bob@bob131.so>
5316
5317 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5318 * gdb.base/stap-probe.exp: Likewise.
5319 (stap_test): Pass argument as an additional flag.
5320 (stap_test_no_debuginfo): Likewise.
5321 (stap_test): Check `info probes stap' output for semaphore
5322 addresses if the test binary is supposed to have them.
5323
f5a7c406
AB
53242020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5325
5326 * gdb.tui/basic.exp: Add more scrolling tests.
5327
9ae6bf64
TT
53282020-01-09 Tom Tromey <tom@tromey.com>
5329
5330 PR tui/18932:
5331 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5332 meangingful value.
5333 (Term::command, Term::resize): Update.
5334 * gdb.tui/basic.exp: Add scrolling test.
5335
b2efe70c
AB
53362020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5337
5338 * gdb.tui/tui-layout-asm.exp: New file.
5339
3804da7e
AB
53402020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5341
5342 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5343
b40aa28f
AB
53442020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5345
5346 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5347 (Term::enter_tui): Use Term::prepare_for_tui.
5348
63ffd7c9
AB
53492020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5352 called.
5353
3be966f6
AB
53542020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5355
5356 * gdb.base/skip.exp: Fix race condition in test.
5357
153d79c4
AB
53582020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5359
5360 * gdb.base/backtrace.c: New file.
5361 * gdb.base/backtrace.exp: New file.
5362
f2302a34
AB
53632020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5364
5365 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5366
6ec1d75e
PW
53672020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5368
5369 * gdb.base/style.exp: Test that warnings are styled.
5370
c296cbe6
BE
53712019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5372
5373 * gdb.base/line65535.exp: New file.
5374 * gdb.base/line65535.c: New file.
5375
b28a729d
SM
53762019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5377
5378 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5379 * lib/gnat_debug_info_test.adb: New file.
5380 * gdb.ada/ptype_tagged_param.exp: Use
5381 gnat_runtime_has_debug_info, expect a different output if
5382 runtime does not have debug info.
5383
7f2d7a0d
SM
53842019-12-20 Simon Marchi <simon.marchi@efficios.com>
5385
5386 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5387 (another) quote in test name.
5388
f3bce483
SM
53892019-12-20 Simon Marchi <simon.marchi@efficios.com>
5390
5391 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5392 Add quote in test name.
5393
c855a912
TBA
53942019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5395
5396 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5397 directory instead.
5398 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5399 * gdb.cp/pass-by-ref-2.cc: New file.
5400 * gdb.cp/pass-by-ref-2.exp: New file.
5401
fc9d2d72
TT
54022019-12-20 Tom Tromey <tom@tromey.com>
5403
5404 * gdb.tui/list-before.exp: New file.
5405
77b97e00
TT
54062019-12-20 Tom Tromey <tom@tromey.com>
5407
5408 * gdb.tui/list.exp: Check for source on initial listing.
5409
f69656d0
TT
54102019-12-11 Tom Tromey <tromey@adacore.com>
5411
5412 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5413 Add crlf test.
5414
99a55965
SM
54152019-12-18 Simon Marchi <simon.marchi@efficios.com>
5416
5417 * gdb.base/default.exp: Update value of $_gdb_major.
5418
5024637f
BE
54192019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5420
5421 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5422
b63634be
BE
54232019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5424
5425 * gdb.base/skip.exp: Whitespace fix.
5426
45d73523
BE
54272019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5428
5429 * gdb.base/skip-inline.c: New file.
5430 * gdb.base/skip-inline.exp: New file.
5431
d043f8c8
SM
54322019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5433
5434 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5435 jit_function_00 to jit_function_stack_mangle.
5436 * gdb.base/jithost.c (jit_function_t): Rename to...
5437 (jit_function_stack_mangle_t): ... this.
5438 (jit_function_add_t): New typedef.
5439 (jit_function_00_code): Rename to...
5440 (jit_function_stack_mangle_code): ... this, make static.
5441 (jit_function_add_code): New.
5442 (main): Generate "add" function and call it. Adjust to changes
5443 in jithost_abi.
5444 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5445 (struct jithost_abi) <begin, end>: Remove fields.
5446 <object, function_stack_mangle, function_add>: New fields.
5447 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5448 code_end>: Remove fields.
5449 <func_stack_mangle>: New field.
5450 (read_debug_info): Adjust to renaming, create block for "add"
5451 function.
5452 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5453
873de05c
TT
54542019-12-11 Tom Tromey <tom@tromey.com>
5455
5456 * gdb.tui/resize.exp: Fix regexp.
5457 * gdb.tui/regs.exp: Fix regexps.
5458 * gdb.tui/main.exp: Fix regexp.
5459
3d979945
TT
54602019-12-11 Tom Tromey <tom@tromey.com>
5461
5462 * gdb.tui/resize.exp: Update.
5463 * gdb.tui/empty.exp (layouts): Update.
5464
2192a9d3
TT
54652019-12-11 Tom Tromey <tom@tromey.com>
5466
5467 * gdb.tui/regs.exp: Update.
5468 * gdb.tui/empty.exp (layouts): Update.
5469 * gdb.tui/basic.exp: Update.
5470 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5471
d8edc8b7
PW
54722019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5473
5474 * gdb.base/options.exp: Add -raw-values in the print completion list.
5475 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5476
4c12d936
KB
54772019-12-10 Kevin Buettner <kevinb@redhat.com>
5478
5479 * gdb.threads/omp-par-scope.c: New file.
5480 * gdb/threads/omp-par-scope.exp: New file.
5481
26b911fb
KB
54822019-12-10 Kevin Buettner <kevinb@redhat.com>
5483
bb47f919
KB
5484 * lib/gdb.exp (support_nested_function_tests): New proc.
5485
54862019-12-10 Kevin Buettner <kevinb@redhat.com>
5487
5488 * lib/gdb.exp (gdb_compile_openmp): New proc.
5489 (build_executable_from_specs): Add an "openmp" option.
5490 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5491
6c71eb7d
TT
54922019-12-10 Tom Tromey <tromey@adacore.com>
5493
5494 * gdb.ada/unchecked_union.exp: New file.
5495 * gdb.ada/unchecked_union/pck.adb: New file.
5496 * gdb.ada/unchecked_union/pck.ads: New file.
5497 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5498 * gdb-utils.exp (string_to_regexp): Also quote "?".
5499
bac7c5cf
GB
55002019-12-10 George Barrett <bob@bob131.so>
5501
5502 Test scripted probe breakpoints.
5503 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5504 * gdb.python/py-breakpoint.c (main): Likewise.
5505 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5506 specifier test.
5507 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5508
330f1d38
TBA
55092019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5510
5511 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5512 an rvalue parameter.
5513 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5514 parameter.
5515
b43315e2
AB
55162019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5517
5518 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5519 modules.
5520
54f73dad
AB
55212019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5522
5523 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5524 broken version of GCC.
5525
d57cbee9
AB
55262019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5527
5528 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5529 sym-info-cmds library.
5530 * gdb.fortran/info-types.exp: Likewise.
5531 * lib/sym-info-cmds.exp: New file.
5532
c14aab8c
TV
55332019-12-08 Tom de Vries <tdevries@suse.de>
5534
5535 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5536
aa2d5a42
KS
55372019-12-07 Keith Seitz <keiths@redhat.com>
5538
5539 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5540 * gdb.base/corefile-buildid-shlib.c: New file.
5541 * gdb.base/corefile-buildid.c: New file.
5542 * gdb.base/corefile-buildid.exp: New file.
5543
93e55f0a
TV
55442019-12-06 Tom de Vries <tdevries@suse.de>
5545
5546 * gdb.dwarf2/varval.exp: Add decl before def test.
5547
c7d12402
TBA
55482019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5549
5550 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5551
06acc08f
TBA
55522019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5553
5554 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5555 CV and reference conversion for overload resolution.
5556 * gdb.cp/rvalue-ref-overload.exp: Test it.
5557
e0fad1ea
PW
55582019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5559
5560 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5561 * gdb.base/frameapply.exp: Test faas without command.
5562
8d70a9f0
AB
55632019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5564
5565 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5566 Fortran tests.
5567 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5568 order.
5569
36c8fb93
AB
55702019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5571
5572 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5573 casting to type with no kind specified.
5574 (test_basic_parsing_of_type_kinds): Additional tests for types
5575 with no kind specified, and add tests for single/double
5576 precision/complex types.
5577
4139ff00
TT
55782019-12-04 Tom Tromey <tromey@adacore.com>
5579
5580 * gdb.base/endianity.c (struct other) <x>: New field.
5581 (main): Initialize it.
5582 * gdb.base/endianity.exp: Update.
5583
a05cf17a
TT
55842019-12-04 Tom Tromey <tromey@adacore.com>
5585
5586 * gdb.ada/scalar_storage/storage.adb: New file.
5587 * gdb.ada/scalar_storage/pck.adb: New file.
5588 * gdb.ada/scalar_storage/pck.ads: New file.
5589 * gdb.ada/scalar_storage.exp: New file.
5590
103a685e
TT
55912019-12-04 Tom Tromey <tromey@adacore.com>
5592
5593 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5594 (main): Initialize it.
5595 * gdb.base/endianity.exp: Update.
5596
c2512106
AB
55972019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5598
5599 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5600
293b38d6
AB
56012019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5602
5603 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5604 -symbol-info-module-functions and -symbol-info-module-variables.
5605
216a7e6b
AB
56062019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5609
5bbd8269
AB
56102019-12-01 Richard Bunt <richard.bunt@arm.com>
5611 Andrew Burgess <andrew.burgess@embecosm.com>
5612
5613 * gdb.fortran/derived-type-striding.exp: New file.
5614 * gdb.fortran/derived-type-striding.f90: New file.
5615 * gdb.fortran/array-slices.exp: New file.
5616 * gdb.fortran/array-slices.f90: New file.
5617
be09caf1
PW
56182019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5619
5620 * gdb.base/define.exp: Test . in command names.
5621 * gdb.base/setshow.exp: Update test, as . is now part of
5622 command name.
5623
643c0cbe
PW
56242019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5625
5626 * gdb.base/define-prefix.exp: New file.
5627
dcdec678
AB
56282019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5629
5630 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5631 compile.
5632 (skip_btrace_pt_tests): Likewise.
5633
640ab947
AB
56342019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5635
5636 * gdb.fortran/info-modules.exp: Compile source files in correct
5637 order.
5638
d22670f0
KB
56392019-11-27 Kevin Buettner <kevinb@redhat.com>
5640
5641 * gdb.dwarf2/imported-unit.exp: New file.
5642 * gdb.dwarf2/imported-unit.c: New file.
5643
db5960b4
AB
56442019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5645
5646 * gdb.mi/mi-fortran-modules-2.f90: New file.
5647 * gdb.mi/mi-fortran-modules.exp: New file.
5648 * gdb.mi/mi-fortran-modules.f90: New file.
5649
7dc42066
AB
56502019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5651
5652 * gdb.mi/mi-sym-info-1.c: New file.
5653 * gdb.mi/mi-sym-info-2.c: New file.
5654 * gdb.mi/mi-sym-info.exp: New file.
5655
0dfeecca
TT
56562019-11-22 Tom Tromey <tromey@adacore.com>
5657
5658 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5659 * gdb.ada/tasks/foo.adb: Add another stopping location.
5660
34877895
PJ
56612019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5662
5663 * gdb.base/endianity.c: New test.
5664 * gdb.base/endianity.exp: New file.
5665
2e84f897
LD
56662019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5667
5668 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5669
65d1cd5f
TV
56702019-11-21 Tom de Vries <tdevries@suse.de>
5671
5672 PR gdb/24956
5673 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5674
4f22c3f4
SDJ
56752019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5676
5677 * gdb.python/py-progspace.exp: Add missing parentheses on some
5678 'print' commands.
5679
9f6ad286
TT
56802019-11-19 Tom Tromey <tom@tromey.com>
5681
5682 * gdb.tui/winheight.exp: New file.
5683
0b8dbf3f
AB
56842019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5685
5686 * gdb.base/ctf-whatis.c: Delete.
5687 * gdb.base/ctf-whatis.exp: Delete.
5688 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5689
f833b7a7
AB
56902019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5691
5692 * gdb.base/ctf-cvexpr.exp: Delete.
5693 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5694
30d0a636
AB
56952019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5696
5697 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5698 the compiler. Clean up header comment a little.
5699 * gdb.base/ctf-ptype.exp: Likewise.
5700 * gdb.base/ctf-whatis.exp: Likewise.
5701 * lib/gdb.exp (skip_ctf_tests): New proc.
5702
494409bb
SDJ
57032019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5704
5705 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5706 * gdb.tui/corefile-run.exp: New file.
5707
55708e99
TT
57082019-11-14 Tom Tromey <tromey@adacore.com>
5709
5710 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5711 regression tests.
5712
45e42163
TT
57132019-11-12 Tom Tromey <tom@tromey.com>
5714
5715 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5716 after any command. Expect prompt after WAIT_FOR is seen.
5717 (enter_tui): Enable resize messages.
5718 (command): Expect command in output.
5719 (get_line): Avoid error when cursor appears to be off-screen.
5720 (dump_screen): Include screen size in title.
5721 (_do_resize): New proc, from "resize".
5722 (resize): Rewrite. Do resize in two steps.
5723 * gdb.tui/empty.exp (layouts): Fix entries.
5724 (check_boxes): Remove xfail.
5725 (check_text): Dump screen on failure.
5726
086baaf1
AB
57272019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5728
5729 * gdb.python/py-symbol.exp: Add test for
5730 gdb.lookup_static_symbols.
5731
09ff83af
AB
57322019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5733
5734 * gdb.python/py-symbol.c: Declare and call function from new
5735 py-symbol-2.c file.
5736 * gdb.python/py-symbol.exp: Compile both source files, and add new
5737 tests for gdb.lookup_static_symbol.
5738 * gdb.python/py-symbol-2.c: New file.
5739
11af934b
TV
57402019-11-02 Tom de Vries <tdevries@suse.de>
5741
5742 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5743 * gdb.base/anon.exp: Same.
5744 * gdb.base/auto-connect-native-target.exp: Same.
5745 * gdb.base/call-ar-st.exp: Same.
5746 * gdb.base/catch-syscall.exp: Same.
5747 * gdb.base/commands.exp: Same.
5748 * gdb.base/default.exp: Same.
5749 * gdb.base/display.exp: Same.
5750 * gdb.base/float.exp: Same.
5751 * gdb.base/foll-fork.exp: Same.
5752 * gdb.base/help.exp: Same.
5753 * gdb.base/info-macros.exp: Same.
5754 * gdb.base/info-proc.exp: Same.
5755 * gdb.base/info-target.exp: Same.
5756 * gdb.base/long_long.exp: Same.
5757 * gdb.base/macscp.exp: Same.
5758 * gdb.base/memattr.exp: Same.
5759 * gdb.base/nofield.exp: Same.
5760 * gdb.base/pointers.exp: Same.
5761 * gdb.base/printcmds.exp: Same.
5762 * gdb.base/ptype.exp: Same.
5763 * gdb.base/restore.exp: Same.
5764 * gdb.base/return.exp: Same.
5765 * gdb.base/scope.exp: Same.
5766 * gdb.base/set-noassign.exp: Same.
5767 * gdb.base/setshow.exp: Same.
5768 * gdb.base/shlib-call.exp: Same.
5769 * gdb.base/signals.exp: Same.
5770 * gdb.base/sigstep.exp: Same.
5771 * gdb.base/skip.exp: Same.
5772 * gdb.base/solib-symbol.exp: Same.
5773 * gdb.base/stap-probe.exp: Same.
5774 * gdb.base/step-line.exp: Same.
5775 * gdb.base/step-test.exp: Same.
5776 * gdb.base/style.exp: Same.
5777 * gdb.base/varargs.exp: Same.
5778 * gdb.base/vla-datatypes.exp: Same.
5779 * gdb.base/vla-ptr.exp: Same.
5780 * gdb.base/vla-sideeffect.exp: Same.
5781 * gdb.base/volatile.exp: Same.
5782 * gdb.base/watch-cond-infcall.exp: Same.
5783 * gdb.base/watchpoint.exp: Same.
5784
e96ec2ba
TV
57852019-11-02 Tom de Vries <tdevries@suse.de>
5786
5787 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5788 * gdb.cp/cpexprs.exp: Same.
5789 * gdb.cp/except-multi-location.exp: Same.
5790 * gdb.cp/exceptprint.exp: Same.
5791 * gdb.cp/gdb2384.exp: Same.
5792 * gdb.cp/inherit.exp: Same.
5793 * gdb.cp/m-static.exp: Same.
5794 * gdb.cp/meth-typedefs.exp: Same.
5795 * gdb.cp/misc.exp: Same.
5796 * gdb.cp/namespace.exp: Same.
5797 * gdb.cp/non-trivial-retval.exp: Same.
5798 * gdb.cp/overload.exp: Same.
5799 * gdb.cp/pr17132.exp: Same.
5800 * gdb.cp/re-set-overloaded.exp: Same.
5801 * gdb.cp/rvalue-ref-types.exp: Same.
5802 * gdb.cp/templates.exp: Same.
5803
bd5766ec
LM
58042019-11-01 Luis Machado <luis.machado@linaro.org>
5805
5806 PR gdb/25124
5807
5808 * gdb.arch/pr25124.S: New file.
5809 * gdb.arch/pr25124.exp: New file.
5810
165f8965
AB
58112019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5812
5813 * gdb.fortran/info-modules.exp: Update expected results, and add
5814 additional tests for 'info module functinos', and 'info module
5815 variables'.
5816 * gdb.fortran/info-types.exp: Update expected results.
5817 * gdb.fortran/info-types.f90: Extend testcase with additional
5818 module variables and functions.
5819
59c35742
AB
58202019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5821
5822 * gdb.fortran/info-modules.exp: New file.
5823 * gdb.fortran/info-types.exp: Build with new file.
5824 * gdb.fortran/info-types.f90: Include and use new module.
5825 * gdb.fortran/info-types-2.f90: New file.
5826
f3fb2519
PW
58272019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5828
5829 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5830 * gdb.base/settings.exp: Test all settings types using
5831 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5832 that now verifies that the value of "maint show" is the same as
5833 returned by the settings functions. Test the type of the
5834 maintenance settings.
5835 * gdb.base/default.exp: Update show_conv_list.
5836
d1e36019
TV
58372019-10-31 Tom de Vries <tdevries@suse.de>
5838
5839 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5840 gdb_test.
5841 * gdb.arch/amd64-disp-step.exp: Same.
5842 * gdb.asm/asm-source.exp: Same.
5843 * gdb.btrace/buffer-size.exp: Same.
5844 * gdb.btrace/cpu.exp: Same.
5845 * gdb.btrace/enable.exp: Same.
5846 * gdb.dwarf2/count.exp: Same.
5847 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5848 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5849 * gdb.fortran/vla-datatypes.exp: Same.
5850 * gdb.fortran/vla-history.exp: Same.
5851 * gdb.fortran/vla-ptype.exp: Same.
5852 * gdb.fortran/vla-value.exp: Same.
5853 * gdb.fortran/whatis_type.exp: Same.
5854 * gdb.guile/guile.exp: Same.
5855 * gdb.multi/tids.exp: Same.
5856 * gdb.python/py-finish-breakpoint.exp: Same.
5857 * gdb.python/py-framefilter.exp: Same.
5858 * gdb.python/py-pp-registration.exp: Same.
5859 * gdb.python/py-xmethods.exp: Same.
5860 * gdb.python/python.exp: Same.
5861 * gdb.server/connect-with-no-symbol-file.exp: Same.
5862 * gdb.server/no-thread-db.exp: Same.
5863 * gdb.server/run-without-local-binary.exp: Same.
5864 * gdb.stabs/weird.exp: Same.
5865 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5866 * gdb.threads/thread-find.exp: Same.
5867 * gdb.threads/tls-shared.exp: Same.
5868 * gdb.threads/tls.exp: Same.
5869 * gdb.threads/wp-replication.exp: Same.
5870 * gdb.trace/ax.exp: Same.
5871 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5872
3d11e68e
TV
58732019-10-31 Tom de Vries <tdevries@suse.de>
5874
5875 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5876 * gdb.ada/array_subscript_addr.exp: Same.
5877 * gdb.ada/arrayidx.exp: Same.
5878 * gdb.ada/arrayparam.exp: Same.
5879 * gdb.ada/arrayptr.exp: Same.
5880 * gdb.ada/boolean_expr.exp: Same.
5881 * gdb.ada/call_pn.exp: Same.
5882 * gdb.ada/complete.exp: Same.
5883 * gdb.ada/fixed_cmp.exp: Same.
5884 * gdb.ada/fun_addr.exp: Same.
5885 * gdb.ada/funcall_param.exp: Same.
5886 * gdb.ada/interface.exp: Same.
5887 * gdb.ada/mod_from_name.exp: Same.
5888 * gdb.ada/null_array.exp: Same.
5889 * gdb.ada/packed_array.exp: Same.
5890 * gdb.ada/packed_tagged.exp: Same.
5891 * gdb.ada/print_chars.exp: Same.
5892 * gdb.ada/print_pc.exp: Same.
5893 * gdb.ada/ptype_arith_binop.exp: Same.
5894 * gdb.ada/ptype_field.exp: Same.
5895 * gdb.ada/ptype_tagged_param.exp: Same.
5896 * gdb.ada/rec_return.exp: Same.
5897 * gdb.ada/ref_tick_size.exp: Same.
5898 * gdb.ada/str_ref_cmp.exp: Same.
5899 * gdb.ada/taft_type.exp: Same.
5900 * gdb.ada/tagged.exp: Same.
5901 * gdb.ada/type_coercion.exp: Same.
5902 * gdb.ada/uninitialized_vars.exp: Same.
5903
60b6ede8
TV
59042019-10-30 Tom de Vries <tdevries@suse.de>
5905
5906 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5907
30baf67b
TV
59082019-10-26 Tom de Vries <tdevries@suse.de>
5909
5910 * gdb.base/bigcore.c: Fix typos in comments.
5911 * gdb.base/ctf-ptype.c: Same.
5912 * gdb.base/long_long.c: Same.
5913 * gdb.dwarf2/dw2-op-out-param.S: Same.
5914 * gdb.python/py-evthreads.c: Same.
5915 * gdb.reverse/i387-stack-reverse.c: Same.
5916 * gdb.trace/tfile.c: Same.
5917 * lib/compiler.c: Same.
5918 * lib/compiler.cc: Same.
5919
158da0d1
TV
59202019-10-25 Tom de Vries <tdevries@suse.de>
5921
5922 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5923 gdb_test_multiple calls.
5924 * gdb.reverse/sigall-reverse.exp: Same.
5925 * gdb.reverse/solib-precsave.exp: Same.
5926 * gdb.reverse/solib-reverse.exp: Same.
5927 * gdb.reverse/until-precsave.exp: Same.
5928 * gdb.reverse/until-reverse.exp: Same.
5929
4ccdfbec
TV
59302019-10-24 Tom de Vries <tdevries@suse.de>
5931
5932 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5933 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5934 kfail using -wrap pattern flag and convenience variable
5935 gdb_test_name.
5936
33d569b7
AB
59372019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5938
5939 * gdb.python/py-progspace.exp: Add tests for the
5940 Progspace.block_for_pc method.
5941
4d0b984b
TT
59422019-10-23 Tom Tromey <tom@tromey.com>
5943
5944 * configure: Rebuild.
5945 * aclocal.m4: Use m4_include, not sinclude.
5946
94cb3754
TV
59472019-10-21 Tom de Vries <tdevries@suse.de>
5948
5949 * gdb.base/infcall-nested-structs.c: Add
5950 __attribute__((noinline,noclone)) to all functions.
5951 (call_all): Add missing variable initialization. Simplify return value.
5952 (breakpt): Increment volatile variable, to prevent call from being
5953 optimized out.
5954 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5955
062f1fc1
TV
59562019-10-17 Tom de Vries <tdevries@suse.de>
5957
5958 * gdb.fortran/module.exp: Allow info variables to print info for files
5959 other than module.f90.
5960
0b54364d
AB
59612019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5962
5963 * gdb.fortran/module.exp: Extend with 'info variables' test.
5964
7ff5fae7
AB
59652019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5966
5967 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5968 F77_FOR_TARGET.
5969
d10eccaa
TV
59702019-10-16 Tom de Vries <tdevries@suse.de>
5971
5972 PR tdep/25096
5973 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5974
745ff14e
TV
59752019-10-16 Tom de Vries <tdevries@suse.de>
5976
5977 PR tdep/24104
5978 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5979 Add KFAIL for PR tdep/25096.
5980
03e1ab94
TV
59812019-10-16 Tom de Vries <tdevries@suse.de>
5982
5983 PR testsuite/25059
5984 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5985
b17fcc10
TV
59862019-10-16 Tom de Vries <tdevries@suse.de>
5987
5988 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5989 as signed.
5990
9223170f
SM
59912019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5992
5993 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5994 one instead of increasing timeout.
5995
d6e76313
TV
59962019-10-13 Tom de Vries <tdevries@suse.de>
5997
5998 PR record/25038
5999 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6000 * gdb.reverse/sigall-reverse.exp: Same.
6001 * gdb.reverse/solib-precsave.exp: Same.
6002 * gdb.reverse/solib-reverse.exp: Same.
6003 * gdb.reverse/step-precsave.exp: Same.
6004 * gdb.reverse/until-precsave.exp: Same.
6005 * gdb.reverse/until-reverse.exp: Same.
6006 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6007
6dfc0041
AA
60082019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6009
6010 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6011 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6012 (cmp_struct_05_01, cmp_struct_static_02_01)
6013 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6014 comparisons.
6015
abcf2cc8
TV
60162019-10-10 Tom de Vries <tdevries@suse.de>
6017
6018 PR testsuite/24888
6019 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6020 gnatlink.
6021
a50faaf6
TV
60222019-10-09 Tom de Vries <tdevries@suse.de>
6023
6024 PR testsuite/25048
6025 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6026
60ff3cd7
AB
60272019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6030 exceptions due to missing debug information.
6031
dfee8566
TV
60322019-10-07 Tom de Vries <tdevries@suse.de>
6033
6034 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6035
3d63690a
AB
60362019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6037
6038 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6039 * gdb.base/annota1.exp: Update to use gdb_test_name.
6040
30d1f018
WP
60412019-10-07 Weimin Pan <weimin.pan@oracle.com>
6042
6043 * gdb.base/ctf-whatis.exp: New file.
6044 * gdb.base/ctf-whatis.c: New file.
6045 * gdb.base/ctf-ptype.exp: New file.
6046 * gdb.base/ctf-ptype.c: New file.
6047 * gdb.base/ctf-constvars.exp: New file.
6048 * gdb.base/ctf-constvars.c: New file.
6049 * gdb.base/ctf-cvexpr.exp: New file.
6050
4dbbb47c
TV
60512019-10-04 Tom de Vries <tdevries@suse.de>
6052
6053 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6054 for loop.
6055
77c2dba3
TT
60562019-10-03 Tom Tromey <tom@tromey.com>
6057
6058 PR rust/24976:
6059 * gdb.rust/simple.rs (Union2): New type.
6060 (main): Use Union2.
6061 * gdb.rust/simple.exp: Add test.
6062
179aed7f
AB
60632019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6064
6065 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6066 nested function prefix.
6067
0a4b0913
AB
60682019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6069 Richard Bunt <richard.bunt@arm.com>
6070 Andrew Burgess <andrew.burgess@embecosm.com>
6071
6072 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6073 nested functions.
6074 * gdb.fortran/nested-funcs.f90: Update expected results.
6075 * gdb.fortran/nested-funcs-2.exp: New file.
6076 * gdb.fortran/nested-funcs-2.f90: New file.
6077
082cce05
AB
60782019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6079
6080 * gdb.python/py-parameter.exp: Make test names unique.
6081 * gdb.python/py-template.exp: Likewise.
6082 * gdb.python/py-value.exp: Likewise.
6083
2b74ba5a
AB
60842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6085
6086 * gdb.base/break-interp.exp: Reduce test name duplication.
6087 * gdb.base/call-sc.exp: Likewise.
6088 * gdb.base/callfuncs.exp: Likewise.
6089 * gdb.base/charset.exp: Likewise.
6090 * gdb.base/dump.exp: Likewise.
6091 * gdb.base/ena-dis-br.exp: Likewise.
6092 * gdb.base/relational.exp: Likewise.
6093 * gdb.base/step-over-syscall.exp: Likewise.
6094 * gdb.base/structs.exp: Likewise.
6095
58eb20d5
AB
60962019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6097
6098 * gdb.linespec/explicit.exp: Make test names unique.
6099 * gdb.linespec/ls-errs.exp: Likewise.
6100
4d421147
AB
61012019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6102
6103 * gdb.reverse/break-precsave.exp: Make test names unique.
6104 * gdb.reverse/break-reverse.exp: Likewise.
6105 * gdb.reverse/finish-precsave.exp: Likewise.
6106 * gdb.reverse/finish-reverse.exp: Likewise.
6107 * gdb.reverse/machinestate-precsave.exp: Likewise.
6108 * gdb.reverse/machinestate.exp: Likewise.
6109 * gdb.reverse/readv-reverse.exp: Likewise.
6110 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6111 * gdb.reverse/sigall-precsave.exp: Likewise.
6112 * gdb.reverse/sigall-reverse.exp: Likewise.
6113 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6114 * gdb.reverse/watch-precsave.exp: Likewise.
6115 * gdb.reverse/watch-reverse.exp: Likewise.
6116
d8c06f22
AB
61172019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6118
6119 * gdb.threads/stop-with-handle.c: New file.
6120 * gdb.threads/stop-with-handle.exp: New file.
6121
3a56ed86
TV
61222019-10-03 Tom de Vries <tdevries@suse.de>
6123
6124 PR testsuite/25059
6125 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6126 directory" line to be missing.
6127
42275044
TV
61282019-10-03 Tom de Vries <tdevries@suse.de>
6129
6130 PR testsuite/25059
6131 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6132 type optional.
6133
9ef62df0
AA
61342019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6135
6136 * gdb.python/py-format-string.c (string.h): New include.
6137 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6138 the same value, for endianness-independence.
6139 * gdb.python/py-format-string.exp (default_regexp_dict)
6140 (test_pretty_structs, test_format): Adjust expected output to the
6141 changed initialization.
6142
37f6a7f4
TT
61432019-10-02 Tom Tromey <tromey@adacore.com>
6144
6145 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6146
1d58d6a2
PA
61472019-10-02 Pedro Alves <palves@redhat.com>
6148 Andrew Burgess <andrew.burgess@embecosm.com>
6149
6150 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6151 "print-file-var.h".
6152 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6153 (get_version_1): Print this_version_id and its address.
6154 Add extern "C" wrappers around interface functions.
6155 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6156 "print-file-var.h".
6157 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6158 (get_version_2): Print this_version_id and its address.
6159 Add extern "C" wrappers around interface functions.
6160 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6161 <stddef.h> and "print-file-var.h".
6162 Add extern "C" wrappers around interface functions.
6163 [VERSION_ID_MAIN] (this_version_id): Define.
6164 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6165 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6166 up extern "C" blocks.
6167 * gdb.base/print-file-var.exp (test): New, factored out from top
6168 level.
6169 (top level): Test all combinations of attribute hidden or not,
6170 dlopen or not, and this_version_id symbol in main file or not.
6171 Compile tests as both C++ and C, make test names unique.
6172
d770d56f
TT
61732019-10-01 Tom Tromey <tom@tromey.com>
6174
6175 * gdb.base/style.exp: Test "show logging filename".
6176
7f6aba03
TT
61772019-10-01 Tom Tromey <tom@tromey.com>
6178
6179 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6180 * gdb.base/style.exp: Add metadata style test.
6181
14309bb6
TT
61822019-10-01 Tom Tromey <tom@tromey.com>
6183
6184 * gdb.base/style.exp: Test "pwd".
6185
2a3c1174
PA
61862019-10-01 Tom Tromey <tom@tromey.com>
6187
6188 * gdb.base/style.exp: Update tests.
6189
53d666ec
AA
61902019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6191
6192 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6193 'six' to unsigned.
6194 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6195 'five'. Use an all-ones bit pattern for each.
6196 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6197 to its changed values.
6198
4a56a520
TT
61992019-09-30 Tom Tromey <tromey@adacore.com>
6200
6201 * gdb.rust/traits.rs: Disable all warnings.
6202
0df0352a
TV
62032019-09-29 Tom de Vries <tdevries@suse.de>
6204
aac66a4c 6205 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6206
73d9a918
TV
62072019-09-29 Tom de Vries <tdevries@suse.de>
6208
6209 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6210
060b3ab4
TV
62112019-09-27 Tom de Vries <tdevries@suse.de>
6212
6213 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6214
68f7d34d
TV
62152019-09-27 Tom de Vries <tdevries@suse.de>
6216
6217 PR record/23188
6218 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6219
5d63b30a
TT
62202019-09-26 Tom Tromey <tromey@adacore.com>
6221
6222 * gdb.ada/py_taft.exp: New file.
6223 * gdb.ada/py_taft/main.adb: New file.
6224 * gdb.ada/py_taft/pkg.adb: New file.
6225 * gdb.ada/py_taft/pkg.ads: New file.
6226
3d435220
TV
62272019-09-24 Tom de Vries <tdevries@suse.de>
6228
6229 PR gdb/24598
6230 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6231
77d03678
TV
62322019-09-22 Tom de Vries <tdevries@suse.de>
6233
6234 * gdb.base/restore.exp: Allow register variables to be optimized out at
6235 -O0.
6236
abf516c6
UW
62372019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6238
6239 * gdb.arch/spu-info.exp: Remove file.
6240 * gdb.arch/spu-info.c: Remove file.
6241 * gdb.arch/spu-ls.exp: Remove file.
6242 * gdb.arch/spu-ls.c: Remove file.
6243
6244 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6245 * gdb.asm/spu.inc: Remove file.
6246
6247 * gdb.base/dump.exp: Remove support for spu*-*-*.
6248 * gdb.base/stack-checking.exp: Likewise.
6249 * gdb.base/overlays.exp: Likewise.
6250 * gdb.base/ovlymgr.c: Likewise.
6251 * gdb.base/spu.ld: Remove file.
6252
6253 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6254 * gdb.cp/cpexprs.exp: Likewise.
6255 * gdb.cp/exception.exp: Likewise.
6256 * gdb.cp/gdb2495.exp: Likewise.
6257 * gdb.cp/mb-templates.exp: Likewise.
6258 * gdb.cp/pr9167.exp: Likewise.
6259 * gdb.cp/userdef.exp: Likewise.
6260
6261 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6262
6263 * gdb.cell: Remove directory.
6264 * lib/cell.exp: Remove file.
6265
e452e88f
TV
62662019-09-19 Tom de Vries <tdevries@suse.de>
6267
6268 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6269
8a625130
TV
62702019-09-19 Tom de Vries <tdevries@suse.de>
6271
6272 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6273
81dc3ab5
TV
62742019-09-19 Tom de Vries <tdevries@suse.de>
6275
6276 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6277 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6278 (gdb_target_cmd): ... here.
6279 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6280 value 2.
6281
b078f3ac
AB
62822019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6283
6284 * gdb.base/source-dir.exp: Avoid having directory names in test
6285 names.
6286
f1b620e9
MG
62872019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6288
6289 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6290 directory.
6291
67f3ed6a
AB
62922019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6293
6294 * gdb.base/list-missing-source.exp: New file.
6295
d1b70248
TV
62962019-09-14 Tom de Vries <tdevries@suse.de>
6297
6298 PR teststuite/24599
6299 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6300 * lib/ada.exp (gnatmake_version_at_least): New proc.
6301
5fabdcd6
AB
63022019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6303
6304 * gdb.base/maint.exp: Use exec_has_index_section.
6305
aa17805f
AB
63062019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6307
6308 * gdb.base/maint.exp: Add test for 'maint info sections'.
6309
25e5c209
TV
63102019-09-12 Tom de Vries <tdevries@suse.de>
6311
6312 * gdb.base/store.exp: Allow register variables to be optimized out at
6313 -O0.
6314
4993045d
PW
63152019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6316
6317 * gdb.ada/rdv_wait.exp: Update to new task names.
6318 * gdb.base/task_switch_in_core.exp: Likewise.
6319 * gdb.base/info_sources_base.c: Likewise.
6320
8a516164
TT
63212019-09-10 Tom Tromey <tromey@adacore.com>
6322
6323 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6324
aa391654
TT
63252019-09-10 Tom Tromey <tromey@adacore.com>
6326
6327 * gdb.ada/dgopt.exp: New file.
6328 * gdb.ada/dgopt/x.adb: New file.
6329
8634b462
TT
63302019-09-08 Tom Tromey <tom@tromey.com>
6331
6332 * gdb.tui/resize.exp: Remove setup_xfail.
6333 * gdb.tui/regs.exp: Remove setup_xfail.
6334 * gdb.tui/basic.exp: Remove setup_xfail.
6335
736b0f76
DB
63362019-09-06 David Blaikie <dblaikie@gmail.com>
6337
6338 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6339 * gdb.cp/cplabel.exp: Ditto.
6340 * gdb.linespec/ls-errs.exp: Ditto.
6341
30331a6c
TV
63422019-09-05 Tom de Vries <tdevries@suse.de>
6343
6344 * lib/gdb.exp (cmp_file_string): New proc.
6345 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6346 runto_main. Verify save breakpoints output.
6347
98b0ebab
PW
63482019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6349
6350 * gdb.base/info-var.exp: Test info variables without running
6351 to main, to avoid expect's buffer overflow.
6352
4e962e74
TT
63532019-09-03 Tom Tromey <tromey@adacore.com>
6354
6355 * gdb.ada/bias.exp: New file.
6356 * gdb.ada/bias/bias.adb: New file.
6357 * gdb.ada/print_chars.exp: Add regression test.
6358 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6359 (MC): New variable.
6360
2ea1a07a
SL
63612019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6362
6363 * gdb.base/argv0-symlink.exp: Run only on native target
6364 and local host.
6365
8077c50d
TV
63662019-08-29 Tom de Vries <tdevries@suse.de>
6367
6368 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6369 diverse debug info.
6370 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6371
48352473
TV
63722019-08-28 Tom de Vries <tdevries@suse.de>
6373
6374 * gdb.base/info-var.exp: Allow info variables to print info for files
6375 other than info-var-f1.c and info-var-f2.c.
6376
d8f27c60
AB
63772019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6378
6379 * gdb.fortran/info-types.exp: Add module.
6380 * gdb.fortran/info-types.f90: Update expected results.
6381
1f20c35e
AB
63822019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6383
6384 * gdb.fortran/info-types.exp: New file.
6385 * gdb.fortran/info-types.f90: New file.
6386 * lib/fortran.exp (fortran_character1): New proc.
6387
4acfdd20
AB
63882019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6389
6390 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6391 functions'. Reindent as needed.
6392 * gdb.base/info-var-f1.c: New file.
6393 * gdb.base/info-var-f2.c: New file.
6394 * gdb.base/info-var.exp: New file.
6395 * gdb.base/info-var.h: New file.
6396
5c31b358
TV
63972019-08-26 Tom de Vries <tdevries@suse.de>
6398
6399 PR c++/24852
6400 * gdb.cp/no-libstdcxx-probe.exp: New test.
6401
b694989f
TV
64022019-08-26 Tom de Vries <tdevries@suse.de>
6403
6404 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6405 * tests need to be skipped.
6406 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6407 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6408 mi_skip_libstdcxx_probe_tests.
6409
d9c4ba53
SDJ
64102019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6411
6412 * gdb.python/py-xmethods.exp: Use raw strings when passing
6413 arguments to SimpleXMethodMatcher.
6414
395fad09
TV
64152019-08-22 Tom de Vries <tdevries@suse.de>
6416
6417 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6418 more informative.
6419
26c957f1
PA
64202019-08-21 Pedro Alves <palves@redhat.com>
6421
6422 * gdb.base/with.exp: Test "with" with no arguments.
6423
61f80d5d
TV
64242019-08-21 Tom de Vries <tdevries@suse.de>
6425
6426 * gdb.base/gdb-caching-proc.exp: Sort files.
6427
d7a11d13
TV
64282019-08-20 Tom de Vries <tdevries@suse.de>
6429
6430 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6431 compilation.
6432
34dafe9f
TV
64332019-08-16 Tom de Vries <tdevries@suse.de>
6434
6435 * gdb.base/compare-sections.exp ("after run to main"): Allow
6436 mismatched read-only sections for PIE executables.
6437
398fdd60
TT
64382019-08-16 Tom Tromey <tom@tromey.com>
6439
6440 * lib/tuiterm.exp (_csi_Z): New proc.
6441 * gdb.tui/basic.exp: Update window positions.
6442 * gdb.tui/empty.exp: Update window positions.
6443
d8f9e51c
SL
64442019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6445
6446 * gdb.base/examine-backward.exp: Correct regexp for
6447 "examine 3 bytes backward from ${address_zero}".
6448
3df505f6
TT
64492019-08-15 Tom Tromey <tom@tromey.com>
6450
6451 * gdb.tui/empty.exp: Enable resizing tests.
6452
272560b5
TT
64532019-08-15 Tom Tromey <tromey@adacore.com>
6454
6455 * gdb.ada/char_enum.exp: Add regression tests.
6456 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6457 and '0'.
6458 (Char, Gchar): Update.
6459 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6460
08235187
CB
64612019-08-15 Christian Biesinger <cbiesinger@google.com>
6462
6463 * gdb.python/python.exp: Expect a leading underscore on
6464 GdbOutput{,Error}File.
6465
22a2ab04
SL
64662019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6467
6468 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6469 Windows host.
6470
835b995b
SL
64712019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6472
6473 * gdb.base/batch-preserve-term-settings.exp
6474 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6475
97dd8e07
CB
64762019-08-15 Christian Biesinger <cbiesinger@google.com>
6477
6478 * lib/gdb.exp: When running on a mingw target, replace
6479 /x/ with x:/.
6480
75faf5c4
AH
64812019-08-14 Alan Hayward <alan.hayward@arm.com>
6482
6483 * gdb.arch/aarch64-prologue.c: New test.
6484 * gdb.arch/aarch64-prologue.exp: New file.
6485
abc6c00f
TV
64862019-08-13 Tom de Vries <tdevries@suse.de>
6487
6488 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6489 Thread.
6490
74c2c1f4
SL
64912019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6492
6493 * gdb.python/py-completion.exp: Download the .py file to the host
6494 and use its host pathname. Conditionalize tests that use
6495 tab completion and manipulate files on the build machine.
6496 * gdb.python/py-events.exp: Download the .py file to the host
6497 and use its host pathname.
6498 * gdb.python/py-evsignal.exp: Likewise.
6499 * gdb.python/py-evthreads.exp: Likewise.
6500 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6501 pathname syntax.
6502 * gdb.python/py-framefilter.exp: Download the .py file to the right
6503 place on the host. Match Windows pathname syntax.
6504 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6505 .py file to the host and use its host pathname.
6506 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6507 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6508 build pathname. Skip symlink test on Windows host. Add missing
6509 newline at end of file.
6510 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6511 and use its host pathname.
6512 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6513 * gdb.python/py-section-script.exp: Use host location of binfile
6514 on safe-path. Use correct path separator on Windows host.
6515 Reorder alternatives in gdb_test_multiple to prevent matching
6516 the wrong alternative on success.
6517 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6518
ca2589f3
PP
65192019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6520
6521 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6522 expect the GDB inferior to no longer immediately stop after
6523 being resumed with "signal SIGINT".
6524
020a839d
SL
65252019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6526
6527 * gdb.linespec/break-ask.exp: Generalize regexps to match
6528 Windows pathnames too.
6529
128d6509
TV
65302019-08-08 Tom de Vries <tdevries@suse.de>
6531
6532 PR testsuite/24862
6533 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6534
590042fc
PW
65352019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6536
6537 * gdb.base/style.exp: Update tests for help doc new invariants.
6538 * gdb.base/help.exp: Likewise.
6539
046bebe1
TT
65402019-08-06 Tom Tromey <tom@tromey.com>
6541
6542 * gdb.base/style.exp: Add disassemble test.
6543 * gdb.base/style.c (some_called_function): New function.
6544 (main): Use it.
6545
0b27c27d
CB
65462019-08-05 Christian Biesinger <cbiesinger@google.com>
6547
6548 * gdb.python/py-block.exp: Test dictionary access on blocks.
6549
580f1034
SM
65502019-08-05 Simon Marchi <simon.marchi@efficios.com>
6551
6552 PR gdb/24863
6553 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6554 -list-thread-groups --available test when running under
6555 check-read1.
6556
d86bd7cb
TV
65572019-08-05 Tom de Vries <tdevries@suse.de>
6558
6559 PR testsuite/24863
6560 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6561 * gdb.base/help.exp: Use with_read1_timeout_factor.
6562 * gdb.base/info-macros.exp: Same.
6563 * gdb.cp/nested-types.exp: Same.
6564
a80cf5d8
TV
65652019-08-05 Tom de Vries <tdevries@suse.de>
6566
6567 * lib/gdb.exp (version_at_least): Factor out of ...
6568 (tcl_version_at_least): ... here.
6569 (gdb_compile): Fail if pie results in non-PIE executable.
6570 (readelf_version, readelf_prints_pie): New proc.
6571 (exec_is_pie): Return -1 if unknown.
6572
d0962838
TV
65732019-08-05 Tom de Vries <tdevries@suse.de>
6574
6575 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6576
2252ff3d
SL
65772019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6578
6579 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6580
26655f53
SL
65812019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6582
6583 * lib/completion-support.exp (test_gdb_complete_none): Skip
6584 tab completion tests if no readline support.
6585 (test_gdb_complete_unique_re): Likewise.
6586 (test_gdb_complete_multiple): Likewise.
6587
db4dc13e
PW
65882019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6589
6590 * gdb.base/info_sources.exp: New file.
6591 * gdb.base/info_sources.c: New file.
6592 * gdb.base/info_sources_base.c: New file.
6593
0eba165a
PFC
65942019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6595
6596 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6597 prefix argument.
6598 (test_exit_status): Add prefix argument.
6599
59bd512b
TV
66002019-08-01 Tom de Vries <tdevries@suse.de>
6601
6602 PR testsuite/24863
6603 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6604 calling exp_continue for new thread and thread exited messages.
6605
2a3ad588
TV
66062019-08-01 Tom de Vries <tdevries@suse.de>
6607
6608 PR testsuite/24863
6609 * gdb.base/structs.exp: Fix check-read1 timeout using
6610 gdb_test_sequence.
6611 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6612
117eb594
TV
66132019-08-01 Tom de Vries <tdevries@suse.de>
6614
6615 PR testsuite/24863
6616 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6617 line.
6618
ed591340
TV
66192019-08-01 Tom de Vries <tdevries@suse.de>
6620
6621 PR testsuite/24863
6622 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6623
aa3b6533
TT
66242019-07-30 Tom Tromey <tromey@adacore.com>
6625
6626 * gdb.ada/display_nested.exp: New file.
6627 * gdb.ada/display_nested/foo.adb: New file.
6628 * gdb.ada/display_nested/pack.adb: New file.
6629 * gdb.ada/display_nested/pack.ads: New file.
6630
2906593f
CB
66312019-07-30 Christian Biesinger <cbiesinger@google.com>
6632
6633 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6634 namespace.
6635 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6636
0f575925
TV
66372019-07-30 Tom de Vries <tdevries@suse.de>
6638
6639 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6640 instead.
6641
b13057d9
TV
66422019-07-30 Tom de Vries <tdevries@suse.de>
6643
6644 PR testsuite/24834
6645 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6646 (exec_is_pie): New proc.
6647
5c4dde85
CB
66482019-07-29 Christian Biesinger <cbiesinger@google.com>
6649
6650 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6651
c620ed88
CB
66522019-07-29 Christian Biesinger <cbiesinger@google.com>
6653
6654 * gdb.python/py-objfile.c: Add global and static vars.
6655 * gdb.python/py-objfile.exp: Test new functions Objfile.
6656 lookup_global_symbol and lookup_static_symbol.
6657
3d235706
TT
66582019-07-29 Tom Tromey <tom@tromey.com>
6659
6660 * lib/tuiterm.exp (Term::_csi_@): New proc.
6661 (Term::_csi_X): Don't move cursor.
6662
c7e4c0a6
PW
66632019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6664
6665 * gdb.base/options.exp: Update backtrace - completion to
6666 new option -frame-info.
6667 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6668 Test new 'set print frame-info'. Test backtrace -frame-info
6669 overriding 'set print frame-info'.
6670 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6671 Test new 'set print frame-info'.
6672 Verify consistency of backtrace with and without filters, with and
6673 without -no-filters.
6674 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6675 default.
6676
de28a3b7
TV
66772019-07-29 Tom de Vries <tdevries@suse.de>
6678
6679 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6680 no arguments".
6681
507dd60e
TV
66822019-07-29 Tom de Vries <tdevries@suse.de>
6683
6684 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6685 is a substring of the first for "complete non-unique file name".
6686
5beafce9
TV
66872019-07-29 Tom de Vries <tdevries@suse.de>
6688
6689 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6690 with ".*".
6691
2d274232
TV
66922019-07-29 Tom de Vries <tdevries@suse.de>
6693
6694 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6695 Pass prompt_regexp parameter to gdb_test_multiple calls.
6696
9197cd8b
TV
66972019-07-29 Tom de Vries <tdevries@suse.de>
6698
6699 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6700 print registers" regexps.
9197cd8b 6701
b528dae0
TV
67022019-07-29 Tom de Vries <tdevries@suse.de>
6703
6704 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6705
d17725d7
TV
67062019-07-29 Tom de Vries <tdevries@suse.de>
6707
6708 PR gdb/24855
6709 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6710 (skip_python_tests_prompt): Add prompt_regexp argument to
6711 gdb_test_multiple calls.
6712
52b75bf1
TT
67132019-07-27 Tom Tromey <tom@tromey.com>
6714
6715 * gdb.tui/main.exp: New file.
6716
2b1d00c2
TT
67172019-07-27 Tom Tromey <tom@tromey.com>
6718
6719 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6720 optional.
6721 * gdb.tui/empty.exp: New file.
6722
ded631d5
TT
67232019-07-27 Tom Tromey <tom@tromey.com>
6724
6725 * lib/tuiterm.exp (spawn): New proc.
6726 (Term::resize): New proc.
6727 * gdb.tui/resize.exp: New file.
6728
58ac439d
TT
67292019-07-27 Tom Tromey <tom@tromey.com>
6730
6731 * gdb.tui/list.exp: New file.
6732
fe1f56ee
TT
67332019-07-27 Tom Tromey <tom@tromey.com>
6734
6735 * gdb.tui/regs.exp: New file.
6736
f790b310
TT
67372019-07-27 Tom Tromey <tom@tromey.com>
6738
6739 * gdb.tui/basic.exp: Add "layout split" test.
6740
d95fc6ee
TT
67412019-07-27 Tom Tromey <tom@tromey.com>
6742
6743 * gdb.tui/basic.exp: Add "layout asm" test.
6744
c3786b3a
TT
67452019-07-27 Tom Tromey <tom@tromey.com>
6746
6747 * lib/tuiterm.exp: New file.
6748 * gdb.tui/basic.exp: New file.
6749
98a617f8
KB
67502019-07-27 Kevin Buettner <kevinb@redhat.com>
6751
6752 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6753 Enable tests associated with this flag. Adjust regex
6754 referencing "foo_low" to now refer to "foo_cold" instead.
6755
5c076da4
KB
67562019-07-27 Kevin Buettner <kevinb@redhat.com>
6757
6758 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6759 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6760 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6761 foo_cold. Revise comments to match.
6762 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6763 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6764 were wrapped into this proc; Call do_test in loop from outermost
6765 level.
6766 (foo_low): Rename all occurrences to "foo_cold".
6767 (backtrace from baz): New test.
6768 (x2/i foo_cold): New test.
6769 (info line *foo_cold): New test.
6770
1512d3b7
TV
67712019-07-26 Tom de Vries <tdevries@suse.de>
6772
6773 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6774
297989a1
TV
67752019-07-25 Tom de Vries <tdevries@suse.de>
6776
6777 PR testsuite/24830
6778 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6779 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6780 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6781 (skip_libstdcxx_probe_tests): ... here.
6782 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6783
b3b965fb
TV
67842019-07-24 Tom de Vries <tdevries@suse.de>
6785
6786 PR testsuite/24807
6787 * gdb.objc/basicclass.m: Include stdio.h.
6788 * gdb.objc/nondebug.m: Same.
6789 * gdb.objc/objcdecode.m: Same.
6790
4625b4d0
TV
67912019-07-24 Tom de Vries <tdevries@suse.de>
6792
6793 PR testsuite/24612
6794 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6795 additional_flags.
6796
024a5840
TV
67972019-07-24 Tom de Vries <tdevries@suse.de>
6798
6799 PR testsuite/24831
6800 * gdb.multi/tids.exp: Update error messages for info threads.
6801
c76ddaa3
TV
68022019-07-24 Tom de Vries <tdevries@suse.de>
6803
6804 * gdb.base/info-types.exp: Allow info types to print info for more than
6805 one file.
6806
9a618ef6
TV
68072019-07-23 Tom de Vries <tdevries@suse.de>
6808
6809 PR testsuite/24842
6810 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6811 gdb_spawn_with_cmdline_opts.
6812
40eadf04
SP
68132019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6814
6815 * gdb.arch/arm-cmse-sgstubs.c: New test.
6816 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6817
5ba29434
TV
68182019-07-23 Tom de Vries <tdevries@suse.de>
6819
6820 PR testsuite/24711
6821 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6822 issuing next command.
6823
a8e9d247
AB
68242019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6825
6826 * gdb.ada/info_auto_lang.exp: Update expected results.
6827 * gdb.base/info-types.c: Add additional types to check.
6828 * gdb.base/info-types.exp: Update expected results.
6829
eb86c5e2
AB
68302019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6831
6832 * gdb.base/info-types.c: New file.
6833 * gdb.base/info-types.exp: New file.
6834
01e175fe
AB
68352019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6836
6837 * gdb.arch/riscv-bp-infcall.c: New file.
6838 * gdb.arch/riscv-bp-infcall.exp: New file.
6839
6b78c3f8
AB
68402019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6841
6842 PR breakpoints/24541
6843 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6844
da738167
TV
68452019-07-14 Tom de Vries <tdevries@suse.de>
6846
6847 PR testsuite/24760
6848 * gdb.objc/basicclass.exp: Fix unterminated string.
6849
0d4e84ed
AB
68502019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6851 Andrew Burgess <andrew.burgess@embecosm.com>
6852
6853 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6854 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6855 negative bounds.
6856 * gdb.fortran/vla-value.exp: Print elements of an array with
6857 negative bounds.
6858 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6859 testing.
6860
021d8588
AB
68612019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6862
6863 * gdb.base/options.exp (expect_string): Dequote strings in
6864 results.
6865 (test-string): Test strings with different quoting and reindent.
6866
f06f1252
TT
68672019-07-10 Tom Tromey <tromey@adacore.com>
6868
6869 * gdb.ada/mi_ex_cond.exp: Update expected results.
6870 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6871 * gdb.ada/mi_catch_ex.exp: Update expected results.
6872 * gdb.ada/mi_catch_assert.exp: Update expected results.
6873 * gdb.ada/catch_ex.exp (catch_exception_info)
6874 (catch_exception_entry, catch_assert_entry)
6875 (catch_unhandled_entry): Update.
6876 * gdb.ada/catch_assert_if.exp: Update expected results.
6877
b863685d
RB
68782019-07-10 Richard Bunt <richard.bunt@arm.com>
6879 Stephen Roberts <stephen.roberts@arm.com>
6880
6881 * gdb.base/define.exp: Restore original prompt.
6882
cb1e4e32
PA
68832019-07-09 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6886 breakpoints" output.
6887 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6888 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6889 throw" creates breakpoint.
6890 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6891 'type="catchpoint"'.
6892
b58a68fe
PA
68932019-07-09 Pedro Alves <palves@redhat.com>
6894
6895 PR c++/15468
6896 * gdb.cp/except-multi-location-lib.cc: New.
6897 * gdb.cp/except-multi-location-main.cc: New.
6898 * gdb.cp/except-multi-location.exp: New.
6899
0826779b
PW
69002019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6901
6902 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6903 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6904 argument and update callers.
6905
5b0e2db4
AB
69062019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6907
6908 * gdb.arch/amd64-break-on-asm-line.S: New file.
6909 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6910
1f6f6e21
PW
69112019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6912
6913 * gdb.base/printcmds.exp: Test printing C string and
6914 C wide string convenience vars without transiting via the inferior.
6915 Also make test names unique.
6916
ea142fbf
AH
69172019-07-08 Alan Hayward <alan.hayward@arm.com>
6918
5862c886 6919 PR breakpoints/25011
ea142fbf
AH
6920 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6921
213fd9fa
PA
69222019-07-04 Pedro Alves <palves@redhat.com>
6923
6924 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6925 body returned ok(0), break(3) or continue(4).
6926 * gdb.testsuite/foreach_with_prefix.exp: New file.
6927
2b40fda7
AH
69282019-07-04 Alan Hayward <alan.hayward@arm.com>
6929
6930 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6931
a26c8de0
PA
69322019-07-03 Pedro Alves <palves@redhat.com>
6933
6934 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6935 "return -code".
6936
5f4ba3e7
PA
69372019-07-03 Pedro Alves <palves@redhat.com>
6938
6939 PR cli/24732
6940 * gdb.base/shell.exp: Load completion-support.exp.
6941 Adjust expected error output. Add completion tests.
6942
a994424f
PA
69432019-07-03 Pedro Alves <palves@redhat.com>
6944
6945 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6946 string_to_regexp.
6947
3d9be6f5
PA
69482019-07-03 Pedro Alves <palves@redhat.com>
6949
6950 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6951 (expect_integer): Adjust to expect "-string".
6952 (expect_string): New.
6953 (all_options): Expect "-string".
6954 (test-flag, test-boolean): Adjust to expect "-string".
6955 (test-string): New proc.
6956 (top level): Call it.
6957
41fc454c
PA
69582019-07-03 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6961 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6962 the expected output in the success.
6963
b2b2a215
PA
69642019-07-03 Pedro Alves <palves@redhat.com>
6965
6966 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6967 Split one gdb_test_multiple call in two to avoid a race.
6968
fdbc9870
PA
69692019-07-03 Pedro Alves <palves@redhat.com>
6970
6971 * gdb.base/with.c: New file.
6972 * gdb.base/with.exp: New file.
6973
c6ac8931
PA
69742019-07-03 Pedro Alves <palves@redhat.com>
6975
6976 * gdb.base/settings.exp: Replace all references to "maint
6977 test-settings set" with references to "maint set test-settings",
6978 and all references to "maint test-settings show" with references
6979 to "maint show test-settings".
6980
970f9d09
PA
69812019-07-03 Pedro Alves <palves@redhat.com>
6982
6983 * gdb.base/settings.exp (test-string): Adjust expected out when
6984 testing "maint test-settings show filename"
6985
54d66006
PA
69862019-07-02 Pedro Alves <palves@redhat.com>
6987
6988 * gdb.base/options.exp (test-info-threads): New procedure.
6989 (top level): Call it.
6990
10d06d82
TT
69912019-06-28 Tom Tromey <tromey@adacore.com>
6992
6993 * gdb.dwarf2/ada-linkage-name.c: New file.
6994 * gdb.dwarf2/ada-linkage-name.exp: New file.
6995
3d507ff2
TT
69962019-06-27 Tom Tromey <tromey@adacore.com>
6997
d039f014 6998 PR c++/20020:
3d507ff2
TT
6999 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7000
8af58ffe
TV
70012019-06-26 Tom de Vries <tdevries@suse.de>
7002
7003 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7004
22e21752
TV
70052019-06-26 Tom de Vries <tdevries@suse.de>
7006
7007 * gdb.base/index-cache.exp: Add back missing debug option.
7008
b65b566c
PW
70092019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7010
7011 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7012
5c2c8c69
TV
70132019-06-25 Tom de Vries <tdevries@suse.de>
7014
7015 PR testsuite/24727
7016 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7017
164e3873
TV
70182019-06-24 Tom de Vries <tdevries@suse.de>
7019
7020 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7021
824eacee
TV
70222019-06-24 Tom de Vries <tdevries@suse.de>
7023
7024 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7025 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7026 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7027
385b97d3
TV
70282019-06-24 Tom de Vries <tdevries@suse.de>
7029
7030 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7031
c596f180
TV
70322019-06-21 Tom de Vries <tdevries@suse.de>
7033
7034 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7035
b13a7d03
TV
70362019-06-21 Tom de Vries <tdevries@suse.de>
7037
7038 PR testsuite/24518
7039 PR ada/24713
7040 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7041 index.
7042
899277ae
TT
70432019-06-19 Tom Tromey <tromey@adacore.com>
7044
7045 * gdb.ada/length_cond.exp: Add intro comment.
7046
680e1bee
TT
70472019-06-19 Tom Tromey <tromey@adacore.com>
7048
7049 * gdb.ada/length_cond.exp: New file.
7050 * gdb.ada/length_cond/length_cond.adb: New file.
7051 * gdb.ada/length_cond/pck.adb: New file.
7052 * gdb.ada/length_cond/pck.ads: New file.
7053
0ed4690a
TV
70542019-06-18 Tom de Vries <tdevries@suse.de>
7055
7056 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7057
d20ed5fd
TT
70582019-06-18 Tom Tromey <tromey@adacore.com>
7059
7060 * gdb.base/list0.h: Add comment explaining control character.
7061
86e04673
TV
70622019-06-18 Tom de Vries <tdevries@suse.de>
7063
7064 * boards/fission.exp: Break up long debug_flags line.
7065
c4973306
SM
70662019-06-16 Tom de Vries <tdevries@suse.de>
7067
7068 PR gdb/24445
7069 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7070 generated index.
7071
93cb9841
AB
70722019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7073
7074 PR gdb/24686
7075 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7076 improve detection of bug gdb/24541.
7077
399aaebd
SM
70782019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7079
7080 PR gdb/24669
7081 * gdb.base/index-cache.exp (uses_readnow,
7082 expecting_index_cache_use): Define global variable.
7083 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7084 expecting_index_cache_use.
7085
584a927c
AB
70862019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7087 Andrew Burgess <andrew.burgess@embecosm.com>
7088
7089 * gdb.fortran/pointers.f90: New file.
7090 * gdb.fortran/print_type.exp: New file.
7091 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7092 * gdb.fortran/vla-type.exp: Likewise.
7093 * gdb.fortran/vla-value.exp: Likewise.
7094 * gdb.mi/mi-vla-fortran.exp: Likewise.
7095
30056ea0
AB
70962019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7097
7098 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7099 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7100 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7101 as a stop reason.
7102
ec8e2b6d
AB
71032019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7104
7105 * gdb.base/annota1.exp: Update expected results.
7106 * gdb.cp/annota2.exp: Likewise.
7107 * gdb.cp/annota3.exp: Likewise.
7108
09e4c4e1
AB
71092019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7110
7111 * gdb.base/style-logging.exp: Remove path from test name.
7112
0735b091
TT
71132019-06-14 Tom Tromey <tromey@adacore.com>
7114
7115 PR gdb/24502:
7116 * gdb.base/style-logging.exp: New file.
7117
f5686554
TT
71182019-06-14 Tom Tromey <tromey@adacore.com>
7119
7120 * gdb.base/symfile-warn.exp: New file.
7121 * gdb.base/symfile-warn.c: New file.
7122
a0c1ffed
TT
71232019-06-14 Tom Tromey <tromey@adacore.com>
7124
7125 * gdb.base/annotate-symlink.exp: New file.
7126
f411722c
TT
71272019-06-14 Tom Tromey <tromey@adacore.com>
7128
7129 * gdb.ada/set_wstr.exp: Add reassignment test.
7130
4268ec18
TT
71312019-06-14 Tom Tromey <tromey@adacore.com>
7132
7133 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7134 'unchecked_access and 'unrestricted_access as well.
7135
9a9e394b
TT
71362019-06-14 Tom Tromey <tromey@adacore.com>
7137
7138 PR ada/24539:
7139 * gdb.ada/vla.exp: Update tests.
7140 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7141 pragma.
7142
4c048731
PA
71432019-06-13 Pedro Alves <palves@redhat.com>
7144
7145 * gdb.base/settings.exp (test-integer): Test junk after
7146 "unlimited".
7147
6665660a
PA
71482019-06-13 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.base/options.exp (test-thread-apply): New.
7151 (top level): Call it.
7152
5d707134
PA
71532019-06-13 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.base/options.exp (test-frame-apply): New.
7156 (top level): Test print commands with different "frame apply"
7157 prefixes.
7158
e2a689da
PA
71592019-06-13 Pedro Alves <palves@redhat.com>
7160
e79be6e5 7161 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7162 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7163 'max_completions' parameter and handle it.
7164 (test_gdb_completion_offers_commands): New.
7165
90a1ef87
PA
71662019-06-13 Pedro Alves <palves@redhat.com>
7167
7168 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7169
d4c16835
PA
71702019-06-13 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.base/options.exp (test-backtrace): New.
7173 (top level): Call it.
7174
2daf894e
PA
71752019-06-13 Pedro Alves <palves@redhat.com>
7176
7177 * gdb.guile/scm-frame-args.exp: Use "set print
7178 raw-frame-arguments" instead of "set print raw frame-arguments".
7179 * gdb.python/py-frame-args.exp: Likewise.
7180
e6ed716c
PA
71812019-06-13 Pedro Alves <palves@redhat.com>
7182
7183 * gdb.compile/compile.exp: Adjust expected output to option
7184 processing changes.
7185
7d8062de
PA
71862019-06-13 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/options.exp: Build executable.
7189 (test-print): New procedure.
7190 (top level): Call it, once for "print" and another for "compile
7191 print".
7192
9d0faba9
PA
71932019-06-13 Pedro Alves <palves@redhat.com>
7194
7195 * gdb.base/options.c: New file.
7196 * gdb.base/options.exp: New file.
7197
dee7b4c8
PA
71982019-06-13 Pedro Alves <palves@redhat.com>
7199
7200 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7201 that "o" is ambiguous.
7202
dca0f6c0
PA
72032019-06-13 Pedro Alves <palves@redhat.com>
7204
7205 * gdb.base/settings.c: New file.
7206 * gdb.base/settings.exp: New file.
7207
ccf46844
PA
72082019-06-13 Pedro Alves <palves@redhat.com>
7209
7210 * gdb.base/completion.exp: Fix comment typo.
7211
b9a3f842
PA
72122019-06-13 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7215 foo --1" test.
7216
d106773e
PA
72172019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7218
7219 * gdb.fortran/block-data.f: New.
7220 * gdb.fortran/block-data.exp: New.
7221
fea82da0
TV
72222019-06-11 Tom de Vries <tdevries@suse.de>
7223
7224 PR testsuite/24521
7225 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7226 message.
7227
8c2e74f1
TV
72282019-06-11 Tom de Vries <tdevries@suse.de>
7229
7230 PR testsuite/24521
7231 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7232
b49851c8
TV
72332019-06-11 Tom de Vries <tdevries@suse.de>
7234
7235 * boards/readnow.exp: New file.
7236
a7067863
AB
72372019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7238
7239 * gdb.fortran/vla-sizeof.exp: Update expected results.
7240
1a3da2cd
AB
72412019-06-06 Amos Bird <amosbird@gmail.com>
7242
7243 * gdb.base/annota1.exp (thread_switch): Add test for
7244 thread-exited annotation.
7245
3847a7bf
TT
72462019-06-06 Tom Tromey <tromey@adacore.com>
7247
7248 * gdb.base/maint.exp: Expect command started/finished output.
7249
0088ba59
AB
72502019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7251
7252 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7253 comment.
7254 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7255
312617a3
AB
72562019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7257
7258 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7259 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7260 * gdb.arch/riscv-unwind-long-insn.c: New file.
7261 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7262
e1f2e1a2
CB
72632019-06-04 Christian Biesinger <cbiesinger@google.com>
7264
d3238f7d 7265 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7266
206584bd
PW
72672019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7268
7269 * lib/gdb.exp (help_list_trailer): New regexp variable
7270 factorizing the help trailer message.
7271 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7272 arg to allow to better factorize various tests.
7273 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7274 (test_prefix_command_help): Use help_list_trailer.
7275 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7276 * gdb.guile/scm-cmd.exp: Likewise.
7277 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7278 * gdb.base/help.exp: Use test_user_defined_class_help.
7279 * gdb.base/style.exp: Add tests for styling of help and apropos.
7280 * lib/gdb-utils.exp (style): Add title and highlight styles.
7281
708dc93e
PW
72822019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7283
7284 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7285 $_shell_exitsignal.
7286 * gdb.base/default.exp: Update for new convenience variables.
7287
f49055a5
TT
72882019-05-29 Tom Tromey <tromey@adacore.com>
7289
7290 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7291 to "break complete ada" test case's regexp.
7292
4330d61d
TT
72932019-05-29 Tom Tromey <tromey@adacore.com>
7294
7295 PR c++/20020:
7296 * gdb.cp/constexpr-field.exp: New file.
7297 * gdb.cp/constexpr-field.cc: New file.
7298
000439d5
TT
72992019-05-29 Tom Tromey <tromey@adacore.com>
7300
7301 * gdb.base/finish.exp (finish_no_print): New proc.
7302 (finish_tests): Call it.
7303
5a01c34c
TV
73042019-05-24 Tom de Vries <tdevries@suse.de>
7305
7306 * gdb.dwarf2/gdb-add-index.exp: New file.
7307
18125b16
TT
73082019-05-22 Tom Tromey <tromey@adacore.com>
7309
7310 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7311 * gdb.base/style.exp: Use "style".
7312 * lib/gdb-utils.exp (style): New proc.
7313
af1a8d03
TV
73142019-05-22 Tom de Vries <tdevries@suse.de>
7315
7316 * gdb.base/align.exp: Require c++11.
7317
e7fe496b
TV
73182019-05-22 Tom de Vries <tdevries@suse.de>
7319
7320 PR testsuite/24586
7321 * gdb.python/py-mi-var-info-path-expression.exp: Call
7322 mi_skip_python_tests to check if python is supported.
7323
8fca4da0
AH
73242019-05-22 Alan Hayward <alan.hayward@arm.com>
7325
7326 * gdb.arch/aarch64-pauth.c: New test.
7327 * gdb.arch/aarch64-pauth.exp: New file.
7328
b7060614
AH
73292019-05-22 Alan Hayward <alan.hayward@arm.com>
7330
7331 * README (Re-running Tests Outside The Testsuite): New section.
7332
669d0468
TV
73332019-05-21 Tom de Vries <tdevries@suse.de>
7334
7335 * gdb.arch/amd64-eval.exp: Require c++11.
7336 * gdb.base/max-depth.exp: Same.
7337 * gdb.compile/compile-cplus-array-decay.exp: Same.
7338 * gdb.cp/meth-typedefs.exp: Same.
7339 * gdb.cp/subtypes.exp: Same.
7340 * gdb.cp/temargs.exp: Same.
7341
ce3ebcaa
AH
73422019-05-21 Alan Hayward <alan.hayward@arm.com>
7343
7344 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7345
34d11c68
AB
73462019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7347
7348 PR gdb/18644
7349 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7350 * gdb.fortran/printing-types.exp: Add new test.
7351 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7352 testing.
7353 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7354 setup_kfail call.
7355
87781e84
AH
73562019-05-17 Alan Hayward <alan.hayward@arm.com>
7357
7358 * README (Running the Testsuite): Change example.
7359 (Testsuite Parameters): Remove TRANSCRIPT.
7360 * lib/gdb.exp: Remove TRANSCRIPT check.
7361
b420b89e
AH
73622019-05-17 Alan Hayward <alan.hayward@arm.com>
7363
7364 * README (Testsuite Parameters): Add replay logging to
7365 GDBSERVER_DEBUG.
7366 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7367 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7368 as a comma separated list.
7369 (gdb_debug_init): Override procedure.
7370
408e9b8b
AH
73712019-05-17 Alan Hayward <alan.hayward@arm.com>
7372
7373 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7374 (gdb_write_cmd_file): New procedure.
7375 * lib/gdbserver-support.exp (gdbserver_start): Call
7376 gdbserver_write_cmd_file.
7377 (gdbserver_write_cmd_file): New procedure.
7378
f9e2e39d
AH
73792019-05-17 Alan Hayward <alan.hayward@arm.com>
7380
7381 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7382 (delete_breakpoints): Likewise.
7383 (gdb_run_cmd): Likewise.
7384 (gdb_start_cmd): Likewise.
7385 (gdb_starti_cmd): Likewise.
7386 (gdb_internal_error_resync): Likewise.
7387 (gdb_test_multiple): Likewise.
7388 (gdb_reinitialize_dir): Likewise.
7389 (default_gdb_exit): Likewise.
7390 (gdb_file_cmd): Mark kill as optional.
7391 (default_gdb_start): Call gdb_stdin_log_init.
7392 (send_gdb): Call gdb_stdin_log_write.
7393 (rerun_to_main): Mark Y as an answer.
7394 (gdb_stdin_log_init): New function.
7395 (gdb_stdin_log_write): Likewise.
7396
81f47ac2
AH
73972019-05-17 Alan Hayward <alan.hayward@arm.com>
7398
7399 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7400 * gdb.base/debug-expr.exp: Likewise.
7401 * gdb.base/foll-fork.exp: Likewise.
7402 * gdb.base/foll-vfork.exp: Likewise.
7403 * gdb.base/fork-print-inferior-events.exp: Likewise.
7404 * gdb.base/gdb-sigterm.exp: Likewise.
7405 * gdb.base/gdbinit-history.exp: Likewise.
7406 * gdb.base/osabi.exp: Likewise.
7407 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7408 * gdb.base/ui-redirect.exp: Likewise.
7409 * gdb.gdb/unittest.exp: Likewise.
7410 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7411 * gdb.mi/mi-watch.exp: Likewise.
7412 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7413 * gdb.mi/user-selected-context-sync.exp: Likewise.
7414 * gdb.python/python.exp: Disable debug test when debugging.
7415 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7416 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7417 Likewise.
7418 * gdb.threads/stepi-random-signal.exp: Likewise.
7419
29b52314
AH
74202019-05-17 Alan Hayward <alan.hayward@arm.com>
7421
7422 * Makefile.in: Pass through GDB_DEBUG.
7423 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7424 (gdb,debug): Add board setting.
7425 * lib/gdb.exp (default_gdb_start): Start debugging.
7426 (gdb_debug_enabled): New procedure.
7427 (gdb_debug_init): Likewise.
29b52314
AH
7428
74292019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7430
29b52314
AH
7431 * Makefile.in: Pass through GDB_DEBUG.
7432 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7433 (gdb,debug): Add board setting.
7434 * lib/gdb.exp (default_gdb_start): Start debugging.
7435 (gdb_debug_enabled): New procedure.
7436 (gdb_debug_init): Likewise.
29b52314 7437
ca1285d1
AH
74382019-05-17 Alan Hayward <alan.hayward@arm.com>
7439
7440 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7441
f3a09c80
AH
74422019-05-17 Alan Hayward <alan.hayward@arm.com>
7443
7444 * gdb.base/ui-redirect.exp: Test redirection.
7445
26648588
JV
74462019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7447
7448 * gdb.mi/mi-complete.exp: New file.
7449 * gdb.mi/mi-complete.cc: Likewise.
7450
14237686
AB
74512019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7452
7453 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7454 indexed and sliced arrays, and pointers to arrays.
7455
e7bd7fba
TT
74562019-05-14 Tom Tromey <tromey@adacore.com>
7457
7458 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7459 styling test.
7460
2764128d
TV
74612019-05-14 Tom de Vries <tdevries@suse.de>
7462
7463 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7464 selection entry encoding.
7465
71bed2db
TT
74662019-05-10 Tom Tromey <tromey@adacore.com>
7467
7468 * gdb.ada/info_exc.exp: Add "complete" test.
7469
63b667ad
TV
74702019-05-09 Tom de Vries <tdevries@suse.de>
7471
7472 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7473 CU-relative.
7474
9cfd2b89
TV
74752019-05-09 Tom de Vries <tdevries@suse.de>
7476
7477 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7478 CU-relative.
7479
2228ef77
XR
74802019-05-08 Joel Brobecker <brobecker@adacore.com>
7481
7482 * gdb.ada/frame_arg_lang.exp: New testcase.
7483 * gdb.ada/frame_arg_lang/bla.adb: New file.
7484 * gdb.ada/frame_arg_lang/pck.ads: New file.
7485 * gdb.ada/frame_arg_lang/pck.adb: New file.
7486 * gdb.ada/frame_arg_lang/foo.c: New file.
7487
80e55b13
TT
74882019-05-08 Tom Tromey <tromey@adacore.com>
7489
7490 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7491
9d3421af
TT
74922019-05-08 Tom Tromey <tromey@adacore.com>
7493
7494 * gdb.base/ptype-offsets.exp: Update tests.
7495
844333e2
TT
74962019-05-08 Tom Tromey <tromey@adacore.com>
7497
7498 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7499 cases.
7500 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7501 "short".
7502
988915ee
TT
75032019-05-08 Tom Tromey <tromey@adacore.com>
7504
7505 * gdb.ada/vla.exp: New file.
7506 * gdb.ada/vla/vla.adb: New file.
7507
7bd55dac
TV
75082019-05-07 Tom de Vries <tdevries@suse.de>
7509
7510 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7511
75f06e9d
TV
75122019-05-07 Tom de Vries <tdevries@suse.de>
7513
7514 PR testsuite/24522
7515 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7516 section.
7517
77e7aaa4
TV
75182019-05-07 Tom de Vries <tdevries@suse.de>
7519
7520 PR testsuite/24522
7521 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7522 .debug_aranges section.
7523
456ba0fa
TV
75242019-05-07 Tom de Vries <tdevries@suse.de>
7525
7526 PR testsuite/24159
7527 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7528
5a56d6a6
TV
75292019-05-06 Tom de Vries <tdevries@suse.de>
7530
7531 * lib/gdb.exp (exec_has_index_section): New proc.
7532 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7533 section.
7534
9d6d4be8
TV
75352019-05-04 Tom de Vries <tdevries@suse.de>
7536
7537 * boards/cc-with-debug-names.exp: New file.
7538
222a8d25
TT
75392019-05-03 Tom Tromey <tromey@adacore.com>
7540
7541 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7542 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7543 * gdb.ada/char_enum.exp: Add test.
7544
0fdfd794
TV
75452019-05-03 Tom de Vries <tdevries@suse.de>
7546
7547 * boards/cc-with-gdb-index.exp: New file.
7548
80062eb9
AB
75492019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7550
7551 * gdb.rust/simple.exp: Add new test case.
7552 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7553 (main): Initialise an instance of the new struct.
7554
4504bbde
TT
75552019-05-01 Tom Tromey <tromey@adacore.com>
7556
7557 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7558 record.
7559 (NPR): New variable.
7560 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7561 test.
7562
d48e62f4
TT
75632019-05-01 Tom Tromey <tromey@adacore.com>
7564
7565 * gdb.ada/packed_array_assign.exp: Add packed assignment
7566 regression test.
7567
f59f30f5
TV
75682019-05-01 Tom de Vries <tdevries@suse.de>
7569
7570 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7571
b70bfc54
TV
75722019-05-01 Tom de Vries <tdevries@suse.de>
7573
7574 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7575
15f18d14
AT
75762019-04-30 Ali Tamur <tamur@google.com>
7577
7578 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7579
2ff0a947
TT
75802019-04-30 Tom Tromey <tromey@adacore.com>
7581
7582 * lib/ada.exp (find_ada_tool): New proc.
7583 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7584 * gdb.ada/catch_ex_std.exp: New file.
7585 * gdb.ada/catch_ex_std/foo.adb: New file.
7586 * gdb.ada/catch_ex_std/some_package.adb: New file.
7587 * gdb.ada/catch_ex_std/some_package.ads: New file.
7588
a776957c
TT
75892019-04-30 Tom Tromey <tromey@adacore.com>
7590
7591 PR c++/24470:
7592 * gdb.cp/temargs.cc: Add test code from PR.
7593
bc68014d
AB
75942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7595
7596 * gdb.fortran/vla-datatypes.exp: Update expected results.
7597 * gdb.fortran/vla-ptype.exp: Likewise.
7598 * gdb.fortran/vla-type.exp: Likewise.
7599 * gdb.fortran/vla-value.exp: Likewise.
7600
f1fdc960
AB
76012019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7602
7603 * gdb.fortran/ptr-indentation.exp: Update expected results.
7604 * gdb.fortran/ptype-on-functions.exp: Likewise.
7605 * gdb.fortran/vla-ptr-info.exp: Likewise.
7606 * gdb.fortran/vla-value.exp: Likewise.
7607
bf7a4de1
AB
76082019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7609
7610 * gdb.fortran/ptype-on-functions.exp: New file.
7611 * gdb.fortran/ptype-on-functions.f90: New file.
7612
bbe75b9d
AB
76132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7614
7615 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7616 case void string.
7617
1db455a7
AB
76182019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7619
7620 * gdb.fortran/complex.exp: Expand.
7621 * gdb.fortran/complex.f: Renamed to...
7622 * gdb.fortran/complex.f90: ...this, and extended to add more
7623 complex values.
7624
b6d03bb2
AB
76252019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7626
7627 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7628 MODULO, CMPLX.
7629
2e62ab40
AB
76302019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7631 Richard Bunt <richard.bunt@arm.com>
7632
7633 * gdb.base/max-depth.c: New file.
7634 * gdb.base/max-depth.exp: New file.
7635 * gdb.python/py-nested-maps.c: New file.
7636 * gdb.python/py-nested-maps.exp: New file.
7637 * gdb.python/py-nested-maps.py: New file.
7638 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7639 (test_all_common): Call test_max_depth.
7640 * gdb.fortran/max-depth.exp: New file.
7641 * gdb.fortran/max-depth.f90: New file.
7642 * gdb.go/max-depth.exp: New file.
7643 * gdb.go/max-depth.go: New file.
7644 * gdb.modula2/max-depth.exp: New file.
7645 * gdb.modula2/max-depth.c: New file.
7646 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7647
d2b584a5
TV
76482019-04-29 Tom de Vries <tdevries@suse.de>
7649
7650 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7651
136afab8
PW
76522019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7653
7654 * gdb.base/callexit.exp: Test may-call-functions off.
7655
725cbb63
KS
76562019-04-25 Keith Seitz <keiths@redhat.com>
7657
7658 PR c++/24367
7659 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7660 (another_incomplete_struct, test_incomplete): New definitions.
7661 (main): Use new definitions.
7662 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7663 functions.
7664
701adfb0
PA
76652019-04-25 Ali Tamur <tamur@google.com>
7666
7667 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7668
82433e3e
SDJ
76692019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7670
7671 PR corefiles/11608
7672 PR corefiles/18187
7673 * gdb.base/coredump-filter-build-id.exp: New file.
7674
dd06d4d6
AH
76752019-04-25 Alan Hayward <alan.hayward@arm.com>
7676
e79be6e5
SM
7677 * Makefile.in: Pass through GDBSERVER_DEBUG.
7678 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7679 (gdbserver,debug): Add board setting.
7680 * gdb.trace/tspeed.exp: Skip when debugging.
7681 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7682 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7683
1670072e
TT
76842019-04-24 Tom Tromey <tromey@adacore.com>
7685
7686 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7687 Rust.
7688
a59240a4
TT
76892019-04-24 Tom Tromey <tromey@adacore.com>
7690
7691 * gdb.arch/amd64-eval.exp: Test bitfield return.
7692 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7693 (class Foo) <return_bitfields>: New method.
7694 (main): Call it.
7695
b907456c
AB
76962019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7697
7698 * gdb.cp/many-args.cc: New file.
7699 * gdb.cp/many-args.exp: New file.
7700
5c565afd
TV
77012019-04-23 Tom de Vries <tdevries@suse.de>
7702
7703 PR gdb/24433
7704 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7705
ba22ff86
AH
77062019-04-23 Alan Hayward <alan.hayward@arm.com>
7707
7708 * gdb.trace/backtrace.exp: Use nopie flag.
7709 * gdb.trace/circ.exp: Likewise.
7710 * gdb.trace/collection.exp: Likewise.
7711 * gdb.trace/ftrace.exp: Likewise.
7712 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7713 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7714 * gdb.trace/qtro.exp: Likewise.
7715 * gdb.trace/read-memory.exp: Likewise.
7716 * gdb.trace/report.exp: Likewise.
7717 * gdb.trace/tfile.exp: Likewise.
7718 * gdb.trace/tfind.exp: Likewise.
7719 * gdb.trace/unavailable.exp: Likewise.
7720
7905fc35
PA
77212019-04-22 Pedro Alves <palves@redhat.com>
7722
7723 * gdb.base/solib-probes-nosharedlibrary.c,
7724 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7725
8ecb59f8
TT
77262019-04-19 Tom Tromey <tromey@adacore.com>
7727
7728 * gdb.ada/ptype_union.c: New file.
7729 * gdb.ada/ptype_union.exp: New file.
7730
62160ec9
TT
77312019-04-19 Tom Tromey <tromey@adacore.com>
7732
7733 PR symtab/24423:
7734 * gdb.base/list0.h (foo): Add a control-l character.
7735
36cd4ba5
TV
77362019-04-18 Tom de Vries <tdevries@suse.de>
7737
7738 PR gdb/24433
7739 * boards/local-board.exp: Set sysroot to "".
7740
b73715df
TV
77412019-04-18 Tom de Vries <tdevries@suse.de>
7742 Pedro Alves <palves@redhat.com>
7743
7744 PR gdb/24454
7745 * gdb.threads/vfork-follow-child-exec.c: New file.
7746 * gdb.threads/vfork-follow-child-exec.exp: New file.
7747 * gdb.threads/vfork-follow-child-exit.c: New file.
7748 * gdb.threads/vfork-follow-child-exit.exp: New file.
7749
4aa866af
LS
77502019-04-15 Leszek Swirski <leszeks@google.com>
7751
7752 * gdb.arch/amd64-eval.cc: New file.
7753 * gdb.arch/amd64-eval.exp: New file.
7754
e5a1a79a
AH
77552019-04-11 Alan Hayward <alan.hayward@arm.com>
7756
7757 * gdb.server/sysroot.c: New test.
7758 * gdb.server/sysroot.exp: New file.
7759 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7760 matching param.
7761
41077b66
AB
77622019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7763
7764 * gdb.base/align.exp: Extend test to cover structures containing
7765 only static fields.
7766
c30391f8
TV
77672019-04-11 Tom de Vries <tdevries@suse.de>
7768
7769 * boards/cc-with-dwz-m.exp: New file.
7770 * boards/cc-with-dwz.exp: New file.
7771 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7772
e242fd12
SM
77732019-04-09 Simon Marchi <simon.marchi@efficios.com>
7774
7775 * gdb.base/start-cpp.exp: New file.
7776 * gdb.base/start-cpp.cc: New file.
7777
2b0c8b01
KB
77782019-04-08 Kevin Buettner <kevinb@redhat.com>
7779
7780 * gdb.python/py-thrhandle.exp: Adjust tests to call
7781 thread_from_handle instead of thread_from_thread_handle.
7782
947210e5
KB
77832019-04-08 Kevin Buettner <kevinb@redhat.com>
7784
7785 * gdb.python/py-thrhandle.exp: Add tests for
7786 gdb.InferiorThread.handle.
7787
d7df6549
AB
77882019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7789
7790 * gdb.python/py-function.exp: Check calling helper function from
7791 all languages.
7792 * lib/gdb.exp (gdb_supported_languages): New proc.
7793
8bdc1658
AB
77942019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7795
7796 * gdb.base/complex-parts.c: New file.
7797 * gdb.base/complex-parts.exp: New file.
7798
05caa1d2
TT
77992019-04-01 Tom Tromey <tromey@adacore.com>
7800
7801 PR symtab/23331:
7802 * gdb.dwarf2/dw2-ranges-main.c: New file.
7803 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7804 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7805
7734102d
EZ
78062019-03-30 Simon Marchi <simark@simark.ca>
7807
7808 * gdb.base/default.exp: Add values for $_gdb_major and
7809 $_gdb_minor.
7810
188e1fa9
TT
78112019-03-29 Tom Tromey <tromey@adacore.com>
7812
7813 * gdb.base/help.exp: Tighten apropos regexp.
7814
2880242d
KS
78152019-03-29 Keith Seitz <keiths@redhat.com>
7816
7817 * gdb.fortran/array-bounds.exp: New file.
7818 * gdb.fortran/array-bounds.f90: New file.
7819
077cad8e
PW
78202019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7821
7822 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7823
80047cfc
PW
78242019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7825
7826 * gdb.multi/hello.c (main): Increase alarm timer.
7827
f489207e
SL
78282019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7829
7830 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7831 factor when no hardware watchpoint support.
7832
c92df149
AH
78332019-03-28 Alan Hayward <alan.hayward@arm.com>
7834 Pedro Alves <palves@redhat.com>
7835
7836 * boards/local-board.exp: set sysroot to /.
7837
933aebfa
AH
78382019-03-27 Alan Hayward <alan.hayward@arm.com>
7839
7840 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7841 in child.
7842
9f9aa852
AB
78432019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7844
7845 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7846 field.
7847 (make_container): Initialise new field.
7848 * gdb.python/py-prettyprint.exp: Add new tests.
7849 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7850 <display_hint>: New method.
7851
3714a195
AB
78522019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7853
7854 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7855 gdb_continue_to_breakpoint more throughout this test.
7856 (run_lang_tests) Supply unique test names, and use
7857 gdb_test_no_output.
7858
18c77628
AB
78592019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7860
7861 * gdb.base/finish-pretty.exp: Update expected results.
7862 * gdb.base/pretty-print.c: New file.
7863 * gdb.base/pretty-print.exp: New file.
7864
9a93502f
PA
78652019-03-25 Pedro Alves <palves@redhat.com>
7866
7867 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7868 move comments outside list. Append '-i "" eof' section.
7869
968aa7ae
AH
78702019-03-22 Alan Hayward <alan.hayward@arm.com>
7871
34a7f2a4 7872 PR testsuite/25016
968aa7ae
AH
7873 * README: Add pie options.
7874 * gdb.base/break-interp.exp: Ensure pie is disabled.
7875 * gdb.base/dump.exp: Likewise.
7876 * lib/gdb.exp (gdb_compile): Add pie option.
7877
4c7d57e7
TT
78782019-03-19 Tom Tromey <tromey@adacore.com>
7879
7880 * gdb.mi/mi2-cli-display.c: New file.
7881 * gdb.mi/mi2-cli-display.exp: New file.
7882
bff8c71f
TT
78832019-03-18 Joel Brobecker <brobecker@adacore.com>
7884 Tom Tromey <tromey@adacore.com>
7885
7886 * gdb.ada/ptype_array/pck.adb: New file.
7887 * gdb.ada/ptype_array/pck.ads: New file.
7888 * gdb.ada/ptype_array/foo.adb: New file.
7889 * gdb.ada/ptype_array.exp: New file.
7890
d085f989
TT
78912019-03-14 Tom Tromey <tromey@adacore.com>
7892
7893 * gdb.base/style.exp: Add "set style sources" test.
7894
b4be1b06
SM
78952019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7896
7897 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7898 * mi-breakpoint-multiple-locations.exp: ... this.
7899 (make_breakpoints_pattern): New proc.
7900 (do_test): Add mi_version parameter, test -break-insert,
7901 -break-info and =breakpoint-created.
7902
7cde5fc2
AB
79032019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7904
7905 * config/default.exp: Remove 'load_lib gdb.exp'.
7906 * config/monitor.exp: Likewise.
7907 * config/sid.exp: Likewise.
7908 * config/sim.exp: Likewise.
7909 * config/slite.exp: Likewise.
7910 * config/unix.exp: Likewise.
7911 * gdb.base/default.exp: Remove unhelpful comment.
7912
efbecbc1
AB
79132019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7914
7915 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7916
0841c79a
AB
79172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7918
7919 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7920
4a270568
AB
79212019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7922
7923 * gdb.fortran/type-kinds.exp: Update expected results.
7924
067630bd
AB
79252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7926
7927 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7928
3be47f7a
AB
79292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7930
7931 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7932 function.
7933 (test_basic_parsing_of_type_kinds): Expand types tested.
7934 (test_parsing_invalid_type_kinds): New function.
7935
4d00f5d8
AB
79362019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7937
7938 * gdb.fortran/intrinsics.exp: New file.
7939 * gdb.fortran/intrinsics.f90: New file.
7940 * gdb.fortran/type-kinds.exp: New file.
7941
c8f91604
AB
79422019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7943
7944 * gdb.fortran/dot-ops.exp: New file.
7945
dd9f2c76
AB
79462019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7947
7948 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7949 Check upper and lower case logical literals.
7950
84ec9724
AB
79512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7952
7953 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7954 Remove duplicate tests.
7955
c3734e09
AH
79562019-03-06 Alan Hayward <alan.hayward@arm.com>
7957
7958 * lib/gdb.exp (builtin_cd): rename of cd.
7959 (cd): Override builtin.
7960
aa3cfbda
RB
79612019-03-06 Richard Bunt <richard.bunt@arm.com>
7962
7963 * gdb.fortran/function-calls.exp: New file.
7964 * gdb.fortran/function-calls.f90: New test.
7965
7b63ad86
RB
79662019-03-04 Richard Bunt <richard.bunt@arm.com>
7967
7968 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7969 on user program standard output.
7970 * gdb.fortran/short-circuit-argument-list.f90: Record function
7971 calls.
7972
01abb042
AH
79732019-02-28 Alan Hayward <alan.hayward@arm.com>
7974
c3734e09
AH
7975 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7976 failure.
01abb042 7977
92137da0
RO
79782019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979
7980 PR gdb/8527
7981 * gdb.base/interrupt-daemon-attach.c,
7982 gdb.base/interrupt-daemon-attach.exp: New test.
7983
5862844d
PA
79842019-02-27 Pedro Alves <palves@redhat.com>
7985
7986 * gdb.base/page.exp: Add tests for "set width/height -1".
7987
8ed25214
PA
79882019-02-27 Pedro Alves <palves@redhat.com>
7989
7990 * gdb.base/page.exp: Add tests for "set/show width/height" with
7991 "infinite" values.
7992
6c28e44a
TT
79932019-02-27 Tom Tromey <tromey@adacore.com>
7994
7995 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7996 2.4.
7997 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7998 workaround.
7999
bf9a735e
AB
80002019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8001
8002 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8003 tests for structs with static members.
8004
8791793c
TT
80052019-02-26 Tom Tromey <tromey@adacore.com>
8006
8007 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8008 ValueError, not TypeError.
8009
bc2a507e
KB
80102019-02-26 Kevin Buettner <kevinb@redhat.com>
8011
8012 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8013 call from main program.
8014
e0e7d3bd
JB
80152019-02-23 Joel Brobecker <brobecker@adacore.com>
8016
8017 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8018 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8019 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8020 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8021 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8022
9600246d
KS
80232019-02-22 Keith Seitz <keiths@redhat.com>
8024
8025 PR symtab/23853
8026 * gdb.base/symlink-sourcefile.c: New file.
8027 * gdb.base/symlink-sourcefile.exp: New file.
8028
0c95f9ed
TT
80292019-02-20 Tom Tromey <tom@tromey.com>
8030
8031 * gdb.base/info_qt.exp: Update.
8032
6caa91b6
SM
80332019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8034
8035 * gdb.base/source.exp: Move "error in sourced script" code to
8036 the end.
8037 * gdb.base/source-error.gdb: Move contents to
8038 source-error-1.gdb. Add new code to source source-error-1.gdb.
8039 * gdb.base/source-error-1.gdb: New file, from previous
8040 source-error.gdb.
8041
6506371f
TT
80422019-02-17 Tom Tromey <tom@tromey.com>
8043
8044 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8045 for macro styling.
8046 * gdb.base/style.c (SOME_MACRO): New macro.
8047
a0087920
TT
80482019-02-17 Tom Tromey <tom@tromey.com>
8049
8050 * gdb.base/style.exp: Add line-wrapping tests.
8051 * gdb.base/page.exp: Add test for quitting during pagination.
8052
a2cd4f14
JB
80532019-02-17 Joel Brobecker <brobecker@adacore.com>
8054
8055 * gdb.ada/big_packed_array: New testcase.
8056 * gdb.ada/homonym.exp: Fix incorrect expected output for
8057 "break <homonym__get_value>" test.
8058
9d70ffbc
WP
80592019-02-13 Weimin Pan <weimin.pan@oracle.com>
8060
8061 PR breakpoints/21870
8062 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8063 and prepare_for_testing. Add comment.
8064 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8065 redundant cleanup call. Clean up comment.
8066
01c7ae81
WP
80672019-02-12 Weimin Pan <weimin.pan@oracle.com>
8068
8069 PR breakpoints/21870
8070 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8071 * gdb.arch/aarch64-dbreg-contents.c: New file.
8072
aff29d1c
JB
80732019-02-10 Joel Brobecker <brobecker@adacore.com>
8074
8075 * gdb.ada/mi_ref_changeable: New testcase.
8076
df0da8a2
AH
80772019-02-07 Alan Hayward <alan.hayward@arm.com>
8078
8079 * gdb.base/attach.exp: Add double attach test.
8080
bd447abb
SM
80812019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8082
8083 * lib/gdb.exp (default_gdb_start): Don't match pagination
8084 prompt.
8085 (gdb_init): Set stty_init.
8086
1dbc40b9
TT
80872019-01-27 Tom Tromey <tom@tromey.com>
8088
8089 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8090 skip_python_tests.
8091
353229bf
AH
80922019-01-24 Alan Hayward <alan.hayward@arm.com>
8093
8094 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8095 New structure.
8096 (struct struct_static_02_02): Likewise.
8097 (struct struct_static_02_03): Likewise.
8098 (struct struct_static_02_04): Likewise.
8099 (struct struct_static_04_01): Likewise.
8100 (struct struct_static_04_02): Likewise.
8101 (struct struct_static_04_03): Likewise.
8102 (struct struct_static_04_04): Likewise.
8103 (struct struct_static_06_01): Likewise.
8104 (struct struct_static_06_02): Likewise.
8105 (struct struct_static_06_03): Likewise.
8106 (struct struct_static_06_04): Likewise.
8107 (cmp_struct_static_02_01): Likewise.
8108 (cmp_struct_static_02_02): Likewise.
8109 (cmp_struct_static_02_03): Likewise.
8110 (cmp_struct_static_02_04): Likewise.
8111 (cmp_struct_static_04_01): Likewise.
8112 (cmp_struct_static_04_02): Likewise.
8113 (cmp_struct_static_04_03): Likewise.
8114 (cmp_struct_static_04_04): Likewise.
8115 (cmp_struct_static_06_01): Likewise.
8116 (cmp_struct_static_06_02): Likewise.
8117 (cmp_struct_static_06_03): Likewise.
8118 (cmp_struct_static_06_04): Likewise.
8119 (call_all): Test new structs.
8120 * gdb.base/infcall-nested-structs.exp: Likewise.
8121
73021deb
AH
81222019-01-21 Alan Hayward <alan.hayward@arm.com>
8123 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8124
fc65c7db
AH
81252019-01-21 Alan Hayward <alan.hayward@arm.com>
8126 * gdb.base/stack-protector.c: New test.
8127 * gdb.base/stack-protector.exp: New file.
8128 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8129 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8130 option.
8131 (gdb_compile): Remove stack protector for GCC and prevent
8132 recursion.
8133
c24bdb02
KS
81342019-01-16 Keith Seitz <keiths@redhat.com>
8135
8136 PR gdb/23773
8137 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8138
6f072a10
PFC
81392019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8140
8141 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8142 aliases.
8143 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8144 tests.
8145 * gdb.arch/powerpc-vector-regs.c: New file.
8146 * gdb.arch/powerpc-vector-regs.exp: New file.
8147
a7b8d682
PFC
81482019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8149
8150 * gdb.arch/altivec-regs.exp: Fix the list passed to
8151 gdb_expect_list when testing "info vector".
8152
6eb6fb67
AB
81532019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8154
8155 * gdb.base/style.exp: Don't include path in testname.
8156
b56f80d8
KS
81572019-01-10 Keith Seitz <keiths@redhat.com>
8158
8159 PR gdb/23712
8160 PR symtab/23010
8161 * gdb.dwarf2/multidictionary.exp: New file.
8162
041be526
SM
81632019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8164
8165 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8166 (test_gnuv3_style_demangling): ... this.
8167 (test_lucid_style_demangling): Remove.
8168 (test_arm_style_demangling): Remove.
8169 (test_hp_style_demangling): Remove.
8170 (do_tests): Remove calls to the above.
8171
d820d0c3
AB
81722019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8173
8174 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8175 case.
8176
f097f5ad
TT
81772019-01-06 Tom Tromey <tom@tromey.com>
8178
8179 PR gdb/28155:
8180 * gdb.dwarf2/typedef-void-finish.exp: New file.
8181
2cd8cc0b
TT
81822018-12-28 Tom Tromey <tom@tromey.com>
8183 Simon Marchi <simark@simark.ca>
8184
8185 * gdb.base/jit-exec.exp: New file.
8186 * gdb.base/jit-exec.c: New file.
8187 * gdb.base/jit-execd.c: New file.
8188
35fb8261
TT
81892018-12-28 Tom Tromey <tom@tromey.com>
8190
8191 * gdb.base/style.exp: Update test to check for address styling.
8192
47fd17cd
TT
81932018-12-28 Tom Tromey <tom@tromey.com>
8194
8195 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8196 message.
8197
d47032b7
TT
81982018-12-28 Tom Tromey <tom@tromey.com>
8199
8200 * gdb.base/style.exp: Add test for version number styling.
8201
af79b68d
TT
82022018-12-28 Tom Tromey <tom@tromey.com>
8203
8204 * gdb.base/style.exp: Add test for print_address_symbolic.
8205
0bb296cb
TT
82062018-12-28 Tom Tromey <tom@tromey.com>
8207
8208 * gdb.base/style.exp: Add test for breakpoint setting.
8209
80ae2043
TT
82102018-12-28 Tom Tromey <tom@tromey.com>
8211
8212 * gdb.base/style.exp: Add test for variable names.
8213
cbe56571
TT
82142018-12-28 Tom Tromey <tom@tromey.com>
8215
8216 * gdb.base/style.exp: New file.
8217 * gdb.base/style.c: New file.
8218
9162a27c
TT
82192018-12-28 Tom Tromey <tom@tromey.com>
8220
8221 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8222 "dumb".
8223 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8224 the TERM environment variable.
8225
bc543c90
TT
82262018-12-27 Tom Tromey <tom@tromey.com>
8227
8228 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8229 pagination test.
8230
6f0ffe50
AB
82312018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8232
8233 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8234 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8235
b5a1e557
PW
82362018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8237
8238 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8239 Filename a.adb changed to bp_fun_addr.adb.
8240 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8241
6e8b1ab2
JV
82422018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8243
8244 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8245 non-PIE executables.
8246 * README: Mention the gdb,nopie_flag board setting.
8247 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8248 non-PIE executable.
8249 * gdb.arch/amd64-entry-value.exp: Likewise.
8250 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8251 * gdb.arch/i386-float.exp: Likewise.
8252 * gdb.arch/i386-signal.exp: Likewise.
8253 * gdb.mi/mi-reg-undefined.exp: Likewise.
8254
d00a27c5
PM
82552018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8256
8257 PR gdb/23974
8258 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8259
161d081c
PW
82602018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8261
8262 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8263 Update order of results accordingly.
8264
b001de23
AB
82652018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8266
8267 * gdb.base/annota1.exp: Update a test regexp.
8268
99e1a184
AB
82692018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8270
8271 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8272
7a81c1e2
PW
82732018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8274
8275 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8276 (reuse_time): Initialize to REUSE_TIME_CAP.
8277 (check_rc): New function.
8278 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8279 Check pthread_create rc.
8280 (spawner_thread_func): Check pthread_create and pthread_join rc.
8281
73e8dc90
PA
82822018-12-08 Pedro Alves <palves@redhat.com>
8283
8284 * gdb.base/list.exp (test_forward_search): Rename to ...
8285 (test_forward_reverse_search): ... this. Also test reverse-search
8286 and the forward-search alias.
8287
13f2ed32
AB
82882018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8289
8290 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8291 local timeout variable before return, and remove all local timeout
8292 variable entirely.
8293 (gdb_load): Likewise.
8294
64d27cfc
TV
82952018-12-01 Tom de Vries <tdevries@suse.de>
8296
8297 * gdb.base/gdb-caching-proc.exp: New file.
8298
f63c03b4
SDJ
82992018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8300
8301 * Makefile.in (TIMESTAMP): New variable.
8302 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8303 command.
8304 (check-single-racy): Likewise.
8305 (check/%.exp): Likewise.
8306 (check-racy/%.exp): Likewise.
8307 (workers/%.worker): Likewise.
8308 (build-perf): Likewise.
8309 (check-perf): Likewise.
8310 * README: Describe new "TS" and "TS_FORMAT" variables.
8311 * print-ts.py: New file.
8312
1c97054b
BF
83132018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8314
8315 PR python/23714
8316 * gdb.python/python.exp: Test command repetition after
8317 gdb.execute.
8318
1871a62d
AB
83192018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8320
8321 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8322 is correctly aligned.
8323
fb5e1ed9
PW
83242018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8325
8326 * gdb.ada/info_auto_lang.exp: New testcase.
8327 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8328 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8329 * gdb.ada/info_auto_lang/some_c.c: New file.
8330
43d397ca
PW
83312018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8332
8333 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8334 FUNC_lang language syntax.
8335
beddd671
PW
83362018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8337
8338 * gdb.base/info_minsym.c: New file.
8339 * gdb.base/info_minsym.exp: New file.
8340
73fc52c4
TT
83412018-11-19 Tom Tromey <tom@tromey.com>
8342
8343 PR rust/23625:
8344 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8345 * gdb.rust/expr.exp: Update expected output. Change one test.
8346
994b876a
TT
83472018-11-19 Tom Tromey <tom@tromey.com>
8348
8349 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8350
6769f276
PA
83512018-11-19 Pedro Alves <palves@redhat.com>
8352
8353 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8354 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8355 see the expected warning.
8356
38a72da0
AH
83572018-11-16 Alan Hayward <alan.hayward@arm.com>
8358
8359 PR gdb/22736:
8360 * gdb.cp/infcall-nodebug-lib.c: New test.
8361 * gdb.cp/infcall-nodebug-main.c: New test.
8362 * gdb.cp/infcall-nodebug.exp: New file.
8363
53a89d6e
SM
83642018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8365
8366 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8367 completer tests.
8368
9325300d
TV
83692018-11-09 Tom de Vries <tdevries@suse.de>
8370
8371 * gdb.base/msym-lang.c: New test.
8372 * gdb.base/msym-lang.exp: New file.
8373 * gdb.base/msym-lang-main.c: New test.
8374
20f0d60d
TT
83752018-11-08 Tom Tromey <tom@tromey.com>
8376
8377 PR gdb/23555:
8378 PR gdb/23838:
8379 * gdb.base/warning.exp: New file.
8380
b5420128
JB
83812018-11-08 Jan Beulich <jbeulich@suse.com>
8382
8383 * testsuite/gdb.arch/i386-avx512.c,
8384 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8385
cd115d61
AB
83862018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8387
8388 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8389 point hardware.
8390
35ee2dc2
AB
83912018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8392
8393 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8394 * gdb.dwarf2/missing-type-name.exp: New file.
8395
31aceee8
TV
83962018-11-06 Tom de Vries <tdevries@suse.de>
8397
8398 * gdb.base/many-headers.c: New test.
8399 * gdb.base/many-headers.exp: New file.
8400
109be305
JW
84012018-11-06 Jim Wilson <jimw@sifive.com>
8402
8403 * gdb.base/code_elim.exp: For riscv, set additional_flags
8404 to include -msmall-data-limit=0.
8405
e2b7af72
JB
84062018-11-01 Joel Brobecker <brobecker@adacore.com>
8407
8408 * gdb.ada/watch_minus_l: New testcase.
8409
cdcda965
SM
84102018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8411
8412 * gdb.arch/aix-sighandle.c: New file.
8413 * gdb.arch/aix-sighandle.exp: New file.
8414
92dcebf3
AB
84152018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8416
8417 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8418 registers being unions.
8419
68b9ac18
TV
84202018-10-31 Tom de Vries <tdevries@suse.de>
8421
8422 * lib/valgrind.exp: New file.
8423 (vgdb_start, vgdb_stop): New procs, factored out of ...
8424 * gdb.base/valgrind-bt.exp: ... here, ...
8425 * gdb.base/valgrind-disp-step.exp: ... here and ...
8426 * gdb.base/valgrind-infcall.exp: ... here.
8427
1443936e
TV
84282018-10-31 Tom de Vries <tdevries@suse.de>
8429
8430 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8431
eb77c9df
AB
84322018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8433
8434 * gdb.dwarf2/void-type.c: New file.
8435 * gdb.dwarf2/void-type.exp: New file.
8436
82b5e646
PW
84372018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8438
8439 * gdb.base/info_qt.c: New file.
8440 * gdb.base/info_qt.exp: New file.
8441
8d619c01
EBM
84422018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8443
8444 * gdb.arch/powerpc-htm-regs.c: New file.
8445 * gdb.arch/powerpc-htm-regs.exp: New file.
8446
f2cf6173
EBM
84472018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8448
8449 * gdb.arch/powerpc-tar.c: New file.
8450 * gdb.arch/powerpc-tar.exp: New file.
8451
7ca18ed6
EBM
84522018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8453
8454 * gdb.arch/powerpc-ppr-dscr.c: New file.
8455 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8456
bfcc0eba
TV
84572018-10-25 Tom de Vries <tdevries@suse.de>
8458
8459 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8460
fe1a5cad
TV
84612018-10-24 Tom de Vries <tdevries@suse.de>
8462
8463 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8464 longer exists error.
8465
a76dc3b7
TV
84662018-10-24 Tom de Vries <tdevries@suse.de>
8467
8468 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8469
4df46df7
TV
84702018-10-24 Tom de Vries <tdevries@suse.de>
8471
8472 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8473 --db-attach in valgrind.
8474
0dbfcfff
AB
84752018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8476
8477 * gdb.arch/riscv-reg-aliases.c: New file.
8478 * gdb.arch/riscv-reg-aliases.exp: New file.
8479
b04480b1
AH
84802018-10-19 Alan Hayward <alan.hayward@arm.com>
8481
8482 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8483
2c6ac8d7
AH
84842018-10-19 Alan Hayward <alan.hayward@arm.com>
8485
8486 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8487
2bc69f25
AH
84882018-10-19 Alan Hayward <alan.hayward@arm.com>
8489
8490 * gdb.cp/ovldbreak.exp: Fix regexps.
8491
1f1ae3a3
AH
84922018-10-19 Alan Hayward <alan.hayward@arm.com>
8493
8494 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8495
94c18618
SDJ
84962018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8497
8498 PR cli/23785
8499 * gdb.base/restore.exp: New test to check if "restore" with an
8500 invalid file doesn't segfault.
8501
812cd6eb
TV
85022018-10-18 Tom de Vries <tdevries@suse.de>
8503
8504 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8505 * gdb.ada/excep_handle.exp: Same.
8506 * gdb.ada/mi_string_access.exp: Same.
8507 * gdb.ada/mi_var_union.exp: Same.
8508 * gdb.arch/arc-analyze-prologue.exp: Same.
8509 * gdb.arch/arc-decode-insn.exp: Same.
8510 * gdb.base/readnever.exp: Same.
8511 * gdb.fortran/printing-types.exp: Same.
8512 * gdb.guile/scm-lazy-string.exp: Same.
8513
c4b90788
TV
85142018-10-16 Tom de Vries <tdevries@suse.de>
8515
8516 PR gdb/23730
8517 * gdb.base/catch-follow-exec.c: Add copyright notice.
8518 * gdb.base/catch-follow-exec.exp: Rewrite to use
8519 gdb_spawn_with_cmdline_opts. Require gdb-native.
8520
8bca2978
SL
85212018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8522
8523 * gdb.trace/actions-changed.exp: Check for arch support.
8524 * gdb.trace/actions.exp: Likewise.
8525 * gdb.trace/ax.exp: Likewise.
8526 * gdb.trace/backtrace.exp: Likewise.
8527 * gdb.trace/change-loc.exp: Likewise.
8528 * gdb.trace/deltrace.exp: Likewise.
8529 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8530 * gdb.trace/ftrace.exp: Likewise.
8531 * gdb.trace/infotrace.exp: Check for arch support.
8532 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8533 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8534 * gdb.trace/mi-tsv-changed.exp: Likewise.
8535 * gdb.trace/packetlen.exp: Likewise.
8536 * gdb.trace/passc-dyn.exp: Likewise.
8537 * gdb.trace/passcount.exp: Likewise.
8538 * gdb.trace/pending.exp: Likewise.
8539 * gdb.trace/range-stepping.exp: Check for shlib support.
8540 * gdb.trace/report.exp: Check for arch support.
8541 * gdb.trace/save-trace.exp: Likewise.
8542 * gdb.trace/signal.exp: Check for signal support.
8543 * gdb.trace/tfind.exp: Check for arch support.
8544 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8545 * gdb.trace/trace-common.h: Add comment.
8546 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8547 * gdb.trace/trace-enable-disable.exp: Likewise.
8548 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8549 * gdb.trace/tracecmd.exp: Check for arch support.
8550 * gdb.trace/tspeed.exp: Check for shlib and target support.
8551 * gdb.trace/tstatus.exp: Check for arch support.
8552 * gdb.trace/tsv.exp: Likewise.
8553 * gdb.trace/while-dyn.exp: Likewise.
8554 * gdb.trace/while-stepping.exp: Likewise.
8555 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8556
f9c49bff
SM
85572018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8558
8559 * gdb.trace/tspeed.exp: Remove nowarnings.
8560 (prepare_for_trace_test): Declare "global ipalib".
8561 * gdb.trace/tspeed.c: Include unistd.h.
8562 (main): Remove superfluous printf argument.
8563
d4330bde
SL
85642018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8565
8566 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8567 directory prefix on the filename.
8568
8ecfd7bd
SDJ
85692018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8570
8571 * gdb.gdb/unittest.exp: Update expected message informing that
8572 selftests have been disabled.
8573 * gdb.server/unittest.exp: Likewise.
8574
58bbcd02
TV
85752018-10-09 Tom de Vries <tdevries@suse.de>
8576
8577 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8578 with runto_main.
8579
9f6b697b
WP
85802018-10-08 Weimin Pan <weimin.pan@oracle.com>
8581
8582 PR c++/16841
8583 * gdb.cp/virtbase2.cc: New file.
8584 * gdb.cp/virtbase2.exp: New file.
8585
add5ded5
TT
85862018-10-06 Tom Tromey <tom@tromey.com>
8587
8588 PR python/19399:
8589 * gdb.python/py-inferior.exp: Add architecture test.
8590
f9e48344
TT
85912018-10-06 Tom Tromey <tom@tromey.com>
8592
8593 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8594 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8595
2a8be203
TT
85962018-10-06 Tom Tromey <tom@tromey.com>
8597
8598 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8599 of a "throw" catchpoint.
8600
e04caa70
SDJ
86012018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8602
8603 * gdb.base/info-proc.exp: Update string expected from "help info
8604 proc".
8605
5ca8c39f
TT
86062018-10-04 Tom Tromey <tom@tromey.com>
8607
8608 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8609 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8610 (test_initial_complaints, test_empty_complaints): Update.
8611 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8612
3453e7e4
TT
86132018-10-04 Tom Tromey <tom@tromey.com>
8614
8615 PR cli/19551:
8616 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8617 * lib/gdb.exp (gdb_file_cmd): Update.
8618 * gdb.stabs/weird.exp (print_weird_var): Update.
8619 * gdb.server/solib-list.exp: Update.
8620 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8621 * gdb.mi/mi-cli.exp: Update.
8622 * gdb.linespec/linespec.exp: Update.
8623 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8624 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8625 * gdb.cp/cp-relocate.exp: Update.
8626 * gdb.base/sym-file.exp: Update.
8627 * gdb.base/relocate.exp: Update.
8628 * gdb.base/readnever.exp: Update.
8629 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8630 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8631 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8632 * gdb.base/code_elim.exp: Update.
8633 * gdb.base/break-unload-file.exp (test_break): Update.
8634 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8635 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8636 Update.
8637 * gdb.base/attach.exp (do_attach_tests): Update.
8638 * gdb.base/sepdebug.exp: Update.
8639 * gdb.python/py-section-script.exp: Update.
8640
6afcf761
TT
86412018-10-04 Tom Tromey <tom@tromey.com>
8642
8643 PR cli/22234:
8644 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8645 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8646 output.
8647
fef1b293
TT
86482018-10-04 Tom Tromey <tom@tromey.com>
8649
8650 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8651 set width and height to 0.
8652 (test_command_line_attach_run): Use -quiet.
8653
ca98345e
SL
86542018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8655
8656 * lib/gdb.exp (skip_ifunc_tests): New.
8657 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8658 other compile failures.
8659 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8660
ff34e6ae
SM
86612018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8662
8663 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8664 is_amd64_regs_target.
8665
6bb8890e
AH
86662018-10-01 Alan Hayward <alan.hayward@arm.com>
8667
8668 * gdb.arch/aarch64-sighandler-regs.c: New test.
8669 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8670 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8671
224d30d3
MM
86722018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8673
8674 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8675 assembly.
8676
f67ffa6a
AB
86772018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8678
8679 * gdb.base/frame-selection.exp: New file.
8680 * gdb.base/frame-selection.c: New file.
8681
9fc3183f
AH
86822018-09-27 Alan Hayward <alan.hayward@arm.com>
8683
8684 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8685 pthread barrier.
8686 (main): Likewise.
8687
d354055e
AB
86882018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8689
8690 * gdb.base/large-frame-1.c: New file.
8691 * gdb.base/large-frame-2.c: New file.
8692 * gdb.base/large-frame.exp: New file.
8693 * gdb.base/large-frame.h: New file.
8694
db727370
JL
86952018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8696
8697 PR gdb/20948
8698 * gdb.base/write_mem.exp: New test.
8699 * gdb.base/write_mem.c: Likewise.
8700
ae778caf
TT
87012018-09-23 Tom Tromey <tom@tromey.com>
8702
8703 PR python/18852:
8704 * gdb.python/py-parameter.exp: Add test for parameter that throws
8705 on "set".
8706
fd3ba736
TT
87072018-09-23 Tom Tromey <tom@tromey.com>
8708
8709 PR python/17284:
8710 * gdb.python/py-template.exp (test_template_arg): Add test for
8711 negative template argument number.
8712
39a24317
TT
87132018-09-23 Tom Tromey <tom@tromey.com>
8714
8715 PR python/14062:
8716 * gdb.python/python.exp: Add test for post_event error.
8717
f5769a2c
TT
87182018-09-23 Tom Tromey <tom@tromey.com>
8719
8720 PR python/18170:
8721 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8722 convert pointers to int and long.
8723
1c1e54f6
TT
87242018-09-23 Tom Tromey <tom@tromey.com>
8725
8726 PR python/20126:
8727 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8728 signed-ness conversion tests.
8729
fb4fa946
TT
87302018-09-23 Tom Tromey <tom@tromey.com>
8731
8732 PR python/18352;
8733 * gdb.python/py-value.exp (test_float_conversion): New proc.
8734 Use it.
8735
a466edac
HAQ
87362018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8737
8738 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8739
4ee9b0c5
SL
87402018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8741
8742 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8743 no readline.
8744 * gdb.base/utf8-identifiers.exp: Likewise.
8745 * gdb.cp/cpcompletion.exp: Likewise.
8746 * gdb.linespec/cpcompletion.exp: Likewise.
8747 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8748 * gdb.linespec/cpls-ops.exp: Likewise.
8749
23be8da7
RB
87502018-09-19 Richard Bunt <richard.bunt@arm.com>
8751 Chris January <chris.january@arm.com>
8752
8753 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8754 * gdb.fortran/short-circuit-argument-list.exp: New file.
8755 * gdb.fortran/short-circuit-argument-list.f90: New test.
8756
5031d0ae
SDJ
87572018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8758
8759 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8760 "arch=" keyword when executing "-stack-list-frames".
8761
b4c0d1a4
SDJ
87622018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8763
8764 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8765 "arch=" keyword when executing "-stack-list-frames".
8766
7a6d2b45
SDJ
87672018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8768
8769 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8770 break ada".
8771
8588b356
SM
87722018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8773
8774 PR python/23669
8775 * gdb.python/python.exp: Test gdb.execute("show commands").
8776
65e65158
TT
87772018-09-16 Tom Tromey <tom@tromey.com>
8778
8779 * gdb.base/new-ui.exp (do_execution_tests): Update.
8780 * gdb.base/dbx.exp (test_breakpoints): Update.
8781
bf326452
AH
87822018-09-14 Alan Hayward <alan.hayward@arm.com>
8783
8784 * lib/gdb.exp (gdb_simple_compile): Add proc.
8785 (is_elf_target): Use gdb_simple_compile.
8786 (skip_altivec_tests): Likewise.
8787 (skip_vsx_tests): Likewise.
8788 (skip_tsx_tests): Likewise.
8789 (skip_btrace_tests): Likewise.
8790 (skip_btrace_pt_tests): Likewise.
8791 (gdb_can_simple_compile): Likewise.
8792 (gdb_has_argv0): Likewise.
8793 (gdb_target_symbol_prefix): Likewise.
8794 (target_supports_scheduler_locking): Likewise.
8795
2361b0fb
TT
87962018-09-13 Tom Tromey <tom@tromey.com>
8797
8798 * Makefile.in (TAGS): Recognize proc_with_prefix and
8799 gdb_caching_proc.
8800
0ae1a321
SM
88012018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8802
8803 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8804 method.
8805
a40bf0c2
SM
88062018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8807
8808 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8809 and a few other Inferior properties when the Inferior is no
8810 longer valid.
8811
4a3fe98f
TT
88122018-09-13 Tom Tromey <tom@tromey.com>
8813
8814 PR rust/23650:
8815 * gdb.rust/simple.exp: Add test for enum field access error.
8816
098b2108
TT
88172018-09-13 Tom Tromey <tom@tromey.com>
8818
8819 PR rust/23626:
8820 * gdb.rust/simple.rs (EmptyEnum): New type.
8821 (main): Use it.
8822 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8823
1256af7d
SM
88242018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8825
8826 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8827 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8828 * gdb.python/py-symtab.exp: Update test printing an objfile.
8829
4aa8e6c2
SM
88302018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8831
8832 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8833 object.
8834
c221b2f7
AH
88352018-09-12 Alan Hayward <alan.hayward@arm.com>
8836
8837 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8838 (support_complex_tests): Use gdb_can_simple_compile.
8839 (is_ilp32_target): Likewise.
8840 (is_lp64_target): Likewise.
8841 (is_64_target): Likewise.
8842 (is_amd64_regs_target): Likewise.
8843 (is_aarch32_target): Likewise.
8844 (gdb_int128_helper): Likewise.
8845
6f1107b5
JK
88462018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8847
8848 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8849
1f5d1570
JG
88502018-09-10 Jerome Guitton <guitton@adacore.com>
8851
8852 * gdb.ada/same_component_name: Add test for case of tagged record
8853 with variable-length fields.
8854
cc330e39
XR
88552018-09-10 Xavier Roirand <roirand@adacore.com>
8856
8857 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8858 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8859 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8860 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8861
b9c50e9a
XR
88622018-09-10 Xavier Roirand <roirand@adacore.com>
8863
8864 * gdb.ada/mi_string_access.exp: New testcase.
8865 * gdb.ada/mi_string_access/bar.adb: New file.
8866 * gdb.ada/mi_string_access/pck.adb: New file.
8867 * gdb.ada/mi_string_access/pck.asd: New file.
8868
2963898f
XR
88692018-09-10 Xavier Roirand <roirand@adacore.com>
8870
8871 * gdb.ada/mi_var_union.exp: New testcase.
8872 * gdb.ada/mi_var_union/bar.adb: New file.
8873 * gdb.ada/mi_var_union/pck.adb: New file.
8874 * gdb.ada/mi_var_union/pck.asd: New file.
8875
1aac008f
TT
88762018-09-08 Tom Tromey <tom@tromey.com>
8877
8878 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8879
332cf4c9
TT
88802018-09-08 Tom Tromey <tom@tromey.com>
8881
8882 PR python/16047:
8883 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8884 (register_pretty_printers): Register new printer.
8885 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8886 test.
8887 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8888 (an_int_type3): New global.
8889
424da6cf
JB
88902018-09-08 Joel Brobecker <brobecker@adacore.com>
8891
8892 * gdb.ada/expr_with_funcall: New testcase.
8893
2a62dfa9
JB
88942018-09-08 Joel Brobecker <brobecker@adacore.com>
8895
8896 * gdb.ada/packed_array_assign: New testcase.
8897
96b6697f
AB
88982018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8899
8900 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8901 names, and add test prefixes to make test names unique.
8902
e4a62c65
TV
89032018-09-05 Tom de Vries <tdevries@suse.de>
8904
8905 * gdb.dwarf2/varval.exp: Add test.
8906
dd083ee2
GB
89072018-09-04 Gary Benson <gbenson@redhat.com>
8908
8909 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8910 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8911
aef9346c
TT
89122018-08-31 Tom Tromey <tom@tromey.com>
8913
8914 * gdb.rust/simple.rs: Rename second variable "v".
8915
c67f2e15
AB
89162018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8917
8918 * gdb.base/funcargs.c (use_a): New function.
8919 (recurse): Call use_a.
8920
078a0207
KS
89212018-08-29 Keith Seitz <keiths@redhat.com>
8922
8923 * gdb.compile/compile-cplus-anonymous.cc: New file.
8924 * gdb.compile/compile-cplus-anonymous.exp: New file.
8925 * gdb.compile/compile-cplus-array-decay.cc: New file.
8926 * gdb.compile/compile-cplus-array-decay.exp: New file.
8927 * gdb.compile/compile-cplus-inherit.cc: New file.
8928 * gdb.compile/compile-cplus-inherit.exp: New file.
8929 * gdb.compile/compile-cplus-member.cc: New file.
8930 * gdb.compile/compile-cplus-member.exp: New file.
8931 * gdb.compile/compile-cplus-method.cc: New file.
8932 * gdb.compile/compile-cplus-method.exp: New file.
8933 * gdb.compile/compile-cplus-mod.c: "New" file.
8934 * gdb.compile/compile-cplus-namespace.cc: New file.
8935 * gdb.compile/compile-cplus-namespace.exp: New file.
8936 * gdb.compile/compile-cplus-nested.cc: New file.
8937 * gdb.compile/compile-cplus-nested.exp: New file.
8938 * gdb.compile/compile-cplus-print.c: "New" file.
8939 * gdb.compile/compile-cplus-print.exp: "New" file.
8940 * gdb.compile/compile-cplus-virtual.cc: New file.
8941 * gdb.compile/compile-cplus-virtual.exp: New file.
8942 * gdb.compile/compile-cplus.c: "New" file.
8943 * gdb.compile/compile-cplus.exp: "New" file.
8944 * lib/compile-support.exp: New file.
8945
b0f492b9
GB
89462018-08-16 Gary Benson <gbenson@redhat.com>
8947
8948 PR gdb/13000:
8949 * gdb.base/batch-exit-status.exp: New file.
8950 * gdb.base/batch-exit-status.good-commands: Likewise.
8951 * gdb.base/batch-exit-status.bad-commands: Likewise.
8952
36eb4c5f
AH
89532018-08-29 Alan Hayward <alan.hayward@arm.com>
8954
8955 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8956 (struct struct02): Likewise.
8957 (struct struct03): Likewise.
8958 (struct struct04): Likewise.
8959 (struct struct_01_01): New struct.
8960 (struct struct_01_02): Likewise.
8961 (struct struct_01_03): Likewise.
8962 (struct struct_01_04): Likewise.
8963 (struct struct_02_01): Likewise.
8964 (struct struct_02_02): Likewise.
8965 (struct struct_02_03): Likewise.
8966 (struct struct_02_04): Likewise.
8967 (struct struct_04_01): Likewise.
8968 (struct struct_04_02): Likewise.
8969 (struct struct_04_03): Likewise.
8970 (struct struct_04_04): Likewise.
8971 (struct struct_05_01): Likewise.
8972 (struct struct_05_02): Likewise.
8973 (struct struct_05_03): Likewise.
8974 (struct struct_05_04): Likewise.
8975 (cmp_struct01): Remove function.
8976 (cmp_struct02): Likewise.
8977 (cmp_struct03): Likewise.
8978 (cmp_struct04): Likewise.
8979 (cmp_struct_01_01): Add Function.
8980 (cmp_struct_01_02): Likewise.
8981 (cmp_struct_01_03): Likewise.
8982 (cmp_struct_01_04): Likewise.
8983 (cmp_struct_02_01): Likewise.
8984 (cmp_struct_02_02): Likewise.
8985 (cmp_struct_02_03): Likewise.
8986 (cmp_struct_02_04): Likewise.
8987 (cmp_struct_04_01): Likewise.
8988 (cmp_struct_04_02): Likewise.
8989 (cmp_struct_04_03): Likewise.
8990 (cmp_struct_04_04): Likewise.
8991 (cmp_struct_05_01): Likewise.
8992 (cmp_struct_05_02): Likewise.
8993 (cmp_struct_05_03): Likewise.
8994 (cmp_struct_05_04): Likewise.
8995 (call_all): Add new structs.
8996 * gdb.base/infcall-nested-structs.exp: Likewise.
8997
3bf9c013
JV
89982018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8999
9000 * gdb.python/py-framefilter-mi.exp: Update regexp to
9001 check for "arch" field in frame output.
9002
450d1e88
KB
90032018-08-23 Kevin Buettner <kevinb@redhat.com>
9004
9005 * gdb.dwarf2/dw2-ranges-func.c: New file.
9006 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9007
ae739fe7
SM
90082018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9009
9010 * gdb.base/term.exp: Compare terminal settings with values from
9011 the inferior.
9012 * gdb.base/term.c: Get and set terminal settings.
9013
6d52907e
JV
90142018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9015
9016 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9017 accommodate new "arch" field in frame output.
9018 * gdb.mi/mi-return.exp: Likewise.
9019 * gdb.mi/mi-stack.exp: Likewise.
9020 * gdb.mi/mi-syn-frame.exp: Likewise.
9021 * gdb.mi/user-selected-context-sync.exp: Likewise.
9022
be2d111a
MS
90232018-08-19 Michael Spang <spang@google.com>
9024
9025 PR gdb/11786
9026 * gdb.base/gcore-tls-pie.c: New file.
9027 * gdb.base/gcore-tls-pie.exp: New file.
9028
ae3a7c47
KB
90292018-08-18 Kevin Buettner <kevinb@redhat.com>
9030
9031 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9032 * gdb.dwarf2/varval.c: New file.
9033 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9034
2ecae92e
AH
90352018-08-17 Alan Hayward <alan.hayward@arm.com>
9036
9037 PR gdb/18931
9038 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9039
c1854f1d
KS
90402018-08-16 Keith Seitz <keiths@redhat.com>
9041
9042 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9043 tests expected to pass.
9044
26fb3983
JV
90452018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9046
9047 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9048 -data-disassemble -a.
9049 (test_disassembly_bogus_args): Likewise.
9050
67943c00
AB
90512018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9052
9053 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9054
5ff2bbae
AB
90552018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9056
9057 * gdb.base/vla-optimized-out.exp: Add new test.
9058
e5bbcd0f
AB
90592018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9060
9061 * gdb.base/vla-optimized-out-o3.exp: Delete.
9062 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9063 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9064 deleted tests.
9065
9d4a934c
AB
90662018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9067
9068 PR gdb/18050:
9069 * gdb.server/extended-remote-restart.c: New file.
9070 * gdb.server/extended-remote-restart.exp: New file.
9071
045cf012
SM
90722018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9073
9074 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9075 "set variable index = 42".
9076
87d6a7aa
SM
90772018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9078
9079 * boards/index-cache-gdb.exp: New file.
9080 * gdb.dwarf2/index-cache.exp: New file.
9081 * gdb.dwarf2/index-cache.c: New file.
9082 * gdb.base/maint.exp: Check if we are using the index cache.
9083
96d68bd4
RO
90842018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9085
9086 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9087 MAKEFLAGS.
9088
5a699617
RO
90892018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9090
9091 * dg-extract-results.sh: Move to toplevel contrib.
9092 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9093 * Makefile.in (check-parallel-racy): Likewise.
9094
5bd18990
AB
90952018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9096
9097 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9098 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9099 tests if the target supports scheduler locking.
9100
3fbbcf47
TV
91012018-08-04 Tom de Vries <tdevries@suse.de>
9102
9103 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9104
3e1d3d8c
TT
91052018-08-02 Tom Tromey <tom@tromey.com>
9106
9107 PR symtab/16842.
9108 * gdb.cp/temargs.exp: Test "info address" of a template
9109 parameter.
9110
5abe0f0c
JV
91112018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9112
9113 * gdb.python/py-mi-var-info-path-expression.c: New file.
9114 * gdb.python/py-mi-var-info-path-expression.py: New file.
9115 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9116
fb66cde8
SDJ
91172018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9118
9119 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9120 error after "cannot resolve name" string.
9121
c708f4d2
AB
91222018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9123
9124 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9125 started.
9126 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9127
37cc0cae
TV
91282018-07-28 Tom de Vries <tdevries@suse.de>
9129
9130 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9131
63b4ecf7
TV
91322018-07-26 Tom de Vries <tdevries@suse.de>
9133
9134 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9135
3c3bb058
AB
91362018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9137
9138 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9139 is visible.
9140
9e7f3bbb
TV
91412018-07-26 Tom de Vries <tdevries@suse.de>
9142
9143 PR breakpoints/23366
9144 * gdb.base/catch-follow-exec.c: New test.
9145 * gdb.base/catch-follow-exec.exp: New file.
9146
16f808ec
TV
91472018-07-25 Tom de Vries <tdevries@suse.de>
9148
9149 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9150 vla-optimized-out.c.
9151
d7154a8d
JV
91522018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9153
9154 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9155 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9156
232a0032
TV
91572018-07-20 Tom de Vries <tdevries@suse.de>
9158
9159 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9160 NOCLONE macro.
9161 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9162
fbb1d502
TV
91632018-07-19 Tom de Vries <tdevries@suse.de>
9164
9165 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9166 regular expression.
9167
42dc7699
TV
91682018-07-18 Tom de Vries <tdevries@suse.de>
9169
9170 * gdb.base/vla-optimized-out.c: New test.
9171 * gdb.base/vla-optimized-out.exp: New file.
9172
7f1f7e23
SDJ
91732018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9174
9175 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9176 message "No address associated with hostname" when gdbserver
9177 cannot resolve the hostname.
9178
5759ebb3
PW
91792018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9180
9181 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9182 Add some test prefixes to make tests unique.
9183
3606ccab
PW
91842018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9185
9186 * gdb.base/frameapply.c: New file.
9187 * gdb.base/frameapply.exp: New file.
9188
529c08b2
PW
91892018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9190
9191 * gdb.base/skip.exp: Update expected error message.
9192
c7ab0aef
SDJ
91932018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9194 Jan Kratochvil <jan.kratochvil@redhat.com>
9195 Paul Fertser <fercerpav@gmail.com>
9196 Tsutomu Seki <sekiriki@gmail.com>
9197
9198 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9199 parameter.
9200 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9201 by default.
9202 * boards/native-gdbserver.exp: Likewise.
9203 * gdb.server/run-without-local-binary.exp: Improve regexp used
9204 for detecting when a remote debugging connection succeeds.
9205 * gdb.server/server-connect.exp: New file.
9206 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9207 Do not prefix the port number with ":".
9208 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9209 support for detecting and using it. Add '$debughost_gdbserver'
9210 to the list of arguments used to start gdbserver. Handle case
9211 when gdbserver cannot resolve a network name.
9212
16ff70dd
SDJ
92132018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9214
9215 PR c++/23373
9216 * gdb.base/ptype-offsets.cc (struct static_member): New
9217 struct.
9218 (main) <stmember>: New variable.
9219 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9220 with a static member in it.
9221
3541979f
AB
92222018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9223
9224 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9225 watchpoints enabled and disabled.
9226
c8ad9b9a
AB
92272018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9228
9229 * gdb.base/examine-backward.exp: Still run tests around address
9230 0x0, even if address 0x0 is not readable. Update the pattern for
9231 matching address 0x0 in expected output.
9232
e0e5e971
AB
92332018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9234
9235 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9236 malloc/free.
9237
1ea5da02
TV
92382018-07-04 Tom de Vries <tdevries@suse.de>
9239
9240 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9241
471b9d15
MR
92422018-07-02 Maciej W. Rozycki <macro@mips.com>
9243
9244 PR tdep/8282
9245 * gdb.arch/mips-disassembler-options.exp: New test.
9246 * gdb.arch/mips-disassembler-options.s: New test source.
9247
75acb486
PA
92482018-06-29 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.threads/names.exp: Adjust expected "info threads" output.
9251
cd2bb709
PA
92522018-06-29 Pedro Alves <palves@redhat.com>
9253
9254 * gdb.opt/inline-break.exp (line number, address): Add "info
9255 break" tests.
9256
991ff292
PA
92572018-06-29 Pedro Alves <palves@redhat.com>
9258
9259 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9260 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9261 number and address and running to them.
9262
356819b6 92632018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9264
9265 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9266
2512d7ef
JK
92672018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9268
9269 * lib/compiler.c: Remove executable permission flag.
9270
be1b6474
RB
92712018-06-28 Richard Bunt <richard.bunt@arm.com>
9272
9273 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9274 code.
9275 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9276
291f9a96
PT
92772018-06-28 Petr Tesarik <ptesarik@suse.cz>
9278
9279 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9280
ed6dfe51
PT
92812018-06-28 Petr Tesarik <ptesarik@suse.cz>
9282
9283 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9284 address argument is omitted.
9285
d4d429d5
PT
92862018-06-28 Petr Tesarik <ptesarik@suse.cz>
9287
9288 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9289
7ab6656f
OJ
92902018-06-27 Omair Javaid <omair.javaid@linaro.org>
9291
9292 PR gdb/21695
9293 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9294 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9295
a33ccfc7
TT
92962018-06-26 Tom Tromey <tom@tromey.com>
9297
9298 PR rust/22574:
9299 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9300 * gdb.rust/simple.rs (struct SimpleLayout): New.
9301
6d72d289
SM
93022018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9303
9304 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9305 "info registers" output.
9306
8363f9d5
RB
93072018-06-21 Richard Bunt <richard.bunt@arm.com>
9308
9309 * gdb.base/watchpoint-hw-attach.c: New test.
9310 * gdb.base/watchpoint-hw-attach.exp: New file.
9311
f00674fe
SM
93122018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9313
9314 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9315 through /bin/sh.
9316 * boards/dwarf4-gdb-index.exp: Likewise.
9317 * boards/fission-dwp.exp: Likewise.
9318
1d554008
UW
93192018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9320
9321 * gdb.base/float128.exp: Add comment and improved fail message
9322 to the failure case of "print large128" test.
9323
d0ac1c44
SM
93242018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9325
9326 * configure.ac: Remove AC_PREREQ.
9327 * configure: Re-generate.
9328
61b04dd0
PA
93292018-06-19 Pedro Alves <palves@redhat.com>
9330
9331 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9332 (func_extern_caller): New.
9333 (main): Call func_extern_caller.
9334 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9335 logic change.
9336
f63b508a
SM
93372018-06-18 Weimin Pan <weimin.pan@oracle.com>
9338
9339 PR gdb/16841
9340 * gdb.cp/typedef-base.cc: New file.
9341 * gdb.cp/typedef-base.exp: New file.
9342
0fe3a558
TV
93432018-06-18 Tom de Vries <tdevries@suse.de>
9344
9345 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9346
7010835a
AB
93472018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9348 Richard Bunt <Richard.Bunt@arm.com>
9349
9350 * gdb.threads/attach-slow-waitpid.c: New file.
9351 * gdb.threads/attach-slow-waitpid.exp: New file.
9352 * gdb.threads/slow-waitpid.c: New file.
9353
14897d65
PA
93542018-06-14 Pedro Alves <palves@redhat.com>
9355
9356 * gdb.base/fork-running-state.c: Include <errno.h>.
9357 (exit_if_relative_exits): New.
9358 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9359 exits.
9360 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9361 child exits.
9362
5d9a0608
TV
93632018-06-14 Tom de Vries <tdevries@suse.de>
9364
9365 PR cli/22573
9366 * gdb.base/finish-pretty.c: New test.
9367 * gdb.base/finish-pretty.exp: New file.
9368
11ae5818
PA
93692018-06-14 Pedro Alves <palves@redhat.com>
9370
9371 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9372 gdb's expected startup output.
9373
1d39de44
PA
93742018-06-14 Pedro Alves <palves@redhat.com>
9375
9376 * lib/selftest-support.exp (selftest_setup): Remove inlined
9377 function handling.
9378
70ee0000
TV
93792018-06-14 Tom de Vries <tdevries@suse.de>
9380
9381 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9382 matching of breakpoint printing.
9383
11f4b608
TV
93842018-06-13 Tom de Vries <tdevries@suse.de>
9385
9386 PR testsuite/23269
9387 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9388 (fork_child): ... here, and ...
9389 (fork_parent): ... here.
9390
93912018-06-12 Tom de Vries <tdevries@suse.de>
9392
9393 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9394
9516f85a
AB
93952018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9396 Stephen Roberts <stephen.roberts@arm.com>
9397
9398 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9399 rewrite test to describe action performed, rather than possible
9400 failure.
9401
5045b3d7
GB
94022018-06-08 Gary Benson <gbenson@redhat.com>
9403
9404 * gdb.threads/check-libthread-db.exp: New file.
9405 * gdb.threads/check-libthread-db.c: Likewise.
9406
c61b06a1
TT
94072018-06-05 Tom Tromey <tom@tromey.com>
9408
9409 * gdb.base/default.exp: Update expected "show version" output.
9410
eb6af809
TT
94112018-06-05 Tom Tromey <tom@tromey.com>
9412
9413 PR cli/12326:
9414 * gdb.cp/static-print-quit.exp: Update.
9415 * lib/gdb.exp (pagination_prompt): Update.
9416 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9417 * gdb.python/python.exp: Update.
9418
178d6a63
JB
94192018-06-04 Joel Brobecker <brobecker@adacore.com>
9420
9421 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9422
8e817061
JB
94232018-06-01 Joel Brobecker <brobecker@adacore.com>
9424
9425 * gdb.ada/bp_fun_addr: New testcase.
9426
e86ca25f
TT
94272018-06-01 Tom Tromey <tom@tromey.com>
9428
9429 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9430 results.
9431 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9432 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9433 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9434 * gdb.base/maint.exp (maint_pass_if): Update.
9435
4b2dfa9d
MR
94362018-05-31 Maciej W. Rozycki <macro@mips.com>
9437
9438 * gdb.base/endian.exp: New test.
9439 * gdb.base/endian.c: New test source.
9440
45f25d6c
AB
94412018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9442
9443 PR gdb/23203
9444 * gdb.base/bt-selected-frame.c: New file.
9445 * gdb.base/bt-selected-frame.exp: New file.
9446 * lib/gdb.exp (get_current_frame_number): New function.
9447
d9f6d7f8
MR
94482018-05-24 Maciej W. Rozycki <macro@mips.com>
9449 Pedro Alves <palves@redhat.com>
9450
9451 * gdb.threads/tls-core.c: Include <stdlib.h>
9452 (thread_proc): Call `abort'.
9453 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9454 (tls_core_test): New procedure, bits factored out from ...
9455 (top level): ... here. Test both native cores and gcore cores.
9456
ff1cf532
TT
94572018-05-23 Tom Tromey <tom@tromey.com>
9458
9459 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9460
b98664d3
TT
94612018-05-23 Tom Tromey <tom@tromey.com>
9462
9463 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9464 symfile_complaints.
9465 (test_short_complaints): Likewise.
9466 (test_empty_complaints): Likewise.
9467 (test_initial_complaints): Update.
9468
4e9668d0
TT
94692018-05-23 Tom Tromey <tom@tromey.com>
9470
9471 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9472
43ba33c7
TT
94732018-05-23 Tom Tromey <tom@tromey.com>
9474
9475 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9476 (test_short_complaints): Update.
9477
035522c0
PA
94782018-05-22 Pedro Alves <palves@redhat.com>
9479
9480 * gdb.base/remote.exp: Only gdb_start after compiling the
9481 testcase. Issue "disconnect" before testing "set remote" command
9482 defaults. Issue clean_restart before running to main.
9483
cc0be08f
PA
94842018-05-22 Pedro Alves <palves@redhat.com>
9485
9486 * gdb.base/remote.exp: Adjust expected output of "show remote
9487 memory-write-packet-size". Add tests for "set remote
9488 memory-write-packet-size 0" and "set remote
9489 memory-write-packet-size fixed/limit".
9490
b1b60145
PA
94912018-05-22 Pedro Alves <palves@redhat.com>
9492
9493 PR gdb/22973
9494 * gdb.base/utf8-identifiers.c: New file.
9495 * gdb.base/utf8-identifiers.exp: New file.
9496
0ec848ad
PFC
94972018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9498
9499 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9500
2c3305f6
PFC
95012018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9502
9503 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9504
ce1e8424
TT
95052018-05-18 Tom Tromey <tom@tromey.com>
9506
9507 * gdb.base/ptype-offsets.exp: Update.
9508
ddfe970e
KS
95092018-05-17 Keith Seitz <keiths@redhat.com>
9510
9511 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9512 in expected breakpoint stop locations.
9513 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9514 move to proper scope to test variable values.
9515 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9516 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9517 New functions.
9518 (main): Call not_inline_func3.
9519 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9520 inline_func1, inline_func2, and inline_func3. Test that when each
9521 breakpoint is hit, GDB properly reports both the stop location
9522 and the backtrace. Repeat tests for temporary breakpoints.
9523
0726fcc6
MR
95242018-05-15 Maciej W. Rozycki <macro@mips.com>
9525
9526 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9527 rather then trying to access it in determining whether the PID
9528 of `gdbserver' could have been retrieved.
9529
8ee22052
AB
95302018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9531
9532 * gdb.arch/amd64-init-x87-values.S: New file.
9533 * gdb.arch/amd64-init-x87-values.exp: New file.
9534
7785df48
JK
95352018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9536
9537 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9538
56bcdbea
TT
95392018-05-04 Tom Tromey <tom@tromey.com>
9540
9541 PR python/22730:
9542 * gdb.python/python.exp: Test multi-line execute.
9543
a913fffb
TT
95442018-05-04 Tom Tromey <tom@tromey.com>
9545
9546 PR python/22731:
9547 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9548
7a2c85f2
TT
95492018-05-04 Tom Tromey <tom@tromey.com>
9550
9551 PR gdb/11750:
9552 * gdb.base/define.exp: Test defining a user command inside a user
9553 command.
9554 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9555
a3b60e45
JK
95562018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9557 Pedro Alves <palves@redhat.com>
9558
9559 PR breakpoints/19806 and support for PR external/20207.
9560 * gdb.base/watchpoint-unaligned.c: New file.
9561 * gdb.base/watchpoint-unaligned.exp: New file.
9562
45fe4a03
AB
95632018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9564
9565 * gdb.base/maint.exp: Make test names unique, use
9566 test_prefix_command_help to test 'help maint info', and remove
9567 repeated test of 'help maint'.
9568
9be2ae8f
TT
95692018-05-04 Tom Tromey <tom@tromey.com>
9570
9571 PR gdb/22619:
9572 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9573 behavior.
9574
11859c31
AB
95752018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9576
9577 * gdb.base/maint.exp: Process output from 'maint print registers'
9578 line at a time.
9579
089a9490
AB
95802018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9581
9582 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9583 timeout.
9584
9b0797e2
AB
95852018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9586
9587 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9588 filter pattern.
9589
f6ac5f3d
PA
95902018-05-02 Pedro Alves <palves@redhat.com>
9591
9592 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9593 to_log_command renames.
9594 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9595
77d3c63b
TT
95962018-05-02 Tom Tromey <tom@tromey.com>
9597
9598 * gdb.python/py-parameter.exp: Set test message.
9599
0489430a
TT
96002018-05-02 Tom Tromey <tom@tromey.com>
9601
9602 PR python/20084:
9603 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9604 PARAM_ZUINTEGER_UNLIMITED tests.
9605
1632f8ba
DR
96062018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9607
9608 PR rust/23124
9609 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9610 when casting.
9611
6d7bb824
TT
96122018-04-30 Tom Tromey <tom@tromey.com>
9613
9614 * gdb.python/py-type.exp: Check align attribute.
9615 * gdb.python/py-type.c: New "aligncheck" global.
9616
007e1530
TT
96172018-04-30 Tom Tromey <tom@tromey.com>
9618
9619 PR exp/17095:
9620 * gdb.dwarf2/dw2-align.exp: New file.
9621 * gdb.cp/align.exp: New file.
9622 * gdb.base/align.exp: New file.
9623 * lib/gdb.exp (gdb_int128_helper): New proc.
9624 (has_int128_c, has_int128_cxx): New caching procs.
9625
6873858b
TT
96262018-04-27 Tom Tromey <tom@tromey.com>
9627
9628 PR rust/22545:
9629 * gdb.rust/simple.exp: Add inclusive range tests.
9630
79188d8d
PA
96312018-04-26 Pedro Alves <palves@redhat.com>
9632
9633 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9634 ifunc breakpoint locations correctly of ifunc breakpoints set
9635 while the program resolves the ifunc.
9636
c7075ad5
PA
96372018-04-26 Pedro Alves <palves@redhat.com>
9638
9639 * gdb.base/gnu-ifunc-final.c: New file.
9640 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9641 * gdb.base/gnu-ifunc.exp (executable): Delete.
9642 (staticexecutable): Adjust.
9643 (lib_opts, exec_opts): Delete.
9644 (make_binsuffix, build, set-break): New procedures.
9645 (misc_tests): New, with tests factored out from the top level.
9646 (top level): Test different combinations of ifunc resolver name,
9647 resolver with and with debug info, and ifunc target with and
9648 without debug info. Wrap static tests with with_target_prefix.
9649
8388016d
PA
96502018-04-26 Pedro Alves <palves@redhat.com>
9651
9652 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9653 return type" warnings.
9654
249b5733
PA
96552018-04-25 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9658 killed".
9659 * gdb.base/kill-after-signal.exp: Likewise.
9660 * gdb.threads/kill.exp: Likewise.
9661
f67c0c91
SDJ
96622018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9663 Sergio Durigan Junior <sergiodj@redhat.com>
9664 Pedro Alves <palves@redhat.com>
9665
9666 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9667 regexps to expect for '[Inferior ... detached]' as well.
9668 * gdb.base/attach.exp: Likewise.
9669 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9670 "gdb_continue_to_end".
9671 (test_catch_syscall_with_wrong_args): Likewise.
9672 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9673 ']'. Don't set 'verbose' on.
9674 * gdb.base/foll-vfork.exp: Likewise.
9675 * gdb.base/fork-print-inferior-events.c: New file.
9676 * gdb.base/fork-print-inferior-events.exp: New file.
9677 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9678 '[Inferior ... has been killed]' message.
9679 * gdb.base/kill-after-signal.exp: Likewise.
9680 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9681 detach message.
9682 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9683 message.
9684 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9685 regexps to expect for '[Inferior ... detached]' as well.
9686 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9687
0a8ddac4
SM
96882018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9689
9690 PR gdb/23104
9691 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9692
701adfb0
PA
96932018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9694
9695 PR gdb/23095
9696 * gdb.base/break-probes.exp: Pass shlib_load to
9697 prepare_for_testing. Set normal_bp to r_debug_state if target is
9698 bsd.
9699
d27d16bf
RB
97002018-04-19 Richard Bunt <richard.bunt@arm.com>
9701
9702 * gdb.threads/multiple-successive-infcall.c: New test.
9703 * gdb.threads/multiple-successive-infcall.exp: New file.
9704
a037790e
TT
97052018-04-17 Tom Tromey <tom@tromey.com>
9706
9707 * gdb.rust/simple.rs (Union): New type.
9708 (main): New local "u".
9709 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9710
e3a91079
AA
97112018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9712
9713 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9714 number information in output of "whereis" command.
9715 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9716
b744723f
AA
97172018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9718
9719 * gdb.ada/info_types.exp: Adjust expected output to the line
9720 numbers now printed by "info var/func/type".
9721 * gdb.base/completion.exp: Likewise.
9722 * gdb.base/included.exp: Likewise.
9723 * gdb.cp/cp-relocate.exp: Likewise.
9724 * gdb.cp/cplusfuncs.exp: Likewise.
9725 * gdb.cp/namespace.exp: Likewise.
9726 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9727
4a4495d6
MM
97282018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9729
9730 * gdb.btrace/cpu.exp: New.
9731
1d509aa6
MM
97322018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9733
9734 * gdb.base/step-indirect-call-thunk.exp: New.
9735 * gdb.base/step-indirect-call-thunk.c: New.
9736 * gdb.reverse/step-indirect-call-thunk.exp: New.
9737 * gdb.reverse/step-indirect-call-thunk.c: New.
9738
6295b6da
SM
97392018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9740
9741 * gdb.base/pie-fork.c: New file.
9742 * gdb.base/pie-fork.exp: New file.
9743
50146e70
TT
97442018-04-11 Tom Tromey <tom@tromey.com>
9745
9746 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9747
f50d8a2e
PA
97482018-04-10 Pedro Alves <palves@redhat.com>
9749
9750 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9751 exits. Instead loop running forever.
9752 (fork_parent): Run forever too.
9753
a0be7a36
SM
97542018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9755
9756 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9757 mi_continue_to_line.
9758 * gdb.mi/mi-stack.c (callee4): Add comment.
9759
9b73db36
SM
97602018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9761
9762 * gdb.mi/mi-stack.exp: Fix indentation.
9763
c912f608
SM
97642018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9765
9766 PR gdb/22979
9767 * gdb.arch/amd64-osabi.exp: New file.
9768
26540402
SM
97692018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9770
9771 PR gdb/22980
9772 * gdb.base/osabi.exp: New file.
9773
121ad66c 97742018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9775
9776 * gdb.cp/static-typedef-print.exp: New file.
9777 * gdb.cp/static-typedef-print.cc: New file.
9778
3fcded8f
JB
97792018-03-27 Joel Brobecker <brobecker@adacore.com>
9780
9781 * gdb.ada/varsize_limit: New testcase.
9782
59cc4834
JB
97832018-03-27 Joel Brobecker <brobecker@adacore.com>
9784
9785 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9786
9787 * gdb.ada/notcplusplus: New testcase.
9788
9789 * gdb.base/c-linkage-name.c: New file.
9790 * gdb.base/c-linkage-name.exp: New testcase.
9791
4ca59a9f
TT
97922018-03-26 Tom Tromey <tom@tromey.com>
9793
9794 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9795 * gdb.python/py-framefilter.py (name_error): New global.
9796 (ErrorInName.function): Use name_error.
9797
978d6c75
TT
97982018-03-26 Tom Tromey <tom@tromey.com>
9799
9800 PR backtrace/15582:
9801 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9802
b7fee5a3
KS
98032018-03-23 Keith Seitz <keiths@redhat.com>
9804
9805 PR c++/22968
9806 * gdb.cp/subtypes.exp: New file.
9807 * gdb.cp/subtypes.h: New file.
9808 * gdb.cp/subtypes.cc: New file.
9809 * gdb.cp/subtypes-2.cc: New file.
9810
376be529
AB
98112018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9812
9813 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9814 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9815 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9816 -nostartfiles when compiling the test. Confirm that all registers
9817 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9818
066cfa98
AB
98192018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9820
9821 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9822 option, syntax was wrong anyway.
9823 * gdb.arch/arm-disp-step.exp: Likewise.
9824 * gdb.arch/sparc64-regs.exp: Likewise.
9825 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9826 option, syntax was wrong anyway, switch to use
9827 prepare_for_testing.
9828 * gdb.arch/i386-disp-step.exp: Likewise.
9829
079670b9
AA
98302018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9831
9832 * gdb.ada/exec_changed.exp: Replace "target_info exists
9833 use_gdb_stub" by "use_gdb_stub".
9834 * gdb.ada/start.exp: Likewise.
9835 * gdb.base/async-shell.exp: Likewise.
9836 * gdb.base/attach-pie-misread.exp: Likewise.
9837 * gdb.base/attach-wait-input.exp: Likewise.
9838 * gdb.base/break-entry.exp: Likewise.
9839 * gdb.base/break-interp.exp: Likewise.
9840 * gdb.base/dprintf-detach.exp: Likewise.
9841 * gdb.base/nostdlib.exp: Likewise.
9842 * gdb.base/solib-nodir.exp: Likewise.
9843 * gdb.base/statistics.exp: Likewise.
9844 * gdb.base/testenv.exp: Likewise.
9845 * gdb.mi/mi-exec-run.exp: Likewise.
9846 * gdb.mi/mi-start.exp: Likewise.
9847 * gdb.multi/dummy-frame-restore.exp: Likewise.
9848 * gdb.multi/multi-arch-exec.exp: Likewise.
9849 * gdb.multi/multi-arch.exp: Likewise.
9850 * gdb.multi/tids.exp: Likewise.
9851 * gdb.multi/watchpoint-multi.exp: Likewise.
9852 * gdb.python/py-events.exp: Likewise.
9853 * gdb.threads/attach-into-signal.exp: Likewise.
9854 * gdb.threads/attach-stopped.exp: Likewise.
9855 * gdb.threads/threadapply.exp: Likewise.
9856 * lib/selftest-support.exp: Likewise.
9857
26d6cec4
AA
98582018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9859
9860 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9861
4ee89e90
SR
98622018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9863
9864 * gdb.perf/template-breakpoints.cc: New file.
9865 * gdb.perf/template-breakpoints.exp: New file.
9866 * gdb.perf/template-breakpoints.py: New file.
9867
92630041
TT
98682018-03-19 Tom Tromey <tom@tromey.com>
9869
9870 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9871 y0.
9872 * gdb.rust/simple.exp: Test bare identifier form of struct
9873 initializer.
9874
76727919
TT
98752018-03-19 Tom Tromey <tom@tromey.com>
9876
9877 * gdb.gdb/observer.exp: Remove.
9878
194ed413
AA
98792018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9880
9881 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9882 "qualified" option when setting breakpoints.
9883 * gdb.trace/backtrace.exp: Likewise.
9884 * gdb.trace/circ.exp: Likewise.
9885 * gdb.trace/collection.exp: Likewise.
9886 * gdb.trace/disconnected-tracing.exp: Likewise.
9887 * gdb.trace/ftrace-lock.exp: Likewise.
9888 * gdb.trace/ftrace.exp: Likewise.
9889 * gdb.trace/infotrace.exp: Likewise.
9890 * gdb.trace/packetlen.exp: Likewise.
9891 * gdb.trace/passc-dyn.exp: Likewise.
9892 * gdb.trace/qtro.exp: Likewise.
9893 * gdb.trace/read-memory.exp: Likewise.
9894 * gdb.trace/report.exp: Likewise.
9895 * gdb.trace/signal.exp: Likewise.
9896 * gdb.trace/status-stop.exp: Likewise.
9897 * gdb.trace/strace.exp: Likewise.
9898 * gdb.trace/tfind.exp: Likewise.
9899 * gdb.trace/trace-break.exp: Likewise.
9900 * gdb.trace/trace-condition.exp: Likewise.
9901 * gdb.trace/trace-mt.exp: Likewise.
9902 * gdb.trace/tstatus.exp: Likewise.
9903 * gdb.trace/tsv.exp: Likewise.
9904 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9905 * gdb.trace/unavailable.exp: Likewise.
9906 * gdb.trace/while-dyn.exp: Likewise.
9907
8b067d2c
AA
99082018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9909
9910 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9911 that libinproctrace is copied to the target.
9912
3ae9ce5d
TT
99132018-03-14 Tom Tromey <tom@tromey.com>
9914
9915 PR cli/14977:
9916 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9917 a null pointer.
9918 * gdb.base/wchar.exp: Likewise.
9919
b8c2339b
TT
99202018-03-14 Tom Tromey <tom@tromey.com>
9921
9922 PR cli/19918:
9923 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9924 flag.
9925
4872dc46
SM
99262018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9927
9928 PR gdb/22841
9929 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9930 "target" to remote_exec.
9931
e4fe3756
SM
99322018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9933
9934 PR gdb/22841
9935 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9936 ${board}_upload): Remove.
9937
e95a97d4
AA
99382018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9939
9940 * gdb.cp/watch-cp.cc: New test.
9941 * gdb.cp/watch-cp.exp: New file.
9942
dbbb1059
AB
99432018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9944
9945 * gdb.base/infcall-nested-structs.exp: New file.
9946 * gdb.base/infcall-nested-structs.c: New file.
9947 * gdb.base/float.exp: Add riscv support.
9948
ecc054c0
TP
99492018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9950
9951 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9952 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9953
25e3c82c
SDJ
99542018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9955
9956 * gdb.server/abspath.exp: New file.
9957 * lib/gdb.exp (with_cwd): New procedure.
9958
3083294d
SM
99592018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9960
9961 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9962 use it.
9963 (gdb_is_target_remote_prompt): New proc.
9964 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9965 (gdb_is_target_native): Pass prompt parameter to
9966 gdb_is_target_1.
9967
3275ef47
SM
99682018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9969
9970 * gdb.base/load-command.c: New file.
9971 * gdb.base/load-command.exp: New file.
9972 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9973 (gdb_is_target_1): ...this, and generalize for other targets
9974 than just remote.
9975 (gdb_is_target_remote): Use gdb_is_target_1.
9976 (gdb_is_target_native): use gdb_is_target_1.
9977
6893c19a
TT
99782018-02-26 Tom Tromey <tom@tromey.com>
9979
9980 PR python/16497:
9981 * gdb.python/py-framefilter.exp: Update test.
9982
2ddeaf8a
TT
99832018-02-26 Tom Tromey <tom@tromey.com>
9984
9985 * gdb.dwarf2/variant.c: New file.
9986 * gdb.dwarf2/variant.exp: New file.
9987
c9317f21
TT
99882018-02-26 Tom Tromey <tom@tromey.com>
9989
9990 * gdb.rust/simple.exp: Accept more possible results in enum test.
9991
6f6d0c26
SM
99922018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9993
9994 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9995 parentheses.
9996
11b03145
MR
99972018-02-23 Maciej W. Rozycki <macro@mips.com>
9998
9999 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10000 name of a variable: $actual_linejj -> $actual_line.
10001
54a27fe5
JB
100022018-02-21 John Baldwin <jhb@FreeBSD.org>
10003
10004 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10005
de65820c
MM
100062018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10007
10008 * gdb.btrace/buffer-size.exp: Do not force BTS.
10009
980548fd
PA
100102018-02-14 Pedro Alves <palves@redhat.com>
10011
10012 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10013 getting a "Quit".
10014
c4e12631
MM
100152018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10016
10017 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10018 Fix test name.
10019
c2e0e465
SM
100202018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10021
10022 * gdb.cp/m-static.exp: Check type of optimized out static
10023 member.
10024
f7216783
AB
100252018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10026
10027 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10028 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10029
0625771b
LS
100302018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10031 Leszek Swirski <leszeks@google.com>
10032
10033 * gdb.python/py-prettyprint.c
10034 (struct to_string_returns_value_inner,
10035 struct to_string_returns_value_wrapper): New.
10036 (main): Add tsrvw variable.
10037 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10038 ToStringReturnsValueWrapper): New classes.
10039 (register_pretty_printers): Register new pretty-printers.
10040 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10041 recursive pretty printer.
10042 * gdb.python/py-mi.exp: Likewise.
10043
59498c30
LS
100442018-02-01 Leszek Swirski <leszeks@google.com>
10045
10046 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10047 functions with the same name as an include file are parsed
10048 correctly.
10049
d4d38844
YQ
100502018-02-01 Yao Qi <yao.qi@linaro.org>
10051
10052 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10053 "\[^\r\n\]*".
10054
07e5f5cf
NP
100552018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10056
10057 * gdb.arch/powerpc-prologue-frame.s: New file.
10058 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10059 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10060
929b5ad4
JB
100612018-01-31 Joel Brobecker <brobecker@adacore.com>
10062
10063 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10064
e671cd59
PA
100652018-01-30 Pedro Alves <palves@redhat.com>
10066
10067 PR gdb/13211
10068 * gdb.base/interrupt-daemon.c: New.
10069 * gdb.base/interrupt-daemon.exp: New.
10070 * gdb.multi/multi-term-settings.c: New.
10071 * gdb.multi/multi-term-settings.exp: New.
10072
fc413dc4
JB
100732018-01-30 Joel Brobecker <brobecker@adacore.com>
10074
10075 * gdb.base/break.exp: Save the location where the breakpoint
10076 on break.c:47 was actually inserted when debugging the version
10077 compiled at -O2 and use it in the expected output of the "info
10078 break" test performed soon after.
10079
5c319bb2
PA
100802018-01-22 Pedro Alves <palves@redhat.com>
10081 Sergio Durigan Junior <sergiodj@redhat.com>
10082
10083 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10084 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10085
a9e40818
JB
100862018-01-22 Joel Brobecker <brobecker@adacore.com>
10087
10088 * gdb.base/break-include.c, gdb.base/break-include.inc,
10089 gdb.base/break-include.exp: New files.
10090 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10091 line number now being the actual line number where the breakpoint
10092 was inserted.
10093 * gdb.mi/mi-break.exp: Likewise.
10094 * gdb.mi/mi-reverse.exp: Likewise.
10095 * gdb.mi/mi-simplerun.exp: Ditto.
10096
e707fc44
AB
100972018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10098
10099 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10100 varobj.
10101 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10102
ae451627
AB
101032018-01-21 Don Breazeal <donb@codesourcery.com>
10104 Andrew Burgess <andrew.burgess@embecosm.com>
10105
10106 * gdb.mi/basics.c: Add new global.
10107 * gdb.mi/mi-frame-regs.exp: New file.
10108 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10109 case.
10110
b1b189e0
AB
101112018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10112
10113 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10114 non-parameter, and on an unknown symbol.
10115
fcfcc376
TT
101162018-01-19 Tom Tromey <tom@tromey.com>
10117
10118 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10119 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10120
634c1c31
AA
101212018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10122
10123 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10124 setrlimit and chdir to int.
10125
d6ad07fd
AA
101262018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10127
10128 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10129 function.
10130 (my_tend): Likewise.
10131 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10132 rationale of avoiding FP- and vector instructions.
10133
adf8243b
RK
101342018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10135
10136 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10137 "info reg" with "\[ \t\]*".
10138 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10139 "\[ \t\]+".
10140 * gdb.arch/s390-multiarch.exp: Ditto.
10141 * gdb.base/pc-fp.exp: Ditto.
10142 * gdb.reverse/i386-precsave.exp: Ditto.
10143 * gdb.reverse/i386-reverse.exp: Ditto.
10144 * gdb.reverse/i387-env-reverse.exp: Ditto.
10145 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10146
dcc06925
AA
101472018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10148
10149 * lib/gdb.exp (gdb_compile): Re-enable use of
10150 universal_compile_options for languages other than Rust.
10151
25d4fd80
AA
101522018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10153
10154 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10155
ee7f689e 101562018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10157
10158 PR gdb/16577
10159 * gdb.base/solib-vanish.exp: New.
10160 * gdb.base/solib-vanish-main.c: New.
10161 * gdb.base/solib-vanish-lib1.c: New.
10162 * gdb.base/solib-vanish-lib2.c: New.
10163
d8447b6b
YQ
101642018-01-17 Yao Qi <yao.qi@linaro.org>
10165
10166 * gdb.compile/compile.exp: Match the address printed for
10167 frame in the output of command "bt".
10168
86d6a90c
TT
101692018-01-15 Tom Tromey <tom@tromey.com>
10170
10171 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10172 compute sp_reg.
10173
cbcdb1aa
AB
101742018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10175
10176 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10177 to prepare.
10178 (prepare): Return 0 on error, 1 on success.
10179
eea61984
PA
101802018-01-12 Pedro Alves <palves@redhat.com>
10181
10182 * gdb.base/continue-after-aborted-step-over.c: New.
10183 * gdb.base/continue-after-aborted-step-over.exp: New.
10184
6181e9c2
SM
101852018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10186
10187 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10188 options when not creating an executable.
10189
3cada740
PA
101902018-01-11 Pedro Alves <palves@redhat.com>
10191
10192 PR remote/22597
10193 * gdb.server/stop-reply-no-thread.c: New file.
10194 * gdb.server/stop-reply-no-thread.exp: New file.
10195
c63d3e8d
PA
101962018-01-10 Pedro Alves <palves@redhat.com>
10197
10198 PR gdb/22670
10199 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10200 functions too. Test setting breakpoints and printing C functions
10201 with no debug info too.
10202 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10203
d4c2a405
PA
102042018-01-10 Pedro Alves <palves@redhat.com>
10205
10206 PR gdb/22670
10207 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10208 a fail.
10209
8825213e
PA
102102018-01-10 Pedro Alves <palves@redhat.com>
10211
10212 PR gdb/22670
10213 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10214
605fd3c6
YQ
102152018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10216
10217 * gdb.server/unittest.exp: Match the output in non-development
10218 mode.
10219
1e5ded6c
YQ
102202018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10221
10222 * gdb.gdb/unittest.exp: Match output in non-development mode.
10223
30066b0b
JB
102242018-01-08 Joel Brobecker <brobecker@adacore.com>
10225
10226 * gdb.ada/access_tagged_param.exp: Relax expected output
10227 for value of "ObjL" in "continue" to pck.inspect breakpoint
10228 test.
10229
04bafb1e
XR
102302018-01-08 Joel Brobecker <brobecker@adacore.com>
10231
9f86398b
JB
10232 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10233 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10234
e379cee6
PA
102352018-01-05 Pedro Alves <palves@redhat.com>
10236
10237 PR gdb/18653
10238 * gdb.base/libsegfault.exp: New.
10239
de63c46b
PA
102402018-01-05 Joel Brobecker <brobecker@adacore.com>
10241
10242 PR gdb/22670
10243 * gdb.ada/access_tagged_param.exp: New file.
10244 * gdb.ada/access_tagged_param/foo.adb: New file.
10245
f98fc17b
PA
102462018-01-05 Pedro Alves <palves@redhat.com>
10247
10248 PR gdb/22670
10249 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10250 exercise lower case too, and to exercise both full matching and
10251 wild matching.
10252
342f8240
JB
102532018-01-05 Joel Brobecker <brobecker@adacore.com>
10254
10255 * gdb.ada/rename_subscript_param: New testcase.
10256
7150d33c
JG
102572018-01-05 Jerome Guitton <guitton@adacore.com>
10258
10259 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10260
cc0e770c
JB
102612018-01-05 Joel Brobecker <brobecker@adacore.com>
10262
10263 * gdb.ada/convvar_comp: New testcase.
10264
672a41aa 102652018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10266
10267 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10268 (My_Table): New global variable.
10269 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10270
7365ec2f
JB
102712018-01-04 Joel Brobecker <brobecker@adacore.com>
10272
10273 PR gdb/22670
10274 * gdb.ada/maint_with_ada: New testcase.
10275
289483b6
JB
102762018-01-04 Joel Brobecker <brobecker@adacore.com>
10277
10278 PR gdb/22670
10279 * gdb.ada/bp_c_mixed_case: New testcase.
10280
344420da
JB
102812018-01-04 Joel Brobecker <brobecker@adacore.com>
10282
10283 PR gdb/22670
10284 * gdb.ada/complete.exp: Add "complete break ada" test.
10285
66fc87a0
JB
102862018-01-04 Joel Brobecker <brobecker@adacore.com>
10287
10288 PR gdb/22670
10289 * gdb.ada/info_addr_mixed_case: New testcase.
10290
9f757bf7
XR
102912018-01-03 Xavier Roirand <roirand@adacore.com>
10292
10293 * gdb.ada/excep_handle.exp: New testcase.
10294 * gdb.ada/excep_handle/foo.adb: New file.
10295 * gdb.ada/excep_handle/pck.ads: New file.
10296
bd570f80
JB
102972018-01-03 Joel Brobecker <brobecker@adacore.com>
10298
10299 * gdb.base/step-line.c: Add extra empty line in copyright header.
10300 * gdb.base/step-line.inp: Likewise.
10301
9fe561ab
JB
103022018-01-02 Joel Brobecker <brobecker@adacore.com>
10303
10304 * gdb.ada/dyn_stride.exp: Add slice test.
10305
a405673c
JB
103062018-01-02 Joel Brobecker <brobecker@adacore.com>
10307
10308 * gdb.ada/dyn_stride: New testcase.
10309
cef0f868
SH
103102017-12-27 Stafford Horne <shorne@gmail.com>
10311
10312 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10313 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10314
b67d92b0
SH
103152017-12-27 Stafford Horne <shorne@gmail.com>
10316
10317 * gdb.base/reggroups.c: New file.
10318 * gdb.base/reggroups.exp: New file.
10319
eccab96d
JB
103202017-12-18 Joel Brobecker <brobecker@adacore.com>
10321
10322 * gdb.dwarf2/ada-valprint-error.c: New file.
10323 * gdb.dwarf2/ada-valprint-error.exp: New file.
10324
0e2da9f0
JB
103252017-12-18 Joel Brobecker <brobecker@adacore.com>
10326
10327 * gdb.ada/assign_arr: New testcase.
10328
cb923fcc
XR
103292017-12-18 Xavier Roirand <roirand@adacore.com>
10330
10331 * gdb.ada/funcall_ptr: New testcase.
10332
7c161838
SDJ
103332017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10334
10335 PR cli/16224
10336 * gdb.base/ptype-offsets.cc: New file.
10337 * gdb.base/ptype-offsets.exp: New file.
10338
1af17fd9
YQ
103392017-12-15 Yao Qi <yao.qi@linaro.org>
10340
10341 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10342 if XML is disabled.
10343
828d5846
XR
103442017-12-15 Xavier Roirand <roirand@adacore.com>
10345
10346 * gdb.ada/same_component_name: New testcase.
10347
79e8fcaa
JB
103482017-12-14 Joel Brobecker <brobecker@adacore.com>
10349
10350 * gdb.ada/str_binop_equal: New testcase.
10351
e05fa6f9
JB
103522017-12-14 Joel Brobecker <brobecker@adacore.com>
10353
10354 * gdb.ada/task_switch_in_core: New testcase.
10355
b89641ba
SM
103562017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10357
10358 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10359 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10360 call test_bkpt_qualified.
10361 (test_bkpt_qualified): New proc.
10362
6892d2e4
PA
103632017-12-13 Pedro Alves <palves@redhat.com>
10364
10365 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10366 Tighten regexp by matching with an anchor.
10367
a22ecf70
PA
103682017-12-13 Pedro Alves <palves@redhat.com>
10369
10370 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10371 ("expression with namespace"): New set of tests.
10372 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10373 (Nested::Test_NS::qux): New.
10374 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10375 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10376
9937536c
JB
103772017-12-13 Joel Brobecker <brobecker@adacore.com>
10378
10379 * gdb.base/server-del-break.c: New file.
10380 * gdb.base/server-del-break.exp: New file.
10381
fe49c6f5
SH
103822017-12-12 Stafford Horne <shorne@gmail.com>
10383
10384 * gdb.xml/tdesc-regs.exp: Add or1k support.
10385
c3d18620
SH
103862017-12-12 Stafford Horne <shorne@gmail.com>
10387
10388 * gdb.base/bp-permanent.c: Define nop of or1k.
10389
c5f9cfc8
JB
103902017-12-11 Joel Brobecker <brobecker@adacore.com>
10391
10392 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10393 output with components being reordered.
10394
a9c135fc
JB
103952017-12-11 Joel Brobecker <brobecker@adacore.com>
10396
10397 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10398 output with components being reordered.
10399
927aa2e7
JK
104002017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10401 Pedro Alves <palves@redhat.com>
10402
10403 * gdb.base/maint.exp (check for .gdb_index): Check also for
10404 .debug_names.
10405 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10406 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10407 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10408 (.gdb_index used after symbol reloading): Support also .debug_names.
10409 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10410
f17d9474
YQ
104112017-12-08 Yao Qi <yao.qi@linaro.org>
10412
10413 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10414 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10415
a0de8c21
YQ
104162017-12-08 Yao Qi <yao.qi@linaro.org>
10417
10418 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10419 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10420
a738ea1d
YQ
104212017-12-08 Yao Qi <yao.qi@linaro.org>
10422
10423 * gdb.arch/aarch64-tagged-pointer.c: New file.
10424 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10425
1cd9a73b
SDJ
104262017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10427
10428 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10429 "int".
10430
fa6eb693
KS
104312017-12-07 Keith Seitz <keiths@redhat.com>
10432
10433 PR breakpoints/22569
10434 * gdb.linespec/ls-errs.exp: Change expected result of "break
10435 -source this file has spaces.c -line 3".
10436 Check that an explicit source file followed by whitespace is
10437 identified as an invalid explicit location.
10438
883fd55a
KS
104392017-12-07 Keith Seitz <keiths@redhat.com>
10440
10441 * gdb.cp/nested-types.cc: New file.
10442 * gdb.cp/nested-types.exp: New file.
10443 * lib/cp-support.exp: Load data-structures.exp library.
10444 (debug_cp_test_ptype_class): New global.
10445 (cp_ptype_class_verbose, next_line): New procedures.
10446 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10447 Add and document new return value.
10448 Switch the list of lines to a queue.
10449 Add support for new `type' key for nested type definitions.
10450 Add debugging/troubleshooting messages.
10451 * lib/data-structures.exp: New file.
10452
ec72db3e
SM
104532017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10454
10455 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10456 with proc_with_prefix, don't use with_test_prefix.
10457
99598d71
TT
104582017-12-07 Tom Tromey <tom@tromey.com>
10459
10460 * gdb.base/break.exp: Add test for empty "commands".
10461
a8806230
YQ
104622017-12-07 Yao Qi <yao.qi@linaro.org>
10463
10464 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10465 malloc and catch syscall.
10466
824cc835
PM
104672017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10468
e79be6e5 10469 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10470 tests for explicit locations.
10471
7cc244de
PA
104722017-12-06 Pedro Alves <palves@redhat.com>
10473
10474 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10475 force-disabling XML descriptions.
10476
50a1fdd5
PA
104772017-12-04 Pedro Alves <palves@redhat.com>
10478
10479 PR gdb/22499
10480 * gdb.arch/amd64-disp-step-avx.S: New file.
10481 * gdb.arch/amd64-disp-step-avx.exp: New file.
10482
f0fb2488
PA
104832017-12-03 Pedro Alves <palves@redhat.com>
10484
10485 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10486 and <string.h>.
10487 (parent_function): Print distinct messages when waitpid fails, or
10488 the child exits with a signal, or the child exits for an unhandled
10489 reason.
10490 * gdb.threads/process-dies-while-detaching.exp
10491 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10492 it. Wait for both inferior output and GDB's prompt. Use an
10493 indirect spawn id list.
10494 (do_detach): New parameter 'child_exit'. Use it to compute
10495 expected inferior output.
10496 (test_detach, test_detach_watch, test_detach_killed_outside):
10497 Adjust to pass down the expected child exit kind.
10498
97cbe998
SDJ
104992017-12-01 Joel Brobecker <brobecker@adacore.com>
10500 Sergio Durigan Junior <sergiodj@redhat.com>
10501 Pedro Alves <palves@redhat.com>
10502
10503 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10504
40fc416f
SDJ
105052017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10506
10507 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10508 to 'symbol-file' and 'add-symbol-file' can be
10509 position-independent.
10510
1cc75e92
YQ
105112017-12-01 Yao Qi <yao.qi@linaro.org>
10512
10513 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10514 the URL in copyright header.
10515 * gdb.arch/aarch64-fp.exp: Likewise.
10516 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10517 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10518 * gdb.base/expand-psymtabs.exp: Likewise.
10519 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10520 * gdb.fortran/common-block.exp: Likewise.
10521 * gdb.fortran/common-block.f90: Likewise.
10522 * gdb.fortran/logical.exp: Likewise.
10523 * gdb.fortran/vla-datatypes.f90: Likewise.
10524 * gdb.fortran/vla-sub.f90: Likewise.
10525
875fb7a7
JB
105262017-11-30 Joel Brobecker <brobecker@adacore.com>
10527
10528 * gdb.ada/repeat_dyn: New testcase.
10529
6f14765f
UW
105302017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10531
10532 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10533 Update for changed thread numbering.
10534 * gdb.cell/bt.exp: Update for changed GDB output.
10535
f1af7b94
SM
105362017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10537
10538 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10539 setting isremote by hand.
10540 * boards/dwarf4-gdb-index.exp: Likewise.
10541 * boards/fission.exp: Likewise.
10542 * boards/stabs.exp: Likewise.
10543
e3919f3e
PA
105442017-11-30 Pedro Alves <palves@redhat.com>
10545
10546 * gdb.linespec/cpls-ops.exp
10547 (check_explicit_skips_function_argument): Extract the underlying
10548 type of size_t instead of hardcoding it.
10549
bd69330d
PA
105502017-11-29 Pedro Alves <palves@redhat.com>
10551
10552 PR c++/19436
10553 * gdb.linespec/cpls-abi-tag.cc: New file.
10554 * gdb.linespec/cpls-abi-tag.exp: New file.
10555
a20714ff
PA
105562017-11-29 Pedro Alves <palves@redhat.com>
10557
10558 * gdb.base/langs.exp: Use -qualified.
10559 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10560 it.
10561 * gdb.cp/namespace.exp: Use -qualified.
10562 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10563 (overload-3, template-overload, template-ret-type, const-overload)
10564 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10565 procedures.
10566 (test_driver): Call them.
10567 * gdb.cp/save-bp-qualified.cc: New.
10568 * gdb.cp/save-bp-qualified.exp: New.
10569 * gdb.linespec/explicit.exp: Test -qualified.
10570 * lib/completion-support.exp (completion::explicit_opts_list): Add
10571 "-qualified".
10572 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10573
f6f1d339
PM
105742017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10575
10576 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10577
02ca603a
TT
105782017-11-29 Tom Tromey <tom@tromey.com>
10579
10580 * gdb.base/relocate.exp: Update invalid argument test.
10581 Add new tests for invalid arguments.
10582
ed6c0bfb
TP
105832017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10584
10585 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10586 Return 0 as a long.
10587 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10588
f106e10e
TP
105892017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10590
10591 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10592 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10593 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10594 func ().
10595 * gdb.cp/shadow.cc (B.func): Return 0.
10596
10329bb2
JB
105972017-11-27 Joel Brobecker <brobecker@adacore.com>
10598
10599 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10600 expected output in gdb_expect call to allow the exception
10601 message to be present as well. Fix syntax confusion to avoid
10602 TCL thinking that exception_name is an array.
10603
617cd4bc
UW
106042017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10605
10606 * gdb.arch/spu-info.c: Include <unistd.h>.
10607 (do_signal_test): Fix broken calls to write.
10608 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10609 Fix checks for empty mailboxes. Update signal tests for corrected
10610 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10611 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10612 * gdb.cell/arch.exp: Use standard_output_file.
10613 * gdb.cell/break.exp: Likewise.
10614 * gdb.cell/bt.exp: Likewise.
10615 * gdb.cell/core.exp: Likewise.
10616 * gdb.cell/dwarfaddr.exp: Likewise.
10617 * gdb.cell/ea-cache.exp: Likewise.
10618 * gdb.cell/ea-standalone.exp: Likewise.
10619 * gdb.cell/f-regs.exp: Likewise.
10620 * gdb.cell/fork.exp: Likewise.
10621 * gdb.cell/gcore.exp: Likewise.
10622 * gdb.cell/mem-access.exp: Likewise.
10623 * gdb.cell/ptype.exp: Likewise.
10624 * gdb.cell/registers.exp: Likewise.
10625 * gdb.cell/sizeof.exp: Likewise.
10626 * gdb.cell/solib-symbol.exp: Likewise.
10627 * gdb.cell/solib.exp: Likewise.
617cd4bc 10628
a81aaca0
PA
106292017-11-25 Pedro Alves <palves@redhat.com>
10630
10631 * gdb.base/complete-empty.exp: New file.
10632 * gdb.base/completion.exp: Adjust.
10633
6a3c6ee4
PA
106342017-11-25 Pedro Alves <palves@redhat.com>
10635
10636 * gdb.linespec/cpls-ops.cc: New file.
10637 * gdb.linespec/cpls-ops.exp: New file.
10638 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10639 factored out from ...
10640 (test_complete_prefix_range): ... this.
10641
8955eb2d
PA
106422017-11-24 Pedro Alves <palves@redhat.com>
10643
10644 * gdb.linespec/cpcompletion.exp: New file.
10645 * gdb.linespec/cpls-hyphen.cc: New file.
10646 * gdb.linespec/cpls.cc: New file.
10647 * gdb.linespec/cpls2.cc: New file.
10648 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10649 test to use test_gdb_complete_unique. Add label completion,
10650 keyword completion and explicit location completion tests.
10651 * lib/completion-support.exp: New file.
10652
e547c119
JB
106532017-11-24 Joel Brobecker <brobecker@adacore.com>
10654
10655 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10656 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10657 when hitting an exception catchpoint.
10658
7c3c1aa8
YQ
106592017-11-22 Yao Qi <yao.qi@linaro.org>
10660
10661 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10662
41bd68f5
SM
106632017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10664
10665 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10666 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10667 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10668
1daad298
YQ
106692017-11-22 Yao Qi <yao.qi@linaro.org>
10670
10671 * gdb.base/info-os.exp: Pass pthreads.
10672 * gdb.multi/multi-attach.exp: Likewise.
10673
88465e87
YQ
106742017-11-22 Yao Qi <yao.qi@linaro.org>
10675
10676 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10677 compiler.
10678
dc196b23
YQ
106792017-11-22 Yao Qi <yao.qi@linaro.org>
10680
10681 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10682 * gdb.base/break-interp.exp: Likewise.
10683 * gdb.base/jit-attach-pie.exp: Likewise.
10684
2400729e
UW
106852017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10686
10687 * gdb.base/float128.c (large128): New variable.
10688 * gdb.base/float128.exp: Add test to print largest __float128 value.
10689
7a26362d
UW
106902017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10691
10692 * gdb.arch/vsx-regs.exp: Update register content checks.
10693
ed0f4273
UW
106942017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10695
10696 * gdb.arch/ppc-longdouble.exp: New file.
10697 * gdb.arch/ppc-longdouble.c: Likewise.
10698
a25d69c6
PA
106992017-11-21 Pedro Alves <palves@redhat.com>
10700
10701 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10702
73fcf641
PA
107032017-11-20 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10706 (long_double_typedef): New typedefs.
10707 Use DEF on double and long double.
10708 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10709 cases.
10710 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10711 and 'long_double_ptr_same_size' locals. Use them to decide
10712 whether cast from array/function to float is valid/invalid.
10713
71a3c369
TT
107142017-11-17 Tom Tromey <tom@tromey.com>
10715
10716 * gdb.rust/traits.rs: New file.
10717 * gdb.rust/traits.exp: New file.
10718
ced9779b
JB
107192017-11-17 Joel Brobecker <brobecker@adacore.com>
10720
10721 * gdb.ada/minsyms: New testcase.
10722
a0922d80
PA
107232017-11-16 Pedro Alves <palves@redhat.com>
10724
10725 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10726 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10727
ea04e54c
PA
107282017-11-16 Pedro Alves <palves@redhat.com>
10729
10730 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10731 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10732
e849ea89
PA
107332017-11-16 Pedro Alves <palves@redhat.com>
10734
10735 * gdb.server/reconnect-ctrl-c.c: New file.
10736 * gdb.server/reconnect-ctrl-c.exp: New file.
10737
d8ae99a7
PM
107382017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10739
10740 * gdb.python/py-rbreak.exp: New file.
10741 * gdb.python/py-rbreak.c: New file.
10742 * gdb.python/py-rbreak-func2.c: New file.
10743
968a13f8
PA
107442017-11-16 Pedro Alves <palves@redhat.com>
10745
10746 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10747 pattern.
10748 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10749 GDB.
10750
71774bc9
SM
107512017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10752
10753 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10754 regex.
10755
ddbb44cf
SM
107562017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10757
10758 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10759 test names.
10760
584a564f
PA
107612017-11-09 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10764 factored out from ...
10765 (top level): ... here, and adjusted to avoid expecting beyond the
10766 prompt in a single gdb_test_multiple.
10767
5ed7a928
PA
107682017-11-09 Pedro Alves <palves@redhat.com>
10769
10770 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10771 output.
10772 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10773 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10774 * gdb.server/ext-run.exp ("kill" test): Likewise.
10775 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10776
a60e0738
PA
107772017-11-09 Pedro Alves <palves@redhat.com>
10778
10779 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10780 match till end of line.
10781
2c88253f
PA
107822017-11-09 Pedro Alves <palves@redhat.com>
10783
10784 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10785
c7a38517
PA
107862017-11-09 Pedro Alves <palves@redhat.com>
10787
10788 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10789 New procedures, factored out from ...
10790 (top level): ... here, and adjusted to avoid expecting beyond the
10791 prompt in one go.
10792
f29f4b6b
PA
107932017-11-09 Pedro Alves <palves@redhat.com>
10794
10795 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10796 output. Fix '?' match.
10797
286acbb5
JB
107982017-11-08 Joel Brobecker <brobecker@adacore.com>
10799
10800 * gdb.ada/scoped_watch: New testcase.
10801 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10802 which is actually correct.
10803 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10804 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10805
62d7ae92
PA
108062017-11-08 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.gdb/complaints.exp (test_initial_complaints)
10809 (test_serial_complaints, test_short_complaints): Call
10810 complaint_internal instead of complaint.
10811
280ca31f
DT
108122017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10813
10814 * gdb.threads/tls-core.c: New file.
10815 * gdb.threads/tls-core.exp: Likewise.
10816
b5ec771e
PA
108172017-11-08 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10820 (p Exported_Capitalized): New test.
10821 (p exported_capitalized): New test.
10822
a02b41a7
PA
108232017-11-07 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10826
95e95a6d
PA
108272017-11-07 Pedro Alves <palves@redhat.com>
10828
10829 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10830 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10831 (disable_invalid, disable_inverted, disable_negative): New
10832 procedures.
10833 ("bad numbers"): New set of tests.
10834
cee62dbd
PA
108352017-11-07 Pedro Alves <palves@redhat.com>
10836
10837 * gdb.cp/ena-dis-br-range.exp: Add tests.
10838
cc638e86
PA
108392017-11-07 Pedro Alves <palves@redhat.com>
10840
10841 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10842
d0fe4701
XR
108432017-11-07 Xavier Roirand <roirand@adacore.com>
10844 Pedro Alves <palves@redhat.com>
10845
10846 * gdb.base/ena-dis-br.exp: Add reference to
10847 gdb.cp/ena-dis-br-range.exp.
10848 * gdb.cp/ena-dis-br-range.exp: New file.
10849 * gdb.cp/ena-dis-br-range.cc: New file.
10850
46f67f80
PA
108512017-11-06 Pedro Alves <palves@redhat.com>
10852
10853 * gdb.base/attach-non-pgrp-leader.c: New.
10854 * gdb.base/attach-non-pgrp-leader.exp: New.
10855
726e1356
PA
108562017-11-06 Pedro Alves <palves@redhat.com>
10857
10858 * configure.ac: No longer check for termio.h and sgtty.h.
10859 * configure: Regenerate.
10860 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10861 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10862 Remove termio and sgtty code.
10863
50ab6ace
YQ
108642017-11-03 Yao Qi <yao.qi@linaro.org>
10865
10866 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10867 in GDB is disabled.
10868
8e68731c
YQ
108692017-11-03 Yao Qi <yao.qi@linaro.org>
10870
10871 * gdb.python/py-thrhandle.exp: Skip it if python is not
10872 enabled.
10873
3a87ae65
SM
108742017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10875
10876 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10877 as a breakpoint command.
10878
484d8d36
MD
108792017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10880
10881 PR python/21213
10882 * gdb.python/py-infthread.exp: Test calling
10883 InferiorThread.inferior () multiple times in a row.
10884
4a27f119
KS
108852017-10-27 Keith Seitz <keiths@redhat.com>
10886
10887 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10888 Test "info break" for every inlined function breakpoint.
10889
bb11dd58
YQ
108902017-10-27 Yao Qi <yao.qi@linaro.org>
10891
10892 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10893
a43f3893
PF
108942017-10-26 Patrick Frants <osscontribute@gmail.com>
10895
10896 * gdb.cp/classes.exp (test_static_members): Test printing
10897 Outer::instance.
10898 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10899 (Inner::instance, Outer::instance): New.
10900
792ccf00
PA
109012017-10-24 Pedro Alves <palves@redhat.com>
10902
10903 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10904 extra console" test in two stages.
10905
eb2bfbad
PA
109062017-10-24 Pedro Alves <palves@redhat.com>
10907
10908 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10909
1f75a651
PA
109102017-10-24 Pedro Alves <palves@redhat.com>
10911
10912 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10913 loop.
10914
779990d9
PA
109152017-10-24 Pedro Alves <palves@redhat.com>
10916
10917 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10918 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10919
ad9b8f5d
PA
109202017-10-24 Pedro Alves <palves@redhat.com>
10921
10922 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10923 parameter and handle it. Don't output read value in test name.
10924
fee6da6e
PA
109252017-10-24 Pedro Alves <palves@redhat.com>
10926
10927 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10928 custom test name.
10929
10389c2c
PA
109302017-10-24 Pedro Alves <palves@redhat.com>
10931
10932 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10933 include the unstable output directory name in the test's name.
10934 (initial_setup_simple) <'set args'>: Use custom test name.
10935
a80e65a9
PA
109362017-10-24 Pedro Alves <palves@redhat.com>
10937
10938 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10939 with explicit test name.
10940
15763a09
PA
109412017-10-20 Pedro Alves <palves@redhat.com>
10942
10943 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10944 'wait -i'. Use gdb_assert and remote_close.
10945
49a4ce2e
AB
109462017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10947
10948 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10949 number from variable rather than hard-coded.
10950
a75868f5
PA
109512017-10-19 Pedro Alves <palves@redhat.com>
10952
10953 * gdb.base/long-inferior-output.c: New file.
10954 * gdb.base/long-inferior-output.exp: New file.
10955
c8ba13ad
KS
109562017-11-18 Keith Seitz <keiths@redhat.com>
10957
10958 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10959 method.
10960 (main): Call it.
10961 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10962 Add additional user-defined conversion operator tests.
10963
b27de576
PA
109642017-10-17 Pedro Alves <palves@redhat.com>
10965
10966 * boards/native-stdio-gdbserver.exp: Load "local-board".
10967
8484c955
PA
109682017-10-17 Pedro Alves <palves@redhat.com>
10969
10970 * gdb.base/quit-live.c: New file.
10971 * gdb.base/quit-live.exp: New file.
10972
83d5a34d
KS
109732017-10-16 Keith Seitz <keiths@redhat.com>
10974
10975 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10976 (class_with_protected_typedef, class_with_private_typedef)
10977 (struct_with_public_typedef, struct_with_protected_typedef)
10978 (struct_with_private_typedef): New classes/structs.
10979 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10980 typedefs and access specifiers.
10981
739b3f1d
PA
109822017-10-16 Pedro Alves <palves@redhat.com>
10983 Simon Marchi <simon.marchi@polymtl.ca>
10984
10985 * README (Local vs Remote vs Native): New section.
10986 * boards/local-board.exp: New file, with bits factored out from
10987 ...
10988 * boards/native-extended-gdbserver.exp: ... here. Load
10989 "local-board".
10990 * boards/native-gdbserver.exp: Load "local-board".
10991 (${board}_spawn, ${board}_exec): Delete.
10992 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10993 ...
10994 * boards/stdio-gdbserver-base.exp: ... this new file.
10995 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10996 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10997 procedure.
10998 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10999 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11000 stdio_gdbserver_command.
11001 (${board}_get_remote_address, ${board}_get_comm_port)
11002 (${board}_download, ${board}_upload): Delete.
11003 (get_target_remote_pipe_cmd): New.
11004
fe68b953
SM
110052017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11006
11007 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11008 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11009 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11010 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11011 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11012 remove with_test_prefix.
11013
300b6685
PA
110142017-10-13 Pedro Alves <palves@redhat.com>
11015
11016 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11017 * gdb.base/annota1.exp: Use it instead of is_remote.
11018 * gdb.base/annota3.exp: Use it instead of is_remote.
11019 * gdb.cp/annota2.exp: Use it instead of is_remote.
11020 * gdb.cp/annota3.exp: Use it instead of is_remote.
11021 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11022
50500caf
PA
110232017-10-13 Pedro Alves <palves@redhat.com>
11024
11025 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11026 (test_num_test_vars, run_and_count_vars, find_env)
11027 (test_set_unset_env, test_inherit_env_var): New procedures.
11028 (top level): Use them.
11029
dad0c6d2
PA
110302017-10-13 Pedro Alves <palves@redhat.com>
11031
11032 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11033 also skip on stub-like targets.
11034
8b0553c1
PA
110352017-10-13 Pedro Alves <palves@redhat.com>
11036
11037 PR gdb/22293
11038 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11039 (top level): Move some tests to ...
11040 (test_not_found): ... this new procedure.
11041 (top level): Call it.
11042
7594f623
PA
110432017-10-13 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11046 expect different "info terminal" output if testing with a
11047 non-native target.
11048
ebe3b402
PA
110492017-10-13 Pedro Alves <palves@redhat.com>
11050 Simon Marchi <simon.marchi@polymtl.ca>
11051
11052 PR python/12966
11053 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11054
42f1b161
PA
110552017-10-13 Pedro Alves <palves@redhat.com>
11056
11057 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11058 already.
11059
8d6ef72b
PA
110602017-10-13 Pedro Alves <palves@redhat.com>
11061
11062 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11063 is_remote.
11064
d7bcd5b8
PA
110652017-10-13 Pedro Alves <palves@redhat.com>
11066
11067 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11068 is_remote.
11069
df479dc6
PA
110702017-10-13 Pedro Alves <palves@redhat.com>
11071
11072 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11073 is set.
11074 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11075 instead of is_remote.
11076
23fb630a
PA
110772017-10-13 Pedro Alves <palves@redhat.com>
11078
11079 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11080 (top level): Add comment.
11081
cc77b1dc
PA
110822017-10-13 Pedro Alves <palves@redhat.com>
11083
11084 * gdb.base/remote.exp (top level): Fix comment typo and add
11085 missing return.
11086
27c9e813
PA
110872017-10-13 Pedro Alves <palves@redhat.com>
11088 Simon Marchi <simon.marchi@polymtl.ca>
11089
11090 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11091 calls and add comments. Skip test if use_gdb_stub is set.
11092 (top level): Use "set cwd" command instead of "cd" command.
11093
5e830d98
PA
110942017-10-13 Pedro Alves <palves@redhat.com>
11095
11096 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11097 is_remote target check.
11098
f5ca0032
PA
110992017-10-13 Pedro Alves <palves@redhat.com>
11100
11101 * gdb.base/scope.exp: Use build_executable + clean_restart +
11102 gdb_file_cmd instead of prepare_for_testing and no longer skip
11103 "before run" tests on is_remote target boards. Update comments.
11104 * boards/native-extended-gdbserver.exp
11105 (extended_gdbserver_load_last_file): New, factored out from ...
11106 (gdb_load): ... this. Move further below and add comment.
11107 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11108
8aed1c0d
PA
111092017-10-12 Pedro Alves <palves@redhat.com>
11110
11111 * gdb.base/attach.exp: Remove references to gdb64.
11112 * gdb.base/dbx.exp: Remove references to gdb64.
11113
cfa34c87
SM
111142017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11115 Pedro Alves <palves@redhat.com>
11116
11117 * gdb.base/label.exp: Remove is_remote target check.
11118
9192b7de
PA
111192017-10-12 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.base/auvx.exp (coredir): Update comment.
11122 (top level) <core_works>: Use "set cwd" command instead of "cd"
11123 command.
11124
6bf0052d
PA
111252017-10-12 Pedro Alves <palves@redhat.com>
11126 Simon Marchi <simon.marchi@polymtl.ca>
11127
11128 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11129 target boards.
11130
e48ef82d
PA
111312017-10-12 Pedro Alves <palves@redhat.com>
11132 Simon Marchi <simon.marchi@polymtl.ca>
11133
11134 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11135 Instead skip if there's any gdb_protocol set.
11136
8d7aea57
SM
111372017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11138 Pedro Alves <palves@redhat.com>
11139
11140 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11141
30440677
PA
111422017-10-12 Pedro Alves <palves@redhat.com>
11143 Simon Marchi <simon.marchi@polymtl.ca>
11144
11145 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11146 instead of on dejagnu remote boards.
11147
4e04f045 111482017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11149 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11150
11151 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11152 checks. Use build_executable + clean_restart instead of
11153 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11154 of enabling non-stop after starting gdb.
11155
871a186e
PA
111562017-10-12 Pedro Alves <palves@redhat.com>
11157
11158 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11159 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11160 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11161 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11162
56d704da
AK
111632017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11164
11165 * gdb.arch/arc-tdesc-cpu.exp: New file.
11166 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11167
2f20e312
SM
111682017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11169
11170 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11171
65630365
PA
111722017-10-10 Pedro Alves <palves@redhat.com>
11173
11174 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11175 expect CLI output.
11176
bf469271
PA
111772017-10-10 Pedro Alves <palves@redhat.com>
11178
11179 * lib/selftest-support.exp (selftest_setup): Update for
11180 captured_command_loop's prototype change.
11181
777a42f1
PA
111822017-10-09 Pedro Alves <palves@redhat.com>
11183
11184 Test both arch1=>arch2 and arch2=>arch1.
11185
11186 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11187 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11188 factored out to...
11189 (append_arch1_options, append_arch2_options, append_arch_options)
11190 (build_executables): New procedures.
11191 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11192 local.
11193 (top level): Add new 'first_arch' testing axis.
11194
cbd2b4e3
PA
111952017-10-09 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11198 (barrier): New.
11199 (thread_start, all_started): New functions.
11200 (main): Spawn new thread and wait until it is scheduled.
11201 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11202 option.
11203 (do_test): Add 'selected_thread' parameter. Run to all_started
11204 instead of main. Explicitly set the breakpoint at main. Switch
11205 to the SELECTED_THREAD thread.
11206 (top level): Test handling the exec event with either the main
11207 thread or the second thread selected.
11208
5c9e4427
PA
112092017-10-09 Pedro Alves <palves@redhat.com>
11210
11211 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11212 logic. Move STOP marker after the value checks.
11213 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11214 regexp.
11215
b3b7c423
SL
112162017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11217
11218 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11219
3b4b2f16
UW
112202017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11221
11222 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11223 integer-to-dfp conversion.
11224 * gdb.base/dfp-test.exp: Likewise.
11225
5cd63fda
PA
112262017-10-04 Pedro Alves <palves@redhat.com>
11227
11228 * gdb.multi/hangout.c: Include <unistd.h>.
11229 (hangout_loop): New function.
11230 (main): Call alarm. Call hangout_loop in a loop.
11231 * gdb.multi/hello.c: Include <unistd.h>.
11232 (hello_loop): New function.
11233 (main): Call alarm. Call hangout_loop in a loop.
11234 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11235 inferior with the other selected.
11236
4c71c105
SM
112372017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11238
11239 * gdb.mi/list-thread-groups-available.exp: New file.
11240 * gdb.mi/list-thread-groups-available.c: New file.
11241
bc3b087d
SDJ
112422017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11243
11244 * gdb.base/set-cwd.exp: Make it available on
11245 native-extended-gdbserver.
11246
d092c5a2
SDJ
112472017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11248
11249 * gdb.base/set-cwd.c: New file.
11250 * gdb.base/set-cwd.exp: Likewise.
11251
45320ffa
TT
112522017-10-02 Tom Tromey <tom@tromey.com>
11253
11254 PR rust/22236:
11255 * gdb.rust/simple.rs (main): New variable "fslice".
11256 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11257
b3e3859b
TT
112582017-10-02 Tom Tromey <tom@tromey.com>
11259
11260 * gdb.rust/simple.exp: Test ptype of a slice.
11261
01af5e0d
TT
112622017-10-02 Tom Tromey <tom@tromey.com>
11263
11264 * gdb.rust/simple.exp: Test index of slice.
11265
a9bbfbd8
TT
112662017-09-27 Tom Tromey <tom@tromey.com>
11267
11268 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11269
df8899e5
TP
112702017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11271 Pedro Alves <palves@redhat.com>
11272
11273 * gdb.base/compare-sections.exp (get value of read-only section): Read
11274 as unsigned value.
11275 (corrupt read-only section): Likewise and don't set written if patching
11276 failed.
11277
757bf54b
KB
112782017-09-21 Kevin Buettner <kevinb@redhat.com>
11279
11280 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11281 files.
11282
06871ae8
PA
112832017-09-20 Pedro Alves <palves@redhat.com>
11284
11285 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11286 symbol names in gdb's output.
11287 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11288
e5f25bc5
PA
112892017-09-20 Pedro Alves <palves@redhat.com>
11290
11291 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11292 Rename to ...
11293 (test_list_ambiguous_symbol): ... this and add a symbol name
11294 parameter. Adjust.
11295 (test_list_ambiguous_function): Reimplement on top of
11296 test_list_ambiguous_symbol and also test listing ambiguous
11297 variables.
11298 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11299 (ambiguous_fun): ... this.
11300 (ambiguous_var): New.
11301 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11302 (ambiguous_fun): ... this.
11303 (ambiguous_var): New.
11304
4e5a4f58
JB
113052017-09-19 John Baldwin <jhb@FreeBSD.org>
11306
11307 * gdb.base/starti.c: New file.
11308 * gdb.base/starti.exp: New file.
11309 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11310
26e53f3e
PA
113112017-09-14 Pedro Alves <palves@redhat.com>
11312
11313 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11314 (top level): Use it instead of runto.
11315
cb791d59
TT
113162017-09-11 Tom Tromey <tom@tromey.com>
11317
11318 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11319
7c96f8c1
TT
113202017-09-11 Tom Tromey <tom@tromey.com>
11321
11322 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11323 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11324
469412dd
CW
113252017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11326
11327 * gdb.fortran/printing-types.exp: New file.
11328 * gdb.fortran/printing-types.exp: New file.
11329
e0f86435
BH
113302017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11331
11332 * gdb.fortran/vla-ptype.exp: Fix typos.
11333 * gdb.fortran/vla-value.exp: Same.
11334
9e9af4be
BH
113352017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11336
11337 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11338 * gdb.mi/mi-var-child-f.exp: Likewise.
11339 * gdb.mi/mi-vla-fortran.exp: Likewise.
11340
a5ad232b 113412017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11342 Christoph Weinmann <christoph.t.weinmann@intel.com>
11343 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11344
11345 * gdb.fortran/ptr-indentation.f90: New file.
11346 * gdb.fortran/ptr-indentation.exp: New file.
11347
5aec60eb
TT
113482017-09-05 Tom Tromey <tom@tromey.com>
11349
11350 PR gdb/22010:
11351 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11352
8f8f8152
TP
113532017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11354
11355 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11356
fbd1b771
JK
113572017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11358
11359 * gdb.threads/tls-nodebug-pie.c: New file.
11360 * gdb.threads/tls-nodebug-pie.exp: New file.
11361
5eb5f850
TT
113622017-09-05 Tom Tromey <tom@tromey.com>
11363
11364 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11365 for rust.
11366
ae780a21
SM
113672017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11368
11369 * gdb.multi/multi-arch-exec.exp: Test with different
11370 "follow-exec-mode" settings.
11371 (do_test): New procedure.
11372
3693fdb3
PA
113732017-09-04 Pedro Alves <palves@redhat.com>
11374
11375 * gdb.base/func-static.c (S::method const, S::method volatile)
11376 (S::method volatile const): New methods.
11377 (c_s, v_s, cv_s): New instances.
11378 (main): Call method() on them.
11379 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11380 (cannot_resolve): New procedure.
11381 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11382 print-quote-unquoted columns.
11383 (do_test): Test printing each scope too.
11384
e68cb8e0
PA
113852017-09-04 Pedro Alves <palves@redhat.com>
11386
11387 * gdb.base/local-static.exp: Also test with
11388 class::method::variable wholly quoted.
11389 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11390
858be34c
PA
113912017-09-04 Pedro Alves <palves@redhat.com>
11392
11393 * gdb.base/local-static.c: New.
11394 * gdb.base/local-static.cc: New.
11395 * gdb.base/local-static.exp: New.
11396
46a4882b
PA
113972017-09-04 Pedro Alves <palves@redhat.com>
11398
11399 * gdb.asm/asm-source.exp: Add casts to int.
11400 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11401 (dataglobal64_1, dataglobal64_2): New globals.
11402 * gdb.base/nodebug.exp: Test different expressions involving the
11403 new globals, with print, whatis and ptype. Add casts to int.
11404 * gdb.base/solib-display.exp: Add casts to int.
11405 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11406 * gdb.cp/m-static.exp: Add cast to int.
11407 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11408 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11409 tls variable with no debug info without a cast. Test with a cast
11410 to int too.
11411 * gdb.trace/entry-values.exp: Add casts.
11412
2c5a2be1
PA
114132017-09-04 Pedro Alves <palves@redhat.com>
11414
11415 * gdb.base/nodebug.exp: Test that ptype's error about functions
11416 with unknown return type includes the function name too.
11417
7022349d
PA
114182017-09-04 Pedro Alves <palves@redhat.com>
11419
11420 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11421 return type of munmap in infcall.
11422 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11423 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11424 type of ftell in infcall.
11425 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11426 type of getpid in infcall.
11427 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11428 infcall.
11429 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11430 Bail on failure to extract the pid.
11431 * gdb.base/nodebug.c: #include <stdint.h>.
11432 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11433 New functions.
11434 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11435 Change expected output of print/whatis/ptype with functions with
11436 no debug info. Test all supported languages. Call
11437 test_call_promotion.
11438 * gdb.compile/compile.exp: Adjust expected output to expect
11439 warning.
11440 * gdb.threads/siginfo-threads.exp: Likewise.
11441
54990598
PA
114422017-09-04 Pedro Alves <palves@redhat.com>
11443
11444 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11445 "prototypes". Test calling float functions via prototyped and
11446 unprototyped function pointers.
11447 (perform_all_tests): New parameter "prototypes". Pass it down.
11448 (top level): Pass down "prototypes" parameter to
11449 perform_all_tests.
11450
34d16ea2
SM
114512017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11452
11453 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11454 Test with nested loops.
11455
9521ecda
SM
114562017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11457
11458 * gdb.base/commands.exp: Call the new procedures.
11459 (loop_break_test, loop_continue_test): New procedures.
11460
80a65e9b
SM
114612017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11462
11463 * gdb.base/commands.exp: Call new procedure.
11464 (define_if_without_arg_test): New procedure.
11465
e439fa14
PA
114662017-09-04 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.base/list-ambiguous.exp: New file.
11469 * gdb.base/list-ambiguous0.c: New file.
11470 * gdb.base/list-ambiguous1.c: New file.
11471 * gdb.base/list.exp (test_list_range): Adjust expected output.
11472
0a2dde4a
SDJ
114732017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11474
11475 * gdb.base/share-env-with-gdbserver.c: New file.
11476 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11477
5e89eb3a
SM
114782017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11479
11480 * gdb.base/commands.exp (gdbvar_simple_if_test,
11481 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11482 progvar_simple_if_test, progvar_simple_while_test,
11483 progvar_complex_if_while_test, user_defined_command_test,
11484 user_defined_command_args_eval,
11485 user_defined_command_args_stack_test,
11486 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11487 temporary_breakpoint_commands,
11488 gdb_test_no_prompt, redefine_hook_test,
11489 redefine_backtrace_test): Remove "global gdb_prompt".
11490
fd437cbc
SM
114912017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11492
11493 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11494 New proc, call it from toplevel.
11495
87215ad1
SDJ
114962017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11497
11498 PR remote/21852
11499 * gdb.server/normal.c: New file, copied from gdb.base.
11500 * gdb.server/run-without-local-binary.exp: New file.
11501
58afddc6
WP
115022017-08-07 Weimin Pan <weimin.pan@oracle.com>
11503
11504 * gdb.arch/sparc64-adi.exp: New file.
11505 * gdb.arch/sparc64-adi.c: New file.
11506
5277199a
PA
115072017-08-22 Pedro Alves <palves@redhat.com>
11508
11509 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11510 (top level): Add "list all overloads" tests.
11511
14278e1f
TT
115122017-08-22 Tom Tromey <tom@tromey.com>
11513
11514 * gdb.gdb/xfullpath.exp: Remove.
11515
bf223d3e
PA
115162017-08-21 Pedro Alves <palves@redhat.com>
11517
11518 PR gdb/19487
11519 * gdb.base/symbol-alias.c: New.
11520 * gdb.base/symbol-alias2.c: New.
11521 * gdb.base/symbol-alias.exp: New.
11522
c973d0aa
PA
115232017-08-21 Pedro Alves <palves@redhat.com>
11524
11525 * gdb.base/dfp-test.c
11526 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11527 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11528 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11529 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11530 * gdb.base/whatis-ptype-typedefs.c: New.
11531 * gdb.base/whatis-ptype-typedefs.exp: New.
11532 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11533 (an_int, an_int_type, an_int_type2): New globals.
11534 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11535 involving typedefs and cast expressions.
11536 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11537 (lookup_typedefs_function): New.
11538 (typedefs_pretty_printers_dict): New.
11539 (top level): Register lookup_typedefs_function in
11540 gdb.pretty_printers.
11541
6d580b63
YQ
115422017-08-18 Yao Qi <yao.qi@linaro.org>
11543
11544 * gdb.server/unittest.exp: New.
11545
206726fb
SDJ
115462017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11547
11548 PR gdb/21954
11549 * gdb.base/environ.exp: Add test to check if 'unset environment'
11550 works.
11551
bf0ec4c2
AA
115522017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11553
11554 * lib/gdb.exp (universal_compile_options): New caching proc.
11555 (gdb_compile): Suppress GCC's coloring of messages.
11556
d6382fff
TT
115572017-08-14 Tom Tromey <tom@tromey.com>
11558
11559 PR gdb/21675:
11560 * gdb.base/printcmds.exp (test_radices): New function.
11561 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11562 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11563 * lib/gdb.exp (get_integer_valueof): Use p/d.
11564
c2c2dd9f
SM
115652017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11566
11567 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11568 characters.
11569
fdffd6f4
TT
115702017-08-05 Tom Tromey <tom@tromey.com>
11571
11572 * gdb.rust/simple.exp: Allow String to appear in a different
11573 namespace.
11574
27d41eac
YQ
115752017-07-26 Yao Qi <yao.qi@linaro.org>
11576
11577 * gdb.gdb/unittest.exp: Invoke command
11578 "maintenance check xml-descriptions".
11579
031ed05d
AA
115802017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11581
11582 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11583 calling context.
11584 (hex128): Drop erroneous calculation of parameters.
11585
dcd27ddf
SM
115862017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11587
11588 * gdb.python/py-unwind.exp: Disable stack protection when
11589 building test file.
11590
47e77640
PA
115912017-07-20 Pedro Alves <palves@redhat.com>
11592
11593 * gdb.base/default.exp (set language): Adjust expected output.
11594
62d2a18a
PA
115952017-07-20 Pedro Alves <palves@redhat.com>
11596
11597 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11598 (test_minsym): ... this, and make static.
11599 (get_pck__foo__bar__minsym): Rename to ...
11600 (get_test_minsym): ... this.
11601 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11602 symbol names and comments.
11603 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11604 (get_test_minsym): ... this.
11605 (pck__foo__bar__minsym__2): Rename to ...
11606 (test_minsym): ... this.
11607 (main): Adjust.
11608
c45ec17c
PA
116092017-07-17 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.base/completion.exp: Adjust expected output.
11612 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11613 the completer works.
11614
c6756f62
PA
116152017-07-17 Pedro Alves <palves@redhat.com>
11616
11617 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11618
5bd68487
AB
116192017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11620
11621 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11622
8880f2a9
TT
116232017-07-14 Tom Tromey <tom@tromey.com>
11624
11625 PR rust/21764:
11626 * gdb.rust/simple.exp: Add tests.
11627
65547233
TT
116282017-07-14 Tom Tromey <tom@tromey.com>
11629
11630 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11631
8f14146e
PA
116322017-07-14 Pedro Alves <palves@redhat.com>
11633
11634 * gdb.linespec/base/one/thefile.cc (z1): New function.
11635 * gdb.linespec/base/two/thefile.cc (z2): New function.
11636 * gdb.linespec/linespec.exp: Add tests.
11637
b4365d02
AB
116382017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11639
11640 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11641 to mi_create_breakpoint.
11642
5d2cbaa5
AB
116432017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11644
11645 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11646 mi_create_breakpoint.
11647
11cb5716
IB
116482017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11649
11650 * gdb.dlang/demangle.exp: Update for demangling changes.
11651
03278692
TT
116522017-07-09 Tom Tromey <tom@tromey.com>
11653
11654 * gdb.dwarf2/shortpiece.exp: New file.
11655
33c5cd75
DB
116562017-07-06 David Blaikie <dblaikie@gmail.com>
11657
11658 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11659 built from fissiont-multi-cu{1,2}.c.
11660 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11661 except putting 'main' and 'func' in separate CUs in the same DWO file.
11662 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11663 test.
11664 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11665 test.
11666
8455d262
PA
116672017-07-06 Pedro Alves <palves@redhat.com>
11668
11669 * gdb.python/py-unwind.exp: Test flushregs.
11670
dc4bde35
SDJ
116712017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11672
11673 PR cli/21688
11674 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11675 tests for alias commands and trailing whitespace.
11676
51ed89aa
SDJ
116772017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11678
11679 PR cli/21688
11680 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11681 procedure. Call it.
11682
eb17d413
PA
116832017-06-29 Pedro Alves <palves@redhat.com>
11684
11685 * gdb.base/printcmds.exp: Add tests.
11686
41664b45
DG
116872017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11688
11689 PR gdb/21337
11690 * gdb.base/reread-readsym.exp: New file.
11691 * gdb.base/reread-readsym.c: New file.
11692
75312ae3
KB
116932017-06-21 Kevin Buettner <kevinb@redhat.com>
11694
11695 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11696 subpattern.
11697
66953522
PB
116982017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11699
11700 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11701 extended mnemonic.
11702 * gdb.arch/powerpc-power9.s: Likewise.
11703
5524b525
AA
117042017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11705
11706 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11707 on 32-bit x86 targets. Exploit is_*_target macros where
11708 appropriate.
11709
03c8af18
AA
117102017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11711
11712 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11713 register pieces.
11714
3bf31011
AA
117152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11716
11717 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11718 located in one or more DWARF pieces.
11719
805acca0
AA
117202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11721
11722 * lib/gdb.exp (get_endianness): New proc.
11723 * gdb.arch/aarch64-fp.exp: Use it.
11724 * gdb.arch/altivec-regs.exp: Likewise.
11725 * gdb.arch/e500-regs.exp: Likewise.
11726 * gdb.arch/vsx-regs.exp: Likewise.
11727 * gdb.base/dump.exp: Likewise.
11728 * gdb.base/funcargs.exp: Likewise.
11729 * gdb.base/gnu_vector.exp: Likewise.
11730 * gdb.dwarf2/formdata16.exp: Likewise.
11731 * gdb.dwarf2/implptrpiece.exp: Likewise.
11732 * gdb.dwarf2/nonvar-access.exp: Likewise.
11733 * gdb.python/py-inferior.exp: Likewise.
11734 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11735
e9352324
AA
117362017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11737
11738 PR gdb/21226
11739 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11740 stack value pieces are taken from the LSB end.
11741
d5d1163e
AA
117422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11743
11744 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11745 variable at nonzero offset.
11746
0567c986
AA
117472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11748
11749 * gdb.dwarf2/var-access.c: New file.
11750 * gdb.dwarf2/var-access.exp: New test.
11751 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11752
973e9aab
TT
117532017-06-12 Tom Tromey <tom@tromey.com>
11754
11755 * gdb.dwarf2/formdata16.exp: Add tests.
11756
d9109c80
TT
117572017-06-12 Tom Tromey <tom@tromey.com>
11758
11759 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11760
30a25466
TT
117612017-06-12 Tom Tromey <tom@tromey.com>
11762
11763 PR exp/16225:
11764 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11765 * gdb.arch/vsx-regs.exp: Update tests.
11766 * gdb.arch/s390-vregs.exp (hex128): New proc.
11767 Update test.
11768 * gdb.arch/altivec-regs.exp: Update tests.
11769
aefd8b33
SDJ
117702017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11771
11772 * gdb.base/startup-with-shell.c: New file.
11773 * gdb.base/startup-with-shell.exp: Likewise.
11774
2090129c
SDJ
117752017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11776
11777 * gdb.server/non-existing-program.exp: Update regex in order to
11778 reflect the fact that gdbserver is now using fork_inferior (with a
11779 shell) to startup the inferior.
11780
8e86a419
SM
117812017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11782
11783 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11784 support function calls from GDB.
11785
e6cf65f2
TT
117862017-05-21 Tom Tromey <tom@tromey.com>
11787
11788 PR rust/21466:
11789 * gdb.rust/unsized.exp: New file.
11790 * gdb.rust/unsized.rs: New file.
11791
43cc5389
TT
117922017-05-19 Tom Tromey <tom@tromey.com>
11793
11794 PR rust/21484:
11795 * gdb.rust/watch.exp: New file.
11796 * gdb.rust/watch.rs: New file.
11797
ec8df234
TT
117982017-05-18 Tom Tromey <tom@tromey.com>
11799
11800 * gdb.rust/simple.exp: Allow Box to be qualified.
11801
3e3e7fae
TP
118022017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11803
11804 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11805
59cc050d
PA
118062017-05-18 Pedro Alves <palves@redhat.com>
11807
11808 * gdb.base/fileio.c (test_write, test_read, test_close)
11809 (test_fstat): Don't print 'ret' in the fail path.
11810
c8f6abd1
PA
118112017-05-18 Pedro Alves <palves@redhat.com>
11812
11813 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11814 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11815 (test_system, test_rename, test_unlink, test_time): Change
11816 prototypes.
11817 * gdb.base/fileio.exp (stop_msg): Adjust.
11818
d2a03b77
PA
118192017-05-18 Pedro Alves <palves@redhat.com>
11820
11821 * gdb.base/fileio.c (null_str): New global.
11822 (test_stat): Use it.
11823 * gdb.base/fileio.exp: Remove nowarnings.
11824
0d5c6999
YQ
118252017-05-17 Yao Qi <yao.qi@linaro.org>
11826
11827 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11828
21873064
YQ
118292017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11830
11831 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11832 argument command.
11833 (top-level): Invoke test_set_inferior_tty.
11834
d512d31c
PA
118352017-05-04 Pedro Alves <palves@redhat.com>
11836
11837 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11838 Add parens to print call for Python 3.
11839
90cef2ed
KS
118402017-05-03 Keith Seitz <keiths@redhat.com>
11841
11842 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11843 (main): Call it.
11844
14f819c8
TW
118452017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11846
11847 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11848 to prev and next.
11849
913aeadd
TW
118502017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11851
11852 * gdb.python/py-record-btrace.exp: Remove test for
11853 gdb.BtraceInstruction.error.
11854
a3be24ad
TW
118552017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11856
11857 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11858
ae20e79a
TW
118592017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11860
11861 * gdb.python/py-record-btrace-threads.c: New file.
11862 * gdb.python/py-record-btrace-threads.exp: New file.
11863
45ce1b47
SDJ
118642017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11865
11866 PR testsuite/8595
11867 * gdb.base/environ.exp: Make test available in all architectures.
11868 Move bits related to "info program" testing to
11869 gdb.base/info-program.exp. Rewrite tests to use the two new
11870 procedures mentione below.
11871 (test_set_show_env_var) New procedure.
11872 (test_set_show_env_var_equal): Likewise.
11873 * gdb.base/info-program.exp: New file.
11874
e15c3eb4
KS
118752017-04-27 Keith Seitz <keiths@redhat.com>
11876
11877 * gdb.cp/oranking.cc (test15): New function.
11878 (main): Call test15 and declare additional variables for testing.
11879 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11880 "p foo101('abc')" tests.
11881 Add tests for cv qualifier overloads.
11882 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11883 "lvalue reference overload" test.
11884 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11885 "print value of f1 on Child&& in f2" test.
11886
3a3fd0fd
PA
118872017-04-19 Pedro Alves <palves@redhat.com>
11888
11889 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11890 procedure.
11891 (top level): Call it.
11892 * lib/gdb.exp (gdb_define_cmd): New procedure.
11893
53375380
PA
118942017-04-12 Pedro Alves <palves@redhat.com>
11895
11896 PR gdb/21323
11897 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11898 (wchar): New global.
11899 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11900 (do_test_wide_char, wide_char_types_no_program, top level): Add
11901 wchar_t testing.
11902
53e710ac
PA
119032017-04-12 Pedro Alves <palves@redhat.com>
11904
11905 PR c++/21323
11906 * gdb.cp/wide_char_types.c: New file.
11907 * gdb.cp/wide_char_types.exp: New file.
11908
0ad9d8c7
SDJ
119092017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11910
11911 PR gdb/21352
11912 * gdb.trace/tsv.exp: Add test for "tsave -r".
11913
b1b45502
IB
119142017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11915
11916 * gdb.dlang/watch-loc.c: New file.
11917 * gdb.dlang/watch-loc.exp: New file.
11918
ec13808e
JK
119192017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11920
11921 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11922
fe5f7374
AK
119232017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11924
11925 * gdb.arch/arc-analyze-prologue.S: New file.
11926 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11927
eea78757
AK
119282017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11929
11930 * gdb.arch/arc-decode-insn.S: New file.
11931 * gdb.arch/arc-decode-insn.exp: Likewise.
11932
5badf10a
IR
119332017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11934
11935 PR tdep/20928
11936 * gdb.arch/sparc64-regs.exp: New file.
11937 * gdb.arch/sparc64-regs.S: Likewise.
11938
cee59b3f
TW
119392017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11940
11941 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11942 and memory view on Python 3.
11943
c0f55cc6
AV
119442017-03-20 Artemiy Volkov <artemiyv@acm.org>
11945 Keith Seitz <keiths@redhat.com>
11946
11947 PR gdb/14441
11948 * gdb.cp/demangle.exp: Add rvalue reference tests.
11949 * gdb.cp/rvalue-ref-casts.cc: New file.
11950 * gdb.cp/rvalue-ref-casts.exp: New file.
11951 * gdb.cp/rvalue-ref-overload.cc: New file.
11952 * gdb.cp/rvalue-ref-overload.exp: New file.
11953 * gdb.cp/rvalue-ref-params.cc: New file.
11954 * gdb.cp/rvalue-ref-params.exp: New file.
11955 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11956 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11957 * gdb.cp/rvalue-ref-types.cc: New file.
11958 * gdb.cp/rvalue-ref-types.exp: New file.
11959 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11960 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11961
51457a05
MAL
119622017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11963
11964 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11965 New procedure.
11966
5b291c04
MAL
119672017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11968
11969 * lib/mi-support.exp (mi_gdb_test): Add additional message
11970 for unexpected output.
11971
59a56148
AA
119722017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11973
11974 * gdb.base/examine-backward.c (Barrier): New character array
11975 constant, to ensure that TestStrings is preceded by a string
11976 terminator.
11977
7942e96e
AA
119782017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11979
11980 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11981 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11982 and implicit pointer into such a location.
11983
6ebac3fb
DE
119842017-03-16 Doug Evans <dje@google.com>
11985
11986 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11987
ec3b243d
TP
119882017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11989
11990 * gdb.cp/m-static.exp: Fix expectation for prototype of
11991 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11992
119932017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11994
11995 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11996 * gdb.guile/scm-lazy-string.c: New file.
11997 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11998 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11999 for pointer, array, typedef lazy strings.
12000
2cc36e25 120012017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12002
12003 PR python/17728, python/18439, python/18779
12004 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12005 * gdb.python/py-lazy-string.c (pointer): New typedef.
12006 (main): New locals ptr, array, typedef_ptr.
12007 * gdb.python/py-value.exp: Move lazy string tests to ...
12008 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12009 array, typedef lazy strings.
ec3b243d 12010
0efcde63
AK
120112017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12012
12013 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12014 Add optional 'test' parameter.
12015
7978d7c3
SM
120162017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12017
12018 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12019 Skip for versions of DejaGnu < 1.5.
12020
896c0c1e
SM
120212017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12022
12023 * lib/gdb.exp (dejagnu_version): New proc.
12024 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12025 Use dejagnu_version.
12026
5f4d1085
KS
120272017-03-10 Keith Seitz <keiths@redhat.com>
12028
12029 PR c++/8128
12030 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12031 type from destructor regexps.
12032 Add a branch which actually passes the test.
12033 Adjust "ptype t5i" test names.
12034
1de05205
PA
120352017-03-08 Pedro Alves <palves@redhat.com>
12036
12037 * gdb.base/step-over-exit.exp: Add explicit test message.
12038
c65d6b55
PA
120392017-03-08 Pedro Alves <palves@redhat.com>
12040
12041 PR gdb/18360
12042 * gdb.threads/interrupt-while-step-over.c: New file.
12043 * gdb.threads/interrupt-while-step-over.exp: New file.
12044
2e86a283
PA
120452017-03-08 Pedro Alves <palves@redhat.com>
12046
12047 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12048 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12049
25dcbff6
PA
120502017-03-08 Pedro Alves <palves@redhat.com>
12051
12052 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12053 PKRU as not supported as a PASS.
12054
dc9366eb
PA
120552017-03-08 Pedro Alves <palves@redhat.com>
12056
12057 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12058 prefix instead of $binfile1/$binfile2.
12059 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12060 in test message.
12061 * gdb.python/py-completion.exp: Use "load python file" as test
12062 messages instead of unstable path names.
12063
6e5d74e7
PA
120642017-03-08 Pedro Alves <palves@redhat.com>
12065 Jan Kratochvil <jan.kratochvil@redhat.com>
12066
12067 PR cli/21218
12068 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12069 New proc.
12070 (top level): Call it.
12071
9753a2f6
PA
120722017-03-08 Pedro Alves <palves@redhat.com>
12073
12074 PR tui/21216
12075 * gdb.tui/tui-nl-filtered-output.exp: New file.
12076
1a4dd9dd
PA
120772017-03-08 Pedro Alves <palves@redhat.com>
12078
12079 * gdb.base/completion.exp: Move TUI completion tests to ...
12080 * gdb.tui/completion.exp: ... this new file.
12081
7cbbff33
PA
120822017-03-08 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.base/tui-disasm-long-lines.c,
12085 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12086 gdb.base/tui-layout.exp: Move to ...
12087 * gdb.tui/: ... this new directory.
12088
5f6fd321
PA
120892017-03-07 Pedro Alves <palves@redhat.com>
12090
12091 * gdb.base/tui-layout.c: New file.
12092 * gdb.base/tui-layout.exp: New file.
12093
44959fa8
PA
120942017-03-07 Pedro Alves <palves@redhat.com>
12095
12096 * gdb.base/tui-layout.c: Rename to ...
12097 * gdb.base/tui-disasm-long-lines.c: ... this.
12098 * gdb.base/tui-layout.exp: Rename to ...
12099 * gdb.base/tui-disasm-long-lines.exp: ... this.
12100
f8c4e718
PA
121012017-03-07 Pedro Alves <palves@redhat.com>
12102
12103 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12104
6dbb839a 121052017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12106
12107 * i386-mpx-call.c: New file.
12108 * i386-mpx-call.exp: New file.
12109
65b48a81
PB
121102017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12111
12112 * gdb.arch/powerpc-power.exp: Delete test.
12113 * gdb.arch/powerpc-power.s: Likewise.
12114 * gdb.disasm/disassembler-options.exp: New test.
12115 * gdb.arch/powerpc-altivec.exp: Likewise.
12116 * gdb.arch/powerpc-altivec.s: Likewise.
12117 * gdb.arch/powerpc-altivec2.exp: Likewise.
12118 * gdb.arch/powerpc-altivec2.s: Likewise.
12119 * gdb.arch/powerpc-altivec3.exp: Likewise.
12120 * gdb.arch/powerpc-altivec3.s: Likewise.
12121 * gdb.arch/powerpc-power7.exp: Likewise.
12122 * gdb.arch/powerpc-power7.s: Likewise.
12123 * gdb.arch/powerpc-power8.exp: Likewise.
12124 * gdb.arch/powerpc-power8.s: Likewise.
12125 * gdb.arch/powerpc-power9.exp: Likewise.
12126 * gdb.arch/powerpc-power9.s: Likewise.
12127 * gdb.arch/powerpc-vsx.exp: Likewise.
12128 * gdb.arch/powerpc-vsx.s: Likewise.
12129 * gdb.arch/powerpc-vsx2.exp: Likewise.
12130 * gdb.arch/powerpc-vsx2.s: Likewise.
12131 * gdb.arch/powerpc-vsx3.exp: Likewise.
12132 * gdb.arch/powerpc-vsx3.s: Likewise.
12133 * gdb.arch/arm-disassembler-options.exp: Likewise.
12134 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12135 * gdb.arch/s390-disassembler-options.exp: Likewise.
12136
17cd4947
LM
121372017-02-23 Luis Machado <lgustavo@codesourcery.com>
12138
12139 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12140 (check_supported_features): ... this. Changed return type to void.
12141 (supports_rdseed): New static global.
12142 (rdseed): Check supports_rdseed.
12143 (initialize): Call check_supported_features.
12144
2039d74e
EBM
121452017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12146
12147 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12148 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12149 and lqarx/stqcx.
12150 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12151 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12152
a51d7ecf
EBM
121532017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12154
12155 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12156 uppercase.
12157
0224619f
JK
121582017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12159
12160 * gdb.dwarf2/formdata16.c: New file.
12161 * gdb.dwarf2/formdata16.exp: New file.
12162 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12163
216f72a1
JK
121642017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12165
12166 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12167 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12168 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12169 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12170 DW_AT_GNU_*.
12171
43988095
JK
121722017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12173
12174 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12175
99e8a4f9
SDJ
121762017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12177
12178 PR gdb/21164
12179 * gdb.base/maint.exp: Add testcases for when the commands do
12180 not have arguments.
12181
b58a8c0c
TP
121822017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12183
12184 * gdb.cp/chained-calls.exp: Use p instead of P.
12185
4e746bb6
TW
121862017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12187
12188 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12189 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12190
3f77c769
TT
121912017-02-14 Tom Tromey <tom@tromey.com>
12192
12193 PR python/13598:
12194 * gdb.python/py-events.exp: Add before_prompt event tests.
12195
075beec0
AA
121962017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12197
12198 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12199
bf5f525c
LM
122002017-02-13 Luis Machado <lgustavo@codesourcery.com>
12201
12202 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12203 (main): Call my_unique_function_name.
12204 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12205 completion of patterns with a single match.
12206 Add missing -re switches to gdb_test_multiple calls.
12207
13a66184
LM
122082017-02-13 Luis Machado <lgustavo@codesourcery.com>
12209
12210 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12211 return if core file is not recognized.
12212
26a06916
SM
122132017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12214
12215 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12216 and extra UIs.
12217
b761ca9e
SM
122182017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12219
12220 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12221 proc_with_prefix.
12222
b964bee0
TT
122232017-02-10 Tom Tromey <tom@tromey.com>
12224
12225 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12226
18da0c51
MG
122272017-02-10 Martin Galvan <martingalvan@sourceware.org>
12228
12229 PR gdb/21122
12230 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12231
604c4576
JG
122322017-02-08 Jerome Guitton <guitton@adacore.com>
12233
12234 * gdb.base/define.exp: Add test for command abbreviations
12235 in define.
12236
20b477a7
LM
122372017-02-06 Luis Machado <lgustavo@codesourcery.com>
12238
12239 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12240 * gdb.reverse/insn-reverse-x86.c: New file.
12241
3f7b46f2
IR
122422017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12243
12244 PR tdep/20936
12245 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12246
f0fd41c1
TT
122472017-02-03 Tom Tromey <tom@tromey.com>
12248
12249 PR rust/21097:
12250 * gdb.rust/simple.exp: Add new tests.
12251
5be5dbf0
PA
122522017-02-02 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12255 tests.
12256
7346ef59
AA
122572017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12258
12259 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12260 taking a 2-byte value out of a 4-byte DWARF implicit value on
12261 big-endian targets.
12262 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12263 logic. Add test cases for DW_OP_implicit.
12264
787f0025
MM
122652017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12266
12267 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12268
68777c29
MM
122692017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12270
12271 * gdb.btrace/enable.exp: Call gdb_exit before
12272 skip_gdbserver_tests.
12273
0a1c7e28
MM
122742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12275
12276 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12277 GDBFLAGS.
12278
b5ac99b0
MM
122792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12280
12281 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12282 the test is skipped.
12283 * gdb.btrace/data.exp: Likewise.
12284 * gdb.btrace/delta.exp: Likewise.
12285 * gdb.btrace/dlopen.exp: Likewise.
12286 * gdb.btrace/enable-running.exp: Likewise.
12287 * gdb.btrace/enable.exp: Likewise.
12288 * gdb.btrace/exception.exp: Likewise.
12289 * gdb.btrace/function_call_history.exp: Likewise.
12290 * gdb.btrace/gcore.exp: Likewise.
12291 * gdb.btrace/instruction_history.exp: Likewise.
12292 * gdb.btrace/multi-thread-step.exp: Likewise.
12293 * gdb.btrace/nohist.exp: Likewise.
12294 * gdb.btrace/non-stop.exp: Likewise.
12295 * gdb.btrace/reconnect.exp: Likewise.
12296 * gdb.btrace/record_goto-step.exp: Likewise.
12297 * gdb.btrace/record_goto.exp: Likewise.
12298 * gdb.btrace/rn-dl-bind.exp: Likewise.
12299 * gdb.btrace/segv.exp: Likewise.
12300 * gdb.btrace/step.exp: Likewise.
12301 * gdb.btrace/stepi.exp: Likewise.
12302 * gdb.btrace/tailcall-only.exp: Likewise.
12303 * gdb.btrace/tailcall.exp: Likewise.
12304 * gdb.btrace/tsx.exp: Likewise.
12305 * gdb.btrace/unknown_functions.exp: Likewise.
12306 * gdb.btrace/vdso.exp: Likewise.
12307
cd4007e4
MM
123082017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12309
12310 * gdb.btrace/enable-running.c: New.
12311 * gdb.btrace/enable-running.exp: New.
12312
2735833d
WT
123132017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12314
12315 * gdb.arch/amd64-gs_base.c: New file.
12316 * gdb.arch/amd64-gs_base.exp: New file.
12317
b51e1e94
LM
123182017-01-26 Luis Machado <lgustavo@codesourcery.com>
12319
12320 * lib/memory.exp: Remove spurious empty newlines.
12321
72ca0410
SM
123222017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12323
12324 * gdb.python/py-bad-printers.exp: Load python file using "source".
12325 * gdb.python/py-events.exp: Likewise.
12326 * gdb.python/py-evsignal.exp: Likewise.
12327 * gdb.python/py-evthreads.exp: Likewise.
12328 * gdb.python/py-frame-args.exp: Likewise.
12329 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12330 * gdb.python/py-framefilter-mi.exp: Likewise.
12331 * gdb.python/py-framefilter.exp: Likewise.
12332 * gdb.python/py-mi.exp: Likewise.
12333 * gdb.python/py-pp-maint.exp: Likewise.
12334 * gdb.python/py-pp-registration.exp: Likewise.
12335 * gdb.python/py-prettyprint.exp: Likewise.
12336 (run_lang_tests): Likewise.
12337 * gdb.python/py-typeprint.exp: Likewise.
12338
e309aa65
LM
123392017-01-26 Luis Machado <lgustavo@codesourcery.com>
12340
12341 * lib/memory.exp: New file.
12342 * lib/gdb.exp: Load memory.exp.
12343 * gdb.base/memattr.exp (delete_memory): Move proc to
12344 lib/memory.exp and rename to delete_memory_regions.
12345 Replace delete_memory with delete_memory_regions.
12346 Cleanup memory regions before tests.
12347 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12348 before tests.
12349
515aff23
LM
123502017-01-26 Luis Machado <lgustavo@codesourcery.com>
12351
12352 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12353 files.
12354 (initialize): New function conditionally defined.
12355 (testcases): Move within conditional block.
12356 (main): Call initialize.
12357 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12358 of gdb.reverse/insn-reverse.c.
12359 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12360 gdb.reverse/insn-reverse.c.
12361
d8b49cf0
YQ
123622017-01-26 Yao Qi <yao.qi@linaro.org>
12363
12364 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12365 disassemble on address 0.
12366
f13a9a0c
YQ
123672017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12368 Yao Qi <yao.qi@linaro.org>
12369
12370 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12371 * gdb.dwarf2/implptr-64bit.S: Remove.
12372 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12373 variables in caller's context. Add DW_OP_implicit_value.
12374
5ac95241
YQ
123752017-01-25 Yao Qi <yao.qi@linaro.org>
12376
12377 * lib/dwarf.exp (Dwarf::_location): Handle
12378 DW_OP_GNU_implicit_pointer with proper size.
12379
23e82930
LM
123802017-01-20 Luis Machado <lgustavo@codesourcery.com>
12381
12382 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12383 and add untested calls.
12384
d334ae25
LM
123852017-01-20 Luis Machado <lgustavo@codesourcery.com>
12386
12387 * gdb.python/python.exp: Check line number against what GDB thinks
12388 the line number is for func1.
12389
f5e6296e
IB
123902017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12391
12392 * gdb.dlang/debug-expr.exp: New file.
12393
5b362f04
LM
123942016-12-23 Luis Machado <lgustavo@codesourcery.com>
12395
12396 Fix test names for the following files:
12397
12398 * gdb.ada/exec_changed.exp
12399 * gdb.ada/info_types.exp
12400 * gdb.arch/aarch64-atomic-inst.exp
12401 * gdb.arch/aarch64-fp.exp
12402 * gdb.arch/altivec-abi.exp
12403 * gdb.arch/altivec-regs.exp
12404 * gdb.arch/amd64-byte.exp
12405 * gdb.arch/amd64-disp-step.exp
12406 * gdb.arch/amd64-dword.exp
12407 * gdb.arch/amd64-entry-value-inline.exp
12408 * gdb.arch/amd64-entry-value-param.exp
12409 * gdb.arch/amd64-entry-value-paramref.exp
12410 * gdb.arch/amd64-entry-value.exp
12411 * gdb.arch/amd64-i386-address.exp
12412 * gdb.arch/amd64-invalid-stack-middle.exp
12413 * gdb.arch/amd64-invalid-stack-top.exp
12414 * gdb.arch/amd64-optimout-repeat.exp
12415 * gdb.arch/amd64-prologue-skip.exp
12416 * gdb.arch/amd64-prologue-xmm.exp
12417 * gdb.arch/amd64-stap-special-operands.exp
12418 * gdb.arch/amd64-stap-wrong-subexp.exp
12419 * gdb.arch/amd64-tailcall-cxx.exp
12420 * gdb.arch/amd64-tailcall-noret.exp
12421 * gdb.arch/amd64-tailcall-ret.exp
12422 * gdb.arch/amd64-tailcall-self.exp
12423 * gdb.arch/amd64-word.exp
12424 * gdb.arch/arm-bl-branch-dest.exp
12425 * gdb.arch/arm-disp-step.exp
12426 * gdb.arch/arm-neon.exp
12427 * gdb.arch/arm-single-step-kernel-helper.exp
12428 * gdb.arch/avr-flash-qualifier.exp
12429 * gdb.arch/disp-step-insn-reloc.exp
12430 * gdb.arch/e500-abi.exp
12431 * gdb.arch/e500-regs.exp
12432 * gdb.arch/ftrace-insn-reloc.exp
12433 * gdb.arch/i386-avx512.exp
12434 * gdb.arch/i386-bp_permanent.exp
12435 * gdb.arch/i386-byte.exp
12436 * gdb.arch/i386-cfi-notcurrent.exp
12437 * gdb.arch/i386-disp-step.exp
12438 * gdb.arch/i386-dr3-watch.exp
12439 * gdb.arch/i386-float.exp
12440 * gdb.arch/i386-gnu-cfi.exp
12441 * gdb.arch/i386-mpx-map.exp
12442 * gdb.arch/i386-mpx-sigsegv.exp
12443 * gdb.arch/i386-mpx-simple_segv.exp
12444 * gdb.arch/i386-mpx.exp
12445 * gdb.arch/i386-permbkpt.exp
12446 * gdb.arch/i386-prologue.exp
12447 * gdb.arch/i386-signal.exp
12448 * gdb.arch/i386-size-overlap.exp
12449 * gdb.arch/i386-unwind.exp
12450 * gdb.arch/i386-word.exp
12451 * gdb.arch/mips-fcr.exp
12452 * gdb.arch/powerpc-d128-regs.exp
12453 * gdb.arch/powerpc-stackless.exp
12454 * gdb.arch/ppc64-atomic-inst.exp
12455 * gdb.arch/s390-stackless.exp
12456 * gdb.arch/s390-tdbregs.exp
12457 * gdb.arch/s390-vregs.exp
12458 * gdb.arch/sparc-sysstep.exp
12459 * gdb.arch/thumb-bx-pc.exp
12460 * gdb.arch/thumb-singlestep.exp
12461 * gdb.arch/thumb2-it.exp
12462 * gdb.arch/vsx-regs.exp
12463 * gdb.asm/asm-source.exp
12464 * gdb.base/a2-run.exp
12465 * gdb.base/advance.exp
12466 * gdb.base/all-bin.exp
12467 * gdb.base/anon.exp
12468 * gdb.base/args.exp
12469 * gdb.base/arithmet.exp
12470 * gdb.base/async-shell.exp
12471 * gdb.base/async.exp
12472 * gdb.base/attach-pie-noexec.exp
12473 * gdb.base/attach-twice.exp
12474 * gdb.base/auto-load.exp
12475 * gdb.base/bang.exp
12476 * gdb.base/bitfields.exp
12477 * gdb.base/break-always.exp
12478 * gdb.base/break-caller-line.exp
12479 * gdb.base/break-entry.exp
12480 * gdb.base/break-inline.exp
12481 * gdb.base/break-on-linker-gcd-function.exp
12482 * gdb.base/break-probes.exp
12483 * gdb.base/break.exp
12484 * gdb.base/breakpoint-shadow.exp
12485 * gdb.base/call-ar-st.exp
12486 * gdb.base/call-sc.exp
12487 * gdb.base/call-signal-resume.exp
12488 * gdb.base/call-strs.exp
12489 * gdb.base/callfuncs.exp
12490 * gdb.base/catch-fork-static.exp
12491 * gdb.base/catch-gdb-caused-signals.exp
12492 * gdb.base/catch-load.exp
12493 * gdb.base/catch-signal-fork.exp
12494 * gdb.base/catch-signal.exp
12495 * gdb.base/catch-syscall.exp
12496 * gdb.base/charset.exp
12497 * gdb.base/checkpoint.exp
12498 * gdb.base/chng-syms.exp
12499 * gdb.base/code-expr.exp
12500 * gdb.base/code_elim.exp
12501 * gdb.base/commands.exp
12502 * gdb.base/completion.exp
12503 * gdb.base/complex.exp
12504 * gdb.base/cond-expr.exp
12505 * gdb.base/condbreak.exp
12506 * gdb.base/consecutive.exp
12507 * gdb.base/continue-all-already-running.exp
12508 * gdb.base/coredump-filter.exp
12509 * gdb.base/corefile.exp
12510 * gdb.base/dbx.exp
12511 * gdb.base/debug-expr.exp
12512 * gdb.base/define.exp
12513 * gdb.base/del.exp
12514 * gdb.base/disabled-location.exp
12515 * gdb.base/disasm-end-cu.exp
12516 * gdb.base/disasm-optim.exp
12517 * gdb.base/display.exp
12518 * gdb.base/duplicate-bp.exp
12519 * gdb.base/ena-dis-br.exp
12520 * gdb.base/ending-run.exp
12521 * gdb.base/enumval.exp
12522 * gdb.base/environ.exp
12523 * gdb.base/eu-strip-infcall.exp
12524 * gdb.base/eval-avoid-side-effects.exp
12525 * gdb.base/eval-skip.exp
12526 * gdb.base/exitsignal.exp
12527 * gdb.base/expand-psymtabs.exp
12528 * gdb.base/filesym.exp
12529 * gdb.base/find-unmapped.exp
12530 * gdb.base/finish.exp
12531 * gdb.base/float.exp
12532 * gdb.base/foll-exec-mode.exp
12533 * gdb.base/foll-exec.exp
12534 * gdb.base/foll-fork.exp
12535 * gdb.base/fortran-sym-case.exp
12536 * gdb.base/freebpcmd.exp
12537 * gdb.base/func-ptr.exp
12538 * gdb.base/func-ptrs.exp
12539 * gdb.base/funcargs.exp
12540 * gdb.base/gcore-buffer-overflow.exp
12541 * gdb.base/gcore-relro-pie.exp
12542 * gdb.base/gcore-relro.exp
12543 * gdb.base/gcore.exp
12544 * gdb.base/gdb1090.exp
12545 * gdb.base/gdb11530.exp
12546 * gdb.base/gdb11531.exp
12547 * gdb.base/gdb1821.exp
12548 * gdb.base/gdbindex-stabs.exp
12549 * gdb.base/gdbvars.exp
12550 * gdb.base/hbreak.exp
12551 * gdb.base/hbreak2.exp
12552 * gdb.base/included.exp
12553 * gdb.base/infcall-input.exp
12554 * gdb.base/inferior-died.exp
12555 * gdb.base/infnan.exp
12556 * gdb.base/info-macros.exp
12557 * gdb.base/info-os.exp
12558 * gdb.base/info-proc.exp
12559 * gdb.base/info-shared.exp
12560 * gdb.base/info-target.exp
12561 * gdb.base/infoline.exp
12562 * gdb.base/interp.exp
12563 * gdb.base/interrupt.exp
12564 * gdb.base/jit-reader.exp
12565 * gdb.base/jit-simple.exp
12566 * gdb.base/kill-after-signal.exp
12567 * gdb.base/kill-detach-inferiors-cmd.exp
12568 * gdb.base/label.exp
12569 * gdb.base/langs.exp
12570 * gdb.base/ldbl_e308.exp
12571 * gdb.base/line-symtabs.exp
12572 * gdb.base/linespecs.exp
12573 * gdb.base/list.exp
12574 * gdb.base/long_long.exp
12575 * gdb.base/longest-types.exp
12576 * gdb.base/maint.exp
12577 * gdb.base/max-value-size.exp
12578 * gdb.base/memattr.exp
12579 * gdb.base/mips_pro.exp
12580 * gdb.base/morestack.exp
12581 * gdb.base/moribund-step.exp
12582 * gdb.base/multi-forks.exp
12583 * gdb.base/nested-addr.exp
12584 * gdb.base/nextoverexit.exp
12585 * gdb.base/noreturn-finish.exp
12586 * gdb.base/noreturn-return.exp
12587 * gdb.base/nostdlib.exp
12588 * gdb.base/offsets.exp
12589 * gdb.base/opaque.exp
12590 * gdb.base/pc-fp.exp
12591 * gdb.base/permissions.exp
12592 * gdb.base/print-symbol-loading.exp
12593 * gdb.base/prologue-include.exp
12594 * gdb.base/psymtab.exp
12595 * gdb.base/ptype.exp
12596 * gdb.base/random-signal.exp
12597 * gdb.base/randomize.exp
12598 * gdb.base/range-stepping.exp
12599 * gdb.base/readline-ask.exp
12600 * gdb.base/recpar.exp
12601 * gdb.base/recurse.exp
12602 * gdb.base/relational.exp
12603 * gdb.base/restore.exp
12604 * gdb.base/return-nodebug.exp
12605 * gdb.base/return.exp
12606 * gdb.base/run-after-attach.exp
12607 * gdb.base/save-bp.exp
12608 * gdb.base/scope.exp
12609 * gdb.base/sect-cmd.exp
12610 * gdb.base/set-lang-auto.exp
12611 * gdb.base/set-noassign.exp
12612 * gdb.base/setvar.exp
12613 * gdb.base/sigall.exp
12614 * gdb.base/sigbpt.exp
12615 * gdb.base/siginfo-addr.exp
12616 * gdb.base/siginfo-infcall.exp
12617 * gdb.base/siginfo-obj.exp
12618 * gdb.base/siginfo.exp
12619 * gdb.base/signals-state-child.exp
12620 * gdb.base/signest.exp
12621 * gdb.base/sigstep.exp
12622 * gdb.base/sizeof.exp
12623 * gdb.base/skip.exp
12624 * gdb.base/solib-corrupted.exp
12625 * gdb.base/solib-nodir.exp
12626 * gdb.base/solib-search.exp
12627 * gdb.base/stack-checking.exp
12628 * gdb.base/stale-infcall.exp
12629 * gdb.base/stap-probe.exp
12630 * gdb.base/start.exp
12631 * gdb.base/step-break.exp
12632 * gdb.base/step-bt.exp
12633 * gdb.base/step-line.exp
12634 * gdb.base/step-over-exit.exp
12635 * gdb.base/step-over-syscall.exp
12636 * gdb.base/step-resume-infcall.exp
12637 * gdb.base/step-test.exp
12638 * gdb.base/store.exp
12639 * gdb.base/structs3.exp
12640 * gdb.base/sym-file.exp
12641 * gdb.base/symbol-without-target_section.exp
12642 * gdb.base/term.exp
12643 * gdb.base/testenv.exp
12644 * gdb.base/ui-redirect.exp
12645 * gdb.base/until.exp
12646 * gdb.base/unwindonsignal.exp
12647 * gdb.base/value-double-free.exp
12648 * gdb.base/vla-datatypes.exp
12649 * gdb.base/vla-ptr.exp
12650 * gdb.base/vla-sideeffect.exp
12651 * gdb.base/volatile.exp
12652 * gdb.base/watch-cond-infcall.exp
12653 * gdb.base/watch-cond.exp
12654 * gdb.base/watch-non-mem.exp
12655 * gdb.base/watch-read.exp
12656 * gdb.base/watch-vfork.exp
12657 * gdb.base/watchpoint-cond-gone.exp
12658 * gdb.base/watchpoint-delete.exp
12659 * gdb.base/watchpoint-hw-hit-once.exp
12660 * gdb.base/watchpoint-hw.exp
12661 * gdb.base/watchpoint-stops-at-right-insn.exp
12662 * gdb.base/watchpoints.exp
12663 * gdb.base/wchar.exp
12664 * gdb.base/whatis-exp.exp
12665 * gdb.btrace/buffer-size.exp
12666 * gdb.btrace/data.exp
12667 * gdb.btrace/delta.exp
12668 * gdb.btrace/dlopen.exp
12669 * gdb.btrace/enable.exp
12670 * gdb.btrace/exception.exp
12671 * gdb.btrace/function_call_history.exp
12672 * gdb.btrace/gcore.exp
12673 * gdb.btrace/instruction_history.exp
12674 * gdb.btrace/nohist.exp
12675 * gdb.btrace/reconnect.exp
12676 * gdb.btrace/record_goto-step.exp
12677 * gdb.btrace/record_goto.exp
12678 * gdb.btrace/rn-dl-bind.exp
12679 * gdb.btrace/segv.exp
12680 * gdb.btrace/step.exp
12681 * gdb.btrace/stepi.exp
12682 * gdb.btrace/tailcall-only.exp
12683 * gdb.btrace/tailcall.exp
12684 * gdb.btrace/tsx.exp
12685 * gdb.btrace/unknown_functions.exp
12686 * gdb.btrace/vdso.exp
12687 * gdb.compile/compile-ifunc.exp
12688 * gdb.compile/compile-ops.exp
12689 * gdb.compile/compile-print.exp
12690 * gdb.compile/compile-setjmp.exp
12691 * gdb.cp/abstract-origin.exp
12692 * gdb.cp/ambiguous.exp
12693 * gdb.cp/annota2.exp
12694 * gdb.cp/annota3.exp
12695 * gdb.cp/anon-ns.exp
12696 * gdb.cp/anon-struct.exp
12697 * gdb.cp/anon-union.exp
12698 * gdb.cp/arg-reference.exp
12699 * gdb.cp/baseenum.exp
12700 * gdb.cp/bool.exp
12701 * gdb.cp/breakpoint.exp
12702 * gdb.cp/bs15503.exp
12703 * gdb.cp/call-c.exp
12704 * gdb.cp/casts.exp
12705 * gdb.cp/chained-calls.exp
12706 * gdb.cp/class2.exp
12707 * gdb.cp/classes.exp
12708 * gdb.cp/cmpd-minsyms.exp
12709 * gdb.cp/converts.exp
12710 * gdb.cp/cp-relocate.exp
12711 * gdb.cp/cpcompletion.exp
12712 * gdb.cp/cpexprs.exp
12713 * gdb.cp/cplabel.exp
12714 * gdb.cp/cplusfuncs.exp
12715 * gdb.cp/cpsizeof.exp
12716 * gdb.cp/ctti.exp
12717 * gdb.cp/derivation.exp
12718 * gdb.cp/destrprint.exp
12719 * gdb.cp/dispcxx.exp
12720 * gdb.cp/enum-class.exp
12721 * gdb.cp/exception.exp
12722 * gdb.cp/exceptprint.exp
12723 * gdb.cp/expand-psymtabs-cxx.exp
12724 * gdb.cp/expand-sals.exp
12725 * gdb.cp/extern-c.exp
12726 * gdb.cp/filename.exp
12727 * gdb.cp/formatted-ref.exp
12728 * gdb.cp/fpointer.exp
12729 * gdb.cp/gdb1355.exp
12730 * gdb.cp/gdb2495.exp
12731 * gdb.cp/hang.exp
12732 * gdb.cp/impl-this.exp
12733 * gdb.cp/infcall-dlopen.exp
12734 * gdb.cp/inherit.exp
12735 * gdb.cp/iostream.exp
12736 * gdb.cp/koenig.exp
12737 * gdb.cp/local.exp
12738 * gdb.cp/m-data.exp
12739 * gdb.cp/m-static.exp
12740 * gdb.cp/mb-ctor.exp
12741 * gdb.cp/mb-inline.exp
12742 * gdb.cp/mb-templates.exp
12743 * gdb.cp/member-name.exp
12744 * gdb.cp/member-ptr.exp
12745 * gdb.cp/meth-typedefs.exp
12746 * gdb.cp/method.exp
12747 * gdb.cp/method2.exp
12748 * gdb.cp/minsym-fallback.exp
12749 * gdb.cp/misc.exp
12750 * gdb.cp/namelessclass.exp
12751 * gdb.cp/namespace-enum.exp
12752 * gdb.cp/namespace-nested-import.exp
12753 * gdb.cp/namespace.exp
12754 * gdb.cp/nextoverthrow.exp
12755 * gdb.cp/no-dmgl-verbose.exp
12756 * gdb.cp/non-trivial-retval.exp
12757 * gdb.cp/noparam.exp
12758 * gdb.cp/nsdecl.exp
12759 * gdb.cp/nsimport.exp
12760 * gdb.cp/nsnested.exp
12761 * gdb.cp/nsnoimports.exp
12762 * gdb.cp/nsrecurs.exp
12763 * gdb.cp/nsstress.exp
12764 * gdb.cp/nsusing.exp
12765 * gdb.cp/operator.exp
12766 * gdb.cp/oranking.exp
12767 * gdb.cp/overload-const.exp
12768 * gdb.cp/overload.exp
12769 * gdb.cp/ovldbreak.exp
12770 * gdb.cp/ovsrch.exp
12771 * gdb.cp/paren-type.exp
12772 * gdb.cp/parse-lang.exp
12773 * gdb.cp/pass-by-ref.exp
12774 * gdb.cp/pr-1023.exp
12775 * gdb.cp/pr-1210.exp
12776 * gdb.cp/pr-574.exp
12777 * gdb.cp/pr10687.exp
12778 * gdb.cp/pr12028.exp
12779 * gdb.cp/pr17132.exp
12780 * gdb.cp/pr17494.exp
12781 * gdb.cp/pr9067.exp
12782 * gdb.cp/pr9167.exp
12783 * gdb.cp/pr9631.exp
12784 * gdb.cp/printmethod.exp
12785 * gdb.cp/psmang.exp
12786 * gdb.cp/psymtab-parameter.exp
12787 * gdb.cp/ptype-cv-cp.exp
12788 * gdb.cp/ptype-flags.exp
12789 * gdb.cp/re-set-overloaded.exp
12790 * gdb.cp/ref-types.exp
12791 * gdb.cp/rtti.exp
12792 * gdb.cp/scope-err.exp
12793 * gdb.cp/shadow.exp
12794 * gdb.cp/smartp.exp
12795 * gdb.cp/static-method.exp
12796 * gdb.cp/static-print-quit.exp
12797 * gdb.cp/temargs.exp
12798 * gdb.cp/templates.exp
12799 * gdb.cp/try_catch.exp
12800 * gdb.cp/typedef-operator.exp
12801 * gdb.cp/typeid.exp
12802 * gdb.cp/userdef.exp
12803 * gdb.cp/using-crash.exp
12804 * gdb.cp/var-tag.exp
12805 * gdb.cp/virtbase.exp
12806 * gdb.cp/virtfunc.exp
12807 * gdb.cp/virtfunc2.exp
12808 * gdb.cp/vla-cxx.exp
12809 * gdb.disasm/t01_mov.exp
12810 * gdb.disasm/t02_mova.exp
12811 * gdb.disasm/t03_add.exp
12812 * gdb.disasm/t04_sub.exp
12813 * gdb.disasm/t05_cmp.exp
12814 * gdb.disasm/t06_ari2.exp
12815 * gdb.disasm/t07_ari3.exp
12816 * gdb.disasm/t08_or.exp
12817 * gdb.disasm/t09_xor.exp
12818 * gdb.disasm/t10_and.exp
12819 * gdb.disasm/t11_logs.exp
12820 * gdb.disasm/t12_bit.exp
12821 * gdb.disasm/t13_otr.exp
12822 * gdb.dlang/circular.exp
12823 * gdb.dwarf2/arr-stride.exp
12824 * gdb.dwarf2/arr-subrange.exp
12825 * gdb.dwarf2/atomic-type.exp
12826 * gdb.dwarf2/bad-regnum.exp
12827 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12828 * gdb.dwarf2/callframecfa.exp
12829 * gdb.dwarf2/clztest.exp
12830 * gdb.dwarf2/corrupt.exp
12831 * gdb.dwarf2/data-loc.exp
12832 * gdb.dwarf2/dup-psym.exp
12833 * gdb.dwarf2/dw2-anon-mptr.exp
12834 * gdb.dwarf2/dw2-anonymous-func.exp
12835 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12836 * gdb.dwarf2/dw2-bad-unresolved.exp
12837 * gdb.dwarf2/dw2-basic.exp
12838 * gdb.dwarf2/dw2-canonicalize-type.exp
12839 * gdb.dwarf2/dw2-case-insensitive.exp
12840 * gdb.dwarf2/dw2-common-block.exp
12841 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12842 * gdb.dwarf2/dw2-compressed.exp
12843 * gdb.dwarf2/dw2-const.exp
12844 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12845 * gdb.dwarf2/dw2-cu-size.exp
12846 * gdb.dwarf2/dw2-dup-frame.exp
12847 * gdb.dwarf2/dw2-entry-value.exp
12848 * gdb.dwarf2/dw2-icycle.exp
12849 * gdb.dwarf2/dw2-ifort-parameter.exp
12850 * gdb.dwarf2/dw2-inline-break.exp
12851 * gdb.dwarf2/dw2-inline-param.exp
12852 * gdb.dwarf2/dw2-intercu.exp
12853 * gdb.dwarf2/dw2-intermix.exp
12854 * gdb.dwarf2/dw2-lexical-block-bare.exp
12855 * gdb.dwarf2/dw2-linkage-name-trust.exp
12856 * gdb.dwarf2/dw2-minsym-in-cu.exp
12857 * gdb.dwarf2/dw2-noloc.exp
12858 * gdb.dwarf2/dw2-op-call.exp
12859 * gdb.dwarf2/dw2-op-out-param.exp
12860 * gdb.dwarf2/dw2-opt-structptr.exp
12861 * gdb.dwarf2/dw2-param-error.exp
12862 * gdb.dwarf2/dw2-producer.exp
12863 * gdb.dwarf2/dw2-ranges-base.exp
12864 * gdb.dwarf2/dw2-ref-missing-frame.exp
12865 * gdb.dwarf2/dw2-reg-undefined.exp
12866 * gdb.dwarf2/dw2-regno-invalid.exp
12867 * gdb.dwarf2/dw2-restore.exp
12868 * gdb.dwarf2/dw2-restrict.exp
12869 * gdb.dwarf2/dw2-single-line-discriminators.exp
12870 * gdb.dwarf2/dw2-strp.exp
12871 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12872 * gdb.dwarf2/dw2-unresolved.exp
12873 * gdb.dwarf2/dw2-var-zero-addr.exp
12874 * gdb.dwarf2/dw4-sig-types.exp
12875 * gdb.dwarf2/dwz.exp
12876 * gdb.dwarf2/dynarr-ptr.exp
12877 * gdb.dwarf2/enum-type.exp
12878 * gdb.dwarf2/gdb-index.exp
12879 * gdb.dwarf2/implptr-64bit.exp
12880 * gdb.dwarf2/implptr-optimized-out.exp
12881 * gdb.dwarf2/implptr.exp
12882 * gdb.dwarf2/implref-array.exp
12883 * gdb.dwarf2/implref-const.exp
12884 * gdb.dwarf2/implref-global.exp
12885 * gdb.dwarf2/implref-struct.exp
12886 * gdb.dwarf2/mac-fileno.exp
12887 * gdb.dwarf2/main-subprogram.exp
12888 * gdb.dwarf2/member-ptr-forwardref.exp
12889 * gdb.dwarf2/method-ptr.exp
12890 * gdb.dwarf2/missing-sig-type.exp
12891 * gdb.dwarf2/nonvar-access.exp
12892 * gdb.dwarf2/opaque-type-lookup.exp
12893 * gdb.dwarf2/pieces-optimized-out.exp
12894 * gdb.dwarf2/pieces.exp
12895 * gdb.dwarf2/pr10770.exp
12896 * gdb.dwarf2/pr13961.exp
12897 * gdb.dwarf2/staticvirtual.exp
12898 * gdb.dwarf2/subrange.exp
12899 * gdb.dwarf2/symtab-producer.exp
12900 * gdb.dwarf2/trace-crash.exp
12901 * gdb.dwarf2/typeddwarf.exp
12902 * gdb.dwarf2/valop.exp
12903 * gdb.dwarf2/watch-notconst.exp
12904 * gdb.fortran/array-element.exp
12905 * gdb.fortran/charset.exp
12906 * gdb.fortran/common-block.exp
12907 * gdb.fortran/complex.exp
12908 * gdb.fortran/derived-type-function.exp
12909 * gdb.fortran/derived-type.exp
12910 * gdb.fortran/logical.exp
12911 * gdb.fortran/module.exp
12912 * gdb.fortran/multi-dim.exp
12913 * gdb.fortran/nested-funcs.exp
12914 * gdb.fortran/print-formatted.exp
12915 * gdb.fortran/subarray.exp
12916 * gdb.fortran/vla-alloc-assoc.exp
12917 * gdb.fortran/vla-datatypes.exp
12918 * gdb.fortran/vla-history.exp
12919 * gdb.fortran/vla-ptr-info.exp
12920 * gdb.fortran/vla-ptype-sub.exp
12921 * gdb.fortran/vla-ptype.exp
12922 * gdb.fortran/vla-sizeof.exp
12923 * gdb.fortran/vla-type.exp
12924 * gdb.fortran/vla-value-sub-arbitrary.exp
12925 * gdb.fortran/vla-value-sub-finish.exp
12926 * gdb.fortran/vla-value-sub.exp
12927 * gdb.fortran/vla-value.exp
12928 * gdb.fortran/whatis_type.exp
12929 * gdb.go/chan.exp
12930 * gdb.go/handcall.exp
12931 * gdb.go/hello.exp
12932 * gdb.go/integers.exp
12933 * gdb.go/methods.exp
12934 * gdb.go/package.exp
12935 * gdb.go/strings.exp
12936 * gdb.go/types.exp
12937 * gdb.go/unsafe.exp
12938 * gdb.guile/scm-arch.exp
12939 * gdb.guile/scm-block.exp
12940 * gdb.guile/scm-breakpoint.exp
12941 * gdb.guile/scm-cmd.exp
12942 * gdb.guile/scm-disasm.exp
12943 * gdb.guile/scm-equal.exp
12944 * gdb.guile/scm-frame-args.exp
12945 * gdb.guile/scm-frame-inline.exp
12946 * gdb.guile/scm-frame.exp
12947 * gdb.guile/scm-iterator.exp
12948 * gdb.guile/scm-math.exp
12949 * gdb.guile/scm-objfile.exp
12950 * gdb.guile/scm-ports.exp
12951 * gdb.guile/scm-symbol.exp
12952 * gdb.guile/scm-symtab.exp
12953 * gdb.guile/scm-value-cc.exp
12954 * gdb.guile/types-module.exp
12955 * gdb.linespec/break-ask.exp
12956 * gdb.linespec/cpexplicit.exp
12957 * gdb.linespec/explicit.exp
12958 * gdb.linespec/keywords.exp
12959 * gdb.linespec/linespec.exp
12960 * gdb.linespec/ls-dollar.exp
12961 * gdb.linespec/ls-errs.exp
12962 * gdb.linespec/skip-two.exp
12963 * gdb.linespec/thread.exp
12964 * gdb.mi/mi-async.exp
12965 * gdb.mi/mi-basics.exp
12966 * gdb.mi/mi-break.exp
12967 * gdb.mi/mi-catch-load.exp
12968 * gdb.mi/mi-cli.exp
12969 * gdb.mi/mi-cmd-param-changed.exp
12970 * gdb.mi/mi-console.exp
12971 * gdb.mi/mi-detach.exp
12972 * gdb.mi/mi-disassemble.exp
12973 * gdb.mi/mi-eval.exp
12974 * gdb.mi/mi-file-transfer.exp
12975 * gdb.mi/mi-file.exp
12976 * gdb.mi/mi-fill-memory.exp
12977 * gdb.mi/mi-inheritance-syntax-error.exp
12978 * gdb.mi/mi-linespec-err-cp.exp
12979 * gdb.mi/mi-logging.exp
12980 * gdb.mi/mi-memory-changed.exp
12981 * gdb.mi/mi-read-memory.exp
12982 * gdb.mi/mi-record-changed.exp
12983 * gdb.mi/mi-reg-undefined.exp
12984 * gdb.mi/mi-regs.exp
12985 * gdb.mi/mi-return.exp
12986 * gdb.mi/mi-reverse.exp
12987 * gdb.mi/mi-simplerun.exp
12988 * gdb.mi/mi-solib.exp
12989 * gdb.mi/mi-stack.exp
12990 * gdb.mi/mi-stepi.exp
12991 * gdb.mi/mi-syn-frame.exp
12992 * gdb.mi/mi-until.exp
12993 * gdb.mi/mi-var-block.exp
12994 * gdb.mi/mi-var-child.exp
12995 * gdb.mi/mi-var-cmd.exp
12996 * gdb.mi/mi-var-cp.exp
12997 * gdb.mi/mi-var-display.exp
12998 * gdb.mi/mi-var-invalidate.exp
12999 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13000 * gdb.mi/mi-vla-fortran.exp
13001 * gdb.mi/mi-watch.exp
13002 * gdb.mi/mi2-var-child.exp
13003 * gdb.mi/user-selected-context-sync.exp
13004 * gdb.modula2/unbounded-array.exp
13005 * gdb.multi/dummy-frame-restore.exp
13006 * gdb.multi/multi-arch-exec.exp
13007 * gdb.multi/multi-arch.exp
13008 * gdb.multi/tids.exp
13009 * gdb.multi/watchpoint-multi.exp
13010 * gdb.opencl/callfuncs.exp
13011 * gdb.opencl/convs_casts.exp
13012 * gdb.opencl/datatypes.exp
13013 * gdb.opencl/operators.exp
13014 * gdb.opencl/vec_comps.exp
13015 * gdb.opt/clobbered-registers-O2.exp
13016 * gdb.opt/inline-break.exp
13017 * gdb.opt/inline-bt.exp
13018 * gdb.opt/inline-cmds.exp
13019 * gdb.opt/inline-locals.exp
13020 * gdb.pascal/case-insensitive-symbols.exp
13021 * gdb.pascal/floats.exp
13022 * gdb.pascal/gdb11492.exp
13023 * gdb.python/lib-types.exp
13024 * gdb.python/py-arch.exp
13025 * gdb.python/py-as-string.exp
13026 * gdb.python/py-bad-printers.exp
13027 * gdb.python/py-block.exp
13028 * gdb.python/py-breakpoint-create-fail.exp
13029 * gdb.python/py-breakpoint.exp
13030 * gdb.python/py-caller-is.exp
13031 * gdb.python/py-cmd.exp
13032 * gdb.python/py-explore-cc.exp
13033 * gdb.python/py-explore.exp
13034 * gdb.python/py-finish-breakpoint.exp
13035 * gdb.python/py-finish-breakpoint2.exp
13036 * gdb.python/py-frame-args.exp
13037 * gdb.python/py-frame-inline.exp
13038 * gdb.python/py-frame.exp
13039 * gdb.python/py-framefilter-mi.exp
13040 * gdb.python/py-infthread.exp
13041 * gdb.python/py-lazy-string.exp
13042 * gdb.python/py-linetable.exp
13043 * gdb.python/py-mi-events.exp
13044 * gdb.python/py-mi-objfile.exp
13045 * gdb.python/py-mi.exp
13046 * gdb.python/py-objfile.exp
13047 * gdb.python/py-pp-integral.exp
13048 * gdb.python/py-pp-maint.exp
13049 * gdb.python/py-pp-re-notag.exp
13050 * gdb.python/py-pp-registration.exp
13051 * gdb.python/py-recurse-unwind.exp
13052 * gdb.python/py-strfns.exp
13053 * gdb.python/py-symbol.exp
13054 * gdb.python/py-symtab.exp
13055 * gdb.python/py-sync-interp.exp
13056 * gdb.python/py-typeprint.exp
13057 * gdb.python/py-unwind-maint.exp
13058 * gdb.python/py-unwind.exp
13059 * gdb.python/py-value-cc.exp
13060 * gdb.python/py-xmethods.exp
13061 * gdb.reverse/amd64-tailcall-reverse.exp
13062 * gdb.reverse/break-precsave.exp
13063 * gdb.reverse/break-reverse.exp
13064 * gdb.reverse/consecutive-precsave.exp
13065 * gdb.reverse/consecutive-reverse.exp
13066 * gdb.reverse/finish-precsave.exp
13067 * gdb.reverse/finish-reverse-bkpt.exp
13068 * gdb.reverse/finish-reverse.exp
13069 * gdb.reverse/fstatat-reverse.exp
13070 * gdb.reverse/getresuid-reverse.exp
13071 * gdb.reverse/i386-precsave.exp
13072 * gdb.reverse/i386-reverse.exp
13073 * gdb.reverse/i386-sse-reverse.exp
13074 * gdb.reverse/i387-env-reverse.exp
13075 * gdb.reverse/i387-stack-reverse.exp
13076 * gdb.reverse/insn-reverse.exp
13077 * gdb.reverse/machinestate-precsave.exp
13078 * gdb.reverse/machinestate.exp
13079 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13080 * gdb.reverse/pipe-reverse.exp
13081 * gdb.reverse/readv-reverse.exp
13082 * gdb.reverse/recvmsg-reverse.exp
13083 * gdb.reverse/rerun-prec.exp
13084 * gdb.reverse/s390-mvcle.exp
13085 * gdb.reverse/step-precsave.exp
13086 * gdb.reverse/step-reverse.exp
13087 * gdb.reverse/time-reverse.exp
13088 * gdb.reverse/until-precsave.exp
13089 * gdb.reverse/until-reverse.exp
13090 * gdb.reverse/waitpid-reverse.exp
13091 * gdb.reverse/watch-precsave.exp
13092 * gdb.reverse/watch-reverse.exp
13093 * gdb.rust/generics.exp
13094 * gdb.rust/methods.exp
13095 * gdb.rust/modules.exp
13096 * gdb.rust/simple.exp
13097 * gdb.server/connect-with-no-symbol-file.exp
13098 * gdb.server/ext-attach.exp
13099 * gdb.server/ext-restart.exp
13100 * gdb.server/ext-wrapper.exp
13101 * gdb.server/file-transfer.exp
13102 * gdb.server/server-exec-info.exp
13103 * gdb.server/server-kill.exp
13104 * gdb.server/server-mon.exp
13105 * gdb.server/wrapper.exp
13106 * gdb.stabs/exclfwd.exp
13107 * gdb.stabs/gdb11479.exp
13108 * gdb.threads/clone-new-thread-event.exp
13109 * gdb.threads/corethreads.exp
13110 * gdb.threads/current-lwp-dead.exp
13111 * gdb.threads/dlopen-libpthread.exp
13112 * gdb.threads/gcore-thread.exp
13113 * gdb.threads/sigstep-threads.exp
13114 * gdb.threads/watchpoint-fork.exp
13115 * gdb.trace/actions-changed.exp
13116 * gdb.trace/backtrace.exp
13117 * gdb.trace/change-loc.exp
13118 * gdb.trace/circ.exp
13119 * gdb.trace/collection.exp
13120 * gdb.trace/disconnected-tracing.exp
13121 * gdb.trace/ftrace.exp
13122 * gdb.trace/mi-trace-frame-collected.exp
13123 * gdb.trace/mi-trace-unavailable.exp
13124 * gdb.trace/mi-traceframe-changed.exp
13125 * gdb.trace/mi-tsv-changed.exp
13126 * gdb.trace/no-attach-trace.exp
13127 * gdb.trace/passc-dyn.exp
13128 * gdb.trace/qtro.exp
13129 * gdb.trace/range-stepping.exp
13130 * gdb.trace/read-memory.exp
13131 * gdb.trace/save-trace.exp
13132 * gdb.trace/signal.exp
13133 * gdb.trace/status-stop.exp
13134 * gdb.trace/tfile.exp
13135 * gdb.trace/trace-break.exp
13136 * gdb.trace/trace-buffer-size.exp
13137 * gdb.trace/trace-condition.exp
13138 * gdb.trace/tracefile-pseudo-reg.exp
13139 * gdb.trace/tstatus.exp
13140 * gdb.trace/unavailable.exp
13141 * gdb.trace/while-dyn.exp
13142 * gdb.trace/while-stepping.exp
13143
34c41c68
DE
131442016-12-22 Doug Evans <xdje42@gmail.com>
13145
13146 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13147 and msymbols.
13148
16e69324
YQ
131492016-12-19 Yao Qi <yao.qi@linaro.org>
13150
13151 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13152 (test_with_self): Don't call do_steps_and_nexts, and remove
13153 code about stepping into xmalloc.
13154
f94f411b
YQ
131552016-12-09 Yao Qi <yao.qi@linaro.org>
13156
13157 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13158
131592016-12-09 Yao Qi <yao.qi@linaro.org>
13160
13161 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13162
f1b5deee
PA
131632016-12-09 Pedro Alves <palves@redhat.com>
13164
13165 * gdb.base/all-architectures-0.exp: New file.
13166 * gdb.base/all-architectures-1.exp: New file.
13167 * gdb.base/all-architectures-2.exp: New file.
13168 * gdb.base/all-architectures-3.exp: New file.
13169 * gdb.base/all-architectures-4.exp: New file.
13170 * gdb.base/all-architectures-5.exp: New file.
13171 * gdb.base/all-architectures-6.exp: New file.
13172 * gdb.base/all-architectures-7.exp: New file.
13173 * gdb.base/all-architectures.exp.in: New file.
13174
364ca42e
YQ
131752016-12-09 Yao Qi <yao.qi@linaro.org>
13176
13177 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13178
107c2d62
LM
131792016-12-02 Luis Machado <lgustavo@codesourcery.com>
13180
13181 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13182 possible.
13183 Remove useless pattern-matching code.
13184
df3ee9ca
PA
131852016-12-02 Pedro Alves <palves@redhat.com>
13186
13187 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13188 procedure.
13189 (top level): Call it.
13190
ec835369
PA
131912016-12-02 Pedro Alves <palves@redhat.com>
13192
13193 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13194 New procedure.
13195 (top level): Call it.
13196
01770bbd
PA
131972016-12-02 Pedro Alves <palves@redhat.com>
13198
13199 PR cli/20559
13200 * gdb.base/commands.exp (user_defined_command_args_eval): New
13201 procedure.
13202 (top level): Call it.
13203
008459ea
LM
132042016-12-02 Luis Machado <lgustavo@codesourcery.com>
13205
13206 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13207 timeout handling.
13208
0c1b455e
TT
132092016-12-02 Tom Tromey <tom@tromey.com>
13210
13211 * gdb.dwarf2/main-subprogram.c: New file.
13212 * gdb.dwarf2/main-subprogram.exp: New file.
13213
018572b8
LM
132142016-12-01 Luis Machado <lgustavo@codesourcery.com>
13215
13216 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13217 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13218 gdb_test_no_output for a couple of cases.
13219 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13220
84c93cd5
LM
132212016-12-01 Luis Machado <lgustavo@codesourcery.com>
13222
13223 Fix test names and standardize compilation error messages throughout
13224 the following files:
13225
13226 * gdb.ada/start.exp
13227 * gdb.arch/alpha-step.exp
13228 * gdb.arch/e500-prologue.exp
13229 * gdb.arch/ftrace-insn-reloc.exp
13230 * gdb.arch/gdb1291.exp
13231 * gdb.arch/gdb1431.exp
13232 * gdb.arch/gdb1558.exp
13233 * gdb.arch/i386-dr3-watch.exp
13234 * gdb.arch/i386-sse-stack-align.exp
13235 * gdb.arch/ia64-breakpoint-shadow.exp
13236 * gdb.arch/pa-nullify.exp
13237 * gdb.arch/powerpc-aix-prologue.exp
13238 * gdb.arch/thumb-bx-pc.exp
13239 * gdb.base/annota1.exp
13240 * gdb.base/annota3.exp
13241 * gdb.base/arrayidx.exp
13242 * gdb.base/assign.exp
13243 * gdb.base/attach.exp
13244 * gdb.base/auxv.exp
13245 * gdb.base/bang.exp
13246 * gdb.base/bfp-test.exp
13247 * gdb.base/bigcore.exp
13248 * gdb.base/bitfields2.exp
13249 * gdb.base/break-fun-addr.exp
13250 * gdb.base/break-probes.exp
13251 * gdb.base/call-rt-st.exp
13252 * gdb.base/callexit.exp
13253 * gdb.base/catch-fork-kill.exp
13254 * gdb.base/charset.exp
13255 * gdb.base/checkpoint.exp
13256 * gdb.base/comprdebug.exp
13257 * gdb.base/constvars.exp
13258 * gdb.base/coredump-filter.exp
13259 * gdb.base/cursal.exp
13260 * gdb.base/cvexpr.exp
13261 * gdb.base/detach.exp
13262 * gdb.base/display.exp
13263 * gdb.base/dmsym.exp
13264 * gdb.base/dprintf-pending.exp
13265 * gdb.base/dso2dso.exp
13266 * gdb.base/dtrace-probe.exp
13267 * gdb.base/dump.exp
13268 * gdb.base/enum_cond.exp
13269 * gdb.base/exe-lock.exp
13270 * gdb.base/exec-invalid-sysroot.exp
13271 * gdb.base/execl-update-breakpoints.exp
13272 * gdb.base/exprs.exp
13273 * gdb.base/fileio.exp
13274 * gdb.base/find.exp
13275 * gdb.base/finish.exp
13276 * gdb.base/fixsection.exp
13277 * gdb.base/foll-vfork.exp
13278 * gdb.base/frame-args.exp
13279 * gdb.base/gcore.exp
13280 * gdb.base/gdb1250.exp
13281 * gdb.base/global-var-nested-by-dso.exp
13282 * gdb.base/gnu-ifunc.exp
13283 * gdb.base/hashline1.exp
13284 * gdb.base/hashline2.exp
13285 * gdb.base/hashline3.exp
13286 * gdb.base/hbreak-in-shr-unsupported.exp
13287 * gdb.base/huge.exp
13288 * gdb.base/infcall-input.exp
13289 * gdb.base/info-fun.exp
13290 * gdb.base/info-shared.exp
13291 * gdb.base/jit-simple.exp
13292 * gdb.base/jit-so.exp
13293 * gdb.base/jit.exp
13294 * gdb.base/jump.exp
13295 * gdb.base/label.exp
13296 * gdb.base/lineinc.exp
13297 * gdb.base/logical.exp
13298 * gdb.base/longjmp.exp
13299 * gdb.base/macscp.exp
13300 * gdb.base/miscexprs.exp
13301 * gdb.base/new-ui-echo.exp
13302 * gdb.base/new-ui-pending-input.exp
13303 * gdb.base/new-ui.exp
13304 * gdb.base/nodebug.exp
13305 * gdb.base/nofield.exp
13306 * gdb.base/offsets.exp
13307 * gdb.base/overlays.exp
13308 * gdb.base/pending.exp
13309 * gdb.base/pointers.exp
13310 * gdb.base/pr11022.exp
13311 * gdb.base/printcmds.exp
13312 * gdb.base/prologue.exp
13313 * gdb.base/ptr-typedef.exp
13314 * gdb.base/realname-expand.exp
13315 * gdb.base/relativedebug.exp
13316 * gdb.base/relocate.exp
13317 * gdb.base/remote.exp
13318 * gdb.base/reread.exp
13319 * gdb.base/return2.exp
13320 * gdb.base/savedregs.exp
13321 * gdb.base/sep.exp
13322 * gdb.base/sepdebug.exp
13323 * gdb.base/sepsymtab.exp
13324 * gdb.base/set-inferior-tty.exp
13325 * gdb.base/setshow.exp
13326 * gdb.base/shlib-call.exp
13327 * gdb.base/sigaltstack.exp
13328 * gdb.base/siginfo-addr.exp
13329 * gdb.base/signals.exp
13330 * gdb.base/signull.exp
13331 * gdb.base/sigrepeat.exp
13332 * gdb.base/so-impl-ld.exp
13333 * gdb.base/solib-display.exp
13334 * gdb.base/solib-overlap.exp
13335 * gdb.base/solib-search.exp
13336 * gdb.base/solib-symbol.exp
13337 * gdb.base/structs.exp
13338 * gdb.base/structs2.exp
13339 * gdb.base/symtab-search-order.exp
13340 * gdb.base/twice.exp
13341 * gdb.base/unload.exp
13342 * gdb.base/varargs.exp
13343 * gdb.base/watchpoint-solib.exp
13344 * gdb.base/watchpoint.exp
13345 * gdb.base/whatis.exp
13346 * gdb.base/wrong_frame_bt_full.exp
13347 * gdb.btrace/dlopen.exp
13348 * gdb.cell/ea-standalone.exp
13349 * gdb.cell/ea-test.exp
13350 * gdb.cp/dispcxx.exp
13351 * gdb.cp/gdb2384.exp
13352 * gdb.cp/method2.exp
13353 * gdb.cp/nextoverthrow.exp
13354 * gdb.cp/pr10728.exp
13355 * gdb.disasm/am33.exp
13356 * gdb.disasm/h8300s.exp
13357 * gdb.disasm/mn10300.exp
13358 * gdb.disasm/sh3.exp
13359 * gdb.dwarf2/dw2-dir-file-name.exp
13360 * gdb.fortran/complex.exp
13361 * gdb.fortran/library-module.exp
13362 * gdb.guile/scm-pretty-print.exp
13363 * gdb.guile/scm-symbol.exp
13364 * gdb.guile/scm-type.exp
13365 * gdb.guile/scm-value.exp
13366 * gdb.linespec/linespec.exp
13367 * gdb.mi/gdb701.exp
13368 * gdb.mi/gdb792.exp
13369 * gdb.mi/mi-breakpoint-changed.exp
13370 * gdb.mi/mi-dprintf-pending.exp
13371 * gdb.mi/mi-dprintf.exp
13372 * gdb.mi/mi-exit-code.exp
13373 * gdb.mi/mi-pending.exp
13374 * gdb.mi/mi-solib.exp
13375 * gdb.mi/new-ui-mi-sync.exp
13376 * gdb.mi/pr11022.exp
13377 * gdb.mi/user-selected-context-sync.exp
13378 * gdb.opt/solib-intra-step.exp
13379 * gdb.python/py-events.exp
13380 * gdb.python/py-finish-breakpoint.exp
13381 * gdb.python/py-mi.exp
13382 * gdb.python/py-prettyprint.exp
13383 * gdb.python/py-shared.exp
13384 * gdb.python/py-symbol.exp
13385 * gdb.python/py-template.exp
13386 * gdb.python/py-type.exp
13387 * gdb.python/py-value.exp
13388 * gdb.reverse/solib-precsave.exp
13389 * gdb.reverse/solib-reverse.exp
13390 * gdb.server/solib-list.exp
13391 * gdb.stabs/weird.exp
13392 * gdb.threads/reconnect-signal.exp
13393 * gdb.threads/stepi-random-signal.exp
13394 * gdb.trace/actions.exp
13395 * gdb.trace/ax.exp
13396 * gdb.trace/backtrace.exp
13397 * gdb.trace/change-loc.exp
13398 * gdb.trace/deltrace.exp
13399 * gdb.trace/ftrace-lock.exp
13400 * gdb.trace/ftrace.exp
13401 * gdb.trace/infotrace.exp
13402 * gdb.trace/mi-tracepoint-changed.exp
13403 * gdb.trace/packetlen.exp
13404 * gdb.trace/passcount.exp
13405 * gdb.trace/pending.exp
13406 * gdb.trace/range-stepping.exp
13407 * gdb.trace/report.exp
13408 * gdb.trace/stap-trace.exp
13409 * gdb.trace/tfind.exp
13410 * gdb.trace/trace-break.exp
13411 * gdb.trace/trace-condition.exp
13412 * gdb.trace/trace-enable-disable.exp
13413 * gdb.trace/trace-mt.exp
13414 * gdb.trace/tracecmd.exp
13415 * gdb.trace/tspeed.exp
13416 * gdb.trace/tsv.exp
13417 * lib/perftest.exp
13418
fb9feb35
LM
134192016-12-01 Luis Machado <lgustavo@codesourcery.com>
13420
13421 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13422 with gdb_test_no_output.
13423 Use command as test name.
13424
cd2ddb6c
LM
134252016-12-01 Luis Machado <lgustavo@codesourcery.com>
13426
13427 Fix test names starting with uppercase throughout the files.
13428
13429 * gdb.ada/assign_1.exp
13430 * gdb.ada/boolean_expr.exp
13431 * gdb.base/arrayidx.exp
13432 * gdb.base/del.exp
13433 * gdb.base/gcore-buffer-overflow.exp
13434 * gdb.base/testenv.exp
13435 * gdb.compile/compile.exp
13436 * gdb.python/py-framefilter-invalidarg.exp
13437 * gdb.python/py-framefilter.exp
13438
bb95117e
LM
134392016-12-01 Luis Machado <lgustavo@codesourcery.com>
13440
13441 Fix test names starting with uppercase throughout the files.
13442
13443 * gdb.ada/array_return.exp
13444 * gdb.ada/expr_delims.exp
13445 * gdb.ada/mi_dyn_arr.exp
13446 * gdb.ada/mi_interface.exp
13447 * gdb.ada/mi_var_array.exp
13448 * gdb.ada/watch_arg.exp
13449 * gdb.arch/alpha-step.exp
13450 * gdb.arch/altivec-regs.exp
13451 * gdb.arch/e500-regs.exp
13452 * gdb.arch/powerpc-d128-regs.exp
13453 * gdb.base/arrayidx.exp
13454 * gdb.base/break.exp
13455 * gdb.base/checkpoint.exp
13456 * gdb.base/debug-expr.exp
13457 * gdb.base/dmsym.exp
13458 * gdb.base/radix.exp
13459 * gdb.base/sepdebug.exp
13460 * gdb.base/testenv.exp
13461 * gdb.base/watch_thread_num.exp
13462 * gdb.base/watchpoint-cond-gone.exp
13463 * gdb.cell/break.exp
13464 * gdb.cell/ea-cache.exp
13465 * gdb.compile/compile.exp
13466 * gdb.cp/gdb2495.exp
13467 * gdb.gdb/selftest.exp
13468 * gdb.gdb/xfullpath.exp
13469 * gdb.go/hello.exp
13470 * gdb.go/integers.exp
13471 * gdb.objc/basicclass.exp
13472 * gdb.pascal/hello.exp
13473 * gdb.pascal/integers.exp
13474 * gdb.python/py-breakpoint.exp
13475 * gdb.python/py-cmd.exp
13476 * gdb.python/py-linetable.exp
13477 * gdb.python/py-xmethods.exp
13478 * gdb.python/python.exp
13479 * gdb.reverse/consecutive-precsave.exp
13480 * gdb.reverse/finish-precsave.exp
13481 * gdb.reverse/i386-precsave.exp
13482 * gdb.reverse/machinestate-precsave.exp
13483 * gdb.reverse/sigall-precsave.exp
13484 * gdb.reverse/solib-precsave.exp
13485 * gdb.reverse/step-precsave.exp
13486 * gdb.reverse/until-precsave.exp
13487 * gdb.reverse/watch-precsave.exp
13488 * gdb.threads/leader-exit.exp
13489 * gdb.threads/pthreads.exp
13490 * gdb.threads/wp-replication.exp
13491 * gdb.trace/actions.exp
13492 * gdb.trace/mi-tsv-changed.exp
13493 * gdb.trace/tsv.exp
13494
de97fdd4
LM
134952016-12-01 Luis Machado <lgustavo@codesourcery.com>
13496
13497 Fix test names starting with uppercase throughout the files.
13498
13499 * gdb.arch/i386-bp_permanent.exp
13500 * gdb.arch/i386-gnu-cfi.exp
13501 * gdb.base/disasm-end-cu.exp
13502 * gdb.base/macscp.exp
13503 * gdb.base/pending.exp
13504 * gdb.base/watch_thread_num.exp
13505 * gdb.cp/exception.exp
13506 * gdb.cp/gdb2495.exp
13507 * gdb.cp/local.exp
13508 * gdb.python/py-evsignal.exp
13509 * gdb.python/python.exp
13510 * gdb.trace/tracecmd.exp
13511
9f058c10
LM
135122016-12-01 Luis Machado <lgustavo@codesourcery.com>
13513
13514 Fix test names starting with uppercase throughout the files.
13515
13516 * gdb.base/charset.exp
13517 * gdb.base/eval.exp
13518 * gdb.base/multi-forks.exp
13519 * gdb.guile/scm-progspace.exp
13520 * gdb.opencl/datatypes.exp
13521 * gdb.python/py-block.exp
13522 * gdb.python/py-function.exp
13523 * gdb.python/py-symbol.exp
13524 * gdb.python/py-symtab.exp
13525 * gdb.python/py-xmethods.exp
13526 * gdb.reverse/break-precsave.exp
13527 * gdb.reverse/break-reverse.exp
13528 * gdb.reverse/consecutive-precsave.exp
13529 * gdb.reverse/consecutive-reverse.exp
13530 * gdb.reverse/finish-precsave.exp
13531 * gdb.reverse/finish-reverse-bkpt.exp
13532 * gdb.reverse/finish-reverse.exp
13533 * gdb.reverse/fstatat-reverse.exp
13534 * gdb.reverse/getresuid-reverse.exp
13535 * gdb.reverse/i386-precsave.exp
13536 * gdb.reverse/i386-reverse.exp
13537 * gdb.reverse/i386-sse-reverse.exp
13538 * gdb.reverse/i387-stack-reverse.exp
13539 * gdb.reverse/insn-reverse.exp
13540 * gdb.reverse/machinestate-precsave.exp
13541 * gdb.reverse/machinestate.exp
13542 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13543 * gdb.reverse/pipe-reverse.exp
13544 * gdb.reverse/readv-reverse.exp
13545 * gdb.reverse/recvmsg-reverse.exp
13546 * gdb.reverse/rerun-prec.exp
13547 * gdb.reverse/s390-mvcle.exp
13548 * gdb.reverse/sigall-precsave.exp
13549 * gdb.reverse/sigall-reverse.exp
13550 * gdb.reverse/solib-precsave.exp
13551 * gdb.reverse/solib-reverse.exp
13552 * gdb.reverse/step-precsave.exp
13553 * gdb.reverse/step-reverse.exp
13554 * gdb.reverse/time-reverse.exp
13555 * gdb.reverse/until-precsave.exp
13556 * gdb.reverse/until-reverse.exp
13557 * gdb.reverse/waitpid-reverse.exp
13558 * gdb.reverse/watch-precsave.exp
13559 * gdb.reverse/watch-reverse.exp
13560
cdc7edd7
LM
135612016-12-01 Luis Machado <lgustavo@codesourcery.com>
13562
13563 Fix test names starting with uppercase throughout the files.
13564
13565 * gdb.arch/i386-mpx-simple_segv.exp
13566 * gdb.arch/i386-mpx.exp
13567 * gdb.arch/i386-permbkpt.exp
13568 * gdb.arch/pa-nullify.exp
13569 * gdb.arch/powerpc-d128-regs.exp
13570 * gdb.arch/vsx-regs.exp
13571 * gdb.base/bfp-test.exp
13572 * gdb.base/break.exp
13573 * gdb.base/breakpoint-shadow.exp
13574 * gdb.base/callfuncs.exp
13575 * gdb.base/charset.exp
13576 * gdb.base/commands.exp
13577 * gdb.base/completion.exp
13578 * gdb.base/dfp-test.exp
13579 * gdb.base/echo.exp
13580 * gdb.base/ending-run.exp
13581 * gdb.base/eval.exp
13582 * gdb.base/expand-psymtabs.exp
13583 * gdb.base/float128.exp
13584 * gdb.base/floatn.exp
13585 * gdb.base/foll-exec-mode.exp
13586 * gdb.base/gdb1056.exp
13587 * gdb.base/gdb11531.exp
13588 * gdb.base/kill-after-signal.exp
13589 * gdb.base/multi-forks.exp
13590 * gdb.base/overlays.exp
13591 * gdb.base/pending.exp
13592 * gdb.base/sepdebug.exp
13593 * gdb.base/testenv.exp
13594 * gdb.base/valgrind-db-attach.exp
13595 * gdb.base/watch_thread_num.exp
13596 * gdb.base/watchpoint-cond-gone.exp
13597 * gdb.base/watchpoint.exp
13598 * gdb.base/watchpoints.exp
13599 * gdb.cp/arg-reference.exp
13600 * gdb.cp/baseenum.exp
13601 * gdb.cp/operator.exp
13602 * gdb.cp/shadow.exp
13603 * gdb.dwarf2/dw2-op-out-param.exp
13604 * gdb.dwarf2/dw2-reg-undefined.exp
13605 * gdb.go/chan.exp
13606 * gdb.go/hello.exp
13607 * gdb.go/integers.exp
13608 * gdb.go/methods.exp
13609 * gdb.go/package.exp
13610 * gdb.guile/scm-parameter.exp
13611 * gdb.guile/scm-progspace.exp
13612 * gdb.guile/scm-value.exp
13613 * gdb.mi/mi-pending.exp
13614 * gdb.mi/user-selected-context-sync.exp
13615 * gdb.multi/multi-attach.exp
13616 * gdb.multi/tids.exp
13617 * gdb.opt/clobbered-registers-O2.exp
13618 * gdb.pascal/floats.exp
13619 * gdb.pascal/integers.exp
13620 * gdb.python/py-block.exp
13621 * gdb.python/py-events.exp
13622 * gdb.python/py-parameter.exp
13623 * gdb.python/py-symbol.exp
13624 * gdb.python/py-symtab.exp
13625 * gdb.python/py-type.exp
13626 * gdb.python/py-value.exp
13627 * gdb.python/py-xmethods.exp
13628 * gdb.python/python.exp
13629 * gdb.reverse/break-precsave.exp
13630 * gdb.reverse/consecutive-precsave.exp
13631 * gdb.reverse/finish-precsave.exp
13632 * gdb.reverse/i386-precsave.exp
13633 * gdb.reverse/machinestate-precsave.exp
13634 * gdb.reverse/sigall-precsave.exp
13635 * gdb.reverse/solib-precsave.exp
13636 * gdb.reverse/step-precsave.exp
13637 * gdb.reverse/until-precsave.exp
13638 * gdb.reverse/watch-precsave.exp
13639 * gdb.server/ext-attach.exp
13640 * gdb.server/ext-restart.exp
13641 * gdb.server/ext-run.exp
13642 * gdb.server/ext-wrapper.exp
13643 * gdb.stabs/gdb11479.exp
13644 * gdb.stabs/weird.exp
13645 * gdb.threads/attach-many-short-lived-threads.exp
13646 * gdb.threads/kill.exp
13647 * gdb.threads/watchpoint-fork.exp
13648
bc6c7af4
LM
136492016-12-01 Luis Machado <lgustavo@codesourcery.com>
13650
13651 Fix test names starting with uppercase throughout all the files below.
13652
13653 * gdb.ada/array_return.exp
13654 * gdb.ada/catch_ex.exp
13655 * gdb.ada/info_exc.exp
13656 * gdb.ada/mi_catch_ex.exp
13657 * gdb.ada/mi_dyn_arr.exp
13658 * gdb.ada/mi_ex_cond.exp
13659 * gdb.ada/mi_exc_info.exp
13660 * gdb.ada/mi_interface.exp
13661 * gdb.ada/mi_task_arg.exp
13662 * gdb.ada/mi_task_info.exp
13663 * gdb.ada/mi_var_array.exp
13664 * gdb.arch/alpha-step.exp
13665 * gdb.arch/amd64-disp-step.exp
13666 * gdb.arch/arm-disp-step.exp
13667 * gdb.arch/disp-step-insn-reloc.exp
13668 * gdb.arch/e500-prologue.exp
13669 * gdb.arch/ftrace-insn-reloc.exp
13670 * gdb.arch/gdb1558.exp
13671 * gdb.arch/i386-bp_permanent.exp
13672 * gdb.arch/i386-disp-step.exp
13673 * gdb.arch/i386-float.exp
13674 * gdb.arch/i386-gnu-cfi.exp
13675 * gdb.arch/ia64-breakpoint-shadow.exp
13676 * gdb.arch/mips16-thunks.exp
13677 * gdb.arch/pa-nullify.exp
13678 * gdb.arch/powerpc-aix-prologue.exp
13679 * gdb.arch/powerpc-power.exp
13680 * gdb.arch/ppc-dfp.exp
13681 * gdb.arch/s390-tdbregs.exp
13682 * gdb.arch/spu-info.exp
13683 * gdb.arch/spu-ls.exp
13684 * gdb.arch/thumb-bx-pc.exp
13685 * gdb.base/advance.exp
13686 * gdb.base/annota-input-while-running.exp
13687 * gdb.base/arrayidx.exp
13688 * gdb.base/asmlabel.exp
13689 * gdb.base/async.exp
13690 * gdb.base/attach-wait-input.exp
13691 * gdb.base/auto-connect-native-target.exp
13692 * gdb.base/batch-preserve-term-settings.exp
13693 * gdb.base/bfp-test.exp
13694 * gdb.base/bigcore.exp
13695 * gdb.base/bp-permanent.exp
13696 * gdb.base/break-always.exp
13697 * gdb.base/break-fun-addr.exp
13698 * gdb.base/break-idempotent.exp
13699 * gdb.base/break-main-file-remove-fail.exp
13700 * gdb.base/break-probes.exp
13701 * gdb.base/break-unload-file.exp
13702 * gdb.base/break.exp
13703 * gdb.base/call-ar-st.exp
13704 * gdb.base/call-rt-st.exp
13705 * gdb.base/call-sc.exp
13706 * gdb.base/call-signal-resume.exp
13707 * gdb.base/call-strs.exp
13708 * gdb.base/callexit.exp
13709 * gdb.base/callfuncs.exp
13710 * gdb.base/catch-gdb-caused-signals.exp
13711 * gdb.base/catch-signal-siginfo-cond.exp
13712 * gdb.base/catch-syscall.exp
13713 * gdb.base/compare-sections.exp
13714 * gdb.base/cond-eval-mode.exp
13715 * gdb.base/condbreak-call-false.exp
13716 * gdb.base/consecutive-step-over.exp
13717 * gdb.base/cursal.exp
13718 * gdb.base/disabled-location.exp
13719 * gdb.base/disasm-end-cu.exp
13720 * gdb.base/display.exp
13721 * gdb.base/double-prompt-target-event-error.exp
13722 * gdb.base/dprintf-bp-same-addr.exp
13723 * gdb.base/dprintf-detach.exp
13724 * gdb.base/dprintf-next.exp
13725 * gdb.base/dprintf-non-stop.exp
13726 * gdb.base/dprintf-pending.exp
13727 * gdb.base/dso2dso.exp
13728 * gdb.base/ending-run.exp
13729 * gdb.base/enum_cond.exp
13730 * gdb.base/examine-backward.exp
13731 * gdb.base/exe-lock.exp
13732 * gdb.base/exec-invalid-sysroot.exp
13733 * gdb.base/execl-update-breakpoints.exp
13734 * gdb.base/execution-termios.exp
13735 * gdb.base/fileio.exp
13736 * gdb.base/fixsection.exp
13737 * gdb.base/foll-exec-mode.exp
13738 * gdb.base/foll-exec.exp
13739 * gdb.base/fork-running-state.exp
13740 * gdb.base/frame-args.exp
13741 * gdb.base/fullpath-expand.exp
13742 * gdb.base/func-ptr.exp
13743 * gdb.base/gcore-relro-pie.exp
13744 * gdb.base/gdb1090.exp
13745 * gdb.base/gdb1555.exp
13746 * gdb.base/global-var-nested-by-dso.exp
13747 * gdb.base/gnu-ifunc.exp
13748 * gdb.base/hbreak-in-shr-unsupported.exp
13749 * gdb.base/hbreak-unmapped.exp
13750 * gdb.base/hook-stop.exp
13751 * gdb.base/infcall-input.exp
13752 * gdb.base/info-fun.exp
13753 * gdb.base/info-shared.exp
13754 * gdb.base/interrupt-noterm.exp
13755 * gdb.base/jit-so.exp
13756 * gdb.base/jit.exp
13757 * gdb.base/line-symtabs.exp
13758 * gdb.base/list.exp
13759 * gdb.base/longjmp.exp
13760 * gdb.base/macscp.exp
13761 * gdb.base/max-value-size.exp
13762 * gdb.base/nodebug.exp
13763 * gdb.base/nofield.exp
13764 * gdb.base/overlays.exp
13765 * gdb.base/paginate-after-ctrl-c-running.exp
13766 * gdb.base/paginate-bg-execution.exp
13767 * gdb.base/paginate-inferior-exit.exp
13768 * gdb.base/pending.exp
13769 * gdb.base/pr11022.exp
13770 * gdb.base/printcmds.exp
13771 * gdb.base/ptr-typedef.exp
13772 * gdb.base/ptype.exp
13773 * gdb.base/randomize.exp
13774 * gdb.base/range-stepping.exp
13775 * gdb.base/realname-expand.exp
13776 * gdb.base/relativedebug.exp
13777 * gdb.base/remote.exp
13778 * gdb.base/savedregs.exp
13779 * gdb.base/sepdebug.exp
13780 * gdb.base/set-noassign.exp
13781 * gdb.base/shlib-call.exp
13782 * gdb.base/shreloc.exp
13783 * gdb.base/sigaltstack.exp
13784 * gdb.base/sigbpt.exp
13785 * gdb.base/siginfo-addr.exp
13786 * gdb.base/siginfo-obj.exp
13787 * gdb.base/siginfo-thread.exp
13788 * gdb.base/signest.exp
13789 * gdb.base/signull.exp
13790 * gdb.base/sigrepeat.exp
13791 * gdb.base/skip.exp
13792 * gdb.base/so-impl-ld.exp
13793 * gdb.base/solib-corrupted.exp
13794 * gdb.base/solib-disc.exp
13795 * gdb.base/solib-display.exp
13796 * gdb.base/solib-overlap.exp
13797 * gdb.base/solib-search.exp
13798 * gdb.base/solib-symbol.exp
13799 * gdb.base/source-execution.exp
13800 * gdb.base/sss-bp-on-user-bp-2.exp
13801 * gdb.base/sss-bp-on-user-bp.exp
13802 * gdb.base/stack-checking.exp
13803 * gdb.base/stale-infcall.exp
13804 * gdb.base/step-break.exp
13805 * gdb.base/step-line.exp
13806 * gdb.base/step-over-exit.exp
13807 * gdb.base/step-test.exp
13808 * gdb.base/structs.exp
13809 * gdb.base/sym-file.exp
13810 * gdb.base/symtab-search-order.exp
13811 * gdb.base/term.exp
13812 * gdb.base/type-opaque.exp
13813 * gdb.base/unload.exp
13814 * gdb.base/until-nodebug.exp
13815 * gdb.base/until.exp
13816 * gdb.base/unwindonsignal.exp
13817 * gdb.base/watch-cond.exp
13818 * gdb.base/watch-non-mem.exp
13819 * gdb.base/watch_thread_num.exp
13820 * gdb.base/watchpoint-reuse-slot.exp
13821 * gdb.base/watchpoint-solib.exp
13822 * gdb.base/watchpoint.exp
13823 * gdb.btrace/dlopen.exp
13824 * gdb.cell/arch.exp
13825 * gdb.cell/break.exp
13826 * gdb.cell/bt.exp
13827 * gdb.cell/core.exp
13828 * gdb.cell/data.exp
13829 * gdb.cell/dwarfaddr.exp
13830 * gdb.cell/ea-cache.exp
13831 * gdb.cell/ea-standalone.exp
13832 * gdb.cell/ea-test.exp
13833 * gdb.cell/f-regs.exp
13834 * gdb.cell/fork.exp
13835 * gdb.cell/gcore.exp
13836 * gdb.cell/mem-access.exp
13837 * gdb.cell/ptype.exp
13838 * gdb.cell/registers.exp
13839 * gdb.cell/sizeof.exp
13840 * gdb.cell/solib-symbol.exp
13841 * gdb.cell/solib.exp
13842 * gdb.compile/compile-tls.exp
13843 * gdb.cp/exception.exp
13844 * gdb.cp/gdb2495.exp
13845 * gdb.cp/local.exp
13846 * gdb.cp/mb-inline.exp
13847 * gdb.cp/mb-templates.exp
13848 * gdb.cp/pr10687.exp
13849 * gdb.cp/pr9167.exp
13850 * gdb.cp/scope-err.exp
13851 * gdb.cp/templates.exp
13852 * gdb.cp/virtfunc.exp
13853 * gdb.dwarf2/dw2-dir-file-name.exp
13854 * gdb.dwarf2/dw2-single-line-discriminators.exp
13855 * gdb.fortran/complex.exp
13856 * gdb.fortran/library-module.exp
13857 * gdb.guile/guile.exp
13858 * gdb.guile/scm-cmd.exp
13859 * gdb.guile/scm-frame-inline.exp
13860 * gdb.guile/scm-objfile.exp
13861 * gdb.guile/scm-pretty-print.exp
13862 * gdb.guile/scm-symbol.exp
13863 * gdb.guile/scm-type.exp
13864 * gdb.guile/scm-value.exp
13865 * gdb.linespec/keywords.exp
13866 * gdb.linespec/ls-errs.exp
13867 * gdb.linespec/macro-relative.exp
13868 * gdb.linespec/thread.exp
13869 * gdb.mi/mi-breakpoint-changed.exp
13870 * gdb.mi/mi-dprintf-pending.exp
13871 * gdb.mi/mi-fullname-deleted.exp
13872 * gdb.mi/mi-logging.exp
13873 * gdb.mi/mi-pending.exp
13874 * gdb.mi/mi-solib.exp
13875 * gdb.mi/new-ui-mi-sync.exp
13876 * gdb.mi/user-selected-context-sync.exp
13877 * gdb.multi/dummy-frame-restore.exp
13878 * gdb.multi/multi-arch-exec.exp
13879 * gdb.multi/remove-inferiors.exp
13880 * gdb.multi/watchpoint-multi-exit.exp
13881 * gdb.opt/solib-intra-step.exp
13882 * gdb.perf/backtrace.exp
13883 * gdb.perf/single-step.exp
13884 * gdb.perf/skip-command.exp
13885 * gdb.perf/skip-prologue.exp
13886 * gdb.perf/solib.exp
13887 * gdb.python/lib-types.exp
13888 * gdb.python/py-as-string.exp
13889 * gdb.python/py-bad-printers.exp
13890 * gdb.python/py-block.exp
13891 * gdb.python/py-breakpoint.exp
13892 * gdb.python/py-cmd.exp
13893 * gdb.python/py-events.exp
13894 * gdb.python/py-evthreads.exp
13895 * gdb.python/py-finish-breakpoint.exp
13896 * gdb.python/py-finish-breakpoint2.exp
13897 * gdb.python/py-frame-inline.exp
13898 * gdb.python/py-frame.exp
13899 * gdb.python/py-inferior.exp
13900 * gdb.python/py-infthread.exp
13901 * gdb.python/py-mi.exp
13902 * gdb.python/py-objfile.exp
13903 * gdb.python/py-pp-maint.exp
13904 * gdb.python/py-pp-registration.exp
13905 * gdb.python/py-prettyprint.exp
13906 * gdb.python/py-recurse-unwind.exp
13907 * gdb.python/py-shared.exp
13908 * gdb.python/py-symbol.exp
13909 * gdb.python/py-symtab.exp
13910 * gdb.python/py-template.exp
13911 * gdb.python/py-type.exp
13912 * gdb.python/py-unwind-maint.exp
13913 * gdb.python/py-unwind.exp
13914 * gdb.python/py-value.exp
13915 * gdb.python/python.exp
13916 * gdb.reverse/finish-reverse-bkpt.exp
13917 * gdb.reverse/insn-reverse.exp
13918 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13919 * gdb.reverse/solib-precsave.exp
13920 * gdb.reverse/solib-reverse.exp
13921 * gdb.stabs/gdb11479.exp
13922 * gdb.stabs/weird.exp
13923 * gdb.threads/fork-child-threads.exp
13924 * gdb.threads/fork-plus-threads.exp
13925 * gdb.threads/fork-thread-pending.exp
13926 * gdb.threads/forking-threads-plus-breakpoint.exp
13927 * gdb.threads/hand-call-in-threads.exp
13928 * gdb.threads/interrupted-hand-call.exp
13929 * gdb.threads/linux-dp.exp
13930 * gdb.threads/local-watch-wrong-thread.exp
13931 * gdb.threads/next-while-other-thread-longjmps.exp
13932 * gdb.threads/non-ldr-exit.exp
13933 * gdb.threads/pending-step.exp
13934 * gdb.threads/print-threads.exp
13935 * gdb.threads/process-dies-while-detaching.exp
13936 * gdb.threads/process-dies-while-handling-bp.exp
13937 * gdb.threads/pthreads.exp
13938 * gdb.threads/queue-signal.exp
13939 * gdb.threads/reconnect-signal.exp
13940 * gdb.threads/signal-command-handle-nopass.exp
13941 * gdb.threads/signal-command-multiple-signals-pending.exp
13942 * gdb.threads/signal-delivered-right-thread.exp
13943 * gdb.threads/signal-sigtrap.exp
13944 * gdb.threads/sigthread.exp
13945 * gdb.threads/staticthreads.exp
13946 * gdb.threads/stepi-random-signal.exp
13947 * gdb.threads/thread-unwindonsignal.exp
13948 * gdb.threads/thread_check.exp
13949 * gdb.threads/thread_events.exp
13950 * gdb.threads/tid-reuse.exp
13951 * gdb.threads/tls-nodebug.exp
13952 * gdb.threads/tls-shared.exp
13953 * gdb.threads/tls-so_extern.exp
13954 * gdb.threads/tls.exp
13955 * gdb.threads/wp-replication.exp
13956 * gdb.trace/actions-changed.exp
13957 * gdb.trace/actions.exp
13958 * gdb.trace/backtrace.exp
13959 * gdb.trace/change-loc.exp
13960 * gdb.trace/collection.exp
13961 * gdb.trace/deltrace.exp
13962 * gdb.trace/disconnected-tracing.exp
13963 * gdb.trace/entry-values.exp
13964 * gdb.trace/ftrace-lock.exp
13965 * gdb.trace/ftrace.exp
13966 * gdb.trace/infotrace.exp
13967 * gdb.trace/mi-trace-frame-collected.exp
13968 * gdb.trace/mi-trace-unavailable.exp
13969 * gdb.trace/mi-traceframe-changed.exp
13970 * gdb.trace/mi-tracepoint-changed.exp
13971 * gdb.trace/mi-tsv-changed.exp
13972 * gdb.trace/no-attach-trace.exp
13973 * gdb.trace/packetlen.exp
13974 * gdb.trace/passc-dyn.exp
13975 * gdb.trace/passcount.exp
13976 * gdb.trace/pending.exp
13977 * gdb.trace/pr16508.exp
13978 * gdb.trace/qtro.exp
13979 * gdb.trace/range-stepping.exp
13980 * gdb.trace/read-memory.exp
13981 * gdb.trace/report.exp
13982 * gdb.trace/save-trace.exp
13983 * gdb.trace/signal.exp
13984 * gdb.trace/stap-trace.exp
13985 * gdb.trace/status-stop.exp
13986 * gdb.trace/strace.exp
13987 * gdb.trace/tfile.exp
13988 * gdb.trace/tfind.exp
13989 * gdb.trace/trace-break.exp
13990 * gdb.trace/trace-condition.exp
13991 * gdb.trace/trace-enable-disable.exp
13992 * gdb.trace/trace-mt.exp
13993 * gdb.trace/tracecmd.exp
13994 * gdb.trace/tracefile-pseudo-reg.exp
13995 * gdb.trace/tspeed.exp
13996 * gdb.trace/tstatus.exp
13997 * gdb.trace/tsv.exp
13998 * gdb.trace/unavailable.exp
13999 * gdb.trace/while-dyn.exp
14000 * gdb.trace/while-stepping.exp
14001 * lib/gdb-guile.exp
14002 * lib/gdb.exp
14003 * lib/mi-support.exp
14004 * lib/pascal.exp
14005 * lib/perftest.exp
14006 * lib/prelink-support.exp
14007 * lib/selftest-support.exp
14008
ad02e4fe
SM
140092016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14010
14011 * Makefile.in: Include disable-implicit-rules.mk.
14012
22347e55
AA
140132016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14014
14015 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14016 non-byte-aligned bit fields.
14017
da5b30da
AA
140182016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14019
14020 PR gdb/12616
14021 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14022 respects the DW_AT_data_bit_offset attribute.
14023
b593ecca
SM
140242016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14025
14026 * gdb.base/default.exp: Fix output of "set language".
14027
3b165252
SM
140282016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14029
14030 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14031 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14032 make.
14033 * configure.ac: Remove checks for the make program.
14034 * configure: Re-generate.
14035
1a2f3d7f
KB
140362016-11-16 Kevin Buettner <kevinb@redhat.com>
14037
14038 * gdb.python/py-recurse-unwind.c (main): Add loop.
14039 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14040 to read_register() and gdb.parse_and_eval(). Make each code
14041 call a separate case that can be individually tested.
14042 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14043 proc. Call cont_and_backtrace for each of the code paths that
14044 we want to test in the unwinder.
14045
b7f38fda
AA
140462016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14047
14048 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14049 the definition of struct S.
14050
1f8db343
CM
140512016-11-11 Catherine Moore <clm@codesourcery.com>
14052
14053 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14054
fad0c9fb
PA
140552016-11-09 Pedro Alves <palves@redhat.com>
14056
14057 * gdb.base/commands.exp (runto_or_return): New procedure.
14058 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14059 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14060 (progvar_simple_while_test, progvar_complex_if_while_test)
14061 (if_while_breakpoint_command_test)
14062 (infrun_breakpoint_command_test, breakpoint_command_test)
14063 (user_defined_command_test, watchpoint_command_test)
14064 (test_command_prompt_position, redefine_hook_test)
14065 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14066 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14067 multi_line_input and multi_line. Remove gdb_expect and
14068 gdb_stop_suppressing_tests uses.
14069 * lib/gdb.exp (valnum_re): New global.
14070 (multi_line_input): New procedure.
14071
8354c62c
SM
140722016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14073
14074 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14075 Remove.
14076 (test_setup): Define with proc_with_prefix.
14077 (test_cli_inferior): Likewise.
14078 (test_cli_thread): Likewise.
14079 (test_cli_frame): Likewise.
14080 (test_cli_select_frame): Likewise.
14081 (test_cli_up_down): Likewise.
14082 (test_mi_thread_select): Likewise.
14083 (test_mi_stack_select_frame): Likewise.
14084 (test_cli_in_mi_inferior): Likewise.
14085 (test_cli_in_mi_thread): Likewise.
14086 (test_cli_in_mi_frame): Likewise.
14087 (top level): Do not use with_test_prefix_procname.
14088
64f367a2
PA
140892016-11-09 Pedro Alves <palves@redhat.com>
14090
14091 * gdb.base/commands.exp (gdbvar_simple_if_test)
14092 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14093 (progvar_simple_if_test, progvar_simple_while_test)
14094 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14095 (infrun_breakpoint_command_test, breakpoint_command_test)
14096 (user_defined_command_test, watchpoint_command_test)
14097 (test_command_prompt_position, deprecated_command_test)
14098 (bp_deleted_in_command, temporary_breakpoint_commands)
14099 (stray_arg0_test, source_file_with_indented_comment)
14100 (recursive_source_test, if_commands_test)
14101 (error_clears_commands_left, redefine_hook_test)
14102 (redefine_backtrace_test): Use proc_with_prefix.
14103 * lib/gdb.exp (proc_with_prefix): New proc.
14104
0bb65f1e
AA
141052016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14106
14107 * gdb.base/tui-layout.c: New file.
14108 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14109 disassembly window contains very long lines.
14110
7353f247
TT
141112016-11-08 Tom Tromey <tom@tromey.com>
14112
14113 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14114 depend on Python 2.
14115
30a7bb83
TT
141162016-11-08 Tom Tromey <tom@tromey.com>
14117
14118 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14119 New method.
14120
cdf5a07c
MG
141212016-10-29 Manish Goregaokar <manish@mozilla.com>
14122
2806dc7e 14123 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14124
51a789c3
MG
141252016-10-27 Manish Goregaokar <manish@mozilla.com>
14126
2806dc7e
PA
14127 * gdb.rust/simple.rs: Add test for univariant enums without
14128 discriminants and for encoded struct-like enums.
51a789c3 14129
f610ab6d
PA
141302016-10-28 Pedro Alves <palves@redhat.com>
14131
14132 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14133 gdb_test_multiple, tighten regexps and match symtabs and line
14134 tables incrementally.
14135
b129b0ca
LM
141362016-10-28 Luis Machado <lgustavo@codesourcery.com>
14137
14138 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14139 general.
14140
ecf45d2c
SL
141412016-10-25 Luis Machado <lgustavo@codesourcery.com>
14142
14143 * gdb.base/exec-invalid-sysroot.exp: New file.
14144
b8d38ee4
JK
141452016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14146
14147 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14148
f90fd8c2
JK
141492016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14150
14151 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14152
2d2476aa
MR
141532016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14154
2806dc7e
PA
14155 * gdb.base/killed-outside.exp: Remove $options from a call to
14156 `prepare_for_testing'.
2d2476aa 14157
e42b25a0
SM
141582016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14159
14160 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14161 Change test message.
14162
3ccdb432
SM
141632016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14164
14165 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14166 Update comment.
14167
5bad3170
SM
141682016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14169
14170 * gdb.trace/mi-trace-save.exp: New file.
14171
5ad9dba7
YQ
141722016-10-13 Yao Qi <yao.qi@linaro.org>
14173
14174 * gdb.base/code_elim.exp (get_var_address): Remove.
14175 * gdb.base/relocate.exp: Likewise.
14176 * gdb.base/shreloc.exp: Likewise.
14177 * lib/gdb.exp (get_var_address): New.
14178
62df7e21
YQ
141792016-10-13 Yao Qi <yao.qi@linaro.org>
14180
14181 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14182 floating point tests if $skip_float_test is false.
14183
4dac951e
LM
141842016-10-12 Luis Machado <lgustavo@codesourcery.com>
14185
14186 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14187 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14188 argc values.
14189 Add 1 to argc so we guarantee distinct initial/modified argc values.
14190
8f1a8fc4
JK
141912016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14192
14193 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14194
16c85b5d
JK
141952016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14196
14197 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14198 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14199 * gdb.arch/vsx-regs.exp: Likewise.
14200
1d0e042a
YQ
142012016-10-07 Yao Qi <yao.qi@linaro.org>
14202
14203 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14204
68dadef5
MM
142052016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14206
14207 * gdb.python/python.exp: Test decode_line("*0").
14208
33fa2c6e
DE
142092016-10-06 Doug Evans <dje@google.com>
14210
14211 * gdb.python/py-value.exp (test_value_creation): Add test for large
14212 unsigned 64-bit value.
14213
9c37b5ae
TT
142142016-10-06 Tom Tromey <tom@tromey.com>
14215
14216 * gdb.compile/compile.exp: Change java tests to rust.
14217 * gdb.base/setshow.exp: Change java tests to rust.
14218 * gdb.base/default.exp: Remove java from language list.
14219 * README (Examples): Update language example.
14220 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14221 test.
14222 * lib/gdb.exp (skip_java_tests): Remove.
14223 * lib/java.exp: Remove.
14224 * gdb.java: Remove.
14225
78b86327
MR
142262016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14227
14228 * gdb.arch/mips-fcr.exp: New test.
14229 * gdb.arch/mips-fcr.c: Source for the new test.
14230
7470adbb
MR
142312016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14232
14233 * gdb.base/solib-disc.exp: Use `standard_output_file'
14234 throughout.
14235
4a556533
PA
142362016-10-06 Pedro Alves <palves@redhat.com>
14237
14238 * gdb.base/jit-simple-dl.c: New file.
14239 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14240 * gdb.base/jit-simple.c: ... this.
14241 * gdb.base/jit-simple.exp (jit_run): Delete.
14242 (build_jit): New proc.
14243 (jit_test_reread): Recompile either the main program or the shared
14244 library, depending on what is being tested. Skip changing address
14245 if caller wants to. Compare before/after addresses. If testing
14246 standalone, explicitly load the binary. Test "maint info
14247 breakpoints".
14248 (top level): Add "standalone vs shared lib" and "change address"
14249 vs "same address" axes.
14250
5a122fbc
PA
142512016-10-06 Pedro Alves <palves@redhat.com>
14252
14253 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14254 call.
14255 (jit_run): Delete.
14256 (jit_test_reread): Use with_test_prefix. Reload the main binary
14257 explicitly. Compare the before/after addresses of the JIT
14258 descriptor.
14259
ee8da4b8
DE
142602016-08-15 Doug Evans <dje@google.com>
14261
14262 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14263 for single bitfields is bool.
14264 * gdb.xml/tdesc-regs.exp: Ditto.
14265
f389f6fe
JK
142662016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14267
14268 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14269
fdebf1a4
YQ
142702016-10-05 Yao Qi <yao.qi@linaro.org>
14271
14272 * lib/gdb.exp (support_complex_tests): Return zero if
14273 gdb_skip_float_test return true.
14274
9c36d954 142752016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14276 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14277
14278 PR gdb/20487
14279 * gdb.mi/user-selected-context-sync.exp: New file.
14280 * gdb.mi/user-selected-context-sync.c: New file.
14281
4034d0ff 142822016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14283 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14284
14285 PR gdb/20487
14286 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14287 =thread-select-event check.
14288
a4297203
PB
142892016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14290
14291 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14292 the compulsory L operand changes.
14293 * gdb.arch/powerpc-power.s: Likewise.
14294
bb805577
JK
142952016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14296
14297 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14298 * gdb.base/jit-attach-pie.c: New file.
14299 * gdb.base/jit-attach-pie.exp: New file.
14300
6d61dee5
PA
143012016-09-28 Pedro Alves <palves@redhat.com>
14302
14303 * gdb.base/infcall-input.c: New file.
14304 * gdb.base/infcall-input.exp: New file.
14305
f73842fc
YQ
143062016-09-22 Yao Qi <yao.qi@linaro.org>
14307
14308 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14309 (gdb_exit): Rename it to ...
14310 (gdbserver_gdb_exit): ... Close GDBserver.
14311 (gdb_exit): New proc, call gdbserver_gdb_exit.
14312 (mi_gdb_exit): Likewise.
14313
90681dab
YQ
143142016-09-22 Yao Qi <yao.qi@linaro.org>
14315
14316 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14317 path.
14318 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14319 Remove duplication.
14320
9c211fd8
YQ
143212016-09-22 Yao Qi <yao.qi@linaro.org>
14322
14323 * lib/gdbserver-support.exp: Check the existence of
14324 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14325
ad0a504f
AK
143262016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14327
14328 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14329
36cf1806
TT
143302016-09-21 Tom Tromey <tom@tromey.com>
14331
14332 PR gdb/20604:
14333 * gdb.base/quit.exp: New file.
14334
74172ecf
SM
143352016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14336
14337 * .gitignore: New file.
14338
3d0ec882
MR
143392016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14340
14341 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14342 throughout.
14343
8193adea
AA
143442016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14345
14346 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14347
d41a5c09
JK
143482016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14349
14350 * gdb.cp/casts.cc (decltype): Move it ...
14351 (main): ... with its call to ...
14352 * gdb.cp/casts03.cc: ... a new file.
14353 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14354
d2dfe700
JK
143552016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14356
14357 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14358
e2a92b16
PB
143592016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14360
14361 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14362 and sync up the test with tests in gas/testsuite/gas/ppc.
14363 * gdb.arch/powerpc-power.exp: Likewise.
14364
49b4de64
JK
143652016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14366
14367 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14368
2c29df25
SDJ
143692016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14370 Jan Kratochvil <jan.kratochvil@redhat.com>
14371
14372 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14373 make m1's definition to be different from m2's. Use 'dummy' as an
14374 argument for probe 'two'.
14375
cc3c2846
JB
143762016-09-10 Jon Beniston <jon@beniston.com>
14377
14378 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14379 for sim target.
14380
e1b2624a
AA
143812016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14382
14383 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14384 variable declaration.
14385 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14386 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14387 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14388 received HWCAP as its argument.
14389
4295e285
PA
143902016-09-06 Pedro Alves <palves@redhat.com>
14391
14392 * gdb.base/new-ui-pending-input.c: New file.
14393 * gdb.base/new-ui-pending-input.exp: New file.
14394 * gdb.exp (clear_gdb_spawn_id): New procedure.
14395 (with_spawn_id): Check whether gdb_spawn_id exists before
14396 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14397 on exit.
14398
00d5215e
UW
143992016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14400
14401 * gdb.base/float128.c: New file.
14402 * gdb.base/float128.exp: Likewise.
14403 * gdb.base/floatn.c: Likewise.
14404 * gdb.base/floatn.exp: Likewise.
14405
a9ff5f12
UW
144062016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14407
14408 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14409
f245535c
PA
144102016-09-05 Pedro Alves <palves@redhat.com>
14411
14412 PR backtrace/19927
14413 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14414 unwinders are immediately called as side effect of "source" or
14415 "disable unwinder" commands.
14416 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14417
ae9cf263
YQ
144182016-09-02 Yao Qi <yao.qi@linaro.org>
14419
14420 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14421 is true and $type is "float" or "double".
14422
27aba047
YQ
144232016-09-02 Yao Qi <yao.qi@linaro.org>
14424
14425 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14426 true.
14427 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14428 * gdb.base/call-rt-st.exp: Likewise.
14429 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14430 return value instead of gdb,skip_float_test.
14431 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14432 (do_function_calls): Use its return value instead of
14433 gdb,skip_float_test.
14434 * gdb.base/finish.exp: Likewise.
14435 * gdb.base/funcargs.exp: Likewise.
14436 * gdb.base/return.exp: Likewise.
14437 * gdb.base/return2.exp: Likewise.
14438 * gdb.base/varargs.exp: Likewise.
14439 * lib/gdb.exp (gdb_skip_float_test): Change it to
14440 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14441
5af962df
AA
144422016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14443
14444 * gdb.multi/tids.exp: Test "thread apply all".
14445
7fac6910
JK
144462016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14447
14448 * gdb.base/default.exp (tty): Remove.
14449
bb1fe4ac
KB
144502016-08-24 Kevin Buettner <kevinb@redhat.com>
14451
2806dc7e
PA
14452 * gdb.python/py-recurse-unwind.c: New file.
14453 * gdb.python/py-recurse-unwind.py: New file.
14454 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14455
0a1ddfa6
SM
144562016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14457
14458 * gdb.base/set-inferior-tty.exp: New file.
14459 * gdb.base/set-inferior-tty.c: New file.
14460
d9de1fe3
PA
144612016-08-23 Pedro Alves <palves@redhat.com>
14462
14463 PR gdb/20494
14464 * gdb.base/new-ui-echo.c: New file.
14465 * gdb.base/new-ui-echo.exp: New file.
14466
e9d9abd7
YQ
144672016-08-23 Yao Qi <yao.qi@linaro.org>
14468
14469 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14470 gdbserver_spawn.
14471 * gdb.server/connect-without-multi-process.exp (do_test):
14472 Likewise.
14473
3589529e
YQ
144742016-08-23 Yao Qi <yao.qi@linaro.org>
14475
14476 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14477 standalone_txt. Delete gdb_txt and standalone_txt on host
14478 and target. Spawn the binary on target. Copy files from
14479 target to host.
14480
6bb90213
PA
144812016-08-22 Pedro Alves <palves@redhat.com>
14482
14483 PR gdb/20505
14484 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14485 with_test_prefix. Factor out bits to ...
14486 (test_no_vdso): ... this new procedure.
14487
20c2c024
CL
144882016-08-19 Carl Love <cel@us.ibm.com>
14489
14490 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14491 maintaining separate logic for constructing the output path.
14492 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14493 * gdb.arch/ppc-dfp.exp: Likewise.
14494 * gdb.arch/ppc-fp.exp: Likewise.
14495 * gdb.arch/vsx-regs.exp: Likewise.
14496 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14497 binprefix for generating the additional binary files.
14498
0646e07d
PA
144992016-08-19 Pedro Alves <palves@redhat.com>
14500
14501 * gdb.trace/mi-trace-frame-collected.exp
14502 (test_trace_frame_collected): On x32, expect two registers.
14503
46da9242
CL
145042016-08-18 Carl Love <cel@us.ibm.com>
14505
14506 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14507 and sync up the test with tests in gas/testsuite/gas/ppc.
14508 * gdb.arch/powerpc-power.exp: Likewise.
14509
eb2332d7
SM
145102016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14511
14512 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14513 expected error message.
14514
63c61e04
SM
145152016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14516
14517 * gdb.multi/remove-inferiors.exp: New file.
14518 * gdb.multi/remove-inferiors.c: New file.
14519
7b17065f
YQ
145202016-08-12 Yao Qi <yao.qi@linaro.org>
14521
14522 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14523 argument list.
14524
01d3dedf
PA
145252016-08-10 Pedro Alves <palves@redhat.com>
14526
14527 PR gdb/19187
14528 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14529 setup_kfails.
14530
3eb7562a
PA
145312016-08-09 Pedro Alves <palves@redhat.com>
14532 Simon Marchi <simon.marchi@ericsson.com>
14533
14534 PR gdb/20418
14535 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14536 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14537
80614914
PA
145382016-08-09 Pedro Alves <palves@redhat.com>
14539
14540 PR mi/20431
14541 * gdb.mi/mi-cmd-error.exp: New file.
14542
f348d89a
PA
145432016-08-09 Pedro Alves <palves@redhat.com>
14544
14545 PR gdb/18653
14546 * gdb.base/signals-state-child.c: New file.
14547 * gdb.base/signals-state-child.exp: New file.
14548 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14549
e5ca03b4
PA
145502016-08-09 Pedro Alves <palves@redhat.com>
14551
14552 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14553
282a0691
TT
145542016-08-03 Tom Tromey <tom@tromey.com>
14555
14556 PR python/18565:
14557 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14558
41bfcd63
YQ
145592016-08-01 Yao Qi <yao.qi@linaro.org>
14560
14561 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14562 variable mode to "multi-process" if $multi_process is 1, otherwise
14563 set it to "single-process".
14564
e3465b24
YQ
145652016-08-01 Yao Qi <yao.qi@linaro.org>
14566
14567 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14568 * gdb.cp/cpexprs.exp: Likewise.
14569 * gdb.cp/m-static.exp: Likewise.
14570
0b31a4bc
TT
145712016-07-26 Tom Tromey <tom@tromey.com>
14572
14573 PR python/20190:
14574 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14575 test.
14576
e0461dbb
MM
145772016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14578
14579 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14580 selecting assembly source files.
14581 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14582 assembly source files.
14583 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14584 assembly source files.
14585 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14586 selecting assembly source files.
14587
8194e927
SM
145882016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14589
14590 * gdb.base/new-ui.exp (do_test_invalid_args): New
14591 procedure.
14592
c0272db5
TW
145932016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14594
14595 * gdb.btrace/reconnect.c: New file.
14596 * gdb.btrace/reconnect.exp: New file.
14597
e3487908
GKB
145982016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14599
14600 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14601 to test_catch_syscall_group.
14602 (test_catch_syscall_group): New.
14603
12df5c00
TT
146042016-07-21 Tom Tromey <tom@tromey.com>
14605
14606 * gdb.rust/simple.rs (main): Use empty struct expression.
14607 * gdb.rust/simple.exp: Add tests for empty struct expression.
14608
bae62ee2
YQ
146092016-07-21 Yao Qi <yao.qi@linaro.org>
14610
14611 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14612 if gdb_skip_xml_test is true on some targets.
14613
b1b53fb3
YQ
146142016-07-21 Yao Qi <yao.qi@linaro.org>
14615
14616 * gdb.server/solib-list.exp: Unset last_loaded_file.
14617
027d97f8
JK
146182016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14619
14620 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14621 "step into captured_main (args)".
14622
7674d381
JK
146232016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14624
14625 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14626
72b5d099
JK
146272016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14628
14629 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14630
1f960ced
PA
146312016-07-19 Pedro Alves <palves@redhat.com>
14632
14633 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14634 * gdb.opt/inline-bt.exp: Likewise.
14635 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14636 additional_flags=-Winline.
14637 * gdb.opt/inline-locals.exp: Likewise.
14638 * gdb.opt/inline-markers.c (ATTR): Define.
14639 (inlined_fn): Use it.
14640
f25827c1
YQ
146412016-07-19 Yao Qi <yao.qi@linaro.org>
14642
14643 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14644 (test_with_self): Remove some code. Remove argument executable.
14645 (top-level): Use do_self_tests.
14646
37539ebe
DB
146472016-07-15 Zachary Welch <zwelch@codesourcery.com>
14648 Don Breazeal <donb@codesourcery.com>
14649
14650 * gdb.base/maint.exp: Escape paths used in regular expressions.
14651 * gdb.stabs/weird.exp: Likewise.
14652
dac790e1
TT
146532016-07-13 Tom Tromey <tom@tromey.com>
14654
14655 PR python/15620, PR python/18620:
14656 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14657 (test_bkpt_events): New procs.
14658
93daf339
TT
146592016-07-13 Tom Tromey <tom@tromey.com>
14660
14661 PR python/17698:
14662 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14663 test.
14664 (test_watchpoints): Likewise.
14665 (test_bkpt_pending): New proc.
14666
6571a381
TT
146672016-07-13 Tom Tromey <tom@tromey.com>
14668
14669 PR cli/18053:
14670 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14671 completion test.
14672
e8732474
JK
146732016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14674
14675 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14676 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14677 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14678 f_label.
14679 (g): Rename g_end_lbl to g_label.
14680 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14681 low_pc and high_pc.
14682 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14683
e0f3fd7c
TT
146842016-07-12 Tom Tromey <tom@tromey.com>
14685
14686 PR python/19293:
14687 * gdb.python/py-unwind-maint.exp: Update tests.
14688
3cfe46b6
YQ
146892016-07-12 Yao Qi <yao.qi@linaro.org>
14690
14691 * lib/selftest-support.exp (selftest_setup): Match the output
14692 when captured_main is inlined.
14693
4f19a0e6
WT
146942016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14695
14696 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14697 New variables.
14698 (print this%a, print this%b, print this): New tests.
14699 * gdb.fortran/derived-types.f90 (this): New object and
14700 initialization.
14701
986cf455
SM
147022016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14703
14704 * gdb.ada/arraydim.exp: Remove extra directory level in build
14705 directory.
14706
f0464b23
SM
147072016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14708
14709 * lib/ada.exp: Remove extra directory level in build directory.
14710 * gdb.ada/cond_lang.exp: Likewise.
14711 * gdb.ada/exec_changed.exp: Likewise.
14712 * gdb.ada/lang_switch.exp: Likewise.
14713
42d94011
MG
147142016-07-06 Manish Goregaokar <manish@mozilla.com>
14715
2806dc7e
PA
14716 * simple.rs: Add test for raw pointer subscripting.
14717 * simple.exp: Add test expectations.
42d94011 14718
647c264c
YQ
147192016-07-05 Yao Qi <yao.qi@linaro.org>
14720
14721 * gdb.mi/mi-reverse.exp: Match =record-started output.
14722
20aa2c60
PA
147232016-07-01 Pedro Alves <palves@redhat.com>
14724
14725 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14726 procedure.
14727 (jit_reader_test): Test the jit reader's unwinder.
14728 * gdb.base/jithost.c (jit_function_00_code): New global.
14729 (main): Use memcpy to fill in the mmapped code, instead of poking
14730 bytes manually here.
14731 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14732 value.
14733 (read_debug_info): Save the function's range.
14734 (read_sp): New function.
14735 (unwind_frame): Use it. Also unwind RBP.
14736 (get_frame_id): Use read_sp.
14737 (gdb_init_reader): Use calloc instead of malloc.
14738 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14739 parameter. Use gdb_test_multiple.
14740
ced2dffb
PA
147412016-07-01 Pedro Alves <palves@redhat.com>
14742 Antoine Tremblay <antoine.tremblay@ericsson.com>
14743
14744 * gdb.threads/process-dies-while-detaching.c: New file.
14745 * gdb.threads/process-dies-while-detaching.exp: New file.
14746
63000888
PA
147472016-07-01 Pedro Alves <palves@redhat.com>
14748
14749 * gdb.multi/watchpoint-multi-exit.c: New file.
14750 * gdb.multi/watchpoint-multi-exit.exp: New file.
14751
038d4868
PA
147522016-06-30 Pedro Alves <palves@redhat.com>
14753
14754 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14755 unset inferior_spawn_id.
14756
994e9c83
PA
147572016-06-30 Pedro Alves <palves@redhat.com>
14758
14759 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14760 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14761
e5653468
YQ
147622016-06-29 Yao Qi <yao.qi@linaro.org>
14763
14764 * gdb.base/return.c: Add copyright header.
14765
803b47e5
TT
147662016-06-29 Tom Tromey <tom@tromey.com>
14767
14768 PR python/20129:
14769 * gdb.python/py-framefilter.exp: Add tests for setting priority
14770 and disabling of non-existent frame filter.
14771
28244707
YQ
147722016-06-29 Yao Qi <yao.qi@linaro.org>
14773
14774 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14775 0x0f07ff.
14776
a31d2f06
YQ
147772016-06-28 Yao Qi <yao.qi@linaro.org>
14778
14779 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14780 triplets. Start gdb, execute catch syscall, and continue. Check
14781 gdb's output to determine catch syscall is supported.
14782
921d8f54
MG
147832016-06-27 Manish Goregaokar <manish@mozilla.com>
14784
25d49b86
PA
14785 * gdb.rust/simple.rs: Add test for returning unit in a function.
14786 * gdb.rust/simple.exp: Add expectation for functions returning
14787 unit.
921d8f54 14788
f4952523
PMR
147892016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14790
14791 * gdb.python/py-breakpoint-create-fail.c,
14792 gdb.python/py-breakpoint-create-fail.exp,
14793 gdb.python/py-breakpoint-create-fail.py: New testcase.
14794
fccb08f8
MG
147952016-06-25 Manish Goregaokar <manish@mozilla.com>
14796
14797 PR gdb/20239
14798 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14799 * gdb.rust/simple.exp: Add test expectations for new NonZero
14800 tests.
fccb08f8 14801
6b850546
DT
148022016-06-24 David Taylor <dtaylor@emc.com>
14803
14804 * gdb.base/offsets.exp: New file.
14805 * gdb.base/offsets.c: New file.
14806
17621150
TT
148072016-06-23 Tom Tromey <tom@tromey.com>
14808
14809 PR gdb/16483:
14810 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14811 before any filters are loaded.
14812
04d59df6
WT
148132016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14814
14815 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14816 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14817 structs.
14818 * gdb.fortran/derived-type-function.exp: New file.
14819 * gdb.fortran/derived-type-function.f90: New file.
14820
14821
ac69f786
PA
148222016-06-21 Pedro Alves <palves@redhat.com>
14823
14824 * gdb.base/new-ui.exp: New file.
14825 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14826 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14827 (with_spawn_id): New procedure.
14828
49940788
PA
148292016-06-21 Pedro Alves <palves@redhat.com>
14830
14831 * gdb.mi/mi-exec-run.exp: New file.
14832
ef274d26
PA
148332016-06-21 Pedro Alves <palves@redhat.com>
14834
14835 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14836 breakpoint command's output on the main UI.
14837 (test_break): New procedure, factored out from calls in the top
14838 level.
14839 (top level): Use foreach_with_prefix to test MI as main UI and as
14840 separate UI.
14841
468afe6c
PA
148422016-06-21 Pedro Alves <palves@redhat.com>
14843
14844 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14845 (test_awatch_creation_and_listing)
14846 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14847 Remove 'type' parameter.
14848 (test_watchpoint_all): New parameter mi_mode. Remove
14849 with_test_prefix.
14850 (top level): Use foreach_with_prefix, and add main/separate UI MI
14851 testing axis.
14852
51f77c37
PA
148532016-06-21 Pedro Alves <palves@redhat.com>
14854
14855 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14856 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14857 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14858 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14859 (gdb_main_spawn_id, mi_spawn_id): Declare and
14860 comment.
14861 (mi_create_inferior_pty): New procedure,
14862 factored out from default_mi_gdb_start.
14863 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14864 procedures.
14865 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14866 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14867 Use mi_create_inferior_pty.
14868 (mi_gdb_start): Use eval to pass down args list.
14869
8980e177
PA
148702016-06-21 Pedro Alves <palves@redhat.com>
14871
14872 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14873 * gdb.opt/inline-cmds.exp: Add MI tests.
14874
f38d3ad1
PA
148752016-06-21 Pedro Alves <palves@redhat.com>
14876
14877 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14878
45db7c09
PA
148792016-06-21 Pedro Alves <palves@redhat.com>
14880
14881 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14882 (top level): Use it instead of mi_execute_to.
14883
5a069ab3
PA
148842016-06-21 Pedro Alves <palves@redhat.com>
14885
14886 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14887 (cont_handler_str): New.
14888 (signal_stop_handler): Set stop_handler_str instead of printing to
14889 stdout.
14890 (continue_handler): Set cont_handler_str instead of printing to
14891 stdout.
14892 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14893 mi_send_resuming_command. Print stop_handler_str and
14894 cont_handler_str instead of expecting the python events print
14895 directly.
14896
2838cc1d
SD
148972016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14898
14899 * gdb.base/jit-reader.exp: New file.
14900 * gdb.base/jithost.c: New file.
14901 * gdb.base/jithost.h: New file.
14902 * gdb.base/jitreader.c : New file.
14903 * gdb.base/jit-protocol.h: New file.
14904
21a77091
YQ
149052016-06-17 Yao Qi <yao.qi@linaro.org>
14906
14907 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14908 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14909 and detach-on-fork. Adjust tests.
14910 (top level): Invoke break_cond_on_syscall with combinations of
14911 syscall, follow-fork-mode and detach-on-fork.
14912
f50bf8e5
YQ
149132016-06-17 Yao Qi <yao.qi@linaro.org>
14914
14915 * gdb.base/step-over-exit.c: New.
14916 * gdb.base/step-over-exit.exp: New.
14917
a28d8e50
YTL
149182016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14919
14920 * gdb.base/float.exp: Add target check for nds32*-*-*.
14921 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14922
cad8e26d
AB
149232016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14924
14925 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14926 for unsupported target features.
14927 * gdb.base/call-rt-st.exp: Likewise.
14928 * gdb.base/call-sc.exp: Likewise.
14929 * gdb.base/call-signal-resume.exp: Likewise.
14930 * gdb.base/call-strs.exp: Likewise.
14931 * gdb.base/callexit.exp: Likewise.
14932 * gdb.base/callfuncs.exp: Likewise.
14933 * gdb.base/nodebug.exp: Likewise.
14934 * gdb.base/printcmds.exp: Likewise.
14935 * gdb.base/ptype.exp: Likewise.
14936 * gdb.base/structs.exp: Likewise.
14937 * gdb.base/unwindonsignal.exp: Likewise.
14938 * gdb.cp/gdb2495.exp: Likewise.
14939 * gdb.cp/templates.exp: Likewise.
14940 * gdb.cp/virtfunc.exp: Likewise.
14941 * gdb.threads/hand-call-in-threads.exp: Likewise.
14942 * gdb.threads/interrupted-hand-call.exp: Likewise.
14943 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14944
347dc102
TT
149452016-06-10 Tom Tromey <tom@tromey.com>
14946
14947 PR rust/20110:
14948 * gdb.rust/expr.exp: Add test for integer constant larger than
14949 i32.
14950
5e13cf25
BH
149512016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14952
14953 * gdb.fortran/nested-funcs.exp: New.
14954 * gdb.fortran/nested-funcs.f90: New.
14955
bb556f1f
TK
149562016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14957
14958 * gdb.base/examine-backward.c: New file.
14959 * gdb.base/examine-backward.exp: New file.
14960
38b022b4
SM
149612016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14962
14963 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14964 matching.
14965
1b40ec05
TT
149662016-06-02 Tom Tromey <tom@tromey.com>
14967
14968 PR python/18984:
14969 * gdb.python/py-shared.exp: Add solib_name test.
14970
193bd378
SM
149712016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14972
14973 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14974
3326303b
MG
149752016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14976
14977 PR c++/19893
14978 * gdb.dwarf2/implref.exp: Rename to...
14979 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14980 * gdb.dwarf2/implref-array.c: New file.
14981 * gdb.dwarf2/implref-array.exp: Likewise.
14982 * gdb.dwarf2/implref-global.c: Likewise.
14983 * gdb.dwarf2/implref-global.exp: Likewise.
14984 * gdb.dwarf2/implref-struct.c: Likewise.
14985 * gdb.dwarf2/implref-struct.exp: Likewise.
14986
825c8ef2
AT
149872016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14988
14989 * gdb.trace/trace-condition.exp: Add 64bit tests.
14990
2320162a
AT
149912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14992
14993 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14994 bits types.
14995 (main): Adapt to 8 to 64 bits types.
14996 * gdb.trace/trace-condition.exp: Add new tests.
14997
a7818233
AT
149982016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14999
15000 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15001
0d336466
AT
150022016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15003
15004 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15005 Move condition tests...
15006 * gdb.trace/trace-condition.exp: Here.
15007
7faeb45a
AT
150082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15009
15010 * gdb.trace/trace-condition.exp: Add counter-case tests.
15011
e385593e
JK
150122016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15013
15014 PR c++/15231
15015 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15016 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15017
744608cc
PA
150182016-05-27 Pedro Alves <palves@redhat.com>
15019
15020 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15021 New procedure.
15022 (top level): Call it, and bail out of DejaGnu is known to be bad.
15023
ac775bf4
AB
150242016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15025
15026 * gdb.base/whatis.c: Extend the test case.
15027 * gdb.base/whatis.exp: Add additional tests.
15028
2bbad2ea
BH
150292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15030
15031* gdb.fortran/type.f90: Add pointer variable.
15032* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15033
8b70175d
BH
150342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15035
15036 * gdb.fortran/vla-type.exp: Fix testcase name.
15037
86d8a848
BH
150382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15039
15040 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15041
e188eb36
BH
150422016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15043
15044 * gdb.fortran/type.f90: Add nested structures.
15045 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15046 * gdb.fortran/derived-type.exp: Adapt expected output.
15047 * gdb.fortran/vla-type.exp: Adapt expected output.
15048
9b2db1fd
BH
150492016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15050
15051 * gdb.fortran/whatis_type.exp: Adapt expected output.
15052
72b17055
BH
150532016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15054
15055 * gdb.fortran/print_type.exp: Fix expected output.
15056 * gdb.fortran/whatis_type.exp: Fix expected output.
15057
3cd81d8d
BH
150582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15059
15060 * gdb.fortran/whatis_type.exp: Use multi_line.
15061
ddae9462
TT
150622016-05-24 Tom Tromey <tom@tromey.com>
15063
15064 PR python/17386:
15065 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15066 use value as an index.
15067
1957f6b8
TT
150682016-05-23 Tom Tromey <tom@tromey.com>
15069
15070 PR python/17981:
15071 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15072 no-breakpoint case.
15073
026a9174
PA
150742016-05-24 Pedro Alves <palves@redhat.com>
15075
15076 PR gdb/19828
15077 * gdb.threads/clone-attach-detach.c: New file.
15078 * gdb.threads/clone-attach-detach.exp: New file.
15079
e70a7231
FR
150802016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15081
15082 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15083
0f6ed0e0
TT
150842016-05-23 Tom Tromey <tom@tromey.com>
15085
15086 PR python/19438, PR python/18393:
15087 * gdb.python/py-progspace.exp: Add "dir" test.
15088 * gdb.python/py-objfile.exp: Add "dir" test.
15089
ffd19d61
YQ
150902016-05-23 Yao Qi <yao.qi@linaro.org>
15091
15092 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15093 * gdb.arch/thumb2-it.exp: Likewise.
15094
9e8f9b05
SM
150952016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15096
15097 * gdb.mi/mi-threads-interrupt.c: New file.
15098 * gdb.mi/mi-threads-interrupt.exp: New file.
15099
61c6156d
SM
151002016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15101
15102 PR gdb/18077
15103 * gdb.mi/mi-async-run.exp: New file.
15104 * gdb.mi/mi-async-run.c: New file.
15105
67218854
TT
151062016-05-17 Tom Tromey <tom@tromey.com>
15107 Manish Goregaokar <manishsmail@gmail.com>
15108
15109 * lib/rust-support.exp: New file.
15110 * lib/gdb.exp (skip_rust_tests): New proc.
15111 (build_executable_from_specs): Handle rust.
15112 * lib/future.exp (gdb_find_rustc): New proc.
15113 (gdb_default_target_compile): Handle rust.
15114 * gdb.rust/expr.exp: New file.
15115 * gdb.rust/generics.exp: New file.
15116 * gdb.rust/generics.rs: New file.
15117 * gdb.rust/methods.exp: New file.
15118 * gdb.rust/methods.rs: New file.
15119 * gdb.rust/modules.exp: New file.
15120 * gdb.rust/modules.rs: New file.
15121 * gdb.rust/simple.exp: New file.
15122 * gdb.rust/simple.rs: New file.
15123
c44af4eb
TT
151242016-05-17 Tom Tromey <tom@tromey.com>
15125
15126 * gdb.base/default.exp (set language): Add rust.
15127
dcd1f979
TT
151282016-05-17 Tom Tromey <tom@tromey.com>
15129
15130 * gdb.gdb/unittest.exp: New file.
15131
155b7f57
YQ
151322016-05-16 Yao Qi <yao.qi@linaro.org>
15133
15134 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15135 shell_prompt. Update shell_prompt_re.
15136
8ddd5a6c
DE
151372016-05-12 Doug Evans <dje@google.com>
15138
15139 PR symtab/19999
15140 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15141 $options when building executable.
15142 * gdb.dwarf2/fission-loclists-pie.S: New file.
15143 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15144
02e370d9
SM
151452016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15146
15147 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15148 of [is_remote target],
15149
8929ad8b
SM
151502016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15151
15152 * lib/gdb.exp (use_gdb_stub): New procedure.
15153
6c447423
DE
151542016-05-03 Yunlian Jiang <yunlian@google.com>
15155 Doug Evans <dje@google.com>
15156
15157 PR symtab/19914
15158 * gdb.dwarf2/dwp-sepdebug.c: New file.
15159 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15160
444e826c
SM
151612016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15162
15163 * gdb.base/detach.exp: Remove is_remote check.
15164
740feeaa
SM
151652016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15166
15167 * gdb.base/annota-input-while-running.exp: Don't check for
15168 [is_remote target]. Enable annotations after running to main.
15169 Remove unused "set test..." line.
15170
9080ac9d
SM
151712016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15172
15173 * gdb.trace/trace-enable-disable.exp: New file.
15174 * gdb.trace/trace-enable-disable.c: New file.
15175
952ebca5
SM
151762016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15177
15178 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15179 use it in info sharedlibrary test.
15180 * gdb.trace/ftrace-lock.exp: Likewise.
15181 * gdb.trace/ftrace.exp: Likewise.
15182 * gdb.trace/range-stepping.exp: Likewise.
15183 * gdb.trace/trace-break.exp: Likewise.
15184 * gdb.trace/trace-condition.exp: Likewise.
15185 * gdb.trace/trace-mt.exp: Likewise.
15186
d9019901
SM
151872016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15188
15189 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15190 (gdb_load_shlib): ... this.
15191 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15192 gdb_load_shlib.
15193 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15194 * gdb.base/ctxobj.exp: Likewise.
15195 * gdb.base/dprintf-pending.exp: Likewise.
15196 * gdb.base/dso2dso.exp: Likewise.
15197 * gdb.base/fixsection.exp: Likewise.
15198 * gdb.base/gcore-relro.exp: Likewise.
15199 * gdb.base/gdb1555.exp: Likewise.
15200 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15201 * gdb.base/gnu-ifunc.exp: Likewise.
15202 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15203 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15204 * gdb.base/pending.exp: Likewise.
15205 * gdb.base/print-file-var.exp: Likewise.
15206 * gdb.base/print-symbol-loading.exp: Likewise.
15207 * gdb.base/shlib-call.exp: Likewise.
15208 * gdb.base/shreloc.exp: Likewise.
15209 * gdb.base/so-impl-ld.exp: Likewise.
15210 * gdb.base/solib-disc.exp: Likewise.
15211 * gdb.base/solib-nodir.exp: Likewise.
15212 * gdb.base/solib-overlap.exp: Likewise.
15213 * gdb.base/solib-symbol.exp: Likewise.
15214 * gdb.base/solib-weak.exp (do_test): Likewise.
15215 * gdb.base/sym-file.exp: Likewise.
15216 * gdb.base/symtab-search-order.exp: Likewise.
15217 * gdb.base/type-opaque.exp: Likewise.
15218 * gdb.base/unload.exp: Likewise.
15219 * gdb.base/watchpoint-solib.exp: Likewise.
15220 * gdb.compile/compile.exp: Likewise.
15221 * gdb.cp/gdb2384.exp: Likewise.
15222 * gdb.cp/infcall-dlopen.exp: Likewise.
15223 * gdb.cp/re-set-overloaded.exp: Likewise.
15224 * gdb.fortran/library-module.exp: Likewise.
15225 * gdb.opt/solib-intra-step.exp: Likewise.
15226 * gdb.python/py-finish-breakpoint.exp: Likewise.
15227 * gdb.python/py-shared.exp: Likewise.
15228 * gdb.reverse/solib-precsave.exp: Likewise.
15229 * gdb.reverse/solib-reverse.exp: Likewise.
15230 * gdb.server/solib-list.exp: Likewise.
15231 * gdb.threads/dlopen-libpthread.exp: Likewise.
15232 * gdb.threads/tls-shared.exp: Likewise.
15233 * gdb.threads/tls-so_extern.exp: Likewise.
15234 * gdb.trace/change-loc.exp: Likewise.
15235 * gdb.trace/ftrace-lock.exp: Likewise.
15236 * gdb.trace/ftrace.exp: Likewise.
15237 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15238 * gdb.trace/pending.exp: Likewise.
15239 * gdb.trace/range-stepping.exp: Likewise.
15240 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15241 (strace_info_marker): Likewise.
15242 (strace_probe_marker): Likewise.
15243 (strace_trace_on_same_addr): Likewise.
15244 (strace_trace_on_diff_addr): Likewise.
15245 * gdb.trace/trace-break.exp: Likewise.
15246 * gdb.trace/trace-condition.exp: Likewise.
15247 * gdb.trace/trace-mt.exp: Likewise.
15248
fca4cfd9
SM
152492016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15250
15251 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15252 result of gdb_remote_download.
15253 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15254 * gdb.base/dso2dso.exp: Likewise.
15255 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15256 * gdb.base/print-file-var.exp: Likewise.
15257 * gdb.base/shlib-call.exp: Likewise.
15258 * gdb.base/shreloc.exp: Likewise.
15259 * gdb.base/solib-overlap.exp: Likewise.
15260 * gdb.base/solib-weak.exp (do_test): Likewise.
15261 * gdb.base/unload.exp: Likewise.
15262
11cf4ffb
YQ
152632016-04-27 Yao Qi <yao.qi@linaro.org>
15264
15265 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15266 exists.
15267
3e2e34f8
KB
152682016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15269
15270 * vla-type.exp: Print structure from toplevel.
15271
8f07e298
BH
152722016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15273
15274 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15275 of dynamic types.
15276 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15277 of dynamic types.
15278
9920b434
BH
152792016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15280
15281 * gdb.fortran/vla-type.f90: New file.
15282 * gdb.fortran/vla-type.exp: New file.
15283
f3abeff5
YQ
152842016-04-25 Yao Qi <yao.qi@linaro.org>
15285
15286 * gdb.base/branch-to-self.c: New file.
15287 * gdb.base/branch-to-self.exp: New file.
15288
0a5d52f0
YQ
152892016-04-22 Yao Qi <yao.qi@linaro.org>
15290
15291 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15292 more after $hex.
15293
495346f6
YQ
152942016-04-22 Yao Qi <yao.qi@linaro.org>
15295
15296 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15297 * gdb.base/annota3.exp: Likewise.
15298
4a7e075c
YQ
152992016-04-22 Yao Qi <yao.qi@linaro.org>
15300
15301 * gdb.reverse/step-precsave.exp: Do one step and test program
15302 stops in "callee" and do multiple steps until program goes out
15303 of "callee".
15304 * gdb.reverse/step-reverse.exp: Likewise.
15305
5b061e98
YQ
153062016-04-22 Yao Qi <yao.qi@linaro.org>
15307
15308 * gdb.trace/signal.exp: Also pass if
15309 $tracepoint_hits($i) > $iterations.
15310
5c5dc57f
YQ
153112016-04-22 Yao Qi <yao.qi@linaro.org>
15312
15313 * gdb.trace/signal.c: New file.
15314 * gdb.trace/signal.exp: New file.
15315
a55411b9
DE
153162016-04-19 Doug Evans <xdje42@gmail.com>
15317
15318 * gdb.base/bad-file.exp: New file.
15319
a22df60a
MG
153202016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15321
15322 * gdb.dwarf2/implref.exp: New file.
15323
0c13f7e5
BH
153242016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15325
15326 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15327 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15328 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15329 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15330 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15331 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15332 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15333 * lib/fortran.exp (fortran_int4): New procedure.
15334 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15335 (fortran_logical4): Likewise.
15336
9b9b09e9
BH
153372016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15338
15339 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15340
a14d1f4d
BH
153412016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15342
15343 * lib/compiler.c: Add Intel specific preprocessor macros.
15344 * lib/compiler.cc: Likewise.
25d49b86 15345
7d49b1d0
LM
153462016-04-13 Luis Machado <lgustavo@codesourcery.com>
15347
15348 * gdb.server/connect-with-no-symbol-file.c: New file.
15349 * gdb.server/connect-with-no-symbol-file.exp: New file.
15350
8392fa22
SM
153512016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15352
15353 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15354
8c4c4aeb
SM
153552016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15356
15357 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15358 standard output directory.
15359
45e3745e
AT
153602016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15361
15362 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15363
e26b7e41
MM
153642016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15365
15366 * gdb.btrace/instruction_history.c (loop): Add declaration.
15367
8ce09462
AT
153682016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15369
15370 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15371
2e88a1ea
SM
153722016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15373
15374 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15375 parentheses to print.
15376 (continue_handler): Likewise.
15377
f48e22e3
SM
153782016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15379
15380 * gdb.server/solib-list.exp: Remove is_remote check.
15381 Pass shlib= to gdb_compile. Don't link shared library with
15382 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15383 Run binary filename through "readlink -f" on the target.
15384
096be756
PA
153852016-04-08 Pedro Alves <palves@redhat.com>
15386
15387 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15388 interpreter filename as argument to gdbserver_spawn.
15389 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15390 Return empty if $last_loaded_file does not exist.
15391
06500533
JK
153922016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15393
15394 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15395 * gdb.base/jit-main.c: Use exit after usage.
15396
2d35e871
JK
153972016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15398
15399 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15400 GDBHISTSIZE prior to the tests.
15401 * gdb.base/gdbinit-history.exp: Likewise.
15402
154032016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15404
15405 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15406 instead of build_executable. Use gdb_load_shlibs.
15407
c8064e7e
YQ
154082016-04-07 Yao Qi <yao.qi@linaro.org>
15409
15410 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15411 Execute "si" command.
15412
bde47561
YQ
154132016-04-07 Yao Qi <yao.qi@linaro.org>
15414
15415 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15416 number instead of the comments on some line.
15417
b16f8a3b
DB
154182016-04-06 Don Breazeal <donb@codesourcery.com>
15419
15420 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15421 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15422
c2f901df
SM
154232016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15424
15425 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15426 standard_output_file. Remove unused binfile variable.
15427
ac17fda0
CU
154282016-04-05 Catalin Udma <catalin.udma@freescale.com>
15429
15430 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15431 * gdb.python/py-mi-objfile.exp: Match "list main" output
15432 in console format.
15433
03a8c4df
SM
154342016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15435
15436 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15437 absolute.
15438
6e774b13
SM
154392016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15440
15441 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15442 absolute.
15443 * gdb.trace/ftrace.exp: Likewise.
15444 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15445 targets as well.
15446 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15447 (gdb_load_shlibs): Copy libraries to test directory when testing
15448 natively. Only set solib-search-path if testing remotely.
15449 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15450
7817ea46
SM
154512016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15452
15453 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15454 gdb_download. Use it even if the target is not remote.
15455 * gdb.base/jit.exp (compile_jit_test): Likewise.
15456 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15457 output directory if the destination board is local, otherwise use
15458 the standard remote_download from DejaGnu.
15459 (gdb_download): Remove.
15460 (gdb_load_shlibs): Use gdb_remote_download instead of
15461 gdb_download.
15462 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15463 Use gdb_remote_download instead of gdb_download. Use it even if
15464 the target is not remote.
15465 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15466 instead of gdb_download.
15467
7beb7f68
SM
154682016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15469
15470 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15471 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15472 run.
15473
cc63428a
AV
154742016-04-01 Artemiy Volkov <artemiyv@acm.org>
15475
15476 PR gdb/19820
15477 * gdb.base/printcmds.exp: Add artificial arrays tests.
15478
64cdf930
PA
154792016-03-31 Pedro Alves <palves@redhat.com>
15480
15481 PR gdb/19858
15482 * gdb.base/jit-main.c: Include unistd.h.
15483 (ATTACH): Define to 0 if not already defined.
15484 (wait_for_gdb, mypid): New globals.
15485 (WAIT_FOR_GDB): New macro.
15486 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15487 some breakpoint locations.
15488 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15489 New procedures.
15490 (one_jit_test): Add REATTACH parameter, and handle it. Use
15491 continue_to_test_location.
15492 (top level): Test attach, and adjusts calls to one_jit_test.
15493
40dea8cb
PA
154942016-03-31 Pedro Alves <palves@redhat.com>
15495
15496 PR gdb/19858
15497 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15498 BINSUFFIX parameter, and handle it.
15499 (top level): Adjust calls compile_jit_test.
15500
e7ea3ec7
CU
155012016-03-31 Catalin Udma <catalin.udma@freescale.com>
15502
15503 PR python/19743
15504 * gdb.python/py-mi-events-gdb.py: New file.
15505 * gdb.python/py-mi-events.c: New file.
15506 * gdb.python/py-mi-events.exp: New file.
15507
e6359af3
YQ
155082016-03-30 Yao Qi <yao.qi@linaro.org>
15509
15510 * gdb.reverse/until-precsave.exp: Match function name only.
15511 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15512 Move malloc to a condition block.
15513 * gdb.reverse/until-reverse.exp: Match function name only.
15514
a4105d04
MK
155152016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15516
15517 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15518 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15519 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15520 variable for GPR 0 instead of assuming it is register 0.
15521 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15522 * lib/trace-support.exp: Add s390 registers.
15523
bfa6adb9
YQ
155242016-03-29 Yao Qi <yao.qi@linaro.org>
15525
15526 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15527
1e6697ea
YQ
155282016-03-24 Yao Qi <yao.qi@linaro.org>
15529
15530 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15531 test message.
15532
64bcd522
AA
155332016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15534
15535 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15536 maintaining separate logic for constructing the output path.
15537
7868401b
DB
155382016-03-16 Don Breazeal <donb@codesourcery.com>
15539
15540 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15541 Retry fork and waitpid on interrupted system call errors.
15542 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15543 Use with_timeout_factor to increase timeout by factor of 10.
15544
1cafadb4
DB
155452016-03-15 Don Breazeal <donb@codesourcery.com>
15546
15547 * gdb.cp/scope-err.cc: New test program.
15548 * gdb.cp/scope-err.exp: New test script.
15549 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15550 lines and "set breakpoint here" comment.
15551 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15552 Fixed some whitespace and format issues.
15553 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15554 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15555
81516450
DE
155562016-03-15 Doug Evans <dje@google.com>
15557
15558 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15559 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15560 All callers updated. Add tests for enums, mixed flags register.
15561
aa52b601
DE
155622016-03-15 Doug Evans <dje@google.com>
15563
15564 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15565 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15566
fa4ff313
SM
155672016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15568
15569 * gdb.base/default.exp: Add $_as_string to the list of expected
15570 convenience functions.
15571
f2403c39
AB
155722016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15573
15574 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15575
f2f3ccb9
SM
155762016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15577
15578 * gdb.python/py-as-string.exp: New file.
15579 * gdb.python/py-as-string.c: New file.
15580
00dbd492
PA
155812016-03-09 Pedro Alves <palves@redhat.com>
15582
15583 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15584 signal" -> "Thread NN received signal" output change.
15585 * gdb.threads/ia64-sigill.exp: Likewise.
15586 * gdb.threads/linux-dp.exp: Likewise.
15587 * gdb.threads/manythreads.exp: Likewise.
15588 * gdb.threads/pending-step.exp: Likewise.
15589 * gdb.threads/print-threads.exp: Likewise.
15590 * gdb.threads/sigstep-threads.exp: Likewise.
15591 * gdb.threads/staticthreads.exp: Likewise.
15592 * gdb.threads/tls.exp: Likewise.
15593
1e6697ea
YQ
155942016-03-09 Pedro Alves <palves@redhat.com>
15595
15596 * gdb.base/command-line-input.exp: New file.
15597
b04fd3be
MK
155982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15599
15600 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15601 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15602 * gdb.trace/pending.exp: Accept leading dot before function name.
15603 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15604 * lib/trace-support.exp: Set registers for ppc.
15605
98fa59e9
MK
156062016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15607
15608 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15609 use it for disassembly; accept .main in addition to main in backtrace.
15610
f77198c8
MK
156112016-03-09 Wei-cheng Wang <cole945@gmail.com>
15612 Marcin Kościelnicki <koriakin@0x04.net>
15613
15614 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15615 (gdb_recursion_test_ptr): New global variable.
15616 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15617 gdb_recursion_test.
15618 (gdb_c_test): Ditto.
15619
ba84e0da
MK
156202016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15621
15622 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15623 ordering.
15624
4366d36e
MK
156252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15626
15627 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15628 (bar): Add bar_start_lbl label.
15629 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15630 of foo/bar for emitting DWARF and tracing.
15631
5eb264df
SDJ
156322016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15633
15634 * analyze-racy-logs.py: Set executable bit.
15635
fb6a751f
SDJ
156362016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15637
15638 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15639 (CHECK_TARGET_TMP): Likewise.
15640 (check-single-racy): New rule.
15641 (check-parallel-racy): Likewise.
15642 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15643 (do-check-parallel-racy): New rule.
15644 (check-racy/%.exp): Likewise.
15645 * README (Racy testcases): New section.
15646 * analyze-racy-logs.py: New file.
15647
bdf7e230
DE
156482016-03-03 Doug Evans <dje@google.com>
15649
15650 * gdb.base/skip.exp: Use with_test_prefix.
15651
4719d415
YQ
156522016-03-03 Yao Qi <yao.qi@linaro.org>
15653
15654 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15655 Invoke step_over_syscall "clone" and break_cond_on_syscall
15656 "clone".
15657 * gdb.base/step-over-clone.c: New file.
15658
ea507862
YQ
156592016-03-03 Yao Qi <yao.qi@linaro.org>
15660
15661 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15662 code format.
15663
8fc8cbda
YQ
156642016-03-03 Yao Qi <yao.qi@linaro.org>
15665
15666 * gdb.base/disp-step-fork.c: Rename to ...
15667 * gdb.base/step-over-fork.c: ... it. New file.
15668 * gdb.base/disp-step-vfork.c: Rename to ...
15669 * gdb.base/step-over-vfork.c: ... it. New file.
15670 * gdb.base/disp-step-syscall.exp: Rename to ...
15671 * gdb.base/step-over-syscall.exp: ... it. New file.
15672 (disp_step_cross_syscall): Rename to ...
15673 (step_over_syscall): ... it.
15674
92fa70b0
YQ
156752016-03-03 Yao Qi <yao.qi@linaro.org>
15676
15677 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15678 If target supports condition evaluation on target, invoke
15679 break_cond_on_syscall for fork and vfork.
15680
e197ad3c
YQ
156812016-03-03 Yao Qi <yao.qi@linaro.org>
15682
15683 * gdb.base/disp-step-syscall.exp: Don't invoke
15684 support_displaced_stepping.
15685 (disp_step_cross_syscall): Test with displaced stepping off and
15686 on if supported.
15687
0b47da9f
YQ
156882016-03-03 Yao Qi <yao.qi@linaro.org>
15689
15690 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15691 proc.
15692 (setup): New proc.
15693 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15694 and setup.
15695
065ab6dc
BH
156962016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15697
15698 * gdb.fortran/vla-history.exp: Remove breakpoint.
15699
07e448ad 157002016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15701
25d49b86
PA
15702 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15703 exceeds timeout.
07e448ad 15704
9ac2d526 157052016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15706
25d49b86
PA
15707 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15708 breakpoint.
9ac2d526 15709
17807369
BH
157102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15711
15712 * gdb.mi/vla.f90: Nullify pointer after declaration.
15713
86e501af
PA
157142016-03-01 Pedro Alves <palves@redhat.com>
15715
15716 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15717
1e903e32
PA
157182016-03-01 Pedro Alves <palves@redhat.com>
15719
15720 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15721 before anything else.
15722 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15723 _GNU_SOURCE here.
15724 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15725 before anything else.
15726 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15727
6ccb54e2
PA
157282016-03-01 Pedro Alves <palves@redhat.com>
15729
15730 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15731
30ca9da1
YQ
157322016-03-01 Yao Qi <yao.qi@linaro.org>
15733
15734 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15735 prepare_for_testing.
15736
dc856b38
YQ
157372016-03-01 Yao Qi <yao.qi@linaro.org>
15738
15739 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15740
4a932159
AA
157412016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15742
15743 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15744 manually constructing the output path.
15745
f2489477
AA
157462016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15747
15748 * gdb.arch/s390-stackless.S: New.
15749 * gdb.arch/s390-stackless.exp: New.
15750
38899f16
IB
157512016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15752
15753 * gdb.dlang/circular.c: New file.
15754 * gdb.dlang/circular.exp: New file.
15755
9fde51ed
YQ
157562016-02-26 Yao Qi <yao.qi@linaro.org>
15757
15758 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15759 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15760 (testcases): Update.
15761
ce90fefe
YQ
157622016-02-26 Yao Qi <yao.qi@linaro.org>
15763
15764 * gdb.reverse/aarch64.c: Rename to ...
15765 * gdb.reverse/insn-reverse.c: ... it.
15766 * gdb.reverse/aarch64.exp: Rename to ...
15767 * gdb.reverse/insn-reverse.exp: ... it.
15768
3263bceb
YQ
157692016-02-26 Yao Qi <yao.qi@linaro.org>
15770
15771 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15772 (testcase_ftype): New.
15773 (testcases): New array.
15774 (n_testcases): New.
15775 (main): Call each element in testcases.
15776 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15777 (read_testcase): New.
15778 Do the tests in a loop.
15779
6cb59ff1
YQ
157802016-02-25 Yao Qi <yao.qi@linaro.org>
15781
15782 * gdb.base/branches.c: Remove.
15783
ae91f625
MK
157842016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15785
15786 PR gdb/13808
15787 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15788
678b48b7
MK
157892016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15790
15791 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15792
7337a6f2
MK
157932016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15794
15795 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15796 change x86_64 call_insn to 'callq'.
15797
861ca91f
AT
157982016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15799
15800 * gdb.trace/tfile-avx.c: Move to...
15801 * gdb.trace/tracefile-pseudo-reg.c: Here.
15802 * gdb.trace/tfile-avx.exp: Move to...
15803 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15804
bf74e428
GB
158052016-02-24 Gary Benson <gbenson@redhat.com>
15806
15807 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15808 message on attach.
15809
cce0e923
DE
158102016-02-23 Doug Evans <dje@google.com>
15811
15812 * gdb.base/skip.c (test_skip): New function.
15813 (end_test_skip_file_and_function): New function.
15814 (test_skip_file_and_function): New function.
15815 * gdb.base/skip1.c (test_skip): New function.
15816 (skip1_test_skip_file_and_function): New function.
15817 * gdb.base/skip.exp: Add tests for new skip options.
15818 * gdb.base/skip-solib.exp: Update expected output.
15819 * gdb.perf/skip-command.cc: New file.
15820 * gdb.perf/skip-command.exp: New file.
15821 * gdb.perf/skip-command.py: New file.
15822
4000e47e
MK
158232016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15824
15825 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15826 info registers pattern.
15827
24f75ead
IB
158282016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15829
15830 * lib/future.exp: Add D support.
15831 (gdb_find_gdc): New proc.
15832 (gdb_default_target_compile): Add D support.
15833
fbb7bcbe
WW
158342016-02-18 Wei-cheng Wang <cole945@gmail.com>
15835
15836 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15837 user+system time.
15838 (trace_speed_test): Determine the iteration count for a time
15839 between 15..30 seconds.
15840
012b3a21
WT
158412016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15842
15843 * gdb.arch/i386-mpx-sigsegv.c: New file.
15844 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15845 * gdb.arch/i386-mpx-simple_segv.c: New file.
15846 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15847
2d5189bd
YQ
158482016-02-18 Yao Qi <yao.qi@linaro.org>
15849
15850 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15851 Don't call setup_kfail.
15852
40fb20d0
YQ
158532016-02-18 Yao Qi <yao.qi@linaro.org>
15854
15855 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15856 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15857
21b1f8d2
DE
158582016-02-16 Doug Evans <dje@google.com>
15859
15860 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15861 * gdb.base/skip1.c: Ditto.
15862 * gdb.base/skip.exp: Whitespace cleanup.
15863
4041ed77
DB
158642016-02-16 Don Breazeal <donb@codesourcery.com>
15865
15866 PR remote/19496
15867 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15868 Remove kfail for PR remote/19496.
15869
c4ef31bf
SM
158702016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15871
15872 * lib/gdb.exp (standard_temp_file): Return a path specific to
15873 the runtest invocation.
15874
266b65b3
SM
158752016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15876
15877 * gdb.trace/save-trace.exp: Change relative path to be in the
15878 standard output directory.
15879
a7a0a6a9
JK
158802016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15881
15882 * gdb.arch/i386-prologue.c: Add missing prototypes.
15883
c99dbb42
JK
158842016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15885
15886 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15887 * gdb.arch/i386-prologue.exp: Likewise.
15888 * gdb.arch/i386-size.exp: Likewise.
15889
aa480355
SM
158902016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15891
15892 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15893 define object file path.
15894 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15895 file path.
15896 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15897 standard_output_file to define binfile.
15898
ba881f50
JK
158992016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15900
15901 Fix compatibility with recent gfortran-5.3.1.
15902 * gdb.fortran/vla-history.exp (print vla1 allocated)
15903 (print vla2 allocated, print $2, print $3): Remove
15904 (print $4): Rename to ...
15905 (print $2): ... here.
15906 (print $9): Rename to ...
15907 (print $5): ... here.
15908 (print $10): Rename to ...
15909 (print $6): ... here.
15910 * gdb.fortran/vla.f90: Add pvla initialization.
15911
e9fb005c
JK
159122016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15913
15914 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15915 New test.
15916 * gdb.fortran/vla-value-sub.exp: Likewise.
15917
e44e00ff
MK
159182016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15919
15920 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15921
97e94151
SM
159222016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15923
15924 * i386-biarch-core.exp: Define corefile using
15925 standard_output_file.
15926
01113bc1
YQ
159272016-02-12 Yao Qi <yao.qi@linaro.org>
15928
15929 * gdb.arch/arm-single-step-kernel-helper.c: New.
15930 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15931
33b4777c
MM
159322016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15933
15934 * gdb.btrace/tailcall-only.exp: New.
15935 * gdb.btrace/tailcall-only.c: New.
15936 * gdb.btrace/x86_64-tailcall-only.S: New.
15937 * gdb.btrace/i686-tailcall-only.S: New.
15938
acc23c11
PA
159392016-02-11 Pedro Alves <palves@redhat.com>
15940
15941 * README (Parallel testing): Add missing double quotes.
15942
e352bf0a
PA
159432016-02-11 Pedro Alves <palves@redhat.com>
15944
15945 * README (Parallel testing): New section.
15946 (GDB_PARALLEL): Rewrite.
15947 (FORCE_PARALLEL): Document.
15948
9f5fed78
MK
159492016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15950
15951 * gdb.trace/tfile-avx.c: New test.
15952 * gdb.trace/tfile-avx.exp: New test.
15953
9ef9e6a6
KS
159542016-02-09 Keith Seitz <keiths@redhat.com>
15955
15956 PR breakpoints/19546
15957 * gdb.base/infcall-exec.c: New file.
15958 * gdb.base/infcall-exec2.c: New file.
15959 * gdb.base/infcall-exec.exp: New file.
15960
a96e36da
KS
159612016-02-09 Keith Seitz <keiths@redhat.com>
15962
15963 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15964 (toplevel): Call test_bkpt_address.
15965
9f61929f
KS
159662016-02-09 Keith Seitz <keiths@redhat.com>
15967
15968 PR python/19506
15969 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15970 (toplevel): Call test_bkpt_address.
15971
1e94266c
SM
159722016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15973
15974 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15975 to AC_OUTPUT.
15976 * configure: Regenerate.
15977
2a7f3dff
PA
159782016-02-09 Pedro Alves <palves@redhat.com>
15979
15980 PR breakpoints/19548
15981 * gdb.base/execl-update-breakpoints.c (some_function): New
15982 function.
15983 (main): Call it.
15984 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15985 Tighten expected GDB output.
15986
2151ccc5
SM
159872016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15988
15989 * Makefile.in (ALL_SUBDIRS): Remove.
15990 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15991 (distclean maintainer-clean realclean): Likewise.
15992 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15993 * configure: Regenerate.
15994 * gdb.ada/Makefile.in: Delete.
15995 * gdb.arch/Makefile.in: Likewise.
15996 * gdb.asm/Makefile.in: Likewise.
15997 * gdb.base/Makefile.in: Likewise.
15998 * gdb.btrace/Makefile.in: Likewise.
15999 * gdb.cell/Makefile.in: Likewise.
16000 * gdb.compile/Makefile.in: Likewise.
16001 * gdb.cp/Makefile.in: Likewise.
16002 * gdb.disasm/Makefile.in: Likewise.
16003 * gdb.dlang/Makefile.in: Likewise.
16004 * gdb.dwarf2/Makefile.in: Likewise.
16005 * gdb.fortran/Makefile.in: Likewise.
16006 * gdb.gdb/Makefile.in: Likewise.
16007 * gdb.go/Makefile.in: Likewise.
16008 * gdb.guile/Makefile.in: Likewise.
16009 * gdb.java/Makefile.in: Likewise.
16010 * gdb.linespec/Makefile.in: Likewise.
16011 * gdb.mi/Makefile.in: Likewise.
16012 * gdb.modula2/Makefile.in: Likewise.
16013 * gdb.multi/Makefile.in: Likewise.
16014 * gdb.objc/Makefile.in: Likewise.
16015 * gdb.opencl/Makefile.in: Likewise.
16016 * gdb.opt/Makefile.in: Likewise.
16017 * gdb.pascal/Makefile.in: Likewise.
16018 * gdb.perf/Makefile.in: Likewise.
16019 * gdb.python/Makefile.in: Likewise.
16020 * gdb.reverse/Makefile.in: Likewise.
16021 * gdb.server/Makefile.in: Likewise.
16022 * gdb.stabs/Makefile.in: Likewise.
16023 * gdb.threads/Makefile.in: Likewise.
16024 * gdb.trace/Makefile.in: Likewise.
16025 * gdb.xml/Makefile.in: Likewise.
16026 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16027 GDB_PARALLEL.
16028 (standard_output_file): Remove check for GDB_PARALLEL, always
16029 return path in outputs/$subdir/$testname.
16030
437277d4
SM
160312016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16032
16033 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16034 (site.exp): Assign abs_srcdir to tcl's srcdir.
16035
31d913c7
YQ
160362016-02-04 Yao Qi <yao.qi@linaro.org>
16037
16038 * gdb.base/foll-exec-mode.c: Include limits.h.
16039 (main): Add parameters argc and argv. Get directory from
16040 argv[0].
16041 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16042 compilation.
16043 * gdb.base/foll-exec.c: Include limits.h.
16044 (main): Add parameters argc and argv.
16045 Get directory from argv[0].
16046 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16047 Adjust tests on the number of lines as source code changed.
16048 * gdb.base/foll-vfork-exit.c: Include limits.h.
16049 (main): Add one line of statement before vfork.
16050 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16051 (main): Add parameters argc and argv. Get directory from
16052 argv[0].
16053 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16054 (setup_gdb): Set tbreak to skip some source lines.
16055 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16056 (main): Add parameters argc and argv. Get directory from
16057 argv[0].
16058 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16059 compilation.
16060 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16061 (main): Add parameters argc and argv. Get directory from
16062 argv[0].
16063 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16064 compilation.
16065
9482b9fb
DE
160662016-02-01 Doug Evans <dje@google.com>
16067
16068 * gdb.base/skip.exp: Clean up multiple references to same test name.
16069
6b2e4f10
PA
160702016-02-01 Pedro Alves <palves@redhat.com>
16071
ccb6afd6 16072 PR remote/19496
6b2e4f10
PA
16073 * gdb.threads/forking-threads-plus-breakpoint.exp
16074 (displaced_stepping_supported): New global.
16075 (probe_displaced_stepping_support): New procedure.
16076 (do_test): Add 'displaced' parameter, and use it.
16077 (top level): Check for displaced stepping support. Add displaced
16078 stepping on/off testing axis.
16079
37a8db1a
AB
160802016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16081
16082 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16083 pointer. Don't perform further tests on the unassociated pointer
16084 if the first test fails.
16085
5fdf6324
AB
160862016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16087
16088 * gdb.base/max-value-size.c: New file.
16089 * gdb.base/max-value-size.exp: New file.
16090 * gdb.base/huge.exp: Disable max-value-size for this test.
16091
935c6144
IB
160922016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16093
16094 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16095
7fe8399d
YQ
160962016-01-28 Yao Qi <yao.qi@linaro.org>
16097
16098 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16099
a2077e25
PA
161002016-01-25 Pedro Alves <palves@redhat.com>
16101
16102 PR threads/19461
16103 * gdb.base/fork-running-state.c: New file.
16104 * gdb.base/fork-running-state.exp: New file.
16105
1d2736d4
PA
161062016-01-25 Pedro Alves <palves@redhat.com>
16107
16108 PR gdb/19494
16109 * gdb.base/catch-fork-kill.c: New file.
16110 * gdb.base/catch-fork-kill.exp: New file.
16111
f1da4b11
PA
161122016-01-25 Pedro Alves <palves@redhat.com>
16113
16114 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16115 Delete, moved to lib/gdb.exp.
16116 * gdb.threads/forking-threads-plus-breakpoint.exp
16117 (foreach_with_prefix): Likewise.
16118 * gdb.threads/process-dies-while-handling-bp.exp
16119 (foreach_with_prefix): Likewise.
16120 * lib/gdb.exp (foreach_with_prefix): New procedure.
16121
45f38546
MK
161222016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16123
16124 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16125 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16126
dc29a1ce
MK
161272016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16128
16129 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16130 endian targets.
16131
092127d7
JK
161322016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16133 Pedro Alves <palves@redhat.com>
16134
16135 Fix testsuite compatibility with Guile.
16136 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16137 number.
16138
31d765d3
JK
161392016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16140
16141 Fix testsuite compatibility with Guile.
16142 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16143 (thread 1): New test for backtrace through signal handler.
16144
1ac78c04
YQ
161452016-01-22 Yao Qi <yao.qi@linaro.org>
16146
16147 PR testsuite/19491
16148 * gdb.base/multi-forks.c: Include
16149 ../lib/unbuffer_output.c
16150 (main): Call gdb_unbuffer_output.
16151
4f5946a8
DE
161522016-01-21 Doug Evans <dje@google.com>
16153
16154 * lib/ada.exp (gdb_compile_ada): Fix typo.
16155
305e13e6
JB
161562016-01-21 Joel Brobecker <brobecker@adacore.com>
16157
16158 * gdb.base/break-fun-addr.exp: New file.
16159 * gdb.base/break-fun-addr1.c: New file.
16160 * gdb.base/break-fun-addr2.c: New file.
16161
5f5dfff6
SM
161622016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16163
16164 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16165 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16166 enum flag values.
16167
fd356fa2
AA
161682016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16169
16170 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16171 when GDB can not set the vector return value. Add more comments
16172 for clarification.
16173
9df22175
AT
161742016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16175
16176 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16177 command.
16178
41d1845e
SM
161792016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16180
16181 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16182
01ac6840
SM
161832016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16184
16185 * Makefile.in (check-single): Pass --status to runtest.
16186 (check/%.exp): Likewise.
16187
161882016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16189
16190 * Makefile.in (check-parallel): Propagate return code from make
16191 do-check-parallel.
16192
bd0a71fa
MK
161932016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16194
16195 * gdb.trace/ftrace.exp: Fix expected message on continue.
16196 * gdb.trace/pending.exp: Fix expected message on continue.
16197 * gdb.trace/trace-break.exp: Fix expected message on continue.
16198
8bcbad33
SM
161992016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16200
16201 * lib/gdb.exp (gdb_test): Remove unused global references.
16202
f303dbd6
PA
162032016-01-18 Pedro Alves <palves@redhat.com>
16204
16205 * gdb.base/async-shell.exp: Adjust expected output.
16206 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16207 * gdb.base/siginfo-thread.exp: Adjust expected output.
16208 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16209 * gdb.java/jnpe.exp: Adjust expected output.
16210 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16211 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16212 * gdb.threads/leader-exit.exp: Adjust expected output.
16213 * gdb.threads/manythreads.exp: Adjust expected output.
16214 * gdb.threads/pthreads.exp: Adjust expected output.
16215 * gdb.threads/schedlock.exp: Adjust expected output.
16216 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16217 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16218 expected output.
16219 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16220 output.
16221 * gdb.threads/sigthread.exp: Adjust expected output.
16222 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16223
b2789696
YQ
162242016-01-18 Yao Qi <yao.qi@linaro.org>
16225
16226 * gdb.guile/scm-section-script.c: Replace @progbits with
16227 %progbits.
16228 * gdb.python/py-section-script.c: Likewise.
16229
71ef29a8
PA
162302016-01-15 Pedro Alves <palves@redhat.com>
16231
16232 * gdb.multi/tids.exp: Test star wildcard ranges.
16233
3f5b7598
PA
162342016-01-15 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16237 command from "thread apply" invocation.
16238 (thr_apply_info_thr_invalid): Default the expected output to the
16239 input tid list.
16240 (top level): Add tests that use convenience variables. Add tests
16241 for "thread apply" with a valid TID list, but missing the command.
16242
663f6d42
PA
162432016-01-13 Pedro Alves <palves@redhat.com>
16244
16245 * gdb.base/default.exp: Expect $_gthread as well.
16246 * gdb.multi/tids.exp: Test $_gthread.
16247 * gdb.threads/thread-specific.exp: Test $_gthread.
16248
c84f6bbf
PA
162492016-01-13 Pedro Alves <palves@redhat.com>
16250
16251 * gdb.multi/tids.exp: Test "info threads -gid".
16252
22a02324
PA
162532016-01-13 Pedro Alves <palves@redhat.com>
16254
16255 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16256 Breakpoint.thread.
16257 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16258
5d5658a1
PA
162592016-01-07 Pedro Alves <palves@redhat.com>
16260
16261 * gdb.base/break.exp: Adjust to output changes.
16262 * gdb.base/hbreak2.exp: Likewise.
16263 * gdb.base/sepdebug.exp: Likewise.
16264 * gdb.base/watch_thread_num.exp: Likewise.
16265 * gdb.linespec/keywords.exp: Likewise.
16266 * gdb.multi/info-threads.exp: Likewise.
16267 * gdb.threads/thread-find.exp: Likewise.
16268 * gdb.multi/tids.c: New file.
16269 * gdb.multi/tids.exp: New file.
16270
84654457
PA
162712016-01-13 Pedro Alves <palves@redhat.com>
16272
16273 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16274
e3940304
PA
162752016-01-13 Pedro Alves <palves@redhat.com>
16276
16277 * gdb.base/default.exp: Expect $_inferior as well.
16278 * gdb.multi/base.exp: Test $_inferior.
16279
a911d87a
PA
162802016-01-13 Pedro Alves <palves@redhat.com>
16281
16282 PR breakpoints/19388
16283 * gdb.base/catch-signal-siginfo-cond.c: New file.
16284 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16285
82075af2
JS
162862016-01-12 Josh Stone <jistone@redhat.com>
16287 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16288
16289 * gdb.base/catch-syscall.c (do_execve): New variable.
16290 (main): Conditionally trigger an execve.
16291 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16292 (test_catch_syscall_execve): New, check entry/return across execve.
16293 (do_syscall_tests): Call test_catch_syscall_execve.
16294
e46eeedd
PA
162952016-01-12 Pedro Alves <palves@redhat.com>
16296
16297 * gdb.base/random-signal.exp (do_test): New procedure, with body
16298 of testcase moved in.
16299
01d8c27e
JK
163002016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16301 Pedro Alves <palves@redhat.com>
16302
16303 * gdb.base/funcargs.exp (finish from indirectly called function):
16304 Reintroduce the case for 'First'.
16305
9a706302
JK
163062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16307 Pedro Alves <palves@redhat.com>
16308
16309 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16310 (tcatch_vfork_then_child_follow_exec)
16311 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16312 identification.
16313
c0ecb95f
JK
163142016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16315
16316 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16317 and repeats to unlimited.
16318 * gdb.python/py-value.exp: Likewise.
16319 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16320 and repeats to unlimited.
16321
6cfc1fcb
JK
163222016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16323
16324 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16325 and reordering the functions.
16326 * gdb.multi/hangout.c: Likewise.
16327 * gdb.multi/hello.c: Likewise.
16328
582a1b00
SM
163292016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16330
16331 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16332 absolute.
16333 (SingleStatisticTestResult.report): Use dict.keys instead of
16334 dict.iterkeys.
16335
79bc59cb
PA
163362016-01-06 Pedro Alves <palves@redhat.com>
16337
16338 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16339
43368e1d
MM
163402016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16341
16342 * gdb.btrace/dlopen.exp: New.
16343 * gdb.btrace/dlopen.c: New.
16344 * gdb.btrace/dlopen-dso.c: New.
16345
79fad5b8
SL
163462015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16347
16348 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16349 PATTERN argument is optional.
16350
ab8314b3
JB
163512015-12-24 Joel Brobecker <brobecker@adacore.com>
16352
16353 * lib/ada.exp (target_compile_ada_from_dir): New function.
16354 (gdb_compile_ada): Reimplement avoiding the use of project files.
16355 * gdb.ada/gnat_ada.gpr: Delete.
16356 * gdb.ada/cond_lang.exp: Adjust test to make path before
16357 filename optional.
16358 * gdb.ada/small_reg_param.exp: Likewise.
16359
fe33faff
SM
163602015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16361
16362 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16363
6d265cb4
TP
163642015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16365
16366 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16367 case.
16368
10125099
SM
163692015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16370
16371 * gdb.base/break.exp: Remove dead code.
16372 * gdb.base/sepdebug.exp: Likewise.
16373
3ca22649
SM
163742015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16375
16376 * gdb.asm/asm-source.exp: Remove HP-UX references.
16377 * gdb.base/annota1.exp: Likewise.
16378 * gdb.base/annota3.exp: Likewise.
16379 * gdb.base/attach.exp: Likewise.
16380 * gdb.base/bigcore.exp: Likewise.
16381 * gdb.base/break.exp: Likewise.
16382 * gdb.base/call-ar-st.exp: Likewise.
16383 * gdb.base/callfuncs.exp: Likewise.
16384 * gdb.base/catch-fork-static.exp: Likewise.
16385 * gdb.base/display.exp: Likewise.
16386 * gdb.base/foll-exec-mode.exp: Likewise.
16387 * gdb.base/foll-exec.exp: Likewise.
16388 * gdb.base/foll-fork.exp: Likewise.
16389 * gdb.base/foll-vfork.exp: Likewise.
16390 * gdb.base/funcargs.exp: Likewise.
16391 * gdb.base/hbreak2.exp: Likewise.
16392 * gdb.base/inferior-died.exp: Likewise.
16393 * gdb.base/interrupt.exp: Likewise.
16394 * gdb.base/multi-forks.exp: Likewise.
16395 * gdb.base/nodebug.exp: Likewise.
16396 * gdb.base/sepdebug.exp: Likewise.
16397 * gdb.base/solib1.c: Likewise.
16398 * gdb.base/step-test.exp: Likewise.
16399 * gdb.mi/non-stop.c: Likewise.
16400 * gdb.mi/pthreads.c: Likewise.
16401 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16402 * gdb.threads/pthreads.c: Likewise.
16403 * gdb.threads/staticthreads.exp: Likewise.
16404 * lib/future.exp: Likewise.
16405 * lib/gdb.exp: Likewise.
16406 * gdb.base/so-indr-cl.c: Remove.
16407 * gdb.base/so-indr-cl.exp: Likewise.
16408 * gdb.base/solib.c: Likewise.
16409 * gdb.base/solib.exp: Likewise.
16410 * gdb.base/solib2.c: Likewise.
16411
b6304613
SM
164122015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16413
16414 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16415 * gdb.base/call-ar-st.exp: Likewise.
16416 * gdb.base/callfuncs.exp: Likewise.
16417 * gdb.base/condbreak.exp: Likewise.
16418 * gdb.base/constvars.exp: Likewise.
16419 * gdb.base/hbreak2.exp: Likewise.
16420 * gdb.base/langs.exp: Likewise.
16421 * gdb.base/list.exp: Likewise.
16422 * gdb.base/long_long.exp: Likewise.
16423 * gdb.base/ptype.exp: Likewise.
16424 * gdb.base/scope.exp: Likewise.
16425 * gdb.base/signals.exp: Likewise.
16426 * gdb.base/so-impl-ld.exp: Likewise.
16427 * gdb.base/varargs.exp: Likewise.
16428 * gdb.base/volatile.exp: Likewise.
16429 * gdb.base/whatis.exp: Likewise.
16430 * gdb.cp/cplusfuncs.exp: Likewise.
16431 * gdb.cp/inherit.exp: Likewise.
16432 * gdb.cp/local.exp: Likewise.
16433 * gdb.cp/member-ptr.exp: Likewise.
16434 * gdb.cp/method.exp: Likewise.
16435 * gdb.cp/overload.exp: Likewise.
16436 * gdb.cp/templates.exp: Likewise.
16437 * gdb.stabs/weird.exp: Likewise.
16438 * lib/compiler.c: Likewise.
16439 * lib/compiler.cc: Likewise.
16440 * lib/cp-support.exp: Likewise.
16441 * lib/gdb.exp: Likewise.
16442
bf401b07
SM
164432015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16444
16445 * configure.ac: Remove HP-UX case.
16446 * configure: Regenerate.
16447
aff9c0f8
SM
164482015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16449
16450 * lib/gdb.exp (gdb_compile): Add function doc.
16451
a6904d5a
PA
164522015-12-17 Pedro Alves <palves@redhat.com>
16453
16454 PR threads/19354
16455 * gdb.multi/info-threads.exp: New file.
16456
a22279dd
YQ
164572015-12-15 Yao Qi <yao.qi@linaro.org>
16458
16459 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16460 is aarch64*-*-*.
16461
0588c796
SL
164622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16463
16464 * gdb.base/history-duplicates.exp: Skip if no readline support.
16465
5d978e17
SL
164662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16467
16468 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16469
7e763b86
SL
164702015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16471
16472 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16473
87a3a92c
SL
164742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16475
16476 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16477 ctrl-C if nointerrupts target property is set.
16478 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16479 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16480 * gdb.base/paginate-bg-execution.exp: Likewise.
16481 * gdb.base/paginate-execution-startup.exp: Likewise.
16482 * gdb.base/random-signal.exp: Likewise.
16483 * gdb.base/range-stepping.exp: Likewise.
16484 * gdb.cp/annota2.exp: Likewise.
16485 * gdb.cp/annota3.exp: Likewise.
16486 * gdb.gdb/selftest.exp: Likewise.
16487 * gdb.threads/continue-pending-status.exp: Likewise.
16488 * gdb.threads/leader-exit.exp: Likewise.
16489 * gdb.threads/manythreads.exp: Likewise.
16490 * gdb.threads/pthreads.exp: Likewise.
16491 * gdb.threads/schedlock.exp: Likewise.
16492 * gdb.threads/sigthread.exp: Likewise.
16493
a8f077dc
DB
164942015-12-11 Don Breazeal <donb@codesourcery.com>
16495
16496 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16497 remote.
16498 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16499 * gdb.base/foll-exec.exp (main): Enable for target remote.
16500 * gdb.base/foll-fork.exp (main): Likewise.
16501 * gdb.base/foll-vfork.exp (main): Likewise.
16502 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16503 (proc continue_to_exit_bp_loc): Use clean_restart.
16504 * gdb.base/pie-execl.exp (main): Disable for target remote.
16505 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16506 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16507 * gdb.threads/execl.exp (main): Likewise.
16508 * gdb.threads/fork-child-threads.exp (main): Likewise.
16509 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16510 remote.
16511 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16512 remote.
16513 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16514 pid.tid style ptids, instead of just tid.
16515 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16516 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16517 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16518 ptids, instead of just tid.
16519
3b2464a8
AB
165202015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16521
16522 * gdb.base/list.exp (test_list_forward): Add end of file error
16523 test.
16524 (test_repeat_list_command): Add end of file error test.
16525 (test_list_backwards): Add beginning of file error test.
16526
a0def019
AB
165272015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16528
16529 * gdb.base/list.exp (test_list_invalid_args): New function,
16530 defined, and called.
16531
5c000dff
AB
165322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16533
16534 * gdb.base/list.exp (test_list): Make test names unique.
16535
f1637ebe
YQ
165362015-12-11 Yao Qi <yao.qi@linaro.org>
16537
16538 * gdb.base/coremaker2.c: Remove.
16539
36d6fc0a
PA
165402015-12-10 Pedro Alves <palves@redhat.com>
16541
16542 * gdb.multi/base.exp: Remove stale "spaces" references.
16543
762f7747
PA
165442015-12-10 Pedro Alves <palves@redhat.com>
16545
16546 * gdb.multi/base.exp: Don't use nowarnings.
16547 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16548 * gdb.multi/hangout.c: Include stdio.h.
16549 * gdb.multi/hello.c: Include stdlib.h.
16550 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16551 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16552 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16553
28d2bfb9
AB
165542015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16555
16556 * gdb.dwarf2/dw2-ranges-base.c: New file.
16557 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16558 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16559 support additional line table, and debug ranges generation.
16560 (Dwarf::ranges): New function, generate .debug_ranges.
16561 (Dwarf::lines): Support generating simple line table programs.
16562 (Dwarf::assemble): Initialise new namespace variables.
16563
5fc2beac
KB
165642015-12-09 Kevin Buettner <kevinb@redhat.com>
16565
16566 * gdb.base/async.exp (proc test_background): Add case for
16567 asynchronous execution not supported.
16568
1c35a88f
LM
165692015-12-09 Luis Machado <lgustavo@codesourcery.com>
16570
16571 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16572 format and change test names to make them unique.
16573
b593e3d9
RK
165742015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16575 Pedro Alves <pedro@redhat.com>
16576
16577 PR gdb/18702
16578 Add checking of floatformats setup on x86_64 hosts.
16579 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16580 (smallval, bigval): New labels/constants.
16581 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16582 float" after loading bigval and smallval.
16583
d72413e6
PMR
165842015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16585
16586 * gdb.ada/fun_overload_menu.exp: New testcase.
16587 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16588
ece66d65
JS
165892015-12-04 Josh Stone <jistone@redhat.com>
16590
16591 * gdb.base/catch-fork-static.exp: New.
16592
41d0efca
YQ
165932015-12-03 Yao Qi <yao.qi@linaro.org>
16594
16595 * gdb.base/sizeof.c: Don't include stdio.h and
16596 ../lib/unbuffer_output.c.
16597 (main): New variable 'size' and 'value'. Remove printf and
16598 gdb_unbuffer_output. Assign return value to size and value.
16599 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16600 at the beginning.
16601 (check_sizeof): Check the result by printing variable 'size'.
16602 (check_valueof): Check the result by printing variable 'value'.
16603
99fd02d9
YQ
166042015-12-01 Yao Qi <yao.qi@linaro.org>
16605
16606 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16607 for aarch64*-*-linux* target.
16608
f2faf941
PA
166092015-11-30 Pedro Alves <palves@redhat.com>
16610
16611 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16612
04bf20c5
PA
166132015-11-30 Pedro Alves <palves@redhat.com>
16614
16615 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16616 Handle non-stop mode vCont replies.
16617
09df4675
PA
166182015-11-30 Pedro Alves <palves@redhat.com>
16619
16620 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16621 prepare_for_testing. Start gdb with "set non-stop on" appended to
16622 GDBFLAGS. Lax expected stop output.
16623
58b584af
YQ
166242015-11-27 Yao Qi <yao.qi@linaro.org>
16625
16626 * gdb.arch/arm-neon.exp: New.
16627 * gdb.arch/arm-neon.c: New.
16628
dfcb77a8
YQ
166292015-11-27 Yao Qi <yao.qi@linaro.org>
16630
16631 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16632
88e8ec1b
YQ
166332015-11-27 Yao Qi <yao.qi@linaro.org>
16634
16635 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16636 frames-invalid annotation.
16637
bfde72c2
YQ
166382015-11-27 Yao Qi <yao.qi@linaro.org>
16639
16640 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16641
f6512a69
SM
166422015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16643
16644 * gdb.threads/names.exp: New file.
16645 * gdb.threads/names.c: New file.
16646 * README: Mention gdb,no_thread_names.
16647
46a3515b
MM
166482015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16649
16650 PR 19297
16651 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16652 support" error.
16653
62147a22
PA
166542015-11-24 Pedro Alves <palves@redhat.com>
16655
16656 PR 17539
16657 * gdb.base/display.exp: Expect displays to be sorted in ascending
16658 order. Use multi_line.
16659 * gdb.base/solib-display.exp: Likewise.
16660
2f341b6e
PA
166612015-11-24 Pedro Alves <palves@redhat.com>
16662
16663 PR 17539
25d49b86
PA
16664 * gdb.base/display.exp: Expect displays to be sorted in ascending
16665 order. Use multi_line.
16666 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16667
7e0aa6aa
PA
166682015-11-24 Pedro Alves <palves@redhat.com>
16669
16670 PR 17539
16671 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16672 threads in ascending order.
16673 * gdb.base/foll-fork.exp: Likewise.
16674 * gdb.base/foll-vfork.exp: Likewise.
16675 * gdb.base/multi-forks.exp: Likewise.
16676 * gdb.mi/mi-nonstop.exp: Likewise.
16677 * gdb.mi/mi-nsintrall.exp: Likewise.
16678 * gdb.multi/base.exp: Likewise.
16679 * gdb.multi/multi-arch.exp: Likewise.
16680 * gdb.python/py-inferior.exp: Likewise.
16681 * gdb.threads/break-while-running.exp: Likewise.
16682 * gdb.threads/execl.exp: Likewise.
16683 * gdb.threads/gcore-thread.exp: Likewise.
16684 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16685 * gdb.threads/kill.exp: Likewise.
16686 * gdb.threads/linux-dp.exp: Likewise.
16687 * gdb.threads/multiple-step-overs.exp: Likewise.
16688 * gdb.threads/next-bp-other-thread.exp: Likewise.
16689 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16690 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16691 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16692 * gdb.threads/thread-find.exp: Likewise.
16693 * gdb.threads/tls.exp: Likewise.
16694 * lib/mi-support.exp (mi_reverse_list): Delete.
16695 (mi_check_thread_states): No longer reverse list.
16696
2cc57ad8
PA
166972015-11-24 Pedro Alves <palves@redhat.com>
16698
16699 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16700 use lowercase.
16701
c93e8391
SM
167022015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16703
16704 * gdb.trace/actions.c: Include trace-common.h.
16705 (main): Add a location for a fast tracepoint.
16706 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16707 the normal tracepoints.
16708 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16709
045ccf91
SM
167102015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16711
16712 * save-trace.exp: Factor out code to these...
16713 (gdb_save_tracepoints): New.
16714 (gdb_load_tracepoints): New.
16715 (do_save_load_test): New.
16716
5506f9f6
KB
167172015-11-23 Kevin Buettner <kevinb@redhat.com>
16718
16719 * gdb.base/asmlabel.exp: New test.
16720 * gdb.base/asmlabel.c: New test case.
16721
16c3b12f
JB
167222015-11-23 Joel Brobecker <brobecker@adacore.com>
16723
16724 * gdb.base/wrong_frame_bt_full-main.c: New file.
16725 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16726 * gdb.base/wrong_frame_bt_full.exp: New file.
16727
155bfbd3
JB
167282015-11-23 Joel Brobecker <brobecker@adacore.com>
16729
16730 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16731
bb097445
JM
167322015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16733
206853a0 16734 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16735 pstate register when comparing registers values in
16736 sparc64-*-linux-gnu targets to avoid spurious differences.
16737
9c88ed8f
JM
167382015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16739
206853a0 16740 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16741
96161e25
SL
167422015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16743
16744 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16745 as type argument to gdb_compile.
16746 * gdb.base/nested-subp2.exp: Likewise.
16747 * gdb.base/nested-subp3.exp: Likewise.
16748
340c2830
DV
167492015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16750
16751 * lib/dwarf.exp (_note): Fix left shift of negative value.
16752 * gdb.trace/trace-condition.exp: Likewise.
16753
c1862d0f
YQ
167542015-11-13 Yao Qi <yao.qi@linaro.org>
16755
16756 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16757 comments about d10v.
16758 (test_scalar_returns): Likewise.
16759 * gdb.base/d10v.ld: Remove.
16760 * gdb.base/overlays.exp: Remove the target triplet checking for
16761 d10v-*-*.
16762 * gdb.base/structs.exp (test_struct_returns): Remove the
16763 comments about d10v.
16764 (test_struct_calls): Likewise.
16765
77ae9c19
YQ
167662015-11-13 Yao Qi <yao.qi@linaro.org>
16767
16768 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16769 * gdb.base/gnu_vector.c: Don't include stdio.h.
16770 (main): Don't print res and call add_some_intvecs.
16771
430e004e
MK
167722015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16773
16774 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16775 macro.
16776 (func5): Removed.
16777 (func4): Use FAST_TRACEPOINT_LABEL.
16778 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16779 macro.
16780 (func): Removed.
16781 (thread_function): Use FAST_TRACEPOINT_LABEL.
16782 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16783 (func): Remove.
16784 (marker): Use FAST_TRACEPOINT_LABEL.
16785 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16786 (pendfunc1): Remove.
16787 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16788 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16789 (foo): Remove.
16790 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16791 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16792 macro.
16793 (func): Remove.
16794 (marker): Use FAST_TRACEPOINT_LABEL.
16795 * gdb.trace/trace-common.h: New header.
16796 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16797 macro.
16798 (func): Remove.
16799 (marker): Use FAST_TRACEPOINT_LABEL.
16800 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16801 (func): Remove.
16802 (thread_function): Use FAST_TRACEPOINT_LABEL.
16803
6e7675a7
MK
168042015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16805
16806 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16807 in front.
16808 * gdb.trace/change-loc.exp: Use global pcreg definition.
16809 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16810 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16811 in front.
16812 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16813 * gdb.trace/pending.exp: Likewise.
16814 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16815 * gdb.trace/trace-break.exp: Likewise.
16816 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16817 in front.
16818 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16819 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16820 in front.
16821 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16822
dddc0e16
JB
168232015-11-09 Joel Brobecker <brobecker@adacore.com>
16824
16825 * gdb.ada/fin_fun_out: New testcase.
16826
c6f0b406
KB
168272015-11-07 Kevin Buettner <kevinb@redhat.com>
16828
16829 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16830 value associated with DW_AT_byte_size.
16831 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16832 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16833 DW_AT_upper_bound.
16834
f01dcfd9
KB
168352015-11-07 Kevin Buettner <kevinb@redhat.com>
16836
16837 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16838 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16839 version.
16840 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16841 gdb.dwarf2/dw2-canonicalize-type.exp,
16842 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16843 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16844 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16845 provided by gdb_target_symbol_prefix_flags_asm.
16846 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16847 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16848 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16849 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16850 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16851 macros where needed). Use this macro for symbols which require
16852 the prefix provided by SYMBOL_PREFIX.
16853
2223449a
KB
168542015-11-05 Kevin Buettner <kevinb@redhat.com>
16855
16856 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16857 New procs.
16858 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16859 representing expressions, of more than one list element.
16860 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16861 to prepend linker symbol prefix to f.
16862 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16863 table_1 and table_2.
16864 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16865 Likewise, for f and g.
16866 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16867 for ptr.
16868 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16869 for main.
16870 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16871 table_1_ptr and table_2_ptr.
16872
6f2f1a3a
JK
168732015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16874 Joel Brobecker <brobecker@adacore.com>
16875
16876 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16877
566c56c9
MK
168782015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16879
16880 * gdb.reverse/s390-mvcle.c: New test.
16881 * gdb.reverse/s390-mvcle.exp: New file.
16882 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16883
d5f0636b
MK
168842015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16885
16886 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16887
7ad8b86c
MK
168882015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16889
16890 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16891 reaching marker2.
16892 * gdb.reverse/getresuid-reverse.exp: Likewise.
16893 * gdb.reverse/pipe-reverse.exp: Likewise.
16894 * gdb.reverse/readv-reverse.exp: Likewise.
16895 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16896 * gdb.reverse/time-reverse.exp: Likewise.
16897 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16898
4081c0f1
YQ
168992015-10-30 Yao Qi <yao.qi@linaro.org>
16900
16901 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16902 (empty_cycle): Remove.
16903 (main): Don't call empty_cycle. Don't use watch_count_done.
16904 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16905 empty_cycle. Rewrite the code counting HW watchpoints.
16906
452b4ba5
MK
169072015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16908
16909 * gdb.reverse/fstatat-reverse.c: New test.
16910 * gdb.reverse/fstatat-reverse.exp: New file.
16911 * gdb.reverse/getresuid-reverse.c: New test.
16912 * gdb.reverse/getresuid-reverse.exp: New file.
16913 * gdb.reverse/pipe-reverse.c: New test.
16914 * gdb.reverse/pipe-reverse.exp: New file.
16915 * gdb.reverse/readv-reverse.c: New test.
16916 * gdb.reverse/readv-reverse.exp: New file.
16917 * gdb.reverse/recvmsg-reverse.c: New test.
16918 * gdb.reverse/recvmsg-reverse.exp: New file.
16919 * gdb.reverse/time-reverse.c: New test.
16920 * gdb.reverse/time-reverse.exp: New file.
16921 * gdb.reverse/waitpid-reverse.c: New test.
16922 * gdb.reverse/waitpid-reverse.exp: New file.
16923
5e2e7507
JK
169242015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16925
16926 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16927
0fde2c53
DE
169282015-10-26 Doug Evans <dje@google.com>
16929
16930 PR symtab/17391
16931 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16932 * gdb.dwarf2/bad-regnum.c: New file.
16933 * gdb.dwarf2/bad-regnum.exp: New file.
16934
1a70ae97
DE
169352015-10-26 Doug Evans <dje@google.com>
16936
16937 PR python/18938
16938 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16939 file.
16940
27dc26ab
JK
169412015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16942
16943 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16944 for a change by "Mention language in compile error message".
16945
bed91f4d
SM
169462015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16947
16948 PR python/18073
16949 * gdb.python/py-type.c (C::a_method): New.
16950 (C::a_const_method): New.
16951 (C::a_static_method): New.
16952 (a_function): New.
16953 * gdb.python/py-type.exp (test_fields): Test getting fields
16954 from function and method.
16955
3f2f83dd
KB
169562015-10-21 Keven Boell <keven.boell@intel.com>
16957
16958 * gdb.fortran/vla-alloc-assoc.exp: New file.
16959 * gdb.fortran/vla-datatypes.exp: New file.
16960 * gdb.fortran/vla-datatypes.f90: New file.
16961 * gdb.fortran/vla-history.exp: New file.
16962 * gdb.fortran/vla-ptype-sub.exp: New file.
16963 * gdb.fortran/vla-ptype.exp: New file.
16964 * gdb.fortran/vla-sizeof.exp: New file.
16965 * gdb.fortran/vla-sub.f90: New file.
16966 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16967 * gdb.fortran/vla-value-sub-finish.exp: New file.
16968 * gdb.fortran/vla-value-sub.exp: New file.
16969 * gdb.fortran/vla-value.exp: New file.
16970 * gdb.fortran/vla-ptr-info.exp: New file.
16971 * gdb.mi/mi-vla-fortran.exp: New file.
16972 * gdb.mi/vla.f90: New file.
16973
27145d50
SL
169742015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16975
16976 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16977 of hardwired timeout value.
16978
5f3ff4f8
JK
169792015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16980 Pedro Alves <palves@redhat.com>
16981
16982 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16983 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16984
bfd09d20
JS
169852015-10-19 Josh Stone <jistone@redhat.com>
16986
16987 * gdb.base/catch-syscall.c: Include <sched.h>.
16988 (unknown_syscall): New variable.
16989 (main): Trigger a vfork and an unknown syscall.
16990 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16991 (unknown_syscall_number): Likewise.
16992 (check_call_to_syscall): Accept an optional syscall pattern.
16993 (check_return_from_syscall): Likewise.
16994 (check_continue): Likewise.
16995 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16996 (test_catch_syscall_skipping_return): New test toggling off 'catch
16997 syscall' to step over the syscall return, then toggling back on.
16998 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16999 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17000 (do_syscall_tests): Call test_catch_syscall_without_args and
17001 test_catch_syscall_mid_vfork.
17002 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17003 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17004
b32b93c6
AS
170052015-10-19 Andrew Stubbs <ams@codesourcery.com>
17006
17007 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17008 print g_vE): Add new pass patterns.
17009 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17010 print various symbol names for vptr fields.
17011
9d622bda
AB
170122015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17013
17014 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17015 results.
17016
0fd8ac1c
YQ
170172015-10-12 Yao Qi <yao.qi@linaro.org>
17018
17019 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17020
34240514
YQ
170212015-10-12 Yao Qi <yao.qi@linaro.org>
17022
17023 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17024 is aarch64*-*-linux*.
17025
8240f442
YQ
170262015-10-12 Yao Qi <yao.qi@linaro.org>
17027
17028 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17029 (can_relocate_bcond_true): ... it.
17030 (can_relocate_bcond_false): New function.
17031 (foo): Likewise.
17032 (can_relocate_bl): Likewise.
17033 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17034 can_relocate_bl.
17035
2520f728
PMR
170362015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17037
17038 * gdb.base/nested-addr.c: New file.
17039 * gdb.base/nested-addr.exp: New testcase.
17040
abcef95a
MM
170412015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17042
17043 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17044 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17045 its output. Ignore the output of "record goto begin" and instead
17046 check that GDB is replaying.
17047
145e3ddb
PA
170482015-10-09 Pedro Alves <palves@redhat.com>
17049
17050 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17051 (top level): Use it in the run with no args test.
17052
d5d8c4e1
IB
170532015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17054
17055 * gdb.dlang/properties.exp: New file.
17056
06e635ef
SL
170572015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17058
17059 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17060 whether or not address 0x1000 is mapped on the target.
17061
e019fd1d
SM
170622015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17063
17064 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17065 build.
17066
77ba2a67
MM
170672015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17068
17069 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17070 instruction-history test.
17071
c60eb31f
DE
170722015-09-28 Doug Evans <dje@google.com>
17073
17074 * gdb.base/gcore.c (array_func): Add reference to static_array.
17075
9a3c8263
SM
170762015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17077
17078 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17079 source line.
17080
9720e656
SL
170812015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17082
17083 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17084 short or char as base type.
17085
938d3bf2
SL
170862015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17087
17088 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17089 to allow any size enum.
17090
e6c2c623
PMR
170912015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17092
17093 * gdb.ada/array_ptr_renaming.exp: New testcase.
17094 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17095 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17096
06da0f77
PL
170972015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17098
17099 * gdb.trace/ftrace-lock.c: New file.
17100 * gdb.trace/ftrace-lock.exp: New file.
17101
4f51c22a
PL
171022015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17103
17104 * gdb.arch/insn-reloc.c: New file.
17105 * gdb.arch/ftrace-insn-reloc.exp: New file.
17106
7041adf4
PL
171072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17108
17109 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17110 instruction.
17111 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17112 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17113 * gdb.trace/range-stepping.c: Likewise.
17114 * gdb.trace/trace-break.c: Likewise.
17115 * gdb.trace/trace-mt.c (thread_function): Likewise.
17116 * gdb.trace/ftrace.c (marker): Likewise.
17117 * gdb.trace/trace-condition.c (marker): Likewise.
17118 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17119 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17120 is_aarch64_target.
17121
015d2e7e
DE
171222015-09-18 Doug Evans <xdje42@gmail.com>
17123
17124 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17125 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17126
26b188a2
SL
171272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17128
17129 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17130 the breakpoint.
17131
79dc332b
SL
171322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17133
17134 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17135 the pending breakpoint. Remove timeout override for "Run till
17136 MI pending breakpoint on pendfunc3 on thread 2" test.
17137
f57929f2
SL
171382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17139
17140 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17141 filename pattern.
17142
3f469b17
SL
171432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17144
17145 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17146 in breakpoint filename pattern.
17147
515b89b3
SL
171482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17149
7800dbe4
SL
17150 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17151
171522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17153
515b89b3
SL
17154 * gdb.linespec/explicit.exp: Check for readline support for
17155 tab-completion tests. Fix obvious typo.
17156
d2939ba2
MM
171572015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17158
17159 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17160 and replay.
17161
cbb55fa7
MM
171622015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17163
17164 * gdb.btrace/non-stop.c: New.
17165 * gdb.btrace/non-stop.exp: New.
17166
43691ca1
PL
171672015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17168 Yao Qi <yao.qi@linaro.org>
17169
17170 * gdb.trace/trace-condition.c: New file.
17171 * gdb.trace/trace-condition.exp: New file.
17172
d78908cf
WW
171732015-09-16 Wei-cheng Wang <cole945@gmail.com>
17174
17175 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17176 for testing bytecode compilation.
17177
1ed415e2
PA
171782015-09-16 Pedro Alves <palves@redhat.com>
17179 Sandra Loosemore <sandra@codesourcery.com>
17180
17181 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17182 (SECONDS): Redefine.
17183 (main): Call pthread_kill and alarm early.
17184 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17185 support.
17186 (test): If the target can't hardware step and doesn't support
17187 displaced stepping, increase the timeout.
17188
d136eff5
PA
171892015-09-16 Pedro Alves <palves@redhat.com>
17190
17191 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17192 (enable_debug): New procedures.
17193 (test): Use them. Bail out if waiting for threads fails.
17194 (top level): Bail out if a test fails.
17195
991f019c
YQ
171962015-09-16 Yao Qi <yao.qi@linaro.org>
17197
17198 * gdb.asm/asm-source.exp: Set asm-arch for
17199 aarch64*-*-* target.
17200 * gdb.asm/aarch64.inc: New file.
17201
bfca584f
PMR
172022015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17203
17204 * gdb.ada/array_of_variable_length.exp: New testcase.
17205 * gdb.ada/array_of_variable_length/foo.adb: New file.
17206 * gdb.ada/array_of_variable_length/pck.adb: New file.
17207 * gdb.ada/array_of_variable_length/pck.ads: New file.
17208
b326e587
DE
172092015-09-15 Doug Evans <dje@google.com>
17210
17211 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17212 of function static local variable.
17213
5382cfab
PW
172142015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17215
17216 * gdb.threads/tls-so_extern.exp: New test file.
17217 * gdb.threads/tls-so_extern.c: New test file.
17218 * gdb.threads/tls-so_extern_main.c: New test file.
17219
141c5cc4
JK
172202015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17221
17222 * gdb.opt/solib-intra-step-lib.c: New file.
17223 * gdb.opt/solib-intra-step-main.c: New file.
17224 * gdb.opt/solib-intra-step.exp: New file.
17225
d15dcecd
PA
172262015-09-15 Pedro Alves <palves@redhat.com>
17227
17228 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17229 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17230
4c2f2a79
PA
172312015-09-14 Pedro Alves <palves@redhat.com>
17232
17233 * gdb.base/hook-stop-continue.c: Delete.
17234 * gdb.base/hook-stop-continue.exp: Delete.
17235 * gdb.base/hook-stop-frame.c: Delete.
17236 * gdb.base/hook-stop-frame.exp: Delete.
17237 * gdb.base/hook-stop.c: New file.
17238 * gdb.base/hook-stop.exp: New file.
17239
919e6dbe
PMR
172402015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17241
17242 * gdb.ada/access_to_packed_array.exp: New testcase.
17243 * gdb.ada/access_to_packed_array/foo.adb: New file.
17244 * gdb.ada/access_to_packed_array/pack.adb: New file.
17245 * gdb.ada/access_to_packed_array/pack.ads: New file.
17246
157280a4
MM
172472015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17248
17249 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17250 buffer size test.
17251
2fd33e94
DB
172522015-09-11 Don Breazeal <donb@codesourcery.com>
17253
17254 * gdb.base/foll-exec.c: Add copyright header. Fix
17255 formatting issues.
17256 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17257 (do_exec_tests): Use clean_restart in place of zap_session,
17258 and for test initialization. Fix formatting issues. Use
17259 fail in place of perror.
17260 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17261 an expect statement to match an expression with output from
17262 the program under debug.
17263 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17264 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17265 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17266 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17267 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17268
e70b6e8e
DE
172692015-09-09 Doug Evans <dje@google.com>
17270
17271 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17272
7a551a51
DE
172732015-09-09 Doug Evans <dje@google.com>
17274
17275 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17276
4c666f84
DE
172772015-09-09 Doug Evans <dje@google.com>
17278
17279 * gdb.base/savedregs.exp: Fix typo.
17280
243a9253
PA
172812015-09-09 Pedro Alves <palves@redhat.com>
17282
17283 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17284
c0fa8fbd
SL
172852015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17286
17287 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17288 command actually switches threads. Give up on remaining
17289 tests if target fails to stop at breakpoint.
17290
cd7c1778
PMR
172912015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17292
17293 * gdb.ada/funcall_char.exp: New testcase.
17294 * gdb.ada/funcall_char/foo.adb: New file.
17295
dc5c8746
PMR
172962015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17297
17298 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17299 expected outputs. Add two testcases for completing ambiguous
17300 functions.
17301 * gdb.ada/complete/aux_pck.adb: New file.
17302 * gdb.ada/complete/aux_pck.ads: New file.
17303 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17304 Ambiguous_Func functions.
17305 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17306 * gdb.ada/complete/pck.adb: Likewise.
17307
4e83a1e7
UW
173082015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17309
17310 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17311 failures to run the test program under GDB.
17312
8ce74153
LM
173132015-08-26 Luis Machado <lgustavo@codesourcery.com>
17314
17315 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17316 to C.
17317
e9756d52
PP
173182015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17319
17320 * gdb.base/run-after-attach.exp: New test file.
17321 * gdb.base/run-after-attach.c: New test file.
17322
8d37573b
DB
173232015-08-26 Don Breazeal <donb@codesourcery.com>
17324
17325 * gdb.base/foll-exec-2.c: New test program.
17326 * gdb.base/foll-exec-2.exp: New test.
17327
63e43d3a
PMR
173282015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17329
17330 * gdb.base/nested-subp1.exp: New file.
17331 * gdb.base/nested-subp1.c: New file.
17332 * gdb.base/nested-subp2.exp: New file.
17333 * gdb.base/nested-subp2.c: New file.
17334 * gdb.base/nested-subp3.exp: New file.
17335 * gdb.base/nested-subp3.c: New file.
17336
3d40fbb5
PA
173372015-08-24 Pedro Alves <palves@redhat.com>
17338
17339 * gdb.server/connect-without-multi-process.c: New file.
17340 * gdb.server/connect-without-multi-process.exp: New file.
17341
4422ac93
LM
173422015-08-24 Luis Machado <lgustavo@codesourcery.com>
17343
17344 * gdb.opt/inline-markers.c: Make z int.
17345
91dddb86
LM
173462015-08-24 Luis Machado <lgustavo@codesourcery.com>
17347
17348 * gdb.opt/inline-markers.c: Make z volatile.
17349
a48847ee
LM
173502015-08-24 Luis Machado <lgustavo@codesourcery.com>
17351
17352 * gdb.opt/inline-bt.c: New volatile global z.
17353 * gdb.opt/inline-cmds.c: Likewise.
17354 * gdb.opt/inline-locals.c: Likewise.
17355 * gdb.opt/inline-markers.c: New extern global z.
17356 (marker): Use z.
17357 (inline_fn): Likewise.
17358
0ebbc52b
PA
173592015-08-24 Pedro Alves <palves@redhat.com>
17360
17361 * config/m32r-stub.exp: Remove file.
17362 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17363 * gdb.base/call-rt-st.exp: Likewise.
17364 * gdb.base/call-strs.exp: Likewise.
17365 * gdb.base/default.exp: Remove references to h8300-*-hms and
17366 *-*-udi*.
17367 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17368
77c365df
AA
173692015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17370
17371 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17372 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17373 and "return" use KFAIL when GDB can not read/write the vector
17374 return value.
17375
4313b8c0
GB
173762015-08-21 Gary Benson <gbenson@redhat.com>
17377
17378 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17379
0e433b32
PA
173802015-08-20 Pedro Alves <palves@redhat.com>
17381
17382 * gdb.server/solib-list.exp: No longer expect an interior stop in
17383 non-stop mode.
17384
221e1a37
PA
173852015-08-20 Pedro Alves <palves@redhat.com>
17386
17387 * gdb.server/connect-stopped-target.c: New file.
17388 * gdb.server/connect-stopped-target.exp: New file.
17389
40e3ad0e
PA
173902015-08-20 Pedro Alves <palves@redhat.com>
17391
17392 * gdb.dwarf2/comp-unit-lang.exp: New file.
17393 * gdb.dwarf2/comp-unit-lang.c: New file.
17394
af39b327
PMR
173952015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17396
17397 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17398 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17399
7d45c7c3 174002015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17401
7d45c7c3
KB
17402 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17403 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17404
4d6cceb4
DE
174052015-08-18 Doug Evans <dje@google.com>
17406 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17407
17408 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17409 skip_python_tests. New arg prompt_regexp.
17410 (skip_python_tests): New function.
17411 * lib/mi-support.exp (mi_skip_python_tests): New function.
17412 * gdb.python/py-mi-objfile-gdb.py: New file.
17413 * gdb.python/py-mi-objfile.c: New file.
17414 * gdb.python/py-mi-objfile.exp: New file.
17415
ad89c2aa
KS
174162015-08-17 Keith Seitz <keiths@redhat.com>
17417
17418 * gdb.linespec/explicit.exp: Move strace test from here ...
17419 * gdb.trace/strace.exp: ... to here.
17420
e3ae3c43
PP
174212015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17422
17423 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17424 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17425
604b2636
DE
174262015-08-14 Doug Evans <xdje42@gmail.com>
17427
17428 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17429 inferior before selecting a new file.
17430
6ff0ba5f
DE
174312015-08-14 Doug Evans <xdje42@gmail.com>
17432
17433 * gdb.mi/mi-disassemble.exp: Update.
17434 * gdb.base/disasm-optim.S: New file.
17435 * gdb.base/disasm-optim.c: New file.
17436 * gdb.base/disasm-optim.h: New file.
17437 * gdb.base/disasm-optim.exp: New file.
17438
9ca98f92
KS
174392015-08-14 Keith Seitz <keiths@redhat.com>
17440
17441 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17442 "evaluated-by".
17443
52bbc560
JB
174442015-08-13 Joel Brobecker <brobecker@adacore.com>
17445
17446 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17447
5d8c3ed3
PMR
174482015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17449
17450 * gdb.ada/fun_renaming.exp: New testcase.
17451 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17452 * gdb.ada/fun_renaming/pack.adb: New file.
17453 * gdb.ada/fun_renaming/pack.ads: New file.
17454
ea8812bc
KS
174552015-08-12 Keith Seitz <keiths@redhat.com>
17456
17457 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17458 gdb_get_line_number.
17459
4dafcdeb
JB
174602015-08-12 Joel Brobecker <brobecker@adacore.com>
17461
17462 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17463 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17464 gdb.base/dso2dso.exp: New files.
17465
5ba32597
SDJ
174662015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17467 Pedro Alves <palves@redhat.com>
17468 Keith Seitz <keiths@redhat.com>
17469
17470 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17471 GDBFLAGS.
17472
b6dafabf
PP
174732015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17474
17475 * gdb.base/gdbhistsize-history.exp
17476 (test_histsize_history_setting): Use save_vars.
17477 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17478 Use save_vars.
17479 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17480 * gdb.base/readline.exp: Use save_vars.
17481
abe8e607
PP
174822015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17483
17484 * lib/gdb.exp (save_vars): New proc.
17485
629500fa
KS
174862015-08-11 Keith Seitz <keiths@redhat.com>
17487
17488 * gdb.base/help.exp: Update help_breakpoint_text.
17489
eb8c4e2e
KS
174902015-08-11 Keith Seitz <keiths@redhat.com>
17491
17492 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17493 (at toplevel): Call test_explicit_breakpoints.
17494 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17495 breakpoints.
17496 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17497 breakpoint conditions, "-cond".
17498
87f0e720
KS
174992015-08-11 Keith Seitz <keiths@redhat.com>
17500
17501 * gdb.linespec/3explicit.c: New file.
17502 * gdb.linespec/cpexplicit.cc: New file.
17503 * gdb.linespec/cpexplicit.exp: New file.
17504 * gdb.linespec/explicit.c: New file.
17505 * gdb.linespec/explicit.exp: New file.
17506 * gdb.linespec/explicit2.c: New file.
17507 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17508 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17509 before using in the matching pattern.
17510 Clarify that `prefix' is a regular expression.
17511
f00aae0f
KS
175122015-08-11 Keith Seitz <keiths@redhat.com>
17513
17514 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17515 test.
17516 Add tests for missing ",FMT" and ",".
17517
e27852be
DE
175182015-08-10 Doug Evans <dje@google.com>
17519 Keith Seitz <keiths@redhat.com>
17520
17521 PR gdb/17960
17522 * gdb.base/completion.exp: Add location completer tests.
17523
7f03bd92
PA
175242015-08-07 Pedro Alves <palves@redhat.com>
17525
17526 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17527 tests here.
17528 (top level): Run do_test with and without displaced stepping.
17529
3fc8eb30
PA
175302015-08-07 Pedro Alves <palves@redhat.com>
17531
17532 * gdb.base/valgrind-disp-step.c: New file.
17533 * gdb.base/valgrind-disp-step.exp: New file.
17534
d4569d7b
PA
175352015-08-07 Pedro Alves <palves@redhat.com>
17536
17537 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17538 Delete function.
17539 (main): Add alarm. Run an infinite loop instead of calling
17540 wait_threads.
17541 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17542 comment.
17543 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17544 Delete function.
17545 (main): Add alarm. Run an infinite loop instead of calling
17546 wait_threads.
17547 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17548 comment.
17549
e1316e60
PA
175502015-08-07 Pedro Alves <palves@redhat.com>
17551
17552 * gdb.base/checkpoint-ns.exp: New file.
17553 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17554 standard_testfile.
17555
da8c46d2
MM
175562015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17557
17558 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17559 * gdb.btrace/instruction_history.exp: Update.
17560 * gdb.btrace/tsx.exp: New.
17561 * gdb.btrace/tsx.c: New.
17562
de1c2c52
PA
175632015-08-06 Pedro Alves <palves@redhat.com>
17564
17565 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17566 increase timeout.
17567 * gdb.reverse/until-precsave.exp: Bump timeouts.
17568
782e0bf4
PA
175692015-08-06 Pedro Alves <palves@redhat.com>
17570
17571 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17572
83e97ed0
PA
175732015-08-06 Pedro Alves <palves@redhat.com>
17574
17575 PR gdb/18749
17576 * gdb.threads/process-dies-while-handling-bp.c: New file.
17577 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17578
863d01bd
PA
175792015-08-06 Pedro Alves <palves@redhat.com>
17580
17581 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17582 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17583
0a39bb32
PA
175842015-08-05 Pedro Alves <palves@redhat.com>
17585
17586 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17587 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17588
ee2d2b10
SL
175892015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17590
17591 * gdb.base/bp-permanent.exp: Report test as unsupported if
17592 the target cannot stop at the permanent breakpoint.
17593
4e1bdb00
DE
175942015-08-03 Doug Evans <dje@google.com>
17595
17596 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17597 10000.
17598
3d338901
DE
175992015-08-03 Doug Evans <dje@google.com>
17600
17601 * Makefile.in (workers/%.worker, build-perf): New rule.
17602 (GDB_PERFTEST_MODE): New variable.
17603 (check-perf): Use it.
17604 (clean): Clean up gdb.perf parallel build subdirs.
17605 * lib/build-piece.exp: New file.
17606 * lib/gdb.exp (make_gdb_parallel_path): New function
17607 (standard_output_file, standard_temp_file): Call it.
17608 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17609 of $GDB_PARALLEL.
17610 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17611
af061d3e
DE
176122015-08-03 Doug Evans <dje@google.com>
17613
8e1afc81 17614 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17615 (LOG_FILE_NAME): New global.
17616 (TextReporter.__init__): Initialize self.txt_sum.
17617 (TextReporter.report): Add support for multiple data-points.
17618 Move report to perftest.sum, put raw data in perftest.log.
17619 (TextReporter.start): Open sum and log files.
17620 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17621 * gdb.perf/lib/perftest/testresult.py
17622 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17623
2c8c5d37
PA
176242015-07-31 Pedro Alves <palves@redhat.com>
17625
17626 * gdb.base/attach-pie-misread.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 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17630 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17631 kill_wait_spawned_process.
17632 * gdb.base/attach-twice.exp: Likewise.
17633 * gdb.base/attach.exp: Likewise.
17634 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17635 gdb_test_multiple.
17636 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17637 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17638 kill_wait_spawned_process.
17639 * gdb.base/valgrind-infcall.exp: Likewise.
17640 * gdb.multi/multi-attach.exp: Likewise.
17641 * gdb.python/py-prompt.exp: Likewise.
17642 * gdb.python/py-sync-interp.exp: Likewise.
17643 * gdb.server/ext-attach.exp: Likewise.
17644 * gdb.threads/attach-into-signal.exp (corefunc): Use
17645 spawn_wait_for_attach, spawn_id_get_pid and
17646 kill_wait_spawned_process.
17647 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17648 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17649 spawn_id_get_pid and kill_wait_spawned_process.
17650 * gdb.threads/attach-stopped.exp (corefunc): Use
17651 spawn_wait_for_attach, spawn_id_get_pid and
17652 kill_wait_spawned_process.
17653 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17654 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17655 kill_wait_spawned_process instead of explicit "kill -9".
17656 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17657 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17658 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17659 processes. Don't map cygwin/windows pids here. Now returns a
17660 spawn id list.
17661
032a0fca
SL
176622015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17663
17664 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17665 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17666 correct patch.
17667
61a934ca
SL
176682015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17669
17670 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17671
4bc4d428
SL
176722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17673
17674 Reapply:
17675 2014-05-21 Mark Wielaard <mjw@redhat.com>
17676
17677 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17678
998d452a
PA
176792015-07-30 Pedro Alves <palves@redhat.com>
17680
17681 * linux-low.c (handle_extended_wait): Set the child's last
17682 reported status to TARGET_WAITKIND_STOPPED.
17683
69dde7dc
PA
176842015-07-30 Pedro Alves <palves@redhat.com>
17685
17686 PR threads/18600
17687 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17688 only shows inferior 1.
17689
4dd63d48
PA
176902015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17691 Pedro Alves <palves@redhat.com>
17692
17693 PR threads/18600
17694 * gdb.threads/fork-plus-threads.c: New file.
17695 * gdb.threads/fork-plus-threads.exp: New file.
17696
d618e4c5
PP
176972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17698
17699 * gdb.base/batch-preserve-term-settings.exp
17700 (test_terminal_settings_preserved_after_cli_exit): Use
17701 send_quit_command.
17702
1eef6428
PA
177032015-07-29 Pedro Alves <palves@redhat.com>
17704 Don Breazeal <donb@codesourcery.com>
17705
17706 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17707 output from both inferior_spawn_id and gdb_spawn_id.
17708
7da5b897
SDJ
177092015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17710
17711 * gdb.threads/attach-into-signal.exp (corefunc): Use
17712 with_test_prefix on nested loops, uniquefying the test messages.
17713
dac804df
SDJ
177142015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17715
17716 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17717 commit.
17718
06265e53
PP
177192015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17720
17721 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17722 New proc.
17723 (test_terminal_settings_preserved_after_sigterm): New test.
17724
18206ca3
PP
177252015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17726
17727 * gdb.base/batch-preserve-term-settings.exp
17728 (test_terminal_settings_preserved_after_cli_exit): New test.
17729
90074d11
PP
177302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17731
17732 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17733 manipulation of saved_gdbflags.
17734 (test_terminal_settings_preserved): Remove global declaration of
17735 the unused variable pagination_prompt. Remove manipulation of
17736 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17737 GDBFLAGS.
17738
eb1a7902
PA
177392015-07-29 Pedro Alves <palves@redhat.com>
17740
17741 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17742
8b75dd3b
PA
177432015-07-29 Pedro Alves <palves@redhat.com>
17744
17745 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17746 at the top.
17747
dedad4e3
PA
177482015-07-29 Pedro Alves <palves@redhat.com>
17749
17750 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17751 (main): Call gdb_unbuffer_output.
17752 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17753 (main): Call gdb_unbuffer_output.
17754 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17755 (main): Call gdb_unbuffer_output.
17756 * gdb.base/call-strs.exp: Adjust to step over the
17757 gdb_unbuffer_output call.
17758 * gdb.base/catch-gdb-caused-signals.c: Include
17759 "../lib/unbuffer_output.c".
17760 (main): Call gdb_unbuffer_output.
17761 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17762 (main): Call gdb_unbuffer_output.
17763 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17764 (main): Call gdb_unbuffer_output.
17765 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17766 (main): Call gdb_unbuffer_output.
17767 * gdb.base/shlib-call.exp: Adjust to step over the
17768 gdb_unbuffer_output call.
17769 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17770 (main): Call gdb_unbuffer_output.
17771 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17772 (main): Call gdb_unbuffer_output.
17773 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17774 (main): Rename to ...
17775 (test): ... this.
17776 (main): Reimplement.
17777 * gdb.base/varargs.exp: Run to test instead of to main.
17778 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17779 (main): Call gdb_unbuffer_output.
17780
58789a91
PA
177812015-07-29 Pedro Alves <palves@redhat.com>
17782
17783 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17784 factore out from mi_continue_dprintf. For call-style dprintfs,
17785 expect dprintf output out of $inferior_spawn_id.
17786 (mi_continue_dprintf): Use mi_expect_dprintf.
17787 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17788 (main): Call gdb_unbuffer_output.
17789
e8376742
PA
177902015-07-29 Pedro Alves <palves@redhat.com>
17791
17792 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17793 (default_mi_gdb_start): Set inferior_spawn_id instead of
17794 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17795 gdb_spawn_id.
17796 (mi_gdb_test): Always expect inferior output from both
17797 $inferior_spawn_id and $gdb_spawn_id.
17798
08280010
PA
177992015-07-29 Pedro Alves <palves@redhat.com>
17800
17801 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17802 send_inferior and $inferior_spawn_id.
17803
4d30e432
PA
178042015-07-29 Pedro Alves <palves@redhat.com>
17805
17806 * gdb.gdb/complaints.exp (test_initial_complaints)
17807 (test_serial_complaints, test_short_complaints): Use
17808 gdb_test_stdio.
17809 (test_empty_complaint): Handle $inferior_spawn_id !=
17810 $gdb_spawn_id.
17811
0d30a335
PA
178122015-07-29 Pedro Alves <palves@redhat.com>
17813
17814 * gdb.base/varargs.exp: Use gdb_test_stdio.
17815
39413b29
PA
178162015-07-29 Pedro Alves <palves@redhat.com>
17817
17818 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17819
7cb000a9
PA
178202015-07-29 Pedro Alves <palves@redhat.com>
17821
17822 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17823
d7b8ac82
PA
178242015-07-29 Pedro Alves <palves@redhat.com>
17825
17826 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17827 parameter into two new parameters, "inf_result" and "gdb_result".
17828 Expect inferior output and gdb output from $inferior_spawn_id and
17829 $gdb_spawn_id, respectively. Adjust all callers.
17830
789c3a0c
PA
178312015-07-29 Pedro Alves <palves@redhat.com>
17832
17833 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17834 of gdb_test_sequence.
17835
77e760c3
PA
178362015-07-29 Pedro Alves <palves@redhat.com>
17837
17838 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17839 (saw_spurious_output): Expect inferior output from
17840 $inferior_spawn_id. Use gdb_test_stdio.
17841
8396d2cd
PA
178422015-07-29 Pedro Alves <palves@redhat.com>
17843
17844 * gdb.base/dprintf.exp: Use standard_testfile. Change
17845 prepare_for_testing call.
17846 (srcfile): Don't set.
17847 (restart): New procedure.
17848 (test_dprintf): New procecure, use to continue over dprintfs.
17849 (test_call, test_agent): New procedures, tests moved here.
17850 Restart gdb and recreate dprintfs. Adjust expected output.
17851
2051d61f
PA
178522015-07-29 Pedro Alves <palves@redhat.com>
17853
17854 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17855
452397af
PA
178562015-07-29 Pedro Alves <palves@redhat.com>
17857
17858 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17859
8aed9555
PA
178602015-07-29 Pedro Alves <palves@redhat.com>
17861
17862 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17863 gdb_test_stdio.
17864
188a61b4
PA
178652015-07-29 Pedro Alves <palves@redhat.com>
17866
17867 * lib/gdb.exp (gdb_test_stdio): New procedure.
17868
12264a45
PA
178692015-07-29 Pedro Alves <palves@redhat.com>
17870
17871 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17872
23ffc893
PA
178732015-07-29 Pedro Alves <palves@redhat.com>
17874
17875 * gdb.base/call-signal-resume.exp: Remove check for
17876 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17877 * gdb.base/unwindonsignal.exp: Likewise.
17878 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17879 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17880
65566918
PA
178812015-07-29 Pedro Alves <palves@redhat.com>
17882
17883 * gdb.base/siginfo-addr.c (pass): New function.
17884 (handler): Call it iff si_addr is correct.
17885 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17886 Set a breakpoint at "pass" and continue to it.
17887
d60a9221
SDJ
178882015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17889
17890 * gdb.python/py-objfile.exp: Make some tests have unique names.
17891 * gdb.python/py-pp-registration.exp: Likewise.
17892
bde40b8f
PA
178932015-07-28 Pedro Alves <palves@redhat.com>
17894
17895 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17896
13e1dec8
SM
178972015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17898
17899 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17900
da33c9a7
SM
179012015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17902
17903 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17904
077836f7
PP
179052015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17906
17907 * gdb.base/gdb-sigterm-2.exp: New test.
17908
b8cc7b2e
DE
179092015-07-25 Doug Evans <xdje42@gmail.com>
17910
17911 Revert:
17912 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17913 (workers/%.worker, build-perf): New rule.
17914 (GDB_PERFTEST_MODE): New variable.
17915 (check-perf): Use it.
17916 (clean): Clean up gdb.perf parallel build subdirs.
17917 * lib/build-piece.exp: New file.
17918 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17919 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17920 name.
17921 (standard_temp_file): Ditto.
17922 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17923 of $GDB_PARALLEL.
17924
c8bd4544
DE
179252015-07-24 Doug Evans <dje@google.com>
17926
17927 * gdb.perf/lib/perftest/utils.py: New file.
17928 * gdb.perf/gm-hello.cc: New file.
17929 * gdb.perf/gm-pervasive-typedef.cc: New file.
17930 * gdb.perf/gm-pervasive-typedef.h: New file.
17931 * gdb.perf/gm-std.cc: New file.
17932 * gdb.perf/gm-std.h: New file.
17933 * gdb.perf/gm-use-cerr.cc: New file.
17934 * gdb.perf/gm-utils.h: New file.
17935 * gdb.perf/gmonster-null-lookup.py: New file.
17936 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17937 * gdb.perf/gmonster-print-cerr.py: New file.
17938 * gdb.perf/gmonster-ptype-string.py: New file.
17939 * gdb.perf/gmonster-runto-main.py: New file.
17940 * gdb.perf/gmonster-select-file.py: New file.
17941 * gdb.perf/gmonster1-null-lookup.exp: New file.
17942 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17943 * gdb.perf/gmonster1-print-cerr.exp: New file.
17944 * gdb.perf/gmonster1-ptype-string.exp: New file.
17945 * gdb.perf/gmonster1-runto-main.exp: New file.
17946 * gdb.perf/gmonster1-select-file.exp: New file.
17947 * gdb.perf/gmonster1.cc: New file.
17948 * gdb.perf/gmonster1.exp: New file.
17949 * gdb.perf/gmonster2-null-lookup.exp: New file.
17950 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17951 * gdb.perf/gmonster2-print-cerr.exp: New file.
17952 * gdb.perf/gmonster2-ptype-string.exp: New file.
17953 * gdb.perf/gmonster2-runto-main.exp: New file.
17954 * gdb.perf/gmonster2-select-file.exp: New file.
17955 * gdb.perf/gmonster2.cc: New file.
17956 * gdb.perf/gmonster2.exp: New file.
17957
6eab34f3
DE
179582015-07-24 Doug Evans <dje@google.com>
17959
17960 * gdb.perf/README: New file.
17961 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17962 * lib/gen-perf-test.exp: New file.
17963
63738bfd
DE
179642015-07-24 Doug Evans <dje@google.com>
17965
17966 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17967 (PerfTest::startup): New function.
17968 (PerfTest::run): Return result of calling body.
17969 (PerfTest::assemble): Rewrite.
17970 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17971 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17972 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17973 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17974 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17975
7b606f95
DE
179762015-07-24 Doug Evans <dje@google.com>
17977
17978 * lib/gdb.exp (clean_restart): Make executable optional.
17979
a97b16b8
DE
179802015-07-24 Doug Evans <dje@google.com>
17981
17982 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17983 compiler_info references.
17984 * gdb.cp/temargs.exp: Ditto.
17985 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17986 (get_compiler_info): Early exit if already computed. Set compiler_info
17987 to "unknown" if there was a problem.
17988 (test_compiler_info): Add function comment. Call get_compiler_info.
17989
35baa57f
DE
179902015-07-24 Doug Evans <dje@google.com>
17991
17992 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17993 (workers/%.worker, build-perf): New rule.
17994 (GDB_PERFTEST_MODE): New variable.
17995 (check-perf): Use it.
17996 (clean): Clean up gdb.perf parallel build subdirs.
17997 * lib/build-piece.exp: New file.
17998 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17999 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18000 name.
18001 (standard_temp_file): Ditto.
18002 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18003 of $GDB_PARALLEL.
18004
6ebea266
DE
180052015-07-24 Doug Evans <dje@google.com>
18006
18007 * lib/future.exp (gdb_default_target_compile): New option
18008 "early_flags".
18009 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18010 --as-needed.
18011
1e76a7e9
SDJ
180122015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18013
18014 * gdb.base/catch-syscall.exp: Call gdb_exit before
18015 gdb_skip_xml_test.
18016
5068630a
PA
180172015-07-24 Pedro Alves <palves@redhat.com>
18018
18019 * gdb.python/py-events.exp: Accept output between the stop event
18020 and the prompt.
18021 * gdb.python/py-evsignal.exp: Likewise.
18022 * gdb.python/py-evthreads.exp: Likewise.
18023
77598427
PA
180242015-07-24 Pedro Alves <palves@redhat.com>
18025
18026 PR gdb/18717
18027 * gdb.threads/non-ldr-exit.c: New file.
18028 * gdb.threads/non-ldr-exit.exp: New file.
18029
11e6c98f
YQ
180302015-07-24 Yao Qi <yao.qi@linaro.org>
18031
18032 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18033 restarting process.
18034
51aee833
YQ
180352015-07-24 Yao Qi <yao.qi@linaro.org>
18036
18037 * gdb.server/ext-restart.exp: New file.
18038
8cfe207c
YQ
180392015-07-24 Yao Qi <yao.qi@linaro.org>
18040
18041 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18042 argument options.
18043 * gdb.server/ext-wrapper.exp: New file.
18044
cc12ce38
DE
180452015-07-23 Doug Evans <dje@google.com>
18046
18047 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18048 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18049
d0d84780
PMR
180502015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18051
18052 * gdb.ada/var_arr_typedef.exp: New testcase.
18053 * gdb.ada/var_arr_typedef/pack.adb: New file.
18054 * gdb.ada/var_arr_typedef/pack.ads: New file.
18055 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18056
8b558f79
JB
180572015-07-20 Joel Brobecker <brobecker@adacore.com>
18058
18059 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18060
775a3298
JK
180612015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18062
18063 * gdb.arch/i386-biarch-core.exp: Replace istarget
18064 by "complete set gnutarget". Remove expectation for the "core-file"
18065 command.
18066
db1ff28b
JK
180672015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18068
18069 Revert the previous commit:
18070 Tests for validate symbol file using build-id.
18071
0a94970d
JK
180722015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18073
18074 Tests for validate symbol file using build-id.
18075 * gdb.base/solib-mismatch-lib.c: New file.
18076 * gdb.base/solib-mismatch-libmod.c: New file.
18077 * gdb.base/solib-mismatch.c: New file.
18078 * gdb.base/solib-mismatch.exp: New file.
18079
03346981
SL
180802015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18081
18082 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18083 nios2-*-linux*.
18084 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18085 * gdb.base/siginfo.exp: Likewise.
18086 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18087
42422cc7
PL
180882015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18089
18090 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18091 Move it to ...
18092 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18093 ... here.
18094 * gdb.trace/range-stepping.exp: Check that the target supports
18095 range stepping.
18096
cfa68bae
JK
180972015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18098
18099 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18100
8ffdba26
PA
181012015-07-14 Pedro Alves <palves@redhat.com>
18102
18103 * gdb.base/killed-outside.exp: New file.
18104 * gdb.base/killed-outside.c: New file.
18105
218a5a11
JK
181062015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18107
18108 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18109 (n at main): New.
18110 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18111
e03ed3c6
AA
181122015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18113
18114 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18115 infcall tests instead of setting up for KFAIL.
18116
485668e5
MM
181172015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18118
18119 * gdb.btrace/record_goto-step.exp: New.
18120
08464196
JK
181212015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18122
18123 PR compile/18484
18124 * gdb.compile/compile.c (struct struct_type): Add volatile to
18125 selffield's type.
18126 * gdb.compile/compile.exp
18127 (compile code struct_object.selffield = &struct_object): Skip further
18128 struct_object tests if this one xfails.
18129
bcf5c1d9
RC
181302015-07-08 Robert O'Callahan <robert@ocallahan.org>
18131
18132 PR exp/18617
18133 * gdb.trace/ax.exp: Add test.
18134
4931af25
YQ
181352015-07-07 Yao Qi <yao.qi@linaro.org>
18136
18137 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18138 instead of istarget "aarch64*-*-*".
18139 * gdb.arch/aarch64-fp.exp: Likewise.
18140 * gdb.base/float.exp: Likewise.
18141 * gdb.reverse/aarch64.exp: Likewise.
18142 * lib/gdb.exp (is_aarch64_target): New proc.
18143
9fcf688e
YQ
181442015-07-07 Yao Qi <yao.qi@linaro.org>
18145
18146 * lib/gdb.exp (is_aarch32_target): New proc.
18147 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18148 instead of "istarget "arm*-*-*"".
18149 * gdb.arch/arm-disp-step.exp: Likewise.
18150 * gdb.arch/thumb-bx-pc.exp: Likewise.
18151 * gdb.arch/thumb-prologue.exp: Likewise.
18152 * gdb.arch/thumb-singlestep.exp: Likewise.
18153 * gdb.base/disp-step-syscall.exp: Likewise.
18154 * gdb.base/float.exp: Likewise.
18155
fbd8d50d
YQ
181562015-07-07 Yao Qi <yao.qi@linaro.org>
18157
18158 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18159 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18160
71be1fdc
YQ
181612015-07-07 Yao Qi <yao.qi@linaro.org>
18162
18163 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18164 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18165 if it exists.
18166 * gdb.multi/multi-arch.exp: Likewise.
18167
3e221d36
SM
181682015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18169
18170 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18171 print.
18172
d441430b
YQ
181732015-07-07 Yao Qi <yao.qi@linaro.org>
18174
18175 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18176
06f810bd
MG
181772015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18178
18179 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18180 '[' and ']' characters.
18181
5e61e7c0
IB
181822015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18183
18184 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18185
28bf096c
PA
181862015-06-29 Pedro Alves <palves@redhat.com>
18187
18188 PR threads/18127
18189 * gdb.threads/hand-call-new-thread.c: New file.
18190 * gdb.threads/hand-call-new-thread.c: New file.
18191
ee93cd5e
KS
181922015-06-26 Keith Seitz <keiths@redhat.com>
18193 Doug Evans <dje@google.com>
18194
18195 PR 16253
18196 * gdb.cp/var-tag-2.cc: New file.
18197 * gdb.cp/var-tag-3.cc: New file.
18198 * gdb.cp/var-tag-4.cc: New file.
18199 * gdb.cp/var-tag.cc: New file.
18200 * gdb.cp/var-tag.exp: New file.
18201
fc637f04
PP
182022015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18203
18204 * gdb.base/history-duplicates.exp: New test.
18205
2e52ae68
PP
182062015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18207
18208 * gdb.base/completion.exp: Test the completion of the "focus"
18209 command.
18210
6e22494e
JK
182112015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18212
18213 * gdb.arch/amd64-prologue-skip.S: New file.
18214 * gdb.arch/amd64-prologue-skip.exp: New file.
18215
bf7b9cd9
SM
182162015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18217
18218 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18219 is_address_zero_readable check.
18220
201e8dfd
PB
182212015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18222
18223 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18224 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18225
5cd867b4
YQ
182262015-06-24 Yao Qi <yao.qi@linaro.org>
18227
18228 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18229 linux targets.
18230
4d7be007
YQ
182312015-06-24 Yao Qi <yao.qi@linaro.org>
18232
18233 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18234 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18235 * gdb.base/siginfo-thread.exp: Likewise.
18236
07fcd301
YQ
182372015-06-22 Yao Qi <yao.qi@linaro.org>
18238
18239 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18240
52042a00
YQ
182412015-06-22 Yao Qi <yao.qi@linaro.org>
18242
18243 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18244 aarch64*-*-*.
18245 (skip_hw_watchpoint_tests): Likewise.
18246
74bd41ce
PP
182472015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18248
18249 * gdb.base/gdbinit-history.exp: Test the interaction between
18250 setting GDBHISTSIZE and setting the history size via .gdbinit.
18251
bc460514
PP
182522015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18253
18254 PR gdb/16999
18255 * gdb.base/gdbhistsize-history.exp: New test.
18256
b58c513b
PP
182572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18258
18259 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18260 with GDBHISTSIZE.
18261 * gdb.base/readline.exp: Likewise.
18262
92046791
YQ
182632015-06-17 Yao Qi <yao.qi@linaro.org>
18264
18265 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18266 line.
18267
2093d2d3
PP
182682015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18269
18270 * gdb.base/gdbinit-history.exp: Add test case to check that
18271 an unlimited history file does not get truncated on exit.
18272
e6c693af
AA
182732015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18274
18275 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18276 (VECTOR): New macro. Use it...
18277 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18278 ...for these typedefs.
18279 (int8, char1, int1, double1): New typedefs.
18280 (struct just_int2, struct two_int2): New structures.
18281 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18282 (add_structvecs, add_singlevecs): New functions.
18283 (main): Call add_some_intvecs twice.
18284 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18285 the compile and exit upon failure. Try compiling for the "native"
18286 architecture. Test inferior function calls with vector arguments
18287 and vector return value handling with "finish" and "return".
18288
c74f7d1c
JT
182892015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18290
18291 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18292 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18293 PE file.
18294 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18295
98aa42ee
AT
182962015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18297
18298 PR breakpoints/16465
18299 * gdb.mi/mi-dprintf-pending.c: New file.
18300 * gdb.mi/mi-dprintf-pending.exp: New test.
18301 * gdb.mi/mi-dprintf-pendshr.c: New file.
18302
7d73c23c 183032015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18304 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18305
18306 * gdb.arch/i386-mpx-map.c: New file.
18307 * gdb.arch/i386-mpx-map.exp: New File.
18308
183092015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18310
18311 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18312 * gdb.arch/i386-mpx.exp: Indentation fixed.
18313
183142015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18315
18316 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18317 function and improved indentation.
18318 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18319 gdb_test_multiple. Added additional tests to skip the test.
18320
183212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18322
18323 * gdb.arch/i386-avx512.c: Change path in include file.
18324 * gdb.arch/i386-avx512.exp: Change include dir path
18325 compilation flag.
18326 * gdb.arch/i386-mpx.c: Change path in include file.
18327 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18328 flag.
18329
d5eba19a
JK
183302015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18331
18332 * gdb.compile/compile-print.exp (compile print *vararray@3)
18333 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18334
7f361056
JK
183352015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18336
18337 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18338 (do not keep jit in memory): ... this.
18339 (expect 5): Change it to ...
18340 (expect no 5): ... this.
18341
3b462ec2
SM
183422015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18343
18344 PR gdb/15564
18345 * gdb.mi/mi-detach.exp: New file.
18346
e0619de6
JK
183472015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18348
18349 PR symtab/18392
18350 * gdb.arch/amd64-tailcall-self.S: New file.
18351 * gdb.arch/amd64-tailcall-self.c: New file.
18352 * gdb.arch/amd64-tailcall-self.exp: New file.
18353
e970cb34
DB
183542015-05-28 Don Breazeal <donb@codesourcery.com>
18355
18356 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18357 tests for remote targets by checking is_target_gdbserver.
18358
b2e2f908
DE
183592015-05-27 Doug Evans <dje@google.com>
18360
18361 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18362 * gdb.dwarf2/opaque-type-lookup.c: New file.
18363 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18364
82c7be31
DE
183652015-05-26 Doug Evans <dje@google.com>
18366
18367 * gdb.cp/iostream.cc: New file.
18368 * gdb.cp/iostream.exp: New file.
18369
b4f54984
DE
183702015-05-26 Doug Evans <dje@google.com>
18371
18372 * gdb.dwarf2/dw2-op-call.exp: Update.
18373 * gdb.dwarf2/dw4-sig-types.exp: Update.
18374 * gdb.dwarf2/implptr.exp: Update.
18375 * gdb.mi/mi-cmd-param-changed.exp: Update.
18376
4ea6efe9
DE
183772015-05-26 Doug Evans <dje@google.com>
18378
18379 * gdb.python/py-lazy-string.c: New file.
18380 * gdb.python/py-lazy-string.exp: New file.
18381 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18382 (main): Update. Add estring3.
18383 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18384 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18385
f6bb7db3
YQ
183862015-05-26 Omair Javaid <omair.javaid@linaro.org>
18387 Yao Qi <yao.qi@linaro.org>
18388
18389 * gdb.reverse/aarch64.c: New.
18390 * gdb.reverse/aarch64.exp: New.
18391
a81bfbd0
OJ
183922015-05-26 Omair Javaid <omair.javaid@linaro.org>
18393
25d49b86
PA
18394 * lib/gdb.exp (supports_process_record): Return true for
18395 aarch64*-linux*.
a81bfbd0
OJ
18396 (supports_reverse): Likewise.
18397
158bf1b4
PP
183982015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18399
18400 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18401 Use with_test_prefix.
18402
a0145030
AB
184032015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18404
18405 * gdb.base/completion.exp: Add test for completion of layout
18406 names.
18407
ebe3b578
AB
184082015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18409
18410 * lib/gdb.exp (skip_tui_tests): New proc.
18411 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18412
84204ed7
PA
184132015-05-19 Pedro Alves <palves@redhat.com>
18414
18415 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18416 Save the whole env array instead of just HOME. Unset HISTSIZE in
18417 the environment while testing. Restore whole environment
18418 afterwards.
18419
37442ce1
DE
184202015-05-16 Doug Evans <xdje42@gmail.com>
18421
18422 * gdb.guile/scm-ports.c: New file.
18423 * gdb.guile/scm-ports.exp: Add memory port tests.
18424
36de76f9
JK
184252015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18426
18427 * gdb.compile/compile-print.c: New file.
18428 * gdb.compile/compile-print.exp: New file.
18429
3a9558c4
JK
184302015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18431
18432 * gdb.compile/compile-ops.exp: Cast param to void.
18433 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18434 (compile code struct_object.selffield = &struct_object): Add xfail.
18435
aa715135
JG
184362015-05-15 Joel Brobecker <brobecker@adacore.com>
18437
18438 * gdb.ada/arr_enum_with_gap: New testcase.
18439
931e5bc3
JG
184402015-05-15 Joel Brobecker <brobecker@adacore.com>
18441
18442 * gdb.ada/byte_packed_arr: New testcase.
18443
9cd4d857
JB
184442015-05-15 Joel Brobecker <brobecker@adacore.com>
18445
18446 * gdb.ada/pckd_neg: New testcase.
18447
ebfd00d2
PP
184482015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18449
18450 PR gdb/17820
18451 * gdb.base/gdbinit-history.exp: New test.
18452 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18453 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18454
4c082a81
SC
184552015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18456
18457 * gdb.python/py-xmethods.cc: Enhance test case.
18458 * gdb.python/py-xmethods.exp: New tests.
18459 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18460 function.
18461 (B_indexoper): Likewise.
18462 (global_dm_list) : Add new xmethod worker functions.
18463
f7797074
SDJ
184642015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18465
18466 * gdb.base/coredump-filter.exp: Correctly unset
18467 "coredump_var_addr" array.
18468
a4674e4e
PA
184692015-05-08 Pedro Alves <palves@redhat.com>
18470
18471 * gdb.server/non-existing-program.exp: Unset spawn_id.
18472
df2eb078
SC
184732015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18474
18475 PR python/18291
18476 * gdb.python/py-xmethods.exp: Add tests.
18477
422349a3
YQ
184782015-05-08 Yao Qi <yao.qi@linaro.org>
18479
18480 PR gdb/18208
18481 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18482 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18483 function set_coredump_filter, and remove remote_exec call.
18484 Remove argument ipid. Callers update.
18485 (top level): Don't get inferior's PID.
18486
63fc80ce
AA
184872015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18488
18489 * gdb.base/watch_thread_num.exp: Skip test on targets without
18490 access watchpoints.
18491
80ad801e
PA
184922015-05-06 Pedro Alves <palves@redhat.com>
18493
18494 PR server/18081
18495 * gdb.server/non-existing-program.exp: New file.
18496
0fa7fe50
JB
184972015-05-05 Joel Brobecker <brobecker@adacore.com>
18498
18499 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18500
3ea89b92
PMR
185012015-05-05 Joel Brobecker <brobecker@adacore.com>
18502
18503 * gdb.ada/out_of_line_in_inlined: New testcase.
18504
87b8eff0
JB
185052015-05-05 Joel Brobecker <brobecker@adacore.com>
18506
18507 * gdb.ada/var_rec_arr: New testcase.
18508
5fccc635
YQ
185092015-04-30 Yao Qi <yao.qi@linaro.org>
18510
18511 * gdb.base/break-idempotent.exp: If
18512 skip_hw_watchpoint_multi_tests returns true, skip the tests
18513 on "rwatch" and "awatch".
18514
42d38f42
YQ
185152015-04-30 Yao Qi <yao.qi@linaro.org>
18516
18517 * gdb.base/relativedebug.exp: Invoke gdb command
18518 "info sharedlibrary", and if libc.so doesn't have debug info,
18519 skip the test.
18520
2ce1cdbf
DE
185212015-04-29 Doug Evans <dje@google.com>
18522
18523 * gdb.python/py-xmethods.exp: Add ptype tests.
18524 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18525 get_result_type method.
18526
f24a38c5
LM
185272015-04-29 Luis Machado <lgustavo@codesourcery.com>
18528
18529 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18530 the target does not support hardware watchpoints.
18531
ecbf2b3c
LM
185322015-04-29 Luis Machado <lgustavo@codesourcery.com>
18533
18534 * gdb.base/break-always.exp: Abort testing if writing to memory
18535 causes an error.
18536
34f5f757
DE
185372015-04-28 Doug Evans <dje@google.com>
18538
18539 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18540 * gdb.python/py-pp-registration.exp: ... here. New file.
18541 * gdb.python/py-pp-registration.c: New file.
18542 * gdb.python/py-pp-registration.py: New file.
18543
69b4374a
DE
185442015-04-28 Doug Evans <dje@google.com>
18545
18546 * gdb.python/py-bad-printers.c: New file.
18547 * gdb.python/py-bad-printers.py: New file.
18548 * gdb.python/py-bad-printers.exp: New file.
18549
59fb7612
SS
185502015-04-28 Sasha Smundak <asmundak@google.com>
18551
18552 * gdb.python/py-type.exp: New test.
18553
2631b16a
AW
185542015-04-28 Andy Wingo <wingo@igalia.com>
18555
18556 * gdb.python/py-parameter.exp:
18557 * gdb.guile/scm-parameter.exp: Escape the path that we are
18558 matching against, as it might contain characters that are special
18559 to regular expressions.
18560
460efde1
JB
185612015-04-27 Joel Brobecker <brobecker@adacore.com>
18562
18563 * gdb.ada/rec_comp: New testcase.
18564
2d369d8e
SDJ
185652015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18566
18567 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18568 before using it.
18569
cf75d6c3
AB
185702015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18571
18572 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18573 new tests for verilog output.
18574
8dbe7ca5
YQ
185752015-04-24 Yao Qi <yao.qi@linaro.org>
18576
18577 * boards/remote-gdbserver-on-localhost.exp: New file.
18578
4ef9fb2f
PA
185792015-04-23 Pedro Alves <palves@redhat.com>
18580
18581 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18582 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18583 "end of file", remove $inferior_spawn_id from the indirect list.
18584
0a803169
PA
185852015-04-23 Pedro Alves <palves@redhat.com>
18586
18587 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18588
749ef8f8
PA
185892015-04-23 Pedro Alves <palves@redhat.com>
18590
18591 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18592 on $any_spawn_id instead of only on $gdb_spawn_id.
18593
8aae4344
PM
185942015-04-21 Pierre Muller <muller@sourceware.org>
18595
18596 PR pascal/17815
18597 * lib/pascal.exp (gpc_compile): Add new option "class".
18598 (fpc_compile): Likewise.
18599 * gdb.pascal/case-insensitive-symbols.pas: New file.
18600 * gdb.pascal/case-insensitive-symbols.exp: New file.
18601
1586c8fb
GB
186022015-04-20 Gary Benson <gbenson@redhat.com>
18603
18604 * gdb.base/attach.exp: Fix three extended remote failures.
18605
1b6e6f5c
GB
186062015-04-17 Gary Benson <gbenson@redhat.com>
18607
18608 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18609 the main executable over the remote protocol.
18610
e797481d
PA
186112015-04-16 Pedro Alves <palves@redhat.com>
18612
18613 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18614 a new gdbserver if gdbserver_reconnect_p is set.
18615
1ca99c42
PA
186162015-04-16 Pedro Alves <palves@redhat.com>
18617
18618 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18619 is set, don't exit gdbserver.
18620
af9fd6f8
AA
186212015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18622
18623 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18624 appropriate .insn, such that an older assembler can be used.
18625 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18626 the z/Architecture instruction set on 31-bit targets as well.
18627
04ff1e61
AA
186282015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18629
18630 * gdb.go/handcall.exp: Remove all logic related to the first
18631 breakpoint and rely on go_runto_main instead.
18632 * gdb.go/strings.exp: Likewise.
18633 * gdb.go/unsafe.exp: Likewise.
18634 * gdb.go/hello.exp: Likewise. Also rename the remaining
18635 breakpoint marker to "breakpoint 1".
18636 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18637 * gdb.go/strings.go: Likewise.
18638 * gdb.go/unsafe.go: Likewise.
18639 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18640 "set breakpoint 2 here" and rename the remaining breakpoint marker
18641 to "breakpoint 1".
18642
40d2f8d6
SM
186432015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18644
18645 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18646 if itertools.imap is not present.
18647 * gdb.python/py-objfile.exp: Add parentheses.
18648 * gdb.python/py-type.exp: Same.
18649 * gdb.python/py-unwind-maint.py: Same.
18650
8cbc97c6
YQ
186512015-04-15 Yao Qi <yao.qi@linaro.org>
18652
18653 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18654 of ":$ptr_size" and set its form explicitly.
18655
45fd756c
YQ
186562015-04-15 Pedro Alves <palves@redhat.com>
18657 Yao Qi <yao.qi@linaro.org>
18658
18659 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18660 timeout by factor of 4.
18661 (test_regular_watch): Likewise.
18662 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18663 * gdb.reverse/sigall-reverse.exp: Likewise.
18664 * gdb.reverse/until-precsave.exp: Likewise.
18665 * lib/gdb.exp (with_timeout_factor): New proc.
18666 (gdb_expect): Move some code to ...
18667 (get_largest_timeout): ... here. New procedure.
18668
9e811bc3
LM
186692015-04-14 Luis Machado <lgustavo@codesourcery.com>
18670
18671 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18672
0ff6fcb2
LM
186732015-04-13 Luis Machado <lgustavo@codesourcery.com>
18674
18675 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18676 to write to the .text section.
18677
7578d5f7
LM
186782015-04-13 Luis Machado <lgustavo@codesourcery.com>
18679
18680 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18681 Handle the case of targets that do not provide PID information.
18682
2efe15c4
YQ
186832015-04-13 Yao Qi <yao.qi@linaro.org>
18684
18685 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18686 and use expect instead of gdb_expect.
18687
8cd8f2f8
SDJ
186882015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18689
18690 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18691 "coredump_var_addr" to avoid naming conflict with other testcases.
18692
9ee41772
PA
186932015-04-10 Pedro Alves <palves@redhat.com>
18694
18695 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18696 gdb_test_sequence and gdb_assert.
18697
07473109
PA
186982015-04-10 Pedro Alves <palves@redhat.com>
18699
18700 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18701 test messages that don't include the breakpoint address.
18702
de3db44c
YQ
187032015-04-10 Yao Qi <yao.qi@linaro.org>
18704
18705 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18706 false for some offset and width combinations which aren't
18707 supported by linux kernel.
18708
c79d856c
PA
187092015-04-10 Pedro Alves <palves@redhat.com>
18710
18711 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18712 procedure, factored out from ...
18713 (top level): ... here. Add "set displaced-stepping" testing axis.
18714 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18715 parameter "displaced". Use it.
18716 (top level): Use foreach and add "set displaced-stepping" testing
18717 axis.
18718
ebc90b50
PA
187192015-04-10 Pedro Alves <palves@redhat.com>
18720
18721 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18722 Remove comment.
18723 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18724 both the address of the instruction that triggers the watchpoint
18725 and the address of the instruction immediately after, and use
18726 those addresses for the test. Fix comment.
18727
8f572e5c
PA
187282015-04-10 Pedro Alves <palves@redhat.com>
18729
18730 * gdb.base/sigstep.exp (breakpoint_to_handler)
18731 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18732 Test "backtrace" in handler.
18733 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18734 (top level): Add new "displaced" test axis to
18735 breakpoint_to_handler, breakpoint_to_handler_entry and
18736 breakpoint_over_handler.
18737
8d707a12
PA
187382015-04-10 Pedro Alves <palves@redhat.com>
18739
18740 PR gdb/18216
18741 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18742
ef713951
YQ
187432015-04-10 Yao Qi <yao.qi@linaro.org>
18744
18745 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18746 (test_add_rn_pc): New function.
18747 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18748 (top level): Invoke test_add_rn_pc.
18749
906d60cf
PA
187502015-04-10 Pedro Alves <palves@redhat.com>
18751
18752 PR gdb/13858
18753 * gdb.base/step-over-no-symbols.exp: New file.
18754
f2983cc3
AW
187552015-04-09 Andy Wingo <wingo@igalia.com>
18756
18757 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18758 after the Python tests.
18759
6d62641c
SDJ
187602015-04-08 Keith Seitz <keiths@redhat.com>
18761
18762 PR python/16699
18763 * gdb.python/py-completion.exp: New tests for completion.
18764 * gdb.python/py-completion.py (CompleteLimit1): New class.
18765 (CompleteLimit2): Likewise.
18766 (CompleteLimit3): Likewise.
18767 (CompleteLimit4): Likewise.
18768 (CompleteLimit5): Likewise.
18769 (CompleteLimit6): Likewise.
18770 (CompleteLimit7): Likewise.
18771
f3770638
PA
187722015-04-08 Pedro Alves <palves@redhat.com>
18773
18774 PR gdb/18214
18775 PR gdb/18216
18776 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18777 function.
18778 (main): Install it as SIGUSR1 handler.
18779 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18780 parameter. Always use "setup" as prefix. Toggle "set
18781 displaced-stepping" off/on depending on global. Don't switch to
18782 thread 1 here.
18783 (top level): Add displaced stepping "off/on" test axis. Update
18784 "setup" calls. Wrap each subtest with with_test_prefix. Test
18785 continuing with a queued signal in each thread.
18786
4496bed7
PA
187872015-04-08 Pedro Alves <palves@redhat.com>
18788
18789 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18790 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18791 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18792 Return early if running to main fails.
18793 * gdb.trace/while-stepping.exp: Likewise.
18794
b97fde92
PA
187952015-04-07 Pedro Alves <palves@redhat.com>
18796
18797 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18798 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18799 interact with inferior program.
18800
f71c18e7
PA
188012015-04-07 Pedro Alves <palves@redhat.com>
18802
18803 * lib/gdb.exp (inferior_spawn_id): New global.
18804 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18805 spawn id after processing the user code.
18806 (default_gdb_start): Set inferior_spawn_id.
18807 (send_inferior): New procedure.
18808 * lib/gdbserver-support.exp (gdbserver_start): Set
18809 inferior_spawn_id.
18810 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18811
6423214f
PA
188122015-04-07 Pedro Alves <palves@redhat.com>
18813
18814 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18815 * lib/gdbserver-support.exp (gdbserver_start): Make
18816 $server_spawn_id global.
18817 (gdbserver_start): Don't wait for gdbserver's spawn id with
18818 expect_background.
18819 (close_gdbserver): New procedure.
18820 (gdb_exit): Rename the default version and reimplement.
18821
71c0ee8c
PA
188222015-04-07 Pedro Alves <palves@redhat.com>
18823
72f4393d 18824 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18825 append the substituted item, not the original item.
18826
203bc29b
PA
188272015-04-07 Pedro Alves <palves@redhat.com>
18828
18829 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18830 gdb_expect.
18831
508a3ddf
PA
188322015-04-07 Pedro Alves <palves@redhat.com>
18833
18834 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18835 output appearing once only.
18836
9f6dbe2b
PA
188372015-04-07 Pedro Alves <palves@redhat.com>
18838
18839 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18840 that doesn't expect anything. Return early if running to main
18841 fails.
18842
337532fa
YQ
188432015-04-07 Yao Qi <yao.qi@linaro.org>
18844
18845 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18846 (child_function): Call alarm.
18847 (main): Move call to alarm into the loop.
18848 * gdb.threads/non-stop-fair-events.exp: Build program with
18849 -DTIMEOUT=$timeout.
18850
01b622d4
DE
188512015-04-06 Doug Evans <xdje42@gmail.com>
18852
18853 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18854 Fix dest parameter to board_info.
18855 (fpc_compile): Ditto.
18856 (gdb_compile_pascal): Rename dest arg to destfile.
18857
961f4160
PMR
188582015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18859
18860 * gdb.ada/funcall_ref.exp: New file.
18861 * gdb.ada/funcall_ref/foo.adb: New file.
18862
cafda597
YQ
188632015-04-02 Yao Qi <yao.qi@linaro.org>
18864
18865 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18866 is remote.
18867
fed040c6
GB
188682015-04-02 Gary Benson <gbenson@redhat.com>
18869
18870 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18871
d11916aa
SS
188722015-04-01 Sasha Smundak <asmundak@google.com>
18873
18874 * gdb.python/py-unwind-maint.c: New file.
18875 * gdb.python/py-unwind-maint.exp: New test.
18876 * gdb.python/py-unwind-maint.py: New file.
18877 * gdb.python/py-unwind.c: New file.
18878 * gdb.python/py-unwind.exp: New test.
18879 * gdb.python/py-unwind.py: New test.
18880
a1471180
PA
188812015-04-01 Pedro Alves <palves@redhat.com>
18882
18883 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18884 to fail instead of non-existent $test.
18885
0bbeccb1
PA
188862015-04-01 Pedro Alves <palves@redhat.com>
18887
18888 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18889 GDBFLAGS if not empty.
18890
3c724c8c
PMR
188912015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18892
18893 * gdb.ada/complete.exp: Remove "multi_line".
18894 * gdb.ada/info_exc.exp: Remove "multi_line".
18895 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18896 * gdb.ada/ptype_field.exp: Remove "multi_line".
18897 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18898 * gdb.ada/tagged.exp: Remove "multi_line".
18899 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18900 [multi_line ...]
18901 * gdb.btrace/delta.exp: Likewise.
18902 * gdb.btrace/exception.exp: Likewise.
18903 * gdb.btrace/function_call_history.exp: Likewise.
18904 * gdb.btrace/instruction_history.exp: Likewise.
18905 * gdb.btrace/nohist.exp: Likewise.
18906 * gdb.btrace/record_goto.exp: Likewise.
18907 * gdb.btrace/segv.exp: Likewise.
18908 * gdb.btrace/stepi.exp: Likewise.
18909 * gdb.btrace/tailcall.exp: Likewise.
18910 * gdb.btrace/unknown_functions.exp: Likewise.
18911 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18912 * lib/gdb.exp: Add the "multi_line" helper.
18913
4eec2deb
PA
189142015-04-01 Pedro Alves <palves@redhat.com>
18915
18916 * gdb.threads/tid-reuse.c: New file.
18917 * gdb.threads/tid-reuse.exp: New file.
18918
df8411da
SDJ
189192015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18920
18921 PR corefiles/16092
18922 * gdb.base/coredump-filter.c: New file.
18923 * gdb.base/coredump-filter.exp: Likewise.
18924
6ef37366
PM
189252015-03-27 Petr Machata <pmachata@redhat.com>
18926
18927 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18928 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18929 (Dwarf::assemble): Initialize them.
18930 (Dwarf::lines): New function.
18931
7ec911b0
JT
189322015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18933
18934 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18935 SYMBOL_PREFIX for x86_64-*-cygwin.
18936
ff908ebf
AW
189372015-03-26 Andy Wingo <wingo@igalia.com>
18938
18939 PR symtab/18148
18940 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18941 const_value but not a location.
18942 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18943 location defined in non-main CUs are visible.
18944
6d5f0679
YQ
189452015-03-26 Yao Qi <yao.qi@linaro.org>
18946
18947 PR testsuite/18139
18948 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18949 Add a line number entry for the same line.
18950 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18951 Add a line number entry for the same line.
18952
2898689b
YQ
189532015-03-26 Yao Qi <yao.qi@linaro.org>
18954
18955 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18956 .int 0.
18957 (func): Likewise. Add .Lfunc_1 label.
18958 Use .Lfunc_1 label.
18959 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18960 .int 0.
18961 (func): Likewise.
18962 Use .Lfunc_1 label.
18963
85180498
YQ
189642015-03-26 Yao Qi <yao.qi@linaro.org>
18965
18966 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18967 Call gdb_compile instead to compile each .s files without debug
18968 information.
18969
8aa08a8d
YQ
189702015-03-26 Yao Qi <yao.qi@linaro.org>
18971
18972 * gdb.base/savedregs.exp (process_saved_regs): Make
18973 "Saved registers:" optional in the pattern.
18974
66849923
MM
189752015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18976
18977 * gdb.btrace/next.exp: Merged into step.exp.
18978 * gdb.btrace/finish.exp: Merged into step.exp.
18979 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18980 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18981 "record goto" and checking the exact replay position.
18982 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18983 check for "Recording format" in "info record" output.
18984 * gdb.btrace/record_goto.exp: Choose test file based on target.
18985 * gdb.btrace/x86-record_goto.S: Renamed into ...
18986 * gdb.btrace/x86_64-record_goto.S: ... this.
18987 * gdb.btrace/i686-record_goto.S: New.
18988 * gdb.btrace/x86-tailcall.S: Renamed into ...
18989 * gdb.btrace/x86_64-tailcall.S: ... this.
18990 * gdb.btrace/i686-tailcall.S: New.
18991 * gdb.btrace/x86-tailcall.c: Renamed into ...
18992 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18993 separate statements. Update test.
18994 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18995 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18996 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18997 * gdb.btrace/tailcall.exp: Choose test file based on target.
18998 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18999
11cc1b74
MM
190002015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19001
19002 * gdb.btrace/exception.exp: Increase BTS buffer size.
19003
a25d8bf9
PA
190042015-03-24 Pedro Alves <palves@redhat.com>
19005
19006 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19007
856e7dd6
PA
190082015-03-24 Pedro Alves <palves@redhat.com>
19009
19010 * gdb.threads/schedlock.exp (test_step): No longer expect that
19011 "set scheduler-locking step" with "next" over a function call runs
19012 threads unlocked.
19013
ad235a41
AT
190142015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19015
19016 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19017
15630549
AT
190182015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19019
19020 PR breakpoints/16466
19021 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19022 * gdb.mi/mi-pending.c (thread_func): New function.
19023 (int main): Add threading support required.
19024 * gdb.mi/mi-pending.exp: Add tests for this issue.
19025 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19026 (pendfunc2): Remove stdio dependency.
19027 * gdb.mi/mi-pendshr2.c: New file.
19028
693dca06
KS
190292015-03-23 Keith Seitz <keiths@redhat.com>
19030
19031 * gdb.linespec/keywords.c: New file.
19032 * gdb.linespec/keywords.exp: New file.
19033
7e993ebf
KS
190342015-03-23 Keith Seitz <keiths@redhat.com>
19035
19036 PR gdb/18021
19037 * gdb.dwarf2/staticvirtual.exp: New test.
19038
bc23328c
JK
190392015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19040
19041 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19042 * README: Remove HP-UX and gdb.hp.
19043 (configuration):
19044 * configure: Regenerate.
19045 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19046 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19047 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19048 gdb.hp/gdb.defects/Makefile.
19049 * gdb.hp/Makefile.in: File deleted.
19050 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19051 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19052 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19053 * gdb.hp/gdb.aCC/run.c: File deleted.
19054 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19055 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19056 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19057 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19058 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19059 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19060 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19061 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19062 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19063 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19064 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19065 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19066 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19067 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19068 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19069 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19070 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19071 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19072 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19073 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19074 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19075 * gdb.hp/gdb.compat/average.c: File deleted.
19076 * gdb.hp/gdb.compat/sum.c: File deleted.
19077 * gdb.hp/gdb.compat/xdb.c: File deleted.
19078 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19079 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19080 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19081 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19082 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19083 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19084 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19085 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19086 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19087 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19088 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19089 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19090 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19091 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19092 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19093 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19094 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19095 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19096 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19097 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19098 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19099 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19100 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19101 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19102 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19103 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19104 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19105 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19106 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19107 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19108 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19109 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19110 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19111 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19112 * gdb.hp/tools/odump: File deleted.
19113
8bf3b159
PA
191142015-03-19 Pedro Alves <palves@redhat.com>
19115
19116 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19117 (saw_thread_3): New globals.
19118 (top level): Increment them when an event for the corresponding
19119 thread is seen.
19120 (no thread starvation): New test.
19121
eb54c8bf
PA
191222015-03-19 Pedro Alves <palves@redhat.com>
19123
19124 * gdb.threads/continue-pending-status.c: New file.
19125 * gdb.threads/continue-pending-status.exp: New file.
19126
32d2e5d6
PA
191272015-03-18 Pedro Alves <palves@redhat.com>
19128
19129 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19130 Use gdb_is_target_remote instead of is_remote. Use
19131 gdb_test_multiple instead of gdb_expect. Exit early if
19132 gdb_test_multiple hits its internal matches. Tighten stepi tests
19133 expected output. Fail on exit with any signal, instead of just
19134 SIGILL.
19135
f68f11b7
YQ
191362015-03-18 Yao Qi <yao.qi@linaro.org>
19137
19138 PR tdep/18107
19139 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19140 variable.
19141 * gdb.base/catch-syscall.exp: Don't skip it on
19142 aarch64*-*-linux* target. Remove elements in all_syscalls.
19143 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19144 target.
19145 (setup_all_syscalls): New proc.
19146
ca5fd19b
YQ
191472015-03-16 Yao Qi <yao.qi@linaro.org>
19148
19149 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19150 (top level): Skip tests if valid_addr_p returns false for
19151 $cmd1 or $cmd2.
19152
85642ba0
AW
191532015-03-11 Andy Wingo <wingo@igalia.com>
19154
19155 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19156
e03f9645
YQ
191572015-03-11 Yao Qi <yao.qi@linaro.org>
19158
19159 * gdb.base/catch-syscall.exp: Fix typo in comments.
19160
5d0962b2
YQ
191612015-03-11 Yao Qi <yao.qi@linaro.org>
19162
19163 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19164
b2df3cef
PA
191652015-03-09 Pedro Alves <palves@redhat.com>
19166
19167 * dg-extract-results.py: Delete.
19168
ef878e53
PA
191692015-03-09 Pedro Alves <palves@redhat.com>
19170
19171 Merge dg-extract-results.sh from GCC upstream (r218843).
19172
19173 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19174 * dg-extract-results.sh: Use --text with grep to avoid issues with
19175 binary files. Fall back to cat -v, if that doesn't work.
19176
9494d219
PA
191772015-03-05 Pedro Alves <palves@redhat.com>
19178
19179 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19180
a8d9763a
SM
191812015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19182
19183 * lib/mi-support.exp (mi_expect_interrupt): Accept
19184 alternative event for when in all-stop mode.
19185
be9957b8
PA
191862015-03-04 Pedro Alves <palves@redhat.com>
19187
19188 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19189
d57be0f4 191902015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19191
19192 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19193
c214c7cf
AA
191942015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19195
19196 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19197 regexps for GDB's current line display, accept a hex address
19198 preceding the line number.
19199
6d74a497
AA
192002015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19201
19202 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19203 the 'arch1' variable for "s390*-linux*" targets.
19204
511aee7c
PA
192052015-03-04 Pedro Alves <palves@redhat.com>
19206
19207 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19208 (main): Pass missing retval argument to pthread_join call.
19209
95e50b27
PA
192102015-03-02 Pedro Alves <palves@redhat.com>
19211
19212 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19213 (top level): Call do_test with non-stop as well.
19214
28054d69
PA
192152015-03-02 Pedro Alves <palves@redhat.com>
19216
19217 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19218 -1.
19219
4fa5d7b4
AA
192202015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19221
19222 * gdb.arch/s390-vregs.exp: New test.
19223 * gdb.arch/s390-vregs.S: New file.
19224
97c18565
PA
192252015-02-27 Pedro Alves <palves@redhat.com>
19226
19227 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19228 call to catch_command_errors.
19229 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19230 catch_command_errors.
19231
a37bfa30
PA
192322015-02-27 Pedro Alves <palves@redhat.com>
19233
19234 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19235 "true" for boolean result.
19236 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19237 prototype of main.
19238
6f98576f
PA
192392015-02-27 Pedro Alves <palves@redhat.com>
19240
19241 * lib/unbuffer_output.c: New file.
19242 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19243 (main): Call gdb_unbuffer_output.
19244
eba5ab56
YQ
192452015-02-27 Yao Qi <yao.qi@linaro.org>
19246
19247 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19248 target.
19249
0def5aaa
DE
192502015-02-26 Doug Evans <dje@google.com>
19251
19252 * gdb.cp/class2.cc (Dbase, D): New classes.
19253 (main): New local delta.
19254 * gdb.cp/class2.exp: Test printing delta.
19255 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19256 (dynbar): New global.
19257 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19258
081a1c2c
JK
192592015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19260
19261 * gdb.compile/compile-ifunc.c: New file.
19262 * gdb.compile/compile-ifunc.exp: New file.
19263
2f41223f
AT
192642015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19265
19266 * gdb.base/structs.exp: Check for correct struct on finish.
19267
03eddd80
YQ
192682015-02-26 Yao Qi <yao.qi@linaro.org>
19269
19270 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19271 is zero.
19272
80c57053
JK
192732015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19274
19275 * gdb.arch/cordic.ko.bz2: New file.
19276 * gdb.arch/cordic.ko.debug.bz2: New file.
19277 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19278
21613c12
YQ
192792015-02-25 Yao Qi <yao.qi@linaro.org>
19280
19281 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19282 aarch64*-*-* target.
19283
d8b901ed
PA
192842015-02-23 Pedro Alves <palves@redhat.com>
19285
19286 * lib/gdb.exp (delete_breakpoints): Rewrite using
19287 gdb_test_multiple.
19288
e5b85ead
PA
192892015-02-23 Pedro Alves <palves@redhat.com>
19290
19291 * gdb.base/info-os.c: Include stdlib.h.
19292
85c3a371
DE
192932015-02-22 Doug Evans <xdje42@gmail.com>
19294
19295 PR symtab/17855
19296 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19297 is read after symbols have been re-read.
19298 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19299 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19300
96553a0c
DE
193012015-02-21 Doug Evans <dje@google.com>
19302
19303 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19304
97a0c697
JK
193052015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19306
19307 PR corefiles/17808
19308 * gdb.arch/i386-biarch-core.core.bz2: New file.
19309 * gdb.arch/i386-biarch-core.exp: New file.
19310
a47cd6e9
PA
193112015-02-21 Pedro Alves <palves@redhat.com>
19312
19313 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19314 runto_main fails.
19315
c5facdc4
PA
193162015-02-20 Pedro Alves <palves@redhat.com>
19317
19318 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19319 info probes.
19320
2db9a427
PA
193212015-02-20 Pedro Alves <palves@redhat.com>
19322
19323 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19324
60fb7e9e
PA
193252015-02-20 Pedro Alves <palves@redhat.com>
19326
19327 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19328 clean_restart before gdb_target_supports_trace.
19329
5c5019c2
PA
193302015-02-20 Pedro Alves <palves@redhat.com>
19331
19332 PR threads/18006
19333 * gdb.threads/clone-thread_db.c: New file.
19334 * gdb.threads/clone-thread_db.exp: New file.
19335
c9587f88
AT
193362015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19337
19338 PR breakpoints/16812
19339 * gdb.base/catch-gdb-caused-signals.c: New file.
19340 * gdb.base/catch-gdb-caused-signals.exp: New file.
19341
f6a88844
JM
193422015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19343
19344 * configure: Regenerated.
19345 * configure.ac: Use GDB_AC_TRANSFORM.
19346 * aclocal.m4: sinclude ../transform.m4.
19347
497c491b
JM
193482015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19349
19350 * lib/dtrace.exp: New file.
19351 * gdb.base/dtrace-probe.exp: Likewise.
19352 * gdb.base/dtrace-probe.d: Likewise.
19353 * gdb.base/dtrace-probe.c: Likewise.
19354 * lib/pdtrace.in: Likewise.
19355 * configure.ac: Output variables with the transformed names of
19356 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19357 * configure: Regenerated.
19358
03e98035
JM
193592015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19360
19361 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19362 expected message when trying to access $_probe_* convenience
19363 variables while not on a probe.
19364
63cc30e9
JK
193652015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19366
19367 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19368
0703599a
PA
193692015-02-11 Pedro Alves <pedro@codesourcery.com>
19370
19371 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19372 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19373
7e60a48e
DE
193742015-02-10 Doug Evans <xdje42@gmail.com>
19375
19376 * lib/gdb.exp (gdb_load): Always return a result.
19377
01b088bc
PA
193782015-02-10 Pedro Alves <palves@redhat.com>
19379
19380 * gdb.threads/signal-sigtrap.c: New file.
19381 * gdb.threads/signal-sigtrap.exp: New file.
19382
b05ec7a5
AT
193832015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19384
19385 * gdb.trace/no-attach-trace.c: New file.
19386 * gdb.trace/no-attach-trace.exp: New file.
19387
a2c2acaf
MW
193882015-02-09 Mark Wielaard <mjw@redhat.com>
19389
19390 * gdb.dwarf2/atomic.c: New file.
19391 * gdb.dwarf2/atomic-type.exp: Likewise.
19392
31fd9caa
MM
193932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19394
19395 * gdb.btrace/buffer-size.exp: Update "info record" output.
19396 * gdb.btrace/delta.exp: Update "info record" output.
19397 * gdb.btrace/enable.exp: Update "info record" output.
19398 * gdb.btrace/finish.exp: Update "info record" output.
19399 * gdb.btrace/instruction_history.exp: Update "info record" output.
19400 * gdb.btrace/next.exp: Update "info record" output.
19401 * gdb.btrace/nexti.exp: Update "info record" output.
19402 * gdb.btrace/step.exp: Update "info record" output.
19403 * gdb.btrace/stepi.exp: Update "info record" output.
19404 * gdb.btrace/nohist.exp: Update "info record" output.
19405
d33501a5
MM
194062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19407
19408 * gdb.btrace/buffer-size: New.
19409
f4abbc16
MM
194102015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19411
19412 * gdb.btrace/delta.exp: Update "info record" output.
19413 * gdb.btrace/enable.exp: Update "info record" output.
19414 * gdb.btrace/finish.exp: Update "info record" output.
19415 * gdb.btrace/instruction_history.exp: Update "info record" output.
19416 * gdb.btrace/next.exp: Update "info record" output.
19417 * gdb.btrace/nexti.exp: Update "info record" output.
19418 * gdb.btrace/step.exp: Update "info record" output.
19419 * gdb.btrace/stepi.exp: Update "info record" output.
19420 * gdb.btrace/nohist.exp: Update "info record" output.
19421
b9d61307
SM
194222015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19423
19424 PR gdb/15678
19425 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19426
e584fdbc
PA
194272015-02-06 Pedro Alves <palves@redhat.com>
19428
19429 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19430 macro.
19431 (seconds_left, again): New globals.
19432 (main): Wait seconds_left in a 1-second sleep loop instead of
19433 sleeping 180 seconds. If 'again' is set, reset the seconds
19434 counter.
19435 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19436 'again' in the inferior before detaching. Print the seconds left.
19437 (options): New global.
19438 (top level): Build program with -DTIMEOUT=$timeout.
19439
77f41761
PA
194402015-02-06 Pedro Alves <palves@redhat.com>
19441
19442 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19443 determine how many seconds to pass to 'alarm'.
19444 * gdb.base/gdb-sigterm.exp (top level): Build program with
19445 -DTIMEOUT=$timeout.
19446 (do_test): Return success/failure indication. Add more verbose
19447 logging. Don't fail if 200 single steps are seen. Instead, fail
19448 when the test times out.
19449 (passes): New global.
19450 (top level): Break the testing loop if testing fails on any
19451 iteration. Use gdb_assert.
19452
b9394193
DB
194532015-02-04 Don Breazeal <donb@codesourcery.com>
19454
19455 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19456 and initialize them.
19457 (ipc_cleanup): New function.
19458 (main): Don't declare shmid, semid, and msqid. Add a call to
19459 atexit so that we call ipc_cleanup on exit.
19460
42d9e528
PA
194612015-02-04 Pedro Alves <palves@redhat.com>
19462
19463 * boards/native-extended-gdbserver.exp: Remove any target variant
19464 specifications from the board name before clearing the isremote
19465 flag from board_info.
19466
ae6ae975
DE
194672015-01-31 Doug Evans <xdje42@gmail.com>
19468
19469 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19470
cfb069a8
GB
194712015-01-31 Gary Benson <gbenson@redhat.com>
19472
19473 * gdb.base/completion.exp: Disable completion limiting for
19474 existing tests. Add new tests to check completion limiting.
19475 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19476
5dd31d79
DE
194772015-01-31 Doug Evans <xdje42@gmail.com>
19478
19479 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19480
9f050062
DE
194812015-01-31 Doug Evans <xdje42@gmail.com>
19482
19483 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19484 entries. Duplicate file section script entries.
19485 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19486 inlined entries. Add test for safe-path rejection.
19487 * gdb.python/py-section-script.c: Add duplicate inlined section script
19488 entries. Duplicate file section script entries.
19489 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19490 inlined entries. Add test for safe-path rejection.
19491
df25ebbd
JB
194922015-01-29 Joel Brobecker <brobecker@adacore.com>
19493
19494 * gdb.ada/disc_arr_bound: New testcase.
19495
4a0ca9ec
JB
194962015-01-29 Joel Brobecker <brobecker@adacore.com>
19497
19498 * gdb.ada/mi_var_array: New testcase.
19499
3a8b707a
DE
195002015-01-27 Doug Evans <dje@google.com>
19501
19502 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19503 Add test for objfile.filename, objfile.username after objfile
19504 has been unloaded.
19505
f8313f6e
JB
195062015-01-26 Joel Brobecker <brobecker@adacore.com>
19507
19508 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19509 the second test to print the name attribute of value
19510 returned by the call to gdb.lookup_type, and adjust
19511 the expected output accordingly.
19512
37bc665e
MW
195132015-01-25 Mark Wielaard <mjw@redhat.com>
19514
19515 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19516 * gdb.base/disp-step-fork.c: Include unistd.h.
19517 * gdb.base/siginfo-obj.c: Include stdio.h.
19518 * gdb.base/siginfo-thread.c: Likewise.
19519 * gdb.mi/non-stop.c: Include unistd.h.
19520 * gdb.mi/nsthrexec.c: Include stdio.h.
19521 * gdb.mi/pthreads.c: Include unistd.h.
19522 * gdb.modula2/unbounded1.c (main): Declare returns int.
19523 * gdb.reverse/consecutive-reverse.c: Likewise.
19524 * gdb.threads/create-fail.c: Include unistd.h.
19525 * gdb.threads/killed.c: Likewise.
19526 * gdb.threads/linux-dp.c: Likewise.
19527 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19528 * gdb.threads/non-ldr-exc-2.c: Likewise.
19529 * gdb.threads/non-ldr-exc-3.c: Likewise.
19530 * gdb.threads/non-ldr-exc-4.c: Likewise.
19531 * gdb.threads/pthreads.c: Include unistd.h.
19532 (main): Declare returns int.
19533 * gdb.threads/tls-main.c (foo): New declaration.
19534 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19535
f7e5394d
SM
195362015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19537
19538 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19539 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19540
743649fd
MW
195412015-01-15 Mark Wielaard <mjw@redhat.com>
19542
19543 * gdb.base/noreturn-return.c: New file.
19544 * gdb.base/noreturn-return.exp: New file.
19545 * gdb.base/noreturn-finish.c: New file.
19546 * gdb.base/noreturn-finish.exp: New file.
19547
198297aa
PA
195482015-01-23 Pedro Alves <palves@redhat.com>
19549
19550 * gdb.threads/continue-pending-after-query.c: New file.
19551 * gdb.threads/continue-pending-after-query.exp: New file.
19552
717cf30c
AG
195532015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19554 Simon Marchi <simon.marchi@ericsson.com>
19555
19556 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19557 * gdb.base/valgrind-db-attach.exp: Same.
19558 * gdb.base/valgrind-infcall.exp: Same.
19559 * lib/mi-support.exp (default_mi_gdb_start): Same.
19560 * lib/prompt.exp (default_prompt_gdb_start): Same.
19561 * lib/gdb.exp (default_gdb_spawn): Same.
19562 (gdb_interact): New.
19563
19564
4b62a76e
JK
195652015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19566
19567 * gdb.compile/compile.exp (pointer to jit function): New test.
19568
b4cdae6f
WW
195692015-01-17 Wei-cheng Wang <cole945@gmail.com>
19570
19571 * lib/gdb.exp (supports_process_record): Return true for
19572 powerpc*-*-linux*.
19573 (supports_reverse): Likewise.
19574
d221e7ef
DB
195752015-01-15 Don Breazeal <donb@codesourcery.com>
19576
19577 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19578 instead of checking whether the target board is remote and
19579 use spawn_wait_for_attach instead of exec/sleep.
19580 * gdb.base/attach-twice.exp: Likewise.
19581
bafffb51
JB
195822015-01-15 Joel Brobecker <brobecker@adacore.com>
19583
19584 * gdb.ada/var_arr_attrs: New testcase.
19585
5589af0e
PA
195862015-01-14 Pedro Alves <palves@redhat.com>
19587 Joel Brobecker <brobecker@adacore.com>
19588
19589 PR gdb/17525
19590 * gdb.base/bp-cmds-execution-x-script.c: New file.
19591 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19592 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19593
6c400b59
PA
195942015-01-14 Pedro Alves <palves@redhat.com>
19595
19596 PR cli/17828
19597 * gdb.base/batch-preserve-term-settings.c: New file.
19598 * gdb.base/batch-preserve-term-settings.exp: New file.
19599
e02c96a7
DE
196002015-01-13 Doug Evans <dje@google.com>
19601
19602 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19603 binary.
19604
576fd14c
JB
196052015-01-13 Joel Brobecker <brobecker@adacore.com>
19606
19607 * Makefile.in (clean mostlyclean): Do not delete *.py.
19608
04dccad0
JB
196092015-01-13 Joel Brobecker <brobecker@adacore.com>
19610
19611 * gdb.python/py-lookup-type.exp: New file.
19612
3d230f71
PA
196132015-01-12 Pedro Alves <palves@redhat.com>
19614
19615 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19616 restore GDBFLAGS before returning.
19617
7e67715d
JK
196182015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19619
19620 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19621 is_amd64_regs_target and is_x86_like_target.
19622
f2e0d4b4
DE
196232015-01-11 Doug Evans <xdje42@gmail.com>
19624
19625 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19626 is given without an explicit form.
19627 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19628 attributes.
19629 * gdb.dwarf/corrupt.exp: Ditto.
19630 * gdb.dwarf2/enum-type.exp: Ditto.
19631 * gdb.trace/entry-values.exp: Ditto.
19632 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19633
439250fb
DE
196342015-01-11 Doug Evans <xdje42@gmail.com>
19635
19636 PR gdb/15830
19637 * gdb.base/maint.exp: Remove references to "maint demangle".
19638 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19639 Add tests for explicitly specifying language to demangle.
19640 * gdb.dlang/demangle.exp: Ditto.
19641
ede9f622
PA
196422015-01-09 Pedro Alves <palves@redhat.com>
19643
19644 * gdb.threads/non-stop-fair-events.c: New file.
19645 * gdb.threads/non-stop-fair-events.exp: New file.
19646
a7b796db
PA
196472015-01-09 Pedro Alves <palves@redhat.com>
19648
19649 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19650 the global scope. Set a breakpoint after all threads are started
19651 rather than stepping over two source lines. Expect the prompt.
19652 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19653 global.
19654 (NUM): Now 15.
19655 (main): Use threads_started_barrier to wait for all threads to
19656 start. Main thread no longer calls thread_function. Exit after
19657 180 seconds.
19658 (loop): New function.
19659 (thread_function): Wait on threads_started_barrier barrier. Call
19660 'loop' at each iteration.
19661 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19662 threads have started, instead of hardcoding number of "next"
19663 steps. Use an access watchpoint instead of a write watchpoint.
19664
9665ffdd
PA
196652015-01-09 Pedro Alves <palves@redhat.com>
19666
19667 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19668 (thread_func): Wait on barrier.
19669 (main): Wait for all threads to start before stopping GDB.
19670 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19671 global.
19672 (thread1_func, thread2_func): Wait on barrier.
19673 (main): Wait for all threads to start before stopping GDB.
19674 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19675 New global.
19676 (thread1_func, thread2_func): Wait on barrier.
19677 (main): Wait for all threads to start before stopping GDB.
19678
c945a99f
PA
196792015-01-09 Pedro Alves <palves@redhat.com>
19680
19681 * gdb.threads/attach-many-short-lived-threads.c: New file.
19682 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19683
c1a747c1
PA
196842014-01-09 Pedro Alves <palves@redhat.com>
19685
19686 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19687 instead of to thread 2.
19688 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19689 Add barrier around each pthread_create call instead of around all
19690 calls.
19691 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19692 Set a break on thread_function and have the child threads hit it
19693 one at at a time.
19694
60b3033e
PA
196952015-01-09 Pedro Alves <palves@redhat.com>
19696
19697 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19698 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19699 false.
19700 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19701 checking whether the target board is remote.
19702 * gdb.multi/multi-attach.exp: Likewise.
19703 * gdb.python/py-sync-interp.exp: Likewise.
19704 * gdb.server/ext-attach.exp: Likewise.
19705 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19706 tests that need to attach, instead of checking whether the target
19707 board is remote at the top of the file.
19708
acc018ac
YQ
197092015-01-08 Yao Qi <yao@codesourcery.com>
19710
19711 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19712
50a18af8
JK
197132015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19714
19715 Fix testcase compilation.
19716 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19717
8503d6e1
JB
197182015-01-06 Joel Brobecker <brobecker@adacore.com>
19719
19720 * gdb.python/py-type.exp: Add a couple test about empty
19721 array creation, and negative-length array creation.
19722
cc73dbcc
DE
197232015-01-02 Doug Evans <xdje42@gmail.com>
19724
19725 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19726
0300bbc7
DE
197272015-01-02 Doug Evans <dje@google.com>
19728
19729 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19730
9d85a0ec
YQ
197312014-12-29 Yao Qi <yao@codesourcery.com>
19732
19733 * gdb.trace/entry-values.exp: Update comments. Rename variable
19734 bar_call_foo to returned_from_foo.
19735
87186c6a
MMN
197362014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19737
19738 PR gdb/17394
19739 * gdb.linespec/break-asm-file.c: New file.
19740 * gdb.linespec/break-asm-file.exp: New file.
19741 * gdb.linespec/break-asm-file0.s: New file.
19742 * gdb.linespec/break-asm-file1.s: New file.
19743
1bab7383
YQ
197442014-12-18 Nigel Stephens <nigel@mips.com>
19745 Maciej W. Rozycki <macro@codesourcery.com>
19746
19747 * gdb.base/float.exp: Handle the new output from "info float" on
19748 MIPS targets.
19749
1bc1068a
JK
197502014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19751
19752 Fix MinGW compilation.
19753 * gdb.compile/compile-ops.exp: Update untested message if
19754 !skip_compile_feature_tests.
19755 * gdb.compile/compile-setjmp.exp: Likewise.
19756 * gdb.compile/compile-tls.exp: Likewise.
19757 * gdb.compile/compile.exp: Likewise.
19758 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19759 supported on this host".
19760
b6615d10
DE
197612014-12-16 Doug Evans <xdje42@gmail.com>
19762
19763 * boards/stabs.exp: New file.
19764
25dda427
AA
197652014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19766
19767 * gdb.base/completion.exp: Adjust to format changes of "maint
19768 print user-registers".
19769
bf330350
CU
197702014-12-16 Catalin Udma <catalin.udma@freescale.com>
19771
19772 PR server/17457
19773 * gdb.arch/aarch64-fp.c: New file.
19774 * gdb.arch/aarch64-fp.exp: New file.
19775
395cf596
SDJ
197762014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19777
19778 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19779 r210637, r210913, r211666, r215400, r215817).
19780
19781 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19782 * dg-extract-results.py: New file.
19783 * dg-extract-results.sh: Use it if the environment seems
19784 suitable.
19785
19786 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19787
19788 * dg-extract-results.py (parse_run): Handle warnings that
19789 are printed before a test harness is run.
19790
19791 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19792
19793 * dg-extract-results.py (Named): Remove __cmp__ method.
19794 (output_variation): Use a key to sort variation.harnesses.
19795
19796 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19797
19798 * dg-extract-results.py: For Python 3, force sys.stdout to
19799 handle surrogate escape sequences.
19800 (safe_open): New function.
19801 (output_segment, main): Use it.
19802
19803 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19804
19805 * dg-extract-results.py (Prog.result_re): Include options
19806 in test name.
19807
19808 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19809
19810 * dg-extract-results.py (output_variation): Always sort if
19811 do_sum.
19812
e882ef3c
SM
198132014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19814
19815 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19816 as long as we get pagination notifications.
19817
4992aa20
JM
198182014-12-15 Jason Merrill <jason@redhat.com>
19819
19820 * Makefile.in (check-gdb.%): Restore.
19821 * README: Mention it.
19822
c1b5a1a6
JB
198232014-12-13 Joel Brobecker <brobecker@adacore.com>
19824
19825 * gdb.ada/str_uninit: New testcase.
19826
5537b577
JK
198272014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19828
19829 PR symtab/17642
19830 * gdb.base/vla-stub-define.c: New file.
19831 * gdb.base/vla-stub.c: New file.
19832 * gdb.base/vla-stub.exp: New file.
19833
bb2ec1b3
TT
198342014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19835 Jan Kratochvil <jan.kratochvil@redhat.com>
19836 Tom Tromey <tromey@redhat.com>
19837
19838 * configure.ac: Add gdb.compile/.
19839 * configure: Regenerate.
19840 * gdb.compile/Makefile.in: New file.
19841 * gdb.compile/compile-ops.exp: New file.
19842 * gdb.compile/compile-ops.c: New file.
19843 * gdb.compile/compile-tls.c: New file.
19844 * gdb.compile/compile-tls.exp: New file.
19845 * gdb.compile/compile-constvar.S: New file.
19846 * gdb.compile/compile-constvar.c: New file.
19847 * gdb.compile/compile-mod.c: New file.
19848 * gdb.compile/compile-nodebug.c: New file.
19849 * gdb.compile/compile-setjmp-mod.c: New file.
19850 * gdb.compile/compile-setjmp.c: New file.
19851 * gdb.compile/compile-setjmp.exp: New file.
19852 * gdb.compile/compile-shlib.c: New file.
19853 * gdb.compile/compile.c: New file.
19854 * gdb.compile/compile.exp: New file.
19855 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19856
4ff709eb
TT
198572014-12-12 Tom Tromey <tromey@redhat.com>
19858
19859 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19860 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19861
6dddd6a5
DE
198622014-12-12 Doug Evans <dje@google.com>
19863
19864 * lib/gdb-python.exp (get_python_valueof): New function.
19865 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19866
71c24708
AA
198672014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19868
19869 * gdb.base/completion.exp: Add test for completion of "info
19870 registers ".
19871
3e29f34a
MR
198722014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19873
19874 * gdb.base/func-ptrs.c: New file.
19875 * gdb.base/func-ptrs.exp: New file.
19876
fc126975
SM
198772014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19878
19879 PR breakpoints/17012
19880 * gdb.base/dprintf-detach.c: New file.
19881 * gdb.base/dprintf-detach.exp: New file.
19882
0a46d518
SM
198832014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19884
19885 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19886 * lib/gdb.exp (target_is_gdbserver): New procedure.
19887
a0be3e44
DE
198882014-12-08 Doug Evans <dje@google.com>
19889
19890 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19891
df1b803a
YQ
198922014-12-05 Yao Qi <yao@codesourcery.com>
19893
19894 * gdb.guile/scm-error.exp: Remove the third argument to
19895 gdb_remote_download.
19896 * gdb.guile/scm-frame-args.exp: Likewise.
19897 * gdb.guile/scm-section-script.exp: Likewise.
19898
ddb9f679
YQ
198992014-12-05 Yao Qi <yao@codesourcery.com>
19900
19901 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19902
86e4ed39
DE
199032014-12-04 Doug Evans <dje@google.com>
19904
19905 * gdb.python/py-objfile.exp: Add tests for
19906 objfile.add_separate_debug_file.
19907
7c50a931
DE
199082014-12-04 Doug Evans <dje@google.com>
19909
19910 * lib/gdb.exp (get_build_id): New function.
19911 (build_id_debug_filename_get): Rewrite to use it.
19912 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19913
621661e3
MR
199142014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19915
19916 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19917 `method(long)', not just 0x0.
19918 * gdb.cp/nsalias.exp: Align code labels to 4.
19919 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19920 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19921 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19922 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19923 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19924 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19925
29f0c3b7
DE
199262014-12-02 Doug Evans <dje@google.com>
19927
e1e061e7 19928 PR symtab/17602
29f0c3b7 19929 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19930 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19931 * gdb.cp/anon-ns.exp: Update.
19932
162078c8
NB
199332014-12-02 Nick Bull <nicholaspbull@gmail.com>
19934
19935 * gdb.python/py-events.py (inferior_call_handler): New.
19936 (register_changed_handler, memory_changed_handler): New.
19937 (test_events.invoke): Register new handlers.
19938 * gdb.python/py-events.exp: Add tests for inferior call,
19939 memory_changed and register_changed events.
19940
fdb09caf
AA
199412014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19942
19943 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19944 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19945 if the linker doesn't understand this.
19946
55cfb2c4
SM
199472014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19948
19949 * gdb.python/python.exp: Change expected reply to help().
19950
9e8cd6df
YQ
199512014-12-01 Yao Qi <yao@codesourcery.com>
19952
19953 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19954 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19955 * configure: Re-generated.
19956
6c659fc2
SC
199572014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19958
19959 * gdb.cp/chained-calls.cc: New file.
19960 * gdb.cp/chained-calls.exp: New file.
19961 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19962
d7fc3181
SM
199632014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19964
19965 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19966 * gdb.dwarf2/symtab-producer.exp: Same.
19967 * gdb.gdb/python-interrupts.exp: Same.
19968 * gdb.gdb/python-selftest.exp: Same.
19969 * gdb.python/py-linetable.exp: Same.
19970 * gdb.python/py-type.exp: Same.
19971 * gdb.python/py-value-cc.exp: Same.
19972 * gdb.python/py-value.exp: Same.
19973
10e79639
YQ
199742014-11-28 Yao Qi <yao@codesourcery.com>
19975
19976 * gdb.base/break-probes.exp: Match library name prefixed with
19977 sysroot.
19978
f28a0564
SM
199792014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19980
19981 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19982 test expected output. Add parentheses for the call to print.
19983 Remove L suffix from integers.
19984
3fe1ce1d
DE
199852014-11-26 Doug Evans <dje@google.com>
19986
19987 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19988
84429e27
YQ
199892014-11-22 Yao Qi <yao@codesourcery.com>
19990
19991 * gdb.trace/entry-values.c: Remove asms.
19992 (foo): Add foo_label.
19993 (bar): Add bar_label.
19994 * gdb.trace/entry-values.exp: Remove code computing foo's
19995 length and bar's length.
19996 (Dwarf::assemble): Invoke function_range for bar and use
19997 MACRO_AT_func for foo.
19998
26741859
YQ
199992014-11-22 Yao Qi <yao@codesourcery.com>
20000
20001 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20002 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20003 Use .Lgcc43_procstart instead of gcc43.
20004
45e44d27
JB
200052014-11-21 Joel Brobecker <brobecker@adacore.com>
20006
20007 * gdb.ada/n_arr_bound: New testcase.
20008
458c8db8
SDJ
200092014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20010
20011 PR breakpoints/10737
20012 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20013 test_catch_syscall_multi_arch.
20014 (test_catch_syscall_multi_arch): New function.
20015
43f3e411
DE
200162014-11-20 Doug Evans <xdje42@gmail.com>
20017
20018 * gdb.base/maint.exp: Update expected output.
20019
0d7b2549
AA
200202014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20021
20022 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20023 4-byte instruction on S390.
20024
8908fca5
JB
200252014-11-19 Joel Brobecker <brobecker@adacore.com>
20026
20027 * gdb.ada/arr_arr: New testcase.
20028
4a46959e
JB
200292014-11-19 Joel Brobecker <brobecker@adacore.com>
20030
20031 * gdb.ada/pkd_arr_elem: New Testcase.
20032
470e2f4e
LM
200332014-11-18 Luis Machado <lgustavo@codesourcery.com>
20034
20035 * gdb.reverse/break-precsave: Expect completion message for
20036 core file reads.
20037 * gdb.reverse/consecutive-precsave.exp: Likewise.
20038 * gdb.reverse/finish-precsave.exp: Likewise.
20039 * gdb.reverse/i386-precsave.exp: Likewise.
20040 * gdb.reverse/machinestate-precsave.exp: Likewise.
20041 * gdb.reverse/sigall-precsave.exp: Likewise.
20042 * gdb.reverse/solib-precsave.exp: Likewise.
20043 * gdb.reverse/step-precsave.exp: Likewise.
20044 * gdb.reverse/until-precsave.exp: Likewise.
20045 * gdb.reverse/watch-precsave.exp: Likewise.
20046
a267f3ad
AA
200472014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20048
20049 * gdb.base/bp-permanent.c: Include unistd.h.
20050 * gdb.python/py-framefilter-mi.c (main): Add return type.
20051 * gdb.python/py-framefilter.c (main): Likewise.
20052 * gdb.trace/actions-changed.c (main): Likewise.
20053
12084a9a
AA
200542014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20055
20056 * gdb.mi/until.c: Add eye-catchers.
20057 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20058 line numbers.
20059
dc7e1a77
AA
200602014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20061
20062 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20063 function header variants in break1.c.
20064 * gdb.base/ena-dis-br.exp: Likewise.
20065 * gdb.base/hbreak2.exp: Likewise.
20066 * gdb.reverse/until-precsave.exp: Drop references to removed
20067 non-prototype function header variants in ur1.c.
20068 * gdb.reverse/until-reverse.exp: Likewise.
20069
41c77605
PM
200702014-11-17 Petr Machata <pmachata@redhat.com>
20071
20072 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20073 ${_cu_offset_size} bytes abbrev offset.
20074
34248c3a
DE
200752014-11-15 Doug Evans <xdje42@gmail.com>
20076
20077 PR symtab/17559
20078 * gdb.base/line-symtabs.exp: New file.
20079 * gdb.base/line-symtabs.c: New file.
20080 * gdb.base/line-symtabs.h: New file.
20081
646da059
YQ
200822014-11-14 Yao Qi <yao@codesourcery.com>
20083
20084 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20085 (func): Add label func_label.
20086 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20087 Replace low_pc and high_pc with MACRO_AT_range.
20088 Replace name, low_pc and high_pc with MACRO_AT_func.
20089
9301ebe6
YQ
200902014-11-14 Yao Qi <yao@codesourcery.com>
20091
20092 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20093 Replace name, low_pc and high_pc with MACRO_AT_func.
20094
f166b542
YQ
200952014-11-14 Yao Qi <yao@codesourcery.com>
20096
20097 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20098 produce debug information.
20099 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20100
0f6e71e3
YQ
201012014-11-14 Yao Qi <yao@codesourcery.com>
20102
20103 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20104 object and get function length.
20105 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20106 with MACRO_AT_func.
20107 (top-level): Replace gdb_compile and clean_restart with
20108 prepare_for_testing.
20109 * gdb.dwarf2/main.c (main): Add label main_label.
20110
876c4df9
YQ
201112014-11-14 Yao Qi <yao@codesourcery.com>
20112
20113 * lib/dwarf.exp (function_range): New procedure.
20114 (Dwarf::_handle_macro_at_func): New procedure.
20115 (Dwarf::_handle_macro_at_range): New procedure.
20116 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20117
02ad9cf1
YQ
201182014-11-14 Yao Qi <yao@codesourcery.com>
20119
20120 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20121 (_handle_attribute): New procedure.
20122
a59add0c
AA
201232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20124
20125 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20126 * gdb.base/call-sc.c (zed): Likewise.
20127 * gdb.base/checkpoint.c (main): Likewise.
20128 * gdb.base/dump.c (main): Likewise.
20129 * gdb.base/gcore.c (main): Likewise.
20130 * gdb.base/huge.c (main): Likewise.
20131 * gdb.base/multi-forks.c (main): Likewise.
20132 * gdb.base/pr10179-a.c (main): Likewise.
20133 * gdb.base/savedregs.c (main): Likewise.
20134 * gdb.base/sigaltstack.c (main): Likewise.
20135 * gdb.base/siginfo.c (main): Likewise.
20136 * gdb.base/structs.c (zed): Likewise.
20137 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20138 * gdb.mi/mi-syn-frame.c (main): Likewise.
20139 * gdb.mi/until.c (foo, main): Likewise.
20140 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20141 * gdb.base/solib-weak.c (foo): Declare.
20142 * gdb.base/attach-twice.c: Include stdio.h.
20143 * gdb.base/weaklib1.c: Likewise.
20144 * gdb.base/weaklib2.c: Likewise.
20145 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20146 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20147 unistd.h.
20148 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20149 * gdb.mi/mi-exit-code.c: Likewise.
20150 * gdb.base/break-interp-lib.c: Include string.h.
20151 * gdb.base/coremaker.c: Likewise.
20152 * gdb.base/testenv.c: Likewise.
20153 * gdb.python/py-finish-breakpoint.c: Likewise.
20154 * gdb.base/inferior-died.c: Include sys/wait.h.
20155 * gdb.base/fileio.c: Include time.h.
20156 * gdb.base/async-shell.c: Include unistd.h.
20157 * gdb.base/dprintf-non-stop.c: Likewise.
20158 * gdb.base/info-os.c: Likewise.
20159 * gdb.mi/mi-console.c: Likewise.
20160 * gdb.mi/watch-nonstop.c: Likewise.
20161 * gdb.python/py-events.c: Likewise.
20162 * gdb.base/async.c (baz): Move up before its invocation.
20163 * gdb.base/code_elim2.c (my_global_func): Likewise.
20164 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20165 * gdb.base/advance.c (func2): Likewise.
20166
3b5d5997
AA
201672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20168
20169 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20170 variant.
20171 * gdb.base/annota3.c: Likewise.
20172 * gdb.base/async.c: Likewise.
20173 * gdb.base/average.c: Likewise.
20174 * gdb.base/call-ar-st.c: Likewise.
20175 * gdb.base/call-rt-st.c: Likewise.
20176 * gdb.base/call-sc.c: Likewise.
20177 * gdb.base/call-strs.c: Likewise.
20178 * gdb.base/ending-run.c: Likewise.
20179 * gdb.base/execd-prog.c: Likewise.
20180 * gdb.base/exprs.c: Likewise.
20181 * gdb.base/foll-exec.c: Likewise.
20182 * gdb.base/foll-fork.c: Likewise.
20183 * gdb.base/foll-vfork.c: Likewise.
20184 * gdb.base/funcargs.c: Likewise.
20185 * gdb.base/gcore.c: Likewise.
20186 * gdb.base/jump.c: Likewise.
20187 * gdb.base/langs0.c: Likewise.
20188 * gdb.base/langs1.c: Likewise.
20189 * gdb.base/langs2.c: Likewise.
20190 * gdb.base/mips_pro.c: Likewise.
20191 * gdb.base/nodebug.c: Likewise.
20192 * gdb.base/opaque0.c: Likewise.
20193 * gdb.base/opaque1.c: Likewise.
20194 * gdb.base/recurse.c: Likewise.
20195 * gdb.base/run.c: Likewise.
20196 * gdb.base/scope0.c: Likewise.
20197 * gdb.base/scope1.c: Likewise.
20198 * gdb.base/setshow.c: Likewise.
20199 * gdb.base/setvar.c: Likewise.
20200 * gdb.base/shmain.c: Likewise.
20201 * gdb.base/shr1.c: Likewise.
20202 * gdb.base/shr2.c: Likewise.
20203 * gdb.base/sigall.c: Likewise.
20204 * gdb.base/signals.c: Likewise.
20205 * gdb.base/so-indr-cl.c: Likewise.
20206 * gdb.base/solib2.c: Likewise.
20207 * gdb.base/structs.c: Likewise.
20208 * gdb.base/sum.c: Likewise.
20209 * gdb.base/vforked-prog.c: Likewise.
20210 * gdb.base/watchpoint.c: Likewise.
20211 * gdb.reverse/shr2.c: Likewise.
20212 * gdb.reverse/until-reverse.c: Likewise.
20213 * gdb.reverse/ur1.c: Likewise.
20214 * gdb.reverse/watch-reverse.c: Likewise.
20215
066a77c5
AA
202162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20217
20218 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20219 variant.
20220 * gdb.base/sepdebug.exp: Drop references to removed code.
20221
4f204ea5
AA
202222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20223
20224 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20225 variant. Preserve original line numbering.
20226 * gdb.base/list1.c: Likewise.
20227
3b377a3a
AA
202282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20229
20230 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20231 variant.
20232 * gdb.base/break1.c: Likewise.
20233 * gdb.base/break.exp: Drop references to removed code.
20234
e444df73
AA
202352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20236
20237 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20238 variant.
20239
8008f2a7
AA
202402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20241
20242 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20243
a5a06887
AA
202442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20245
20246 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20247 logic into perform_all_tests() and invoke it with and without
20248 function header prototypes.
20249 (do_function_calls): Remove conditional XFAIL for PR 5318.
20250 (rerun_and_prepare): Remove duplicate code.
20251 (perform_all_tests): New. Main logic moved here.
20252
44dba9b9
AA
202532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20254
20255 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20256 code guarded by #ifdef NO_PROTOTYPES.
20257 (t_double_many_args): Likewise.
20258 (DEF_FUNC_MANY_ARGS_1): Likewise.
20259 (DEF_FUNC_VALUES_1): Likewise.
20260 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20261 guarded by #ifdef PROTOTYPES.
20262
d1fbcd56
AA
202632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20264
20265 * gdb.mi/mi-console.c: Add eye-catcher.
20266 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20267 instead of literal line number.
20268
b0e59b8f
AA
202692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20270
20271 * gdb.base/shr2.c: Add eye-catcher.
20272 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20273 line number.
20274
78f98cca
AA
202752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20276
20277 * gdb.base/jump.c: Add eye-catchers.
20278 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20279 numbers.
20280
58fa2af0
AA
202812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20282
20283 * gdb.base/execd-prog.c: Add eye-catchers.
20284 * gdb.base/foll-exec.c: Likewise.
20285 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20286 line numbers.
20287
04e5059b
AA
202882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20289
20290 * gdb.base/ending-run.c: Add eye-catchers.
20291 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20292 literal line numbers.
20293
dbfdb174
AA
202942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20295
20296 * gdb.base/call-rt-st.c: Add eye-catchers.
20297 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20298 literal line numbers.
20299
888a2ade
AA
203002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20301
20302 * gdb.base/call-ar-st.c: Add eye-catchers.
20303 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20304 literal line numbers.
20305
6acc2dde
AA
203062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20307
20308 * gdb.base/average.c: Add eye-catchers.
20309 * gdb.base/sum.c: Likewise.
20310 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20311 regexps dynamically.
20312
9ecfcd1d
AA
203132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20314
20315 * gdb.base/solib1.c: Add eye-catchers.
20316 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20317 literal line numbers.
20318
78708b7c
PA
203192014-11-12 Pedro Alves <palves@redhat.com>
20320
20321 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20322 leader has exited.
20323
af48d08f
PA
203242014-11-12 Pedro Alves <palves@redhat.com>
20325
20326 * gdb.arch/i386-bp_permanent.c: New file.
20327 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20328 (srcfile): Set to i386-bp_permanent.c.
20329 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20330 that stepi does not execute the 'leave' instruction, instead of
20331 testing it does execute.
20332 * gdb.base/bp-permanent.c: New file.
20333 * gdb.base/bp-permanent.exp: New file.
20334
af3768e9
DE
203352014-11-10 Doug Evans <xdje42@gmail.com>
20336
20337 PR symtab/17564
20338 * gdb.base/symtab-search-order.exp: New file.
20339 * gdb.base/symtab-search-order.c: New file.
20340 * gdb.base/symtab-search-order-1.c: New file.
20341 * gdb.base/symtab-search-order-shlib-1.c: New file.
20342
9de00a4a
PA
203432014-11-07 Pedro Alves <palves@redhat.com>
20344
20345 PR gdb/17511
20346 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20347 i?86-*-linux*.
20348
e0f52461
SC
203492014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20350
20351 PR c++/17494
20352 * gdb.cp/pr17494.cc: New file.
20353 * gdb.cp/pr17494.exp: New file.
20354
6ce8c980
YQ
203552014-11-02 Yao Qi <yao@codesourcery.com>
20356
20357 * gdb.python/python.exp: Get working directory and match the
20358 output of "set extended-prompt \\w " with it.
20359
02be9a71
DE
203602014-10-30 Doug Evans <dje@google.com>
20361
20362 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20363 in objfiles.
20364 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20365 in progspaces.
20366
3bdff46b
LM
203672014-10-30 Janis Johnson <janisjo@codesourcery.com>
20368
20369 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20370 * gdb.base/realname-expand.exp: Likewise.
20371 * gdb.linespec/macro-relative.exp: Likewise.
20372
ab917dfb
PA
203732014-10-29 Pedro Alves <palves@redhat.com>
20374
20375 PR gdb/17408
20376 * gdb.threads/schedlock.c (some_function): New function.
20377 (call_function): New global.
20378 (MAYBE_CALL_SOME_FUNCTION): New macro.
20379 (thread_function): Call it.
20380 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20381 and use it instead of a global counter. Adjust all callers.
20382 (get_current_thread): Use "find current thread" for test message
20383 here rather than having all callers pass down the same string.
20384 (goto_loop): New procedure, factored out from ...
20385 (my_continue): ... this.
20386 (step_ten_loops): Change parameter from test message to command to
20387 use. Adjust.
20388 (list_count): Delete global.
20389 (check_result): New procedure, factored out from duplicate top
20390 level code.
20391 (continue tests): Wrap in with_test_prefix.
20392 (test_step): New procedure, factored out from duplicate top level
20393 code.
20394 (top level): Test "step" in combination with all scheduler-locking
20395 modes. Test "next" in combination with all scheduler-locking
20396 modes, and in combination with stepping over a function call or
20397 not.
20398 * gdb.threads/next-bp-other-thread.c: New file.
20399 * gdb.threads/next-bp-other-thread.exp: New file.
20400
d3d4baed
PA
204012014-10-29 Pedro Alves <palves@redhat.com>
20402
20403 PR python/17372
20404 * gdb.python/python.exp: Test a multi-line command that spawns
20405 interactive Python.
20406 * gdb.base/multi-line-starts-subshell.exp: New file.
20407
563e8d85
YQ
204082014-10-29 Yao Qi <yao@codesourcery.com>
20409
20410 * gdb.base/fileio.exp: Make directories on host.
20411
0ea4d52e
YQ
204122014-10-29 Yao Qi <yao@codesourcery.com>
20413
20414 * gdb.base/fileio.c (test_write): Close the file.
20415
7f5ef605
PA
204162014-10-28 Pedro Alves <palves@redhat.com>
20417
20418 PR gdb/12623
20419 * gdb.base/sigstep.c (no_handler): New global.
20420 (main): If 'no_handler is true, set the signal handlers to
20421 SIG_IGN.
20422 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20423 with_sw_watch and no_handler parameters. Handle them.
20424 (top level) <stepping over handler when stopped at a breakpoint
20425 test>: Add a test axis for testing with a software watchpoint, and
20426 another for testing with the signal handler set to SIG_IGN.
20427 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20428 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20429
abbdbd03
PA
204302014-10-28 Pedro Alves <palves@redhat.com>
20431
20432 PR gdb/17511
20433 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20434 * gdb.base/sigstep.exp (other_handler_location): New global.
20435 (advance): Support stepping into the signal handler, and running
20436 commands while in the handler.
20437 (in_handler_map): New global.
20438 (top level): In the advance test, add combinations for getting
20439 into the handler with stepping commands, and for running commands
20440 in the handler. Add comment descripting the advancei tests.
20441
1df4399f
PA
204422014-10-28 Pedro Alves <palves@redhat.com>
20443
20444 * gdb.base/sigstep.exp: Use build_executable instead of
20445 prepare_for_testing.
20446 (top level): Move code that starts GDB, runs to main and creates a
20447 display to ...
20448 (restart): ... this new procedure.
20449 (top level): Move backtrace from signal handler test to ...
20450 (validate_backtrace): ... this new procedure.
20451 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20452 with_test_prefix. Always restart GDB.
20453 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20454 with_test_prefix. Always restart GDB. No need to delete
20455 breakpoints after the test.
20456 (test_skip_handler): Remove prefix parameter.
20457 (skip_over_handler, breakpoint_to_handler)
20458 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20459 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20460 restart GDB. No need to delete breakpoints after the test.
20461 (top level): Use foreach to call the test procedures with
20462 different commands.
20463
a5b6e449
PA
204642014-10-28 Pedro Alves <palves@redhat.com>
20465
20466 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20467 instead of GNATS numbers.
20468 * gdb.base/sigbpt.exp: Likewise.
20469 * gdb.base/siginfo.exp: Likewise.
20470 * gdb.base/sigstep.exp: Likewise.
20471
e5f8a7cc
PA
204722014-10-27 Pedro Alves <palves@redhat.com>
20473
20474 * gdb.base/sigstep.c (dummy): New global.
20475 (main): Issue a couple writes to the new global.
20476 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20477 procedures.
20478 (skip_over_handler): Use test_skip_handler.
20479 (top level): Call skip_over_handler for stepi and nexti too.
20480 (breakpoint_over_handler): Use test_skip_handler.
20481 (top level): Call breakpoint_over_handler for stepi and nexti too.
20482
763905a3
YQ
204832014-10-27 Yao Qi <yao@codesourcery.com>
20484
20485 * gdb.trace/tfile.c (adjust_function_address)
20486 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20487 function descriptor.
20488
6f259a23
DB
204892014-10-24 Don Breazeal <donb@codesourcery.com>
20490
20491 * gdb.base/foll-fork.exp (test_follow_fork,
20492 catch_fork_child_follow): Check for updated fork messages emitted
20493 from infrun.c.
20494 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20495 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20496 vfork_and_exec_child_follow_through_step): Check for updated vfork
20497 messages emitted from infrun.c.
20498
09dd9a69
PA
204992014-10-24 Pedro Alves <palves@redhat.com>
20500
20501 * gdb.base/corefile.exp: Remove references to ultrix.
20502 * gdb.base/interrupt.exp: Likewise.
20503 * gdb.base/whatis.exp: Likewise.
20504 * gdb.gdb/selftest.exp: Likewise.
20505 * gdb.threads/manythreads.exp: Likewise.
20506 * gdb.threads/print-threads.exp: Likewise.
20507 * gdb.threads/pthreads.exp:: Likewise.
20508 * gdb.threads/schedlock.exp: Likewise.
20509
3433cfa5
SC
205102014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20511
20512 * gdb.cp/non-trivial-retval.cc: Add a test case.
20513 * gdb.cp/non-trivial-retval.exp: Add a test.
20514
092f880b
YQ
205152014-10-20 Yao Qi <yao@codesourcery.com>
20516
20517 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20518 * gdb.python/py-objfile-script-gdb.py: New file.
20519 * gdb.python/py-objfile-script.exp: Update reference to
20520 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20521 of remote_download. Remove the dest file.
20522
acbdb7f3
YQ
205232014-10-20 Yao Qi <yao@codesourcery.com>
20524
20525 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20526 * gdb.base/step-line.exp: Likewise.
20527 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20528 * gdb.dwarf2/dw2-basic.exp: Likewise.
20529 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20530 * gdb.dwarf2/dw2-filename.exp: Likewise.
20531 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20532 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20533 * gdb.dwarf2/dw2-producer.exp: Likewise.
20534 * gdb.dwarf2/mac-fileno.exp: Likewise.
20535 * gdb.python/py-frame-args.exp: Likewise.
20536 * gdb.python/py-framefilter.exp: Likewise.
20537 * gdb.python/py-mi.exp: Likewise.
20538 * gdb.python/py-objfile-script.exp: Likewise
20539 * gdb.python/py-pp-integral.exp: Likewise.
20540 * gdb.python/py-pp-re-notag.exp: Likewise.
20541 * gdb.python/py-prettyprint.exp: Likewise.
20542 * gdb.python/py-section-script.exp: Likewise.
20543 * gdb.python/py-typeprint.exp: Likewise.
20544 * gdb.python/py-xmethods.exp: Likewise.
20545 * gdb.stabs/weird.exp: Likewise.
20546 * gdb.xml/tdesc-regs.exp: Likewise.
20547
bd286a29
KCY
205482014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20549
20550 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20551 (out_cu): Use addr_len for the size of addresses.
20552 (out_line): Likewise. Size DW_LNE_set_address instruction
20553 according to addr_len.
20554 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20555 (FUNC): Add START_INSNS to definition.
20556
673dc4a0
YQ
205572014-10-18 Yao Qi <yao@codesourcery.com>
20558
20559 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20560 gdb_has_argv0 return true.
20561 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20562 check [target_info exists noargs], check [gdb_has_argv0]
20563 instead.
20564 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20565 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20566 procedures.
20567
4ffbba72
DE
205682014-10-17 Doug Evans <dje@google.com>
20569
20570 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20571 event.
20572 * gdb.python/py-events.py: Add clear_objfiles event.
20573
d096d8c1
DE
205742014-10-17 Doug Evans <dje@google.com>
20575
20576 * gdb.python/py-objfile.exp: Test progspace attribute.
20577
a80db015
LM
205782014-10-17 Luis Machado <lgustavo@codesourcery.com>
20579
20580 * gdb.guile/scm-breakpoint.exp: Do not assume any
20581 directory separators when matching source file paths.
20582 * gdb.python/py-breakpoint.exp: Likewise.
20583 * gdb.reverse/break-precsave.exp: Likewise.
20584 * gdb.reverse/break-reverse.exp: Likewise.
20585 * gdb.reverse/consecutive-precsave.exp: Likewise.
20586 * gdb.reverse/finish-precsave.exp: Likewise.
20587 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20588 * gdb.reverse/finish-reverse.exp: Likewise.
20589 * gdb.reverse/i386-precsave.exp: Likewise.
20590 * gdb.reverse/i387-env-reverse.exp: Likewise.
20591 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20592 * gdb.reverse/machinestate-precsave.exp: Likewise.
20593 * gdb.reverse/machinestate.exp: Likewise.
20594 * gdb.reverse/sigall-precsave.exp: Likewise.
20595 * gdb.reverse/solib-precsave.exp: Likewise.
20596 * gdb.reverse/step-precsave.exp: Likewise.
20597 * gdb.reverse/until-precsave.exp: Likewise.
20598 * gdb.reverse/watch-precsave.exp: Likewise.
20599 * gdb.reverse/watch-reverse.exp: Likewise.
20600
b22089ab
YQ
206012014-10-17 Yao Qi <yao@codesourcery.com>
20602
20603 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20604 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20605
6c4486e6
PA
206062014-10-17 Pedro Alves <palves@redhat.com>
20607
20608 PR gdb/17471
20609 * gdb.base/bg-execution-repeat.c: New file.
20610 * gdb.base/bg-execution-repeat.exp: New file.
20611
0ff33695
PA
206122014-10-17 Pedro Alves <palves@redhat.com>
20613
20614 PR gdb/17300
20615 * gdb.base/continue-all-already-running.c: New file.
20616 * gdb.base/continue-all-already-running.exp: New file.
20617
6fdebc3d
PA
206182014-10-17 Pedro Alves <palves@redhat.com>
20619
20620 PR gdb/17472
20621 * gdb.base/annota-input-while-running.c: New file.
20622 * gdb.base/annota-input-while-running.exp: New file.
20623
32a8097b
PA
206242014-10-17 Pedro Alves <palves@redhat.com>
20625
20626 * gdb.base/callfuncs.exp: emove references to osf.
20627 * gdb.base/sigall.exp: Likewise.
20628 * gdb.gdb/selftest.exp: Likewise.
20629 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20630 * gdb.mi/non-stop.c: Likewise.
20631 * gdb.mi/pthreads.c: Likewise.
20632 * gdb.reverse/sigall-precsave.exp: Likewise.
20633 * gdb.reverse/sigall-reverse.exp: Likewise.
20634 * gdb.threads/pthreads.c: Likewise.
20635 * gdb.threads/pthreads.exp: Likewise.
20636
7a3517ff
YQ
206372014-10-17 Yao Qi <yao@codesourcery.com>
20638
20639 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20640 check 'target_info exists noargs'.
20641 (test_command_prompt_position): Likewise.
20642 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20643 Remove "set args".
20644 (progvar_simple_while_test): Likewise.
20645 (progvar_complex_if_while_test): Likewise.
20646 (if_while_breakpoint_command_test): Likewise.
20647 (infrun_breakpoint_command_test): Likewise.
20648 (breakpoint_command_test): Likewise.
20649 (watchpoint_command_test): Likewise.
20650 (bp_deleted_in_command_test): Likewise.
20651 (temporary_breakpoint_commands): Likewise.
20652
bb99c472
YQ
206532014-10-16 Yao Qi <yao@codesourcery.com>
20654
20655 * gdb.base/remotetimeout.exp: Remove noargs checking.
20656
7c16b83e
PA
206572014-10-15 Pedro Alves <palves@redhat.com>
20658
20659 PR breakpoints/9649
20660 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20661 * gdb.base/breakpoint-in-ro-region.exp
20662 (probe_target_hardware_step): New procedure.
20663 (top level): Probe hardware stepping and hardware breakpoint
20664 support. Test stepping through a read-only region, with both
20665 "breakpoint auto-hw" on and off and both "always-inserted" on and
20666 off.
20667
35a49624
IB
206682014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20669
20670 * gdb.dlang/demangle.exp: Update for demangling changes.
20671
2d1c107c
SC
206722014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20673
20674 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20675 * gdb.cp/non-trivial-retval.exp: Add new tests.
20676
778811d5
SC
206772014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20678
20679 PR c++/13403
20680 PR c++/15154
20681 * gdb.cp/non-trivial-retval.cc: New file.
20682 * gdb.cp/non-trivial-retval.exp: New file.
20683
10c5f0a8
YQ
206842014-10-15 Yao Qi <yao@codesourcery.com>
20685
20686 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20687 remote host.
20688
65d7b369
YQ
206892014-10-15 Yao Qi <yao@codesourcery.com>
20690
20691 * gdb.python/py-symbol.exp: Match file base name if host is
20692 remote, otherwise match file name with dir name.
20693 * gdb.python/py-symtab.exp: Likewise.
20694 * gdb.python/python.exp: Likewise.
20695
46dc1394
YQ
206962014-10-15 Yao Qi <yao@codesourcery.com>
20697
20698 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20699 pattern.
20700 * gdb.python/py-symtab.exp: Likewise.
20701 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20702 locationn.
20703
c40cc657
JB
207042014-10-14 Joel Brobecker <brobecker@adacore.com>
20705
20706 * gdb.ada/addr_arith: New testcase.
20707
2abf49e1
MR
207082014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20709
20710 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20711 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20712 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20713 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20714
f7088df3
SDJ
207152014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20716
20717 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20718 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20719 * gdb.arch/stap-eval-lang-ada.exp: New file.
20720
4dc06805
YQ
207212014-10-14 Yao Qi <yao@codesourcery.com>
20722
20723 * gdb.mi/mi-var-child.c (nothing1): New function.
20724 (nothing2): New function.
20725 (do_children_tests): Set function pointers by nothing1 and
20726 nothing2.
20727 * gdb.mi/mi-var-child.exp: Step over new added statements.
20728 Update test to match the new output.
20729 * gdb.mi/var-cmd.c (nothing1): New function.
20730 (nothing2): New function.
20731 (do_children_tests): Set function pointers by nothing1 and
20732 nothing2.
20733 * gdb.mi/mi-var-display.exp: Update test to match output.
20734 Step to the line specified by $line_dct_nothing.
20735 Increase the number of lines to step.
20736
46a93de2
YQ
207372014-10-14 Yao Qi <yao@codesourcery.com>
20738
20739 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20740 tests.
20741 * gdb.mi/mi2-var-child.exp: Likewise.
20742
14ea52ee
DE
207432014-10-13 Doug Evans <dje@google.com>
20744
20745 * gdb.python/py-objfile.exp: Change name of file name test.
20746
e5c6e92b
DE
207472014-10-13 Doug Evans <dje@google.com>
20748
20749 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20750 from the start of the CU.
20751
c780cc2f
JK
207522014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20753 Yao Qi <yao@codesourcery.com>
20754
20755 Fix "save breakpoints" for "catch" command.
20756 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20757 Remove -nonewline. Match also the added "main" line.
20758
99894e11
JK
207592014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20760
20761 Fix "save breakpoints" for "disable $bpnum" command.
20762 * gdb.base/save-bp.c (main): Add label.
20763 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20764
6e1ac5a3
JK
207652014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20766
20767 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20768
754dd2b0
YQ
207692014-10-11 Yao Qi <yao@codesourcery.com>
20770
20771 * gdb.server/server-kill.exp: Execute command
20772 "set remote trace-status-packet on" before "tstatus".
20773
f90183d7
YQ
207742014-10-11 Yao Qi <yao@codesourcery.com>
20775
20776 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20777 (main): Call getppid.
20778 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20779 and continue to it. Read variable "server_pid".
20780
bf40a607
YQ
207812014-10-11 Yao Qi <yao@codesourcery.com>
20782
20783 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20784
052ca370
YQ
207852014-10-11 Yao Qi <yao@codesourcery.com>
20786
20787 * gdb.threads/thread-find.exp: Don't execute command
20788 "info threads".
20789 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20790 * gdb.threads/linux-dp.exp: Don't check the condition
20791 $threads_created equals to zero.
20792
3831839c
PA
207932014-10-10 Pedro Alves <palves@redhat.com>
20794
20795 * gdb.base/bigcore.exp: Remove references to IRIX.
20796 * gdb.base/funcargs.exp: Likewise.
20797 * gdb.base/interrupt.exp: Likewise.
20798 * gdb.base/mips_pro.exp: Likewise.
20799 * gdb.base/nodebug.exp: Likewise.
20800 * gdb.base/setvar.exp: Likewise.
20801 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20802
8b9a549d
PA
208032014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20804 Pedro Alves <palves@redhat.com>
20805
20806 PR symtab/14466
20807 * gdb.base/vdso-warning.c: New file.
20808 * gdb.base/vdso-warning.exp: New file.
20809
d48ba5e8
DE
208102014-10-02 Doug Evans <dje@google.com>
20811
20812 * gdb.base/structs.c (main): Don't run forever.
20813
2278c276
PA
208142014-10-02 Pedro Alves <palves@redhat.com>
20815
20816 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20817 (top level) <stop threads 1, stop threads 2>: Use it.
20818
b57bacec
PA
208192014-10-02 Pedro Alves <palves@redhat.com>
20820
20821 * gdb.threads/break-while-running.exp (test): Add new
20822 'update_thread_list' argument. Skip "info threads" if false.
20823 (top level): Add new 'update_thread_list' axis.
20824
13fd3ff3
PA
208252014-10-02 Pedro Alves <palves@redhat.com>
20826
20827 PR breakpoints/17431
20828 * gdb.base/execl-update-breakpoints.c: New file.
20829 * gdb.base/execl-update-breakpoints.exp: New file.
20830
0fec99e8
PA
208312014-10-01 Pedro Alves <palves@redhat.com>
20832
20833 * gdb.base/breakpoint-in-ro-region.c: New file.
20834 * gdb.base/breakpoint-in-ro-region.exp: New file.
20835
2ddf4301
SM
208362014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20837
20838 * gdb.mi/mi-exit-code.exp: New file.
20839 * gdb.mi/mi-exit-code.c: New file.
20840
6a5f3f43
YQ
208412014-09-30 Yao Qi <yao@codesourcery.com>
20842
20843 * lib/prelink-support.exp (build_executable_own_libs): Error if
20844 the target isn't native.
20845
345bcc73
YQ
208462014-09-30 Yao Qi <yao@codesourcery.com>
20847
20848 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20849 false.
20850
a25a5a45
PA
208512014-09-22 Pedro Alves <palves@redhat.com>
20852
20853 * gdb.threads/break-while-running.exp: New file.
20854 * gdb.threads/break-while-running.c: New file.
20855
00ba3162
YQ
208562014-09-19 Yao Qi <yao@codesourcery.com>
20857
20858 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20859 Invoke test. Restart GDB with --readnow and invoke test again.
20860
c3b7b696
YQ
208612014-09-19 Yao Qi <yao@codesourcery.com>
20862
20863 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20864 proc set_breakpoint_on_gcd_function. Invoke
20865 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20866 invoke set_breakpoint_on_gcd_function again.
20867
2b4fd423
DE
208682014-09-18 Doug Evans <dje@google.com>
20869
20870 * gdb.dwarf2/symtab-producer.exp: New file.
20871
a5947601
SDJ
208722014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20873
20874 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20875 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20876 * gdb.base/global-var-nested-by-dso.c: Likewise.
20877 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20878
91c19059
SDJ
208792014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20880 Pedro Alves <palves@redhat.com>
20881
20882 * gdb.base/watch-bitfields.exp: Pass string other than test file
20883 name to prepare_for_testing.
20884 (watch): New procedure.
20885 (expect_watchpoint): Use with_test_prefix.
20886 (top level): Factor out tests to ...
20887 (test_watch_location, test_regular_watch): ... these new
20888 procedures, and use with_test_prefix and gdb_continue_to_end.
20889
bb9d5f81
PP
208902014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20891
20892 PR breakpoints/12526
20893 * gdb.base/watch-bitfields.exp: New file.
20894 * gdb.base/watch-bitfields.c: New file.
20895
635856f5
PA
208962014-09-16 Pedro Alves <palves@redhat.com>
20897
20898 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20899 software and hardware addresses, not software address against
20900 itself.
20901
7280ceea
PA
209022014-09-16 Pedro Alves <palves@redhat.com>
20903
20904 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20905 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20906
428b16bd
PA
209072014-09-16 Pedro Alves <palves@redhat.com>
20908
20909 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20910 files.
20911 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20912 "*-*-vxworks*" throughout.
20913 * gdb.base/break.exp: Likewise.
20914 * gdb.base/default.exp: Likewise.
20915 * gdb.base/scope.exp: Likewise.
20916 * gdb.base/sepdebug.exp: Likewise.
20917 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20918 throughout.
20919 * gdb.base/run.c: Likewise.
20920 * gdb.base/sepdebug.c: Likewise.
20921 * gdb.hp/gdb.aCC/run.c: Likewise.
20922 * gdb.reverse/until-reverse.c: Likewise.
20923 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20924
666d413c
YQ
209252014-09-16 Yao Qi <yao@codesourcery.com>
20926
20927 * boards/local-remote-host-native.exp: New file.
20928
57cbd724
DE
209292014-09-14 Doug Evans <xdje42@gmail.com>
20930
20931 * gdb.threads/queue-signal.c (thread_count): New variable.
20932 (thread_count_mutex, thread_count_condvar): New variables.
20933 (incr_thread_count, wait_all_threads_running): New functions.
20934 (main): Wait for all threads to be in their thread functions.
20935
81219e53
DE
209362014-09-13 Doug Evans <xdje42@gmail.com>
20937
20938 * gdb.threads/queue-signal.c: New file.
20939 * gdb.threads/queue-signal.exp: New file.
20940
3714cea7
DE
209412014-09-13 Doug Evans <xdje42@gmail.com>
20942
20943 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20944 be consistent with what default_gdb_init uses.
20945 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20946 the plain text of the prompt. Add some logging printfs.
20947 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20948
fa43b1d7
PA
209492014-09-12 Pedro Alves <palves@redhat.com>
20950
20951 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20952 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20953 * gdb.arch/i386-size-overlap.exp: Likewise.
20954 * gdb.arch/i386-size.exp: Likewise.
20955 * gdb.arch/i386-unwind.exp: Likewise.
20956 * gdb.base/a2-run.exp: Likewise.
20957 * gdb.base/break.exp: Likewise.
20958 * gdb.base/charset.exp: Likewise.
20959 * gdb.base/chng-syms.exp: Likewise.
20960 * gdb.base/commands.exp: Likewise.
20961 * gdb.base/dbx.exp: Likewise.
20962 * gdb.base/find.exp: Likewise.
20963 * gdb.base/funcargs.exp: Likewise.
20964 * gdb.base/jit-simple.exp: Likewise.
20965 * gdb.base/reread.exp: Likewise.
20966 * gdb.base/sepdebug.exp: Likewise.
20967 * gdb.base/step-bt.exp: Likewise.
20968 * gdb.cp/mb-inline.exp: Likewise.
20969 * gdb.cp/mb-templates.exp: Likewise.
20970 * gdb.objc/basicclass.exp: Likewise.
20971 * gdb.threads/killed.exp: Likewise.
20972
9d9bf2df
EBM
209732014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20974
20975 PR tdep/17379
20976 * gdb.arch/powerpc-stackless.S: New file.
20977 * gdb.arch/powerpc-stackless.exp: New file.
20978
1cf2f1b0
JK
209792014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20980
20981 * gdb.base/attach.c: Include unistd.h.
20982 (main): Call alarm. Add label postloop.
20983 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20984 gdb_breakpoint, gdb_continue_to_breakpoint.
20985 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20986
98880d46
PA
209872014-09-11 Pedro Alves <palves@redhat.com>
20988
20989 PR gdb/17347
20990 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20991 * gdb.base/attach.exp (test_command_line_attach_run): New
20992 procedure.
20993 (top level): Call it.
20994
4c92ff2c
PA
209952014-09-11 Pedro Alves <palves@redhat.com>
20996
20997 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20998 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20999 (do_command_attach_tests): Use spawn_wait_for_attach.
21000 * gdb.base/solib-overlap.exp: Likewise.
21001 * gdb.multi/multi-attach.exp: Likewise.
21002 * gdb.python/py-prompt.exp: Likewise.
21003 * gdb.python/py-sync-interp.exp: Likewise.
21004 * gdb.server/ext-attach.exp: Likewise.
21005
3adc1a7d
GKB
210062014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21007
21008 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21009 command in testcase. Simplify testcase.
21010
96334934
JB
210112014-09-10 Joel Brobecker <brobecker@adacore.com>
21012
21013 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21014
eb479039
JB
210152014-09-10 Joel Brobecker <brobecker@adacore.com>
21016
21017 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21018
deede10c
JB
210192014-09-10 Joel Brobecker <brobecker@adacore.com>
21020
21021 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21022
7828a5f5
JB
210232014-09-10 Joel Brobecker <brobecker@adacore.com>
21024
21025 * gdb.dwarf2/dynarr-ptr.c: New file.
21026 * gdb.dwarf2/dynarr-ptr.exp: New file.
21027
33aeebcf
MR
210282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21029
21030 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21031 of 30 rather than hardcoding 120 for a slow test case. Take the
21032 `gdb,timeout' target setting into account for this calculation.
21033 Don't extend the timeout for the test cases that don't need it.
21034
7b415901
MR
210352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21036
21037 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21038 a factor of 2 for a slow test case. Take the `gdb,timeout'
21039 target setting into account for this calculation.
21040 * gdb.reverse/until-precsave.exp: Increase the timeout by
21041 a factor of 15 and 3 respectively rather than adding 120
21042 for a pair of slow test cases. Take the `gdb,timeout'
21043 target setting into account for this calculation.
21044
4a40f85a
MR
210452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21046
21047 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21048 timeout, don't pass one down to gdb_expect.
21049 (gdb_expect): Rework timeout selection.
21050
09635af7
MR
210512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21052
21053 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21054 exception on timeout.
21055 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21056 (gdbserver_start_extended): Catch any `gdbserver_start' error
21057 exceptions.
21058 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21059 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21060 `gdbserver_gdb_load' error exceptions.
21061
2bdd10b7
MR
210622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21063
21064 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21065 120 on waiting for the TCP socket to open.
21066
316935f0
DE
210672014-09-09 Doug Evans <xdje42@gmail.com>
21068
21069 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21070 _caller_matches, _any_caller_is, _any_caller_matches.
21071
83740597
DE
210722014-09-09 Doug Evans <xdje42@gmail.com>
21073
21074 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21075
4c122fc3
YQ
210762014-09-09 Yao Qi <yao@codesourcery.com>
21077
21078 * gdb.mi/mi-var-display.exp: Set print symbol off.
21079
a9f116cb
GKB
210802014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21081
21082 PR gdb/17035
21083 * gdb.base/commands.exp: Add tests to verify user-defined
21084 commands with empty bodies.
21085 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21086 python commands in `show user command`.
21087 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21088 scheme commands in `show user command`.
21089
c75bd3a2
JK
210902014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21091
21092 PR python/17355
21093 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21094 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21095 * gdb.python/py-framefilter-invalidarg.exp: New file.
21096 * gdb.python/py-framefilter-invalidarg.py: New file.
21097
faa42425
DE
210982014-09-06 Doug Evans <xdje42@gmail.com>
21099
21100 PR 15276
21101 * gdb.python/py-caller-is.c: New file.
21102 * gdb.python/py-caller-is.exp: New file.
21103
474ca4f6
SDJ
211042014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21105
21106 PR gdb/17235
21107 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21108 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21109
eb0b0463
SDJ
211102014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21111
21112 PR fortran/17237
21113 * gdb.fortran/print-formatted.exp: New file.
21114 * gdb.fortran/print-formatted.f90: Likewise.
21115
5f3b99cf
SS
211162014-09-03 Sasha Smundak <asmundak@google.com>
21117
21118 * gdb.python/py-frame.exp: Test Frame.read_register.
21119
7d793aa9
SDJ
211202014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21121
21122 PR python/16699
21123 * gdb.python/py-completion.exp: New file.
21124 * gdb.python/py-completion.py: Likewise.
21125
fb0576e9
DE
211262014-08-28 Doug Evans <dje@google.com>
21127
21128 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21129 eax,etc. are live with values set by gdb and thus the compiler can't
21130 use them.
21131 * gdb.arch/i386-pseudo.c (main): Ditto.
21132
ee92b0dd
DE
211332014-08-27 Doug Evans <dje@google.com>
21134
21135 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21136
6649db35
DE
211372014-08-25 Doug Evans <dje@google.com>
21138
21139 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21140 (main): Ditto.
21141
564b7600
DE
211422014-08-25 Doug Evans <dje@google.com>
21143
21144 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21145
3881fb67
YQ
211462014-08-24 Yao Qi <yao@codesourcery.com>
21147
21148 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21149 symbol off.
21150 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21151
a05a36a5
DE
211522014-08-22 Doug Evans <dje@google.com>
21153
21154 PR 17276
21155 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21156 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21157 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21158
7c343b48
YQ
211592014-08-22 Yao Qi <yao@codesourcery.com>
21160
21161 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21162 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21163 * gdb.python/python.exp: Likewise. Use .py file on the host
21164 instead of the build.
21165
22fd09ae
JK
211662014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21167
21168 * gdb.threads/gcore-stale-thread.c: New file.
21169 * gdb.threads/gcore-stale-thread.exp: New file.
21170
a8454a7c
PA
211712014-08-21 Pedro Alves <palves@redhat.com>
21172
21173 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21174 * gdb.base/gcore-relro-pie.exp: Likewise.
21175 * gdb.base/gcore-relro.exp: Likewise.
21176 * gdb.base/gcore.exp: Likewise.
21177 * gdb.base/print-symbol-loading.exp: Likewise.
21178 * gdb.threads/gcore-thread.exp: Likewise.
21179 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21180
2a31c623
PA
211812014-08-20 Pedro Alves <palves@redhat.com>
21182 Jan Kratochvil <jan.kratochvil@redhat.com>
21183
21184 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21185 configure.
21186 (EXPECT): Handle READ1 being set.
21187 (all): Depend on EXTRA_RULES.
21188 (check-read1, expect-read1, read1.so, read1): New rules.
21189 * README (Testsuite Parameters): Document the READ1 make variable.
21190 (Race detection): New section.
21191 * configure: Regenerate.
21192 * configure.ac: If build==host==target, and running under a
21193 GNU/glibc system, add read1 to the extra Makefile rules.
21194 (EXTRA_RULES): AC_SUBST it.
21195 * lib/read1.c: New file.
21196
d36430db
JB
211972014-08-20 Joel Brobecker <brobecker@adacore.com>
21198
21199 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21200 the handling of variables declared as a typedef to an array
21201 which a DW_AT_data_location attribute.
21202
9a0dc9e3
PA
212032014-08-19 Andrew Burgess <aburgess@broadcom.com>
21204 Pedro Alves <palves@redhat.com>
21205
21206 PR symtab/14604
21207 PR symtab/14605
21208 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21209 gdb_test.
21210
0718a8da
PA
212112014-08-19 Pedro Alves <palves@redhat.com>
21212
21213 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21214
13b448cd
YQ
212152014-08-19 Yao Qi <yao@codesourcery.com>
21216
21217 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21218 right line.
21219
1cbf5077
DB
212202014-08-18 David Blaikie <dblaikie@gmail.com>
21221
21222 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21223
bf0fae19
JB
212242014-08-18 Joel Brobecker <brobecker@adacore.com>
21225
21226 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21227 attribute in array range.
21228
3c8c5dcc
JB
212292014-08-18 Joel Brobecker <brobecker@adacore.com>
21230
21231 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21232
e66d4446
SC
212332014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21234
21235 PR c++/17132
21236 * gdb.cp/pr17132.cc: New file.
21237 * gdb.cp/pr17132.exp: New file.
21238
940df408
SC
212392014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21240
21241 * gdb.python/py-xmethods.py (A_getarrayind)
21242 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21243 Use 'print' with function call syntax.
21244 (E_method_matcher.match): Fix tab vs space indentation mixup.
21245
ebcc6c3a
YQ
212462014-08-15 Yao Qi <yao@codesourcery.com>
21247
21248 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21249 false.
21250
775e0f04
YQ
212512014-08-15 Yao Qi <yao@codesourcery.com>
21252
21253 * gdb.cp/casts.exp: Set print symbol off.
21254 * gdb.cp/class2.exp: Likewise.
21255 * gdb.cp/overload.exp: Likewise.
21256 * gdb.cp/templates.exp: Likewise.
21257
d769e349
DE
212582014-08-11 Doug Evans <dje@google.com>
21259
21260 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21261 (test_load_shlib): Update.
21262
20c6f1e1
YQ
212632014-08-09 Yao Qi <yao@codesourcery.com>
21264
21265 * gdb.base/display.exp: Invoke is_address_zero_readable.
21266 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21267 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21268 * gdb.base/hbreak-unmapped.exp: Return if
21269 is_address_zero_readable returns true.
21270 * gdb.base/signest.exp: Likewise.
21271 * gdb.base/signull.exp: Likewise.
21272 * gdb.base/sigbpt.exp: Likewise.
21273 * gdb.guile/scm-disasm.exp: Do the test if
21274 is_address_zero_readable returns false.
21275 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21276 * gdb.python/py-arch.exp: Likewise.
21277 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21278 * lib/gdb.exp (is_address_zero_readable): New proc.
21279
5792e8e3
YQ
212802014-08-09 Yao Qi <yao@codesourcery.com>
21281
21282 PR testsuite/13443
21283 * gdb.mi/mi-var-display.exp: Make test messages unique.
21284
3cecbbbe
TT
212852014-08-04 Tom Tromey <tromey@redhat.com>
21286
21287 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21288 target 0".
21289
00b51ff5
TT
212902014-08-04 Tom Tromey <tromey@redhat.com>
21291
21292 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21293 "target_resume".
21294
6908c509
JB
212952014-08-01 Joel Brobecker <brobecker@adacore.com>
21296
21297 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21298 inner_vla_struct_object_size.
21299 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21300 as xfail.
21301
cc6563d2
PA
213022014-07-30 Pedro Alves <palves@redhat.com>
21303
21304 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21305 comment.
21306
7e09a223
YQ
213072014-07-29 Yao Qi <yao@codesourcery.com>
21308
21309 PR gdb/17206
21310 * gdb.base/until-nodebug.exp: New.
21311
7ebdbe92
DE
213122014-07-28 Doug Evans <xdje42@gmail.com>
21313
21314 PR guile/17203
21315 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21316 previously existing parameter, and previously ambiguously spelled
21317 parameter.
21318
fdb1adc6
WN
213192014-07-28 Will Newton <will.newton@linaro.org>
21320
21321 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21322
186fcde0
DE
213232014-07-26 Ludovic Courtès <ludo@gnu.org>
21324 Doug Evans <xdje42@gmail.com>
21325
21326 PR guile/17146
21327 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21328
70509625
PA
213292014-07-25 Pedro Alves <palves@redhat.com>
21330
21331 * gdb.threads/signal-command-handle-nopass.c: New file.
21332 * gdb.threads/signal-command-handle-nopass.exp: New file.
21333 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21334 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21335 * gdb.threads/signal-delivered-right-thread.c: New file.
21336 * gdb.threads/signal-delivered-right-thread.exp: New file.
21337
c3f814a1
PA
213382014-07-25 Pedro Alves <palves@redhat.com>
21339
21340 * gdb.base/double-prompt-target-event-error.exp
21341 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21342 match.
21343 (cancel_pagination_in_target_event): Rework double prompt
21344 detection.
21345 * gdb.base/paginate-after-ctrl-c-running.exp
21346 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21347 <return>' match.
21348 * gdb.base/paginate-bg-execution.exp
21349 (test_bg_execution_pagination_return)
21350 (test_bg_execution_pagination_cancel): Remove '-notransfer
21351 <return>' matches.
21352 * gdb.base/paginate-execution-startup.exp
21353 (test_fg_execution_pagination_return)
21354 (test_fg_execution_pagination_cancel): Remove '-notransfer
21355 <return>' matches.
21356 * gdb.base/paginate-inferior-exit.exp
21357 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21358 match.
21359 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21360 * lib/gdb.exp (pagination_prompt): Run text through
21361 string_to_regexp.
21362 (gdb_test_multiple): Match $pagination_prompt instead of
21363 "<return>".
21364 (string_to_regexp): Move to lib/gdb-utils.exp.
21365
e214cf6c
JK
213662014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21367
21368 * gdb.arch/amd64-entry-value-paramref.S: New file.
21369 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21370 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21371 * gdb.arch/amd64-optimout-repeat.S: New file.
21372 * gdb.arch/amd64-optimout-repeat.c: New file.
21373 * gdb.arch/amd64-optimout-repeat.exp: New file.
21374
17d0c5c8
JK
213752014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21376
21377 PR gdb/17170
21378 * gdb.base/statistics.exp: New file.
21379
b8b8facf
DE
213802014-07-17 Doug Evans <dje@google.com>
21381
74b49205 21382 PR gdb/17170
b8b8facf
DE
21383 * gdb.base/maint.exp: Update testing of per-command stats.
21384
1b5d0ab3
PA
213852014-07-16 Pedro Alves <palves@redhat.com>
21386
21387 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21388 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21389 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21390 (tfile_write_buf): New functions.
21391 (add_memory_block): Rewrite using the above.
21392 (adjust_function_address): New function.
21393 (FUNCTION_ADDRESS): New macro.
21394 (write_basic_trace_file): Remove short_x local, and use
21395 tfile_write_16. Change type of func_addr local to unsigned long
21396 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21397 here. Cast argument of add_memory_block to char pointer.
21398 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21399 (main): Remove parameters.
21400 * gdb.trace/tfile.exp: Remove nowarnings.
21401
4d974e88
SM
214022014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21403
21404 * gdb.base/debug-expr.exp: Test string evaluation with
21405 "debug expression" on.
21406
41e99568
PA
214072014-07-15 Pedro Alves <palves@redhat.com>
21408
21409 * gdb.base/reread.exp: Use clean_restart.
21410
487d9753
PL
214112014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21412
21413 * gdb.arch/avr-flash-qualifer.c: New.
21414 * gdb.arch/avr-flash-qualifer.exp: New.
21415
cc1c52ad
PA
214162014-07-14 Pedro Alves <palves@redhat.com>
21417
21418 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21419 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21420
1e973570
PA
214212014-07-14 Pedro Alves <palves@redhat.com>
21422
21423 * gdb.base/double-prompt-target-event-error.c: New file.
21424 * gdb.base/double-prompt-target-event-error.exp: New file.
21425
93d6eb10
PA
214262014-07-14 Pedro Alves <palves@redhat.com>
21427
21428 PR gdb/17072
21429 * gdb.base/paginate-inferior-exit.c: New file.
21430 * gdb.base/paginate-inferior-exit.exp: New file.
21431
0017922d
PA
214322014-07-14 Pedro Alves <palves@redhat.com>
21433
21434 PR gdb/17072
21435 * gdb.base/paginate-bg-execution.c: New file.
21436 * gdb.base/paginate-bg-execution.exp: New file.
21437
94696ad3
PA
214382014-07-14 Pedro Alves <palves@redhat.com>
21439
21440 PR gdb/17072
21441 * gdb.base/paginate-execution-startup.c: New file.
21442 * gdb.base/paginate-execution-startup.exp: New file.
21443 * lib/gdb.exp (pagination_prompt): New global.
21444 (default_gdb_spawn): New procedure, factored out from
21445 default_gdb_spawn.
21446 (default_gdb_start): Adjust to call default_gdb_spawn.
21447 (gdb_spawn): New procedure.
21448
bd293940
PA
214492014-07-14 Pedro Alves <palves@redhat.com>
21450
21451 * lib/gdb.exp (gdb_assert): New procedure.
21452 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21453
c933f875
PA
214542014-07-14 Pedro Alves <palves@redhat.com>
21455
21456 * gdb.base/execution-termios.c: New file.
21457 * gdb.base/execution-termios.exp: New file.
21458
d98b7a16
TT
214592014-07-14 Tom Tromey <tromey@redhat.com>
21460
21461 * gdb.cp/vla-cxx.cc: New file.
21462 * gdb.cp/vla-cxx.exp: New file.
21463
548740d6
TT
214642014-07-14 Tom Tromey <tromey@redhat.com>
21465
21466 * gdb.reverse/rerun-prec.c: New file.
21467 * gdb.reverse/rerun-prec.exp: New file.
21468
a25eb028
MR
214692014-07-12 Maciej W. Rozycki <macro@mips.com>
21470 Maciej W. Rozycki <macro@codesourcery.com>
21471
21472 * lib/gdb-utils.exp: New file.
21473 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21474 inline `gdb_init_command' processing.
21475 (gdb_start_cmd): Likewise.
21476 * lib/mi-support.exp (mi_run_cmd): Likewise.
21477 * README: Document `gdb_init_command' and `gdb_init_commands'.
21478
218c2655
JK
214792014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21480
21481 Fix false FAIL running under a very long directory name.
21482 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21483 and "set print elements 10000". Twice.
21484
5401fde3
YQ
214852014-07-11 Yao Qi <yao@codesourcery.com>
21486
21487 * gdb.base/exprs.exp: "set print symbol off".
21488
e76126e8
PA
214892014-07-11 Pedro Alves <palves@redhat.com>
21490
21491 * gdb.threads/kill.c: New file.
21492 * gdb.threads/kill.exp: New file.
21493
2d6f0de6
YQ
214942014-07-10 Yao Qi <yao@codesourcery.com>
21495
21496 * gdb.trace/tfile.c (write_basic_trace_file)
21497 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21498 address written to trace file.
21499
7180e04a
PA
215002014-07-09 Pedro Alves <palves@redhat.com>
21501
21502 * gdb.base/attach-wait-input.exp: New file.
21503 * gdb.base/attach-wait-input.c: New file.
21504
9a9a7608
AB
215052014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21506
21507 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21508 setting up test structures.
21509 (main): Call new test function.
21510 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21511 test function, continue into test function and walk test
21512 structures.
21513
161ac41e
YQ
215142014-07-02 Yao Qi <yao@codesourcery.com>
21515
21516 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21517 'bar_start' at the beginning of functions 'foo' and 'bar'
21518 respectively.
21519 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21520 instead of 'foo' and 'bar'.
21521
1f267ae3
MM
215222014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21523
21524 * gdb.btrace/segv.exp: New.
21525 * gdb.btrace/segv.c: New.
21526
2b239efb
LM
215272014-07-02 Luis Machado <lgustavo@codesourcery.com>
21528
21529 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21530 instruction.
21531
cf363f18
MW
215322014-06-30 Mark Wielaard <mjw@redhat.com>
21533
21534 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21535 vulture, vilify, villar): New volatile array constants.
21536 (vindictive, vegetation): New const volatile array constants.
21537 * gdb.base/volatile.exp: Test volatile and const volatile array
21538 types.
21539
aebf9d24
AA
215402014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21541
21542 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21543 target lacks support for awatch, rwatch, or hbreak.
21544
b67a2c6f
YQ
215452014-06-27 Yao Qi <yao@codesourcery.com>
21546
21547 * gdb.multi/dummy-frame-restore.exp: New.
21548 * gdb.multi/dummy-frame-restore.c: New.
21549
aef92902
MM
215502014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21551
21552 * gdb.btrace/gcore.exp: New.
21553
8e9db26e
PA
215542014-06-23 Pedro Alves <palves@redhat.com>
21555
21556 * gdb.base/watchpoint-reuse-slot.c: New file.
21557 * gdb.base/watchpoint-reuse-slot.exp: New file.
21558
70afc5b7
SC
215592014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21560
21561 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21562 progspace's filename in 'info', 'enable' and 'disable' command
21563 tests.
21564
b972bd9c
JK
215652014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21566
21567 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21568 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21569 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21570
125f8a3d
GB
215712014-06-20 Gary Benson <gbenson@redhat.com>
21572
21573 * gdb.arch/i386-avx.exp: Fix include file location.
21574 * gdb.arch/i386-sse.exp: Likewise.
21575
3ed9baed
IB
215762014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21577
21578 * gdb.dlang/expression.exp: New file.
21579
034f788c
PA
215802014-06-19 Pedro Alves <palves@redhat.com>
21581
21582 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21583 out from ...
21584 (top level): ... here. Iterate running tests under different
21585 scheduler-locking settings.
21586
45371d0c
LM
215872014-06-18 Luis Machado <lgustavo@codesourcery.com>
21588
21589 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21590 to DW_FORM_addr and use non-zero addresses.
21591
5d376983
SC
215922014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21593
21594 PR gdb/17017
21595 * gdb.python/py-xmethods.cc: Add global function call counters and
21596 increment them in their respective functions. Remove "cout"
21597 statements.
21598 * gdb.python/py-xmethods.exp: Make tests check the global function
21599 call counters instead of depending on inferior IO.
21600
a1aa2221
LM
216012014-06-18 Don Breazeal <donb@codesourcery.com>
21602
21603 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21604 Deleted procedure.
21605 (explicit_fork_parent_follow): Deleted procedure.
21606 (explicit_fork_child_follow): Deleted procedure.
21607 (test_follow_fork): New procedure.
21608 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21609 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21610 procedure calls.
21611
0fc05997
YQ
216122014-06-17 Yao Qi <yao@codesourcery.com>
21613
21614 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21615 CP1252.
21616
70795c52
LM
216172014-06-17 Luis Machado <lgustavo@codesourcery.com>
21618
21619 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21620 Initialize ptr and S explicitly.
21621 (skip_type_update_when_not_use_rtti_test): Likewise.
21622
6be47f0c
KS
216232014-06-16 Keith Seitz <keiths@redhat.com>
21624
21625 PR mi/15863
21626 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21627 the inferior is started.
21628
d03de421
PA
216292014-06-16 Pedro Alves <palves@redhat.com>
21630
21631 * gdb.base/break-main-file-remove-fail.c: New file.
21632 * gdb.base/break-main-file-remove-fail.exp: New file.
21633 * gdb.base/break-unload-file.exp: Use build_executable instead of
21634 prepare_for_testing.
21635 (test_break): New parameter "initial_load". Handle it.
21636 (top level): Add initial_load cmdline/file axis.
21637
f9579b99
TT
216382014-06-12 Tom Tromey <tromey@redhat.com>
21639
21640 * gdb.base/completion.exp: Don't use directory name in test.
21641
3657956b
GB
216422014-06-09 Gary Benson <gbenson@redhat.com>
21643
21644 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21645 separate the always-available ANSI-standard signals from the
21646 signals that require checking.
21647 (main): Likewise.
21648 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21649 Likewise.
21650 (main): Likewise.
21651
4186eb54
KS
216522014-06-07 Keith Seitz <keiths@redhat.com>
21653
21654 Revert:
21655 PR c++/16253
21656 * gdb.cp/var-tag.cc: New file.
21657 * gdb.cp/var-tag.exp: New file.
21658 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21659 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21660 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21661 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21662
25326a28 216632014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21664
21665 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21666
829155c9
PA
216672014-06-06 Pedro Alves <palves@redhat.com>
21668
21669 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21670 in target debug output instead of looking at RSP packets,
21671 disabling the test on any target that uses hardware stepping.
21672 Update comments.
21673
61c8d22e
PA
216742014-06-06 Pedro Alves <palves@redhat.com>
21675
21676 * gdb.base/break-unload-file.exp: Fix typo.
21677
d9a47287
YQ
216782014-06-06 Yao Qi <yao@codesourcery.com>
21679
21680 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21681 from "jit_function" to "^jit_function".
21682
e5e01dbf
YQ
216832014-06-06 Yao Qi <yao@codesourcery.com>
21684
21685 * gdb.base/async.c (foo): Add one statement.
21686 * gdb.base/async.exp: Get the next instruction address and
21687 match the output of "nexti" by instruction address. Match
21688 the hex address in the output of "finish".
21689
73ba372c
GB
216902014-06-06 Gary Benson <gbenson@redhat.com>
21691
21692 * gdb.base/call-signals.c: Remove preprocessor conditionals
21693 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21694 SIGSEGV and SIGTERM.
21695 * gdb.base/sigall.c: Likewise.
21696 * gdb.base/unwindonsignal.c: Likewise.
21697 * gdb.reverse/sigall-reverse.c: Likewise.
21698
831517df
YQ
216992014-06-06 Yao Qi <yao@codesourcery.com>
21700
21701 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21702 readable, skip the test.
21703
b8b91e98
YQ
217042014-06-06 Yao Qi <yao@codesourcery.com>
21705
21706 * gdb.threads/staticthreads.c (thread_function): Move the line
21707 setting breakpoint on forward.
21708 * gdb.threads/staticthreads.exp: Update comments.
21709
fb934770
LC
217102014-06-05 Ludovic Courtès <ludo@gnu.org>
21711
21712 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21713 "history-append! type error".
21714
6ef284bd
SM
217152014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21716
21717 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21718 erroneous dprintf expected input.
21719
a872e241
DE
217202014-06-04 Doug Evans <xdje42@gmail.com>
21721
21722 * gdb.guile/scm-generics.exp: Delete.
21723
16f691fb
DE
217242014-06-04 Doug Evans <xdje42@gmail.com>
21725
21726 * gdb.guile/scm-breakpoint.exp: Update.
21727 Add tests for breakpoint registration.
21728
012370f6
TT
217292014-06-04 Tom Tromey <tromey@redhat.com>
21730
21731 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21732 VLA-in-union.
21733 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21734 inner_vla_struct, vla_union types. Initialize objects of those
21735 types and compute their sizes.
21736
9f5a4cef
HZ
217372014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21738 Hui Zhu <hui@codesourcery.com>
21739
21740 * gdb.base/fileio.exp: Add test for shell not available as well as
21741 available.
21742 * gdb.base/fileio.c (test_system): Check for shell twice.
21743
90a45c4d
YQ
217442014-06-04 Yao Qi <yao@codesourcery.com>
21745
21746 * gdb.base/auto-connect-native-target.exp: Remove redundant
21747 space from the regexp pattern.
21748
70017e41
YQ
217492014-06-04 Yao Qi <yao@codesourcery.com>
21750
21751 * gdb.base/default.exp: Replace "child" with "native" in
21752 regexp pattern.
21753
883964a7
SC
217542014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21755
21756 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21757 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21758 * gdb.python/py-xmethods.py: Python script supporting the
21759 new testcase and tests.
21760
ef370185
JB
217612014-06-03 Joel Brobecker <brobecker@adacore.com>
21762 Pedro Alves <palves@redhat.com>
21763
21764 PR breakpoints/17000
21765 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21766 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21767
1e2ccb61
BM
217682014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21769
21770 * gdb.base/subst.exp: Add tests to verify partial path matching
21771 output.
21772
c6ec5ab2
PA
217732014-06-03 Pedro Alves <palves@redhat.com>
21774
21775 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21776 target that doesn't use software single-stepping.
21777
835c559f
PA
217782014-06-03 Pedro Alves <palves@redhat.com>
21779
21780 PR breakpoints/17000
21781 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21782 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21783
06eb1586
DE
217842014-06-02 Doug Evans <xdje42@gmail.com>
21785
21786 * gdb.guile/scm-parameter.exp: New file.
21787
e698b8c4
DE
217882014-06-02 Doug Evans <xdje42@gmail.com>
21789
21790 * gdb.guile/scm-cmd.c: New file.
21791 * gdb.guile/scm-cmd.exp: New file.
21792
ded03782
DE
217932014-06-02 Doug Evans <xdje42@gmail.com>
21794
21795 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21796 pretty-printer lookup.
21797 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21798 (make-pp_s-printer): Call it.
21799 (make-pretty-printer-from-dict): New function.
21800 (lookup-pretty-printer-maker-from-dict): New function.
21801 (*pretty-printer*): Simplify.
21802 (make-objfile-pp_s-printer): New function.
21803 (install-objfile-pretty-printers!): New function.
21804 (make-progspace-pp_s-printer): New function.
21805 (install-progspace-pretty-printers!): New function.
21806 * gdb.guile/scm-progspace.c: New file.
21807 * gdb.guile/scm-progspace.exp: New file.
21808
41fac0cf
PA
218092014-06-02 Pedro Alves <palves@redhat.com>
21810
21811 * gdb.base/dprintf-bp-same-addr.c: New file.
21812 * gdb.base/dprintf-bp-same-addr.exp: New file.
21813
96ae5695
EBM
218142014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21815
21816 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21817 * gdb.arch/powerpc-power.s: Likewise.
21818
da02b3a8
JB
218192014-06-02 Joel Brobecker <brobecker@adacore.com>
21820
21821 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21822
c72b2e7b
YQ
218232014-06-01 Yao Qi <yao@codesourcery.com>
21824
21825 * gdb.base/watchpoint.exp (test_watch_location): Check null
21826 pointer can be dereferenced. If not, do the test, otherwise
21827 skip it.
21828
53e8a631
AB
218292014-05-30 Andrew Burgess <aburgess@broadcom.com>
21830
21831 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21832 results.
21833 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21834
938f0e2f
AB
218352014-05-30 Andrew Burgess <aburgess@broadcom.com>
21836
21837 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21838 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21839 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21840 * gdb.arch/amd64-invalid-stack-top.c: New file.
21841 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21842
9ba6657a
PA
218432014-05-30 Pedro Alves <palves@redhat.com>
21844
21845 PR breakpoints/17000
21846 * gdb.base/sss-bp-on-user-bp.c: New file.
21847 * gdb.base/sss-bp-on-user-bp.exp: New file.
21848
522c09bf
DB
218492014-05-30 David Blaikie <dblaikie@gmail.com>
21850
21851 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21852 gnu_inline semantics via attribute.
21853 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21854 source explicitly specifies the required semantics.
21855
bf4ef81e
MR
218562014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21857
21858 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21859
329ea579
PA
218602014-05-29 Pedro Alves <palves@redhat.com>
21861 Tom Tromey <tromey@redhat.com>
21862
21863 * gdb.base/async-shell.exp: Don't enable target-async.
21864 * gdb.base/async.exp
21865 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21866 parameter. Adjust.
21867 (top level): Don't test with "target-async".
21868 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21869 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21870 * gdb.base/inferior-died.exp: Don't enable target-async.
21871 * gdb.base/interrupt-noterm.exp: Likewise.
21872 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21873 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21874 * gdb.mi/mi-nonstop.exp: Likewise.
21875 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21876 * gdb.mi/mi-nsintrall.exp: Likewise.
21877 * gdb.mi/mi-nsmoribund.exp: Likewise.
21878 * gdb.mi/mi-nsthrexec.exp: Likewise.
21879 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21880 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21881 * gdb.python/py-evsignal.exp: Don't enable target-async.
21882 * gdb.python/py-evthreads.exp: Likewise.
21883 * gdb.python/py-prompt.exp: Likewise.
21884 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21885 * gdb.server/solib-list.exp: Don't enable target-async.
21886 * gdb.threads/thread-specific-bp.exp: Likewise.
21887 * lib/mi-support.exp: Adjust to use mi-async.
21888
fd664c91
PA
218892014-05-29 Pedro Alves <palves@redhat.com>
21890
21891 PR gdb/13860
21892 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21893 reason, even in sync mode.
21894
251bde03
PA
218952014-05-29 Pedro Alves <palves@redhat.com>
21896 Hui Zhu <hui@codesourcery.com>
21897
21898 PR PR15693
21899 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21900 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21901 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21902 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21903
7f3c0343
JB
219042014-05-28 Joel Brobecker <brobecker@adacore.com>
21905
21906 * config/monitor.exp (gdb_target_monitor): Replace use of
21907 "set remotebaud" by "set serial baud".
21908
b2715b27
AW
219092014-05-26 Andy Wingo <wingo@igalia.com>
21910
21911 * gdb.guile/scm-breakpoint.exp:
21912 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21913 properties instead of gdb-object-properties.
21914
498a4489
YQ
219152014-05-26 Yao Qi <yao@codesourcery.com>
21916
21917 * gdb.server/no-thread-db.exp: Specify source file name
21918 explicitly when setting a breakpoint.
21919
589fdceb
MM
219202014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21921
21922 * gdb.btrace/vdso.c: New.
21923 * gdb.btrace/vdso.exp: New.
21924
e9089e05
MM
219252014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21926
21927 * gdb.base/gcore.exp (capture_command_output): Move ...
21928 * lib/gdb.exp (capture_command_output): ... here.
21929
67b5c0c1
MM
219302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21931
21932 * gdb.btrace/data.exp: Test memory access during btrace replay.
21933
a2199296
SM
219342014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21935
21936 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21937
17b2616c
PA
219382014-05-21 Pedro Alves <palves@redhat.com>
21939
21940 PR gdb/13860
21941 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21942 (top level): Test that output related to execution commands is
21943 sent to the console with CLI commands, but not with MI commands.
21944 Test that breakpoint events are always mirrored to the console.
21945 Also expect the new source line to be output after a "next" in
21946 async mode too. Make it a pass/fail test.
21947 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21948 output.
21949 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21950
5166082f
PA
219512014-05-21 Pedro Alves <palves@redhat.com>
21952
21953 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21954 Use them to test variations of "list" after reaching a breakpoint.
21955 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21956 Test "list" with listsize 10 after reaching a breakpoint.
21957 * gdb.python/python.exp (decode_line current location line
21958 number): Adjust expected line number.
21959
2f25d70f
SM
219602014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21961
21962 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21963 behavior for $args, pass it directly to "run".
21964
ff604a67
MR
219652014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21966
21967 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21968 30000 to 65536.
21969
6a3cb8e8
PA
219702014-05-21 Pedro Alves <palves@redhat.com>
21971
21972 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21973 auto-connect-native-target off".
21974 * gdb.base/auto-connect-native-target.c: New file.
21975 * gdb.base/auto-connect-native-target.exp: New file.
21976
4ebfc96e
PA
219772014-05-21 Pedro Alves <palves@redhat.com>
21978
21979 * gdb.base/default.exp: Test "target native" instead of "target
21980 child".
21981
36d46afb
MW
219822014-05-21 Mark Wielaard <mjw@redhat.com>
21983
21984 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21985
5876f503
JK
219862014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21987
21988 Fix TLS access for -static -pthread.
21989 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21990 <HAVE_TLS> (thread_function, main): Initialize it.
21991 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21992 Add clean_restart.
21993 <$have_tls != "">: Check TLSVAR.
21994
0256a6ac
PA
219952014-05-21 Pedro Alves <palves@redhat.com>
21996
21997 * gdb.base/dcache-line-read-error.c: New.
21998 * gdb.base/dcache-line-read-error.exp: New.
21999
936d2992
PA
220002014-05-20 Pedro Alves <palves@redhat.com>
22001
22002 * gdb.base/compare-sections.c: New file.
22003 * gdb.base/compare-sections.exp: New file.
22004
802e8e6d
PA
220052014-05-20 Pedro Alves <palves@redhat.com>
22006
22007 * gdb.base/break-idempotent.c: New file.
22008 * gdb.base/break-idempotent.exp: New file.
22009
e59fa00f
MM
220102014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22011
22012 * gdb.btrace/nohist.exp: New.
22013
8b696e31
YQ
220142014-05-20 Yao Qi <yao@codesourcery.com>
22015
22016 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22017 gdb.reverse directory and gdb_reverse_timeout exists in board
22018 setting.
22019 * README: Document gdb_reverse_timeout.
22020
73c9764f
YQ
220212014-05-20 Yao Qi <yao@codesourcery.com>
22022
22023 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22024 'test_file_name'. Treat args as a string instead of a list.
22025 (gdb_init): Rename argument 'args' by 'test_file_name'.
22026
f1f4348a
JK
220272014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22028
22029 * gdb.arch/powerpc-power.exp: New file.
22030 * gdb.arch/powerpc-power.s: New file.
22031
0dbe70ce
DE
220322014-05-16 Doug Evans <dje@google.com>
22033
22034 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22035 * gdb.base/completion.exp: Check that all expected files exist
22036 before doing file completion.
0dbe70ce 22037
8d551b02
DE
220382014-05-16 Doug Evans <dje@google.com>
22039
22040 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22041 Update.
22042 (do_syscall_tests_without_xml): Update.
22043
73eb7709
PA
220442014-05-16 Pedro Alves <palves@redhat.com>
22045
22046 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22047 instead of "unknown output after running".
22048
3fae92fc
YQ
220492014-05-16 Yao Qi <yao@codesourcery.com>
22050
22051 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22052 file1.txt from host at the end.
22053 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22054
c2b2ccc5
DE
220552014-05-15 Doug Evans <dje@google.com>
22056
22057 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22058 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22059 loading file. Add test for TU lookup.
22060
8c217a4b
SM
220612014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22062
22063 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22064 calling "-exec-arguments" or "set args" before running the
22065 inferior.
22066
3deb39c6
SM
220672014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22068
22069 * lib/mi-support.exp (mi_expect_stop): Expect message for
22070 inferiors that exit with non-zero exit code.
22071
71a79f8c
YQ
220722014-05-14 Yao Qi <yao@codesourcery.com>
22073
22074 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22075 match absolute path on remote host.
22076 (test_file_list_exec_source_files): Remove "/" from the
22077 pattern.
22078
f23fcd46
YQ
220792014-05-14 Yao Qi <yao@codesourcery.com>
22080
22081 * boards/local-remote-host-notty.exp (${board}_file): New
22082 proc.
22083
9404b58f
KM
220842014-05-07 Kyle McMartin <kyle@redhat.com>
22085
22086 Pushed by Joel Brobecker <brobecker@adacore.com>.
22087 * gdb.arch/aarch64-atomic-inst.c: New file.
22088 * gdb.arch/aarch64-atomic-inst.exp: New file.
22089
5e45f04c
YQ
220902014-05-07 Yao Qi <yao@codesourcery.com>
22091
22092 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22093 in current context" too.
22094
c888a17d
KS
220952014-05-05 Keith Seitz <keiths@redhat.com>
22096
22097 * gdb.linespec/ls-dollar.exp: Add test for linespec
22098 file:convenience_variable.
22099
290a839c
YQ
221002014-05-05 Yao Qi <yao@codesourcery.com>
22101
22102 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22103 traceframes into tfile and ctf trace files. Read data from
22104 trace file and test collected data.
22105 (gdb_collect_locals_test): Likewise.
22106 (gdb_unavailable_registers_test): Likewise.
22107 (gdb_unavailable_floats): Likewise.
22108 (gdb_collect_globals_test): Likewise.
22109 (top-level): Append "ctf" to trace_file_targets if GDB
22110 supports.
22111
b5262cd0
YQ
221122014-05-05 Yao Qi <yao@codesourcery.com>
22113
22114 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22115 code to ...
22116 (gdb_collect_args_test_1): ... it. New proc.
22117 (gdb_collect_locals_test): Move some code to ...
22118 (gdb_collect_locals_test_1): ... it. New proc.
22119 (gdb_unavailable_registers_test): Move some code to ...
22120 (gdb_unavailable_registers_test_1): ... it. New proc.
22121 (gdb_unavailable_floats): Move some code to ...
22122 (gdb_unavailable_floats_1): ... it. New proc.
22123
30a1e6cc
SDJ
221242014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22125
22126 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22127 probes to test for bitness recognition.
22128 * gdb.arch/amd64-stap-optional-prefix.exp
22129 (test_probe_value_without_reg): New procedure.
22130 Add code to test for different kinds of bitness.
22131
f33da99a
SDJ
221322014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22133
22134 PR breakpoints/16889
22135 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22136 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22137
5b80f00d
PA
221382014-05-01 Pedro Alves <palves@redhat.com>
22139
22140 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22141 gdb_file_cmd if no file is specified.
22142 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22143 last_loaded_file to set the remote exec-file.
22144
f8c2a73c
PA
221452014-05-01 Pedro Alves <palves@redhat.com>
22146
22147 * boards/local-remote-host.exp: New file.
22148
be6e8ac7
PA
221492014-05-01 Pedro Alves <palves@redhat.com>
22150
22151 * boards/local-remote-host.exp: Rename to ...
22152 * boards/local-remote-host-notty.exp: ... this.
22153
cac0dc8f
JB
221542014-04-28 Joel Brobecker <brobecker@adacore.com>
22155
22156 * gdb.ada/dyn_arrayidx: New testcase.
22157
9730e6cc
YQ
221582014-04-26 Yao Qi <yao@codesourcery.com>
22159
22160 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22161 and compute the length of function main. Save it in
22162 $main_length.
22163 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22164 (top-level): Use gdb_compile to compile objects into
22165 executable and restart GDB. Remove invocation to
22166 prepare_for_testing.
22167
7ae1a6a6
PA
221682014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22169 Pedro Alves <palves@redhat.com>
22170
22171 PR server/16255
22172 * gdb.multi/multi-attach.c: New file.
22173 * gdb.multi/multi-attach.exp: New file.
22174
4082afcc
PA
221752014-04-25 Pedro Alves <palves@redhat.com>
22176
22177 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22178 user.
22179 (top level): Test that "set remote conditional-breakpoints-packet
22180 off" works as intended.
22181 * gdb.base/dprintf.exp: Test that "set remote
22182 breakpoint-commands-packet off" works as intended.
22183 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22184 New function.
22185 (top level): Call it.
22186 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22187 remote fast-tracepoints-packet off" works as intended.
22188 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22189 * lib/gdb.exp (gdb_is_target_remote): ... here.
22190
2abc3f8d
DB
221912014-04-24 David Blaikie <dblaikie@gmail.com>
22192
22193 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22194 ensure clang would not discard them.
22195 * gdb.base/gdbvars.c: Ditto.
22196 * gdb.base/memattr.c: Ditto.
22197 * gdb.base/whatis.c: Ditto.
22198 * gdb.python/py-prettyprint.c: Ditto.
22199 * gdb.trace/actions.c: Ditto.
22200 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22201 ensure clang would not discard it.
22202
bfd39632
DB
222032014-04-24 David Blaikie <dblaikie@gmail.com>
22204
22205 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22206 clang to emit the full definition of type required by the test
22207 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22208
22842ff6
DB
222092014-04-24 David Blaikie <dblaikie@gmail.com>
22210
22211 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22212 coax Clang into emitting the definition of the type.
22213 * gdb.cp/pr10728-x.h (y): Ditto.
22214 * gdb.cp/pr10728-y.cc (y): Ditto.
22215
c2e827ad
DB
222162014-04-24 David Blaikie <dblaikie@gmail.com>
22217
22218 * gdb.base/label.exp: XFAIL label related tests under Clang.
22219 * gdb.cp/cplabel.exp: Ditto.
22220 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22221 under Clang those using labels.
22222
4c2d33e7
YQ
222232014-04-25 Yao Qi <yao@codesourcery.com>
22224
22225 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22226 double_label.
22227 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22228 partial_label and double_label.
22229
56083b99
DB
222302014-04-24 David Blaikie <dblaikie@gmail.com>
22231
22232 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22233
25d4e99d
DB
222342014-04-24 David Blaikie <dblaikie@gmail.com>
22235
22236 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22237 of the function to work across GCC and Clang.
22238 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22239 pointer types (const void ** const V void **).
22240
01f9f808
MS
222412014-04-24 Michael Sturm <michael.sturm@mintel.com>
22242 Walfred Tedeschi <walfred.tedeschi@intel.com>
22243
22244 * Makefile.in (EXECUTABLES): Added i386-avx512.
22245 * gdb.arch/i386-avx512.c: New file.
22246 * gdb.arch/i386-avx512.exp: Likewise.
22247
4b48d439
KS
222482014-04-23 Keith Seitz <keiths@redhat.com>
22249
22250 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22251 (mi_make_breakpoint_table): New procedure.
22252 (mi_create_breakpoint): Use mi_make_breakpoint
22253 and return the result.
22254 (mi_make_breakpoint): New procedure.
22255 (mi_build_kv_pairs): New procedure.
22256
22257 * gdb.mi/mi-break.exp: Remove unused globals,
22258 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22259 All callers updated.
22260 * gdb.mi/mi-dprintf.exp: Use variable to track command
22261 number.
22262 Update all callers of mi_create_breakpoint and use
22263 mi_make_breakpoint_table.
22264 Remove any unused global variables.
22265 * gdb.mi/mi-nonstop.exp: Likewise.
22266 * gdb.mi/mi-nsintrall.exp: Likewise.
22267 * gdb.mi/mi-nsmoribund.exp: Likewise.
22268 * gdb.mi/mi-nsthrexec.exp: Likewise.
22269 * gdb.mi/mi-reverse.exp: Likewise.
22270 * gdb.mi/mi-simplerun.exp: Likewise.
22271 * gdb.mi/mi-stepn.exp: Likewise.
22272 * gdb.mi/mi-syn-frame.exp: Likewise.
22273 * gdb.mi/mi-until.exp: Likewise.
22274 * gdb.mi/mi-var-cp.exp: Likewise.
22275 * gdb.mi/mi-var-display.exp: Likewise.
22276 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22277 * gdb.mi/mi2-var-child.exp: Likewise.
22278 * gdb.mi/mi-vla-c99.exp: Likewise.
22279 * lib/mi-support.exp: Likewise.
22280
22281 From Ian Lance Taylor <iant@cygnus.com>:
22282 * lib/gdb.exp (parse_args): New procedure.
22283
08351840
PA
222842014-04-23 Pedro Alves <palves@redhat.com>
22285
22286 * gdb.base/break-unload-file.c: New file.
22287 * gdb.base/break-unload-file.exp: New file.
22288 * gdb.base/sym-file-lib.c (baz): New function.
22289 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22290 field.
22291 (load): Store the segment's mapped size.
22292 (unload): New function.
22293 (unload_shlib): New function.
22294 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22295 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22296 set a breakpoint at baz, and call it.
22297 * gdb.base/sym-file.exp: New tests for stale breakpoint
22298 instructions.
22299
076855f9
PA
223002014-04-23 Pedro Alves <palves@redhat.com>
22301
22302 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22303 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22304 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22305 * gdb.base/hbreak-unmapped.c: New file.
22306 * gdb.base/hbreak-unmapped.exp: New file.
22307 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22308 * lib/gdb.exp (gdb_is_target_remote): ... here.
22309
483805cf
PA
223102014-04-22 Pedro Alves <palves@redhat.com>
22311
22312 * gdb.base/consecutive-step-over.c: New file.
22313 * gdb.base/consecutive-step-over.exp: New file.
22314
06d97543
PA
223152014-04-22 Pedro Alves <palves@redhat.com>
22316
22317 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22318 instead of send_gdb/gdb_expect.
22319
b4429ea2
YQ
223202014-04-22 Yao Qi <yao@codesourcery.com>
22321
22322 * lib/trace-support.exp (generate_tracefile): New procedure.
22323 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22324 return 0.
22325 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22326 if generate_tracefile returns 1.
22327
51d48146
PA
223282014-04-18 Tom Tromey <palves@redhat.com>
22329 Pedro alves <tromey@redhat.com>
22330
22331 PR backtrace/15558
22332 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22333 with a backtrace limit.
22334 * gdb.python/py-frame-inline.exp: Test running to an inline
22335 function with a backtrace limit, and printing the newest frame.
22336 * gdb.python/py-frame-inline.c (main): Call f.
22337
bd1dce5f
MS
223382014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22339
22340 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22341
40d1a503
MS
223422014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22343
22344 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22345 Drop prefix from unsupported source file path.
22346
389b98f7
YQ
223472014-04-17 Yao Qi <yao@codesourcery.com>
22348
22349 * lib/gdb.exp (with_target_charset): New proc.
22350 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22351 with_target_charset.
22352 (test_print_strings): Likewise.
22353 (test_repeat_bytes): Likewise.
22354 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22355 for some tests.
22356
22869d73
KS
223572014-04-16 Keith Seitz <keiths@redhat.com>
22358
22359 PR gdb/15827
22360 * gdb.dwarf2/corrupt.c: New file.
22361 * gdb.dwarf2/corrupt.exp: New file.
22362
c4f87ca6
KS
223632014-04-16 Keith Seitz <keiths@redhat.com>
22364
22365 PR c++/16597
22366 * gdb.cp/namelessclass.cc: New file.
22367 * gdb.cp/namelessclass.exp: New file.
22368 * gdb.cp/namelessclass.S: New file.
22369
ab19de87
DE
223702014-04-16 Doug Evans <dje@google.com>
22371
22372 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22373 Add comment.
22374 (gdbserver_default_get_comm_port): New function.
22375 (gdbserver_start): Check if board file provided
22376 "gdbserver,get_comm_port" and use it if so.
22377 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22378 (gdb,socketport): Set to "stdio".
22379 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22380 (stdio_gdbserver_template): Delete.
22381 (${board}_get_remote_address): Update.
22382 (${board}_build_remote_cmd): Delete.
22383 (${board}_get_comm_port): New function.
22384 (${board}_spawn): Update.
22385 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22386 Delete.
22387 (${board}_get_remote_address): Update.
22388 (${board}_get_comm_port): New function.
22389
fc98a809
AB
223902014-04-16 Andrew Burgess <aburgess@broadcom.com>
22391
22392 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22393 appearing in any order.
22394
87fd9e6e
DE
223952014-04-15 Doug Evans <dje@google.com>
22396
22397 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22398 uninitialized value of "description".
22399
099fc3ea
KS
224002014-04-15 Keith Seitz <keiths@redhat.com>
22401
22402 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22403 Remove unused globals.
22404 (test_running_the_program): Likewise.
22405 (test_controlled_execution): Likewise.
22406 (test_controlling_breakpoints): Likewise.
22407 (test_program_termination): Likewise.
22408
5da151d4
KS
224092014-04-15 Keith Seitz <keiths@redhat.com>
22410
22411 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22412 unused globals.
22413 (test_rbreak_creation_and_listing): Likewise.
22414 (test_ignore_count): Likewise.
22415 (test_error): Likewise.
22416
35e5d2f0
PA
224172014-04-15 Pedro Alves <palves@redhat.com>
22418
22419 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22420 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22421 sym-file-loader.c.
22422 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22423 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22424 to sym-file-loader.c.
22425 (struct library): Forward declare.
22426 (load_shlib, lookup_function): Change prototypes.
22427 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22428 (translate_offset): Remove declarations.
22429 (get_text_addr): New declaration.
22430 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22431 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22432 sym-file-loader.h.
22433 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22434 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22435 here from sym-file-loader.h.
22436 (struct library): New structure.
22437 (load_shlib, lookup_function): Change prototypes and adjust to
22438 work with a struct library.
22439 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22440 (translate_offset): Make static.
22441 (get_text_addr): New function.
22442 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22443
eb4c1710
PA
224442014-04-15 Pedro Alves <palves@redhat.com>
22445
22446 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22447
2d1baf52
PA
224482014-04-15 Pedro Alves <palves@redhat.com>
22449
22450 * gdb.base/sym-file-loader.c: Include <limits.h>.
22451 (SELF_LINK): New define.
22452 (get_origin): New function.
22453 (load_shlib): Use it.
22454 * gdb.base/sym-file.exp: Don't early return if the target is
22455 remote. Use runto_main, and issue fail is that fails. Use
22456 gdb_load_shlibs.
22457 (shlib_name): Delete.
22458 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22459
7dd6df01
PA
224602014-04-15 Pedro Alves <palves@redhat.com>
22461
22462 * gdb.base/sym-file.exp: Remove regex characters from test
22463 message. Don't refer to breakpoint numbers in test messages.
22464
b50c8614
KS
224652014-04-14 Keith Seitz <keiths@redhat.com>
22466
22467 PR c++/16253
22468 * gdb.cp/var-tag.cc: New file.
22469 * gdb.cp/var-tag.exp: New file.
22470 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22471 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22472 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22473 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22474
3d567982
TT
224752014-04-14 Tom Tromey <tromey@redhat.com>
22476
22477 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22478 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22479 type.
22480 * gdb.cp/enum-class.exp: New file.
22481 * gdb.cp/enum-class.cc: New file.
22482
0626fc76
TT
224832014-04-14 Tom Tromey <tromey@redhat.com>
22484
22485 * gdb.dwarf2/enum-type.exp: New file.
22486
dca325b3
SA
224872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22488
22489 * gdb.mi/mi-vla-c99.exp: New file.
22490 * gdb.mi/vla.c: New file.
22491
5854b38a
SA
224922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22493
22494 * gdb.base/vla-datatypes.c: New file.
22495 * gdb.base/vla-datatypes.exp: New file.
22496
463bb957
SA
224972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22498
22499 * gdb.base/vla-ptr.c: New file.
22500 * gdb.base/vla-ptr.exp: New file.
22501
3dd170be
SA
225022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22503
22504 * gdb.dwarf2/count.exp: New file.
22505
5ecaaa66
SA
225062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22507
22508 * gdb.base/vla-sideeffect.c: New file.
22509 * gdb.base/vla-sideeffect.exp: New file.
22510
41f1ada5
DB
225112014-04-14 David Blaikie <dblaikie@gmail.com>
22512
22513 * gdb.mi/non-stop.c: Add return value for non-void function return
22514 statement.
22515 * gdb.threads/staticthreads.c: Ditto.
22516
0be03e84
DE
225172014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22518 Doug Evans <xdje42@gmail.com>
22519
22520 * gdb.guile/scm-value.c: Improve test case.
22521 * gdb.guile/scm-value.exp: Add new test.
22522
f180a1fb
DB
225232014-04-11 David Blaikie <dblaikie@gmail.com>
22524
22525 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22526 override Clang's default.
22527
6b662e19
JB
225282014-04-11 Joel Brobecker <brobecker@adacore.com>
22529
22530 Revert the following changes (regressions):
22531
22532 * gdb.base/vla-sideeffect.c: New file.
22533 * gdb.base/vla-sideeffect.exp: New file.
22534
22535 * gdb.dwarf2/count.exp: New file.
22536
22537 * gdb.base/vla-multi.c: New file.
22538 * gdb.base/vla-multi.exp: New file.
22539
22540 * gdb.base/vla-ptr.c: New file.
22541 * gdb.base/vla-ptr.exp: New file.
22542
22543 * gdb.base/vla-datatypes.c: New file.
22544 * gdb.base/vla-datatypes.exp: New file.
22545
22546 * gdb.mi/mi-vla-c99.exp: New file.
22547 * gdb.mi/vla.c: New file.
22548
245a5f0b
KS
225492014-04-11 Keith Seitz <keiths@redhat.com>
22550
22551 PR c++/16675
22552 * gdb.cp/cpsizeof.exp: New file.
22553 * gdb.cp/cpsizeof.cc: New file.
22554
58a84dcf
SA
225552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22556
191a8a90
JB
22557 * gdb.mi/mi-vla-c99.exp: New file.
22558 * gdb.mi/vla.c: New file.
58a84dcf 22559
c8655f75
SA
225602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22561
22562 * gdb.base/vla-datatypes.c: New file.
22563 * gdb.base/vla-datatypes.exp: New file.
22564
024e13b4
SA
225652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22566
22567 * gdb.base/vla-ptr.c: New file.
22568 * gdb.base/vla-ptr.exp: New file.
22569
1a237e0e
SA
225702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22571
22572 * gdb.base/vla-multi.c: New file.
22573 * gdb.base/vla-multi.exp: New file.
22574
504f3432
SA
225752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22576
22577 * gdb.dwarf2/count.exp: New file.
22578
3bce8237
SA
225792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22580
191a8a90
JB
22581 * gdb.base/vla-sideeffect.c: New file.
22582 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22583
322f9c21
YQ
225842014-04-11 Yao Qi <yao@codesourcery.com>
22585
22586 * gdb.base/completion.exp: Check file exists before running tests
22587 on file completion.
22588
d708bcd1
PA
225892014-04-10 Pedro Alves <palves@redhat.com>
22590
22591 * gdb.base/cond-eval-mode.c: New file.
22592 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22593 prepare_for_testing to build the new file. Check result of
22594 runto_main.
22595 (test_break, test_watch): New procedures.
22596 (top level): Use them.
22597
ae1d2761
PM
225982014-04-08 Pierre Muller <muller@sourceware.org>
22599
22600 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22601 Ctrl-V use for mingw hosts.
22602
7af389b8
SC
226032014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22604
22605 * gdb.python/py-value.c: Improve test case.
22606 * gdb.python/py-value.exp: Add new test.
22607
5e703181
DE
226082014-04-07 David Blaikie <dblaikie@gmail.com>
22609
22610 * lib/compiler.c: Identify the clang compiler.
22611 * lib/compiler.cc: Ditto.
22612
9810b410
YQ
226132014-04-03 Yao Qi <yao@codesourcery.com>
22614
22615 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22616
98d1b8dc
AB
226172014-04-01 Anton Blanchard <anton@samba.org>
22618
22619 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22620 messages unique.
22621
3114cea1
AB
226222014-04-01 Anton Blanchard <anton@samba.org>
22623
22624 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22625 prepare_for_testing.
22626
62f7182c
AB
226272014-04-01 Anton Blanchard <anton@samba.org>
22628
22629 * gdb.arch/ppc64-atomic-inst.c: Remove.
22630 * gdb.arch/ppc64-atomic-inst.S: New file.
22631 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22632
770e7fc7
DE
226332014-03-31 Doug Evans <dje@google.com>
22634
22635 * gdb.base/print-symbol-loading-lib.c: New file.
22636 * gdb.base/print-symbol-loading-main.c: New file.
22637 * gdb.base/print-symbol-loading.exp: New file.
22638
46e2bafa
YQ
226392014-03-31 Yao Qi <yao@codesourcery.com>
22640
22641 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22642
8776cfe9
JB
226432014-03-28 Joel Brobecker <brobecker@adacore.com>
22644
22645 * gdb.ada/mi_dyn_arr: New testcase.
22646
5d1ef361
DE
226472014-03-27 Doug Evans <dje@google.com>
22648
22649 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22650
b5bee914
YQ
226512014-03-27 Yao Qi <yao@codesourcery.com>
22652
22653 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22654 if target is nios2-*-*.
22655
0d4d0e77
YQ
226562014-03-26 Yao Qi <yao@codesourcery.com>
22657
22658 * lib/gdb.exp (readline_is_used): New proc.
22659 * gdb.base/completion.exp: Move tests on command complete up.
22660 Skip the rest of tests if readline is not used.
22661 * gdb.ada/complete.exp: Skp the test if readline is not
22662 used.
22663 * gdb.base/filesym.exp: Likewise.
22664 * gdb.base/macscp.exp: Likewise.
22665 * gdb.base/readline-ask.exp: Likewise.
22666 * gdb.base/readline.exp: Likewise.
22667 * gdb.python/py-cmd.exp: Likewise.
22668 * gdb.trace/tfile.exp: Likewise.
22669
29361eee
YQ
226702014-03-26 Yao Qi <yao@codesourcery.com>
22671
22672 * gdb.base/macscp.exp: Fix code format issues.
22673
bc9a5525
UW
226742014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22675
22676 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22677 * gdb.asm/powerpc64le.inc: New file.
22678
d3839ede
PA
226792014-03-25 Pedro Alves <palves@redhat.com>
22680 Doug Evans <dje@google.com>
22681
22682 * gdb.base/source-execution.c: New file.
22683 * gdb.base/source-execution.exp: New file.
22684 * gdb.base/source-execution.gdb: New file.
22685
01672a57
DE
226862014-03-24 Doug Evans <dje@google.com>
22687
22688 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22689 using fission.
22690
88bbeca9
HZ
226912014-03-24 Hui Zhu <hui@codesourcery.com>
22692 Pedro Alves <palves@redhat.com>
22693
22694 PR breakpoints/16101
22695 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22696 test pass/fail messages. Detect missing support for dprintf when
22697 breakpoints are actually inserted.
22698 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22699 breakpoints are actually inserted.
22700 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22701 fails.
22702
d2348791
JK
227032014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22704
22705 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22706
feef67ab
DE
227072014-03-22 Doug Evans <xdje42@gmail.com>
22708
22709 * gdb.python/python.exp (python not supported): Verify multi-line
22710 python command issues an error.
25d743f9 22711 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22712 guile command issues an error.
feef67ab 22713
ecebef6a
MR
227142014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22715
22716 * gdb.threads/thread-specific.exp: Handle the lack of usable
22717 $this_breakpoint and $this_thread.
22718
ccdd1909
HZ
227192014-03-21 Hui Zhu <hui@codesourcery.com>
22720
22721 * gdb.base/attach.exp (do_command_attach_tests): New.
22722
beb460e8
PA
227232014-03-20 Tom Tromey <tromey@redhat.com>
22724 Pedro Alves <palves@redhat.com>
22725
22726 PR cli/15718
22727 * gdb.base/condbreak-call-false.c: New file.
22728 * gdb.base/condbreak-call-false.exp: New file.
22729
40acf43a
PA
227302014-03-20 Pedro Alves <palves@redhat.com>
22731
22732 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22733 Delete.
22734 (block_signals, unblock_signals): Delete.
22735 (child_function_2, main): Remove references to deleted variable
22736 and functions.
22737
9f5e1e02
PA
227382014-03-20 Pedro Alves <palves@redhat.com>
22739
22740 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22741 Use pthread_kill to signal thread 2.
22742 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22743 Adjust to make the test send itself a signal rather than using the
22744 host's "kill" command.
22745
99619bea
PA
227462014-03-20 Pedro Alves <palves@redhat.com>
22747
22748 * gdb.threads/multiple-step-overs.c: New file.
22749 * gdb.threads/multiple-step-overs.exp: New file.
22750 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22751 Adjust expected infrun debug output.
22752
2adfaa28
PA
227532014-03-20 Pedro Alves <palves@redhat.com>
22754
22755 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22756 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22757
31e77af2
PA
227582014-03-20 Pedro Alves <palves@redhat.com>
22759
22760 PR breakpoints/7143
22761 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22762 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22763 of gdb_test_multiple.
22764 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22765 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22766
b9f437de
PA
227672014-03-20 Pedro Alves <palves@redhat.com>
22768
22769 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22770 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22771
05adc73e
PA
227722014-03-19 Pedro Alves <palves@redhat.com>
22773
22774 * gdb.base/async.exp: Remove early return.
22775
6048b950
PA
227762014-03-19 Pedro Alves <palves@redhat.com>
22777
22778 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22779
8bcfb00a
PA
227802014-03-19 Pedro Alves <palves@redhat.com>
22781
22782 * gdb.base/async.exp (test_background): Expect \r\n after
22783 "completed." in the fail pattern.
22784
884e37dc
PA
227852014-03-19 Pedro Alves <palves@redhat.com>
22786
22787 * gdb.base/async.exp (test_background): New procedure.
22788 Use it for all background execution command tests.
22789
148e57e2
PA
227902014-03-19 Pedro Alves <palves@redhat.com>
22791
22792 * gdb.base/async.exp: Use prepare_for_testing.
22793
f48088c7
PA
227942014-03-19 Pedro Alves <palves@redhat.com>
22795
22796 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22797 the same line.
22798
e2f6c966
PA
227992014-03-19 Pedro Alves <palves@redhat.com>
22800
22801 * gdb.base/async.c (main): Add "jump here" and "until here" line
22802 marker comments.
22803 * gdb.base/async.exp (jump_here): New global.
22804 (jump& test): Use it.
22805 (until_here): New global.
22806 (until& test): Use it.
22807
c30568d4
PA
228082014-03-19 Pedro Alves <palves@redhat.com>
22809
22810 * gdb.base/async.exp: Don't frob gdb_protocol.
22811
0172b6a7
DE
228122014-03-18 Doug Evans <xdje42@gmail.com>
22813
22814 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22815 Fix spelling of exec-done-display.
22816
06c868a8
JK
228172014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22818
22819 PR gdb/15358
22820 * gdb.base/gdb-sigterm.c: New file.
22821 * gdb.base/gdb-sigterm.exp: New file.
22822
0c7e1a46
PA
228232014-03-18 Pedro Alves <palves@redhat.com>
22824
22825 PR gdb/13860
22826 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22827 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22828 solib-event.
22829
f7c77d93
JB
228302014-03-17 Joel Brobecker <brobecker@adacore.com>
22831
22832 * gdb.ada/pckd_arr_ren: New testcase.
22833
5a1e8c7a
DE
228342014-03-13 Doug Evans <xdje42@gmail.com>
22835
22836 PR guile/16612
22837 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22838 collect after discarding symbols.
22839
350e1a76
DE
228402014-03-13 Ludovic Courtès <ludo@gnu.org>
22841 Doug Evans <xdje42@gmail.com>
22842
22843 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22844 to history survives a gc.
22845
a69900ae
PA
228462014-03-13 Pedro Alves <palves@redhat.com>
22847
22848 * gdb.base/default.exp: Don't test "target procfs".
22849
5db9f0bd
PA
228502014-03-13 Pedro Alves <palves@redhat.com>
22851
22852 * gdb.base/default.exp: Update "target child" and "target procfs"
22853 tests to not expect "Unix".
22854
b3ccfe11
TT
228552014-03-12 Tom Tromey <tromey@redhat.com>
22856
22857 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22858 New procs. Add target-async tests.
22859 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22860 Add target-async tests.
22861
646f4417
AA
228622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22863
22864 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22865 'func_start' and 'func_end' for the beginning and end of the
22866 function code, respectively.
22867 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22868 'func_end' instead of 'func' and 'main'.
22869
288c211f
AA
228702014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22871
22872 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22873 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22874 generate the debug info assembler source.
22875
e0c0f156
AA
228762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22877
22878 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22879 * gdb.dwarf2/arr-subrange.exp: Likewise.
22880 * gdb.dwarf2/dwz.exp: Likewise.
22881 * gdb.dwarf2/method-ptr.exp: Likewise.
22882 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22883 * gdb.dwarf2/subrange.exp: Likewise.
22884 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22885 * gdb.dwarf2/implptrpiece.exp: Likewise.
22886 * gdb.dwarf2/nostaticblock.exp: Likewise.
22887
0e5c4555
AA
228882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22889
22890 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22891 directory to absolute path name arguments.
22892
5ec18f2b
JG
228932014-03-10 Joel Brobecker <brobecker@adacore.com>
22894
22895 * gdb.ada/tagged_access: New testcase.
22896
847fc4f2
MM
228972014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22898
22899 * gdb.btrace/data.exp: Update expected output.
22900
cc3da688
YQ
229012014-03-06 Yao Qi <yao@codesourcery.com>
22902
22903 * gdb.trace/pr16508.exp: New file.
22904
0f26cec1
PA
229052014-03-05 Pedro Alves <palves@redhat.com>
22906
22907 PR gdb/16575
22908 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22909 procedure.
22910 (top level): Adjust to use it. Add tests that exercise breakpoint
22911 interaction with the code-cache.
22912
7a5a839f
LC
229132014-02-26 Ludovic Courtès <ludo@gnu.org>
22914
22915 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22916 test for 'history-append!'.
22917
31aa7e4e
JB
229182014-02-26 Joel Brobecker <brobecker@adacore.com>
22919
22920 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22921 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22922 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22923 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22924 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22925 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22926
1b588015
JB
229272014-02-26 Joel Brobecker <brobecker@adacore.com>
22928
22929 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22930 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22931 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22932
55426c9d
JB
229332014-02-26 Joel Brobecker <brobecker@adacore.com>
22934
22935 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22936
dc53a7ad
JB
229372014-02-26 Joel Brobecker <brobecker@adacore.com>
22938
22939 * gdb.dwarf2/arr-stride.c: New file.
22940 * gdb.dwarf2/arr-stride.exp: New file.
22941
12ab52e9
PA
229422014-02-26 Pedro Alves <palves@redhat.com>
22943
22944 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22945 that won't ever trigger. Make sure that GDB reports the correct
22946 breakpoint that caused the stop.
22947
849c862e
JK
229482014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22949
22950 PR gdb/16626
22951 * gdb.base/auto-load-script: New file.
22952 * gdb.base/auto-load.c: New file.
22953 * gdb.base/auto-load.exp: New file.
22954
71b7d793
JK
22955 PR gdb/16626
22956 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22957
e2f0d509
JK
229582014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22959
22960 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22961 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22962
50cc37c8
DE
229632014-02-24 Doug Evans <dje@google.com>
22964
22965 * lib/gdb.exp (run_on_host): Log error output if program fails.
22966
ea4758f2
PA
229672014-02-21 Pedro Alves <palves@redhat.com>
22968
22969 * gdb.threads/step-after-sr-lock.c: Rename to ...
22970 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22971 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22972 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22973 ... this.
22974
d7b30f67
SDJ
229752014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22976
22977 PR tdep/16397
22978 * gdb.arch/amd64-stap-special-operands.exp: New file.
22979 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22980 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22981 * gdb.arch/amd64-stap-triplet.S: Likewise.
22982 * gdb.arch/amd64-stap-triplet.c: Likewise.
22983
83deb43f
JB
229842014-02-20 Joel Brobecker <brobecker@adacore.com>
22985
22986 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22987 in .section pseudo-op.
22988
adde2bff
DE
229892014-02-20 lin zuojian <manjian2006@gmail.com>
22990 Joel Brobecker <brobecker@adacore.com>
22991 Doug Evans <xdje42@gmail.com>
22992
22993 PR symtab/16581
22994 * gdb.dwarf2/dw2-icycle.S: New file.
22995 * gdb.dwarf2/dw2-icycle.c: New file.
22996 * gdb.dwarf2/dw2-icycle.exp: New file.
22997
f7bd0f78
SC
229982014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22999
23000 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23001 operations on gdb.Value objects.
23002 * gdb.python/py-value-cc.exp: Add new test to test operations on
23003 gdb.Value objects.
23004
c17ef0d5
DE
230052014-02-18 Doug Evans <dje@google.com>
23006
23007 * Makefile.in (TESTS): New variable.
23008 (expanded_tests, expanded_tests_or_none): New variables
23009 (check-single): Pass $(expanded_tests_or_none) to runtest.
23010 (check-parallel): Only run tests in $(TESTS) if non-empty.
23011 (check/no-matching-tests-found): New rule.
23012 * README: Document TESTS makefile variable.
23013
5dd3176f
DE
230142014-02-18 Doug Evans <dje@google.com>
23015
23016 * Makefile.in (check-parallel): rm -rf outputs temp.
23017
0b10be4f
JK
230182014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23019
23020 Fix "ERROR: no fileid for" in the testsuite.
23021 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23022
85f224e7
DE
230232014-02-12 Doug Evans <dje@google.com>
23024
23025 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23026 (MISCELLANEOUS): New variable.
23027 (clean): rm -rf $(MISCELLANEOUS).
23028 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23029 dwp live in the same directory as symlinks, with each symlink pointed
23030 to a differently named file in a different directory.
23031
149b30ff
DE
230322014-02-11 Doug Evans <dje@google.com>
23033
23034 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23035 of Tcl file commands.
23036
1dfdac32
MK
230372014-02-10 Mark Kettenis <kettenis@gnu.org>
23038
23039 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23040 "kill -SIGUSR1 -1".
23041
aa4fb036
JB
230422014-02-10 Joel Brobecker <brobecker@adacore.com>
23043
23044 * gdb.ada/tick_length_array_enum_idx: New testcase.
23045
ed3ef339
DE
230462014-02-10 Doug Evans <xdje42@gmail.com>
23047
23048 * configure.ac (AC_OUTPUT): Add gdb.guile.
23049 * configure: Regenerate.
23050 * lib/gdb-guile.exp: New file.
23051 * lib/gdb.exp (get_target_charset): New function.
23052 * gdb.base/help.exp: Update expected output from "apropos apropos".
23053 * gdb.guile/Makefile.in: New file.
23054 * gdb.guile/guile.exp: New file.
23055 * gdb.guile/scm-arch.c: New file.
23056 * gdb.guile/scm-arch.exp: New file.
23057 * gdb.guile/scm-block.c: New file.
23058 * gdb.guile/scm-block.exp: New file.
23059 * gdb.guile/scm-breakpoint.c: New file.
23060 * gdb.guile/scm-breakpoint.exp: New file.
23061 * gdb.guile/scm-disasm.c: New file.
23062 * gdb.guile/scm-disasm.exp: New file.
23063 * gdb.guile/scm-equal.c: New file.
23064 * gdb.guile/scm-equal.exp: New file.
23065 * gdb.guile/scm-error.exp: New file.
23066 * gdb.guile/scm-error.scm: New file.
23067 * gdb.guile/scm-frame-args.c: New file.
23068 * gdb.guile/scm-frame-args.exp: New file.
23069 * gdb.guile/scm-frame-args.scm: New file.
23070 * gdb.guile/scm-frame-inline.c: New file.
23071 * gdb.guile/scm-frame-inline.exp: New file.
23072 * gdb.guile/scm-frame.c: New file.
23073 * gdb.guile/scm-frame.exp: New file.
23074 * gdb.guile/scm-generics.exp: New file.
23075 * gdb.guile/scm-gsmob.exp: New file.
23076 * gdb.guile/scm-iterator.c: New file.
23077 * gdb.guile/scm-iterator.exp: New file.
23078 * gdb.guile/scm-math.c: New file.
23079 * gdb.guile/scm-math.exp: New file.
23080 * gdb.guile/scm-objfile-script-gdb.in: New file.
23081 * gdb.guile/scm-objfile-script.c: New file.
23082 * gdb.guile/scm-objfile-script.exp: New file.
23083 * gdb.guile/scm-objfile.c: New file.
23084 * gdb.guile/scm-objfile.exp: New file.
23085 * gdb.guile/scm-ports.exp: New file.
23086 * gdb.guile/scm-pretty-print.c: New file.
23087 * gdb.guile/scm-pretty-print.exp: New file.
23088 * gdb.guile/scm-pretty-print.scm: New file.
23089 * gdb.guile/scm-section-script.c: New file.
23090 * gdb.guile/scm-section-script.exp: New file.
23091 * gdb.guile/scm-section-script.scm: New file.
23092 * gdb.guile/scm-symbol.c: New file.
23093 * gdb.guile/scm-symbol.exp: New file.
23094 * gdb.guile/scm-symtab-2.c: New file.
23095 * gdb.guile/scm-symtab.c: New file.
23096 * gdb.guile/scm-symtab.exp: New file.
23097 * gdb.guile/scm-type.c: New file.
23098 * gdb.guile/scm-type.exp: New file.
23099 * gdb.guile/scm-value-cc.cc: New file.
23100 * gdb.guile/scm-value-cc.exp: New file.
23101 * gdb.guile/scm-value.c: New file.
23102 * gdb.guile/scm-value.exp: New file.
23103 * gdb.guile/source2.scm: New file.
23104 * gdb.guile/types-module.cc: New file.
23105 * gdb.guile/types-module.exp: New file.
23106
7026a7c1
YQ
231072014-02-10 Yao Qi <yao@codesourcery.com>
23108
23109 PR testsuite/16543
23110 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23111 * configure: Regenerated.
23112 * Makefile.in: New file.
23113
6c466447
AS
231142014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23115
23116 * gdb.python/py-framefilter.exp: Fix typo.
23117
6e854735
YQ
231182014-02-08 Yao Qi <yao@codesourcery.com>
23119
23120 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23121 that no =breakpoint-modified is emitted when breakpoints are
23122 modified through MI commands.
23123
d137e6dc
PA
231242014-02-07 Pedro Alves <pedro@codesourcery.com>
23125 Pedro Alves <palves@redhat.com>
23126
23127 * gdb.threads/step-after-sr-lock.c: New file.
23128 * gdb.threads/step-after-sr-lock.exp: New file.
23129
b5ee5a50
PA
231302014-02-07 Pedro Alves <palves@redhat.com>
23131
23132 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23133
3c77faf3
JK
231342014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23135
23136 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23137 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23138
6dddc817
DE
231392014-02-06 Doug Evans <xdje42@gmail.com>
23140
23141 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23142 output.
23143
23144 * gdb.gdb/python-interrupts.exp: New file.
23145
de7b2893
YQ
231462014-02-05 Yao Qi <yao@codesourcery.com>
23147
23148 * gdb.trace/report.exp (use_collected_data): Test the output
23149 of "info threads" and "info inferiors".
23150
66d032ac
YQ
231512014-02-05 Yao Qi <yao@codesourcery.com>
23152
23153 Revert this patch:
23154
23155 2013-05-24 Yao Qi <yao@codesourcery.com>
23156
23157 * gdb.trace/tfile.exp: Test inferior and thread.
23158
591a12a1
UW
231592014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23160
23161 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23162 on a function.
23163 * gdb.base/step-bt.c: Call hello via function pointer to make
23164 sure its first instruction is executed on powerpc64le-linux.
23165
0ff3e01f
UW
231662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23167
23168 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23169
084ee545
UW
231702014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23171
23172 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23173 of the test patterns for use on little-endian systems.
23174
6ed14ff3
UW
231752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23176
23177 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23178 (decimal_vector): Fix for little-endian.
23179
401e27fd
JM
231802014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23181
23182 * gdb.arch/sparc-sysstep.exp: New file.
23183 * gdb.arch/sparc-sysstep.c: Likewise.
23184
23185 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23186
8b924729
EBM
231872014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23188
23189 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23190
fb151210
JB
231912014-01-23 Tom Tromey <tromey@redhat.com>
23192
23193 * gdb.ada/array_char_idx: New testcase.
23194
0740f8d8
TT
231952014-01-23 Tom Tromey <tromey@redhat.com>
23196
23197 PR python/16487:
23198 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23199 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23200 classes.
23201
21909fa1
TT
232022014-01-23 Tom Tromey <tromey@redhat.com>
23203
23204 PR python/16491:
23205 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23206 string from an inferior frame.
23207 * gdb.python/py-framefilter-mi.exp: Update.
23208
87ce2a04
DE
232092014-01-22 Doug Evans <dje@google.com>
23210
23211 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23212
237b092b
AA
232132014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23214
23215 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23216
d674a709
AA
232172014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23218
23219 * gdb.trace/entry-values.exp: Remove excess space character from
23220 regex patterns. Handle s390 call instruction.
23221
20fa3390
AA
232222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23223
23224 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23225 define "*_start" label. Make "name" static.
23226 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23227 ${name} by references to ${name}_start.
23228
78466714
AA
232292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23230
23231 * gdb.base/info-macros.exp: Remove "debug" from the compile
23232 options.
23233
ec9f644a
IB
232342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23235
23236 * gdb.dlang/demangle.exp: New file.
23237
94b1b47e
IB
232382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23239
23240 * gdb.dlang/primitive-types.exp: New file.
23241
7f420862
IB
232422014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23243
23244 * configure.ac: Create gdb.dlang/Makefile.
23245 * configure: Regenerate.
23246 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23247 * gdb.dlang/Makefile.in: New file.
23248 * lib/d-support.exp: New file.
23249 * lib/gdb.exp (skip_d_tests): New proc.
23250
52834460
MM
232512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23252
23253 * gdb.btrace/delta.exp: Check reverse stepi.
23254 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23255 * gdb.btrace/finish.exp: New.
23256 * gdb.btrace/next.exp: New.
23257 * gdb.btrace/nexti.exp: New.
23258 * gdb.btrace/record_goto.c: Add comments.
23259 * gdb.btrace/step.exp: New.
23260 * gdb.btrace/stepi.exp: New.
23261 * gdb.btrace/multi-thread-step.c: New.
23262 * gdb.btrace/multi-thread-step.exp: New.
23263 * gdb.btrace/rn-dl-bind.c: New.
23264 * gdb.btrace/rn-dl-bind.exp: New.
23265 * gdb.btrace/data.c: New.
23266 * gdb.btrace/data.exp: New.
23267 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23268
6e07b1d2
MM
232692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23270
23271 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23272 * gdb.btrace/exception.exp: Update.
23273 * gdb.btrace/instruction_history.exp: Update.
23274 * gdb.btrace/record_goto.exp: Update.
23275 * gdb.btrace/tailcall.exp: Update.
23276 * gdb.btrace/unknown_functions.exp: Update.
23277 * gdb.btrace/delta.exp: New.
23278
0b722aec
MM
232792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23280
23281 * gdb.btrace/record_goto.exp: Add backtrace test.
23282 * gdb.btrace/tailcall.exp: Add backtrace test.
23283
066ce621
MM
232842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23285
23286 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23287 * gdb.btrace/record_goto.c: New.
23288 * gdb.btrace/record_goto.exp: New.
23289 * gdb.btrace/x86-record_goto.S: New.
23290
0688d04e
MM
232912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23292
23293 * gdb.btrace/function_call_history.exp: Update tests.
23294 * gdb.btrace/instruction_history.exp: Update tests.
23295
8710b709
MM
232962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23297
23298 * gdb.btrace/function_call_history.exp: Fix expected field
23299 order for "record function-call-history".
23300 Add new tests for "record function-call-history /c".
23301 * gdb.btrace/exception.cc: New.
23302 * gdb.btrace/exception.exp: New.
23303 * gdb.btrace/tailcall.exp: New.
23304 * gdb.btrace/x86-tailcall.S: New.
23305 * gdb.btrace/x86-tailcall.c: New.
23306 * gdb.btrace/unknown_functions.c: New.
23307 * gdb.btrace/unknown_functions.exp: New.
23308 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23309
5de9129b
MM
233102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23311
23312 * gdb.btrace/instruction_history.exp: Update.
23313 * gdb.btrace/function_call_history.exp: Update.
23314
23a7fe75
MM
233152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23316
23317 * gdb.btrace/function_call_history.exp: Fix expected function
23318 trace.
23319 * gdb.btrace/instruction_history.exp: Initialize traced.
23320 Remove traced_functions.
23321
724c7dd8
MM
233222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23323
23324 * gdb.btrace/function_call_history.exp: Update
23325 * gdb.btrace/instruction_history.exp: Update.
23326
6d78d93b
MM
233272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23328
23329 * gdb.btrace/enable.exp: Update expected text.
23330
93a360cc
OJ
233312014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23332
23333 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23334 bytes.
23335
3772b53f
MR
233362014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23337
23338 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23339
596662fa
OJ
233402014-01-15 Omair Javaid <omair.javaid@linaro.org>
23341
23342 * lib/gdb.exp (supports_process_record): Return true for
23343 arm*-linux*. (supports_reverse): Likewise.
23344
b5b08fb4
SC
233452014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23346
23347 PR python/15464
23348 PR python/16113
23349 * gdb.python/py-type.c: Enhance test case.
23350 * gdb.python/py-value-cc.cc: Likewise
23351 * gdb.python/py-type.exp: Add new tests.
23352 * gdb.python/py-value-cc.exp: Likewise
23353
52d7fb13
AA
233542014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23355 Pedro Alves <palves@redhat.com>
23356
23357 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23358 Make "name" extern.
23359 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23360 references to ${name}_start by references to ${name}.
23361
a2cd8cfe
JB
233622014-01-10 Joel Brobecker <brobecker@adacore.com>
23363
23364 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23365
4e23fced
JB
233662014-01-10 Joel Brobecker <brobecker@adacore.com>
23367
23368 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23369
c6a9e42c
PA
233702014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23371 Pedro Alves <palves@redhat.com>
23372
23373 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23374 mi_gdb_target_load.
c6a9e42c 23375
b7ea362b
PA
233762014-01-08 Pedro Alves <palves@redhat.com>
23377
23378 * gdb.threads/reconnect-signal.c: New file.
23379 * gdb.threads/reconnect-signal.exp: New file.
23380
5e3f4fab
EBM
233812014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23382
23383 * gdb.base/source-dir.exp: New file.
23384
79301218
JB
233852014-01-07 Joel Brobecker <brobecker@adacore.com>
23386
23387 * gdb.ada/mi_interface: New testcase.
23388
8e355c5d
JB
233892014-01-07 Joel Brobecker <brobecker@adacore.com>
23390
23391 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23392 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23393 gdb.ada/pp-rec-component/pck.ads: New files.
23394
c0d48811
JB
233952014-01-07 Joel Brobecker <brobecker@adacore.com>
23396
23397 * gdb.python/py-pp-integral.c: New file.
23398 * gdb.python/py-pp-integral.py: New file.
23399 * gdb.python/py-pp-integral.exp: New file.
23400
17b609c3 23401For older changes see ChangeLog-1993-2013.
c906108c 23402\f
8d8cb839
EZ
23403;; Local Variables:
23404;; mode: change-log
23405;; left-margin: 8
23406;; fill-column: 74
23407;; version-control: never
23408;; End:
902f2ccb 23409
3666a048 23410 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23411 Copying and distribution of this file, with or without modification,
23412 are permitted provided the copyright notice and this notice are preserved.