]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/testsuite: resolve duplicate test name in gdb.cp/cplusfuncs.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6b78370d
AB
12021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
4 square brackets in test.
5
baecbb3d
AB
62021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.cp/maint.exp (test_first_component): Run more tests with a
9 variable number of spaces, this removes the duplicate testing of
10 'operator ->' which existed before.
11
6e892297
AB
122021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
13
14 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
15 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
16 duplicates, and also to avoid having a string inside parentheses
17 at the end of test names.
18
ac45a6ca
AB
192021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
20
21 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
22 Avoid repeated uses of 'runto', and instread just progress once
23 through the test stopping at different breakpoints. Give comments
24 a capital letter and full stop. Give duplicate tests unique names.
25
323fd5b9
PA
262021-03-25 Pedro Alves <pedro@palves.net>
27
28 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
29 "target_non_stop" parameter and use it.
30 (top level): Add "maint set target-non-stop on/off" testing axis.
31
ba3c61fc
AB
322021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
33
34 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
35 gdb_test_multiple.
36
bf0aecce
LM
372021-03-24 Luis Machado <luis.machado@linaro.org>
38
39 * gdb.arch/aarch64-mte.c: New file.
40 * gdb.arch/aarch64-mte.exp: New test.
41 * gdb.base/memtag.c: New file.
42 * gdb.base/memtag.exp: New test.
43 * lib/gdb.exp (supports_memtag): New function.
44
bef382e6
LM
452021-03-24 Luis Machado <luis.machado@linaro.org>
46
47 * gdb.base/options.exp: Adjust for new print options.
48 * gdb.base/with.exp: Likewise.
49
702cf3f5
AB
502021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
51
52 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
53 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
54
1e7fcccb
AB
552021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
56
57 * gdb.dwarf2/dw2-using-debug-str.c: New file.
58 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
59 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
60 not .debug_string.
61
4829711b
TT
622021-03-20 Tom Tromey <tom@tromey.com>
63
64 * gdb.base/maint.exp: Update "maint print statistics" output.
65
e0d6d274
KB
662021-03-19 Kevin Buettner <kevinb@redhat.com>
67
68 * lib/gdbserver-support.exp (gdbserver_exit): Use the
69 "-nowait" flag when waiting for gdbserver to exit.
70
a088215a
SST
712021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
72
73 * gdb.base/info-macros.exp: Append -fdebug-macro to
74 additional_flags for clang.
75 * gdb.base/macscp.exp: Likewise.
76 * gdb.base/style.exp: Likewise.
77 * gdb.linespec/macro-relative.exp: Likewise.
78
d0c99a23
SM
792021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
80 Pedro Alves <pedro@palves.net>
81
82 * gdb.base/run-attach-while-running.exp: New.
83 * gdb.base/run-attach-while-running.c: New.
84
7807d76a
AB
852021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * gdb.python/py-framefilter-addr.c: New file.
88 * gdb.python/py-framefilter-addr.exp: New file.
89 * gdb.python/py-framefilter-addr.py: New file.
90
f302f9e2
AB
912021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
94 Make use of $gdb_test_name instead of creating a separate $test
95 variable.
96 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
97 adding a '($name)' at the end of each test. This also catches the
98 one place where '($name)' was missing, and so caused a duplicate
99 test name.
100 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
101 duplicate test names based on the command being tested.
102 * gdb.threads/signal-command-multiple-signals-pending.exp:
103 Likewise.
104 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
105 avoid duplicate testnames when a test script uses this proc and
106 also gdb_compile_pthreads.
107 * lib/prelink-support.exp (build_executable_own_libs): Use
108 with_test_prefix to avoid duplicate test names when we call
109 build_executable twice.
110
6813ceb0
TT
1112021-03-15 Tom Tromey <tromey@adacore.com>
112
113 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
114
3b5c4de0
TT
1152021-03-15 Tom Tromey <tromey@adacore.com>
116
117 * gdb.ada/varsize_limit.exp: Add new test.
118 * gdb.ada/varsize_limit/vsizelim.adb: Update.
119
c04da66c
TT
1202021-03-15 Tom Tromey <tromey@adacore.com>
121
122 * gdb.ada/operator_call/twovecs.ads: New file.
123 * gdb.ada/operator_call/twovecs.adb: New file.
124 * gdb.ada/operator_call/opcall.adb: New file.
125 * gdb.ada/operator_call.exp: New file.
126
1ac74522
TT
1272021-03-15 Tom Tromey <tromey@adacore.com>
128
129 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
130 * gdb.ada/enums_overload/enums_overload.ads: New file.
131 * gdb.ada/enums_overload/enums_overload.adb: New file.
132 * gdb.ada/enums_overload.exp: New file.
133
207582c0
TT
1342021-03-15 Tom Tromey <tromey@adacore.com>
135
136 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
137 Declare.
138 * gdb.ada/assign_arr/target_wrapper.adb: New file.
139 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
140 Call Put.
141 * gdb.ada/assign_arr.exp: Update.
142
ba6a0ef3
AB
1432021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
144
145 * gdb.python/py-auto-load-chaining-f1.c: New file.
146 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
147 * gdb.python/py-auto-load-chaining-f2.c: New file.
148 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
149 * gdb.python/py-auto-load-chaining.c: New file.
150 * gdb.python/py-auto-load-chaining.exp: New file.
151
7f99d636
AB
1522021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
153
154 * gdb.python/py-bad-printers.exp: Extend test names to make them
155 unique.
156 * gdb.python/py-events.exp: Likewise.
157 * gdb.python/py-finish-breakpoint2.exp: Likewise.
158 * gdb.python/py-frame-inline.exp: Likewise.
159 * gdb.python/py-frame.exp: Likewise.
160 * gdb.python/py-infthread.exp: Likewise.
161
323b848c
AB
1622021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * gdb.python/py-value-cc.exp: Remove a duplicate test.
165
8a4efb36
AB
1662021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * gdb.python/lib-types.exp: Update the test to check the correct
169 python variable.
170
66bb1dd9
AB
1712021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.python/py-explore-cc.exp: Extend test names to make them
174 unique.
175
0125fabc
AB
1762021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
177
178 * gdb.python/py-lookup-type.exp: Remove duplicate test.
179
79d04157
AB
1802021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
181
182 * gdb.python/py-symtab.exp: Extend test names to make them
183 unique.
184
e3e48d8f
AB
1852021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
186
187 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
188 names unique.
189
2cb60e74
AB
1902021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
191
192 * gdb.python/py-block.exp: Give tests unique names.
193
8b12ded4
AB
1942021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
195
196 * gdb.python/py-pp-maint.exp: Extend test names to make them
197 unique.
198
93598ea4
AB
1992021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.python/py-explore.exp: Add with_test_prefix to make test
202 names unique.
203
f35d6971
AB
2042021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
205
206 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
207
22d3e7f6
AB
2082021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
209
210 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
211 names unique.
212
5fc5a1b8
AB
2132021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
216 test names unique.
217
e3141a4d
AB
2182021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
221 unique.
222
ccdc02ed
TT
2232021-03-09 Tom Tromey <tromey@adacore.com>
224
225 * gdb.base/cast-call.exp: New file.
226 * gdb.base/cast-call.c: New file.
227
fbb1aace
AB
2282021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
229
230 * gdb.gdb/python-helper.exp: New file.
231
611aa09d
FW
2322020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
233
234 * gdb.fortran/intrinsics.exp: Add LOC tests.
235
eef32f59
AB
2362021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * gdb.fortran/shape.exp: New file.
239 * gdb.fortran/shape.f90: New file.
240
7ba155b3
AB
2412021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
242
243 * gdb.fortran/size.exp: New file.
244 * gdb.fortran/size.f90: New file.
245
e14816a8
AB
2462021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * gdb.fortran/rank.exp: New file.
249 * gdb.fortran/rank.f90: New file.
250
d308ba78
TT
2512021-03-08 Tom Tromey <tom@tromey.com>
252
253 * gdb.fortran/debug-expr.exp: Update tests.
254
d182f279
TT
2552021-03-08 Tom Tromey <tom@tromey.com>
256
257 * gdb.base/debug-expr.exp: Update expected dump output.
258
a7308ce0
TT
2592021-03-06 Tom Tromey <tom@tromey.com>
260
261 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
262 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
263 * gdb.dwarf2/dwznolink.exp: New file.
264
b0a8c2ff
MW
2652021-03-05 Mark Wielaard <mark@klomp.org>
266
267 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
268
844be3f2
WP
2692021-03-06 Weimin Pan <weimin.pan@oracle.com>
270
271 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
272
82333781
MM
2732021-03-03 Markus Metzger <markus.t.metzger@intel.com>
274
275 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
276
32c52999
MM
2772021-03-03 Markus Metzger <markus.t.metzger@intel.com>
278
279 * gdb.btrace/non-stop.exp: Adjust expected source lines.
280
26ed1478
MM
2812021-03-03 Markus Metzger <markus.t.metzger@intel.com>
282
283 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
284
d2c5f24e
MM
2852021-03-03 Markus Metzger <markus.t.metzger@intel.com>
286
287 * gdb.btrace/exception.cc (main): Update test source.
288 * gdb.btrace/exception.exp: Update patterns.
289 * gdb.btrace/function_call_history.exp: Likewise.
290
c7c7253a
MM
2912021-03-03 Markus Metzger <markus.t.metzger@intel.com>
292
293 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
294
f0778fc1
MM
2952021-03-03 Markus Metzger <markus.t.metzger@intel.com>
296
297 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
298 reverse-continue to breakpoint.
299
e71dbd03
MM
3002021-03-03 Markus Metzger <markus.t.metzger@intel.com>
301
302 * gdb.btrace/delta.exp: Remove instruction-history and
303 function-call-history checks.
304
b93a3ed0
MM
3052021-03-03 Markus Metzger <markus.t.metzger@intel.com>
306
307 * README (Note): Add nopie_ldflag.
308 * lib/gdb.exp (gdb_compile): Extend nopie handling.
309
bbcdf9ab
TT
3102021-03-02 Tom Tromey <tromey@adacore.com>
311
312 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
313 encodings.
314
bb3a4efe
LS
3152021-02-27 Lancelot Six <lsix@lancelotix.com>
316
317 PR gdb/27393
318 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
319
320
573dc0cc
TT
3212021-02-26 Tom Tromey <tom@tromey.com>
322
323 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
324
f8218786
JV
3252021-02-26 Jan Vrany <jan.vrany@labware.com>
326
327 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
328 Remove trailing \n from expected output.
329
cb51b708
MM
3302021-02-26 Markus Metzger <markus.t.metzger@intel.com>
331
332 * lib/gdb.exp (use_gdb_stub): Extend comment.
333
64d38fdd
JM
3342021-02-25 Jan Matyas <jmatyas@codasip.com>
335
336 PR gdb/26819
337 * gdb.server/stop-reply-no-thread.exp: Add two test
338 scenarios that cover remote targets which do not have
339 the concept of threads.
340
d4ff3cbf
AB
3412021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
344
68337b8b
AB
3452021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 PR fortran/26155
348 * gdb.fortran/call-no-debug-func.f90: New file.
349 * gdb.fortran/call-no-debug-prog.f90: New file.
350 * gdb.fortran/call-no-debug.exp: New file.
351
faeb9f13
AB
3522021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * gdb.fortran/associated.exp: New file.
355 * gdb.fortran/associated.f90: New file.
356
170f4b23
AB
3572021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
358
359 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
360
dd80d750
AB
3612021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
362
363 * gdb.base/sect-cmd.exp: Update expected results.
364
b91919ac
AB
3652021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
366
367 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
368 techniques. Enable the test for all targets.
369
02a79309
AB
3702021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.base/maint-info-sections.exp: Add new tests.
373 (check_maint_info_target_sections_output): New proc.
374
895b7b4e
AB
3752021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.arch/riscv-default-tdesc.exp: New file.
378
bc3c0632
AB
3792021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
380
381 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
382
acde2092
AB
3832021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * gdb.arch/i386-biarch-core.exp: Add target check.
386
7d2e5095
AKS
3872021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
388
389 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
390
96df3e28
AB
3912021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
392
393 * gdb.fortran/allocated.exp: New file.
394 * gdb.fortran/allocated.f90: New file.
395
a1670b72
AB
3962021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
397
398 * gdb.fortran/lbound-ubound.exp: Remove old comment.
399
bf3386f0
AB
4002021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
401
402 * gdb.base/maint-info-sections.exp: Update expected output, and
403 add additional tests. Again.
404
4790db14
AB
4052021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
406
407 * gdb.base/maint-info-sections.exp: Update expected output, and
408 add additional tests.
409
f4be6772
AB
4102021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
411
412 * gdb.base/maint-info-sections.exp: New file, content is moved
413 from gdb.base/maint.exp and cleaned up to use latest testsuite
414 techniques.
415 * gdb.base/maint.exp: Tests moved out to
416 gdb.base/maint-info-sections.exp.
417
25ad1e83
SM
4182021-02-10 Simon Marchi <simon.marchi@efficios.com>
419
420 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
421 GDBFLAGS.
422
e92c8eb8
AB
4232021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
424
425 * gdb.fortran/lbound-ubound.F90: New file.
426 * gdb.fortran/lbound-ubound.exp: New file.
427
ee4c3d88
TV
4282021-02-10 Tom de Vries <tdevries@suse.de>
429
430 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
431 "Restore saved setting of complaints".
432
cf2b2075
TV
4332021-02-09 Tom de Vries <tdevries@suse.de>
434
435 PR symtab/27341
436 * lib/gdb.exp (with_complaints): New proc, factored out of ...
437 (gdb_load_no_complaints): ... here.
438 * gdb.fortran/function-calls.exp: Add test-case.
439
b61f7811
HAQ
4402021-02-09 Abid Qadeer <abidh@codesourcery.com>
441
442 * gdb.threads/signal-command-handle-nopass.exp: Call
443 'standard_testfile' before using 'testfile'.
444 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
445 * gdb.threads/signal-delivered-right-thread.exp: Likewise
446 * gdb.threads/signal-sigtrap.exp: Likewise
447
3d4aae48
LM
4482021-02-08 Luis Machado <luis.machado@linaro.org>
449
450 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
451
4001d90d
TV
4522021-02-08 Tom de Vries <tdevries@suse.de>
453
454 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
455
29db1eb3
AB
4562021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
457
458 * gdb.python/tui-window-disabled.c: New file.
459 * gdb.python/tui-window-disabled.exp: New file.
460 * gdb.python/tui-window-disabled.py: New file.
461
e0c23e11
AB
4622021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
463
464 * gdb.python/tui-window.exp: Add new tests.
465 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
466 TestWindow object into global the_window.
467 <remote_title>: New method.
468 (delete_window_title): New function.
469
1cf23996
AB
4702021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
471
472 * gdb.tui/winheight.exp: Add more tests.
473
2708dbbd
AB
4742021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
475
476 * gdb.python/py-framefilter.exp: Update expected results.
477 * gdb.python/python.exp: Update expected results.
478
cd074e04
AB
4792021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
480
481 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
482 about bug in GDB, update expected results, and add more tests.
483
5fb97639
AB
4842021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 * gdb.tui/scroll.exp: New file.
487 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
488 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
489 remaining lines up.
490 (Term::check_region_contents): New proc.
491 (Term::check_box_contents): Use check_region_contents.
492
c0e56745
TV
4932021-02-06 Tom de Vries <tdevries@suse.de>
494
495 PR testsuite/26922
496 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
497 scrolling.
498
0e857c82
TV
4992021-02-05 Tom de Vries <tdevries@suse.de>
500
501 PR breakpoints/27313
502 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
503 rejected.
504
a22ec6e8
TV
5052021-02-05 Tom de Vries <tdevries@suse.de>
506
507 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
508 * gdb.fortran/mixed-lang-stack.exp: Same.
509
ae710496
TV
5102021-02-05 Tom de Vries <tdevries@suse.de>
511
512 PR exp/27265
513 * gdb.base/complex-parts.exp: Add tests.
514
d3b54e63
TV
5152021-02-05 Tom de Vries <tdevries@suse.de>
516
517 PR symtab/27307
518 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
519
3eccb1c8
SV
5202021-02-04 Shahab Vahedi <shahab@synopsys.com>
521
522 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
523
a71501e2
PA
5242021-02-03 Pedro Alves <pedro@palves.net>
525
526 * gdb.threads/detach-step-over.c: New file.
527 * gdb.threads/detach-step-over.exp: New file.
528
92234eb1
PA
5292021-02-03 Pedro Alves <pedro@palves.net>
530
531 * gdb.threads/attach-non-stop.c: New file.
532 * gdb.threads/attach-non-stop.exp: New file.
533
2e3773ff
LS
5342021-02-02 Lancelot SIX <lsix@lancelotsix.com>
535
536 * gdb.base/inferior-noarg.c: New test.
537 * gdb.base/inferior-noarg.exp: New test.
538
e0bd9202
SM
5392021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
540
541 * gdb.base/scope.exp: Use proc_with_prefix.
542
9307efbe
SM
5432021-02-02 Simon Marchi <simon.marchi@efficios.com>
544
545 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
546 table proc.
547 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
548 .debug_rnglists table without offset array.
549 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
550 .debug_loclists table without offset array.
551
2b0c7f41
SM
5522021-02-02 Simon Marchi <simon.marchi@efficios.com>
553
554 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
555 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
556 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
557 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
558 attribute
559
ecfda20d
SM
5602021-02-02 Simon Marchi <simon.marchi@efficios.com>
561
562 PR gdb/26813
563 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
564 (loclists): New proc.
565 * gdb.dwarf2/loclists-multiple-cus.c: New.
566 * gdb.dwarf2/loclists-multiple-cus.exp: New.
567 * gdb.dwarf2/loclists-sec-offset.c: New.
568 * gdb.dwarf2/loclists-sec-offset.exp: New.
569
6b0933da
SM
5702021-02-02 Simon Marchi <simon.marchi@efficios.com>
571
572 * lib/dwarf.exp (_location): Add parameters.
573 (_handle_DW_FORM): Adjust.
574
962effa7
SM
5752021-02-02 Simon Marchi <simon.marchi@efficios.com>
576
577 PR gdb/26813
578 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
579 (cu): Generate header for DWARF 5.
580 (rnglists): New proc.
581 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
582 * gdb.dwarf2/rnglists-sec-offset.exp: New.
583
2bd3e4b8
TV
5842021-02-02 Tom de Vries <tdevries@suse.de>
585
586 PR symtab/24620
587 * gdb.dwarf2/fission-reread.exp: Add test-case.
588
c39c8637
TV
5892021-02-01 Tom de Vries <tdevries@suse.de>
590
591 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
592 * gdb.dwarf2/fission-loclists-pie.S: Same.
593 * gdb.dwarf2/fission-loclists.S: Same.
594 * gdb.dwarf2/fission-multi-cu.S: Same.
595 * gdb.dwarf2/fission-reread.S: Same.
596 * gdb.dwarf2/fission-base.exp: Use DWO.
597 * gdb.dwarf2/fission-loclists-pie.exp: Same.
598 * gdb.dwarf2/fission-loclists.exp: Same.
599 * gdb.dwarf2/fission-multi-cu.exp: Same.
600 * gdb.dwarf2/fission-reread.exp: Same.
601
ebde6f2d
TV
6022021-01-29 Tom de Vries <tdevries@suse.de>
603
604 PR breakpoints/26063
605 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
606 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
607
620ec3ca
TV
6082021-01-29 Tom de Vries <tdevries@suse.de>
609
610 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
611
cdeba395
TV
6122021-01-28 Tom de Vries <tdevries@suse.de>
613
614 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
615 in the backtrace, and use that in the rest of the test instead of
616 hardcoded constant 3. Use "frame" instead of "up" for robustness.
617
c47b145e
TV
6182021-01-28 Tom de Vries <tdevries@suse.de>
619
620 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
621 * gdb.arch/i386-sse-stack-align.c: Same.
622 * gdb.arch/i386-sse-stack-align.exp: Same.
623
47918cca
AB
6242021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
625
626 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
627
2f985dd1
TV
6282021-01-28 Tom de Vries <tdevries@suse.de>
629
630 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
631
22efa3d3
TV
6322021-01-28 Tom de Vries <tdevries@suse.de>
633
634 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
635 "maint info line-table". Make PASS pattern more specific. Make
636 FAIL pattern work for -m32.
637
59b59f08
LS
6382021-01-27 Lancelot SIX <lsix@lancelotsix.com>
639
640 PR gdb/27133
641 * gdb.base/ui-redirect.exp: Add test case that ensures that
642 redirecting both logging and debug does not cause gdb to crash.
643
644
807f647c
MM
6452021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
646
647 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
648
4ca40594
TV
6492021-01-26 Tom de Vries <tdevries@suse.de>
650
651 * gdb.threads/killed-outside.exp: Allow regular output.
652
d0021af3
TV
6532021-01-26 Tom de Vries <tdevries@suse.de>
654
655 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
656
9f6c202e
TV
6572021-01-25 Tom de Vries <tdevries@suse.de>
658
659 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
660 * lib/gdb.exp: Use gdb_load_no_complaints.
661
a625a8c9
TT
6622021-01-25 Tom Tromey <tromey@adacore.com>
663
664 * gdb.ada/fixed_points.exp: Add regression test.
665 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
666 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
667
19184910
TT
6682021-01-25 Tom Tromey <tromey@adacore.com>
669
670 * gdb.ada/local-enum.exp: Add enumerator resolution test.
671
acd6125f
TT
6722021-01-25 Tom Tromey <tromey@adacore.com>
673
674 * gdb.ada/local-enum.exp: New file.
675 * gdb.ada/local-enum/local.adb: New file.
676
1af4c9c4
TT
6772021-01-23 Tom Tromey <tom@tromey.com>
678
679 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
680
705646c0
BE
6812021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
682
683 * gdb.base/line65535.exp: Fix test expectation.
684
0ac85db5
SM
6852021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
686
687 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
688 suppression.
689 (default_gdb_exit): Likewise.
690 (default_gdb_spawn): Likewise.
691 (send_gdb): Likewise.
692 (gdb_expect): Likewise.
693 (gdb_expect_list): Likewise.
694 (default_gdb_init): Likewise.
695 (gdb_suppress_entire_file): Remove.
696 (gdb_suppress_tests): Remove.
697 (gdb_stop_suppressing_tests): Remove.
698 (gdb_clear_suppressed): Remove.
699 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
700 related to test suppression.
701 (default_mi_gdb_start): Likewise.
702 (mi_gdb_reinitialize_dir): Likewise.
703 (mi_gdb_test): Likewise.
704 (mi_run_cmd_full): Likewise.
705 (mi_runto_helper): Likewise.
706 (mi_execute_to): Likewise.
707 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
708 * gdb.base/bitfields.exp: Likewise.
709 * gdb.base/bitfields2.exp: Likewise.
710 * gdb.base/break.exp: Likewise.
711 * gdb.base/call-sc.exp: Likewise.
712 * gdb.base/callfuncs.exp: Likewise.
713 * gdb.base/dfp-test.exp: Likewise.
714 * gdb.base/endian.exp: Likewise.
715 * gdb.base/exprs.exp: Likewise.
716 * gdb.base/funcargs.exp: Likewise.
717 * gdb.base/hbreak2.exp: Likewise.
718 * gdb.base/recurse.exp: Likewise.
719 * gdb.base/scope.exp: Likewise.
720 * gdb.base/sepdebug.exp: Likewise.
721 * gdb.base/structs.exp: Likewise.
722 * gdb.base/until.exp: Likewise.
723 * gdb.cp/misc.exp: Likewise.
724
9d2d8a16
AB
7252021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 PR cli/25956
728 * gdb.base/style.exp (run_style_tests): Add version string test.
729 (test_startup_version_string): Use version style name.
730 * lib/gdb-utils.exp (style): Handle version style name.
731
e7b43072
AB
7322021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
733
734 * gdb.base/style.exp (limited_style): New proc.
735 (clean_restart_and_disable): New proc.
736 (run_style_tests): New proc. Most of the old tests from this file
737 are now in this proc.
738 (test_startup_version_string): New proc. Reamining test from the
739 old file is in this proc.
740
2189c312
SM
7412021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
742
743 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
744 Adjust to "set debug remote" changes.
745
cd211c75
LM
7462021-01-21 Luis Machado <luis.machado@linaro.org>
747
748 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
749 message.
750
730af663
SM
7512021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
752
753 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
754
325d39e4
HD
7552021-01-21 Hannes Domani <ssbssa@yahoo.de>
756
757 PR python/19151
758 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
759
c3e96aa7
SM
7602021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
761
762 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
763
6571ffc6
SM
7642021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
765
766 * lib/tuiterm.exp: Add links in comments.
767
7c794afd
TV
7682021-01-20 Tom de Vries <tdevries@suse.de>
769
770 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
771 offset.
772
1402665c
TV
7732021-01-20 Tom de Vries <tdevries@suse.de>
774
775 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
776
6f52fdf4
SDJ
7772021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
778
779 * gdb.arch/amd64-stap-expressions.S: New file.
780 * gdb.arch/amd64-stap-expressions.exp: New file.
781
14852123
TV
7822021-01-19 Tom de Vries <tdevries@suse.de>
783
784 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
785 sequence.
786
0c4e2c6c
TV
7872021-01-19 Tom de Vries <tdevries@suse.de>
788
789 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
790
02baa133
AB
7912021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
792
793 * gdb.fortran/array-slices.exp (run_test): Avoid including
794 addresses in test names.
795
10f92414
TV
7962021-01-15 Tom de Vries <tdevries@suse.de>
797
798 PR testsuite/26997
799 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
800 when adding sizeof.
801
116d0cf1
TV
8022021-01-14 Tom de Vries <tdevries@suse.de>
803
804 PR testsuite/24590
805 * gdb.base/style.exp: Handle shorter argv in frame command output.
806
8f66807b
AB
8072021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
808
809 PR gdb/26819
810 * gdb.server/stop-reply-no-thread-multi.c: New file.
811 * gdb.server/stop-reply-no-thread-multi.exp: New file.
812
3f94e588
TV
8132021-01-12 Tom de Vries <tdevries@suse.de>
814
815 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
816 (main): Remove call to have_mpx.
817 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
818 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
819 (main): Remote call to have_mpx.
820 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
821 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
822 (main): Remove call to have_mpx.
823 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
824 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
825 (main): Remove call to have_mpx.
826 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
827 * gdb.arch/i386-mpx.c (have_mpx): Remove.
828 (main): Remote call to have_mpx.
829 * gdb.arch/i386-mpx.exp: Use have_mpx.
830 * lib/gdb.exp (have_mpx): New proc.
831
5291fe3c
SP
8322021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
833
834 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
835
18bfb505
TV
8362021-01-12 Tom de Vries <tdevries@suse.de>
837
838 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
839
ce38f5ed
AB
8402021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
841
842 * gdb.fortran/debug-expr.exp: Add new tests.
843
7c654b71
AB
8442021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
845
846 * gdb.fortran/dot-ops.exp: Add new tests.
847
10dadadc
TV
8482021-01-11 Tom de Vries <tdevries@suse.de>
849
850 PR testsuite/26968
851 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
852 Move insn setting $eax to before probe point.
853
66beed02
TT
8542021-01-09 Tom Tromey <tom@tromey.com>
855
856 * gdb.trace/ax.exp: Do not require an "ext".
857
8fc48b79
TT
8582021-01-08 Tom Tromey <tromey@adacore.com>
859
860 * gdb.ada/voidctx/pck.adb: New file.
861 * gdb.ada/voidctx/pck.ads: New file.
862 * gdb.ada/voidctx/voidctx.adb: New file.
863 * gdb.ada/voidctx.exp: New file.
864
6abd4cf2
SM
8652021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
866
867 PR gdb/27157
868 * gdb.base/empty-host-env-vars.exp: New test.
869
d00f0868
AB
8702021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 * gdb.base/completion.exp: Add a new test.
873
3c8c6de2
AB
8742021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * gdb.fortran/intvar-dynamic-types.exp: New file.
877 * gdb.fortran/intvar-dynamic-types.f90: New file.
878
e3436813
AB
8792021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * gdb.fortran/intvar-array.exp: New file.
882 * gdb.fortran/intvar-array.f90: New file.
883
d4813f10
TT
8842021-01-07 Tom Tromey <tromey@adacore.com>
885
886 * gdb.ada/assign_arr.exp: Add 'others' test.
887
b49180ac
TT
8882021-01-06 Tom Tromey <tromey@adacore.com>
889
890 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
891 (FP4_Type): New type.
892 (FP4_Var): New variable.
893 * gdb.ada/fixed_points/fixed_points.adb: Update.
894 * gdb.ada/fixed_points.exp: Add tests for binary operators.
895
3c55062c
SM
8962021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
897
898 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
899 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
900 Pass prompt containing debug print to gdb_test_sequence.
901
e4ad960a
TV
9022021-01-04 Tom de Vries <tdevries@suse.de>
903
904 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
905
3ec3145c
SM
9062021-01-04 Simon Marchi <simon.marchi@efficios.com>
907
908
909
8dc558a0
SM
9102021-01-04 Simon Marchi <simon.marchi@efficios.com>
911
912 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
913 * gdb.server/connect-without-multi-process.exp: Likewise.
914 * gdb.server/exit-multiple-threads.exp: Likewise.
915 * gdb.server/ext-attach.exp: Likewise.
916 * gdb.server/ext-restart.exp: Likewise.
917 * gdb.server/ext-run.exp: Likewise.
918 * gdb.server/ext-wrapper.exp: Likewise.
919 * gdb.server/multi-ui-errors.exp: Likewise.
920 * gdb.server/no-thread-db.exp: Likewise.
921 * gdb.server/reconnect-ctrl-c.exp: Likewise.
922 * gdb.server/run-without-local-binary.exp: Likewise.
923 * gdb.server/server-kill.exp: Likewise.
924 * gdb.server/server-run.exp: Likewise.
925 * gdb.server/solib-list.exp: Likewise.
926 * gdb.server/stop-reply-no-thread.exp: Likewise.
927 * gdb.server/wrapper.exp: Likewise.
928 * gdb.server/sysroot.exp: Increase timeout when testing the
929 target: sysroot.
930
d8387cc8
SM
9312021-01-04 Simon Marchi <simon.marchi@efficios.com>
932
933 * gdb.server/server-run.exp: Use clean_restart.
934
5169ae34
SM
9352021-01-04 Simon Marchi <simon.marchi@efficios.com>
936
937 * gdb.server/ext-run.exp: Use clean_restart.
938
7b0ff8a2
SM
9392021-01-04 Simon Marchi <simon.marchi@efficios.com>
940
941 * gdb.server/stop-reply-no-thread.exp: Use build_executable
942 instead of prepare_for_testing.
943
a754fbdf
SM
9442021-01-04 Simon Marchi <simon.marchi@efficios.com>
945
946 * gdb.server/solib-list.exp: Use clean_restart.
947
c5e71b33
TV
9482021-01-04 Tom de Vries <tdevries@suse.de>
949
950 * gdb.base/morestack.c: Remove printf.
951 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
952
9b243007
TT
9532020-12-31 Tom Tromey <tom@tromey.com>
954
955 * gdb.rust/simple.exp: Update output for Rust 1.49.
956
4ff509e7
BE
9572020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
958
959 * gdb.cp/step-and-next-inline.exp: Fix test case.
960
391750c3
SM
9612020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
962
963 * gdb.python/py-frame-args.exp: De-duplicate test names.
964
b7874836
AB
9652020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
966
967 PR gdb/27059
968 * gdb.dwarf2/dyn-type-unallocated.c: New file.
969 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
970
e1ff6226
PW
9712020-12-21 Peter Waller <p@pwaller.net>
972
973 * gdb.base/style-interp-exec-mi.exp: New.
974 * gdb.base/style-interp-exec-mi.c: New.
975
ca01f1bf
SM
9762020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
977
978 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
979 gdb_test. Use proc_with_prefix.
980
0fe69a94
MM
9812020-12-21 Markus Metzger <markus.t.metzger@intel.com>
982
983 * gdb.btrace/exception.exp: Build with nopie.
984 * gdb.btrace/function_call_history.exp: Likewise.
985 * gdb.btrace/unknown_functions.exp: Likewise.
986
806e7575
MM
9872020-12-21 Markus Metzger <markus.t.metzger@intel.com>
988
989 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
990
493d2172
MM
9912020-12-21 Markus Metzger <markus.t.metzger@intel.com>
992
993 * gdb.python/py-record-btrace.exp: Make test names unique.
994 * gdb.python/py-record-full.exp: Likewise.
995
1a1c0afc
MM
9962020-12-21 Markus Metzger <markus.t.metzger@intel.com>
997
998 * gdb.btrace/data.exp: Make test names unique.
999 * gdb.btrace/delta.exp: Likewise.
1000 * gdb.btrace/enable.exp: Likewise.
1001 * gdb.btrace/function_call_history.exp: Likewise.
1002 * gdb.btrace/nohist.exp: Likewise.
1003 * gdb.btrace/non-stop.exp: Likewise.
1004 * gdb.btrace/rn-dl-bind.exp: Likewise.
1005 * gdb.btrace/step.exp: Likewise.
1006 * gdb.btrace/stepi.exp: Likewise.
1007 * gdb.btrace/tailcall.exp: Likewise.
1008
98d837f0
MM
10092020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1010
1011 * gdb.btrace/enable.exp: Update error message.
1012 * gdb.btrace/multi-inferior.exp: Likewise.
1013 * gdb.btrace/reconnect.exp: Likewise.
1014 * gdb.python/py-record-btrace.exp: Likewise.
1015 * gdb.python/py-record-full.exp: Likewise.
1016
c541fa7c
TV
10172020-12-20 Tom de Vries <tdevries@suse.de>
1018
1019 * lib/gdb.exp (save_target_board_info): New proc.
1020 (gdb_compile_shlib): Use save_target_board_info.
1021
60108e47
TV
10222020-12-19 Tom de Vries <tdevries@suse.de>
1023
1024 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1025 (supports_gnuc): New proc.
1026 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1027 test_compiler_info calls. Add unsupported message.
1028 * gdb.base/endianity.c: Use TEST_SSO.
1029
fa639f55
HD
10302020-12-19 Hannes Domani <ssbssa@yahoo.de>
1031
1032 PR exp/27070
1033 * gdb.python/compare-enum-type-a.c: New test.
1034 * gdb.python/compare-enum-type-b.c: New test.
1035 * gdb.python/compare-enum-type.exp: New file.
1036 * gdb.python/compare-enum-type.h: New test.
1037
4aea001f
HD
10382020-12-18 Hannes Domani <ssbssa@yahoo.de>
1039
1040 * gdb.python/py-format-string.exp: Add tests for address keyword.
1041
b3f9469b
HD
10422020-12-18 Hannes Domani <ssbssa@yahoo.de>
1043
1044 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1045
86ef42bd
TT
10462020-12-18 Tom Tromey <tromey@adacore.com>
1047
1048 * gdb.ada/fixed_points.exp: Also run with
1049 -fgnat-encodings=minimal. Update expected output.
1050
93df4a1d
SM
10512020-12-16 Simon Marchi <simon.marchi@efficios.com>
1052
1053 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1054 * gdb.base/continue-all-already-running.exp: Likewise.
1055 * gdb.base/moribund-step.exp: Likewise.
1056 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1057
592995fa
TV
10582020-12-16 Tom de Vries <tdevries@suse.de>
1059
1060 * gdb.base/batch-preserve-term-settings.exp:
1061
1e61189d
TV
10622020-12-16 Tom de Vries <tdevries@suse.de>
1063
1064 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1065 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1066
19007d95
LM
10672020-12-16 Luis Machado <luis.machado@linaro.org>
1068
1069 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1070 pointer-based memory accesses.
1071 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1072 hw watchpoint cases.
1073
a33fc9ae
RK
10742020-12-15 Rae Kim <rae.kim@gmail.com>
1075
1076 * gdb.base/document.exp: New test.
1077
0e5ad442
TT
10782020-12-15 Tom Tromey <tromey@adacore.com>
1079
1080 * gdb.base/style.exp: Add deprecation tests.
1081
60598dbd
SM
10822020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1083
1084 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1085
8cd6d968
MW
10862020-12-14 Mark Wielaard <mark@klomp.org>
1087
1088 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1089 specially, set attr_form_comment to the actual FORM string used.
1090
eab9267c
MW
10912020-12-14 Mark Wielaard <mark@klomp.org>
1092
1093 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1094 _constants(SPECIAL_expr) here, but set it...
1095 (Dwarf::cu): ...here based on _cu_version.
1096
2f413264
TV
10972020-12-14 Tom de Vries <tdevries@suse.de>
1098
1099 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1100 pass -fPIC.
1101 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1102 * gdb.base/break-probes.exp: Same.
1103 * gdb.base/ctxobj.exp: Same.
1104 * gdb.base/dso2dso.exp: Same.
1105 * gdb.base/global-var-nested-by-dso.exp: Same.
1106 * gdb.base/info-shared.exp: Same.
1107 * gdb.base/jit-reader-simple.exp: Same.
1108 * gdb.base/print-file-var.exp: Same.
1109 * gdb.base/skip-solib.exp: Same.
1110 * gdb.btrace/dlopen.exp: Same.
1111
18f1cb1f
TV
11122020-12-14 Tom de Vries <tdevries@suse.de>
1113
1114 PR testsuite/26963
1115 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1116
519155c9
TV
11172020-12-14 Tom de Vries <tdevries@suse.de>
1118
1119 PR testsuite/26962
1120 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1121 cast it to its declared type".
1122
153f6e6c
TV
11232020-12-14 Tom de Vries <tdevries@suse.de>
1124
1125 PR testsuite/26951
1126 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1127 shell prompt.
1128
86b44259
TT
11292020-12-14 Tom Tromey <tromey@adacore.com>
1130
1131 * gdb.ada/nested.exp: Add new tests.
1132 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1133
e26624c6
TT
11342020-12-14 Tom Tromey <tromey@adacore.com>
1135
1136 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1137
a3bdae4e
TT
11382020-12-14 Tom Tromey <tromey@adacore.com>
1139
1140 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1141
862fcbd8
TV
11422020-12-13 Tom de Vries <tdevries@suse.de>
1143
1144 PR testsuite/26953
1145 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1146 attribute support if compiler doesn't support it.
1147
a406a98e
TV
11482020-12-13 Tom de Vries <tdevries@suse.de>
1149
1150 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1151 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1152 source to shared lib. Add ada to options.
1153
5d7e6ed0
TV
11542020-12-13 Tom de Vries <tdevries@suse.de>
1155
1156 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1157 calling gnatbind and gnatlink.
1158
ee9812a0
AB
11592020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 * gdb.base/dcache-flush.c: New file.
1162 * gdb.base/dcache-flush.exp: New file.
1163
50a5f187
AB
11642020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1165
1166 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1167 commands.
1168 * gdb.base/killed-outside.exp: Likewise.
1169 * gdb.opt/inline-bt.exp: Likewise.
1170 * gdb.perf/gmonster-null-lookup.py: Likewise.
1171 * gdb.perf/gmonster-print-cerr.py: Likewise.
1172 * gdb.perf/gmonster-ptype-string.py: Likewise.
1173 * gdb.python/py-unwind.exp: Likewise.
1174
19c659f1
AB
11752020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * gdb.base/commands.exp: Update expected results.
1178
9ef6d4a1
AB
11792020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1180
1181 PR cli/15104
1182 * gdb.base/commands.exp: Add additional tests.
1183 * gdb.base/completion.exp: Add additional tests.
1184
1536146f
AB
11852020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1186
1187 * gdb.base/completion.exp: Add additional tests.
1188
346e7e19
TV
11892020-12-11 Tom de Vries <tdevries@suse.de>
1190
1191 PR testsuite/26991
1192 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1193 violations by setting bounds registers if the bounds are passed in the
1194 Bounds Table.
1195
9cd7a95a
TV
11962020-12-11 Tom de Vries <tdevries@suse.de>
1197
1198 PR testsuite/26954
1199 * gdb.base/float128.exp: Detect and handle no mpfr support.
1200
4483a8e7
SM
12012020-12-10 Simon Marchi <simon.marchi@efficios.com>
1202
1203 PR gdb/24694
1204 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1205 calls.
1206
10067028
TV
12072020-12-10 Tom de Vries <tdevries@suse.de>
1208
1209 PR testsuite/26947
1210 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1211 braces for tcl 8.5 and earlier.
1212
5b56203a
SM
12132020-12-09 Simon Marchi <simon.marchi@efficios.com>
1214
1215 PR 26875, PR 26901
1216 * gdb.base/flexible-array-member.c: New test.
1217 * gdb.base/flexible-array-member.exp: New test.
1218
b46551b2
TV
12192020-12-08 Tom de Vries <tdevries@suse.de>
1220
1221 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1222 using is_amd64_regs_target.
1223
8439f446
TV
12242020-12-08 Tom de Vries <tdevries@suse.de>
1225
1226 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1227 self_id.
1228
bc545da7
PA
12292020-12-07 Pedro Alves <pedro@palves.net>
1230
1231 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1232 'additional_flags' variable.
1233
1f58f6c2
TBA
12342020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1235
1236 * gdb.linespec/explicit.exp: Extend with a test to check completing
1237 '-' after seemingly complete options.
1238
5759831a
TBA
12392020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1240
1241 * gdb.linespec/keywords.exp: Add tests to check positional
1242 flexibility of "-force-condition".
1243
21e051b3
TBA
12442020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1245
1246 * gdb.base/bp-cmds-run-with-ex.c: New file.
1247 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1248 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1249 * gdb.gdb/python-interrupts.exp: Update the call to
1250 'catch_command_errors' with the new argument.
1251 * gdb.gdb/python-selftest.exp: Ditto.
1252
187b041e
SM
12532020-12-04 Simon Marchi <simon.marchi@efficios.com>
1254
1255 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1256 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1257 * gdb.threads/non-stop-fair-events.exp: Likewise.
1258
3b7a962d
SM
12592020-12-04 Simon Marchi <simon.marchi@efficios.com>
1260
1261 * gdb.threads/step-over-exec.exp: New.
1262 * gdb.threads/step-over-exec.c: New.
1263 * gdb.threads/step-over-exec-execd.c: New.
1264 * lib/my-syscalls.S: New.
1265 * lib/my-syscalls.h: New.
1266
e633b117
SM
12672020-12-04 Simon Marchi <simon.marchi@efficios.com>
1268
1269 * lib/dwarf.exp (declare_labels): Use name as text if text is
1270 not provided.
1271
67748e0f
TV
12722020-12-04 Tom de Vries <tdevries@suse.de>
1273
1274 PR testsuite/26990
1275 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1276 are unsupported.
1277
a8d13675
TV
12782020-12-04 Tom de Vries <tdevries@suse.de>
1279
1280 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1281 clause.
1282
f17727b3
TV
12832020-12-04 Tom de Vries <tdevries@suse.de>
1284
1285 * gdb.reverse/insn-reverse.exp: Fix count handling.
1286
a1499830
TV
12872020-12-04 Tom de Vries <tdevries@suse.de>
1288
1289 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1290 __x86_64__.
1291
9c027c2f
TV
12922020-12-04 Tom de Vries <tdevries@suse.de>
1293
1294 * gdb.reverse/insn-reverse.c (test_nr): New var.
1295 (usage, parse_args): New function.
1296 (main): Call parse_args. Only run test for test_nr.
1297 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1298 and bail out. Run subtests individually, using an inferior arg
1299 specifying the subtest.
1300
533b2ae0
AB
13012020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1302
1303 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1304
e4502042
AB
13052020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1306
1307 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1308 update test to use this.
1309
f55a9a37
SM
13102020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1311
1312 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1313
0a6155a0
SM
13142020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1315
1316 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1317 (do_test): Don't use with_test_prefix.
1318 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1319 (do_test): Don't use with_test_prefix.
1320 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1321 (do_test): Don't use with_test_prefix.
1322 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1323 (do_test): Don't use with_test_prefix.
1324
4d56d64a
SM
13252020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1326
1327 * gdb.threads/non-ldr-exit.exp: Fix comment.
1328
54e75f29
AB
13292020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.xml/maint-xml-dump-03.xml: New file.
1332
7ce05d21
TV
13332020-11-30 Tom de Vries <tdevries@suse.de>
1334
1335 PR symtab/26905
1336 * gdb.dwarf2/count.exp: Remove kfails.
1337
50757f95
TBA
13382020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1339
1340 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1341 indices.
1342
4afa9fd9
JB
13432020-11-24 Joel Brobecker <brobecker@adacore.com>
1344
1345 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1346 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1347 languages. Remove the associated setup_xfail.
1348
15a491af
SM
13492020-11-23 Simon Marchi <simon.marchi@efficios.com>
1350
1351 * lib/gdb.exp (gdb_assert): Show error message on error.
1352
891615f0
TV
13532020-11-23 Tom de Vries <tdevries@suse.de>
1354
1355 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1356 * gdb.ada/mod_from_name.exp: Same.
1357 * gdb.ada/pckd_arr_ren.exp: Same.
1358
19922582
SM
13592020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1360
1361 * gdb.base/template.exp: New.
1362 * gdb.base/template.c: New.
1363
117c628d
GB
13642020-11-22 Gary Benson <gbenson@redhat.com>
1365
1366 PR gdb/26905
1367 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1368 is defined using a DW_AT_count which references another DIE.
1369
da39d3ba
TV
13702020-11-21 Tom de Vries <tdevries@suse.de>
1371
1372 * gdb.base/vla-ptr.exp: Add XFAIL.
1373
a5c641b5
AB
13742020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1375
1376 * gdb.fortran/array-slices-bad.exp: New file.
1377 * gdb.fortran/array-slices-bad.f90: New file.
1378 * gdb.fortran/array-slices-sub-slices.exp: New file.
1379 * gdb.fortran/array-slices-sub-slices.f90: New file.
1380 * gdb.fortran/array-slices.exp: Rewrite tests.
1381 * gdb.fortran/array-slices.f90: Rewrite tests.
1382 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1383
a15a5258
AB
13842020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1385
1386 * gdb.base/completion.exp: Add new completion tests.
1387
7cb2893d
SM
13882020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1389
1390 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1391 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1392 * gdb.mi/mi-nsintrall.exp: Likewise.
1393 * gdb.mi/mi-nsmoribund.exp: Likewise.
1394 * gdb.mi/mi-nsthrexec.exp: Likewise.
1395 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1396
cf144ec8
SM
13972020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1398
1399 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1400 of perror.
1401
6b6a3e05
JM
14022020-11-18 Joseph Myers <joseph@codesourcery.com>
1403
1404 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1405 $arg.exe exists but $arg does not.
1406
811bdca0
GB
14072020-11-17 Gary Benson <gbenson@redhat.com>
1408
1409 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1410 __attribute__ ((used)).
1411
c72e3136
AB
14122020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1413
1414 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1415
037d7135
AB
14162020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1417
1418 * gdb.base/completion.exp: Add new tests.
1419
119e99bb
TT
14202020-11-16 Tom Tromey <tromey@adacore.com>
1421
1422 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1423 tests.
1424
b74dbc20
JB
14252020-11-15 Joel Brobecker <brobecker@adacore.com>
1426
1427 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1428 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1429 (main): Add reference to pck__fp1_var2.
1430 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1431
0a12719e
JB
14322020-11-15 Joel Brobecker <brobecker@adacore.com>
1433
1434 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1435
0c9150e4
JB
14362020-11-15 Joel Brobecker <brobecker@adacore.com>
1437
1438 * gdb.ada/fixed_points.exp: Add ptype tests.
1439 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1440
b26daff9
JB
14412020-11-15 Joel Brobecker <brobecker@adacore.com>
1442
1443 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1444
09584414
JB
14452020-11-15 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1448 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1449 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1450 New files.
1451 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1452
1453 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1454 New files.
1455
9dd02fc0
AB
14562020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1457
1458 PR cli/26879
1459 * gdb.fortran/completion.exp: New file.
1460 * gdb.fortran/completion.f90: New file.
1461
5643c500
JM
14622020-11-12 Joseph Myers <joseph@codesourcery.com>
1463
1464 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1465 but $arg does not.
1466
7bea47f0
AB
14672020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 * gdb.fortran/types.exp: Add more tests.
1470
1f2624a3
TT
14712020-11-12 Tom Tromey <tom@tromey.com>
1472
1473 PR rust/26799:
1474 * gdb.rust/traits.exp: Remove kfails.
1475
9e74f0ae
GB
14762020-11-12 Gary Benson <gbenson@redhat.com>
1477
1478 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1479 statement.
1480
acb994fa
SM
14812020-11-11 Simon Marchi <simon.marchi@efficios.com>
1482
1483 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1484 always-inserted" axis.
1485 (do_test): Add breakpoint_always_inserted parameter.
1486
95016fd2
TT
14872020-11-10 Tom Tromey <tromey@adacore.com>
1488
1489 * gdb.ada/bias.exp: Update.
1490 * gdb.ada/bias/bias.adb (X): Change value.
1491
83100a74
GB
14922020-11-10 Gary Benson <gbenson@redhat.com>
1493
1494 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1495 regexp fragment in parentheses to prevent false matching.
1496
6ff174a7
GB
14972020-11-10 Gary Benson <gbenson@redhat.com>
1498
1499 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1500
eb24648c
GB
15012020-11-10 Gary Benson <gbenson@redhat.com>
1502
1503 * gdb.cp/step-and-next-inline.exp: Only require
1504 -gstatement-frontiers when building with GCC.
1505 Only setup KFAIL's for GCC issues when using
1506 a GCC-built executable.
1507
86775fab
AB
15082020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1509
1510 * gdb.base/debug-expr.c: Add extra function to allow for an
1511 additional test.
1512 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1513 to this proc with gdb_test_debug_expr. Add an extra test.
1514 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1515 to this proc with gdb_test_debug_expr, give the tests names
1516 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1517 calls to this proc with gdb_test_debug_expr, give the tests names
1518 * gdb.fortran/debug-expr.exp: New file.
1519 * gdb.fortran/debug-expr.f90: New file.
1520 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1521
a1945bd4
SM
15222020-11-06 Simon Marchi <simon.marchi@efficios.com>
1523
1524 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1525 proceduresu.
1526 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1527 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1528 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1529 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1530 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1531 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1532 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1533 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1534
9c91c725
TT
15352020-11-04 Tom Tromey <tromey@adacore.com>
1536
1537 * gdb.ada/funcall_ref.exp: Update.
1538 * gdb.ada/var_rec_arr.exp: Update.
1539
8d9fd3a1
TT
15402020-11-04 Tom Tromey <tromey@adacore.com>
1541
1542 * gdb.ada/rec_ptype.exp: New file.
1543 * gdb.ada/rec_ptype/main.adb: New file.
1544 * gdb.ada/rec_ptype/p.ads: New file.
1545
d8f62e84
TT
15462020-11-04 Tom Tromey <tromey@adacore.com>
1547
1548 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1549 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1550 (PT_Full): New variable.
1551 * gdb.ada/tick_length_array_enum_idx/pck.adb
1552 (Full_PT): New type.
1553
7ff5b937
TT
15542020-11-04 Tom Tromey <tromey@adacore.com>
1555
1556 * gdb.ada/array_of_variant.exp: New file.
1557 * gdb.ada/array_of_variant/p.adb: New file.
1558 * gdb.ada/array_of_variant/pck.ads: New file.
1559 * gdb.ada/array_of_variant/pck.adb: New file.
1560
10f6a3ad
TT
15612020-11-04 Tom Tromey <tromey@adacore.com>
1562
1563 * gdb.ada/enum_idx_packed.exp: Add test.
1564 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1565 New variable.
1566 * gdb.ada/enum_idx_packed/pck.ads (Short)
1567 (Multi_Dimension, Multi_Dimension_Access): New types.
1568
b72795a8
TT
15692020-11-04 Tom Tromey <tromey@adacore.com>
1570
1571 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1572
24aa1b02
TT
15732020-11-04 Tom Tromey <tromey@adacore.com>
1574
1575 * gdb.ada/set_pckd_arr_elt.exp: Also test
1576 -fgnat-encodings=minimal. Add tests.
1577 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1578 Call Update_Small a second time.
1579 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1580 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1581 (Variant_Access): New types.
1582 (New_Variant): Declare.
1583
c9a28cbe
TT
15842020-11-04 Tom Tromey <tromey@adacore.com>
1585
1586 * gdb.ada/mod_from_name.exp: Test printing slice.
1587
57567375
TT
15882020-11-04 Tom Tromey <tromey@adacore.com>
1589
1590 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1591 values.
1592 * gdb.ada/access_to_unbounded_array.exp: Test different
1593 -fgnat-encodings values.
1594 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1595 values.
1596 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1597 values.
1598 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1599 values.
1600 * gdb.ada/array_of_variable_length.exp: Test different
1601 -fgnat-encodings values.
1602 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1603 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1604 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1605 change.
1606 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1607 values.
1608 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1609 * gdb.ada/out_of_line_in_inlined.exp: Test different
1610 -fgnat-encodings values.
1611 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1612 values.
1613 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1614 values.
1615 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1616 -fgnat-encodings values.
1617 * gdb.ada/variant_record_packed_array.exp: Test different
1618 -fgnat-encodings values.
1619
a7400e44
TT
16202020-11-04 Tom Tromey <tromey@adacore.com>
1621
1622 * gdb.ada/enum_idx_packed.exp: Add tests.
1623 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1624 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1625 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1626 declarations.
1627
c40907bf
TV
16282020-11-03 Tom de Vries <tdevries@suse.de>
1629
1630 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1631 terminator comments.
1632 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1633 terminator.
1634
f468977a
SM
16352020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1636
1637 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1638 integer format test with regexp.
1639
1c2bec19
GB
16402020-11-02 Gary Benson <gbenson@redhat.com>
1641
1642 * gdb.base/print-file-var.exp (test): Separate compiler and
1643 linker options, and build using build_executable_from_specs
1644 to accommodate this.
1645
6539a36d
GB
16462020-11-02 Gary Benson <gbenson@redhat.com>
1647
1648 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1649 for .c files compiled as C++ with Clang if any shared
1650 libraries are specified.
1651
7ea44a51
GB
16522020-11-02 Gary Benson <gbenson@redhat.com>
1653
1654 * lib/attributes.h: New header.
1655 * gdb.base/backtrace.c: Include the above. Replace
1656 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1657 * gdb.base/infcall-nested-structs.c: Likewise.
1658 * gdb.base/vla-optimized-out.c: Likewise.
1659
ab8f783d
TV
16602020-11-02 Tom de Vries <tdevries@suse.de>
1661
1662 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1663
d77c9224
JB
16642020-11-01 Joel Brobecker <brobecker@adacore.com>
1665
1666 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1667 System.Min_Int and System.Max_Int with smaller hardcoded
1668 constants.
1669
0e5b0dd0
SM
16702020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1671
1672 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1673 * configure: Re-generate.
1674
136821d9
SM
16752020-10-30 Simon Marchi <simon.marchi@efficios.com>
1676
1677 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1678 expected output.
1679
b78b3a29
TBA
16802020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1681
1682 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1683 behavior.
1684 * gdb.base/paginate-bg-execution.exp: Ditto.
1685 * gdb.base/paginate-inferior-exit.exp: Ditto.
1686 * gdb.base/double-prompt-target-event-error.c: Remove.
1687 * gdb.base/double-prompt-target-event-error.exp: Remove.
1688
cfaa8f76
TBA
16892020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1690
1691 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1692 inferiors' and 'detach inferiors' do not change the current
1693 inferior.
1694
0ad0e70c
TV
16952020-10-29 Tom de Vries <tdevries@suse.de>
1696
1697 * gdb.threads/tls.exp: Fix DUPLICATEs.
1698
99cc6b2a
TV
16992020-10-28 Tom de Vries <tdevries@suse.de>
1700
1701 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1702
efe9b873
TV
17032020-10-28 Tom de Vries <tdevries@suse.de>
1704
1705 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1706 * gdb.base/reread.exp: Same.
1707
6b68fd45
TV
17082020-10-28 Tom de Vries <tdevries@suse.de>
1709
1710 * lib/gdb.exp (readnow): Handle arg.
1711 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1712
32a5f98a
TV
17132020-10-28 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.base/relocate.exp: Update regexp for -readnow.
1716
f93b8760
TV
17172020-10-28 Tom de Vries <tdevries@suse.de>
1718
1719 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1720 -readnow.
1721
1b00ef06
TV
17222020-10-28 Tom de Vries <tdevries@suse.de>
1723
1724 PR symtab/26772
1725 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1726 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1727
364bb903
TV
17282020-10-28 Tom de Vries <tdevries@suse.de>
1729
1730 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1731 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1732 complaint during file command for -readnow.
1733
445a033f
TV
17342020-10-28 Tom de Vries <tdevries@suse.de>
1735
1736 * gdb.cp/nsalias.exp: Fix typo in test name.
1737
fdd67a42
TV
17382020-10-28 Tom de Vries <tdevries@suse.de>
1739
1740 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1741
706baf4c
TV
17422020-10-28 Tom de Vries <tdevries@suse.de>
1743
1744 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1745 -readnow.
1746
b448cca5
TV
17472020-10-27 Tom de Vries <tdevries@suse.de>
1748
1749 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1750
5868da03
TV
17512020-10-27 Tom de Vries <tdevries@suse.de>
1752
1753 * gdb.base/maint.exp: Update for -readnow.
1754
06db6ec3
TV
17552020-10-27 Tom de Vries <tdevries@suse.de>
1756
1757 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1758 -readnow.
1759
934a1764
GB
17602020-10-14 Gary Benson <gbenson@redhat.com>
1761
1762 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1763 "_vptr$Base" as correct, in addition to "_vptr.Base".
1764 (test_mixed): Likewise.
1765
0bf21fbd
GB
17662020-10-27 Gary Benson <gbenson@redhat.com>
1767
1768 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1769 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1770
b1d4d8d1
TBA
17712020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1772
1773 * gdb.base/condbreak.exp: Update the completion tests to
1774 consider the '-force' flag.
1775
bd24c5d6
TV
17762020-10-27 Tom de Vries <tdevries@suse.de>
1777
1778 * gdb.base/list-ambiguous-readnow.exp: New file.
1779
733d554a
TBA
17802020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1781
1782 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1783 the condition.
1784 * gdb.linespec/cpcompletion.exp: Update to consider the
1785 '-force-condition' keyword.
1786 * gdb.linespec/explicit.exp: Ditto.
1787 * lib/completion-support.exp: Ditto.
1788
b5fa468f
TBA
17892020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1790
1791 * gdb.base/condbreak-multi-context.cc: New file.
1792 * gdb.base/condbreak-multi-context.exp: New file.
1793
b3247276
TT
17942020-10-26 Tom Tromey <tom@tromey.com>
1795
1796 * lib/mi-support.exp (default_mi_gdb_start): Call
1797 gdb_stdin_log_init.
1798 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1799 subtract one from gdb_instances.
1800 (gdb_stdin_log_write): Flush in_file.
1801
1c47ec3e
TV
18022020-10-26 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1805
6390859c
TT
18062020-10-26 Tom Tromey <tromey@adacore.com>
1807
1808 * gdb.ada/unsigned_range/foo.adb: New file.
1809 * gdb.ada/unsigned_range/pack.adb: New file.
1810 * gdb.ada/unsigned_range/pack.ads: New file.
1811 * gdb.ada/unsigned_range.exp: New file.
1812
55c3ad88
TV
18132020-10-26 Tom de Vries <tdevries@suse.de>
1814
1815 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1816
1612c4bb
TV
18172020-10-26 Tom de Vries <tdevries@suse.de>
1818
1819 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1820 for CU.
1821 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1822
7d72802b
TV
18232020-10-23 Tom de Vries <tdevries@suse.de>
1824
1825 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1826 DW_FORM_string.
1827 (Dwarf::_default_form): New proc.
1828 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1829 guessed.
1830
9476b583
TV
18312020-10-23 Tom de Vries <tdevries@suse.de>
1832
1833 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1834 * gdb.dwarf2/atomic-type.exp: Same.
1835 * gdb.dwarf2/bad-regnum.exp: Same.
1836 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1837 * gdb.dwarf2/dw2-align.exp: Same.
1838 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1839 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1840 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1841 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1842 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1843 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1844 * gdb.dwarf2/enum-type.exp: Same.
1845 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1846 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1847 * gdb.dwarf2/main-subprogram.exp: Same.
1848 * gdb.dwarf2/missing-type-name.exp: Same.
1849 * gdb.dwarf2/nonvar-access.exp: Same.
1850 * gdb.dwarf2/typedef-void-finish.exp: Same.
1851 * gdb.dwarf2/var-access.exp: Same.
1852 * gdb.dwarf2/void-type.exp: Same.
1853
4a636814
SM
18542020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1855
1856 PR gdb/26693
1857 * gdb.dwarf2/template-specification-full-name.exp: New test.
1858
557fc257
LM
18592020-10-22 Luis Machado <luis.machado@linaro.org>
1860
1861 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1862 expected an offset from the function.
1863 * gdb.base/msym-bp.exp (test): Likewise.
1864
6b4c676c
AB
18652020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1866
1867 * gdb.fortran/array-slices.exp: Add a new test.
1868
98cec4f6
GB
18692020-10-21 Gary Benson <gbenson@redhat.com>
1870
1871 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1872 fullname test with Clang. Also expand comments generally.
1873
ae86f581
TV
18742020-10-20 Tom de Vries <tdevries@suse.de>
1875
1876 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1877
8c161360
TV
18782020-10-20 Tom de Vries <tdevries@suse.de>
1879
1880 * gdb.dwarf2/arr-stride.c: Remove.
1881 * gdb.dwarf2/arr-stride.exp: Use main.c.
1882 * gdb.dwarf2/arr-subrange.c: Remove.
1883 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1884 * gdb.dwarf2/bad-regnum.c: Remove.
1885 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1886 * gdb.dwarf2/corrupt.c: Remove.
1887 * gdb.dwarf2/corrupt.exp: Use main.c.
1888 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1889 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1890 * gdb.dwarf2/dw2-icycle.c: Remove.
1891 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1892 * gdb.dwarf2/formdata16.c: Remove.
1893 * gdb.dwarf2/formdata16.exp: Use main.c.
1894 * gdb.dwarf2/implptrconst.c: Remove.
1895 * gdb.dwarf2/implptrconst.exp: Use main.c.
1896 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1897 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1898 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1899 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1900
9c2412ec
TV
19012020-10-20 Tom de Vries <tdevries@suse.de>
1902
1903 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1904 file.
1905 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1906
0cd2ad78
TV
19072020-10-20 Tom de Vries <tdevries@suse.de>
1908
1909 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1910 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1911 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1912 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1913 * gdb.dwarf2/dw2-ranges.exp: Same.
1914 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1915 * gdb.dwarf2/var-access.exp: Same.
1916
22cc388e
TT
19172020-10-19 Tom Tromey <tromey@adacore.com>
1918
1919 PR tui/26719
1920 * gdb.tui/list.exp: Check source window contents after focus
1921 change.
1922
520596f2
TV
19232020-10-17 Tom de Vries <tdevries@suse.de>
1924
1925 PR symtab/26317
1926 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1927
d1c8a76d
TV
19282020-10-17 Tom de Vries <tdevries@suse.de>
1929
1930 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1931 as suffix.
1932 * gdb.dwarf2/atomic.c: Rename to ...
1933 * gdb.dwarf2/atomic-type.c: ... this.
1934 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1935 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1936 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1937 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1938 * gdb.dwarf2/fission-mix2.c: Rename to ...
1939 * gdb.dwarf2/fission-mix-2.c: ... this.
1940 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1941 standard_testfile.
1942 * gdb.dwarf2/ada-valprint-error.exp: Same.
1943 * gdb.dwarf2/arr-stride.exp: Same.
1944 * gdb.dwarf2/arr-subrange.exp: Same.
1945 * gdb.dwarf2/atomic-type.exp: Same.
1946 * gdb.dwarf2/bad-regnum.exp: Same.
1947 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1948 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1949 * gdb.dwarf2/clang-debug-names.exp: Same.
1950 * gdb.dwarf2/comp-unit-lang.exp: Same.
1951 * gdb.dwarf2/corrupt.exp: Same.
1952 * gdb.dwarf2/count.exp: Same.
1953 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1954 * gdb.dwarf2/data-loc.exp: Same.
1955 * gdb.dwarf2/dw2-align.exp: Same.
1956 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1957 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1958 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1959 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1960 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1961 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1962 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1963 * gdb.dwarf2/dw2-inline-param.exp: Same.
1964 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1965 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1966 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1967 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1968 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1969 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1970 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1971 * gdb.dwarf2/dw2-param-error.exp: Same.
1972 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1973 * gdb.dwarf2/dw2-ranges.exp: Same.
1974 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1975 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1976 * gdb.dwarf2/dw4-sig-types.exp: Same.
1977 * gdb.dwarf2/dynarr-ptr.exp: Same.
1978 * gdb.dwarf2/enum-type.exp: Same.
1979 * gdb.dwarf2/fission-mix.exp: Same.
1980 * gdb.dwarf2/formdata16.exp: Same.
1981 * gdb.dwarf2/implptrconst.exp: Same.
1982 * gdb.dwarf2/implptrpiece.exp: Same.
1983 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1984 * gdb.dwarf2/main-subprogram.exp: Same.
1985 * gdb.dwarf2/method-ptr.exp: Same.
1986 * gdb.dwarf2/missing-sig-type.exp: Same.
1987 * gdb.dwarf2/nonvar-access.exp: Same.
1988 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1989 * gdb.dwarf2/shortpiece.exp: Same.
1990 * gdb.dwarf2/staticvirtual.exp: Same.
1991 * gdb.dwarf2/subrange.exp: Same.
1992 * gdb.dwarf2/symtab-producer.exp: Same.
1993 * gdb.dwarf2/typedef-void-finish.exp: Same.
1994 * gdb.dwarf2/var-access.exp: Same.
1995 * gdb.dwarf2/variant.exp: Same.
1996 * gdb.dwarf2/void-type.exp: Same.
1997 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1998 dw2-ranges-main.c.
1999 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2000
472d09c1
TV
20012020-10-16 Tom de Vries <tdevries@suse.de>
2002
2003 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2004
afe75f6d
TV
20052020-10-16 Tom de Vries <tdevries@suse.de>
2006
2007 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2008
8c8bd0ba
TV
20092020-10-14 Tom de Vries <tdevries@suse.de>
2010
2011 PR testsuite/26732
2012 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2013 scenario 2.
2014 * gdb.ada/mi_catch_ex_hand.exp: Same.
2015
b75d55d4
PA
20162020-10-13 Pedro Alves <pedro@palves.net>
2017
2018 * lib/mi-support.exp (mi_clean_restart): New.
2019 (mi_run_to_main): Delete.
2020 All callers adjust to use mi_clean_restart / mi_runto_main.
2021
e777225b
PA
20222020-10-13 Pedro Alves <pedro@palves.net>
2023
2024 * config/monitor.exp: Use "list -q".
2025 * gdb.arch/gdb1558.exp: Use "break -q".
2026 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2027 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2028 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2029 * gdb.base/commands.exp: Use "break -q".
2030 * gdb.base/condbreak.exp: Use "break -q".
2031 * gdb.base/ctf-ptype.exp: Use "list -q".
2032 * gdb.base/define.exp: Use "break -q".
2033 * gdb.base/del.exp: Use "break -q".
2034 * gdb.base/fullname.exp: Use "break -q".
2035 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2036 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2037 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2038 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2039 "hbreak -q".
2040 * gdb.base/included.exp: Use "list -q".
2041 * gdb.base/label.exp: Use "break -q".
2042 * gdb.base/lineinc.exp: Use "break -q".
2043 * gdb.base/list.exp: Use "list -q".
2044 * gdb.base/macscp.exp: Use "list -q".
2045 * gdb.base/pending.exp: Use "break -q".
2046 * gdb.base/prologue-include.exp: Use "break -q".
2047 * gdb.base/ptype.exp: Use "list -q".
2048 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2049 * gdb.base/server-del-break.exp: Use "break -q".
2050 * gdb.base/style.exp: Use "break -q".
2051 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2052 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2053 * gdb.cp/exception.exp: Use "tbreak -q".
2054 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2055 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2056 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2057 * gdb.dwarf2/pr13961.exp: Use "break -q".
2058 * gdb.linespec/explicit.exp: Use "list -q".
2059 * gdb.linespec/linespec.exp: Use "break -q".
2060 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2061 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2062 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2063 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2064 * gdb.trace/change-loc.exp: Use "break -q".
2065 * gdb.trace/pending.exp: Use "break -q".
2066 * gdb.tui/basic.exp: Use "list -q".
2067 * gdb.tui/list-before.exp: Use "list -q".
2068 * gdb.tui/list.exp: Use "list -q".
2069 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2070
8abd8ee8
PA
20712020-10-13 Pedro Alves <pedro@palves.net>
2072
2073 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2074 saved breakpoints file.
2075 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2076 inspecting breakpoint list.
2077 * lib/gdb.exp (runto_main): Add "qualified" to options.
2078 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2079 and handle it.
2080 (mi_runto_main): Pass 1 as qualified argument.
2081
f71e6719
PA
20822020-10-13 Pedro Alves <pedro@palves.net>
2083
2084 * lib/mi-support.exp (mi_runto_main): New proc.
2085 (mi_run_to_main): Use it.
2086 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2087 * gdb.mi/mi-var-cmd.exp: Likewise.
2088 * gdb.mi/mi-var-invalidate.exp: Likewise.
2089 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2090 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2091 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2092 * gdb.mi/user-selected-context-sync.exp: Likewise.
2093 * gdb.opt/inline-cmds.exp: Likewise.
2094 * gdb.python/py-framefilter-mi.exp: Likewise.
2095 * gdb.python/py-mi.exp: Likewise.
2096
50441f0f
PA
20972020-10-13 Pedro Alves <pedro@palves.net>
2098
2099 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2100 "runto main".
2101 * gdb.ada/small_reg_param.exp: Likewise.
2102 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2103 * gdb.base/annota1.exp: Likewise.
2104 * gdb.base/anon.exp: Likewise.
2105 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2106 * gdb.base/dprintf-non-stop.exp: Likewise.
2107 * gdb.base/dprintf.exp: Likewise.
2108 * gdb.base/gdb11530.exp: Likewise.
2109 * gdb.base/gdb11531.exp: Likewise.
2110 * gdb.base/gnu_vector.exp: Likewise.
2111 * gdb.base/interrupt-noterm.exp: Likewise.
2112 * gdb.base/memattr.exp: Likewise.
2113 * gdb.base/step-over-syscall.exp: Likewise.
2114 * gdb.base/watch-cond-infcall.exp: Likewise.
2115 * gdb.base/watch-read.exp: Likewise.
2116 * gdb.base/watch-vfork.exp: Likewise.
2117 * gdb.base/watch_thread_num.exp: Likewise.
2118 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2119 * gdb.guile/scm-frame-inline.exp: Likewise.
2120 * gdb.linespec/explicit.exp: Likewise.
2121 * gdb.opt/inline-break.exp: Likewise.
2122 * gdb.python/py-frame-inline.exp: Likewise.
2123 * gdb.reverse/break-precsave.exp: Likewise.
2124 * gdb.reverse/break-reverse.exp: Likewise.
2125 * gdb.reverse/consecutive-precsave.exp: Likewise.
2126 * gdb.reverse/consecutive-reverse.exp: Likewise.
2127 * gdb.reverse/finish-precsave.exp: Likewise.
2128 * gdb.reverse/finish-reverse.exp: Likewise.
2129 * gdb.reverse/fstatat-reverse.exp: Likewise.
2130 * gdb.reverse/getresuid-reverse.exp: Likewise.
2131 * gdb.reverse/i386-precsave.exp: Likewise.
2132 * gdb.reverse/i386-reverse.exp: Likewise.
2133 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2134 * gdb.reverse/i387-env-reverse.exp: Likewise.
2135 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2136 * gdb.reverse/insn-reverse.exp: Likewise.
2137 * gdb.reverse/machinestate-precsave.exp: Likewise.
2138 * gdb.reverse/machinestate.exp: Likewise.
2139 * gdb.reverse/pipe-reverse.exp: Likewise.
2140 * gdb.reverse/readv-reverse.exp: Likewise.
2141 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2142 * gdb.reverse/rerun-prec.exp: Likewise.
2143 * gdb.reverse/s390-mvcle.exp: Likewise.
2144 * gdb.reverse/solib-precsave.exp: Likewise.
2145 * gdb.reverse/solib-reverse.exp: Likewise.
2146 * gdb.reverse/step-precsave.exp: Likewise.
2147 * gdb.reverse/step-reverse.exp: Likewise.
2148 * gdb.reverse/time-reverse.exp: Likewise.
2149 * gdb.reverse/until-precsave.exp: Likewise.
2150 * gdb.reverse/until-reverse.exp: Likewise.
2151 * gdb.reverse/waitpid-reverse.exp: Likewise.
2152 * gdb.reverse/watch-precsave.exp: Likewise.
2153 * gdb.reverse/watch-reverse.exp: Likewise.
2154 * gdb.threads/kill.exp: Likewise.
2155 * gdb.threads/tid-reuse.exp: Likewise.
2156
d3a07122
SM
21572020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2158
2159 PR gdb/26642
2160 * gdb.base/maint-target-async-off.c: New test.
2161 * gdb.base/maint-target-async-off.exp: New test.
2162
c65c6c42
AM
21632020-10-13 Alan Modra <amodra@gmail.com>
2164
2165 * gdb.arch/powerpc-altivec.s,
2166 * gdb.arch/powerpc-power7.s,
2167 * gdb.arch/powerpc-power8.s,
2168 * gdb.arch/powerpc-power9.s,
2169 * gdb.arch/powerpc-vsx.s,
2170 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2171 * gdb.arch/powerpc-altivec.exp,
2172 * gdb.arch/powerpc-power7.exp,
2173 * gdb.arch/powerpc-power8.exp,
2174 * gdb.arch/powerpc-power9.exp,
2175 * gdb.arch/powerpc-vsx.exp,
2176 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2177 disassembly of mfvsrd/mtvsrd.
2178
f4a0f710
AM
21792020-10-13 Alan Modra <amodra@gmail.com>
2180
2181 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2182 "target architecture" output.
2183 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2184 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2185 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2186 * gdb.arch/s390-disassembler-options.exp: Likewise.
2187
87a37e5e
PA
21882020-10-12 Pedro Alves <pedro@palves.net>
2189
2190 PR exp/26602
2191 PR c++/26550
2192 * gdb.cp/ambiguous.cc (marker1): Delete.
2193 (main): Initialize all the fields of the locals. Replace marker1
2194 call with a "set breakpoint here" marker.
2195 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2196 instead of running to marker1. Add tests printing all the
2197 variables and all the fields of the variables.
2198 (test_ambiguous): New proc, expecting the new GDB output when a
2199 field access is ambiguous. Change all "warning: X ambiguous"
2200 tests to use it.
2201
71e1b6b0
GB
22022020-10-12 Gary Benson <gbenson@redhat.com>
2203
2204 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2205 * gdb.base/msym-bp-2.c (foo): Likewise.
2206 * gdb.base/msym-lang.c (foo): Likewise.
2207 * gdb.base/msym-lang-main.c (foo): Likewise.
2208 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2209 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2210 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2211 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2212 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2213 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2214 * gdb.python/py-objfile.c (static_var): Likewise.
2215 * gdb.python/py-symbol.c (rr): Likewise.
2216 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2217 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2218
9370fd51
AB
22192020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2220
2221 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2222 output of backtrace.
2223
7c184d33
TT
22242020-10-09 Tom Tromey <tromey@adacore.com>
2225
2226 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2227 (Rec): Add field. Fix range.
2228 * gdb.ada/scalar_storage.exp: Update.
2229
3d87245c
HD
22302020-10-09 Hannes Domani <ssbssa@yahoo.de>
2231
2232 PR exp/26714
2233 * gdb.base/printcmds.exp: Add tests for void results.
2234
f5c4b229
JV
22352020-10-09 Jan Vrany <jan.vrany@labware.com>
2236
2237 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2238 is emmited for both 'set directories' and 'directory' commands.
2239
b2701685
TT
22402020-10-08 Tom Tromey <tom@tromey.com>
2241
2242 * gdb.base/style.exp: Check that "main"'s name is styled.
2243
e86efb33
TT
22442020-10-07 Tom Tromey <tromey@adacore.com>
2245
2246 * gdb.base/find.exp: Rename some tests.
2247
30897591
GB
22482020-10-06 Gary Benson <gbenson@redhat.com>
2249
2250 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2251 * gdb.base/list1.c (unused): Likewise.
2252
ced4a4c1
GB
22532020-10-06 Gary Benson <gbenson@redhat.com>
2254
2255 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2256 __attribute__ ((used)).
2257 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2258
ed3bdac4
AB
22592020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2260
2261 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2262 make use of regions throughout.
2263 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2264 not {...}.
2265 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2266
cd096ec8
HD
22672020-10-05 Hannes Domani <ssbssa@yahoo.de>
2268
2269 * gdb.base/call-sc.c: Fix return struct on stack test case.
2270 * gdb.base/call-sc.exp: Likewise.
2271
3ee6f75d
GB
22722020-10-02 Gary Benson <gbenson@redhat.com>
2273
2274 * README: Fix "paralell".
2275
f65825ec
GB
22762020-09-30 Gary Benson <gbenson@redhat.com>
2277
2278 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2279 Convert directive to lowercase.
2280 (.Labbrev1_begin): Add missing label.
2281 (abbrev code 0x1): Remove DW_AT_stmt_list.
2282 (.Ldie_b): Likewise.
2283
5f278258
TT
22842020-09-27 Tom Tromey <tom@tromey.com>
2285
2286 * gdb.tui/new-layout.exp: Use with_test_prefix.
2287
8f9929bb
GR
22882020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2289
2290 PR python/26586
2291 * gdb.python/python.exp: add test cases for the from_tty
2292 argument to gdb.execute.
2293
c20c017b
GB
22942020-09-25 Gary Benson <gbenson@redhat.com>
2295
2296 * gdb.base/infcall-nested-structs.exp.tcl: Add
2297 additional_flags=-Wno-tautological-compare for C++
2298 tests when compiling using Clang.
2299
68d654af
GB
23002020-09-25 Gary Benson <gbenson@redhat.com>
2301
2302 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2303 for .c files.
2304
b551a89f
TT
23052020-09-24 Tom Tromey <tromey@adacore.com>
2306
2307 PR tui/26638:
2308 * gdb.tui/list.exp: Check output of "focus next".
2309
20a5fcbd
TT
23102020-09-23 Tom Tromey <tom@tromey.com>
2311
2312 * gdb.dwarf2/intbits.exp: New file.
2313 * gdb.dwarf2/intbits.c: New file.
2314
b167e53f
PA
23152020-09-20 Pedro Alves <pedro@palves.net>
2316
2317 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2318 spawn_id before calling remote_close. Close secondary MI channel.
2319
dbc49e9f
PA
23202020-09-20 Pedro Alves <pedro@palves.net>
2321
2322 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2323 fails.
2324
c8d5abea
AB
23252020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2326
2327 * gdb.fortran/array-slices.exp: Update expected results.
2328 * gdb.fortran/class-allocatable-array.exp: Likewise.
2329 * gdb.fortran/multi-dim.exp: Likewise.
2330 * gdb.fortran/vla-type.exp: Likewise.
2331 * gdb.mi/mi-vla-fortran.exp: Likewise.
2332
14f9473c
VC
23332020-09-18 Victor Collod <vcollod@nvidia.com>
2334
2335 PR gdb/26635
2336 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2337 compatible with i386, and move it to...
2338 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2339 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2340 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2341
e8ef12b9
PA
23422020-09-18 Pedro Alves <pedro@palves.net>
2343
2344 PR gdb/26631
2345 * gdb.multi/multi-target-thread-find.exp: New file.
2346
e11daf7a
PA
23472020-09-18 Pedro Alves <pedro@palves.net>
2348
2349 * gdb.multi/multi-target-continue.exp: New file, factored out from
2350 multi-target.exp.
2351 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2352 multi-target.exp.
2353 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2354 multi-target.exp.
2355 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2356 multi-target.exp.
2357 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2358 multi-target.exp.
2359 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2360 multi-target.exp.
2361 * gdb.multi/multi-target.exp: Delete.
2362
d0edc2b8
AB
23632020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.fortran/array-slices.exp: Add missing message data.
2366
7474326c
PA
23672020-09-17 Pedro Alves <pedro@palves.net>
2368
2369 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2370
dd23068d
PA
23712020-09-17 Pedro Alves <pedro@palves.net>
2372
2373 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2374 full prototype.
2375
0640a543
PA
23762020-09-17 Pedro Alves <pedro@palves.net>
2377
2378 * gdb.python/py-as-string.c: Add cast.
2379
ef0cdbc1
PA
23802020-09-17 Pedro Alves <pedro@palves.net>
2381
2382 * gdb.base/sizeof.c (fill): Add cast.
2383
3a5eeb8b
PA
23842020-09-17 Pedro Alves <pedro@palves.net>
2385
2386 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2387
a8129512
PA
23882020-09-17 Pedro Alves <pedro@palves.net>
2389
2390 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2391 linkage name.
2392 * gdb.base/prologue.exp: Use print /d.
2393 * gdb.base/symbol-alias.exp: Handle C++ output.
2394 * gdb.base/symbol-alias2.c: Handle C++ output.
2395 [__cplusplus] (func): Explicitly specify linkage name.
2396
a83cdcb6
PA
23972020-09-17 Pedro Alves <pedro@palves.net>
2398
2399 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2400 (struct my_key_t): ... this. Adjust all references.
2401 (struct value_t): Rename to ...
2402 (struct my_value_t): ... this. Adjust all references.
2403 (create_map, add_map_element, create_map_map)
2404 (add_map_map_element): Add casts.
2405
d4bcee5c
PA
24062020-09-17 Pedro Alves <pedro@palves.net>
2407
2408 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2409 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2410
81f90489
PA
24112020-09-17 Pedro Alves <pedro@palves.net>
2412
2413 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2414
0a229804
PA
24152020-09-17 Pedro Alves <pedro@palves.net>
2416
2417 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2418 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2419 (charfoo, intfoo): Define full prototype.
2420 * gdb.base/ptype1.c (charfoo): Define full prototype.
2421 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2422 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2423
c3e5138d
PA
24242020-09-17 Pedro Alves <pedro@palves.net>
2425
2426 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2427 Don't define.
2428 (utf_32_string): Compile for both C and C++.
2429 * gdb.base/charset.exp: Use "print /d".
2430
151fdbad
PA
24312020-09-17 Pedro Alves <pedro@palves.net>
2432
2433 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2434 (nullptr): Rename to ...
2435 (null_ptr): ... this.
2436 * gdb.base/watchpoint.exp: Adjust to rename.
2437
18a25b64
PA
24382020-09-17 Pedro Alves <pedro@palves.net>
2439
2440 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2441 (three_not_flag): Add casts.
2442
11fac337
PA
24432020-09-17 Pedro Alves <pedro@palves.net>
2444
2445 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2446 char array.
2447 (main): Add references to Barrier, TestStrings, TestStringsH and
2448 TestStringsW.
2449 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2450 and expect a full prototype in C++.
2451
52626c58
PA
24522020-09-17 Pedro Alves <pedro@palves.net>
2453
2454 * gdb.base/nested-addr.c (main): Add cast.
2455 * gdb.base/nested-addr.exp: Use "print /d".
2456
52bb0902
PA
24572020-09-17 Pedro Alves <pedro@palves.net>
2458
2459 * gdb.base/break.exp (func): New. Use it throughout when
2460 expecting a function name.
2461
73e18ac9
PA
24622020-09-17 Pedro Alves <pedro@palves.net>
2463
2464 * gdb.base/display.exp: Issue "set print asm-demangle on".
2465
c8b18808
PA
24662020-09-17 Pedro Alves <pedro@palves.net>
2467
2468 * gdb.base/find.c: Include <string.h>.
2469 (init_bufs): Add cast.
2470 * gdb.base/find.exp: Issue "set print asm-demangle on".
2471
fe830662
TT
24722020-09-16 Tom Tromey <tromey@adacore.com>
2473
2474 PR gdb/26598:
2475 * gdb.base/skipcxx.exp: New file.
2476 * gdb.base/skipcxx.cc: New file.
2477
945ff6e2
TV
24782020-09-16 Tom de Vries <tdevries@suse.de>
2479
2480 PR testsuite/26617
2481 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2482 WITH_DEBUG_SECTIONS is defined.
2483 (xstr, str): New macro.
2484 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2485 to get start and size of _Dmain.
2486 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2487 using additional_flags.
2488
da1df1db
TBA
24892020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2490
2491 * gdb.base/bp-cmds-sourced-script.c: New file.
2492 * gdb.base/bp-cmds-sourced-script.exp: New test.
2493 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2494
337882d4
TV
24952020-09-16 Tom de Vries <tdevries@suse.de>
2496
2497 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2498 get the gdb prompt after issuing "monitor exit".
2499
7361f908
TV
25002020-09-16 Tom de Vries <tdevries@suse.de>
2501
2502 PR testsuite/26624
2503 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2504
4d91ddd3
TV
25052020-09-16 Tom de Vries <tdevries@suse.de>
2506
2507 PR testsuite/26618
2508 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2509
08cc37dd
TT
25102020-09-15 Tom Tromey <tromey@adacore.com>
2511
2512 PR rust/26197:
2513 * lib/rust-support.exp (rust_llvm_version): New proc.
2514 * gdb.rust/simple.exp: Check rust_llvm_version.
2515
ee6372f2
TV
25162020-09-14 Tom de Vries <tdevries@suse.de>
2517
2518 * gdb.rust/traits.exp: Fix PATH warning.
2519
dc3a371e
PA
25202020-09-13 Pedro Alves <pedro@palves.net>
2521
2522 * gdb.base/catch-follow-exec.c (main): Add explicit return
2523 statement.
2524 * gdb.base/catch-signal.c (main): Likewise.
2525 * gdb.base/condbreak-call-false.c (main): Likewise.
2526 * gdb.base/consecutive.c (main): Add explicit return
2527 statement and return type.
2528 * gdb.base/cursal.c (main): Add explicit return statement.
2529 * gdb.base/cvexpr.c (main): Likewise.
2530 * gdb.base/display.c (main): Add explicit return statement and
2531 return type.
2532 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2533 * gdb.base/endianity.c (main): Likewise.
2534 * gdb.base/execd-prog.c (main): Likewise.
2535 * gdb.base/gdb1090.c (main): Likewise.
2536 * gdb.base/info_qt.c (main): Likewise.
2537 * gdb.base/lineinc.c (main): Likewise.
2538 * gdb.base/load-command.c (main): Likewise.
2539 * gdb.base/macscp1.c (main): Likewise.
2540 * gdb.base/pr10179-a.c (main): Likewise.
2541 * gdb.base/quit-live.c (main): Likewise.
2542 * gdb.base/scope0.c (main): Likewise.
2543 * gdb.base/settings.c (main): Likewise.
2544 * gdb.base/stack-checking.c (main): Return int.
2545 * gdb.base/varargs.c (main): Add explicit return statement.
2546 * gdb.cp/ambiguous.cc (main): Likewise.
2547 * gdb.cp/anon-struct.cc (main): Likewise.
2548 * gdb.cp/anon-union.cc (main): Likewise.
2549 * gdb.cp/bool.cc (main): Likewise.
2550 * gdb.cp/bs15503.cc (main): Likewise.
2551 * gdb.cp/cplusfuncs.cc (main): Likewise.
2552 * gdb.cp/cttiadd.cc (main): Likewise.
2553 * gdb.cp/extern-c.cc (main): Likewise.
2554 * gdb.cp/filename.cc (main): Likewise.
2555 * gdb.cp/formatted-ref.cc (main): Likewise.
2556 * gdb.cp/mb-ctor.cc (main): Likewise.
2557 * gdb.cp/member-ptr.cc (main): Likewise.
2558 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2559 * gdb.cp/overload-const.cc (main): Likewise.
2560 * gdb.cp/paren-type.cc (main): Likewise.
2561 * gdb.cp/parse-lang.cc (main): Likewise.
2562 * gdb.cp/pr-1023.cc (main): Likewise.
2563 * gdb.cp/psmang1.cc (main): Likewise.
2564 * gdb.cp/readnow-language.cc (main): Likewise.
2565 * gdb.cp/ref-params.cc (main): Likewise.
2566 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2567 * gdb.cp/virtbase2.cc (main): Likewise.
2568 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2569 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2570 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2571 * gdb.mi/mi-console.c (main): Likewise.
2572 * gdb.mi/mi-read-memory.c (main): Likewise.
2573 * gdb.modula2/multidim.c (main): Likewise.
2574 * gdb.opt/inline-small-func.c (main): Likewise.
2575 * gdb.python/py-rbreak.c (main): Likewise.
2576 * gdb.stabs/exclfwd1.c (main): Likewise.
2577 * gdb.trace/qtro.c (main): Likewise.
2578
af26601c
PA
25792020-09-13 Pedro Alves <pedro@palves.net>
2580
2581 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2582 instead of getenv.
2583
2f4b83cd
PA
25842020-09-13 Pedro Alves <pedro@palves.net>
2585
2586 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2587 instead of spawning GDB with remote_spawn.
2588 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2589 gdb_spawn instead of spawning GDB with remote_spawn.
2590
c49da0e4
PA
25912020-09-13 Pedro Alves <pedro@palves.net>
2592
2593 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2594 file and add calls to first and second.
2595 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2596 add call to f.
2597
6791b117
PA
25982020-09-13 Pedro Alves <pedro@palves.net>
2599
2600 * gdb.mi/mi-break-qualified.cc: New file.
2601 * gdb.mi/mi-break-qualified.exp: New file.
2602 * lib/mi-support.exp (mi_create_breakpoint_multi)
2603 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2604 procedures.
2605 (mi_create_breakpoint_1): New, factored out from
2606 mi_create_breakpoint.
2607
3b8d4c5c
PA
26082020-09-13 Pedro Alves <pedro@palves.net>
2609
2610 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2611 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2612 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2613 (register_class): Delete.
2614 (main): Don't call register_class.
2615
d5f96005
PA
26162020-09-13 Pedro Alves <pedro@palves.net>
2617
2618 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2619 (do_tests): Remove "calling method for small class" test.
2620 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2621 (register_class): Delete.
2622 (main): Don't call register_class.
2623 * gdb.cp/call-method-register.exp: New file, based on bits removed
2624 from classes.exp.
2625 * gdb.cp/call-method-register.cc: New file, based on bits removed
2626 from classes.cc.
2627
77f2120b
PA
26282020-09-13 Pedro Alves <pedro@palves.net>
2629
2630 * gdb.base/msym-bp-2.c: New.
2631 * gdb.base/msym-bp-shl-lib.c: New file.
2632 * gdb.base/msym-bp-shl-main-2.c: New file.
2633 * gdb.base/msym-bp-shl-main.c: New file.
2634 * gdb.base/msym-bp-shl.exp: New file.
2635 * gdb.base/msym-bp.c: New file.
2636 * gdb.base/msym-bp.exp: New file.
2637
32aea73e
JB
26382020-09-13 Joel Brobecker <brobecker@adacore.com>
2639
2640 * gdb.base/default.exp: Change $_gdb_major to 11.
2641
2a67f09d
FW
26422020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2643 Felix Willgerodt <Felix.Willgerodt@intel.com>
2644
2645 * x86-avx512bf16.c: New file.
2646 * x86-avx512bf16.exp: Likewise.
2647 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2648
ad570dd7
TV
26492020-09-11 Tom de Vries <tdevries@suse.de>
2650
2651 PR exp/26602
2652 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2653
a56f7391
TBA
26542020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2655
2656 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2657
918619e5
AM
26582020-09-10 Alan Modra <amodra@gmail.com>
2659
2660 PR 26597
2661 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2662
cac1e71d
TV
26632020-09-08 Tom de Vries <tdevries@suse.de>
2664
2665 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2666 after gdb_starti_cmd.
2667
c5cd900e
AKS
26682020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2669
2670 * lib/fortran.exp (fortran_complex8): New proc.
2671 (fortran_complex16): New proc.
2672 * gdb.fortran/complex.exp: Use routines from fortran.exp
2673 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2674 * gdb.fortran/vla-ptr-info.exp: Likewise.
2675
8f5c6526
TV
26762020-09-03 Tom de Vries <tdevries@suse.de>
2677
2678 PR breakpoint/26546
2679 * gdb.base/label-without-address.exp: Runto main first.
2680
02c6f3f1
TT
26812020-09-02 Tom Tromey <tromey@adacore.com>
2682
2683 * gdb.ada/mi_var_access.exp: Test children of access variable.
2684 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2685 * gdb.ada/mi_var_array.exp: Update.
2686
efe24f05
KB
26872020-08-31 Kevin Buettner <kevinb@redhat.com>
2688
2689 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2690 on docker w/ AUFS storage driver.
2691
973695d6
KB
26922020-08-31 Kevin Buettner <kevinb@redhat.com>
2693
2694 * gdb.base/corefile2.exp (renamed binfile): New tests.
2695
f3bd50f1
SM
26962020-08-31 Simon Marchi <simon.marchi@efficios.com>
2697
2698 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2699
22b9b4b0
SL
27002020-08-31 Simon Marchi <simon.marchi@efficios.com>
2701
2702 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2703 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2704
8efaf6b3
SM
27052020-08-31 Simon Marchi <simon.marchi@efficios.com>
2706
2707 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2708 output, printing a "not saved" value from history and printing a
2709 convenience variable created from a "not saved" value.
2710
e840f2e3
TV
27112020-08-31 Tom de Vries <tdevries@suse.de>
2712
2713 * gdb.base/eh_return.exp: Use nopie.
2714
8f57f343
PA
27152020-08-28 Pedro Alves <pedro@palves.net>
2716
2717 * gdb.base/advance-until-multiple-locations.exp
2718 (advance_overload, until_overload): Adjust to match the
2719 frame/function header instead of the source line text.
2720
626d2320
TV
27212020-08-28 Tom de Vries <tdevries@suse.de>
2722
2723 * gdb.base/label-without-address.c: New test.
2724 * gdb.base/label-without-address.exp: New file.
2725
df631783
PA
27262020-08-27 Pedro Alves <pedro@palves.net>
2727
2728 PR gdb/26523
2729 PR gdb/26524
2730 * gdb.base/advance-until-multiple-locations.cc: New.
2731 * gdb.base/advance-until-multiple-locations.exp: New.
2732
48b076bb
SM
27332020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2734
2735 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2736
c2015ce4
AB
27372020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2738
2739 * gdb.arch/amd64-byte.exp: Make test names unique, use
2740 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2741 * gdb.arch/amd64-dword.exp: Likewise.
2742 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2743 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2744 unique.
2745 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2746 * gdb.arch/amd64-word.exp: Make test names unique, use
2747 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2748 * gdb.arch/i386-byte.exp: Make test names unique, use
2749 gdb_breakpoint.
2750 * gdb.arch/i386-word.exp: Likewise.
2751
995d3a19
SV
27522020-08-25 Shahab Vahedi <shahab@synopsys.com>
2753
2754 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2755
8cac2b31
SM
27562020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2757
2758 PR gdb/26532
2759 * gdb.threads/stepi-random-signal.exp: Update pattern.
2760
2bc19622
SM
27612020-08-25 Simon Marchi <simon.marchi@efficios.com>
2762
2763 PR gdb/26532
2764 * gdb.base/ui-redirect.exp: Update pattern.
2765
b04aa1fc
GB
27662020-08-25 Gary Benson <gbenson@redhat.com>
2767
2768 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2769 when compiling with clang.
8571e9c8 2770 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2771
9f68b453
GB
27722020-08-25 Gary Benson <gbenson@redhat.com>
2773
2774 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2775 Add additional_flags=-Wno-inaccessible-base when compiling
2776 with GCC >= 10.1 or clang. Add additional_flags=-w when
2777 compiling with GCC < 10.
2778
3945d2d7
GM
27792020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2780
2781 PR m2/26372
fc5d6901
SM
2782 * gdb.modula2/multidim.c: New file.
2783 * gdb.modula2/multidim.exp: New file.
3945d2d7 2784
60122dbe
SM
27852020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2786
2787 * lib/gdb.exp (runto): Always emit fail on internal error.
2788
1eb8556f
SM
27892020-08-24 Simon Marchi <simon.marchi@efficios.com>
2790
2791 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2792 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2793 Likewise.
2794 * gdb.threads/stepi-random-signal.exp: Likewise.
2795
33bf4c5c
TBA
27962020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2797
2798 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2799 * gdb.trace/strace.exp: Ditto.
2800
c2fd7fae
AKS
28012020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2802
2803 * gdb.fortran/vla-type.exp: Skip commands not required for
2804 the Flang compiled binaries after prologue fix.
2805
326afb72
TT
28062020-08-17 Tom de Vries <tdevries@suse.de>
2807 Tom Tromey <tromey@adacore.com>
2808
2809 PR rust/26197:
2810 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2811
3ae7ab99
TT
28122020-08-17 Tom Tromey <tromey@adacore.com>
2813
2814 * gdb.ada/mi_var_access.exp: New file.
2815 * gdb.ada/mi_var_access/mi_access.adb: New file.
2816 * gdb.ada/mi_var_access/pck.adb: New file.
2817 * gdb.ada/mi_var_access/pck.ads: New file.
2818
f569c1c5
TV
28192020-08-16 Tom de Vries <tdevries@suse.de>
2820
2821 PR gdb/25350
2822 * gdb.base/eh_return.c: New test.
2823 * gdb.base/eh_return.exp: New file.
2824
3d11c30a
TV
28252020-08-15 Tom de Vries <tdevries@suse.de>
2826
2827 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2828 (mixed_func_1d_): Use fortran_charlen_t in decl.
2829
547ce8f0
TV
28302020-08-15 Tom de Vries <tdevries@suse.de>
2831
2832 PR backtrace/26390
2833 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2834 Update expected pattern.
2835
a54a7f13
PA
28362020-08-13 Pedro Alves <pedro@palves.net>
2837
2838 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2839 * gdb.fortran/library-module.exp: Likewise.
2840 * gdb.fortran/logical.exp: Likewise.
2841 * gdb.fortran/module.exp: Likewise.
2842 * gdb.fortran/print_type.exp: Likewise.
2843 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2844 * gdb.fortran/vla-datatypes.exp: Likewise.
2845 * gdb.fortran/vla-history.exp: Likewise.
2846 * gdb.fortran/vla-ptr-info.exp: Likewise.
2847 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2848 * gdb.fortran/vla-ptype.exp: Likewise.
2849 * gdb.fortran/vla-sizeof.exp: Likewise.
2850 * gdb.fortran/vla-type.exp: Likewise.
2851 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2852 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2853 * gdb.fortran/vla-value-sub.exp: Likewise.
2854 * gdb.fortran/vla-value.exp: Likewise.
2855
7a82e903
PA
28562020-08-13 Pedro Alves <pedro@palves.net>
2857
2858 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2859 * gdb.ada/access_to_packed_array.exp: Likewise.
2860 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2861 * gdb.ada/addr_arith.exp: Likewise.
2862 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2863 * gdb.ada/arr_arr.exp: Likewise.
2864 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2865 * gdb.ada/array_bounds.exp: Likewise.
2866 * gdb.ada/array_of_variable_length.exp: Likewise.
2867 * gdb.ada/array_ptr_renaming.exp: Likewise.
2868 * gdb.ada/array_subscript_addr.exp: Likewise.
2869 * gdb.ada/arraydim.exp: Likewise.
2870 * gdb.ada/arrayparam.exp: Likewise.
2871 * gdb.ada/arrayptr.exp: Likewise.
2872 * gdb.ada/assign_1.exp: Likewise.
2873 * gdb.ada/assign_arr.exp: Likewise.
2874 * gdb.ada/atomic_enum.exp: Likewise.
2875 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2876 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2877 * gdb.ada/bias.exp: Likewise.
2878 * gdb.ada/boolean_expr.exp: Likewise.
2879 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2880 * gdb.ada/bp_enum_homonym.exp: Likewise.
2881 * gdb.ada/bp_inlined_func.exp: Likewise.
2882 * gdb.ada/bp_on_var.exp: Likewise.
2883 * gdb.ada/bp_range_type.exp: Likewise.
2884 * gdb.ada/bp_reset.exp: Likewise.
2885 * gdb.ada/call_pn.exp: Likewise.
2886 * gdb.ada/catch_assert_if.exp: Likewise.
2887 * gdb.ada/catch_ex.exp: Likewise.
2888 * gdb.ada/catch_ex_std.exp: Likewise.
2889 * gdb.ada/char_enum.exp: Likewise.
2890 * gdb.ada/char_param.exp: Likewise.
2891 * gdb.ada/complete.exp: Likewise.
2892 * gdb.ada/cond_lang.exp: Likewise.
2893 * gdb.ada/convvar_comp.exp: Likewise.
2894 * gdb.ada/dgopt.exp: Likewise.
2895 * gdb.ada/disc_arr_bound.exp: Likewise.
2896 * gdb.ada/display_nested.exp: Likewise.
2897 * gdb.ada/dot_all.exp: Likewise.
2898 * gdb.ada/dyn_loc.exp: Likewise.
2899 * gdb.ada/dyn_stride.exp: Likewise.
2900 * gdb.ada/excep_handle.exp: Likewise.
2901 * gdb.ada/expr_delims.exp: Likewise.
2902 * gdb.ada/expr_with_funcall.exp: Likewise.
2903 * gdb.ada/exprs.exp: Likewise.
2904 * gdb.ada/fin_fun_out.exp: Likewise.
2905 * gdb.ada/fixed_cmp.exp: Likewise.
2906 * gdb.ada/formatted_ref.exp: Likewise.
2907 * gdb.ada/frame_arg_lang.exp: Likewise.
2908 * gdb.ada/frame_args.exp: Likewise.
2909 * gdb.ada/fullname_bp.exp: Likewise.
2910 * gdb.ada/fun_addr.exp: Likewise.
2911 * gdb.ada/fun_in_declare.exp: Likewise.
2912 * gdb.ada/fun_overload_menu.exp: Likewise.
2913 * gdb.ada/fun_renaming.exp: Likewise.
2914 * gdb.ada/funcall_char.exp: Likewise.
2915 * gdb.ada/funcall_param.exp: Likewise.
2916 * gdb.ada/funcall_ptr.exp: Likewise.
2917 * gdb.ada/funcall_ref.exp: Likewise.
2918 * gdb.ada/homonym.exp: Likewise.
2919 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2920 * gdb.ada/info_auto_lang.exp: Likewise.
2921 * gdb.ada/info_exc.exp: Likewise.
2922 * gdb.ada/info_types.exp: Likewise.
2923 * gdb.ada/int_deref.exp: Likewise.
2924 * gdb.ada/interface.exp: Likewise.
2925 * gdb.ada/iwide.exp: Likewise.
2926 * gdb.ada/lang_switch.exp: Likewise.
2927 * gdb.ada/length_cond.exp: Likewise.
2928 * gdb.ada/maint_with_ada.exp: Likewise.
2929 * gdb.ada/mi_catch_assert.exp: Likewise.
2930 * gdb.ada/mi_catch_ex.exp: Likewise.
2931 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2932 * gdb.ada/mi_dyn_arr.exp: Likewise.
2933 * gdb.ada/mi_ex_cond.exp: Likewise.
2934 * gdb.ada/mi_exc_info.exp: Likewise.
2935 * gdb.ada/mi_interface.exp: Likewise.
2936 * gdb.ada/mi_prot.exp: Likewise.
2937 * gdb.ada/mi_ref_changeable.exp: Likewise.
2938 * gdb.ada/mi_string_access.exp: Likewise.
2939 * gdb.ada/mi_task_arg.exp: Likewise.
2940 * gdb.ada/mi_task_info.exp: Likewise.
2941 * gdb.ada/mi_var_array.exp: Likewise.
2942 * gdb.ada/mi_var_union.exp: Likewise.
2943 * gdb.ada/mi_variant.exp: Likewise.
2944 * gdb.ada/minsyms.exp: Likewise.
2945 * gdb.ada/mod_from_name.exp: Likewise.
2946 * gdb.ada/nested.exp: Likewise.
2947 * gdb.ada/null_array.exp: Likewise.
2948 * gdb.ada/optim_drec.exp: Likewise.
2949 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2950 * gdb.ada/packed_array_assign.exp: Likewise.
2951 * gdb.ada/packed_tagged.exp: Likewise.
2952 * gdb.ada/pp-rec-component.exp: Likewise.
2953 * gdb.ada/print_chars.exp: Likewise.
2954 * gdb.ada/print_pc.exp: Likewise.
2955 * gdb.ada/ptr_typedef.exp: Likewise.
2956 * gdb.ada/ptype_arith_binop.exp: Likewise.
2957 * gdb.ada/ptype_array.exp: Likewise.
2958 * gdb.ada/ptype_field.exp: Likewise.
2959 * gdb.ada/ptype_tagged_param.exp: Likewise.
2960 * gdb.ada/ptype_union.exp: Likewise.
2961 * gdb.ada/py_range.exp: Likewise.
2962 * gdb.ada/py_taft.exp: Likewise.
2963 * gdb.ada/rdv_wait.exp: Likewise.
2964 * gdb.ada/rec_comp.exp: Likewise.
2965 * gdb.ada/rec_return.exp: Likewise.
2966 * gdb.ada/ref_param.exp: Likewise.
2967 * gdb.ada/ref_tick_size.exp: Likewise.
2968 * gdb.ada/rename_subscript_param.exp: Likewise.
2969 * gdb.ada/repeat_dyn.exp: Likewise.
2970 * gdb.ada/same_component_name.exp: Likewise.
2971 * gdb.ada/same_enum.exp: Likewise.
2972 * gdb.ada/scalar_storage.exp: Likewise.
2973 * gdb.ada/set_wstr.exp: Likewise.
2974 * gdb.ada/small_reg_param.exp: Likewise.
2975 * gdb.ada/str_binop_equal.exp: Likewise.
2976 * gdb.ada/str_ref_cmp.exp: Likewise.
2977 * gdb.ada/str_uninit.exp: Likewise.
2978 * gdb.ada/sub_variant.exp: Likewise.
2979 * gdb.ada/sym_print_name.exp: Likewise.
2980 * gdb.ada/taft_type.exp: Likewise.
2981 * gdb.ada/tagged.exp: Likewise.
2982 * gdb.ada/tagged_access.exp: Likewise.
2983 * gdb.ada/task_bp.exp: Likewise.
2984 * gdb.ada/task_switch_in_core.exp: Likewise.
2985 * gdb.ada/tasks.exp: Likewise.
2986 * gdb.ada/tick_last_segv.exp: Likewise.
2987 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2988 * gdb.ada/type_coercion.exp: Likewise.
2989 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2990 * gdb.ada/unchecked_union.exp: Likewise.
2991 * gdb.ada/uninitialized_vars.exp: Likewise.
2992 * gdb.ada/var_arr_attrs.exp: Likewise.
2993 * gdb.ada/var_arr_typedef.exp: Likewise.
2994 * gdb.ada/var_rec_arr.exp: Likewise.
2995 * gdb.ada/variant-record.exp: Likewise.
2996 * gdb.ada/variant.exp: Likewise.
2997 * gdb.ada/variant_record_packed_array.exp: Likewise.
2998 * gdb.ada/varsize_limit.exp: Likewise.
2999 * gdb.ada/whatis_array_val.exp: Likewise.
3000 * gdb.ada/widewide.exp: Likewise.
3001 * gdb.ada/win_fu_syms.exp: Likewise.
3002
30032020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3004
3005 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3006
10c381b5
AB
30072020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3008
3009 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3010 unset the array variable.
3011
8f34b746
TV
30122020-08-03 Tom de Vries <tdevries@suse.de>
3013
3014 PR symtab/26333
3015 * lib/dwarf.exp (DW_LNE_user): New proc.
3016 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3017 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3018
0245e136
KB
30192020-07-31 Kevin Buettner <kevinb@redhat.com>
3020
3021 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3022 to 'uintptr_t'
3023 (inttypes.h): Include.
3024
9ef1ec5d
KB
30252020-07-31 Kevin Buettner <kevinb@redhat.com>
3026
3027 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3028 (C5_24k): Delete.
3029 (C5_8k, C5_64k, C5_256k): New macros.
3030 (buf_ro): Allocate 256 KiB of initialized data.
3031
4c55e970
TBA
30322020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3033
3034 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3035 that attempt to overwrite an existing condition with a condition
3036 that fails parsing and also with a condition that parses fine
3037 but contains junk at the end.
3038
1e620590
TBA
30392020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3040
3041 * gdb.base/condbreak-bad.c: New test.
3042 * gdb.base/condbreak-bad.exp: New file.
3043
e12dcc50
TV
30442020-07-30 Tom de Vries <tdevries@suse.de>
3045
3046 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3047 out of ...
3048 (GDBInfoModuleSymbols::check_entry): ... here.
3049 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3050 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3051 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3052
6cc64caa
TV
30532020-07-30 Tom de Vries <tdevries@suse.de>
3054
3055 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3056 "__class_some_module_Number_t" optional.
3057
90fd07fc
TV
30582020-07-29 Tom de Vries <tdevries@suse.de>
3059
3060 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3061 multiple locations.
3062
f5c79e97
TV
30632020-07-29 Tom de Vries <tdevries@suse.de>
3064
3065 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3066 rather than function name.
3067
f75a0693
AB
30682020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3069
3070 PR symtab/26270:
3071 * gdb.cp/disasm-func-name.cc: New file.
3072 * gdb.cp/disasm-func-name.exp: New file.
3073
4888741a
TT
30742020-07-28 Tom Tromey <tromey@adacore.com>
3075
3076 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3077 'varval' location.
3078
43d5901d
AB
30792020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3080
3081 * gdb.python/py-unwind.py: Update to make use of a register
3082 descriptor.
3083
14fa8fb3
AB
30842020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3085
3086 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3087
e79eb02f
AB
30882020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3089
3090 PR fortran/23051
3091 PR fortran/26139
3092 * gdb.fortran/class-allocatable-array.exp: New file.
3093 * gdb.fortran/class-allocatable-array.f90: New file.
3094 * gdb.fortran/pointer-to-pointer.exp: New file.
3095 * gdb.fortran/pointer-to-pointer.f90: New file.
3096
876518dd
TV
30972020-07-25 Tom de Vries <tdevries@suse.de>
3098
3099 PR symtab/26243
3100 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3101 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3102
6dcfb80a
TV
31032020-07-24 Tom de Vries <tdevries@suse.de>
3104
3105 PR testsuite/26293
3106 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3107
e7bc9db8
PA
31082020-07-23 Pedro Alves <pedro@palves.net>
3109
3110 * gdb.server/server-kill.exp (prepare): New, factored out from the
3111 top level.
3112 (kill_server): New.
3113 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3114 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3115
78344df7
AB
31162020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3117
3118 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3119
25dfed24
SL
31202020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3121
3122 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3123 Initialize to empty string at top level.
3124 (gdb_wrapper_init): Revert check for file existence on build.
3125 Build the wrapper in its default place, not a build-specific
3126 location. When host == build, make the pathname absolute.
3127 (gdb_compile): Delete leftover declaration of
3128 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3129 string instead of uninitialized.
3130
7da515fd
KB
31312020-07-22 Kevin Buettner <kevinb@redhat.com>
3132
3133 * gdb.base/corefile2.exp: New file.
3134 * gdb.base/coremaker2.exp: New file.
3135
9c5ec5c2
KB
31362020-07-22 Kevin Buettner <kevinb@redhat.com>
3137
3138 * gdb.base/coredump-filter.exp: Add second
3139 non-Private-Shared-Anon-File test.
3140 (test_disasm): Rename binfile for test which is expected
3141 to fail.
3142
f9e233c9
KB
31432020-07-22 Kevin Buettner <kevinb@redhat.com>
3144
3145 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3146 data in core file".
3147 * gdb.base/coremaker.c (buf2ro): New global.
3148 (mmapdata): Add a read-only mmap mapping.
3149
94c265d7
KB
31502020-07-22 Kevin Buettner <kevinb@redhat.com>
3151
3152 PR corefiles/25631
3153 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3154 New test.
3155 * gdb.base/coremaker.c (buf3): New global.
3156 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3157 flags.
3158
31592020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3160
3161 * gdb.base/coremaker.c (filler_ro): New global constant.
3162
32fa152e
TT
31632020-07-22 Tom Tromey <tromey@adacore.com>
3164
3165 * gdb.ada/mi_prot.exp: New file.
3166 * gdb.ada/mi_prot/pkg.adb: New file.
3167 * gdb.ada/mi_prot/pkg.ads: New file.
3168 * gdb.ada/mi_prot/prot.adb: New file.
3169
c8474dc3
TBA
31702020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3171
3172 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3173 loads two JITers.
3174
baf8791e
AB
31752020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3176
3177 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3178
f7306dac
AB
31792020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.python/py-arch-reg-names.exp: Additional tests.
3182
6d3d6e4b
TV
31832020-07-21 Tom de Vries <tdevries@suse.de>
3184
3185 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3186 breakpoint locations".
3187 * gdb.reverse/solib-reverse.exp: Same.
3188
803d0592
TV
31892020-07-21 Tom de Vries <tdevries@suse.de>
3190
3191 * gdb.reverse/step-reverse.c (callee): Merge statements.
3192
e9bdc510
TV
31932020-07-21 Tom de Vries <tdevries@suse.de>
3194
3195 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3196 line numbers for some variables.
3197
f0f9e75a
TV
31982020-07-21 Tom de Vries <tdevries@suse.de>
3199
3200 * gdb.opt/inline-locals.c (init_array): New func.
3201 (func1): Use init_array.
3202 * gdb.opt/inline-locals.exp: Update pattern.
3203
bd460ecb
TV
32042020-07-21 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3207 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3208
ae5369e7
LC
32092020-07-20 Ludovic Courtès <ludo@gnu.org>
3210
3211 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3212 * gdb.guile/types-module.exp: Remove "ERROR:" from
3213 regexps since Guile 3.0 no longer prints that.
3214
68cf161c
LC
32152020-07-20 Ludovic Courtès <ludo@gnu.org>
3216
3217 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3218 error regexp to match on Guile 2.2.
3219
c14b4913
GB
32202020-07-20 Gary Benson <gbenson@redhat.com>
3221
3222 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3223 with clang.
3224
b243ba58
TV
32252020-07-20 Tom de Vries <tdevries@suse.de>
3226
3227 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3228 (omp_set_lock_in_order): New function.
3229 (single_scope, multi_scope, nested_func, nested_parallel): Use
3230 omp_set_lock_in_order and omp_unset_lock.
3231 (main): Init and destroy lock and lock2.
3232
c06ad8b5
TV
32332020-07-20 Tom de Vries <tdevries@suse.de>
3234
3235 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3236
6e22f117
TV
32372020-07-20 Tom de Vries <tdevries@suse.de>
3238
3239 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3240
33176ea7
TV
32412020-07-17 Tom de Vries <tdevries@suse.de>
3242
3243 * gdb.base/valgrind-infcall-2.c: New test.
3244 * gdb.base/valgrind-infcall-2.exp: New file.
3245 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3246
90c3ec2d
TV
32472020-07-17 Tom de Vries <tdevries@suse.de>
3248
3249 * gdb.dlang/circular.c (found): Use found_label as label name.
3250 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3251 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3252 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3253 * gdb.dwarf2/ada-linkage-name.exp: Same.
3254 * gdb.dwarf2/arr-subrange.exp: Same.
3255 * gdb.dwarf2/atomic-type.exp: Same.
3256 * gdb.dwarf2/comp-unit-lang.exp: Same.
3257 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3258 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3259 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3260 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3261 * gdb.dwarf2/implptr-64bit.exp: Same.
3262 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3263 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3264 * gdb.dwarf2/imported-unit.exp: Same.
3265 * gdb.dwarf2/main-subprogram.exp: Same.
3266 * gdb.dwarf2/missing-type-name.exp: Same.
3267 * gdb.dwarf2/nonvar-access.exp: Same.
3268 * gdb.dwarf2/struct-with-sig.exp: Same.
3269 * gdb.dwarf2/typedef-void-finish.exp: Same.
3270 * gdb.dwarf2/void-type.exp: Same.
3271
10da644d
TV
32722020-07-17 Tom de Vries <tdevries@suse.de>
3273
3274 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3275 src parameter.
3276 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3277 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3278 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3279 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3280 * gdb.dwarf2/dwz.exp: Same.
3281 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3282 * gdb.dwarf2/implref-array.exp: Same.
3283 * gdb.dwarf2/implref-const.exp: Same.
3284 * gdb.dwarf2/implref-global.exp: Same.
3285 * gdb.dwarf2/implref-struct.exp: Same.
3286 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3287 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3288 * gdb.dwarf2/var-access.exp: Same.
3289 * gdb.dwarf2/varval.exp: Same.
3290 * gdb.trace/entry-values.exp: Same.
3291
315e6afc
TV
32922020-07-17 Tom de Vries <tdevries@suse.de>
3293
3294 * lib/dwarf.exp (Dwarf::extern): Remove.
3295 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3296 * gdb.dlang/circular.exp: Same.
3297 * gdb.dwarf2/comp-unit-lang.exp: Same.
3298 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3299 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3300 * gdb.dwarf2/dwz.exp: Same.
3301 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3302 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3303 * gdb.dwarf2/imported-unit.exp: Same.
3304 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3305
5597c940
SL
33062020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3307
3308 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3309 Use double quotes instead of single quotes.
3310
d0ce17d8
CT
33112020-07-16 Caroline Tice <cmtice@google.com>
3312
3313 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3314 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3315
853772cc
TV
33162020-07-16 Tom de Vries <tdevries@suse.de>
3317
3318 * lib/dwarf.exp (program): Initialize _line.
3319 (DW_LNE_end_sequence): Reinitialize _line.
3320 (DW_LNS_advance_line): Update _line.
3321 (line): New proc.
3322 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3323 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3324 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3325 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3326 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3327 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3328
fe07b572
AB
33292020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3330
3331 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3332 generic.
3333
52781cce
TV
33342020-07-15 Tom de Vries <tdevries@suse.de>
3335
3336 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3337 is_amd64_regs_target.
3338
3dcc261c
AB
33392020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3340
3341 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3342 * gdb.fortran/ptype-on-functions.f90: Likewise.
3343
054a0959
SM
33442020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3345
3346 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3347 values in documentation for addr_size to 4 and 8.
3348
ccb9eba6
AB
33492020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3350
3351 * gdb.arch/amd64-osabi.exp: Update.
3352 * gdb.arch/arm-disassembler-options.exp: Update.
3353 * gdb.arch/powerpc-disassembler-options.exp: Update.
3354 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3355 * gdb.arch/s390-disassembler-options.exp: Update.
3356 * gdb.base/all-architectures.exp.tcl: Update.
3357 * gdb.base/attach-pie-noexec.exp: Update.
3358 * gdb.base/catch-syscall.exp: Update.
3359 * gdb.xml/tdesc-arch.exp: Update.
3360
025a39a7
TV
33612020-07-14 Tom de Vries <tdevries@suse.de>
3362
3363 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3364 (local_gettid): ... this.
3365 (fn): Update.
3366
74e4b667
SL
33672020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3368
3369 * gdb.base/info_sources.exp: Skip directory match tests on
3370 remote hosts.
3371
f413dd74
GB
33722020-07-13 Gary Benson <gbenson@redhat.com>
3373
3374 * gdb.base/savedregs.exp (caller): Use parentheses to
3375 make expected expression evaluation ordering explicit.
3376
915771bb
GB
33772020-07-13 Gary Benson <gbenson@redhat.com>
3378
3379 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3380
2a122642
GB
33812020-07-13 Gary Benson <gbenson@redhat.com>
3382
3383 * gdb.base/bigcore.c (main): Use a volatile pointer when
3384 attempting to trigger a SIGSEGV.
3385 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3386 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3387 * gdb.base/savedregs.c (thrower): Likewise.
3388 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3389
3f00c730
GB
33902020-07-13 Gary Benson <gbenson@redhat.com>
3391
3392 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3393 defining and using VLA structure fields into...
3394 * gdb.base/vla-struct-fields.c: New file.
3395 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3396 tests into...
3397 * gdb.base/vla-struct-fields.exp: New file.
3398
963eeee4
TV
33992020-07-13 Tom de Vries <tdevries@suse.de>
3400
3401 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3402 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3403 * gdb.base/gold-gdb-index.exp: Same.
3404 * gdb.base/morestack.exp: Same.
3405
0ed35c9a
DX
34062020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3407
3408 PR rust/26121
3409 * gdb.rust/modules.rs: Prevent linker from discarding test
3410 symbol.
3411
4fdba23d
PA
34122020-07-10 Pedro Alves <pedro@palves.net>
3413
3414 PR gdb/26199
3415 * gdb.multi/multi-target.c (exit_thread): New.
3416 (thread_start): Break loop if EXIT_THREAD.
3417 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3418 (top level) Call test_no_resumed.
3419
15f3b077
TT
34202020-07-08 Tom Tromey <tromey@adacore.com>
3421
3422 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3423 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3424
9fc501fd
AB
34252020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3426
3427 PR python/22748
3428 * gdb.opt/inline-frame-tailcall.c: New file.
3429 * gdb.opt/inline-frame-tailcall.exp: New file.
3430 * gdb.python/py-unwind-inline.c: New file.
3431 * gdb.python/py-unwind-inline.exp: New file.
3432 * gdb.python/py-unwind-inline.py: New file.
3433
64cb3757
AB
34342020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3435
3436 * gdb.python/py-arch-reg-groups.exp: New file.
3437
0f767f94
AB
34382020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3439
3440 * gdb.python/py-arch-reg-names.exp: New file.
3441
87dbc774
AB
34422020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3443
3444 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3445 gdb.PendingFrame.architecture method.
3446
d8cc8af6
TV
34472020-07-06 Tom de Vries <tdevries@suse.de>
3448
3449 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3450
3c8ea5be
PA
34512020-07-03 Pedro Alves <palves@redhat.com>
3452
3453 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3454 explicitly write negative numbers.
3455 * gdb.base/structs2.exp: Adjust expected output.
3456
bf90c83a
PA
34572020-07-03 Pedro Alves <palves@redhat.com>
3458
3459 * gdb.base/charset.c (init_string): Change all char parameters to
3460 unsigned char parameters.
3461
2eb82157
PA
34622020-07-03 Pedro Alves <palves@redhat.com>
3463
3464 * gdb.base/call-sc.exp (start_scalars_test): Use
3465 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3466 * gdb.base/overlays.c: Remove references to PARAMS.
3467 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3468 * gdb.base/reread.exp: Don't set 'prototypes' global.
3469 * gdb.base/structs.exp (start_structs_test): Use
3470 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3471 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3472 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3473 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3474 call.
3475 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3476
9adda7af
PA
34772020-07-03 Pedro Alves <palves@redhat.com>
3478
3479 * gdb.base/m32rovly.c: Delete.
3480 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3481
2a17c803
PW
34822020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3483
3484 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3485 of gdb_py_test_multiple.
3486 * gdb.python/py-cmd.exp: Likewise.
3487 * gdb.python/py-events.exp: Likewise.
3488 * gdb.python/py-function.exp: Likewise.
3489 * gdb.python/py-inferior.exp: Likewise.
3490 * gdb.python/py-infthread.exp: Likewise.
3491 * gdb.python/py-linetable.exp: Likewise.
3492 * gdb.python/py-parameter.exp: Likewise.
3493 * gdb.python/py-value.exp: Likewise.
3494
b011fe1a
TV
34952020-06-30 Tom de Vries <tdevries@suse.de>
3496
3497 PR testsuite/26175
3498 * lib/future.exp (gdb_default_target_compile): Detect and handle
3499 early_flags.
3500
df5b8876
SM
35012020-06-29 Simon Marchi <simon.marchi@efficios.com>
3502
3503 * boards/simavr.exp (gdb_load): Catch errors when closing
3504 previous connection. Close connection, wait for process and
3505 unset simavr_spawn_id on failure.
3506
a3ca48cd
TV
35072020-06-29 Tom de Vries <tdevries@suse.de>
3508
3509 * lib/gdb.exp (unknown): Make test-case unresolved.
3510
b0237c0e
TV
35112020-06-29 Tom de Vries <tdevries@suse.de>
3512
3513 PR gdb/25475
3514 * gdb.server/solib-list.exp: Verify that the symbol reload
3515 confirmation question is asked.
3516
c0b3b3bd
PW
35172020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3518
3519 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3520 have a input seq nr in each pass message.
fe4c3d43 3521 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3522 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3523 * gdb.python/python.exp: Make test names unique,
3524 use gdb_test_multiline instead of gdb_py_test_multiple,
3525 use $gdb_test_name.
3526 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3527
1776e3e5
NA
35282020-06-26 Nick Alcock <nick.alcock@oracle.com>
3529
3530 * configure.ac: Add --enable-libctf.
3531 * aclocal.m4: sinclude ../config/enable.m4.
3532 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3533 * lib/gdb.exp (skip_ctf_tests): Use it.
3534 * gdb.base/ctf-constvars.exp: Error message tweak.
3535 * gdb.base/ctf-ptype.exp: Likewise.
3536 * configure: Regenerate.
3537
f53b3eeb
GB
35382020-06-26 Gary Benson <gbenson@redhat.com>
3539
3540 * gdb.cp/try_catch.cc: Include string.h.
3541 (main): Replace comparison against string literal with
3542 strcmp, avoiding build failure with -Wstring-compare.
3543 Add "marker test-complete".
3544 * gdb.cp/try_catch.exp: Run the test to the above marker,
3545 then verify that the value of "test" is still true.
3546
6d74da72
AB
35472020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3548
3549 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3550
2e52d038
AB
35512020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3552
3553 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3554
3b9fce96
AB
35552020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3556
3557 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3558 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3559 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3560 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3561 * gdb.arch/riscv-tdesc-loading.exp: New file.
3562
ed69cbc8
AB
35632020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3564
3565 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3566
767a879e
AB
35672020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3568
3569 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3570 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3571 * gdb.arch/riscv-tdesc-regs.c: New file.
3572 * gdb.arch/riscv-tdesc-regs.exp: New file.
3573
221db974
PA
35742020-06-24 Pedro Alves <palves@redhat.com>
3575
3576 * gdb.arch/amd64-entry-value-paramref.exp: Use
3577 prepare_for_testing_full and don't pass "c++" for the .S file
3578 build spec.
3579 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3580 $options, since it's an assembly file. Remove -Wno-deprecated.
3581 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3582 compiling C++ programs.
3583
331733cd
PA
35842020-06-24 Pedro Alves <palves@redhat.com>
3585
3586 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3587 Clang, add "-Wno-unknown-warning-option" to the options.
3588
caa7fd04
AB
35892020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3590
3591 * gdb.xml/tdesc-reload.c: New file.
3592 * gdb.xml/tdesc-reload.exp: New file.
3593 * gdb.xml/maint-xml-dump-01.xml: New file.
3594 * gdb.xml/maint-xml-dump-02.xml: New file.
3595 * gdb.xml/maint-xml-dump.exp: New file.
3596
bb8d1260
SL
35972020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3598
3599 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3600 Adjust for omitted commands when TUI is disabled.
3601
7e4b9c4c
GB
36022020-06-23 Gary Benson <gbenson@redhat.com>
3603 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3606 * gdb.cp/nsimport.cc: Likewise.
3607 * gdb.cp/nsnested.cc: Likewise.
3608 * gdb.cp/nsnoimports.cc: Likewise.
3609 * gdb.cp/nsusing.cc: Likewise.
3610 * gdb.cp/smartp.cc: Likewise.
3611 * gdb.python/py-pp-integral.c: Likewise.
3612 * gdb.python/py-pp-re-notag.c: Likewise.
3613
2e573c0a
GB
36142020-06-23 Gary Benson <gbenson@redhat.com>
3615
3616 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3617 * gdb.cp/nsimport.cc: Likewise.
3618 * gdb.cp/nsnested.cc: Likewise.
3619 * gdb.cp/nsnoimports.cc: Likewise.
3620 * gdb.cp/nsusing.cc: Likewise.
3621 * gdb.cp/smartp.cc: Likewise.
3622 * gdb.python/py-pp-integral.c: Likewise.
3623 * gdb.python/py-pp-re-notag.c: Likewise.
3624
746ebfe8
PW
36252020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3626
3627 * gdb.base/default-args.exp: New test.
3628 * gdb.base/default-args.c: New file.
3629 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3630 * gdb.base/default.exp: Update to new help text.
3631 * gdb.base/help.exp: Likewise.
3632 * gdb.base/page.exp: Likewise.
3633 * gdb.base/style.exp: Likewise.
3634 * gdb.guile/guile.exp: Likewise.
3635 * gdb.python/python.exp: Likewise.
3636
e822f2cd
SL
36372020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3638
3639 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3640 remote host. Fix search path syntax on Windows host.
3641
48e9cc84
PW
36422020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3643
3644 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3645 over 'exec-file-mismatch'.
3646 * gdb.base/attach.c: Mark should_exit volatile.
3647 * gdb.base/attach2.c: Likewise. Add a comment explaining
3648 why the sleep cannot be big.
3649 * gdb.base/attach3.c: New file.
3650
160f8a8f
SL
36512020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3652
3653 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3654 prefix optional.
3655
4d91c2a4
SL
36562020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3657
3658 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3659 for remote host.
3660
87f83f20
SL
36612020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3662 Hafiz Abid Qadeer <abidh@codesourcery.com>
3663
3664 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3665 file sent to remote host.
3666 (top level): Allow int32_t as type of 32-bit register.
3667
37ab8655
TV
36682020-06-19 Tom de Vries <tdevries@suse.de>
3669
3670 * lib/gdb.exp (gdb_note): New proc.
3671 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3672 (gdb_default_target_compile): ... here. Only call
3673 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3674 (use_gdb_compile): Change to array.
3675 (toplevel): Update sets of use_gdb_compile to specify language.
3676 Warn about default_target_compile override. Store dejagnu's version
3677 of default_target_compile in dejagnu_default_target_compile.
3678
a8a56685
TV
36792020-06-18 Tom de Vries <tdevries@suse.de>
3680
3681 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3682 (default_gdb_init): ... here.
3683
581bea2c
SL
36842020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3685
3686 Fix TUI support checks in gdb.tui tests.
3687
3688 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3689 just say UNSUPPORTED.
3690 * gdb.tui/corefile-run.exp: Likewise.
3691 * gdb.tui/empty.exp: Likewise.
3692 * gdb.tui/list-before.exp: Likewise.
3693 * gdb.tui/list.exp: Likewise.
3694 * gdb.tui/main.exp: Likewise.
3695 * gdb.tui/regs.exp: Likewise.
3696 * gdb.tui/resize.exp: Likewise.
3697 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3698 * gdb.tui/tui-layout-asm.exp: Likewise.
3699 * gdb.tui/tui-missing-src.exp: Likewise.
3700 * gdb.tui/winheight.exp: Likewise.
3701 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3702
05e682e3
SL
37032020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3704
3705 Fix TCL error in gdb.python/py-format-string.exp.
3706
3707 * gdb.python/py-format-string.exp: Move test for python support
3708 earlier, out of function body.
3709
efb763a5
SM
37102020-06-15 Simon Marchi <simon.marchi@efficios.com>
3711
3712 * gdb.base/index-cache-load-twice.c: New.
3713 * gdb.base/index-cache-load-twice.exp: New.
3714
43327b20
KS
37152020-06-17 Keith Seitz <keiths@redhat.com>
3716
99cf27cf 3717 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3718 when executing "gdb --configuration".
3719
081e778c
TV
37202020-06-17 Tom de Vries <tdevries@suse.de>
3721
3722 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3723 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3724 conditional on presence of gdb_tcl_unknown.
3725 (gdb_finish): Make override undo conditional on presence of
3726 gdb_tcl_unknown.
3727
d2d1ea20
TT
37282020-06-16 Tom Tromey <tom@tromey.com>
3729
3730 * gdb.python/tui-window.py (failwin): New function. Register it
3731 as a TUI window type.
3732 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3733
c802e8a7
GB
37342020-06-16 Gary Benson <gbenson@redhat.com>
3735
3736 * gdb.python/py-nested-maps.c (create_map): Add missing return
3737 value.
3738 (create_map_map): Likewise.
3739
ff08abb8
TBA
37402020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3741
3742 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3743 variable.
3744 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3745 and use the already-defined 'options' variable.
3746
a29d5112
AB
37472020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3748 Tom de Vries <tdevries@suse.de>
3749
3750 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3751 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3752 (gdb_setup_known_globals): New proc.
3753 (gdb_cleanup_globals): New proc.
3754 * lib/gdb.exp (load_lib): New override proc.
3755 (gdb_stdin_log_init): Set var in_file as persistent global.
3756 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3757 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3758 fpc_compiler as persistent global.
3759
8c74a764
TV
37602020-06-12 Tom de Vries <tdevries@suse.de>
3761
3762 * lib/tuiterm.exp (spawn): Rename to ...
3763 (tui_spawn): ... this.
3764 (toplevel): Move rename of spawn ...
3765 (gdb_init_tuiterm): ... here. New proc.
3766 (gdb_finish_tuiterm): New proc.
3767 * lib/gdb.exp (gdb_finish_hooks): New global var.
3768 (gdb_finish): Handle gdb_finish_hooks.
3769 (tuiterm_env): New proc.
3770 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3771 tuiterm_env.
3772 * gdb.tui/basic.exp: Same.
3773 * gdb.tui/corefile-run.exp: Same.
3774 * gdb.tui/empty.exp: Same.
3775 * gdb.tui/list-before.exp: Same.
3776 * gdb.tui/list.exp: Same.
3777 * gdb.tui/main.exp: Same.
3778 * gdb.tui/new-layout.exp: Same.
3779 * gdb.tui/regs.exp: Same.
3780 * gdb.tui/resize.exp: Same.
3781 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3782 * gdb.tui/tui-layout-asm.exp: Same.
3783 * gdb.tui/tui-missing-src.exp: Same.
3784 * gdb.tui/winheight.exp: Same.
3785
26783bce
TV
37862020-06-12 Tom de Vries <tdevries@suse.de>
3787
3788 PR testsuite/26110
3789 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3790 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3791
2b4e6a3f
TT
37922020-06-11 Tom Tromey <tom@tromey.com>
3793
3794 PR gdb/18318:
3795 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3796 floating point tests.
3797
2f33032a
KS
37982020-06-11 Keith Seitz <keiths@redhat.com>
3799
3800 PR gdb/21356
3801 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3802 vla_struct.
3803 Add new struct vla_typedef and union vla_typedef_union and
3804 corresponding instantiation objects.
3805 Initialize new objects.
3806 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3807 and vla_typedef_union_object.
3808 Fixup type for vla_struct_object.
3809
a8baf0a3
TV
38102020-06-11 Tom de Vries <tdevries@suse.de>
3811
3812 * lib/gdb.exp (with_override): New proc, factored out of ...
3813 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3814
7ab96794
TV
38152020-06-10 Tom de Vries <tdevries@suse.de>
3816
3817 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3818
cab5c3b7
SM
38192020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3820
3821 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3822 parameter, update callers.
3823
f8c41851
SM
38242020-06-04 Simon Marchi <simon.marchi@efficios.com>
3825
3826 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3827 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3828 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3829
1c07a73f
TV
38302020-06-04 Tom de Vries <tdevries@suse.de>
3831
3832 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3833
95146b5d
TV
38342020-06-04 Tom de Vries <tdevries@suse.de>
3835
3836 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3837 exp_continue.
3838
0cfcd4f0
TV
38392020-06-04 Tom de Vries <tdevries@suse.de>
3840
3841 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3842
f9b5d5ea
TV
38432020-06-03 Tom de Vries <tdevries@suse.de>
3844
3845 PR symtab/26046
3846 * gdb.cp/breakpoint-locs-2.cc: New test.
3847 * gdb.cp/breakpoint-locs.cc: New test.
3848 * gdb.cp/breakpoint-locs.exp: New file.
3849 * gdb.cp/breakpoint-locs.h: New test.
3850
5144dfba
TV
38512020-06-03 Tom de Vries <tdevries@suse.de>
3852
3853 PR testsuite/25609
3854 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3855 value of global verbose.
3856 * gdb.base/jit-elf.exp: Same.
3857 * gdb.base/jit-reader.exp: Same.
3858
621eacdf
TV
38592020-06-02 Tom de Vries <tdevries@suse.de>
3860
3861 * gdb.dwarf2/multidictionary.exp: Don't use
3862 gdb_spawn_with_cmdline_opts.
3863
1313c56e
AB
38642020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3865
3866 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3867 use_header case.
3868 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3869 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3870 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3871 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3872 * gdb.dwarf2/dw2-inline-header.c: New file.
3873 * gdb.dwarf2/dw2-inline-header.h: New file.
3874
f68f85b5
PA
38752020-05-30 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3878 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3879
678048e8
GB
38802020-05-29 Gary Benson <gbenson@redhat.com>
3881
3882 * gdb.compile/compile-cplus.exp (additional_flags): Also
3883 set when building with clang.
3884 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3885 when building with clang.
3886
9fcafd23
GB
38872020-05-29 Gary Benson <gbenson@redhat.com>
3888
3889 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3890 building with clang.
3891 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3892
735d5a07
GB
38932020-05-29 Gary Benson <gbenson@redhat.com>
3894
3895 * gdb.cp/koenig.exp (prepare_for_testing): Add
3896 additional_flags=-Wno-unused-comparison.
3897 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3898
4ad2c6a0
GB
38992020-05-28 Gary Benson <gbenson@redhat.com>
3900
3901 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3902 statement.
3903
09fe663e
GB
39042020-05-28 Gary Benson <gbenson@redhat.com>
3905
3906 * gdb.cp/classes.exp (prepare_for_testing): Add
3907 additional_flags=-Wno-deprecated-register.
3908 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3909 * gdb.cp/misc.exp: Likewise.
3910
cee00f17
GB
39112020-05-28 Gary Benson <gbenson@redhat.com>
3912
3913 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3914 (test_op_new::operator new): Add return statement.
3915 (test_op_new_array::operator new[]): Likewise.
3916
636edd00
PA
39172020-05-27 Pedro Alves <palves@redhat.com>
3918
3919 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3920 check. Use test_gdb_complete_unique instead of
3921 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3922 test_gdb_complete_multiple instead of
3923 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3924
c2b75043
LM
39252020-05-27 Luis Machado <luis.machado@linaro.org>
3926
3927 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3928 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3929 * gdb.arch/arm-disassembler-options.exp: Likewise.
3930 * gdb.arch/arm-disp-step.exp: Likewise.
3931 * gdb.arch/thumb-prologue.exp: Likewise.
3932 * gdb.base/async.exp: Likewise.
3933 * gdb.base/auxv.exp: Likewise.
3934 * gdb.base/complex-parts.exp: Likewise.
3935 * gdb.base/ena-dis-br.exp: Likewise.
3936 * gdb.base/foll-exec.exp: Likewise.
3937 * gdb.base/permissions.exp: Likewise.
3938 * gdb.base/relocate.exp: Likewise.
3939 * gdb.base/return2.exp: Likewise.
3940 * gdb.base/sigbpt.exp: Likewise.
3941 * gdb.base/siginfo-obj.exp: Likewise.
3942 * gdb.cp/converts.exp: Likewise.
3943 * gdb.cp/exceptprint.exp: Likewise.
3944 * gdb.cp/inherit.exp: Likewise.
3945 * gdb.cp/nsnoimports.exp: Likewise.
3946 * gdb.cp/virtbase2.exp: Likewise.
3947 * gdb.mi/mi-var-cmd.exp: Likewise.
3948 * gdb.mi/var-cmd.c: Likewise.
3949
53a47a3e
TT
39502020-05-26 Tom Tromey <tromey@adacore.com>
3951
3952 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3953
0bc2354b
TT
39542020-05-26 Tom Tromey <tromey@adacore.com>
3955
3956 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3957 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3958 type.
3959 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3960 variable.
3961
0db49895
CBG
39622020-05-26 Christian Biesinger <cbiesinger@google.com>
3963
3964 * Makefile.in: Use = instead of == for the test command
3965 for portability.
3966
40d22035
TV
39672020-05-26 Tom de Vries <tdevries@suse.de>
3968
3969 * gdb.base/gold-gdb-index-2.c: New test.
3970 * gdb.base/gold-gdb-index.c: New test.
3971 * gdb.base/gold-gdb-index.exp: New file.
3972 * gdb.base/gold-gdb-index.h: New test.
3973
043e2e02
TV
39742020-05-25 Tom de Vries <tdevries@suse.de>
3975
3976 * boards/gold-gdb-index.exp: New file.
3977
462f72c5
SM
39782020-05-25 Simon Marchi <simon.marchi@efficios.com>
3979
3980 * boards/simavr.exp: New file.
3981
6cf66e76
SM
39822020-05-25 Simon Marchi <simon.marchi@efficios.com>
3983
3984 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3985 * gdb.base/inferior-args.exp: New file.
3986 * gdb.base/inferior-args.c: New file.
3987
75d04512
SM
39882020-05-25 Simon Marchi <simon.marchi@efficios.com>
3989
3990 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3991 inferior_args. Pass it to gdb_reload.
3992 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3993 inferior_args.
3994 (gdb_reload): Add inferior_args argument.
3995 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3996 pass it to gdbserver_run.
3997 * boards/native-gdbserver.exp: Do not set noargs.
3998 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3999 inferior_args argument.
4000 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4001 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4002 * gdb.base/args.exp: Likewise.
4003
42cf1844
TV
40042020-05-25 Tom de Vries <tdevries@suse.de>
4005
4006 * lib/gdb.exp (exec_is_pie): Add comment.
4007
8f7d38ef
TV
40082020-05-25 Tom de Vries <tdevries@suse.de>
4009
4010 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4011 instead of $binfile in the untested message.
4012
465e1b0f
TV
40132020-05-25 Tom de Vries <tdevries@suse.de>
4014
4015 PR testsuite/26031
4016 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4017
3c5a0e02
TV
40182020-05-25 Tom de Vries <tdevries@suse.de>
4019
4020 * boards/gold.exp: New file.
4021
0a4f5f8c
TT
40222020-05-23 Tom Tromey <tom@tromey.com>
4023
4024 * gdb.base/style.exp: Remove completion styling test.
4025 * lib/gdb-utils.exp (style): Remove completion styles.
4026
eca1f90c
TT
40272020-05-23 Tom Tromey <tom@tromey.com>
4028
4029 * gdb.base/style.exp: Add completion styling test.
4030 * lib/gdb-utils.exp (style): Add completion styles.
4031
7c13f4e8
AB
40322020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4033
4034 * gdb.base/annota1.exp: Update expected results.
4035 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4036 test name.
4037 * gdb.cp/annota3.exp: Update expected results.
4038
41977d16
SM
40392020-05-20 Simon Marchi <simon.marchi@efficios.com>
4040
4041 PR gdb/26016
4042 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4043 against MAP_FAILED.
4044 * gdb.base/coremaker.c (mmapdata): Likewise.
4045 * gdb.base/jit-reader-host.c (main): Likewise.
4046 * gdb.base/sym-file-loader.c (load): Likewise.
4047 (load_shlib): Likewise.
4048
b4757f2e
TT
40492020-05-20 Tom Tromey <tromey@adacore.com>
4050
4051 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4052
9a0bacfb
TV
40532020-05-20 Tom de Vries <tdevries@suse.de>
4054
4055 PR symtab/25833
4056 * gdb.base/with-mf-inc.c: New test.
4057 * gdb.base/with-mf-main.c: New test.
4058 * gdb.base/with-mf.exp: New file.
4059
76571211
TT
40602020-05-19 Tom Tromey <tromey@adacore.com>
4061
4062 * gdb.rust/simple.exp: Restore missing test result.
4063
4cd9f3d5
TV
40642020-05-19 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.base/gdb-caching-proc.exp: Fix typo.
4067
7d874253
TT
40682020-05-19 Tom Tromey <tromey@adacore.com>
4069
4070 * gdb.rust/simple.exp: Add some test descriptions.
4071 (test_one_slice): Use with_test_prefix.
4072
1d727695
TV
40732020-05-18 Tom de Vries <tdevries@suse.de>
4074
4075 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4076
7f32a4d5
PA
40772020-05-17 Pedro Alves <palves@redhat.com>
4078
4079 PR gdb/25741
4080 * gdb.base/hw-sw-break-same-address.exp: New file.
4081
7cfd74cf
PA
40822020-05-16 Pedro Alves <palves@redhat.com>
4083
4084 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4085 LAST_LOADED_FILE accordingly.
4086
57b4f16e
PW
40872020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4088
4089 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4090
7c05caf7
PW
40912020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4092
4093 * gdb.base/help.exp: Test apropos and help for commands
4094 having aliases. Fixed comments not starting with an
4095 upper-case letter or not finishing with a dot.
4096
7aa1b46f
PW
40972020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4098
3b3aaacb
PW
4099 * gdb.base/alias.exp: Update help output check.
4100
57b4f16e 41012020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4102
7aa1b46f
PW
4103 * gdb.base/default.exp: Update output following fixes.
4104
0605465f
PW
41052020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4106
4107 * gdb.base/alias.exp: Test aliases starting with a prefix of
4108 another alias.
4109
86e4e63d
GB
41102020-05-15 Gary Benson <gbenson@redhat.com>
4111
4112 * gdb.base/info-os.c (main): Add return statement.
4113 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4114 * gdb.base/large-frame-2.c (func): Likewise.
4115 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4116 * gdb.base/pr10179-b.c (foo2): Likewise.
4117 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4118 * gdb.base/watch-cond.c (func): Likewise.
4119 * gdb.multi/goodbye.c (verylongfun): Likewise.
4120 * gdb.multi/hello.c (commonfun): Likewise.
4121 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4122 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4123 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4124 Likewise.
4125 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4126 * gdb.threads/interrupt-while-step-over.c (child_function):
4127 Likewise.
4128 * gdb.trace/actions-changed.c (end): Likewise.
4129
163df4df
GB
41302020-05-15 Gary Benson <gbenson@redhat.com>
4131
4132 * gdb.opencl/callfuncs.exp: Report when test skipped.
4133 * gdb.opencl/convs_casts.exp: Likewise.
4134 * gdb.opencl/datatypes.exp: Likewise.
4135 * gdb.opencl/operators.exp: Likewise.
4136 * gdb.opencl/vec_comps.exp: Likewise.
4137
6dbc505a
TV
41382020-05-15 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.base/align.exp.in: Rename to ...
4141 * gdb.base/align.exp.tcl: ... this.
4142 * gdb.base/align-c++.exp: Update.
4143 * gdb.base/align-c.exp: Update.
4144 * gdb.base/all-architectures.exp.in: Rename to ...
4145 * gdb.base/all-architectures.exp: ... this.
4146 * gdb.base/all-architectures-0.exp: Update.
4147 * gdb.base/all-architectures-1.exp: Update.
4148 * gdb.base/all-architectures-2.exp: Update.
4149 * gdb.base/all-architectures-3.exp: Update.
4150 * gdb.base/all-architectures-4.exp: Update.
4151 * gdb.base/all-architectures-5.exp: Update.
4152 * gdb.base/all-architectures-6.exp: Update.
4153 * gdb.base/all-architectures-7.exp: Update.
4154 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4155 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4156 * gdb.base/infcall-nested-structs-c++.exp: Update.
4157 * gdb.base/infcall-nested-structs-c.exp: Update.
4158 * gdb.base/info-types.exp.in: Rename to ...
4159 * gdb.base/info-types.exp.tcl: ... this.
4160 * gdb.base/info-types-c++.exp: Update.
4161 * gdb.base/info-types-c.exp: Update.
4162 * gdb.base/max-depth.exp.in: Rename to ...
4163 * gdb.base/max-depth.exp.tcl: ... this.
4164 * gdb.base/max-depth-c++.exp: Update.
4165 * gdb.base/max-depth-c.exp: Update.
4166 * gdb.cp/cpexprs.exp.in: Rename to ...
4167 * gdb.cp/cpexprs.exp.tcl: ... this.
4168 * gdb.cp/cpexprs-debug-types.exp: Update.
4169 * gdb.cp/cpexprs.exp: Update.
4170 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4171 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4172 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4173 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4174 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4175 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4176 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4177 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4178 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4179 * gdb.dwarf2/clang-debug-names.exp: Update.
4180
d1034d78
AB
41812020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4182
4183 * lib/check-test-names.exp: Remove code that prevents this file
4184 loading when tests are run in parallel.
4185
3c5c3649
PA
41862020-05-15 Pedro Alves <palves@redhat.com>
4187
4188 * gdb.multi/multi-kill.exp (start_inferior): Remove
4189 'testpid' parameter. Refer to namespace variable directly.
4190 (testpid): Declare as namespace variable.
4191
272c36b8
PA
41922020-05-15 Pedro Alves <palves@redhat.com>
4193
4194 * gdb.multi/multi-kill.exp: Wrap in namespace.
4195 (start_inferior): Add TESTPID parameter. Use it instead of the
4196 testpid global.
4197 (top level): Define empty TESTPID array, and pass it down to
4198 start_inferior.
4199
02eba61a
TV
42002020-05-14 Tom de Vries <tdevries@suse.de>
4201
4202 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4203 output.
4204
971a3747
TV
42052020-05-14 Tom de Vries <tdevries@suse.de>
4206
4207 * gdb.base/align.exp: Split into ...
4208 * gdb.base/align.exp.in: ...
4209 * gdb.base/align-c++.exp: ...
4210 * gdb.base/align-c.exp: ... these.
4211 * gdb.base/infcall-nested-structs.exp: Split into ...
4212 * gdb.base/infcall-nested-structs.exp.in: ...
4213 * gdb.base/infcall-nested-structs-c++.exp: ...
4214 * gdb.base/infcall-nested-structs-c.exp: ... these.
4215 * gdb.base/info-types.exp: Split into ...
4216 * gdb.base/info-types.exp.in: ...
4217 * gdb.base/info-types-c++.exp: ...
4218 * gdb.base/info-types-c.exp: ... these.
4219 * gdb.base/max-depth.exp: Split into ...
4220 * gdb.base/max-depth.exp.in: ...
4221 * gdb.base/max-depth-c++.exp: ...
4222 * gdb.base/max-depth-c.exp: ... these.
4223 * gdb.cp/infcall-nodebug.exp: Split into ...
4224 * gdb.cp/infcall-nodebug.exp.in: ...
4225 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4226 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4227 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4228 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4229
a05575d3
TBA
42302020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4231 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.multi/multi-exit.c: New file.
4234 * gdb.multi/multi-exit.exp: New file.
4235 * gdb.multi/multi-kill.c: New file.
4236 * gdb.multi/multi-kill.exp: New file.
4237
6ad82919
TBA
42382020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4239
4240 * gdb.base/annota1.exp: Update the expected output.
4241 * gdb.cp/annota2.exp: Ditto.
4242
843f4d93
AB
42432020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4244
4245 * lib/check-test-names.exp: Disable when testing is being run in
4246 parallel.
4247
c7c66341
TV
42482020-05-12 Tom de Vries <tdevries@suse.de>
4249
4250 * gdb.base/jit-elf.exp: Fix string concat.
4251
1b59ca1c
TV
42522020-05-12 Tom de Vries <tdevries@suse.de>
4253
4254 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4255 messages.
4256
b4991d29
TV
42572020-05-12 Tom de Vries <tdevries@suse.de>
4258
4259 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4260
dbb0ab10
TV
42612020-05-12 Tom de Vries <tdevries@suse.de>
4262
4263 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4264 * gdb.ada/mi_catch_ex.exp: Same.
4265 * gdb.ada/mi_catch_ex_hand.exp: Same.
4266
7549fed8
TV
42672020-05-12 Tom de Vries <tdevries@suse.de>
4268
4269 * gdb.fortran/complex.exp: Use with_test_prefix.
4270
af2d5cd8
TV
42712020-05-12 Tom de Vries <tdevries@suse.de>
4272
4273 * gdb.trace/passcount.exp: Fix test-names.
4274
7c121311
TV
42752020-05-12 Tom de Vries <tdevries@suse.de>
4276
4277 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4278
c9f3b40e
TV
42792020-05-12 Tom de Vries <tdevries@suse.de>
4280
4281 * gdb.gdb/complaints.exp: Use with_test_prefix.
4282 * gdb.xml/tdesc-regs.exp: Same.
4283 * gdb.opt/inline-locals.exp: Fix test name.
4284
111b33f0
TV
42852020-05-12 Tom de Vries <tdevries@suse.de>
4286
4287 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4288 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4289 * gdb.dwarf2/implref-struct.exp: Same.
4290 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4291 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4292
ebf47080
SM
42932020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4294
4295 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4296
d30dcd12
AB
42972020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4298
4299 * lib/check-test-names.exp (all_test_names): New module variable.
4300 (counts): Add 'duplicates' field.
4301 (_check_duplicates): New procedure.
4302 (check): Also check for duplicates.
4303 (do_log_summary): Print duplicates count.
4304 (do_reset_vars): Reset counter for duplicate test names, and
4305 discard all know test names.
4306
34584c09
AB
43072020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4308
4309 * lib/gdb.exp: Include check-test-names.exp library.
4310 * lib/check-test-names.exp: New file.
4311
e0002117
TV
43122020-05-11 Tom de Vries <tdevries@suse.de>
4313
4314 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4315
53f539a3
KS
43162020-05-11 Keith Seitz <keiths@redhat.com>
4317
4318 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4319
113ee09a
TV
43202020-05-11 Tom de Vries <tdevries@suse.de>
4321
4322 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4323 * gdb.cp/cpexprs.exp.in: .. here.
4324 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4325 cpexprs.exp.
4326
ba3e70b0
KS
43272020-05-11 Keith Seitz <keiths@redhat.com>
4328
4329 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4330 test names.
4331 * gdb.ada/arrayptr.exp: Likewise.
4332 * gdb.ada/assign_arr.exp: Likewise.
4333 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4334 * gdb.ada/bp_on_var.exp: Likewise.
4335 * gdb.ada/call_pn.exp: Likewise.
4336 * gdb.ada/complete.exp: Likewise.
4337 * gdb.ada/fun_overload_menu.exp: Likewise.
4338 * gdb.ada/funcall_param.exp: Likewise.
4339 * gdb.ada/funcall_ref.exp: Likewise.
4340 * gdb.ada/packed_array_assign.exp: Likewise.
4341 * gdb.ada/same_component_name.exp: Likewise.
4342 * gdb.ada/type_coercion.exp: Likewise.
4343 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4344 * gdb.ada/variant_record_packed_array.exp: Likewise.
4345
3ee6bb11
TV
43462020-05-11 Tom de Vries <tdevries@suse.de>
4347
4348 PR symtab/25941
4349 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4350 out of ...
4351 * gdb.dwarf2/clang-debug-names.exp: ... here.
4352 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4353 clang-debug-names.exp.in.
4354 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4355 * gdb.dwarf2/clang-debug-names-2.c: New test.
4356
86cd6bc8
AKS
43572020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4358
4359 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4360 (fortran_runto_main): New Proc, fortran version of runto_main.
4361 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4362 * gdb.fortran/array-bounds.exp: Likewise.
4363 * gdb.fortran/array-slices.exp: Likewise.
4364 * gdb.fortran/block-data.exp: Likewise.
4365 * gdb.fortran/charset.exp: Likewise.
4366 * gdb.fortran/common-block.exp: Likewise.
4367 * gdb.fortran/complex.exp: Likewise.
4368 * gdb.fortran/derived-type-function.exp: Likewise.
4369 * gdb.fortran/derived-type.exp: Likewise.
4370 * gdb.fortran/info-modules.exp: Likewise.
4371 * gdb.fortran/info-types.exp: Likewise.
4372 * gdb.fortran/intrinsics.exp: Likewise.
4373 * gdb.fortran/library-module.exp: Likewise.
4374 * gdb.fortran/logical.exp: Likewise.
4375 * gdb.fortran/max-depth.exp: Likewise.
4376 * gdb.fortran/module.exp: Likewise.
4377 * gdb.fortran/multi-dim.exp: Likewise.
4378 * gdb.fortran/nested-funcs.exp: Likewise.
4379 * gdb.fortran/print-formatted.exp: Likewise.
4380 * gdb.fortran/print_type.exp: Likewise.
4381 * gdb.fortran/printing-types.exp: Likewise.
4382 * gdb.fortran/ptr-indentation.exp: Likewise.
4383 * gdb.fortran/ptype-on-functions.exp: Likewise.
4384 * gdb.fortran/subarray.exp: Likewise.
4385 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4386 * gdb.fortran/vla-datatypes.exp: Likewise.
4387 * gdb.fortran/vla-history.exp: Likewise.
4388 * gdb.fortran/vla-ptr-info.exp: Likewise.
4389 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4390 * gdb.fortran/vla-ptype.exp: Likewise.
4391 * gdb.fortran/vla-sizeof.exp: Likewise.
4392 * gdb.fortran/vla-type.exp: Likewise.
4393 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4394 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4395 * gdb.fortran/vla-value-sub.exp: Likewise.
4396 * gdb.fortran/vla-value.exp: Likewise.
4397 * gdb.fortran/whatis_type.exp: Likewise.
4398 * gdb.mi/mi-var-child-f.exp: Likewise.
4399
6dc55ce9 44002020-05-09 Tom de Vries <tdevries@suse.de>
4401
4402 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4403
283cb58c
TV
44042020-05-08 Tom de Vries <tdevries@suse.de>
4405
4406 * gdb.dwarf2/clang-debug-names.c: New test.
4407 * gdb.dwarf2/clang-debug-names.exp: New file.
4408
ac4a4f1c
SM
44092020-05-06 Simon Marchi <simon.marchi@efficios.com>
4410
4411 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4412 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4413
24fe640b
TV
44142020-05-06 Tom de Vries <tdevries@suse.de>
4415
4416 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4417 breakpoint is at a "recommended breakpoint location".
4418 * gdb.reverse/consecutive-reverse.exp: Same.
4419
0d8683a3
TV
44202020-05-06 Tom de Vries <tdevries@suse.de>
4421
4422 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4423 address.
4424
b8983c46
TV
44252020-05-06 Tom de Vries <tdevries@suse.de>
4426
4427 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4428
abf6d805
TV
44292020-05-06 Tom de Vries <tdevries@suse.de>
4430
4431 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4432 info for r.
4433
0fc2a808
TV
44342020-05-06 Tom de Vries <tdevries@suse.de>
4435
4436 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4437 necessary.
4438
873dd427
TV
44392020-05-06 Tom de Vries <tdevries@suse.de>
4440
4441 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4442 void.
4443
7c99e7e2
TV
44442020-05-06 Tom de Vries <tdevries@suse.de>
4445
4446 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4447 of ...
4448 * gdb.base/async.exp: ... here.
4449 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4450 "recommended breakpoint location".
4451
6173d6a6
TV
44522020-05-06 Tom de Vries <tdevries@suse.de>
4453
4454 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4455
6015a067
TV
44562020-05-04 Tom de Vries <tdevries@suse.de>
4457
4458 * gdb.base/async.exp: Check whether instruction addresses are a
4459 "recommended breakpoint location".
4460
3b6acaee
TT
44612020-05-03 Tom Tromey <tom@tromey.com>
4462
4463 * gdb.base/sepdebug.exp: Remove "catch" test.
4464 * gdb.base/break.exp: Remove "catch" test.
4465 * gdb.base/default.exp: Update expected output.
4466
5beb4d17
TV
44672020-05-02 Tom de Vries <tdevries@suse.de>
4468
4469 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4470 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4471 * gdb.arch/i386-mpx-map.exp: Same.
4472 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4473 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4474 * gdb.arch/i386-mpx.exp: Same.
4475
8caf140d
TV
44762020-05-02 Tom de Vries <tdevries@suse.de>
4477
4478 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4479
693196cb
TV
44802020-05-01 Tom de Vries <tdevries@suse.de>
4481
4482 * gdb.ada/operator_bp.exp: Allow more than required amount of
4483 breakpoint.
4484
53ae0aa9
TV
44852020-05-01 Tom de Vries <tdevries@suse.de>
4486
4487 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4488
ee9d1e5f
HD
44892020-04-30 Hannes Domani <ssbssa@yahoo.de>
4490
4491 PR gdb/18706
4492 * gdb.cp/stub-array-size.cc: New test.
4493 * gdb.cp/stub-array-size.exp: New file.
4494 * gdb.cp/stub-array-size.h: New test.
4495 * gdb.cp/stub-array-size2.cc: New test.
4496
d5cf82c0
HD
44972020-04-30 Hannes Domani <ssbssa@yahoo.de>
4498
4499 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4500 output to the new format.
4501
42e165c3
SM
45022020-04-29 Simon Marchi <simon.marchi@efficios.com>
4503
4504 * gdb.base/break.exp: Use with_test_prefix.
4505
6e4e3fe1
TV
45062020-04-29 Tom de Vries <tdevries@suse.de>
4507
4508 * lib/gdb.exp (debug_types): New proc.
4509 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4510 * gdb.python/py-symtab.exp: Same.
4511
d642b692
HD
45122020-04-29 Hannes Domani <ssbssa@yahoo.de>
4513
4514 PR gdb/17320
4515 * gdb.base/pretty-array.c: New test.
4516 * gdb.base/pretty-array.exp: New file.
4517
ea90f227
TV
45182020-04-29 Tom de Vries <tdevries@suse.de>
4519
4520 PR symtab/25889
4521 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4522 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4523 and include cpexprs.exp.
4524
a65189c9
TV
45252020-04-28 Mark Williams <mark@myosotissp.com>
4526
4527 PR gdb/24480
4528 * dw4-toplevel-types.exp: Test for top level types.
4529 * dw4-toplevel-types.cc: Test for top level types.
4530
32d1f47a
TBA
45312020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4532
4533 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4534 (theads -> threads).
4535
56a4f5a1
TV
45362020-04-28 Tom de Vries <tdevries@suse.de>
4537
4538 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4539
0b2f8a3b
TV
45402020-04-28 Tom de Vries <tdevries@suse.de>
4541
4542 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4543
5390c717
TV
45442020-04-28 Tom de Vries <tdevries@suse.de>
4545
4546 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4547
15cd93d0
TV
45482020-04-28 Tom de Vries <tdevries@suse.de>
4549
4550 * gdb.dwarf2/main-foo.c: New test.
4551 * gdb.dwarf2/struct-with-sig.exp: New file.
4552
d472f0fb
TV
45532020-04-25 Tom de Vries <tdevries@suse.de>
4554
4555 * boards/debug-types.exp: New file.
4556
8d840e05
AB
45572020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4558
4559 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4560
bcfe6157
TT
45612020-04-24 Tom Tromey <tom@tromey.com>
4562
4563 PR symtab/12707:
4564 * gdb.python/py-symbol.exp: Update expected results for
4565 linkage_name test.
4566 * gdb.cp/print-demangle.exp: New file.
4567 * gdb.base/c-linkage-name.exp: Fix test.
4568 * gdb.guile/scm-symbol.exp: Update expected results for
4569 linkage_name test.
4570
f049a313
TT
45712020-04-24 Tom Tromey <tom@tromey.com>
4572
4573 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4574 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4575 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4576 assembler.
4577
7cf28874
TV
45782020-04-24 Tom de Vries <tdevries@suse.de>
4579
4580 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4581 C++.
4582
dac2fef7
TT
45832020-04-24 Tom Tromey <tromey@adacore.com>
4584
4585 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4586 values.
4587 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4588 values. Update test for minimal encodings.
4589 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4590 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4591 values. Update test for minimal encodings.
4592
1acda803
TT
45932020-04-24 Tom Tromey <tromey@adacore.com>
4594
4595 PR python/23662:
4596 * gdb.ada/variant.exp: Add Python checks.
4597 * gdb.rust/simple.exp: Add dynamic type checks.
4598
adfb9815
TT
45992020-04-24 Tom Tromey <tromey@adacore.com>
4600
4601 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4602 Make array type matching more lax.
4603 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4604 * gdb.ada/mi_variant.exp: New file.
4605 * gdb.ada/mi_variant/pck.ads: New file.
4606 * gdb.ada/mi_variant/pkg.adb: New file.
4607 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4608 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4609
7d79de9a
TT
46102020-04-24 Tom Tromey <tromey@adacore.com>
4611
4612 * gdb.ada/variant.exp: Add dynamic field offset tests.
4613 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4614 * gdb.ada/variant/pkg.adb: Add new variables.
4615
f8e89861
TT
46162020-04-24 Tom Tromey <tromey@adacore.com>
4617
4618 * gdb.ada/variant.exp: New file
4619 * gdb.ada/variant/pkg.adb: New file
4620 * gdb.ada/variant/pck.adb: New file
4621
86e887ae
TV
46222020-04-24 Tom de Vries <tdevries@suse.de>
4623
4624 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4625
88428775
TV
46262020-04-24 Tom de Vries <tdevries@suse.de>
4627
4628 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4629 flags.
4630
4e86f6e7
TV
46312020-04-24 Tom de Vries <tdevries@suse.de>
4632
4633 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4634
2016d3e6
TV
46352020-04-24 Tom de Vries <tdevries@suse.de>
4636
4637 * lib/gdb.exp (default_gdb_start): Handle eof.
4638 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4639 failure.
4640 * gdb.base/readnever.exp: Handle clean_restart failure.
4641
70bc38f5
TV
46422020-04-23 Tom de Vries <tdevries@suse.de>
4643
4644 * gdb.base/decl-before-def.exp: Run to main and print a again.
4645
de82891c
TV
46462020-04-23 Tom de Vries <tdevries@suse.de>
4647
4648 * gdb.base/decl-before-def-decl.c: New test.
4649 * gdb.base/decl-before-def-def.c: New test.
4650 * gdb.base/decl-before-def.exp: New file.
4651
96038148
TV
46522020-04-23 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4655
54ac3df1
TV
46562020-04-22 Tom de Vries <tdevries@suse.de>
4657
4658 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4659 debug_info_offset.
4660 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4661 before $objsfile in the line line.
4662
714534e1
TV
46632020-04-22 Tom de Vries <tdevries@suse.de>
4664
4665 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4666
16a7dbf4
MS
46672020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4668
4669 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4670 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4671 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4672 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4673 * gdb.base/jit-protocol.h: Update definitions to match all usage
4674 contexts.
4675
46762020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4677
4678 * gdb.base: Rename all jit related test and source files.
4679
46802020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4681
4682 * gdb.base/jit-reader.exp: Relax register output check.
4683
317d2668
TV
46842020-04-22 Tom de Vries <tdevries@suse.de>
4685
4686 PR symtab/25764
4687 * gdb.base/psym-external-decl-2.c: New test.
4688 * gdb.base/psym-external-decl.c: New test.
4689 * gdb.base/psym-external-decl.exp: New file.
4690 * gdb.threads/tls.exp: Add PR25807 kfail.
4691
eea9e357
TV
46922020-04-22 Tom de Vries <tdevries@suse.de>
4693
4694 PR symtab/25801
4695 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4696 in "info source" output.
4697
3d5afab3
TV
46982020-04-22 Tom de Vries <tdevries@suse.de>
4699
4700 PR symtab/25700
4701 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4702 symtab for imported_unit.c.
4703
b32102f6
GB
47042020-04-21 Gary Benson <gbenson@redhat.com>
4705
4706 * gdb.base/advance.c (func): New argument, to match call site.
4707 (func2, func3): Add return statements.
4708
d43b7a2d
TBA
47092020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4710
4711 * gdb.multi/run-only-second-inf.c: New file.
4712 * gdb.multi/run-only-second-inf.exp: New file.
4713
d89edf9b
MM
47142020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4715
4716 * gdb.btrace/multi-inferior.c: New test.
4717 * gdb.btrace/multi-inferior.exp: New file.
4718
1a476b6d
MM
47192020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4720
4721 * gdb.btrace/enable-new-thread.c: New test.
4722 * gdb.btrace/enable-new-thread.exp: New file.
4723
4778a5f8
TV
47242020-04-21 Tom de Vries <tdevries@suse.de>
4725
4726 PR gdb/25471
4727 * gdb.threads/killed-outside.c: New test.
4728 * gdb.threads/killed-outside.exp: New file.
4729
9b2c992c
GB
47302020-04-20 Gary Benson <gbenson@redhat.com>
4731
4732 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4733 * gdb.base/nested-subp2.exp: Likewise.
4734 * gdb.base/nested-subp3.exp: Likewise.
4735
b5d1d6f7
GB
47362020-04-20 Gary Benson <gbenson@redhat.com>
4737
4738 * gdb.base/nested-subp1.exp: Disable test when using clang.
4739 * gdb.base/nested-subp2.exp: Likewise.
4740 * gdb.base/nested-subp3.exp: Likewise.
4741
25230285
GB
47422020-04-20 Gary Benson <gbenson@redhat.com>
4743
4744 * gdb.cp/exception.cc: Fix compilation error with clang.
4745
fa93cc8f
GB
47462020-04-20 Gary Benson <gbenson@redhat.com>
4747
809730f3 4748 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4749
e0c45f30
GB
47502020-04-20 Gary Benson <gbenson@redhat.com>
4751
4752 * gdb.base/jit-main.c: Fix compilation error with clang.
4753
4ddfec93
KR
47542020-04-17 Kamil Rytarowski <n54@gmx.com>
4755
4756 * gdb.base/attach-twice.c: Include "sys/types.h".
4757 (PTRACE_ATTACH): Add fallback definition.
4758 (main): Pass `0' to the 4th argument of `ptrace'.
4759
2bed205e
KR
47602020-04-17 Kamil Rytarowski <n54@gmx.com>
4761
4762 * gdb.base/fork-running-state.c: Include "signal.h".
4763
0743fc83
TT
47642020-04-17 Tom Tromey <tromey@adacore.com>
4765
4766 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4767 Update tests.
4768 * gdb.btrace/cpu.exp: Update tests.
4769 * gdb.base/maint.exp: Update tests.
4770 * gdb.base/default.exp: Update tests.
4771 * gdb.base/completion.exp: Update tests.
4772
efba5c23
TV
47732020-04-16 Tom de Vries <tdevries@suse.de>
4774
4775 PR symtab/25791
4776 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4777 (ensure_gdb_index): and factor out and move ...
4778 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4779 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4780
d191d716
TV
47812020-04-16 Tom de Vries <tdevries@suse.de>
4782
4783 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4784 loading exec.
4785
99f1bc6a
AB
47862020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4787
4788 * gdb.base/many-completions.exp: New file.
4789
194d088f
TV
47902020-04-14 Tom de Vries <tdevries@suse.de>
4791
4792 PR symtab/25718
4793 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4794
c1a66c06
TV
47952020-04-14 Tom de Vries <tdevries@suse.de>
4796
4797 PR symtab/25720
4798 * gdb.base/maint-expand-symbols-header-file.c: New test.
4799 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4800 * gdb.base/maint-expand-symbols-header-file.h: New test.
4801
21b0982c
AB
48022020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4803
4804 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4805 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4806 get_func_info.
4807 (get_func_info): Delete.
4808 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4809 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4810 * lib/dwarf.exp (get_func_info): New function.
4811
dd1cab06
TV
48122020-04-13 Tom de Vries <tdevries@suse.de>
4813
4814 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4815 to what find_gnatmake does.
4816
71ea2b6b
TV
48172020-04-10 Tom de Vries <tdevries@suse.de>
4818
4819 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4820 -readnow.
4821
bdfc1e8a
TV
48222020-04-10 Tom de Vries <tdevries@suse.de>
4823
4824 PR cli/25808
4825 * gdb.base/style.c: Add leading newlines.
4826 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4827 Check listing of main's one-line body.
4828
14ca8ecf
TV
48292020-04-08 Tom de Vries <tdevries@suse.de>
4830
4831 * lib/gdb.exp (psymtabs_p): New proc.
4832 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4833 importing unit" unsupported if there are no partial symbols.
4834
e21d048f
TV
48352020-04-08 Tom de Vries <tdevries@suse.de>
4836
4837 PR testsuite/25760
4838 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4839
25c11aca
TV
48402020-04-07 Tom de Vries <tdevries@suse.de>
4841
4842 PR symtab/25796
4843 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4844
5707e24b
TV
48452020-04-07 Tom de Vries <tdevries@suse.de>
4846
4847 * gdb.base/check-psymtab.c: New test.
4848 * gdb.base/check-psymtab.exp: New file.
4849
6ee448cc
TT
48502020-04-06 Tom Tromey <tromey@adacore.com>
4851
4852 * gdb.ada/variant-record/proc.adb: New file.
4853 * gdb.ada/variant-record/value.adb: New file.
4854 * gdb.ada/variant-record/value.s: New file.
4855 * gdb.ada/variant-record.exp: New file.
4856
9e7c9a03
HD
48572020-04-03 Hannes Domani <ssbssa@yahoo.de>
4858
4859 PR gdb/25325
4860 * gdb.cp/typed-enum.cc: New test.
4861 * gdb.cp/typed-enum.exp: New file.
4862
c90d28ac
AB
48632020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4864
4865 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4866 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4867 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4868 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4869 * gdb.opt/inline-small-func.c: New file.
4870 * gdb.opt/inline-small-func.exp: New file.
4871 * gdb.opt/inline-small-func.h: New file.
4872
34e9a9fa
AB
48732020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4874
4875 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4876 function.
4877
6a354911
AB
48782020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4879
4880 * lib/dwarf.exp (function_range): Allow compiler options to be
4881 specified.
4882
880d9777
TV
48832020-04-02 Tom de Vries <tdevries@suse.de>
4884
4885 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4886 __attribute__((always_inline)).
4887 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4888
f32682ea
TV
48892020-04-02 Tom de Vries <tdevries@suse.de>
4890
4891 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4892 (gdbserver_gdb_exit): ... here. Add timeout warning.
4893 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4894 (connect_target_extended_remote): Append new server_spawn_id to
4895 server_spawn_ids.
4896 (cleanup): New proc.
4897 (setup, <toplevel>): Call cleanup.
4898
d3214198
TV
48992020-04-02 Tom de Vries <tdevries@suse.de>
4900
4901 * gdb.base/main-psymtab.exp: New file.
4902
cc77ed24
TV
49032020-04-02 Tom de Vries <tdevries@suse.de>
4904
4905 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4906
3638a098
TT
49072020-04-01 Tom Tromey <tom@tromey.com>
4908
4909 * gdb.base/complex-parts.exp: Add type tests.
4910
c34e8714
TT
49112020-04-01 Tom Tromey <tom@tromey.com>
4912
4913 * gdb.base/complex-parts.exp: Add arithmetic tests.
4914
981c08ce
TT
49152020-04-01 Tom Tromey <tom@tromey.com>
4916
4917 * gdb.compile/compile.exp: Update.
4918 * gdb.compile/compile-cplus.exp: Update.
4919 * gdb.base/varargs.exp: Update.
4920 * gdb.base/floatn.exp: Update.
4921 * gdb.base/endianity.exp: Update.
4922 * gdb.base/callfuncs.exp (do_function_calls): Update.
4923 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4924 (complex_float_integral_args): Update.
4925 * gdb.base/complex.exp: Update.
4926 * gdb.base/complex-parts.exp: Update.
4927
3d1cfd43
TT
49282020-04-01 Tom Tromey <tromey@adacore.com>
4929
4930 * gdb.rust/union.rs: New file.
4931 * gdb.rust/union.exp: New file.
4932 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4933 (main): Update.
4934 * gdb.rust/simple.exp: Move union tests to union.exp.
4935
e033dfa9
TT
49362020-04-01 Tom Tromey <tromey@adacore.com>
4937
4938 * gdb.rust/simple.rs (main): Remove "y0".
4939
53cccef1
TBA
49402020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4941
4942 * gdb.multi/stop-all-on-exit.c: New test.
4943 * gdb.multi/stop-all-on-exit.exp: New file.
4944
60e22c1e
HD
49452020-04-01 Hannes Domani <ssbssa@yahoo.de>
4946
4947 PR gdb/24789
4948 * gdb.cp/misc.cc: Add integer reference variable.
4949 * gdb.cp/misc.exp: Add test.
4950
e139a727
TBA
49512020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4952
4953 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4954 scenario to cover execution until the end and also the case
4955
16b0db75
TV
49562020-03-31 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4959 c. Use "maint info symtabs" to check symtab expansion.
4960
c0502da6
TV
49612020-03-30 Tom de Vries <tdevries@suse.de>
4962
4963 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4964 unsupported.
4965 (verify_psymtab_expanded): Move ...
4966 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4967 test.
4968 (readnow): New proc.
4969
5935fd15
AB
49702020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4971
4972 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4973 with $hex.
4974
1773be9e
TT
49752020-03-20 Tom Tromey <tromey@adacore.com>
4976
4977 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4978
70304be9
TT
49792020-03-20 Tom Tromey <tromey@adacore.com>
4980
4981 * gdb.ada/sub_variant/subv.adb: New file.
4982 * gdb.ada/sub_variant.exp: New file.
4983
0dd7b8f7
TV
49842020-03-20 Tom de Vries <tdevries@suse.de>
4985
4986 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4987 first break fails.
4988 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4989
cada5fc9
AB
49902020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4991
4992 * gdb.server/exit-multiple-threads.c: New file.
4993 * gdb.server/exit-multiple-threads.exp: New file.
4994
6b8c53f2
AB
49952020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4996
4997 * gdb.fortran/mixed-lang-stack.c: New file.
4998 * gdb.fortran/mixed-lang-stack.cpp: New file.
4999 * gdb.fortran/mixed-lang-stack.exp: New file.
5000 * gdb.fortran/mixed-lang-stack.f90: New file.
5001
19a2740f
AB
50022020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5003
5004 * gdb.linespec/cp-completion-aliases.cc: New file.
5005 * gdb.linespec/cp-completion-aliases.exp: New file.
5006
d8c8b848
TV
50072020-03-19 Tom de Vries <tdevries@suse.de>
5008
5009 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5010 more precise.
5011
a9933ccf
TV
50122020-03-18 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5015 * gdb.dwarf2/break-inline-psymtab.c: New test.
5016 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5017
2f89101f
TV
50182020-03-16 Tom de Vries <tdevries@suse.de>
5019
5020 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5021 cache_verify and cache_verify_proc.
5022
6b9374f1
TV
50232020-03-15 Tom de Vries <tdevries@suse.de>
5024
5025 * gdb.server/solib-list.exp: Handle
5026 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5027
eaeaf44c
TV
50282020-03-15 Tom de Vries <tdevries@suse.de>
5029
5030 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5031 objfiles".
5032
3293bbaf
TT
50332020-03-14 Tom Tromey <tom@tromey.com>
5034
5035 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5036
ab44624c
TV
50372020-03-14 Tom de Vries <tdevries@suse.de>
5038
5039 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5040
54c43825
TV
50412020-03-14 Tom de Vries <tdevries@suse.de>
5042
5043 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5044 result in line-by-line fashion.
5045
2ac70237
TV
50462020-03-14 Tom de Vries <tdevries@suse.de>
5047
5048 * lib/gdb.exp (supports_statement_frontiers): New proc.
5049 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5050
09546b56
TV
50512020-03-14 Tom de Vries <tdevries@suse.de>
5052
5053 * gdb.base/printcmds.exp: Add missing quoting for "print
5054 teststring2".
5055
a1f6a07c
TT
50562020-03-13 Tom Tromey <tom@tromey.com>
5057
5058 * gdb.base/printcmds.exp (test_print_strings): Add regression
5059 test.
5060 * gdb.base/printcmds.c (charptr): New typedef.
5061 (teststring2): New global.
5062
1b83d09c
AB
50632020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5064
5065 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5066 full path in the test name.
5067 (test_ld): Add some with_test_prefix blocks to make test names
5068 unique.
5069
2d61316c
TV
50702020-03-13 Tom de Vries <tdevries@suse.de>
5071
5072 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5073
2e9145ac
TV
50742020-03-13 Tom de Vries <tdevries@suse.de>
5075
5076 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5077
96c7f873
TV
50782020-03-13 Tom de Vries <tdevries@suse.de>
5079
5080 PR symtab/25646
5081 * gdb.dwarf2/imported-unit.exp: Add test.
5082
49ba92c0
TV
50832020-03-13 Tom de Vries <tdevries@suse.de>
5084
5085 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5086 (var1, var2): New variable.
5087 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5088 matching symbols.
5089
301b21e0
TV
50902020-03-13 Tom de Vries <tdevries@suse.de>
5091
5092 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5093 (Term::command): Use prompt prefix.
5094 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5095 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5096 command_no_prompt_prefix instead of prefix.
5097 * gdb.tui/tui-layout-asm.exp: Same.
5098
3f512721
SM
50992020-03-12 Simon Marchi <simon.marchi@efficios.com>
5100
5101 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5102
40310f30
SM
51032020-03-12 Simon Marchi <simon.marchi@efficios.com>
5104
5105 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5106 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5107 on" while stepping over the test instruction, match printed
5108 message.
5109
09252140
TV
51102020-03-12 Tom de Vries <tdevries@suse.de>
5111
5112 * gdb.base/info-types.exp: Use exp_continue during matching of output
5113 of "info types".
5114
14e9c72c
TV
51152020-03-12 Tom de Vries <tdevries@suse.de>
5116
5117 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5118
e515d67e
TV
51192020-03-12 Tom de Vries <tdevries@suse.de>
5120
5121 * gdb.fortran/module.exp: Use exp_continue during matching of output
5122 of "info variable -n".
5123
307eafd8
TV
51242020-03-12 Tom de Vries <tdevries@suse.de>
5125
5126 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5127 gdb.dwarf2/dw2-ranges-base.c.
5128
9a2de3fc
TV
51292020-03-12 Tom de Vries <tdevries@suse.de>
5130
5131 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5132 in presence of GLIBC debuginfo.
5133
3217502e
TV
51342020-03-12 Tom de Vries <tdevries@suse.de>
5135
5136 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5137 $core.
5138
1281424c
TV
51392020-03-12 Tom de Vries <tdevries@suse.de>
5140
5141 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5142 more precise.
5143
038b97fc
SM
51442020-03-11 Simon Marchi <simon.marchi@efficios.com>
5145
5146 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5147 from Unix to Windows path.
5148
5308d1e7
TV
51492020-03-11 Tom de Vries <tdevries@suse.de>
5150
5151 * gdb.ada/minsyms.exp: Set language to ada.
5152
f870f78f
TV
51532020-03-11 Tom de Vries <tdevries@suse.de>
5154
5155 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5156
5a13315d
TV
51572020-03-11 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5160
976862ed
TT
51612020-03-11 Tom Tromey <tromey@adacore.com>
5162
5163 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5164
7462c383
TV
51652020-03-11 Tom de Vries <tdevries@suse.de>
5166
5167 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5168
1c6c46a0
TV
51692020-03-11 Tom de Vries <tdevries@suse.de>
5170
5171 * gdb.base/break-interp.exp: Limit verbose scope.
5172
44f41bb7
TV
51732020-03-11 Tom de Vries <tdevries@suse.de>
5174
5175 * gdb.fortran/logical.f90: Define variable with character type.
5176 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5177
b76f3a42
TV
51782020-03-11 Tom de Vries <tdevries@suse.de>
5179
5180 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5181
1c33af77
TV
51822020-03-11 Tom de Vries <tdevries@suse.de>
5183
5184 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5185 symtabs.
5186
8c95582d
AB
51872020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5188 Bernd Edlinger <bernd.edlinger@hotmail.de>
5189
5190 * gdb.cp/step-and-next-inline.cc: New file.
5191 * gdb.cp/step-and-next-inline.exp: New file.
5192 * gdb.cp/step-and-next-inline.h: New file.
5193 * gdb.dwarf2/dw2-is-stmt.c: New file.
5194 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5195 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5196 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5197 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5198
cecf8547
AB
51992020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5200
5201 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5202 is-stmt flag in the line table.
5203
0ba678c9
TV
52042020-03-09 Tom de Vries <tdevries@suse.de>
5205
5206 * lib/gdb.exp (cached_file): Create cache dir.
5207
72fbdf83
TV
52082020-03-07 Tom de Vries <tdevries@suse.de>
5209
5210 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5211 * gdb.cp/rvalue-ref-params.exp: Same.
5212
436b5e99
TV
52132020-03-06 Tom de Vries <tdevries@suse.de>
5214
5215 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5216 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5217
09f2921c
TV
52182020-03-06 Tom de Vries <tdevries@suse.de>
5219
5220 * README: Fix "the the".
5221 * gdb.base/dprintf.exp: Same.
5222
50a3cc5d
TV
52232020-03-05 Tom de Vries <tdevries@suse.de>
5224
5225 * gdb.base/maint.exp: Update "main print statistics" expected output.
5226
0a709cba
AKS
52272020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5228
5229 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5230 (fortran_int8): Likewise.
5231 (fortran_real4): Likewise.
5232 (fortran_real8): Likewise.
5233 (fortran_complex4): Likewise.
5234 (fortran_logical4): Likewise.
5235 (fortran_character1): Likewise.
5236
5e5d66b6
AB
52372020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5238
5239 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5240 printed as true.
5241
7b973adc
SDJ
52422020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5243
5244 * gdb.base/printcmds.exp: Add test to verify printf of a
5245 variable holding an address.
5246
478e490a
TV
52472020-03-03 Tom de Vries <tdevries@suse.de>
5248
5249 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5250
1ef44e86
TV
52512020-03-03 Tom de Vries <tdevries@suse.de>
5252
5253 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5254 gdb_test_multiple call.
5255
b98cc2cf
TV
52562020-03-03 Tom de Vries <tdevries@suse.de>
5257
5258 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5259 gdb_test_multiple calls.
5260
63e163f2
AB
52612020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5262
5263 * gdb.base/default.exp: Remove test of 'set history filename'.
5264 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5265 filename to the empty string.
5266 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5267 and GDBHISTSIZE.
5268
24ed6739
AB
52692020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5270
5271 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5272 disabled.
5273
590003dc 52742020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5275 Tom de Vries <tdevries@suse.de>
590003dc
TV
5276
5277 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5278 -prompt prefix, before user_code argument. Add -lbl option likewise.
5279 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5280 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5281 argument.
5282 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5283 have "\r\n" at start-of-line, instead of at end-of-line.
5284
f5e46084
SM
52852020-02-28 Simon Marchi <simon.marchi@efficios.com>
5286
5287 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5288 libinproctrace.so.
5289
f7a7000d
LM
52902020-02-28 Luis Machado <luis.machado@linaro.org>
5291
5292 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5293 to "p/x".
5294
718e0816
LM
52952020-02-28 Luis Machado <luis.machado@linaro.org>
5296
5297 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5298 asm/ptrace.h and error.h.
5299
13c3a74a
TV
53002020-02-28 Tom de Vries <tdevries@suse.de>
5301
5302 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5303 (struct wrapper, do_something, mundane/symada__cS): Move ...
5304 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5305 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5306 Update "print symada__cS before partial symtab expansion" regexp.
5307 Update breakpoint location. Flush symbol cache after expansion.
5308
85d2d5bb
LM
53092020-02-28 Luis Machado <luis.machado@linaro.org>
5310
5311 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5312
3608f86c
TV
53132020-02-27 Tom de Vries <tdevries@suse.de>
5314
5315 * config/sid.exp: Remove unused globals.
5316 * gdb.base/attach.exp: Same.
5317 * gdb.base/catch-load.exp: Same.
5318 * gdb.base/dbx.exp: Same.
5319 * lib/gdb.exp: Same.
5320 * lib/mi-support.exp: Same.
5321 * lib/prompt.exp: Same.
5322
c8d4f6df
TV
53232020-02-27 Tom de Vries <tdevries@suse.de>
5324
5325 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5326 not set.
5327
0d79cdc4
AM
53282020-02-26 Aaron Merey <amerey@redhat.com>
5329
5330 * gdb.debuginfod: New directory for debuginfod tests.
5331 * gdb.debuginfod/main.c: New test file.
5332 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5333
0dce4280
TV
53342020-02-26 Tom de Vries <tdevries@suse.de>
5335
5336 PR gdb/25603
5337 * gdb.base/persistent-lang.cc: New test.
5338 * gdb.base/persistent-lang.exp: New file.
5339
9e80cfa1
AB
53402020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5341
5342 * gdb.fortran/derived-type-striding.exp: Add a new test.
5343 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5344 new test.
5345
2078dbb2
AB
53462020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5347
5348 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5349 names.
5350
70d49700
TV
53512020-02-25 Tom de Vries <tdevries@suse.de>
5352
5353 PR go/18926
5354 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5355
a88ef40d
TV
53562020-02-24 Tom de Vries <tdevries@suse.de>
5357
5358 PR gdb/25592
5359 * gdb.base/info-locals-unused-static-var.c: New test.
5360 * gdb.base/info-locals-unused-static-var.exp: New file.
5361
01b1af32
TT
53622020-02-22 Tom Tromey <tom@tromey.com>
5363
5364 * gdb.python/tui-window.exp: New file.
5365 * gdb.python/tui-window.py: New file.
5366
7c043ba6
TT
53672020-02-22 Tom Tromey <tom@tromey.com>
5368
5369 PR tui/17850:
5370 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5371 tests.
5372
c22fef7e
TT
53732020-02-22 Tom Tromey <tom@tromey.com>
5374
5375 * gdb.tui/new-layout.exp: Add sub-layout tests.
5376
ee325b61
TT
53772020-02-22 Tom Tromey <tom@tromey.com>
5378
5379 * gdb.tui/new-layout.exp: New file.
5380
3f0cbb04
TT
53812020-02-22 Tom Tromey <tom@tromey.com>
5382
5383 * gdb.rust/rust-style.rs: New file.
5384 * gdb.rust/rust-style.exp: New file.
5385 * gdb.base/style.exp: Test structure printing.
5386 * gdb.base/style.c (struct some_struct): New type.
5387 (enum etype): New type.
5388 (struct_value): New global.
5389
75525152
TV
53902020-02-21 Tom de Vries <tdevries@suse.de>
5391
5392 PR go/18926
5393 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5394 Remove blanket xfails. Use message argument for gdb_breakpoint.
5395 Make continuing to breakpoint test conditional on setting breakpoint.
5396 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5397 DW_AT_name attribute. Add xfail for GCC PR93866.
5398
bd360d30
AB
53992020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5400
5401 * gdb.dwarf2/cpp-linkage-name.c: New file.
5402 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5403
c7adb09f 54042020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5405
5406 * lib/gdb.exp (gdb_wrapper_init): Reset
5407 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5408 not exist.
5409
a9c79803
TV
54102020-02-20 Tom de Vries <tdevries@suse.de>
5411
5412 PR go/17018
5413 * gdb.go/hello.exp: Copy ...
5414 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5415 print of st to print value of global definition. Add xfail for GCC
5416 PR93844.
5417 * gdb.go/hello.exp: Remove printing of st before definition.
5418 * gdb.go/hello.go: Copy ...
5419 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5420 to st.
5421 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5422
d7445728
TV
54232020-02-20 Tom de Vries <tdevries@suse.de>
5424
5425 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5426 (gdb_simple_compile): Handle compile_flags go by using .go extension
5427 for source file.
5428 * gdb.go/chan.exp: Use support_go_compile.
5429 * gdb.go/handcall.exp: Same.
5430 * gdb.go/hello.exp: Same.
5431 * gdb.go/integers.exp: Same.
5432 * gdb.go/max-depth.exp: Same.
5433 * gdb.go/methods.exp: Same.
5434 * gdb.go/package.exp: Same.
5435 * gdb.go/strings.exp: Same.
5436 * gdb.go/types.exp: Same.
5437 * gdb.go/unsafe.exp: Same.
5438
c9c41e6d
TV
54392020-02-19 Tom de Vries <tdevries@suse.de>
5440
5441 * gdb.python/lib-types.exp: Make xfail more strict.
5442
f20ff837
TV
54432020-02-19 Tom de Vries <tdevries@suse.de>
5444
5445 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5446
08410482
DE
54472020-02-19 Doug Evans <dje@google.com>
5448
5449 PR rust/25535
5450 * gdb.rust/simple.exp: Add test.
5451 * gdb.rust/simple.rs: Add test.
5452
623563f7
TV
54532020-02-19 Tom de Vries <tdevries@suse.de>
5454
5455 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5456 output line-by-line.
5457
d3308cfd
TV
54582020-02-19 Tom de Vries <tdevries@suse.de>
5459
5460 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5461
86cbc5dc
TV
54622020-02-19 Tom de Vries <tdevries@suse.de>
5463
5464 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5465 prelink.
5466
9db2b96b
TV
54672020-02-19 Tom de Vries <tdevries@suse.de>
5468
5469 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5470 (gdb_do_cache): Use gdb_do_cache_wrap.
5471 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5472
89e2fdc5
TV
54732020-02-19 Tom de Vries <tdevries@suse.de>
5474
5475 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5476 gdb_compile option.
5477
373d7ac0
SM
54782020-02-18 Simon Marchi <simon.marchi@efficios.com>
5479
5480 * gdb.base/printcmds.exp (test_print_enums): Update expected
5481 output.
5482
b29a2df0
SM
54832020-02-18 Simon Marchi <simon.marchi@efficios.com>
5484
5485 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5486 for "unknown".
5487
6740f0cc
SM
54882020-02-18 Simon Marchi <simon.marchi@efficios.com>
5489
5490 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5491 enumerator.
5492
edd45eb0
SM
54932020-02-18 Simon Marchi <simon.marchi@efficios.com>
5494
5495 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5496 FE_, add FE_NONE.
5497 (three): Update.
5498 (enum flag_enum_without_zero): New enum.
5499 (flag_enum_without_zero): New variable.
5500 (enum not_flag_enum): New enum.
5501 (three_not_flag): New variable.
5502 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5503 (test_print_enums): Add more tests for printing flag enums.
5504
d4295de4
TV
55052020-02-18 Tom de Vries <tdevries@suse.de>
5506
5507 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5508 (gdb_compile_ada): ... here.
5509 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5510 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5511
f251f505
TT
55122020-02-14 Tom Tromey <tom@tromey.com>
5513
5514 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5515 build directory.
5516 * boards/gdbserver-base.exp: Update path to gdbserver.
5517
8f432634
TV
55182020-02-13 Tom de Vries <tdevries@suse.de>
5519
5520 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5521
92b6eaf7
TV
55222020-02-13 Tom de Vries <tdevries@suse.de>
5523
5524 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5525 are missing.
5526
f3b0f7fe
TV
55272020-02-13 Tom de Vries <tdevries@suse.de>
5528
5529 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5530 call.
5531
f6be8713
SDJ
55322020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5533
5534 PR tui/25126
5535 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5536 * gdb.base/cached-source-file.c: New file.
5537 * gdb.base/cached-source-file.exp: New file.
5538
b2770d5e
TV
55392020-02-11 Tom de Vries <tdevries@suse.de>
5540
5541 PR testsuite/25488
5542 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5543
44f6938e
TV
55442020-02-10 Tom de Vries <tdevries@suse.de>
5545
5546 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5547
5f0e2eb7
MR
55482020-02-10 Maciej W. Rozycki <macro@wdc.com>
5549
5550 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5551 and $after_addr are both integers before making a comparison.
5552
46ce2b6f
TV
55532020-02-09 Tom de Vries <tdevries@suse.de>
5554
5555 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5556 command output and paste it into gdb.log. If any, paste catch message
5557 to gdb.log.
5558
5abbbe1d
TT
55592020-02-07 Tom Tromey <tromey@adacore.com>
5560
5561 PR breakpoints/24915:
5562 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5563
1d5d29e7
SV
55642020-02-06 Shahab Vahedi <shahab@synopsys.com>
5565
5566 * gdb.tui/tui-missing-src.exp: Add the "missing source
5567 file" test for the TUI.
5568
b0999b9b
AB
55692020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5570
5571 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5572 including a port number in the output.
5573
c3b149eb
AKS
55742020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5575
5576 * lib/fortran.exp (fortran_int4): Handle clang.
5577 (fortran_int8): Likewise.
5578 (fortran_real4): Likewise.
5579 (fortran_real8): Likewise.
5580 (fortran_complex4): Likewise.
5581 (fortran_logical4): Likewise.
5582 (fortran_character1): Likewise.
5583
f8dcc90b
TV
55842020-02-04 Tom de Vries <tdevries@suse.de>
5585
5586 * README (Race detection): Add note.
5587
f90ac7c2
TV
55882020-02-04 Tom de Vries <tdevries@suse.de>
5589
5590 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5591
780636ae
TV
55922020-02-04 Tom de Vries <tdevries@suse.de>
5593
5594 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5595
5d2e1193
RA
55962020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5597
5598 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5599 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5600 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5601 blttar, bnetarl.
5602 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5603 binary for blttar, bnetarl.
5604 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5605 wait instruction. Delete ldmx test.
5606 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5607
e409c542
AKS
56082020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5609
5610 * gdb.fortran/array-bounds-high.exp: New file.
5611 * gdb.fortran/array-bounds-high.f90: New file.
5612
b0029748
LD
56132020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5614
5615 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5616 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5617
195a8287
TV
56182020-02-01 Tom de Vries <tdevries@suse.de>
5619
5620 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5621
42330a68
AB
56222020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5623
5624 PR tui/9765
5625 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5626 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5627
b62a8028
LM
56282020-01-29 Luis Machado <luis.machado@linaro.org>
5629
5630 * gdb.arch/aarch64-brk-patterns.c: New source file.
5631 * gdb.arch/aarch64-brk-patterns.exp: New test.
5632
5f440116
TBA
56332020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5634
5635 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5636 GCC/Clang version.
5637 * gdb.cp/pass-by-ref.exp: Ditto.
5638
ee2a6fc6
TV
56392020-01-29 Tom de Vries <tdevries@suse.de>
5640
5641 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5642 * gdb.threads/watchpoint-fork-mt.c: Same.
5643 * gdb.threads/watchpoint-fork-parent.c: Same.
5644 * gdb.threads/watchpoint-fork-st.c: Same.
5645 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5646
16b10d6e
LM
56472020-01-27 Luis Machado <luis.machado@linaro.org>
5648
5649 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5650 sitting at a syscall instruction when we hit the syscall function's
5651 breakpoint.
5652 Check PC against one obtained with the x command.
5653 Validate syscall number.
5654 (step_over_syscall): Don't continue to the syscall instruction if
5655 we're already there.
5656
b1468492
PW
56572020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5658
5659 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5660
7ffa82e1
AB
56612020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5662
5663 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5664 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5665
3d92a3e3
AB
56662020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5667
5668 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5669 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5670
94a72be7
AB
56712020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5672
5673 * gdb.base/maint.exp: Update line table parsing test.
5674 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5675
53af73bf
PA
56762020-01-24 Pedro Alves <palves@redhat.com>
5677
5678 PR gdb/25410
5679 * gdb.multi/multi-re-run-1.c: New.
5680 * gdb.multi/multi-re-run-2.c: New.
5681 * gdb.multi/multi-re-run.exp: New.
5682
1ba1ac88
AB
56832020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5684
5685 PR gdb/23718
5686 * gdb.server/server-kill-python.exp: New file.
5687
f3364a6d
AB
56882020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5689
5690 * gdb.server/multi-ui-errors.c: New file.
5691 * gdb.server/multi-ui-errors.exp: New file.
5692
733d0a67
AB
56932020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5694
5695 PR tui/9765
5696 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5697
4f13c1c0
TT
56982020-01-19 Tom Tromey <tom@tromey.com>
5699
5700 * gdb.tui/main.exp: Add check for plain "file".
5701
40c94099
CB
57022020-01-16 Christian Biesinger <cbiesinger@google.com>
5703
5704 * lib/gdb.exp: Fix spelling error (seperatelly).
5705
ff47f4f0
TT
57062020-01-14 Tom Tromey <tom@tromey.com>
5707
5708 PR symtab/12535:
5709 * gdb.python/python.exp: Test decode_line with empty string
5710 argument.
5711
717c684d
BE
57122020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5713
5714 * gdb.base/skip-inline.exp: Extend test.
5715
44e4c775
AB
57162020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5717
5718 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5719 * gdb.dwarf2/dw2-bad-elf.c: New file.
5720 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5721
d93c6db7
AB
57222020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5723
5724 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5725 _line_saw_file.
5726
9a6d629c
AB
57272020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5728
5729 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5730 border.
5731
d9ebdab7
TBA
57322020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5733
5734 * gdb.multi/multi-target.exp (setup): Factor out "info
5735 connections" and "info inferiors" tests to ...
5736 (test_info_inferiors): ... this new procedure.
5737 (top level): Run new "info-inferiors" tests.
5738
f3c469b9
PA
57392020-01-10 Pedro Alves <palves@redhat.com>
5740
5741 * gdb.server/bkpt-other-inferior.exp: New file.
5742
121b3efd
PA
57432020-01-10 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5746 of "add-inferior".
5747 * gdb.base/quit-live.exp: Likewise.
5748 * gdb.base/remote-exec-file.exp: Likewise.
5749 * gdb.guile/scm-progspace.exp: Likewise.
5750 * gdb.linespec/linespec.exp: Likewise.
5751 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5752 * gdb.mi/user-selected-context-sync.exp: Likewise.
5753 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5754 "info inferiors" tests.
5755 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5756 "add-inferior".
5757 * gdb.multi/watchpoint-multi.exp: Likewise.
5758 * gdb.python/py-inferior.exp: Likewise.
5759 * gdb.server/extended-remote-restart.exp: Likewise.
5760 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5761 "info inferiors".
5762 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5763 * gdb.trace/report.exp: Likewise.
5764
1dadb1dd
PA
57652020-01-10 Pedro Alves <palves@redhat.com>
5766
5767 * gdb.multi/multi-target.c: New file.
5768 * gdb.multi/multi-target.exp: New file.
5769 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5770 mode requested, but remote does not support non-stop".
5771
78f2c40a
PA
57722020-01-10 Pedro Alves <palves@redhat.com>
5773
5774 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5775 disconnect before reconnecting.
5776
e7af6c70
TBA
57772020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5778 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.server/connect-without-multi-process.exp: Also test
5781 continuing to end.
5782
acdf84a6
PA
57832020-01-10 Pedro Alves <palves@redhat.com>
5784
5785 * gdb.base/remote-exec-file.exp: New file.
5786
873657b9
PA
57872020-01-10 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5790 output.
5791 * gdb.threads/async.c: New.
5792 * gdb.threads/async.exp: New.
5793 * gdb.multi/tids-gid-reset.c: New.
5794 * gdb.multi/tids-gid-reset.exp: New.
5795
7f0ae84c
GB
57962020-01-10 George Barrett <bob@bob131.so>
5797
5798 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5799 to help in finding the image relocation offset.
5800 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5801 options in arguments.
5802 (stap_test_no_debuginfo): Likewise.
5803 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5804 test variants.
5805 (stap_test): Add null semaphore relocation test.
5806
47e9d49d
GB
58072020-01-10 George Barrett <bob@bob131.so>
5808
5809 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5810 * gdb.base/stap-probe.exp: Likewise.
5811 (stap_test): Pass argument as an additional flag.
5812 (stap_test_no_debuginfo): Likewise.
5813 (stap_test): Check `info probes stap' output for semaphore
5814 addresses if the test binary is supposed to have them.
5815
f5a7c406
AB
58162020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5817
5818 * gdb.tui/basic.exp: Add more scrolling tests.
5819
9ae6bf64
TT
58202020-01-09 Tom Tromey <tom@tromey.com>
5821
5822 PR tui/18932:
5823 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5824 meangingful value.
5825 (Term::command, Term::resize): Update.
5826 * gdb.tui/basic.exp: Add scrolling test.
5827
b2efe70c
AB
58282020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5829
5830 * gdb.tui/tui-layout-asm.exp: New file.
5831
3804da7e
AB
58322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5833
5834 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5835
b40aa28f
AB
58362020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5837
5838 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5839 (Term::enter_tui): Use Term::prepare_for_tui.
5840
63ffd7c9
AB
58412020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5842
5843 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5844 called.
5845
3be966f6
AB
58462020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5847
5848 * gdb.base/skip.exp: Fix race condition in test.
5849
153d79c4
AB
58502020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5851
5852 * gdb.base/backtrace.c: New file.
5853 * gdb.base/backtrace.exp: New file.
5854
f2302a34
AB
58552020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5856
5857 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5858
6ec1d75e
PW
58592020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5860
5861 * gdb.base/style.exp: Test that warnings are styled.
5862
c296cbe6
BE
58632019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5864
5865 * gdb.base/line65535.exp: New file.
5866 * gdb.base/line65535.c: New file.
5867
b28a729d
SM
58682019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5869
5870 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5871 * lib/gnat_debug_info_test.adb: New file.
5872 * gdb.ada/ptype_tagged_param.exp: Use
5873 gnat_runtime_has_debug_info, expect a different output if
5874 runtime does not have debug info.
5875
7f2d7a0d
SM
58762019-12-20 Simon Marchi <simon.marchi@efficios.com>
5877
5878 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5879 (another) quote in test name.
5880
f3bce483
SM
58812019-12-20 Simon Marchi <simon.marchi@efficios.com>
5882
5883 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5884 Add quote in test name.
5885
c855a912
TBA
58862019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5887
5888 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5889 directory instead.
5890 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5891 * gdb.cp/pass-by-ref-2.cc: New file.
5892 * gdb.cp/pass-by-ref-2.exp: New file.
5893
fc9d2d72
TT
58942019-12-20 Tom Tromey <tom@tromey.com>
5895
5896 * gdb.tui/list-before.exp: New file.
5897
77b97e00
TT
58982019-12-20 Tom Tromey <tom@tromey.com>
5899
5900 * gdb.tui/list.exp: Check for source on initial listing.
5901
f69656d0
TT
59022019-12-11 Tom Tromey <tromey@adacore.com>
5903
5904 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5905 Add crlf test.
5906
99a55965
SM
59072019-12-18 Simon Marchi <simon.marchi@efficios.com>
5908
5909 * gdb.base/default.exp: Update value of $_gdb_major.
5910
5024637f
BE
59112019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5912
5913 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5914
b63634be
BE
59152019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5916
5917 * gdb.base/skip.exp: Whitespace fix.
5918
45d73523
BE
59192019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5920
5921 * gdb.base/skip-inline.c: New file.
5922 * gdb.base/skip-inline.exp: New file.
5923
d043f8c8
SM
59242019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5925
5926 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5927 jit_function_00 to jit_function_stack_mangle.
5928 * gdb.base/jithost.c (jit_function_t): Rename to...
5929 (jit_function_stack_mangle_t): ... this.
5930 (jit_function_add_t): New typedef.
5931 (jit_function_00_code): Rename to...
5932 (jit_function_stack_mangle_code): ... this, make static.
5933 (jit_function_add_code): New.
5934 (main): Generate "add" function and call it. Adjust to changes
5935 in jithost_abi.
5936 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5937 (struct jithost_abi) <begin, end>: Remove fields.
5938 <object, function_stack_mangle, function_add>: New fields.
5939 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5940 code_end>: Remove fields.
5941 <func_stack_mangle>: New field.
5942 (read_debug_info): Adjust to renaming, create block for "add"
5943 function.
5944 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5945
873de05c
TT
59462019-12-11 Tom Tromey <tom@tromey.com>
5947
5948 * gdb.tui/resize.exp: Fix regexp.
5949 * gdb.tui/regs.exp: Fix regexps.
5950 * gdb.tui/main.exp: Fix regexp.
5951
3d979945
TT
59522019-12-11 Tom Tromey <tom@tromey.com>
5953
5954 * gdb.tui/resize.exp: Update.
5955 * gdb.tui/empty.exp (layouts): Update.
5956
2192a9d3
TT
59572019-12-11 Tom Tromey <tom@tromey.com>
5958
5959 * gdb.tui/regs.exp: Update.
5960 * gdb.tui/empty.exp (layouts): Update.
5961 * gdb.tui/basic.exp: Update.
5962 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5963
d8edc8b7
PW
59642019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5965
5966 * gdb.base/options.exp: Add -raw-values in the print completion list.
5967 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5968
4c12d936
KB
59692019-12-10 Kevin Buettner <kevinb@redhat.com>
5970
5971 * gdb.threads/omp-par-scope.c: New file.
5972 * gdb/threads/omp-par-scope.exp: New file.
5973
26b911fb
KB
59742019-12-10 Kevin Buettner <kevinb@redhat.com>
5975
bb47f919
KB
5976 * lib/gdb.exp (support_nested_function_tests): New proc.
5977
59782019-12-10 Kevin Buettner <kevinb@redhat.com>
5979
5980 * lib/gdb.exp (gdb_compile_openmp): New proc.
5981 (build_executable_from_specs): Add an "openmp" option.
5982 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5983
6c71eb7d
TT
59842019-12-10 Tom Tromey <tromey@adacore.com>
5985
5986 * gdb.ada/unchecked_union.exp: New file.
5987 * gdb.ada/unchecked_union/pck.adb: New file.
5988 * gdb.ada/unchecked_union/pck.ads: New file.
5989 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5990 * gdb-utils.exp (string_to_regexp): Also quote "?".
5991
bac7c5cf
GB
59922019-12-10 George Barrett <bob@bob131.so>
5993
5994 Test scripted probe breakpoints.
5995 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5996 * gdb.python/py-breakpoint.c (main): Likewise.
5997 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5998 specifier test.
5999 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6000
330f1d38
TBA
60012019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6002
6003 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6004 an rvalue parameter.
6005 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6006 parameter.
6007
b43315e2
AB
60082019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6009
6010 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6011 modules.
6012
54f73dad
AB
60132019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6014
6015 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6016 broken version of GCC.
6017
d57cbee9
AB
60182019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6019
6020 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6021 sym-info-cmds library.
6022 * gdb.fortran/info-types.exp: Likewise.
6023 * lib/sym-info-cmds.exp: New file.
6024
c14aab8c
TV
60252019-12-08 Tom de Vries <tdevries@suse.de>
6026
6027 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6028
aa2d5a42
KS
60292019-12-07 Keith Seitz <keiths@redhat.com>
6030
6031 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6032 * gdb.base/corefile-buildid-shlib.c: New file.
6033 * gdb.base/corefile-buildid.c: New file.
6034 * gdb.base/corefile-buildid.exp: New file.
6035
93e55f0a
TV
60362019-12-06 Tom de Vries <tdevries@suse.de>
6037
6038 * gdb.dwarf2/varval.exp: Add decl before def test.
6039
c7d12402
TBA
60402019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6041
6042 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6043
06acc08f
TBA
60442019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6045
6046 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6047 CV and reference conversion for overload resolution.
6048 * gdb.cp/rvalue-ref-overload.exp: Test it.
6049
e0fad1ea
PW
60502019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6051
6052 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6053 * gdb.base/frameapply.exp: Test faas without command.
6054
8d70a9f0
AB
60552019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6056
6057 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6058 Fortran tests.
6059 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6060 order.
6061
36c8fb93
AB
60622019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6063
6064 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6065 casting to type with no kind specified.
6066 (test_basic_parsing_of_type_kinds): Additional tests for types
6067 with no kind specified, and add tests for single/double
6068 precision/complex types.
6069
4139ff00
TT
60702019-12-04 Tom Tromey <tromey@adacore.com>
6071
6072 * gdb.base/endianity.c (struct other) <x>: New field.
6073 (main): Initialize it.
6074 * gdb.base/endianity.exp: Update.
6075
a05cf17a
TT
60762019-12-04 Tom Tromey <tromey@adacore.com>
6077
6078 * gdb.ada/scalar_storage/storage.adb: New file.
6079 * gdb.ada/scalar_storage/pck.adb: New file.
6080 * gdb.ada/scalar_storage/pck.ads: New file.
6081 * gdb.ada/scalar_storage.exp: New file.
6082
103a685e
TT
60832019-12-04 Tom Tromey <tromey@adacore.com>
6084
6085 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6086 (main): Initialize it.
6087 * gdb.base/endianity.exp: Update.
6088
c2512106
AB
60892019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6090
6091 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6092
293b38d6
AB
60932019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6094
6095 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6096 -symbol-info-module-functions and -symbol-info-module-variables.
6097
216a7e6b
AB
60982019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6099
6100 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6101
5bbd8269
AB
61022019-12-01 Richard Bunt <richard.bunt@arm.com>
6103 Andrew Burgess <andrew.burgess@embecosm.com>
6104
6105 * gdb.fortran/derived-type-striding.exp: New file.
6106 * gdb.fortran/derived-type-striding.f90: New file.
6107 * gdb.fortran/array-slices.exp: New file.
6108 * gdb.fortran/array-slices.f90: New file.
6109
be09caf1
PW
61102019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6111
6112 * gdb.base/define.exp: Test . in command names.
6113 * gdb.base/setshow.exp: Update test, as . is now part of
6114 command name.
6115
643c0cbe
PW
61162019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6117
6118 * gdb.base/define-prefix.exp: New file.
6119
dcdec678
AB
61202019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6121
6122 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6123 compile.
6124 (skip_btrace_pt_tests): Likewise.
6125
640ab947
AB
61262019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6127
6128 * gdb.fortran/info-modules.exp: Compile source files in correct
6129 order.
6130
d22670f0
KB
61312019-11-27 Kevin Buettner <kevinb@redhat.com>
6132
6133 * gdb.dwarf2/imported-unit.exp: New file.
6134 * gdb.dwarf2/imported-unit.c: New file.
6135
db5960b4
AB
61362019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6137
6138 * gdb.mi/mi-fortran-modules-2.f90: New file.
6139 * gdb.mi/mi-fortran-modules.exp: New file.
6140 * gdb.mi/mi-fortran-modules.f90: New file.
6141
7dc42066
AB
61422019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6143
6144 * gdb.mi/mi-sym-info-1.c: New file.
6145 * gdb.mi/mi-sym-info-2.c: New file.
6146 * gdb.mi/mi-sym-info.exp: New file.
6147
0dfeecca
TT
61482019-11-22 Tom Tromey <tromey@adacore.com>
6149
6150 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6151 * gdb.ada/tasks/foo.adb: Add another stopping location.
6152
34877895
PJ
61532019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6154
6155 * gdb.base/endianity.c: New test.
6156 * gdb.base/endianity.exp: New file.
6157
2e84f897
LD
61582019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6159
6160 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6161
65d1cd5f
TV
61622019-11-21 Tom de Vries <tdevries@suse.de>
6163
6164 PR gdb/24956
6165 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6166
4f22c3f4
SDJ
61672019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6168
6169 * gdb.python/py-progspace.exp: Add missing parentheses on some
6170 'print' commands.
6171
9f6ad286
TT
61722019-11-19 Tom Tromey <tom@tromey.com>
6173
6174 * gdb.tui/winheight.exp: New file.
6175
0b8dbf3f
AB
61762019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6177
6178 * gdb.base/ctf-whatis.c: Delete.
6179 * gdb.base/ctf-whatis.exp: Delete.
6180 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6181
f833b7a7
AB
61822019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6183
6184 * gdb.base/ctf-cvexpr.exp: Delete.
6185 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6186
30d0a636
AB
61872019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6188
6189 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6190 the compiler. Clean up header comment a little.
6191 * gdb.base/ctf-ptype.exp: Likewise.
6192 * gdb.base/ctf-whatis.exp: Likewise.
6193 * lib/gdb.exp (skip_ctf_tests): New proc.
6194
494409bb
SDJ
61952019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6196
6197 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6198 * gdb.tui/corefile-run.exp: New file.
6199
55708e99
TT
62002019-11-14 Tom Tromey <tromey@adacore.com>
6201
6202 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6203 regression tests.
6204
45e42163
TT
62052019-11-12 Tom Tromey <tom@tromey.com>
6206
6207 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6208 after any command. Expect prompt after WAIT_FOR is seen.
6209 (enter_tui): Enable resize messages.
6210 (command): Expect command in output.
6211 (get_line): Avoid error when cursor appears to be off-screen.
6212 (dump_screen): Include screen size in title.
6213 (_do_resize): New proc, from "resize".
6214 (resize): Rewrite. Do resize in two steps.
6215 * gdb.tui/empty.exp (layouts): Fix entries.
6216 (check_boxes): Remove xfail.
6217 (check_text): Dump screen on failure.
6218
086baaf1
AB
62192019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6220
6221 * gdb.python/py-symbol.exp: Add test for
6222 gdb.lookup_static_symbols.
6223
09ff83af
AB
62242019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6225
6226 * gdb.python/py-symbol.c: Declare and call function from new
6227 py-symbol-2.c file.
6228 * gdb.python/py-symbol.exp: Compile both source files, and add new
6229 tests for gdb.lookup_static_symbol.
6230 * gdb.python/py-symbol-2.c: New file.
6231
11af934b
TV
62322019-11-02 Tom de Vries <tdevries@suse.de>
6233
6234 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6235 * gdb.base/anon.exp: Same.
6236 * gdb.base/auto-connect-native-target.exp: Same.
6237 * gdb.base/call-ar-st.exp: Same.
6238 * gdb.base/catch-syscall.exp: Same.
6239 * gdb.base/commands.exp: Same.
6240 * gdb.base/default.exp: Same.
6241 * gdb.base/display.exp: Same.
6242 * gdb.base/float.exp: Same.
6243 * gdb.base/foll-fork.exp: Same.
6244 * gdb.base/help.exp: Same.
6245 * gdb.base/info-macros.exp: Same.
6246 * gdb.base/info-proc.exp: Same.
6247 * gdb.base/info-target.exp: Same.
6248 * gdb.base/long_long.exp: Same.
6249 * gdb.base/macscp.exp: Same.
6250 * gdb.base/memattr.exp: Same.
6251 * gdb.base/nofield.exp: Same.
6252 * gdb.base/pointers.exp: Same.
6253 * gdb.base/printcmds.exp: Same.
6254 * gdb.base/ptype.exp: Same.
6255 * gdb.base/restore.exp: Same.
6256 * gdb.base/return.exp: Same.
6257 * gdb.base/scope.exp: Same.
6258 * gdb.base/set-noassign.exp: Same.
6259 * gdb.base/setshow.exp: Same.
6260 * gdb.base/shlib-call.exp: Same.
6261 * gdb.base/signals.exp: Same.
6262 * gdb.base/sigstep.exp: Same.
6263 * gdb.base/skip.exp: Same.
6264 * gdb.base/solib-symbol.exp: Same.
6265 * gdb.base/stap-probe.exp: Same.
6266 * gdb.base/step-line.exp: Same.
6267 * gdb.base/step-test.exp: Same.
6268 * gdb.base/style.exp: Same.
6269 * gdb.base/varargs.exp: Same.
6270 * gdb.base/vla-datatypes.exp: Same.
6271 * gdb.base/vla-ptr.exp: Same.
6272 * gdb.base/vla-sideeffect.exp: Same.
6273 * gdb.base/volatile.exp: Same.
6274 * gdb.base/watch-cond-infcall.exp: Same.
6275 * gdb.base/watchpoint.exp: Same.
6276
e96ec2ba
TV
62772019-11-02 Tom de Vries <tdevries@suse.de>
6278
6279 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6280 * gdb.cp/cpexprs.exp: Same.
6281 * gdb.cp/except-multi-location.exp: Same.
6282 * gdb.cp/exceptprint.exp: Same.
6283 * gdb.cp/gdb2384.exp: Same.
6284 * gdb.cp/inherit.exp: Same.
6285 * gdb.cp/m-static.exp: Same.
6286 * gdb.cp/meth-typedefs.exp: Same.
6287 * gdb.cp/misc.exp: Same.
6288 * gdb.cp/namespace.exp: Same.
6289 * gdb.cp/non-trivial-retval.exp: Same.
6290 * gdb.cp/overload.exp: Same.
6291 * gdb.cp/pr17132.exp: Same.
6292 * gdb.cp/re-set-overloaded.exp: Same.
6293 * gdb.cp/rvalue-ref-types.exp: Same.
6294 * gdb.cp/templates.exp: Same.
6295
bd5766ec
LM
62962019-11-01 Luis Machado <luis.machado@linaro.org>
6297
6298 PR gdb/25124
6299
6300 * gdb.arch/pr25124.S: New file.
6301 * gdb.arch/pr25124.exp: New file.
6302
165f8965
AB
63032019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6304
6305 * gdb.fortran/info-modules.exp: Update expected results, and add
6306 additional tests for 'info module functinos', and 'info module
6307 variables'.
6308 * gdb.fortran/info-types.exp: Update expected results.
6309 * gdb.fortran/info-types.f90: Extend testcase with additional
6310 module variables and functions.
6311
59c35742
AB
63122019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6313
6314 * gdb.fortran/info-modules.exp: New file.
6315 * gdb.fortran/info-types.exp: Build with new file.
6316 * gdb.fortran/info-types.f90: Include and use new module.
6317 * gdb.fortran/info-types-2.f90: New file.
6318
f3fb2519
PW
63192019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6320
6321 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6322 * gdb.base/settings.exp: Test all settings types using
6323 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6324 that now verifies that the value of "maint show" is the same as
6325 returned by the settings functions. Test the type of the
6326 maintenance settings.
6327 * gdb.base/default.exp: Update show_conv_list.
6328
d1e36019
TV
63292019-10-31 Tom de Vries <tdevries@suse.de>
6330
6331 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6332 gdb_test.
6333 * gdb.arch/amd64-disp-step.exp: Same.
6334 * gdb.asm/asm-source.exp: Same.
6335 * gdb.btrace/buffer-size.exp: Same.
6336 * gdb.btrace/cpu.exp: Same.
6337 * gdb.btrace/enable.exp: Same.
6338 * gdb.dwarf2/count.exp: Same.
6339 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6340 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6341 * gdb.fortran/vla-datatypes.exp: Same.
6342 * gdb.fortran/vla-history.exp: Same.
6343 * gdb.fortran/vla-ptype.exp: Same.
6344 * gdb.fortran/vla-value.exp: Same.
6345 * gdb.fortran/whatis_type.exp: Same.
6346 * gdb.guile/guile.exp: Same.
6347 * gdb.multi/tids.exp: Same.
6348 * gdb.python/py-finish-breakpoint.exp: Same.
6349 * gdb.python/py-framefilter.exp: Same.
6350 * gdb.python/py-pp-registration.exp: Same.
6351 * gdb.python/py-xmethods.exp: Same.
6352 * gdb.python/python.exp: Same.
6353 * gdb.server/connect-with-no-symbol-file.exp: Same.
6354 * gdb.server/no-thread-db.exp: Same.
6355 * gdb.server/run-without-local-binary.exp: Same.
6356 * gdb.stabs/weird.exp: Same.
6357 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6358 * gdb.threads/thread-find.exp: Same.
6359 * gdb.threads/tls-shared.exp: Same.
6360 * gdb.threads/tls.exp: Same.
6361 * gdb.threads/wp-replication.exp: Same.
6362 * gdb.trace/ax.exp: Same.
6363 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6364
3d11e68e
TV
63652019-10-31 Tom de Vries <tdevries@suse.de>
6366
6367 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6368 * gdb.ada/array_subscript_addr.exp: Same.
6369 * gdb.ada/arrayidx.exp: Same.
6370 * gdb.ada/arrayparam.exp: Same.
6371 * gdb.ada/arrayptr.exp: Same.
6372 * gdb.ada/boolean_expr.exp: Same.
6373 * gdb.ada/call_pn.exp: Same.
6374 * gdb.ada/complete.exp: Same.
6375 * gdb.ada/fixed_cmp.exp: Same.
6376 * gdb.ada/fun_addr.exp: Same.
6377 * gdb.ada/funcall_param.exp: Same.
6378 * gdb.ada/interface.exp: Same.
6379 * gdb.ada/mod_from_name.exp: Same.
6380 * gdb.ada/null_array.exp: Same.
6381 * gdb.ada/packed_array.exp: Same.
6382 * gdb.ada/packed_tagged.exp: Same.
6383 * gdb.ada/print_chars.exp: Same.
6384 * gdb.ada/print_pc.exp: Same.
6385 * gdb.ada/ptype_arith_binop.exp: Same.
6386 * gdb.ada/ptype_field.exp: Same.
6387 * gdb.ada/ptype_tagged_param.exp: Same.
6388 * gdb.ada/rec_return.exp: Same.
6389 * gdb.ada/ref_tick_size.exp: Same.
6390 * gdb.ada/str_ref_cmp.exp: Same.
6391 * gdb.ada/taft_type.exp: Same.
6392 * gdb.ada/tagged.exp: Same.
6393 * gdb.ada/type_coercion.exp: Same.
6394 * gdb.ada/uninitialized_vars.exp: Same.
6395
60b6ede8
TV
63962019-10-30 Tom de Vries <tdevries@suse.de>
6397
6398 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6399
30baf67b
TV
64002019-10-26 Tom de Vries <tdevries@suse.de>
6401
6402 * gdb.base/bigcore.c: Fix typos in comments.
6403 * gdb.base/ctf-ptype.c: Same.
6404 * gdb.base/long_long.c: Same.
6405 * gdb.dwarf2/dw2-op-out-param.S: Same.
6406 * gdb.python/py-evthreads.c: Same.
6407 * gdb.reverse/i387-stack-reverse.c: Same.
6408 * gdb.trace/tfile.c: Same.
6409 * lib/compiler.c: Same.
6410 * lib/compiler.cc: Same.
6411
158da0d1
TV
64122019-10-25 Tom de Vries <tdevries@suse.de>
6413
6414 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6415 gdb_test_multiple calls.
6416 * gdb.reverse/sigall-reverse.exp: Same.
6417 * gdb.reverse/solib-precsave.exp: Same.
6418 * gdb.reverse/solib-reverse.exp: Same.
6419 * gdb.reverse/until-precsave.exp: Same.
6420 * gdb.reverse/until-reverse.exp: Same.
6421
4ccdfbec
TV
64222019-10-24 Tom de Vries <tdevries@suse.de>
6423
6424 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6425 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6426 kfail using -wrap pattern flag and convenience variable
6427 gdb_test_name.
6428
33d569b7
AB
64292019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6430
6431 * gdb.python/py-progspace.exp: Add tests for the
6432 Progspace.block_for_pc method.
6433
4d0b984b
TT
64342019-10-23 Tom Tromey <tom@tromey.com>
6435
6436 * configure: Rebuild.
6437 * aclocal.m4: Use m4_include, not sinclude.
6438
94cb3754
TV
64392019-10-21 Tom de Vries <tdevries@suse.de>
6440
6441 * gdb.base/infcall-nested-structs.c: Add
6442 __attribute__((noinline,noclone)) to all functions.
6443 (call_all): Add missing variable initialization. Simplify return value.
6444 (breakpt): Increment volatile variable, to prevent call from being
6445 optimized out.
6446 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6447
062f1fc1
TV
64482019-10-17 Tom de Vries <tdevries@suse.de>
6449
6450 * gdb.fortran/module.exp: Allow info variables to print info for files
6451 other than module.f90.
6452
0b54364d
AB
64532019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6454
6455 * gdb.fortran/module.exp: Extend with 'info variables' test.
6456
7ff5fae7
AB
64572019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6458
6459 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6460 F77_FOR_TARGET.
6461
d10eccaa
TV
64622019-10-16 Tom de Vries <tdevries@suse.de>
6463
6464 PR tdep/25096
6465 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6466
745ff14e
TV
64672019-10-16 Tom de Vries <tdevries@suse.de>
6468
6469 PR tdep/24104
6470 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6471 Add KFAIL for PR tdep/25096.
6472
03e1ab94
TV
64732019-10-16 Tom de Vries <tdevries@suse.de>
6474
6475 PR testsuite/25059
6476 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6477
b17fcc10
TV
64782019-10-16 Tom de Vries <tdevries@suse.de>
6479
6480 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6481 as signed.
6482
9223170f
SM
64832019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6484
6485 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6486 one instead of increasing timeout.
6487
d6e76313
TV
64882019-10-13 Tom de Vries <tdevries@suse.de>
6489
6490 PR record/25038
6491 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6492 * gdb.reverse/sigall-reverse.exp: Same.
6493 * gdb.reverse/solib-precsave.exp: Same.
6494 * gdb.reverse/solib-reverse.exp: Same.
6495 * gdb.reverse/step-precsave.exp: Same.
6496 * gdb.reverse/until-precsave.exp: Same.
6497 * gdb.reverse/until-reverse.exp: Same.
6498 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6499
6dfc0041
AA
65002019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6501
6502 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6503 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6504 (cmp_struct_05_01, cmp_struct_static_02_01)
6505 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6506 comparisons.
6507
abcf2cc8
TV
65082019-10-10 Tom de Vries <tdevries@suse.de>
6509
6510 PR testsuite/24888
6511 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6512 gnatlink.
6513
a50faaf6
TV
65142019-10-09 Tom de Vries <tdevries@suse.de>
6515
6516 PR testsuite/25048
6517 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6518
60ff3cd7
AB
65192019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6520
6521 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6522 exceptions due to missing debug information.
6523
dfee8566
TV
65242019-10-07 Tom de Vries <tdevries@suse.de>
6525
6526 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6527
3d63690a
AB
65282019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6529
6530 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6531 * gdb.base/annota1.exp: Update to use gdb_test_name.
6532
30d1f018
WP
65332019-10-07 Weimin Pan <weimin.pan@oracle.com>
6534
6535 * gdb.base/ctf-whatis.exp: New file.
6536 * gdb.base/ctf-whatis.c: New file.
6537 * gdb.base/ctf-ptype.exp: New file.
6538 * gdb.base/ctf-ptype.c: New file.
6539 * gdb.base/ctf-constvars.exp: New file.
6540 * gdb.base/ctf-constvars.c: New file.
6541 * gdb.base/ctf-cvexpr.exp: New file.
6542
4dbbb47c
TV
65432019-10-04 Tom de Vries <tdevries@suse.de>
6544
6545 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6546 for loop.
6547
77c2dba3
TT
65482019-10-03 Tom Tromey <tom@tromey.com>
6549
6550 PR rust/24976:
6551 * gdb.rust/simple.rs (Union2): New type.
6552 (main): Use Union2.
6553 * gdb.rust/simple.exp: Add test.
6554
179aed7f
AB
65552019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6556
6557 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6558 nested function prefix.
6559
0a4b0913
AB
65602019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6561 Richard Bunt <richard.bunt@arm.com>
6562 Andrew Burgess <andrew.burgess@embecosm.com>
6563
6564 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6565 nested functions.
6566 * gdb.fortran/nested-funcs.f90: Update expected results.
6567 * gdb.fortran/nested-funcs-2.exp: New file.
6568 * gdb.fortran/nested-funcs-2.f90: New file.
6569
082cce05
AB
65702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6571
6572 * gdb.python/py-parameter.exp: Make test names unique.
6573 * gdb.python/py-template.exp: Likewise.
6574 * gdb.python/py-value.exp: Likewise.
6575
2b74ba5a
AB
65762019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6577
6578 * gdb.base/break-interp.exp: Reduce test name duplication.
6579 * gdb.base/call-sc.exp: Likewise.
6580 * gdb.base/callfuncs.exp: Likewise.
6581 * gdb.base/charset.exp: Likewise.
6582 * gdb.base/dump.exp: Likewise.
6583 * gdb.base/ena-dis-br.exp: Likewise.
6584 * gdb.base/relational.exp: Likewise.
6585 * gdb.base/step-over-syscall.exp: Likewise.
6586 * gdb.base/structs.exp: Likewise.
6587
58eb20d5
AB
65882019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6589
6590 * gdb.linespec/explicit.exp: Make test names unique.
6591 * gdb.linespec/ls-errs.exp: Likewise.
6592
4d421147
AB
65932019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6594
6595 * gdb.reverse/break-precsave.exp: Make test names unique.
6596 * gdb.reverse/break-reverse.exp: Likewise.
6597 * gdb.reverse/finish-precsave.exp: Likewise.
6598 * gdb.reverse/finish-reverse.exp: Likewise.
6599 * gdb.reverse/machinestate-precsave.exp: Likewise.
6600 * gdb.reverse/machinestate.exp: Likewise.
6601 * gdb.reverse/readv-reverse.exp: Likewise.
6602 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6603 * gdb.reverse/sigall-precsave.exp: Likewise.
6604 * gdb.reverse/sigall-reverse.exp: Likewise.
6605 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6606 * gdb.reverse/watch-precsave.exp: Likewise.
6607 * gdb.reverse/watch-reverse.exp: Likewise.
6608
d8c06f22
AB
66092019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6610
6611 * gdb.threads/stop-with-handle.c: New file.
6612 * gdb.threads/stop-with-handle.exp: New file.
6613
3a56ed86
TV
66142019-10-03 Tom de Vries <tdevries@suse.de>
6615
6616 PR testsuite/25059
6617 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6618 directory" line to be missing.
6619
42275044
TV
66202019-10-03 Tom de Vries <tdevries@suse.de>
6621
6622 PR testsuite/25059
6623 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6624 type optional.
6625
9ef62df0
AA
66262019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6627
6628 * gdb.python/py-format-string.c (string.h): New include.
6629 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6630 the same value, for endianness-independence.
6631 * gdb.python/py-format-string.exp (default_regexp_dict)
6632 (test_pretty_structs, test_format): Adjust expected output to the
6633 changed initialization.
6634
37f6a7f4
TT
66352019-10-02 Tom Tromey <tromey@adacore.com>
6636
6637 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6638
1d58d6a2
PA
66392019-10-02 Pedro Alves <palves@redhat.com>
6640 Andrew Burgess <andrew.burgess@embecosm.com>
6641
6642 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6643 "print-file-var.h".
6644 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6645 (get_version_1): Print this_version_id and its address.
6646 Add extern "C" wrappers around interface functions.
6647 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6648 "print-file-var.h".
6649 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6650 (get_version_2): Print this_version_id and its address.
6651 Add extern "C" wrappers around interface functions.
6652 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6653 <stddef.h> and "print-file-var.h".
6654 Add extern "C" wrappers around interface functions.
6655 [VERSION_ID_MAIN] (this_version_id): Define.
6656 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6657 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6658 up extern "C" blocks.
6659 * gdb.base/print-file-var.exp (test): New, factored out from top
6660 level.
6661 (top level): Test all combinations of attribute hidden or not,
6662 dlopen or not, and this_version_id symbol in main file or not.
6663 Compile tests as both C++ and C, make test names unique.
6664
d770d56f
TT
66652019-10-01 Tom Tromey <tom@tromey.com>
6666
6667 * gdb.base/style.exp: Test "show logging filename".
6668
7f6aba03
TT
66692019-10-01 Tom Tromey <tom@tromey.com>
6670
6671 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6672 * gdb.base/style.exp: Add metadata style test.
6673
14309bb6
TT
66742019-10-01 Tom Tromey <tom@tromey.com>
6675
6676 * gdb.base/style.exp: Test "pwd".
6677
2a3c1174
PA
66782019-10-01 Tom Tromey <tom@tromey.com>
6679
6680 * gdb.base/style.exp: Update tests.
6681
53d666ec
AA
66822019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6683
6684 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6685 'six' to unsigned.
6686 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6687 'five'. Use an all-ones bit pattern for each.
6688 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6689 to its changed values.
6690
4a56a520
TT
66912019-09-30 Tom Tromey <tromey@adacore.com>
6692
6693 * gdb.rust/traits.rs: Disable all warnings.
6694
0df0352a
TV
66952019-09-29 Tom de Vries <tdevries@suse.de>
6696
aac66a4c 6697 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6698
73d9a918
TV
66992019-09-29 Tom de Vries <tdevries@suse.de>
6700
6701 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6702
060b3ab4
TV
67032019-09-27 Tom de Vries <tdevries@suse.de>
6704
6705 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6706
68f7d34d
TV
67072019-09-27 Tom de Vries <tdevries@suse.de>
6708
6709 PR record/23188
6710 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6711
5d63b30a
TT
67122019-09-26 Tom Tromey <tromey@adacore.com>
6713
6714 * gdb.ada/py_taft.exp: New file.
6715 * gdb.ada/py_taft/main.adb: New file.
6716 * gdb.ada/py_taft/pkg.adb: New file.
6717 * gdb.ada/py_taft/pkg.ads: New file.
6718
3d435220
TV
67192019-09-24 Tom de Vries <tdevries@suse.de>
6720
6721 PR gdb/24598
6722 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6723
77d03678
TV
67242019-09-22 Tom de Vries <tdevries@suse.de>
6725
6726 * gdb.base/restore.exp: Allow register variables to be optimized out at
6727 -O0.
6728
abf516c6
UW
67292019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6730
6731 * gdb.arch/spu-info.exp: Remove file.
6732 * gdb.arch/spu-info.c: Remove file.
6733 * gdb.arch/spu-ls.exp: Remove file.
6734 * gdb.arch/spu-ls.c: Remove file.
6735
6736 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6737 * gdb.asm/spu.inc: Remove file.
6738
6739 * gdb.base/dump.exp: Remove support for spu*-*-*.
6740 * gdb.base/stack-checking.exp: Likewise.
6741 * gdb.base/overlays.exp: Likewise.
6742 * gdb.base/ovlymgr.c: Likewise.
6743 * gdb.base/spu.ld: Remove file.
6744
6745 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6746 * gdb.cp/cpexprs.exp: Likewise.
6747 * gdb.cp/exception.exp: Likewise.
6748 * gdb.cp/gdb2495.exp: Likewise.
6749 * gdb.cp/mb-templates.exp: Likewise.
6750 * gdb.cp/pr9167.exp: Likewise.
6751 * gdb.cp/userdef.exp: Likewise.
6752
6753 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6754
6755 * gdb.cell: Remove directory.
6756 * lib/cell.exp: Remove file.
6757
e452e88f
TV
67582019-09-19 Tom de Vries <tdevries@suse.de>
6759
6760 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6761
8a625130
TV
67622019-09-19 Tom de Vries <tdevries@suse.de>
6763
6764 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6765
81dc3ab5
TV
67662019-09-19 Tom de Vries <tdevries@suse.de>
6767
6768 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6769 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6770 (gdb_target_cmd): ... here.
6771 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6772 value 2.
6773
b078f3ac
AB
67742019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6775
6776 * gdb.base/source-dir.exp: Avoid having directory names in test
6777 names.
6778
f1b620e9
MG
67792019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6780
6781 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6782 directory.
6783
67f3ed6a
AB
67842019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6785
6786 * gdb.base/list-missing-source.exp: New file.
6787
d1b70248
TV
67882019-09-14 Tom de Vries <tdevries@suse.de>
6789
6790 PR teststuite/24599
6791 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6792 * lib/ada.exp (gnatmake_version_at_least): New proc.
6793
5fabdcd6
AB
67942019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6795
6796 * gdb.base/maint.exp: Use exec_has_index_section.
6797
aa17805f
AB
67982019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6799
6800 * gdb.base/maint.exp: Add test for 'maint info sections'.
6801
25e5c209
TV
68022019-09-12 Tom de Vries <tdevries@suse.de>
6803
6804 * gdb.base/store.exp: Allow register variables to be optimized out at
6805 -O0.
6806
4993045d
PW
68072019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6808
6809 * gdb.ada/rdv_wait.exp: Update to new task names.
6810 * gdb.base/task_switch_in_core.exp: Likewise.
6811 * gdb.base/info_sources_base.c: Likewise.
6812
8a516164
TT
68132019-09-10 Tom Tromey <tromey@adacore.com>
6814
6815 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6816
aa391654
TT
68172019-09-10 Tom Tromey <tromey@adacore.com>
6818
6819 * gdb.ada/dgopt.exp: New file.
6820 * gdb.ada/dgopt/x.adb: New file.
6821
8634b462
TT
68222019-09-08 Tom Tromey <tom@tromey.com>
6823
6824 * gdb.tui/resize.exp: Remove setup_xfail.
6825 * gdb.tui/regs.exp: Remove setup_xfail.
6826 * gdb.tui/basic.exp: Remove setup_xfail.
6827
736b0f76
DB
68282019-09-06 David Blaikie <dblaikie@gmail.com>
6829
6830 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6831 * gdb.cp/cplabel.exp: Ditto.
6832 * gdb.linespec/ls-errs.exp: Ditto.
6833
30331a6c
TV
68342019-09-05 Tom de Vries <tdevries@suse.de>
6835
6836 * lib/gdb.exp (cmp_file_string): New proc.
6837 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6838 runto_main. Verify save breakpoints output.
6839
98b0ebab
PW
68402019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6841
6842 * gdb.base/info-var.exp: Test info variables without running
6843 to main, to avoid expect's buffer overflow.
6844
4e962e74
TT
68452019-09-03 Tom Tromey <tromey@adacore.com>
6846
6847 * gdb.ada/bias.exp: New file.
6848 * gdb.ada/bias/bias.adb: New file.
6849 * gdb.ada/print_chars.exp: Add regression test.
6850 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6851 (MC): New variable.
6852
2ea1a07a
SL
68532019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6854
6855 * gdb.base/argv0-symlink.exp: Run only on native target
6856 and local host.
6857
8077c50d
TV
68582019-08-29 Tom de Vries <tdevries@suse.de>
6859
6860 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6861 diverse debug info.
6862 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6863
48352473
TV
68642019-08-28 Tom de Vries <tdevries@suse.de>
6865
6866 * gdb.base/info-var.exp: Allow info variables to print info for files
6867 other than info-var-f1.c and info-var-f2.c.
6868
d8f27c60
AB
68692019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6870
6871 * gdb.fortran/info-types.exp: Add module.
6872 * gdb.fortran/info-types.f90: Update expected results.
6873
1f20c35e
AB
68742019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6875
6876 * gdb.fortran/info-types.exp: New file.
6877 * gdb.fortran/info-types.f90: New file.
6878 * lib/fortran.exp (fortran_character1): New proc.
6879
4acfdd20
AB
68802019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6881
6882 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6883 functions'. Reindent as needed.
6884 * gdb.base/info-var-f1.c: New file.
6885 * gdb.base/info-var-f2.c: New file.
6886 * gdb.base/info-var.exp: New file.
6887 * gdb.base/info-var.h: New file.
6888
5c31b358
TV
68892019-08-26 Tom de Vries <tdevries@suse.de>
6890
6891 PR c++/24852
6892 * gdb.cp/no-libstdcxx-probe.exp: New test.
6893
b694989f
TV
68942019-08-26 Tom de Vries <tdevries@suse.de>
6895
6896 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6897 * tests need to be skipped.
6898 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6899 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6900 mi_skip_libstdcxx_probe_tests.
6901
d9c4ba53
SDJ
69022019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6903
6904 * gdb.python/py-xmethods.exp: Use raw strings when passing
6905 arguments to SimpleXMethodMatcher.
6906
395fad09
TV
69072019-08-22 Tom de Vries <tdevries@suse.de>
6908
6909 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6910 more informative.
6911
26c957f1
PA
69122019-08-21 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.base/with.exp: Test "with" with no arguments.
6915
61f80d5d
TV
69162019-08-21 Tom de Vries <tdevries@suse.de>
6917
6918 * gdb.base/gdb-caching-proc.exp: Sort files.
6919
d7a11d13
TV
69202019-08-20 Tom de Vries <tdevries@suse.de>
6921
6922 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6923 compilation.
6924
34dafe9f
TV
69252019-08-16 Tom de Vries <tdevries@suse.de>
6926
6927 * gdb.base/compare-sections.exp ("after run to main"): Allow
6928 mismatched read-only sections for PIE executables.
6929
398fdd60
TT
69302019-08-16 Tom Tromey <tom@tromey.com>
6931
6932 * lib/tuiterm.exp (_csi_Z): New proc.
6933 * gdb.tui/basic.exp: Update window positions.
6934 * gdb.tui/empty.exp: Update window positions.
6935
d8f9e51c
SL
69362019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6937
6938 * gdb.base/examine-backward.exp: Correct regexp for
6939 "examine 3 bytes backward from ${address_zero}".
6940
3df505f6
TT
69412019-08-15 Tom Tromey <tom@tromey.com>
6942
6943 * gdb.tui/empty.exp: Enable resizing tests.
6944
272560b5
TT
69452019-08-15 Tom Tromey <tromey@adacore.com>
6946
6947 * gdb.ada/char_enum.exp: Add regression tests.
6948 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6949 and '0'.
6950 (Char, Gchar): Update.
6951 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6952
08235187
CB
69532019-08-15 Christian Biesinger <cbiesinger@google.com>
6954
6955 * gdb.python/python.exp: Expect a leading underscore on
6956 GdbOutput{,Error}File.
6957
22a2ab04
SL
69582019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6959
6960 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6961 Windows host.
6962
835b995b
SL
69632019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6964
6965 * gdb.base/batch-preserve-term-settings.exp
6966 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6967
97dd8e07
CB
69682019-08-15 Christian Biesinger <cbiesinger@google.com>
6969
6970 * lib/gdb.exp: When running on a mingw target, replace
6971 /x/ with x:/.
6972
75faf5c4
AH
69732019-08-14 Alan Hayward <alan.hayward@arm.com>
6974
6975 * gdb.arch/aarch64-prologue.c: New test.
6976 * gdb.arch/aarch64-prologue.exp: New file.
6977
abc6c00f
TV
69782019-08-13 Tom de Vries <tdevries@suse.de>
6979
6980 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6981 Thread.
6982
74c2c1f4
SL
69832019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6984
6985 * gdb.python/py-completion.exp: Download the .py file to the host
6986 and use its host pathname. Conditionalize tests that use
6987 tab completion and manipulate files on the build machine.
6988 * gdb.python/py-events.exp: Download the .py file to the host
6989 and use its host pathname.
6990 * gdb.python/py-evsignal.exp: Likewise.
6991 * gdb.python/py-evthreads.exp: Likewise.
6992 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6993 pathname syntax.
6994 * gdb.python/py-framefilter.exp: Download the .py file to the right
6995 place on the host. Match Windows pathname syntax.
6996 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6997 .py file to the host and use its host pathname.
6998 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6999 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7000 build pathname. Skip symlink test on Windows host. Add missing
7001 newline at end of file.
7002 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7003 and use its host pathname.
7004 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7005 * gdb.python/py-section-script.exp: Use host location of binfile
7006 on safe-path. Use correct path separator on Windows host.
7007 Reorder alternatives in gdb_test_multiple to prevent matching
7008 the wrong alternative on success.
7009 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7010
ca2589f3
PP
70112019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7012
7013 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7014 expect the GDB inferior to no longer immediately stop after
7015 being resumed with "signal SIGINT".
7016
020a839d
SL
70172019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7018
7019 * gdb.linespec/break-ask.exp: Generalize regexps to match
7020 Windows pathnames too.
7021
128d6509
TV
70222019-08-08 Tom de Vries <tdevries@suse.de>
7023
7024 PR testsuite/24862
7025 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7026
590042fc
PW
70272019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7028
7029 * gdb.base/style.exp: Update tests for help doc new invariants.
7030 * gdb.base/help.exp: Likewise.
7031
046bebe1
TT
70322019-08-06 Tom Tromey <tom@tromey.com>
7033
7034 * gdb.base/style.exp: Add disassemble test.
7035 * gdb.base/style.c (some_called_function): New function.
7036 (main): Use it.
7037
0b27c27d
CB
70382019-08-05 Christian Biesinger <cbiesinger@google.com>
7039
7040 * gdb.python/py-block.exp: Test dictionary access on blocks.
7041
580f1034
SM
70422019-08-05 Simon Marchi <simon.marchi@efficios.com>
7043
7044 PR gdb/24863
7045 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7046 -list-thread-groups --available test when running under
7047 check-read1.
7048
d86bd7cb
TV
70492019-08-05 Tom de Vries <tdevries@suse.de>
7050
7051 PR testsuite/24863
7052 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7053 * gdb.base/help.exp: Use with_read1_timeout_factor.
7054 * gdb.base/info-macros.exp: Same.
7055 * gdb.cp/nested-types.exp: Same.
7056
a80cf5d8
TV
70572019-08-05 Tom de Vries <tdevries@suse.de>
7058
7059 * lib/gdb.exp (version_at_least): Factor out of ...
7060 (tcl_version_at_least): ... here.
7061 (gdb_compile): Fail if pie results in non-PIE executable.
7062 (readelf_version, readelf_prints_pie): New proc.
7063 (exec_is_pie): Return -1 if unknown.
7064
d0962838
TV
70652019-08-05 Tom de Vries <tdevries@suse.de>
7066
7067 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7068
2252ff3d
SL
70692019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7070
7071 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7072
26655f53
SL
70732019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7074
7075 * lib/completion-support.exp (test_gdb_complete_none): Skip
7076 tab completion tests if no readline support.
7077 (test_gdb_complete_unique_re): Likewise.
7078 (test_gdb_complete_multiple): Likewise.
7079
db4dc13e
PW
70802019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7081
7082 * gdb.base/info_sources.exp: New file.
7083 * gdb.base/info_sources.c: New file.
7084 * gdb.base/info_sources_base.c: New file.
7085
0eba165a
PFC
70862019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7087
7088 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7089 prefix argument.
7090 (test_exit_status): Add prefix argument.
7091
59bd512b
TV
70922019-08-01 Tom de Vries <tdevries@suse.de>
7093
7094 PR testsuite/24863
7095 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7096 calling exp_continue for new thread and thread exited messages.
7097
2a3ad588
TV
70982019-08-01 Tom de Vries <tdevries@suse.de>
7099
7100 PR testsuite/24863
7101 * gdb.base/structs.exp: Fix check-read1 timeout using
7102 gdb_test_sequence.
7103 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7104
117eb594
TV
71052019-08-01 Tom de Vries <tdevries@suse.de>
7106
7107 PR testsuite/24863
7108 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7109 line.
7110
ed591340
TV
71112019-08-01 Tom de Vries <tdevries@suse.de>
7112
7113 PR testsuite/24863
7114 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7115
aa3b6533
TT
71162019-07-30 Tom Tromey <tromey@adacore.com>
7117
7118 * gdb.ada/display_nested.exp: New file.
7119 * gdb.ada/display_nested/foo.adb: New file.
7120 * gdb.ada/display_nested/pack.adb: New file.
7121 * gdb.ada/display_nested/pack.ads: New file.
7122
2906593f
CB
71232019-07-30 Christian Biesinger <cbiesinger@google.com>
7124
7125 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7126 namespace.
7127 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7128
0f575925
TV
71292019-07-30 Tom de Vries <tdevries@suse.de>
7130
7131 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7132 instead.
7133
b13057d9
TV
71342019-07-30 Tom de Vries <tdevries@suse.de>
7135
7136 PR testsuite/24834
7137 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7138 (exec_is_pie): New proc.
7139
5c4dde85
CB
71402019-07-29 Christian Biesinger <cbiesinger@google.com>
7141
7142 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7143
c620ed88
CB
71442019-07-29 Christian Biesinger <cbiesinger@google.com>
7145
7146 * gdb.python/py-objfile.c: Add global and static vars.
7147 * gdb.python/py-objfile.exp: Test new functions Objfile.
7148 lookup_global_symbol and lookup_static_symbol.
7149
3d235706
TT
71502019-07-29 Tom Tromey <tom@tromey.com>
7151
7152 * lib/tuiterm.exp (Term::_csi_@): New proc.
7153 (Term::_csi_X): Don't move cursor.
7154
c7e4c0a6
PW
71552019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7156
7157 * gdb.base/options.exp: Update backtrace - completion to
7158 new option -frame-info.
7159 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7160 Test new 'set print frame-info'. Test backtrace -frame-info
7161 overriding 'set print frame-info'.
7162 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7163 Test new 'set print frame-info'.
7164 Verify consistency of backtrace with and without filters, with and
7165 without -no-filters.
7166 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7167 default.
7168
de28a3b7
TV
71692019-07-29 Tom de Vries <tdevries@suse.de>
7170
7171 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7172 no arguments".
7173
507dd60e
TV
71742019-07-29 Tom de Vries <tdevries@suse.de>
7175
7176 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7177 is a substring of the first for "complete non-unique file name".
7178
5beafce9
TV
71792019-07-29 Tom de Vries <tdevries@suse.de>
7180
7181 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7182 with ".*".
7183
2d274232
TV
71842019-07-29 Tom de Vries <tdevries@suse.de>
7185
7186 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7187 Pass prompt_regexp parameter to gdb_test_multiple calls.
7188
9197cd8b
TV
71892019-07-29 Tom de Vries <tdevries@suse.de>
7190
7191 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7192 print registers" regexps.
9197cd8b 7193
b528dae0
TV
71942019-07-29 Tom de Vries <tdevries@suse.de>
7195
7196 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7197
d17725d7
TV
71982019-07-29 Tom de Vries <tdevries@suse.de>
7199
7200 PR gdb/24855
7201 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7202 (skip_python_tests_prompt): Add prompt_regexp argument to
7203 gdb_test_multiple calls.
7204
52b75bf1
TT
72052019-07-27 Tom Tromey <tom@tromey.com>
7206
7207 * gdb.tui/main.exp: New file.
7208
2b1d00c2
TT
72092019-07-27 Tom Tromey <tom@tromey.com>
7210
7211 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7212 optional.
7213 * gdb.tui/empty.exp: New file.
7214
ded631d5
TT
72152019-07-27 Tom Tromey <tom@tromey.com>
7216
7217 * lib/tuiterm.exp (spawn): New proc.
7218 (Term::resize): New proc.
7219 * gdb.tui/resize.exp: New file.
7220
58ac439d
TT
72212019-07-27 Tom Tromey <tom@tromey.com>
7222
7223 * gdb.tui/list.exp: New file.
7224
fe1f56ee
TT
72252019-07-27 Tom Tromey <tom@tromey.com>
7226
7227 * gdb.tui/regs.exp: New file.
7228
f790b310
TT
72292019-07-27 Tom Tromey <tom@tromey.com>
7230
7231 * gdb.tui/basic.exp: Add "layout split" test.
7232
d95fc6ee
TT
72332019-07-27 Tom Tromey <tom@tromey.com>
7234
7235 * gdb.tui/basic.exp: Add "layout asm" test.
7236
c3786b3a
TT
72372019-07-27 Tom Tromey <tom@tromey.com>
7238
7239 * lib/tuiterm.exp: New file.
7240 * gdb.tui/basic.exp: New file.
7241
98a617f8
KB
72422019-07-27 Kevin Buettner <kevinb@redhat.com>
7243
7244 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7245 Enable tests associated with this flag. Adjust regex
7246 referencing "foo_low" to now refer to "foo_cold" instead.
7247
5c076da4
KB
72482019-07-27 Kevin Buettner <kevinb@redhat.com>
7249
7250 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7251 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7252 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7253 foo_cold. Revise comments to match.
7254 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7255 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7256 were wrapped into this proc; Call do_test in loop from outermost
7257 level.
7258 (foo_low): Rename all occurrences to "foo_cold".
7259 (backtrace from baz): New test.
7260 (x2/i foo_cold): New test.
7261 (info line *foo_cold): New test.
7262
1512d3b7
TV
72632019-07-26 Tom de Vries <tdevries@suse.de>
7264
7265 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7266
297989a1
TV
72672019-07-25 Tom de Vries <tdevries@suse.de>
7268
7269 PR testsuite/24830
7270 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7271 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7272 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7273 (skip_libstdcxx_probe_tests): ... here.
7274 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7275
b3b965fb
TV
72762019-07-24 Tom de Vries <tdevries@suse.de>
7277
7278 PR testsuite/24807
7279 * gdb.objc/basicclass.m: Include stdio.h.
7280 * gdb.objc/nondebug.m: Same.
7281 * gdb.objc/objcdecode.m: Same.
7282
4625b4d0
TV
72832019-07-24 Tom de Vries <tdevries@suse.de>
7284
7285 PR testsuite/24612
7286 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7287 additional_flags.
7288
024a5840
TV
72892019-07-24 Tom de Vries <tdevries@suse.de>
7290
7291 PR testsuite/24831
7292 * gdb.multi/tids.exp: Update error messages for info threads.
7293
c76ddaa3
TV
72942019-07-24 Tom de Vries <tdevries@suse.de>
7295
7296 * gdb.base/info-types.exp: Allow info types to print info for more than
7297 one file.
7298
9a618ef6
TV
72992019-07-23 Tom de Vries <tdevries@suse.de>
7300
7301 PR testsuite/24842
7302 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7303 gdb_spawn_with_cmdline_opts.
7304
40eadf04
SP
73052019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7306
7307 * gdb.arch/arm-cmse-sgstubs.c: New test.
7308 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7309
5ba29434
TV
73102019-07-23 Tom de Vries <tdevries@suse.de>
7311
7312 PR testsuite/24711
7313 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7314 issuing next command.
7315
a8e9d247
AB
73162019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7317
7318 * gdb.ada/info_auto_lang.exp: Update expected results.
7319 * gdb.base/info-types.c: Add additional types to check.
7320 * gdb.base/info-types.exp: Update expected results.
7321
eb86c5e2
AB
73222019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7323
7324 * gdb.base/info-types.c: New file.
7325 * gdb.base/info-types.exp: New file.
7326
01e175fe
AB
73272019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7328
7329 * gdb.arch/riscv-bp-infcall.c: New file.
7330 * gdb.arch/riscv-bp-infcall.exp: New file.
7331
6b78c3f8
AB
73322019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7333
7334 PR breakpoints/24541
7335 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7336
da738167
TV
73372019-07-14 Tom de Vries <tdevries@suse.de>
7338
7339 PR testsuite/24760
7340 * gdb.objc/basicclass.exp: Fix unterminated string.
7341
0d4e84ed
AB
73422019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7343 Andrew Burgess <andrew.burgess@embecosm.com>
7344
7345 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7346 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7347 negative bounds.
7348 * gdb.fortran/vla-value.exp: Print elements of an array with
7349 negative bounds.
7350 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7351 testing.
7352
021d8588
AB
73532019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7354
7355 * gdb.base/options.exp (expect_string): Dequote strings in
7356 results.
7357 (test-string): Test strings with different quoting and reindent.
7358
f06f1252
TT
73592019-07-10 Tom Tromey <tromey@adacore.com>
7360
7361 * gdb.ada/mi_ex_cond.exp: Update expected results.
7362 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7363 * gdb.ada/mi_catch_ex.exp: Update expected results.
7364 * gdb.ada/mi_catch_assert.exp: Update expected results.
7365 * gdb.ada/catch_ex.exp (catch_exception_info)
7366 (catch_exception_entry, catch_assert_entry)
7367 (catch_unhandled_entry): Update.
7368 * gdb.ada/catch_assert_if.exp: Update expected results.
7369
b863685d
RB
73702019-07-10 Richard Bunt <richard.bunt@arm.com>
7371 Stephen Roberts <stephen.roberts@arm.com>
7372
7373 * gdb.base/define.exp: Restore original prompt.
7374
cb1e4e32
PA
73752019-07-09 Pedro Alves <palves@redhat.com>
7376
7377 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7378 breakpoints" output.
7379 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7380 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7381 throw" creates breakpoint.
7382 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7383 'type="catchpoint"'.
7384
b58a68fe
PA
73852019-07-09 Pedro Alves <palves@redhat.com>
7386
7387 PR c++/15468
7388 * gdb.cp/except-multi-location-lib.cc: New.
7389 * gdb.cp/except-multi-location-main.cc: New.
7390 * gdb.cp/except-multi-location.exp: New.
7391
0826779b
PW
73922019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7393
7394 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7395 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7396 argument and update callers.
7397
5b0e2db4
AB
73982019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7399
7400 * gdb.arch/amd64-break-on-asm-line.S: New file.
7401 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7402
1f6f6e21
PW
74032019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7404
7405 * gdb.base/printcmds.exp: Test printing C string and
7406 C wide string convenience vars without transiting via the inferior.
7407 Also make test names unique.
7408
ea142fbf
AH
74092019-07-08 Alan Hayward <alan.hayward@arm.com>
7410
5862c886 7411 PR breakpoints/25011
ea142fbf
AH
7412 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7413
213fd9fa
PA
74142019-07-04 Pedro Alves <palves@redhat.com>
7415
7416 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7417 body returned ok(0), break(3) or continue(4).
7418 * gdb.testsuite/foreach_with_prefix.exp: New file.
7419
2b40fda7
AH
74202019-07-04 Alan Hayward <alan.hayward@arm.com>
7421
7422 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7423
a26c8de0
PA
74242019-07-03 Pedro Alves <palves@redhat.com>
7425
7426 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7427 "return -code".
7428
5f4ba3e7
PA
74292019-07-03 Pedro Alves <palves@redhat.com>
7430
7431 PR cli/24732
7432 * gdb.base/shell.exp: Load completion-support.exp.
7433 Adjust expected error output. Add completion tests.
7434
a994424f
PA
74352019-07-03 Pedro Alves <palves@redhat.com>
7436
7437 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7438 string_to_regexp.
7439
3d9be6f5
PA
74402019-07-03 Pedro Alves <palves@redhat.com>
7441
7442 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7443 (expect_integer): Adjust to expect "-string".
7444 (expect_string): New.
7445 (all_options): Expect "-string".
7446 (test-flag, test-boolean): Adjust to expect "-string".
7447 (test-string): New proc.
7448 (top level): Call it.
7449
41fc454c
PA
74502019-07-03 Pedro Alves <palves@redhat.com>
7451
7452 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7453 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7454 the expected output in the success.
7455
b2b2a215
PA
74562019-07-03 Pedro Alves <palves@redhat.com>
7457
7458 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7459 Split one gdb_test_multiple call in two to avoid a race.
7460
fdbc9870
PA
74612019-07-03 Pedro Alves <palves@redhat.com>
7462
7463 * gdb.base/with.c: New file.
7464 * gdb.base/with.exp: New file.
7465
c6ac8931
PA
74662019-07-03 Pedro Alves <palves@redhat.com>
7467
7468 * gdb.base/settings.exp: Replace all references to "maint
7469 test-settings set" with references to "maint set test-settings",
7470 and all references to "maint test-settings show" with references
7471 to "maint show test-settings".
7472
970f9d09
PA
74732019-07-03 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.base/settings.exp (test-string): Adjust expected out when
7476 testing "maint test-settings show filename"
7477
54d66006
PA
74782019-07-02 Pedro Alves <palves@redhat.com>
7479
7480 * gdb.base/options.exp (test-info-threads): New procedure.
7481 (top level): Call it.
7482
10d06d82
TT
74832019-06-28 Tom Tromey <tromey@adacore.com>
7484
7485 * gdb.dwarf2/ada-linkage-name.c: New file.
7486 * gdb.dwarf2/ada-linkage-name.exp: New file.
7487
3d507ff2
TT
74882019-06-27 Tom Tromey <tromey@adacore.com>
7489
d039f014 7490 PR c++/20020:
3d507ff2
TT
7491 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7492
8af58ffe
TV
74932019-06-26 Tom de Vries <tdevries@suse.de>
7494
7495 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7496
22e21752
TV
74972019-06-26 Tom de Vries <tdevries@suse.de>
7498
7499 * gdb.base/index-cache.exp: Add back missing debug option.
7500
b65b566c
PW
75012019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7502
7503 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7504
5c2c8c69
TV
75052019-06-25 Tom de Vries <tdevries@suse.de>
7506
7507 PR testsuite/24727
7508 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7509
164e3873
TV
75102019-06-24 Tom de Vries <tdevries@suse.de>
7511
7512 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7513
824eacee
TV
75142019-06-24 Tom de Vries <tdevries@suse.de>
7515
7516 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7517 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7518 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7519
385b97d3
TV
75202019-06-24 Tom de Vries <tdevries@suse.de>
7521
7522 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7523
c596f180
TV
75242019-06-21 Tom de Vries <tdevries@suse.de>
7525
7526 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7527
b13a7d03
TV
75282019-06-21 Tom de Vries <tdevries@suse.de>
7529
7530 PR testsuite/24518
7531 PR ada/24713
7532 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7533 index.
7534
899277ae
TT
75352019-06-19 Tom Tromey <tromey@adacore.com>
7536
7537 * gdb.ada/length_cond.exp: Add intro comment.
7538
680e1bee
TT
75392019-06-19 Tom Tromey <tromey@adacore.com>
7540
7541 * gdb.ada/length_cond.exp: New file.
7542 * gdb.ada/length_cond/length_cond.adb: New file.
7543 * gdb.ada/length_cond/pck.adb: New file.
7544 * gdb.ada/length_cond/pck.ads: New file.
7545
0ed4690a
TV
75462019-06-18 Tom de Vries <tdevries@suse.de>
7547
7548 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7549
d20ed5fd
TT
75502019-06-18 Tom Tromey <tromey@adacore.com>
7551
7552 * gdb.base/list0.h: Add comment explaining control character.
7553
86e04673
TV
75542019-06-18 Tom de Vries <tdevries@suse.de>
7555
7556 * boards/fission.exp: Break up long debug_flags line.
7557
c4973306
SM
75582019-06-16 Tom de Vries <tdevries@suse.de>
7559
7560 PR gdb/24445
7561 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7562 generated index.
7563
93cb9841
AB
75642019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7565
7566 PR gdb/24686
7567 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7568 improve detection of bug gdb/24541.
7569
399aaebd
SM
75702019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7571
7572 PR gdb/24669
7573 * gdb.base/index-cache.exp (uses_readnow,
7574 expecting_index_cache_use): Define global variable.
7575 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7576 expecting_index_cache_use.
7577
584a927c
AB
75782019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7579 Andrew Burgess <andrew.burgess@embecosm.com>
7580
7581 * gdb.fortran/pointers.f90: New file.
7582 * gdb.fortran/print_type.exp: New file.
7583 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7584 * gdb.fortran/vla-type.exp: Likewise.
7585 * gdb.fortran/vla-value.exp: Likewise.
7586 * gdb.mi/mi-vla-fortran.exp: Likewise.
7587
30056ea0
AB
75882019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7589
7590 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7591 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7592 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7593 as a stop reason.
7594
ec8e2b6d
AB
75952019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7596
7597 * gdb.base/annota1.exp: Update expected results.
7598 * gdb.cp/annota2.exp: Likewise.
7599 * gdb.cp/annota3.exp: Likewise.
7600
09e4c4e1
AB
76012019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7602
7603 * gdb.base/style-logging.exp: Remove path from test name.
7604
0735b091
TT
76052019-06-14 Tom Tromey <tromey@adacore.com>
7606
7607 PR gdb/24502:
7608 * gdb.base/style-logging.exp: New file.
7609
f5686554
TT
76102019-06-14 Tom Tromey <tromey@adacore.com>
7611
7612 * gdb.base/symfile-warn.exp: New file.
7613 * gdb.base/symfile-warn.c: New file.
7614
a0c1ffed
TT
76152019-06-14 Tom Tromey <tromey@adacore.com>
7616
7617 * gdb.base/annotate-symlink.exp: New file.
7618
f411722c
TT
76192019-06-14 Tom Tromey <tromey@adacore.com>
7620
7621 * gdb.ada/set_wstr.exp: Add reassignment test.
7622
4268ec18
TT
76232019-06-14 Tom Tromey <tromey@adacore.com>
7624
7625 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7626 'unchecked_access and 'unrestricted_access as well.
7627
9a9e394b
TT
76282019-06-14 Tom Tromey <tromey@adacore.com>
7629
7630 PR ada/24539:
7631 * gdb.ada/vla.exp: Update tests.
7632 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7633 pragma.
7634
4c048731
PA
76352019-06-13 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.base/settings.exp (test-integer): Test junk after
7638 "unlimited".
7639
6665660a
PA
76402019-06-13 Pedro Alves <palves@redhat.com>
7641
7642 * gdb.base/options.exp (test-thread-apply): New.
7643 (top level): Call it.
7644
5d707134
PA
76452019-06-13 Pedro Alves <palves@redhat.com>
7646
7647 * gdb.base/options.exp (test-frame-apply): New.
7648 (top level): Test print commands with different "frame apply"
7649 prefixes.
7650
e2a689da
PA
76512019-06-13 Pedro Alves <palves@redhat.com>
7652
e79be6e5 7653 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7654 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7655 'max_completions' parameter and handle it.
7656 (test_gdb_completion_offers_commands): New.
7657
90a1ef87
PA
76582019-06-13 Pedro Alves <palves@redhat.com>
7659
7660 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7661
d4c16835
PA
76622019-06-13 Pedro Alves <palves@redhat.com>
7663
7664 * gdb.base/options.exp (test-backtrace): New.
7665 (top level): Call it.
7666
2daf894e
PA
76672019-06-13 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.guile/scm-frame-args.exp: Use "set print
7670 raw-frame-arguments" instead of "set print raw frame-arguments".
7671 * gdb.python/py-frame-args.exp: Likewise.
7672
e6ed716c
PA
76732019-06-13 Pedro Alves <palves@redhat.com>
7674
7675 * gdb.compile/compile.exp: Adjust expected output to option
7676 processing changes.
7677
7d8062de
PA
76782019-06-13 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.base/options.exp: Build executable.
7681 (test-print): New procedure.
7682 (top level): Call it, once for "print" and another for "compile
7683 print".
7684
9d0faba9
PA
76852019-06-13 Pedro Alves <palves@redhat.com>
7686
7687 * gdb.base/options.c: New file.
7688 * gdb.base/options.exp: New file.
7689
dee7b4c8
PA
76902019-06-13 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7693 that "o" is ambiguous.
7694
dca0f6c0
PA
76952019-06-13 Pedro Alves <palves@redhat.com>
7696
7697 * gdb.base/settings.c: New file.
7698 * gdb.base/settings.exp: New file.
7699
ccf46844
PA
77002019-06-13 Pedro Alves <palves@redhat.com>
7701
7702 * gdb.base/completion.exp: Fix comment typo.
7703
b9a3f842
PA
77042019-06-13 Pedro Alves <palves@redhat.com>
7705
7706 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7707 foo --1" test.
7708
d106773e
PA
77092019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7710
7711 * gdb.fortran/block-data.f: New.
7712 * gdb.fortran/block-data.exp: New.
7713
fea82da0
TV
77142019-06-11 Tom de Vries <tdevries@suse.de>
7715
7716 PR testsuite/24521
7717 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7718 message.
7719
8c2e74f1
TV
77202019-06-11 Tom de Vries <tdevries@suse.de>
7721
7722 PR testsuite/24521
7723 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7724
b49851c8
TV
77252019-06-11 Tom de Vries <tdevries@suse.de>
7726
7727 * boards/readnow.exp: New file.
7728
a7067863
AB
77292019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7730
7731 * gdb.fortran/vla-sizeof.exp: Update expected results.
7732
1a3da2cd
AB
77332019-06-06 Amos Bird <amosbird@gmail.com>
7734
7735 * gdb.base/annota1.exp (thread_switch): Add test for
7736 thread-exited annotation.
7737
3847a7bf
TT
77382019-06-06 Tom Tromey <tromey@adacore.com>
7739
7740 * gdb.base/maint.exp: Expect command started/finished output.
7741
0088ba59
AB
77422019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7743
7744 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7745 comment.
7746 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7747
312617a3
AB
77482019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7749
7750 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7751 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7752 * gdb.arch/riscv-unwind-long-insn.c: New file.
7753 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7754
e1f2e1a2
CB
77552019-06-04 Christian Biesinger <cbiesinger@google.com>
7756
d3238f7d 7757 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7758
206584bd
PW
77592019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7760
7761 * lib/gdb.exp (help_list_trailer): New regexp variable
7762 factorizing the help trailer message.
7763 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7764 arg to allow to better factorize various tests.
7765 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7766 (test_prefix_command_help): Use help_list_trailer.
7767 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7768 * gdb.guile/scm-cmd.exp: Likewise.
7769 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7770 * gdb.base/help.exp: Use test_user_defined_class_help.
7771 * gdb.base/style.exp: Add tests for styling of help and apropos.
7772 * lib/gdb-utils.exp (style): Add title and highlight styles.
7773
708dc93e
PW
77742019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7775
7776 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7777 $_shell_exitsignal.
7778 * gdb.base/default.exp: Update for new convenience variables.
7779
f49055a5
TT
77802019-05-29 Tom Tromey <tromey@adacore.com>
7781
7782 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7783 to "break complete ada" test case's regexp.
7784
4330d61d
TT
77852019-05-29 Tom Tromey <tromey@adacore.com>
7786
7787 PR c++/20020:
7788 * gdb.cp/constexpr-field.exp: New file.
7789 * gdb.cp/constexpr-field.cc: New file.
7790
000439d5
TT
77912019-05-29 Tom Tromey <tromey@adacore.com>
7792
7793 * gdb.base/finish.exp (finish_no_print): New proc.
7794 (finish_tests): Call it.
7795
5a01c34c
TV
77962019-05-24 Tom de Vries <tdevries@suse.de>
7797
7798 * gdb.dwarf2/gdb-add-index.exp: New file.
7799
18125b16
TT
78002019-05-22 Tom Tromey <tromey@adacore.com>
7801
7802 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7803 * gdb.base/style.exp: Use "style".
7804 * lib/gdb-utils.exp (style): New proc.
7805
af1a8d03
TV
78062019-05-22 Tom de Vries <tdevries@suse.de>
7807
7808 * gdb.base/align.exp: Require c++11.
7809
e7fe496b
TV
78102019-05-22 Tom de Vries <tdevries@suse.de>
7811
7812 PR testsuite/24586
7813 * gdb.python/py-mi-var-info-path-expression.exp: Call
7814 mi_skip_python_tests to check if python is supported.
7815
8fca4da0
AH
78162019-05-22 Alan Hayward <alan.hayward@arm.com>
7817
7818 * gdb.arch/aarch64-pauth.c: New test.
7819 * gdb.arch/aarch64-pauth.exp: New file.
7820
b7060614
AH
78212019-05-22 Alan Hayward <alan.hayward@arm.com>
7822
7823 * README (Re-running Tests Outside The Testsuite): New section.
7824
669d0468
TV
78252019-05-21 Tom de Vries <tdevries@suse.de>
7826
7827 * gdb.arch/amd64-eval.exp: Require c++11.
7828 * gdb.base/max-depth.exp: Same.
7829 * gdb.compile/compile-cplus-array-decay.exp: Same.
7830 * gdb.cp/meth-typedefs.exp: Same.
7831 * gdb.cp/subtypes.exp: Same.
7832 * gdb.cp/temargs.exp: Same.
7833
ce3ebcaa
AH
78342019-05-21 Alan Hayward <alan.hayward@arm.com>
7835
7836 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7837
34d11c68
AB
78382019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7839
7840 PR gdb/18644
7841 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7842 * gdb.fortran/printing-types.exp: Add new test.
7843 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7844 testing.
7845 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7846 setup_kfail call.
7847
87781e84
AH
78482019-05-17 Alan Hayward <alan.hayward@arm.com>
7849
7850 * README (Running the Testsuite): Change example.
7851 (Testsuite Parameters): Remove TRANSCRIPT.
7852 * lib/gdb.exp: Remove TRANSCRIPT check.
7853
b420b89e
AH
78542019-05-17 Alan Hayward <alan.hayward@arm.com>
7855
7856 * README (Testsuite Parameters): Add replay logging to
7857 GDBSERVER_DEBUG.
7858 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7859 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7860 as a comma separated list.
7861 (gdb_debug_init): Override procedure.
7862
408e9b8b
AH
78632019-05-17 Alan Hayward <alan.hayward@arm.com>
7864
7865 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7866 (gdb_write_cmd_file): New procedure.
7867 * lib/gdbserver-support.exp (gdbserver_start): Call
7868 gdbserver_write_cmd_file.
7869 (gdbserver_write_cmd_file): New procedure.
7870
f9e2e39d
AH
78712019-05-17 Alan Hayward <alan.hayward@arm.com>
7872
7873 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7874 (delete_breakpoints): Likewise.
7875 (gdb_run_cmd): Likewise.
7876 (gdb_start_cmd): Likewise.
7877 (gdb_starti_cmd): Likewise.
7878 (gdb_internal_error_resync): Likewise.
7879 (gdb_test_multiple): Likewise.
7880 (gdb_reinitialize_dir): Likewise.
7881 (default_gdb_exit): Likewise.
7882 (gdb_file_cmd): Mark kill as optional.
7883 (default_gdb_start): Call gdb_stdin_log_init.
7884 (send_gdb): Call gdb_stdin_log_write.
7885 (rerun_to_main): Mark Y as an answer.
7886 (gdb_stdin_log_init): New function.
7887 (gdb_stdin_log_write): Likewise.
7888
81f47ac2
AH
78892019-05-17 Alan Hayward <alan.hayward@arm.com>
7890
7891 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7892 * gdb.base/debug-expr.exp: Likewise.
7893 * gdb.base/foll-fork.exp: Likewise.
7894 * gdb.base/foll-vfork.exp: Likewise.
7895 * gdb.base/fork-print-inferior-events.exp: Likewise.
7896 * gdb.base/gdb-sigterm.exp: Likewise.
7897 * gdb.base/gdbinit-history.exp: Likewise.
7898 * gdb.base/osabi.exp: Likewise.
7899 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7900 * gdb.base/ui-redirect.exp: Likewise.
7901 * gdb.gdb/unittest.exp: Likewise.
7902 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7903 * gdb.mi/mi-watch.exp: Likewise.
7904 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7905 * gdb.mi/user-selected-context-sync.exp: Likewise.
7906 * gdb.python/python.exp: Disable debug test when debugging.
7907 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7909 Likewise.
7910 * gdb.threads/stepi-random-signal.exp: Likewise.
7911
29b52314
AH
79122019-05-17 Alan Hayward <alan.hayward@arm.com>
7913
7914 * Makefile.in: Pass through GDB_DEBUG.
7915 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7916 (gdb,debug): Add board setting.
7917 * lib/gdb.exp (default_gdb_start): Start debugging.
7918 (gdb_debug_enabled): New procedure.
7919 (gdb_debug_init): Likewise.
29b52314
AH
7920
79212019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7922
29b52314
AH
7923 * Makefile.in: Pass through GDB_DEBUG.
7924 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7925 (gdb,debug): Add board setting.
7926 * lib/gdb.exp (default_gdb_start): Start debugging.
7927 (gdb_debug_enabled): New procedure.
7928 (gdb_debug_init): Likewise.
29b52314 7929
ca1285d1
AH
79302019-05-17 Alan Hayward <alan.hayward@arm.com>
7931
7932 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7933
f3a09c80
AH
79342019-05-17 Alan Hayward <alan.hayward@arm.com>
7935
7936 * gdb.base/ui-redirect.exp: Test redirection.
7937
26648588
JV
79382019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7939
7940 * gdb.mi/mi-complete.exp: New file.
7941 * gdb.mi/mi-complete.cc: Likewise.
7942
14237686
AB
79432019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7944
7945 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7946 indexed and sliced arrays, and pointers to arrays.
7947
e7bd7fba
TT
79482019-05-14 Tom Tromey <tromey@adacore.com>
7949
7950 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7951 styling test.
7952
2764128d
TV
79532019-05-14 Tom de Vries <tdevries@suse.de>
7954
7955 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7956 selection entry encoding.
7957
71bed2db
TT
79582019-05-10 Tom Tromey <tromey@adacore.com>
7959
7960 * gdb.ada/info_exc.exp: Add "complete" test.
7961
63b667ad
TV
79622019-05-09 Tom de Vries <tdevries@suse.de>
7963
7964 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7965 CU-relative.
7966
9cfd2b89
TV
79672019-05-09 Tom de Vries <tdevries@suse.de>
7968
7969 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7970 CU-relative.
7971
2228ef77
XR
79722019-05-08 Joel Brobecker <brobecker@adacore.com>
7973
7974 * gdb.ada/frame_arg_lang.exp: New testcase.
7975 * gdb.ada/frame_arg_lang/bla.adb: New file.
7976 * gdb.ada/frame_arg_lang/pck.ads: New file.
7977 * gdb.ada/frame_arg_lang/pck.adb: New file.
7978 * gdb.ada/frame_arg_lang/foo.c: New file.
7979
80e55b13
TT
79802019-05-08 Tom Tromey <tromey@adacore.com>
7981
7982 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7983
9d3421af
TT
79842019-05-08 Tom Tromey <tromey@adacore.com>
7985
7986 * gdb.base/ptype-offsets.exp: Update tests.
7987
844333e2
TT
79882019-05-08 Tom Tromey <tromey@adacore.com>
7989
7990 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7991 cases.
7992 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7993 "short".
7994
988915ee
TT
79952019-05-08 Tom Tromey <tromey@adacore.com>
7996
7997 * gdb.ada/vla.exp: New file.
7998 * gdb.ada/vla/vla.adb: New file.
7999
7bd55dac
TV
80002019-05-07 Tom de Vries <tdevries@suse.de>
8001
8002 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8003
75f06e9d
TV
80042019-05-07 Tom de Vries <tdevries@suse.de>
8005
8006 PR testsuite/24522
8007 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8008 section.
8009
77e7aaa4
TV
80102019-05-07 Tom de Vries <tdevries@suse.de>
8011
8012 PR testsuite/24522
8013 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8014 .debug_aranges section.
8015
456ba0fa
TV
80162019-05-07 Tom de Vries <tdevries@suse.de>
8017
8018 PR testsuite/24159
8019 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8020
5a56d6a6
TV
80212019-05-06 Tom de Vries <tdevries@suse.de>
8022
8023 * lib/gdb.exp (exec_has_index_section): New proc.
8024 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8025 section.
8026
9d6d4be8
TV
80272019-05-04 Tom de Vries <tdevries@suse.de>
8028
8029 * boards/cc-with-debug-names.exp: New file.
8030
222a8d25
TT
80312019-05-03 Tom Tromey <tromey@adacore.com>
8032
8033 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8034 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8035 * gdb.ada/char_enum.exp: Add test.
8036
0fdfd794
TV
80372019-05-03 Tom de Vries <tdevries@suse.de>
8038
8039 * boards/cc-with-gdb-index.exp: New file.
8040
80062eb9
AB
80412019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8042
8043 * gdb.rust/simple.exp: Add new test case.
8044 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8045 (main): Initialise an instance of the new struct.
8046
4504bbde
TT
80472019-05-01 Tom Tromey <tromey@adacore.com>
8048
8049 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8050 record.
8051 (NPR): New variable.
8052 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8053 test.
8054
d48e62f4
TT
80552019-05-01 Tom Tromey <tromey@adacore.com>
8056
8057 * gdb.ada/packed_array_assign.exp: Add packed assignment
8058 regression test.
8059
f59f30f5
TV
80602019-05-01 Tom de Vries <tdevries@suse.de>
8061
8062 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8063
b70bfc54
TV
80642019-05-01 Tom de Vries <tdevries@suse.de>
8065
8066 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8067
15f18d14
AT
80682019-04-30 Ali Tamur <tamur@google.com>
8069
8070 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8071
2ff0a947
TT
80722019-04-30 Tom Tromey <tromey@adacore.com>
8073
8074 * lib/ada.exp (find_ada_tool): New proc.
8075 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8076 * gdb.ada/catch_ex_std.exp: New file.
8077 * gdb.ada/catch_ex_std/foo.adb: New file.
8078 * gdb.ada/catch_ex_std/some_package.adb: New file.
8079 * gdb.ada/catch_ex_std/some_package.ads: New file.
8080
a776957c
TT
80812019-04-30 Tom Tromey <tromey@adacore.com>
8082
8083 PR c++/24470:
8084 * gdb.cp/temargs.cc: Add test code from PR.
8085
bc68014d
AB
80862019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8087
8088 * gdb.fortran/vla-datatypes.exp: Update expected results.
8089 * gdb.fortran/vla-ptype.exp: Likewise.
8090 * gdb.fortran/vla-type.exp: Likewise.
8091 * gdb.fortran/vla-value.exp: Likewise.
8092
f1fdc960
AB
80932019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8094
8095 * gdb.fortran/ptr-indentation.exp: Update expected results.
8096 * gdb.fortran/ptype-on-functions.exp: Likewise.
8097 * gdb.fortran/vla-ptr-info.exp: Likewise.
8098 * gdb.fortran/vla-value.exp: Likewise.
8099
bf7a4de1
AB
81002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8101
8102 * gdb.fortran/ptype-on-functions.exp: New file.
8103 * gdb.fortran/ptype-on-functions.f90: New file.
8104
bbe75b9d
AB
81052019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8106
8107 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8108 case void string.
8109
1db455a7
AB
81102019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8111
8112 * gdb.fortran/complex.exp: Expand.
8113 * gdb.fortran/complex.f: Renamed to...
8114 * gdb.fortran/complex.f90: ...this, and extended to add more
8115 complex values.
8116
b6d03bb2
AB
81172019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8118
8119 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8120 MODULO, CMPLX.
8121
2e62ab40
AB
81222019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8123 Richard Bunt <richard.bunt@arm.com>
8124
8125 * gdb.base/max-depth.c: New file.
8126 * gdb.base/max-depth.exp: New file.
8127 * gdb.python/py-nested-maps.c: New file.
8128 * gdb.python/py-nested-maps.exp: New file.
8129 * gdb.python/py-nested-maps.py: New file.
8130 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8131 (test_all_common): Call test_max_depth.
8132 * gdb.fortran/max-depth.exp: New file.
8133 * gdb.fortran/max-depth.f90: New file.
8134 * gdb.go/max-depth.exp: New file.
8135 * gdb.go/max-depth.go: New file.
8136 * gdb.modula2/max-depth.exp: New file.
8137 * gdb.modula2/max-depth.c: New file.
8138 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8139
d2b584a5
TV
81402019-04-29 Tom de Vries <tdevries@suse.de>
8141
8142 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8143
136afab8
PW
81442019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8145
8146 * gdb.base/callexit.exp: Test may-call-functions off.
8147
725cbb63
KS
81482019-04-25 Keith Seitz <keiths@redhat.com>
8149
8150 PR c++/24367
8151 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8152 (another_incomplete_struct, test_incomplete): New definitions.
8153 (main): Use new definitions.
8154 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8155 functions.
8156
701adfb0
PA
81572019-04-25 Ali Tamur <tamur@google.com>
8158
8159 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8160
82433e3e
SDJ
81612019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8162
8163 PR corefiles/11608
8164 PR corefiles/18187
8165 * gdb.base/coredump-filter-build-id.exp: New file.
8166
dd06d4d6
AH
81672019-04-25 Alan Hayward <alan.hayward@arm.com>
8168
e79be6e5
SM
8169 * Makefile.in: Pass through GDBSERVER_DEBUG.
8170 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8171 (gdbserver,debug): Add board setting.
8172 * gdb.trace/tspeed.exp: Skip when debugging.
8173 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8174 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8175
1670072e
TT
81762019-04-24 Tom Tromey <tromey@adacore.com>
8177
8178 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8179 Rust.
8180
a59240a4
TT
81812019-04-24 Tom Tromey <tromey@adacore.com>
8182
8183 * gdb.arch/amd64-eval.exp: Test bitfield return.
8184 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8185 (class Foo) <return_bitfields>: New method.
8186 (main): Call it.
8187
b907456c
AB
81882019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8189
8190 * gdb.cp/many-args.cc: New file.
8191 * gdb.cp/many-args.exp: New file.
8192
5c565afd
TV
81932019-04-23 Tom de Vries <tdevries@suse.de>
8194
8195 PR gdb/24433
8196 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8197
ba22ff86
AH
81982019-04-23 Alan Hayward <alan.hayward@arm.com>
8199
8200 * gdb.trace/backtrace.exp: Use nopie flag.
8201 * gdb.trace/circ.exp: Likewise.
8202 * gdb.trace/collection.exp: Likewise.
8203 * gdb.trace/ftrace.exp: Likewise.
8204 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8205 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8206 * gdb.trace/qtro.exp: Likewise.
8207 * gdb.trace/read-memory.exp: Likewise.
8208 * gdb.trace/report.exp: Likewise.
8209 * gdb.trace/tfile.exp: Likewise.
8210 * gdb.trace/tfind.exp: Likewise.
8211 * gdb.trace/unavailable.exp: Likewise.
8212
7905fc35
PA
82132019-04-22 Pedro Alves <palves@redhat.com>
8214
8215 * gdb.base/solib-probes-nosharedlibrary.c,
8216 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8217
8ecb59f8
TT
82182019-04-19 Tom Tromey <tromey@adacore.com>
8219
8220 * gdb.ada/ptype_union.c: New file.
8221 * gdb.ada/ptype_union.exp: New file.
8222
62160ec9
TT
82232019-04-19 Tom Tromey <tromey@adacore.com>
8224
8225 PR symtab/24423:
8226 * gdb.base/list0.h (foo): Add a control-l character.
8227
36cd4ba5
TV
82282019-04-18 Tom de Vries <tdevries@suse.de>
8229
8230 PR gdb/24433
8231 * boards/local-board.exp: Set sysroot to "".
8232
b73715df
TV
82332019-04-18 Tom de Vries <tdevries@suse.de>
8234 Pedro Alves <palves@redhat.com>
8235
8236 PR gdb/24454
8237 * gdb.threads/vfork-follow-child-exec.c: New file.
8238 * gdb.threads/vfork-follow-child-exec.exp: New file.
8239 * gdb.threads/vfork-follow-child-exit.c: New file.
8240 * gdb.threads/vfork-follow-child-exit.exp: New file.
8241
4aa866af
LS
82422019-04-15 Leszek Swirski <leszeks@google.com>
8243
8244 * gdb.arch/amd64-eval.cc: New file.
8245 * gdb.arch/amd64-eval.exp: New file.
8246
e5a1a79a
AH
82472019-04-11 Alan Hayward <alan.hayward@arm.com>
8248
8249 * gdb.server/sysroot.c: New test.
8250 * gdb.server/sysroot.exp: New file.
8251 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8252 matching param.
8253
41077b66
AB
82542019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8255
8256 * gdb.base/align.exp: Extend test to cover structures containing
8257 only static fields.
8258
c30391f8
TV
82592019-04-11 Tom de Vries <tdevries@suse.de>
8260
8261 * boards/cc-with-dwz-m.exp: New file.
8262 * boards/cc-with-dwz.exp: New file.
8263 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8264
e242fd12
SM
82652019-04-09 Simon Marchi <simon.marchi@efficios.com>
8266
8267 * gdb.base/start-cpp.exp: New file.
8268 * gdb.base/start-cpp.cc: New file.
8269
2b0c8b01
KB
82702019-04-08 Kevin Buettner <kevinb@redhat.com>
8271
8272 * gdb.python/py-thrhandle.exp: Adjust tests to call
8273 thread_from_handle instead of thread_from_thread_handle.
8274
947210e5
KB
82752019-04-08 Kevin Buettner <kevinb@redhat.com>
8276
8277 * gdb.python/py-thrhandle.exp: Add tests for
8278 gdb.InferiorThread.handle.
8279
d7df6549
AB
82802019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8281
8282 * gdb.python/py-function.exp: Check calling helper function from
8283 all languages.
8284 * lib/gdb.exp (gdb_supported_languages): New proc.
8285
8bdc1658
AB
82862019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8287
8288 * gdb.base/complex-parts.c: New file.
8289 * gdb.base/complex-parts.exp: New file.
8290
05caa1d2
TT
82912019-04-01 Tom Tromey <tromey@adacore.com>
8292
8293 PR symtab/23331:
8294 * gdb.dwarf2/dw2-ranges-main.c: New file.
8295 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8296 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8297
7734102d
EZ
82982019-03-30 Simon Marchi <simark@simark.ca>
8299
8300 * gdb.base/default.exp: Add values for $_gdb_major and
8301 $_gdb_minor.
8302
188e1fa9
TT
83032019-03-29 Tom Tromey <tromey@adacore.com>
8304
8305 * gdb.base/help.exp: Tighten apropos regexp.
8306
2880242d
KS
83072019-03-29 Keith Seitz <keiths@redhat.com>
8308
8309 * gdb.fortran/array-bounds.exp: New file.
8310 * gdb.fortran/array-bounds.f90: New file.
8311
077cad8e
PW
83122019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8313
8314 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8315
80047cfc
PW
83162019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8317
8318 * gdb.multi/hello.c (main): Increase alarm timer.
8319
f489207e
SL
83202019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8321
8322 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8323 factor when no hardware watchpoint support.
8324
c92df149
AH
83252019-03-28 Alan Hayward <alan.hayward@arm.com>
8326 Pedro Alves <palves@redhat.com>
8327
8328 * boards/local-board.exp: set sysroot to /.
8329
933aebfa
AH
83302019-03-27 Alan Hayward <alan.hayward@arm.com>
8331
8332 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8333 in child.
8334
9f9aa852
AB
83352019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8336
8337 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8338 field.
8339 (make_container): Initialise new field.
8340 * gdb.python/py-prettyprint.exp: Add new tests.
8341 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8342 <display_hint>: New method.
8343
3714a195
AB
83442019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8345
8346 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8347 gdb_continue_to_breakpoint more throughout this test.
8348 (run_lang_tests) Supply unique test names, and use
8349 gdb_test_no_output.
8350
18c77628
AB
83512019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8352
8353 * gdb.base/finish-pretty.exp: Update expected results.
8354 * gdb.base/pretty-print.c: New file.
8355 * gdb.base/pretty-print.exp: New file.
8356
9a93502f
PA
83572019-03-25 Pedro Alves <palves@redhat.com>
8358
8359 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8360 move comments outside list. Append '-i "" eof' section.
8361
968aa7ae
AH
83622019-03-22 Alan Hayward <alan.hayward@arm.com>
8363
34a7f2a4 8364 PR testsuite/25016
968aa7ae
AH
8365 * README: Add pie options.
8366 * gdb.base/break-interp.exp: Ensure pie is disabled.
8367 * gdb.base/dump.exp: Likewise.
8368 * lib/gdb.exp (gdb_compile): Add pie option.
8369
4c7d57e7
TT
83702019-03-19 Tom Tromey <tromey@adacore.com>
8371
8372 * gdb.mi/mi2-cli-display.c: New file.
8373 * gdb.mi/mi2-cli-display.exp: New file.
8374
bff8c71f
TT
83752019-03-18 Joel Brobecker <brobecker@adacore.com>
8376 Tom Tromey <tromey@adacore.com>
8377
8378 * gdb.ada/ptype_array/pck.adb: New file.
8379 * gdb.ada/ptype_array/pck.ads: New file.
8380 * gdb.ada/ptype_array/foo.adb: New file.
8381 * gdb.ada/ptype_array.exp: New file.
8382
d085f989
TT
83832019-03-14 Tom Tromey <tromey@adacore.com>
8384
8385 * gdb.base/style.exp: Add "set style sources" test.
8386
b4be1b06
SM
83872019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8388
8389 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8390 * mi-breakpoint-multiple-locations.exp: ... this.
8391 (make_breakpoints_pattern): New proc.
8392 (do_test): Add mi_version parameter, test -break-insert,
8393 -break-info and =breakpoint-created.
8394
7cde5fc2
AB
83952019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8396
8397 * config/default.exp: Remove 'load_lib gdb.exp'.
8398 * config/monitor.exp: Likewise.
8399 * config/sid.exp: Likewise.
8400 * config/sim.exp: Likewise.
8401 * config/slite.exp: Likewise.
8402 * config/unix.exp: Likewise.
8403 * gdb.base/default.exp: Remove unhelpful comment.
8404
efbecbc1
AB
84052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8406
8407 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8408
0841c79a
AB
84092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8410
8411 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8412
4a270568
AB
84132019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8414
8415 * gdb.fortran/type-kinds.exp: Update expected results.
8416
067630bd
AB
84172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8418
8419 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8420
3be47f7a
AB
84212019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8422
8423 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8424 function.
8425 (test_basic_parsing_of_type_kinds): Expand types tested.
8426 (test_parsing_invalid_type_kinds): New function.
8427
4d00f5d8
AB
84282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8429
8430 * gdb.fortran/intrinsics.exp: New file.
8431 * gdb.fortran/intrinsics.f90: New file.
8432 * gdb.fortran/type-kinds.exp: New file.
8433
c8f91604
AB
84342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8435
8436 * gdb.fortran/dot-ops.exp: New file.
8437
dd9f2c76
AB
84382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8439
8440 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8441 Check upper and lower case logical literals.
8442
84ec9724
AB
84432019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8444
8445 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8446 Remove duplicate tests.
8447
c3734e09
AH
84482019-03-06 Alan Hayward <alan.hayward@arm.com>
8449
8450 * lib/gdb.exp (builtin_cd): rename of cd.
8451 (cd): Override builtin.
8452
aa3cfbda
RB
84532019-03-06 Richard Bunt <richard.bunt@arm.com>
8454
8455 * gdb.fortran/function-calls.exp: New file.
8456 * gdb.fortran/function-calls.f90: New test.
8457
7b63ad86
RB
84582019-03-04 Richard Bunt <richard.bunt@arm.com>
8459
8460 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8461 on user program standard output.
8462 * gdb.fortran/short-circuit-argument-list.f90: Record function
8463 calls.
8464
01abb042
AH
84652019-02-28 Alan Hayward <alan.hayward@arm.com>
8466
c3734e09
AH
8467 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8468 failure.
01abb042 8469
92137da0
RO
84702019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8471
8472 PR gdb/8527
8473 * gdb.base/interrupt-daemon-attach.c,
8474 gdb.base/interrupt-daemon-attach.exp: New test.
8475
5862844d
PA
84762019-02-27 Pedro Alves <palves@redhat.com>
8477
8478 * gdb.base/page.exp: Add tests for "set width/height -1".
8479
8ed25214
PA
84802019-02-27 Pedro Alves <palves@redhat.com>
8481
8482 * gdb.base/page.exp: Add tests for "set/show width/height" with
8483 "infinite" values.
8484
6c28e44a
TT
84852019-02-27 Tom Tromey <tromey@adacore.com>
8486
8487 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8488 2.4.
8489 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8490 workaround.
8491
bf9a735e
AB
84922019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8493
8494 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8495 tests for structs with static members.
8496
8791793c
TT
84972019-02-26 Tom Tromey <tromey@adacore.com>
8498
8499 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8500 ValueError, not TypeError.
8501
bc2a507e
KB
85022019-02-26 Kevin Buettner <kevinb@redhat.com>
8503
8504 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8505 call from main program.
8506
e0e7d3bd
JB
85072019-02-23 Joel Brobecker <brobecker@adacore.com>
8508
8509 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8510 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8511 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8512 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8513 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8514
9600246d
KS
85152019-02-22 Keith Seitz <keiths@redhat.com>
8516
8517 PR symtab/23853
8518 * gdb.base/symlink-sourcefile.c: New file.
8519 * gdb.base/symlink-sourcefile.exp: New file.
8520
0c95f9ed
TT
85212019-02-20 Tom Tromey <tom@tromey.com>
8522
8523 * gdb.base/info_qt.exp: Update.
8524
6caa91b6
SM
85252019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8526
8527 * gdb.base/source.exp: Move "error in sourced script" code to
8528 the end.
8529 * gdb.base/source-error.gdb: Move contents to
8530 source-error-1.gdb. Add new code to source source-error-1.gdb.
8531 * gdb.base/source-error-1.gdb: New file, from previous
8532 source-error.gdb.
8533
6506371f
TT
85342019-02-17 Tom Tromey <tom@tromey.com>
8535
8536 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8537 for macro styling.
8538 * gdb.base/style.c (SOME_MACRO): New macro.
8539
a0087920
TT
85402019-02-17 Tom Tromey <tom@tromey.com>
8541
8542 * gdb.base/style.exp: Add line-wrapping tests.
8543 * gdb.base/page.exp: Add test for quitting during pagination.
8544
a2cd4f14
JB
85452019-02-17 Joel Brobecker <brobecker@adacore.com>
8546
8547 * gdb.ada/big_packed_array: New testcase.
8548 * gdb.ada/homonym.exp: Fix incorrect expected output for
8549 "break <homonym__get_value>" test.
8550
9d70ffbc
WP
85512019-02-13 Weimin Pan <weimin.pan@oracle.com>
8552
8553 PR breakpoints/21870
8554 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8555 and prepare_for_testing. Add comment.
8556 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8557 redundant cleanup call. Clean up comment.
8558
01c7ae81
WP
85592019-02-12 Weimin Pan <weimin.pan@oracle.com>
8560
8561 PR breakpoints/21870
8562 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8563 * gdb.arch/aarch64-dbreg-contents.c: New file.
8564
aff29d1c
JB
85652019-02-10 Joel Brobecker <brobecker@adacore.com>
8566
8567 * gdb.ada/mi_ref_changeable: New testcase.
8568
df0da8a2
AH
85692019-02-07 Alan Hayward <alan.hayward@arm.com>
8570
8571 * gdb.base/attach.exp: Add double attach test.
8572
bd447abb
SM
85732019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8574
8575 * lib/gdb.exp (default_gdb_start): Don't match pagination
8576 prompt.
8577 (gdb_init): Set stty_init.
8578
1dbc40b9
TT
85792019-01-27 Tom Tromey <tom@tromey.com>
8580
8581 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8582 skip_python_tests.
8583
353229bf
AH
85842019-01-24 Alan Hayward <alan.hayward@arm.com>
8585
8586 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8587 New structure.
8588 (struct struct_static_02_02): Likewise.
8589 (struct struct_static_02_03): Likewise.
8590 (struct struct_static_02_04): Likewise.
8591 (struct struct_static_04_01): Likewise.
8592 (struct struct_static_04_02): Likewise.
8593 (struct struct_static_04_03): Likewise.
8594 (struct struct_static_04_04): Likewise.
8595 (struct struct_static_06_01): Likewise.
8596 (struct struct_static_06_02): Likewise.
8597 (struct struct_static_06_03): Likewise.
8598 (struct struct_static_06_04): Likewise.
8599 (cmp_struct_static_02_01): Likewise.
8600 (cmp_struct_static_02_02): Likewise.
8601 (cmp_struct_static_02_03): Likewise.
8602 (cmp_struct_static_02_04): Likewise.
8603 (cmp_struct_static_04_01): Likewise.
8604 (cmp_struct_static_04_02): Likewise.
8605 (cmp_struct_static_04_03): Likewise.
8606 (cmp_struct_static_04_04): Likewise.
8607 (cmp_struct_static_06_01): Likewise.
8608 (cmp_struct_static_06_02): Likewise.
8609 (cmp_struct_static_06_03): Likewise.
8610 (cmp_struct_static_06_04): Likewise.
8611 (call_all): Test new structs.
8612 * gdb.base/infcall-nested-structs.exp: Likewise.
8613
73021deb
AH
86142019-01-21 Alan Hayward <alan.hayward@arm.com>
8615 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8616
fc65c7db
AH
86172019-01-21 Alan Hayward <alan.hayward@arm.com>
8618 * gdb.base/stack-protector.c: New test.
8619 * gdb.base/stack-protector.exp: New file.
8620 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8621 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8622 option.
8623 (gdb_compile): Remove stack protector for GCC and prevent
8624 recursion.
8625
c24bdb02
KS
86262019-01-16 Keith Seitz <keiths@redhat.com>
8627
8628 PR gdb/23773
8629 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8630
6f072a10
PFC
86312019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8632
8633 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8634 aliases.
8635 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8636 tests.
8637 * gdb.arch/powerpc-vector-regs.c: New file.
8638 * gdb.arch/powerpc-vector-regs.exp: New file.
8639
a7b8d682
PFC
86402019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8641
8642 * gdb.arch/altivec-regs.exp: Fix the list passed to
8643 gdb_expect_list when testing "info vector".
8644
6eb6fb67
AB
86452019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8646
8647 * gdb.base/style.exp: Don't include path in testname.
8648
b56f80d8
KS
86492019-01-10 Keith Seitz <keiths@redhat.com>
8650
8651 PR gdb/23712
8652 PR symtab/23010
8653 * gdb.dwarf2/multidictionary.exp: New file.
8654
041be526
SM
86552019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8656
8657 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8658 (test_gnuv3_style_demangling): ... this.
8659 (test_lucid_style_demangling): Remove.
8660 (test_arm_style_demangling): Remove.
8661 (test_hp_style_demangling): Remove.
8662 (do_tests): Remove calls to the above.
8663
d820d0c3
AB
86642019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8665
8666 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8667 case.
8668
f097f5ad
TT
86692019-01-06 Tom Tromey <tom@tromey.com>
8670
8671 PR gdb/28155:
8672 * gdb.dwarf2/typedef-void-finish.exp: New file.
8673
2cd8cc0b
TT
86742018-12-28 Tom Tromey <tom@tromey.com>
8675 Simon Marchi <simark@simark.ca>
8676
8677 * gdb.base/jit-exec.exp: New file.
8678 * gdb.base/jit-exec.c: New file.
8679 * gdb.base/jit-execd.c: New file.
8680
35fb8261
TT
86812018-12-28 Tom Tromey <tom@tromey.com>
8682
8683 * gdb.base/style.exp: Update test to check for address styling.
8684
47fd17cd
TT
86852018-12-28 Tom Tromey <tom@tromey.com>
8686
8687 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8688 message.
8689
d47032b7
TT
86902018-12-28 Tom Tromey <tom@tromey.com>
8691
8692 * gdb.base/style.exp: Add test for version number styling.
8693
af79b68d
TT
86942018-12-28 Tom Tromey <tom@tromey.com>
8695
8696 * gdb.base/style.exp: Add test for print_address_symbolic.
8697
0bb296cb
TT
86982018-12-28 Tom Tromey <tom@tromey.com>
8699
8700 * gdb.base/style.exp: Add test for breakpoint setting.
8701
80ae2043
TT
87022018-12-28 Tom Tromey <tom@tromey.com>
8703
8704 * gdb.base/style.exp: Add test for variable names.
8705
cbe56571
TT
87062018-12-28 Tom Tromey <tom@tromey.com>
8707
8708 * gdb.base/style.exp: New file.
8709 * gdb.base/style.c: New file.
8710
9162a27c
TT
87112018-12-28 Tom Tromey <tom@tromey.com>
8712
8713 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8714 "dumb".
8715 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8716 the TERM environment variable.
8717
bc543c90
TT
87182018-12-27 Tom Tromey <tom@tromey.com>
8719
8720 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8721 pagination test.
8722
6f0ffe50
AB
87232018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8724
8725 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8726 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8727
b5a1e557
PW
87282018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8729
8730 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8731 Filename a.adb changed to bp_fun_addr.adb.
8732 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8733
6e8b1ab2
JV
87342018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8735
8736 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8737 non-PIE executables.
8738 * README: Mention the gdb,nopie_flag board setting.
8739 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8740 non-PIE executable.
8741 * gdb.arch/amd64-entry-value.exp: Likewise.
8742 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8743 * gdb.arch/i386-float.exp: Likewise.
8744 * gdb.arch/i386-signal.exp: Likewise.
8745 * gdb.mi/mi-reg-undefined.exp: Likewise.
8746
d00a27c5
PM
87472018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8748
8749 PR gdb/23974
8750 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8751
161d081c
PW
87522018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8753
8754 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8755 Update order of results accordingly.
8756
b001de23
AB
87572018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8758
8759 * gdb.base/annota1.exp: Update a test regexp.
8760
99e1a184
AB
87612018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8762
8763 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8764
7a81c1e2
PW
87652018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8766
8767 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8768 (reuse_time): Initialize to REUSE_TIME_CAP.
8769 (check_rc): New function.
8770 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8771 Check pthread_create rc.
8772 (spawner_thread_func): Check pthread_create and pthread_join rc.
8773
73e8dc90
PA
87742018-12-08 Pedro Alves <palves@redhat.com>
8775
8776 * gdb.base/list.exp (test_forward_search): Rename to ...
8777 (test_forward_reverse_search): ... this. Also test reverse-search
8778 and the forward-search alias.
8779
13f2ed32
AB
87802018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8781
8782 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8783 local timeout variable before return, and remove all local timeout
8784 variable entirely.
8785 (gdb_load): Likewise.
8786
64d27cfc
TV
87872018-12-01 Tom de Vries <tdevries@suse.de>
8788
8789 * gdb.base/gdb-caching-proc.exp: New file.
8790
f63c03b4
SDJ
87912018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8792
8793 * Makefile.in (TIMESTAMP): New variable.
8794 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8795 command.
8796 (check-single-racy): Likewise.
8797 (check/%.exp): Likewise.
8798 (check-racy/%.exp): Likewise.
8799 (workers/%.worker): Likewise.
8800 (build-perf): Likewise.
8801 (check-perf): Likewise.
8802 * README: Describe new "TS" and "TS_FORMAT" variables.
8803 * print-ts.py: New file.
8804
1c97054b
BF
88052018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8806
8807 PR python/23714
8808 * gdb.python/python.exp: Test command repetition after
8809 gdb.execute.
8810
1871a62d
AB
88112018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8812
8813 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8814 is correctly aligned.
8815
fb5e1ed9
PW
88162018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8817
8818 * gdb.ada/info_auto_lang.exp: New testcase.
8819 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8820 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8821 * gdb.ada/info_auto_lang/some_c.c: New file.
8822
43d397ca
PW
88232018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8824
8825 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8826 FUNC_lang language syntax.
8827
beddd671
PW
88282018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8829
8830 * gdb.base/info_minsym.c: New file.
8831 * gdb.base/info_minsym.exp: New file.
8832
73fc52c4
TT
88332018-11-19 Tom Tromey <tom@tromey.com>
8834
8835 PR rust/23625:
8836 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8837 * gdb.rust/expr.exp: Update expected output. Change one test.
8838
994b876a
TT
88392018-11-19 Tom Tromey <tom@tromey.com>
8840
8841 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8842
6769f276
PA
88432018-11-19 Pedro Alves <palves@redhat.com>
8844
8845 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8846 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8847 see the expected warning.
8848
38a72da0
AH
88492018-11-16 Alan Hayward <alan.hayward@arm.com>
8850
8851 PR gdb/22736:
8852 * gdb.cp/infcall-nodebug-lib.c: New test.
8853 * gdb.cp/infcall-nodebug-main.c: New test.
8854 * gdb.cp/infcall-nodebug.exp: New file.
8855
53a89d6e
SM
88562018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8857
8858 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8859 completer tests.
8860
9325300d
TV
88612018-11-09 Tom de Vries <tdevries@suse.de>
8862
8863 * gdb.base/msym-lang.c: New test.
8864 * gdb.base/msym-lang.exp: New file.
8865 * gdb.base/msym-lang-main.c: New test.
8866
20f0d60d
TT
88672018-11-08 Tom Tromey <tom@tromey.com>
8868
8869 PR gdb/23555:
8870 PR gdb/23838:
8871 * gdb.base/warning.exp: New file.
8872
b5420128
JB
88732018-11-08 Jan Beulich <jbeulich@suse.com>
8874
8875 * testsuite/gdb.arch/i386-avx512.c,
8876 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8877
cd115d61
AB
88782018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8879
8880 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8881 point hardware.
8882
35ee2dc2
AB
88832018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8884
8885 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8886 * gdb.dwarf2/missing-type-name.exp: New file.
8887
31aceee8
TV
88882018-11-06 Tom de Vries <tdevries@suse.de>
8889
8890 * gdb.base/many-headers.c: New test.
8891 * gdb.base/many-headers.exp: New file.
8892
109be305
JW
88932018-11-06 Jim Wilson <jimw@sifive.com>
8894
8895 * gdb.base/code_elim.exp: For riscv, set additional_flags
8896 to include -msmall-data-limit=0.
8897
e2b7af72
JB
88982018-11-01 Joel Brobecker <brobecker@adacore.com>
8899
8900 * gdb.ada/watch_minus_l: New testcase.
8901
cdcda965
SM
89022018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8903
8904 * gdb.arch/aix-sighandle.c: New file.
8905 * gdb.arch/aix-sighandle.exp: New file.
8906
92dcebf3
AB
89072018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8908
8909 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8910 registers being unions.
8911
68b9ac18
TV
89122018-10-31 Tom de Vries <tdevries@suse.de>
8913
8914 * lib/valgrind.exp: New file.
8915 (vgdb_start, vgdb_stop): New procs, factored out of ...
8916 * gdb.base/valgrind-bt.exp: ... here, ...
8917 * gdb.base/valgrind-disp-step.exp: ... here and ...
8918 * gdb.base/valgrind-infcall.exp: ... here.
8919
1443936e
TV
89202018-10-31 Tom de Vries <tdevries@suse.de>
8921
8922 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8923
eb77c9df
AB
89242018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8925
8926 * gdb.dwarf2/void-type.c: New file.
8927 * gdb.dwarf2/void-type.exp: New file.
8928
82b5e646
PW
89292018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8930
8931 * gdb.base/info_qt.c: New file.
8932 * gdb.base/info_qt.exp: New file.
8933
8d619c01
EBM
89342018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8935
8936 * gdb.arch/powerpc-htm-regs.c: New file.
8937 * gdb.arch/powerpc-htm-regs.exp: New file.
8938
f2cf6173
EBM
89392018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8940
8941 * gdb.arch/powerpc-tar.c: New file.
8942 * gdb.arch/powerpc-tar.exp: New file.
8943
7ca18ed6
EBM
89442018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8945
8946 * gdb.arch/powerpc-ppr-dscr.c: New file.
8947 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8948
bfcc0eba
TV
89492018-10-25 Tom de Vries <tdevries@suse.de>
8950
8951 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8952
fe1a5cad
TV
89532018-10-24 Tom de Vries <tdevries@suse.de>
8954
8955 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8956 longer exists error.
8957
a76dc3b7
TV
89582018-10-24 Tom de Vries <tdevries@suse.de>
8959
8960 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8961
4df46df7
TV
89622018-10-24 Tom de Vries <tdevries@suse.de>
8963
8964 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8965 --db-attach in valgrind.
8966
0dbfcfff
AB
89672018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8968
8969 * gdb.arch/riscv-reg-aliases.c: New file.
8970 * gdb.arch/riscv-reg-aliases.exp: New file.
8971
b04480b1
AH
89722018-10-19 Alan Hayward <alan.hayward@arm.com>
8973
8974 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8975
2c6ac8d7
AH
89762018-10-19 Alan Hayward <alan.hayward@arm.com>
8977
8978 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8979
2bc69f25
AH
89802018-10-19 Alan Hayward <alan.hayward@arm.com>
8981
8982 * gdb.cp/ovldbreak.exp: Fix regexps.
8983
1f1ae3a3
AH
89842018-10-19 Alan Hayward <alan.hayward@arm.com>
8985
8986 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8987
94c18618
SDJ
89882018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8989
8990 PR cli/23785
8991 * gdb.base/restore.exp: New test to check if "restore" with an
8992 invalid file doesn't segfault.
8993
812cd6eb
TV
89942018-10-18 Tom de Vries <tdevries@suse.de>
8995
8996 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8997 * gdb.ada/excep_handle.exp: Same.
8998 * gdb.ada/mi_string_access.exp: Same.
8999 * gdb.ada/mi_var_union.exp: Same.
9000 * gdb.arch/arc-analyze-prologue.exp: Same.
9001 * gdb.arch/arc-decode-insn.exp: Same.
9002 * gdb.base/readnever.exp: Same.
9003 * gdb.fortran/printing-types.exp: Same.
9004 * gdb.guile/scm-lazy-string.exp: Same.
9005
c4b90788
TV
90062018-10-16 Tom de Vries <tdevries@suse.de>
9007
9008 PR gdb/23730
9009 * gdb.base/catch-follow-exec.c: Add copyright notice.
9010 * gdb.base/catch-follow-exec.exp: Rewrite to use
9011 gdb_spawn_with_cmdline_opts. Require gdb-native.
9012
8bca2978
SL
90132018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9014
9015 * gdb.trace/actions-changed.exp: Check for arch support.
9016 * gdb.trace/actions.exp: Likewise.
9017 * gdb.trace/ax.exp: Likewise.
9018 * gdb.trace/backtrace.exp: Likewise.
9019 * gdb.trace/change-loc.exp: Likewise.
9020 * gdb.trace/deltrace.exp: Likewise.
9021 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9022 * gdb.trace/ftrace.exp: Likewise.
9023 * gdb.trace/infotrace.exp: Check for arch support.
9024 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9025 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9026 * gdb.trace/mi-tsv-changed.exp: Likewise.
9027 * gdb.trace/packetlen.exp: Likewise.
9028 * gdb.trace/passc-dyn.exp: Likewise.
9029 * gdb.trace/passcount.exp: Likewise.
9030 * gdb.trace/pending.exp: Likewise.
9031 * gdb.trace/range-stepping.exp: Check for shlib support.
9032 * gdb.trace/report.exp: Check for arch support.
9033 * gdb.trace/save-trace.exp: Likewise.
9034 * gdb.trace/signal.exp: Check for signal support.
9035 * gdb.trace/tfind.exp: Check for arch support.
9036 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9037 * gdb.trace/trace-common.h: Add comment.
9038 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9039 * gdb.trace/trace-enable-disable.exp: Likewise.
9040 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9041 * gdb.trace/tracecmd.exp: Check for arch support.
9042 * gdb.trace/tspeed.exp: Check for shlib and target support.
9043 * gdb.trace/tstatus.exp: Check for arch support.
9044 * gdb.trace/tsv.exp: Likewise.
9045 * gdb.trace/while-dyn.exp: Likewise.
9046 * gdb.trace/while-stepping.exp: Likewise.
9047 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9048
f9c49bff
SM
90492018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9050
9051 * gdb.trace/tspeed.exp: Remove nowarnings.
9052 (prepare_for_trace_test): Declare "global ipalib".
9053 * gdb.trace/tspeed.c: Include unistd.h.
9054 (main): Remove superfluous printf argument.
9055
d4330bde
SL
90562018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9057
9058 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9059 directory prefix on the filename.
9060
8ecfd7bd
SDJ
90612018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9062
9063 * gdb.gdb/unittest.exp: Update expected message informing that
9064 selftests have been disabled.
9065 * gdb.server/unittest.exp: Likewise.
9066
58bbcd02
TV
90672018-10-09 Tom de Vries <tdevries@suse.de>
9068
9069 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9070 with runto_main.
9071
9f6b697b
WP
90722018-10-08 Weimin Pan <weimin.pan@oracle.com>
9073
9074 PR c++/16841
9075 * gdb.cp/virtbase2.cc: New file.
9076 * gdb.cp/virtbase2.exp: New file.
9077
add5ded5
TT
90782018-10-06 Tom Tromey <tom@tromey.com>
9079
9080 PR python/19399:
9081 * gdb.python/py-inferior.exp: Add architecture test.
9082
f9e48344
TT
90832018-10-06 Tom Tromey <tom@tromey.com>
9084
9085 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9086 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9087
2a8be203
TT
90882018-10-06 Tom Tromey <tom@tromey.com>
9089
9090 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9091 of a "throw" catchpoint.
9092
e04caa70
SDJ
90932018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9094
9095 * gdb.base/info-proc.exp: Update string expected from "help info
9096 proc".
9097
5ca8c39f
TT
90982018-10-04 Tom Tromey <tom@tromey.com>
9099
9100 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9101 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9102 (test_initial_complaints, test_empty_complaints): Update.
9103 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9104
3453e7e4
TT
91052018-10-04 Tom Tromey <tom@tromey.com>
9106
9107 PR cli/19551:
9108 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9109 * lib/gdb.exp (gdb_file_cmd): Update.
9110 * gdb.stabs/weird.exp (print_weird_var): Update.
9111 * gdb.server/solib-list.exp: Update.
9112 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9113 * gdb.mi/mi-cli.exp: Update.
9114 * gdb.linespec/linespec.exp: Update.
9115 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9116 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9117 * gdb.cp/cp-relocate.exp: Update.
9118 * gdb.base/sym-file.exp: Update.
9119 * gdb.base/relocate.exp: Update.
9120 * gdb.base/readnever.exp: Update.
9121 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9122 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9123 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9124 * gdb.base/code_elim.exp: Update.
9125 * gdb.base/break-unload-file.exp (test_break): Update.
9126 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9127 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9128 Update.
9129 * gdb.base/attach.exp (do_attach_tests): Update.
9130 * gdb.base/sepdebug.exp: Update.
9131 * gdb.python/py-section-script.exp: Update.
9132
6afcf761
TT
91332018-10-04 Tom Tromey <tom@tromey.com>
9134
9135 PR cli/22234:
9136 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9137 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9138 output.
9139
fef1b293
TT
91402018-10-04 Tom Tromey <tom@tromey.com>
9141
9142 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9143 set width and height to 0.
9144 (test_command_line_attach_run): Use -quiet.
9145
ca98345e
SL
91462018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9147
9148 * lib/gdb.exp (skip_ifunc_tests): New.
9149 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9150 other compile failures.
9151 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9152
ff34e6ae
SM
91532018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9154
9155 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9156 is_amd64_regs_target.
9157
6bb8890e
AH
91582018-10-01 Alan Hayward <alan.hayward@arm.com>
9159
9160 * gdb.arch/aarch64-sighandler-regs.c: New test.
9161 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9162 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9163
224d30d3
MM
91642018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9165
9166 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9167 assembly.
9168
f67ffa6a
AB
91692018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9170
9171 * gdb.base/frame-selection.exp: New file.
9172 * gdb.base/frame-selection.c: New file.
9173
9fc3183f
AH
91742018-09-27 Alan Hayward <alan.hayward@arm.com>
9175
9176 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9177 pthread barrier.
9178 (main): Likewise.
9179
d354055e
AB
91802018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9181
9182 * gdb.base/large-frame-1.c: New file.
9183 * gdb.base/large-frame-2.c: New file.
9184 * gdb.base/large-frame.exp: New file.
9185 * gdb.base/large-frame.h: New file.
9186
db727370
JL
91872018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9188
9189 PR gdb/20948
9190 * gdb.base/write_mem.exp: New test.
9191 * gdb.base/write_mem.c: Likewise.
9192
ae778caf
TT
91932018-09-23 Tom Tromey <tom@tromey.com>
9194
9195 PR python/18852:
9196 * gdb.python/py-parameter.exp: Add test for parameter that throws
9197 on "set".
9198
fd3ba736
TT
91992018-09-23 Tom Tromey <tom@tromey.com>
9200
9201 PR python/17284:
9202 * gdb.python/py-template.exp (test_template_arg): Add test for
9203 negative template argument number.
9204
39a24317
TT
92052018-09-23 Tom Tromey <tom@tromey.com>
9206
9207 PR python/14062:
9208 * gdb.python/python.exp: Add test for post_event error.
9209
f5769a2c
TT
92102018-09-23 Tom Tromey <tom@tromey.com>
9211
9212 PR python/18170:
9213 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9214 convert pointers to int and long.
9215
1c1e54f6
TT
92162018-09-23 Tom Tromey <tom@tromey.com>
9217
9218 PR python/20126:
9219 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9220 signed-ness conversion tests.
9221
fb4fa946
TT
92222018-09-23 Tom Tromey <tom@tromey.com>
9223
9224 PR python/18352;
9225 * gdb.python/py-value.exp (test_float_conversion): New proc.
9226 Use it.
9227
a466edac
HAQ
92282018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9229
9230 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9231
4ee9b0c5
SL
92322018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9233
9234 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9235 no readline.
9236 * gdb.base/utf8-identifiers.exp: Likewise.
9237 * gdb.cp/cpcompletion.exp: Likewise.
9238 * gdb.linespec/cpcompletion.exp: Likewise.
9239 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9240 * gdb.linespec/cpls-ops.exp: Likewise.
9241
23be8da7
RB
92422018-09-19 Richard Bunt <richard.bunt@arm.com>
9243 Chris January <chris.january@arm.com>
9244
9245 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9246 * gdb.fortran/short-circuit-argument-list.exp: New file.
9247 * gdb.fortran/short-circuit-argument-list.f90: New test.
9248
5031d0ae
SDJ
92492018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9250
9251 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9252 "arch=" keyword when executing "-stack-list-frames".
9253
b4c0d1a4
SDJ
92542018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9255
9256 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9257 "arch=" keyword when executing "-stack-list-frames".
9258
7a6d2b45
SDJ
92592018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9260
9261 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9262 break ada".
9263
8588b356
SM
92642018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9265
9266 PR python/23669
9267 * gdb.python/python.exp: Test gdb.execute("show commands").
9268
65e65158
TT
92692018-09-16 Tom Tromey <tom@tromey.com>
9270
9271 * gdb.base/new-ui.exp (do_execution_tests): Update.
9272 * gdb.base/dbx.exp (test_breakpoints): Update.
9273
bf326452
AH
92742018-09-14 Alan Hayward <alan.hayward@arm.com>
9275
9276 * lib/gdb.exp (gdb_simple_compile): Add proc.
9277 (is_elf_target): Use gdb_simple_compile.
9278 (skip_altivec_tests): Likewise.
9279 (skip_vsx_tests): Likewise.
9280 (skip_tsx_tests): Likewise.
9281 (skip_btrace_tests): Likewise.
9282 (skip_btrace_pt_tests): Likewise.
9283 (gdb_can_simple_compile): Likewise.
9284 (gdb_has_argv0): Likewise.
9285 (gdb_target_symbol_prefix): Likewise.
9286 (target_supports_scheduler_locking): Likewise.
9287
2361b0fb
TT
92882018-09-13 Tom Tromey <tom@tromey.com>
9289
9290 * Makefile.in (TAGS): Recognize proc_with_prefix and
9291 gdb_caching_proc.
9292
0ae1a321
SM
92932018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9294
9295 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9296 method.
9297
a40bf0c2
SM
92982018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9299
9300 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9301 and a few other Inferior properties when the Inferior is no
9302 longer valid.
9303
4a3fe98f
TT
93042018-09-13 Tom Tromey <tom@tromey.com>
9305
9306 PR rust/23650:
9307 * gdb.rust/simple.exp: Add test for enum field access error.
9308
098b2108
TT
93092018-09-13 Tom Tromey <tom@tromey.com>
9310
9311 PR rust/23626:
9312 * gdb.rust/simple.rs (EmptyEnum): New type.
9313 (main): Use it.
9314 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9315
1256af7d
SM
93162018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9319 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9320 * gdb.python/py-symtab.exp: Update test printing an objfile.
9321
4aa8e6c2
SM
93222018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9323
9324 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9325 object.
9326
c221b2f7
AH
93272018-09-12 Alan Hayward <alan.hayward@arm.com>
9328
9329 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9330 (support_complex_tests): Use gdb_can_simple_compile.
9331 (is_ilp32_target): Likewise.
9332 (is_lp64_target): Likewise.
9333 (is_64_target): Likewise.
9334 (is_amd64_regs_target): Likewise.
9335 (is_aarch32_target): Likewise.
9336 (gdb_int128_helper): Likewise.
9337
6f1107b5
JK
93382018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9339
9340 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9341
1f5d1570
JG
93422018-09-10 Jerome Guitton <guitton@adacore.com>
9343
9344 * gdb.ada/same_component_name: Add test for case of tagged record
9345 with variable-length fields.
9346
cc330e39
XR
93472018-09-10 Xavier Roirand <roirand@adacore.com>
9348
9349 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9350 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9351 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9352 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9353
b9c50e9a
XR
93542018-09-10 Xavier Roirand <roirand@adacore.com>
9355
9356 * gdb.ada/mi_string_access.exp: New testcase.
9357 * gdb.ada/mi_string_access/bar.adb: New file.
9358 * gdb.ada/mi_string_access/pck.adb: New file.
9359 * gdb.ada/mi_string_access/pck.asd: New file.
9360
2963898f
XR
93612018-09-10 Xavier Roirand <roirand@adacore.com>
9362
9363 * gdb.ada/mi_var_union.exp: New testcase.
9364 * gdb.ada/mi_var_union/bar.adb: New file.
9365 * gdb.ada/mi_var_union/pck.adb: New file.
9366 * gdb.ada/mi_var_union/pck.asd: New file.
9367
1aac008f
TT
93682018-09-08 Tom Tromey <tom@tromey.com>
9369
9370 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9371
332cf4c9
TT
93722018-09-08 Tom Tromey <tom@tromey.com>
9373
9374 PR python/16047:
9375 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9376 (register_pretty_printers): Register new printer.
9377 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9378 test.
9379 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9380 (an_int_type3): New global.
9381
424da6cf
JB
93822018-09-08 Joel Brobecker <brobecker@adacore.com>
9383
9384 * gdb.ada/expr_with_funcall: New testcase.
9385
2a62dfa9
JB
93862018-09-08 Joel Brobecker <brobecker@adacore.com>
9387
9388 * gdb.ada/packed_array_assign: New testcase.
9389
96b6697f
AB
93902018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9391
9392 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9393 names, and add test prefixes to make test names unique.
9394
e4a62c65
TV
93952018-09-05 Tom de Vries <tdevries@suse.de>
9396
9397 * gdb.dwarf2/varval.exp: Add test.
9398
dd083ee2
GB
93992018-09-04 Gary Benson <gbenson@redhat.com>
9400
9401 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9402 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9403
aef9346c
TT
94042018-08-31 Tom Tromey <tom@tromey.com>
9405
9406 * gdb.rust/simple.rs: Rename second variable "v".
9407
c67f2e15
AB
94082018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9409
9410 * gdb.base/funcargs.c (use_a): New function.
9411 (recurse): Call use_a.
9412
078a0207
KS
94132018-08-29 Keith Seitz <keiths@redhat.com>
9414
9415 * gdb.compile/compile-cplus-anonymous.cc: New file.
9416 * gdb.compile/compile-cplus-anonymous.exp: New file.
9417 * gdb.compile/compile-cplus-array-decay.cc: New file.
9418 * gdb.compile/compile-cplus-array-decay.exp: New file.
9419 * gdb.compile/compile-cplus-inherit.cc: New file.
9420 * gdb.compile/compile-cplus-inherit.exp: New file.
9421 * gdb.compile/compile-cplus-member.cc: New file.
9422 * gdb.compile/compile-cplus-member.exp: New file.
9423 * gdb.compile/compile-cplus-method.cc: New file.
9424 * gdb.compile/compile-cplus-method.exp: New file.
9425 * gdb.compile/compile-cplus-mod.c: "New" file.
9426 * gdb.compile/compile-cplus-namespace.cc: New file.
9427 * gdb.compile/compile-cplus-namespace.exp: New file.
9428 * gdb.compile/compile-cplus-nested.cc: New file.
9429 * gdb.compile/compile-cplus-nested.exp: New file.
9430 * gdb.compile/compile-cplus-print.c: "New" file.
9431 * gdb.compile/compile-cplus-print.exp: "New" file.
9432 * gdb.compile/compile-cplus-virtual.cc: New file.
9433 * gdb.compile/compile-cplus-virtual.exp: New file.
9434 * gdb.compile/compile-cplus.c: "New" file.
9435 * gdb.compile/compile-cplus.exp: "New" file.
9436 * lib/compile-support.exp: New file.
9437
b0f492b9
GB
94382018-08-16 Gary Benson <gbenson@redhat.com>
9439
9440 PR gdb/13000:
9441 * gdb.base/batch-exit-status.exp: New file.
9442 * gdb.base/batch-exit-status.good-commands: Likewise.
9443 * gdb.base/batch-exit-status.bad-commands: Likewise.
9444
36eb4c5f
AH
94452018-08-29 Alan Hayward <alan.hayward@arm.com>
9446
9447 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9448 (struct struct02): Likewise.
9449 (struct struct03): Likewise.
9450 (struct struct04): Likewise.
9451 (struct struct_01_01): New struct.
9452 (struct struct_01_02): Likewise.
9453 (struct struct_01_03): Likewise.
9454 (struct struct_01_04): Likewise.
9455 (struct struct_02_01): Likewise.
9456 (struct struct_02_02): Likewise.
9457 (struct struct_02_03): Likewise.
9458 (struct struct_02_04): Likewise.
9459 (struct struct_04_01): Likewise.
9460 (struct struct_04_02): Likewise.
9461 (struct struct_04_03): Likewise.
9462 (struct struct_04_04): Likewise.
9463 (struct struct_05_01): Likewise.
9464 (struct struct_05_02): Likewise.
9465 (struct struct_05_03): Likewise.
9466 (struct struct_05_04): Likewise.
9467 (cmp_struct01): Remove function.
9468 (cmp_struct02): Likewise.
9469 (cmp_struct03): Likewise.
9470 (cmp_struct04): Likewise.
9471 (cmp_struct_01_01): Add Function.
9472 (cmp_struct_01_02): Likewise.
9473 (cmp_struct_01_03): Likewise.
9474 (cmp_struct_01_04): Likewise.
9475 (cmp_struct_02_01): Likewise.
9476 (cmp_struct_02_02): Likewise.
9477 (cmp_struct_02_03): Likewise.
9478 (cmp_struct_02_04): Likewise.
9479 (cmp_struct_04_01): Likewise.
9480 (cmp_struct_04_02): Likewise.
9481 (cmp_struct_04_03): Likewise.
9482 (cmp_struct_04_04): Likewise.
9483 (cmp_struct_05_01): Likewise.
9484 (cmp_struct_05_02): Likewise.
9485 (cmp_struct_05_03): Likewise.
9486 (cmp_struct_05_04): Likewise.
9487 (call_all): Add new structs.
9488 * gdb.base/infcall-nested-structs.exp: Likewise.
9489
3bf9c013
JV
94902018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9491
9492 * gdb.python/py-framefilter-mi.exp: Update regexp to
9493 check for "arch" field in frame output.
9494
450d1e88
KB
94952018-08-23 Kevin Buettner <kevinb@redhat.com>
9496
9497 * gdb.dwarf2/dw2-ranges-func.c: New file.
9498 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9499
ae739fe7
SM
95002018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9501
9502 * gdb.base/term.exp: Compare terminal settings with values from
9503 the inferior.
9504 * gdb.base/term.c: Get and set terminal settings.
9505
6d52907e
JV
95062018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9507
9508 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9509 accommodate new "arch" field in frame output.
9510 * gdb.mi/mi-return.exp: Likewise.
9511 * gdb.mi/mi-stack.exp: Likewise.
9512 * gdb.mi/mi-syn-frame.exp: Likewise.
9513 * gdb.mi/user-selected-context-sync.exp: Likewise.
9514
be2d111a
MS
95152018-08-19 Michael Spang <spang@google.com>
9516
9517 PR gdb/11786
9518 * gdb.base/gcore-tls-pie.c: New file.
9519 * gdb.base/gcore-tls-pie.exp: New file.
9520
ae3a7c47
KB
95212018-08-18 Kevin Buettner <kevinb@redhat.com>
9522
9523 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9524 * gdb.dwarf2/varval.c: New file.
9525 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9526
2ecae92e
AH
95272018-08-17 Alan Hayward <alan.hayward@arm.com>
9528
9529 PR gdb/18931
9530 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9531
c1854f1d
KS
95322018-08-16 Keith Seitz <keiths@redhat.com>
9533
9534 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9535 tests expected to pass.
9536
26fb3983
JV
95372018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9538
9539 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9540 -data-disassemble -a.
9541 (test_disassembly_bogus_args): Likewise.
9542
67943c00
AB
95432018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9544
9545 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9546
5ff2bbae
AB
95472018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9548
9549 * gdb.base/vla-optimized-out.exp: Add new test.
9550
e5bbcd0f
AB
95512018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9552
9553 * gdb.base/vla-optimized-out-o3.exp: Delete.
9554 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9555 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9556 deleted tests.
9557
9d4a934c
AB
95582018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9559
9560 PR gdb/18050:
9561 * gdb.server/extended-remote-restart.c: New file.
9562 * gdb.server/extended-remote-restart.exp: New file.
9563
045cf012
SM
95642018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9565
9566 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9567 "set variable index = 42".
9568
87d6a7aa
SM
95692018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9570
9571 * boards/index-cache-gdb.exp: New file.
9572 * gdb.dwarf2/index-cache.exp: New file.
9573 * gdb.dwarf2/index-cache.c: New file.
9574 * gdb.base/maint.exp: Check if we are using the index cache.
9575
96d68bd4
RO
95762018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9577
9578 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9579 MAKEFLAGS.
9580
5a699617
RO
95812018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9582
9583 * dg-extract-results.sh: Move to toplevel contrib.
9584 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9585 * Makefile.in (check-parallel-racy): Likewise.
9586
5bd18990
AB
95872018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9588
9589 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9590 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9591 tests if the target supports scheduler locking.
9592
3fbbcf47
TV
95932018-08-04 Tom de Vries <tdevries@suse.de>
9594
9595 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9596
3e1d3d8c
TT
95972018-08-02 Tom Tromey <tom@tromey.com>
9598
9599 PR symtab/16842.
9600 * gdb.cp/temargs.exp: Test "info address" of a template
9601 parameter.
9602
5abe0f0c
JV
96032018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9604
9605 * gdb.python/py-mi-var-info-path-expression.c: New file.
9606 * gdb.python/py-mi-var-info-path-expression.py: New file.
9607 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9608
fb66cde8
SDJ
96092018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9610
9611 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9612 error after "cannot resolve name" string.
9613
c708f4d2
AB
96142018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9615
9616 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9617 started.
9618 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9619
37cc0cae
TV
96202018-07-28 Tom de Vries <tdevries@suse.de>
9621
9622 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9623
63b4ecf7
TV
96242018-07-26 Tom de Vries <tdevries@suse.de>
9625
9626 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9627
3c3bb058
AB
96282018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9629
9630 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9631 is visible.
9632
9e7f3bbb
TV
96332018-07-26 Tom de Vries <tdevries@suse.de>
9634
9635 PR breakpoints/23366
9636 * gdb.base/catch-follow-exec.c: New test.
9637 * gdb.base/catch-follow-exec.exp: New file.
9638
16f808ec
TV
96392018-07-25 Tom de Vries <tdevries@suse.de>
9640
9641 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9642 vla-optimized-out.c.
9643
d7154a8d
JV
96442018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9645
9646 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9647 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9648
232a0032
TV
96492018-07-20 Tom de Vries <tdevries@suse.de>
9650
9651 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9652 NOCLONE macro.
9653 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9654
fbb1d502
TV
96552018-07-19 Tom de Vries <tdevries@suse.de>
9656
9657 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9658 regular expression.
9659
42dc7699
TV
96602018-07-18 Tom de Vries <tdevries@suse.de>
9661
9662 * gdb.base/vla-optimized-out.c: New test.
9663 * gdb.base/vla-optimized-out.exp: New file.
9664
7f1f7e23
SDJ
96652018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9666
9667 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9668 message "No address associated with hostname" when gdbserver
9669 cannot resolve the hostname.
9670
5759ebb3
PW
96712018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9672
9673 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9674 Add some test prefixes to make tests unique.
9675
3606ccab
PW
96762018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9677
9678 * gdb.base/frameapply.c: New file.
9679 * gdb.base/frameapply.exp: New file.
9680
529c08b2
PW
96812018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9682
9683 * gdb.base/skip.exp: Update expected error message.
9684
c7ab0aef
SDJ
96852018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9686 Jan Kratochvil <jan.kratochvil@redhat.com>
9687 Paul Fertser <fercerpav@gmail.com>
9688 Tsutomu Seki <sekiriki@gmail.com>
9689
9690 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9691 parameter.
9692 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9693 by default.
9694 * boards/native-gdbserver.exp: Likewise.
9695 * gdb.server/run-without-local-binary.exp: Improve regexp used
9696 for detecting when a remote debugging connection succeeds.
9697 * gdb.server/server-connect.exp: New file.
9698 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9699 Do not prefix the port number with ":".
9700 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9701 support for detecting and using it. Add '$debughost_gdbserver'
9702 to the list of arguments used to start gdbserver. Handle case
9703 when gdbserver cannot resolve a network name.
9704
16ff70dd
SDJ
97052018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9706
9707 PR c++/23373
9708 * gdb.base/ptype-offsets.cc (struct static_member): New
9709 struct.
9710 (main) <stmember>: New variable.
9711 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9712 with a static member in it.
9713
3541979f
AB
97142018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9715
9716 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9717 watchpoints enabled and disabled.
9718
c8ad9b9a
AB
97192018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9720
9721 * gdb.base/examine-backward.exp: Still run tests around address
9722 0x0, even if address 0x0 is not readable. Update the pattern for
9723 matching address 0x0 in expected output.
9724
e0e5e971
AB
97252018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9726
9727 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9728 malloc/free.
9729
1ea5da02
TV
97302018-07-04 Tom de Vries <tdevries@suse.de>
9731
9732 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9733
471b9d15
MR
97342018-07-02 Maciej W. Rozycki <macro@mips.com>
9735
9736 PR tdep/8282
9737 * gdb.arch/mips-disassembler-options.exp: New test.
9738 * gdb.arch/mips-disassembler-options.s: New test source.
9739
75acb486
PA
97402018-06-29 Pedro Alves <palves@redhat.com>
9741
9742 * gdb.threads/names.exp: Adjust expected "info threads" output.
9743
cd2bb709
PA
97442018-06-29 Pedro Alves <palves@redhat.com>
9745
9746 * gdb.opt/inline-break.exp (line number, address): Add "info
9747 break" tests.
9748
991ff292
PA
97492018-06-29 Pedro Alves <palves@redhat.com>
9750
9751 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9752 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9753 number and address and running to them.
9754
356819b6 97552018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9756
9757 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9758
2512d7ef
JK
97592018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9760
9761 * lib/compiler.c: Remove executable permission flag.
9762
be1b6474
RB
97632018-06-28 Richard Bunt <richard.bunt@arm.com>
9764
9765 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9766 code.
9767 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9768
291f9a96
PT
97692018-06-28 Petr Tesarik <ptesarik@suse.cz>
9770
9771 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9772
ed6dfe51
PT
97732018-06-28 Petr Tesarik <ptesarik@suse.cz>
9774
9775 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9776 address argument is omitted.
9777
d4d429d5
PT
97782018-06-28 Petr Tesarik <ptesarik@suse.cz>
9779
9780 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9781
7ab6656f
OJ
97822018-06-27 Omair Javaid <omair.javaid@linaro.org>
9783
9784 PR gdb/21695
9785 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9786 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9787
a33ccfc7
TT
97882018-06-26 Tom Tromey <tom@tromey.com>
9789
9790 PR rust/22574:
9791 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9792 * gdb.rust/simple.rs (struct SimpleLayout): New.
9793
6d72d289
SM
97942018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9795
9796 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9797 "info registers" output.
9798
8363f9d5
RB
97992018-06-21 Richard Bunt <richard.bunt@arm.com>
9800
9801 * gdb.base/watchpoint-hw-attach.c: New test.
9802 * gdb.base/watchpoint-hw-attach.exp: New file.
9803
f00674fe
SM
98042018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9805
9806 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9807 through /bin/sh.
9808 * boards/dwarf4-gdb-index.exp: Likewise.
9809 * boards/fission-dwp.exp: Likewise.
9810
1d554008
UW
98112018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9812
9813 * gdb.base/float128.exp: Add comment and improved fail message
9814 to the failure case of "print large128" test.
9815
d0ac1c44
SM
98162018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9817
9818 * configure.ac: Remove AC_PREREQ.
9819 * configure: Re-generate.
9820
61b04dd0
PA
98212018-06-19 Pedro Alves <palves@redhat.com>
9822
9823 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9824 (func_extern_caller): New.
9825 (main): Call func_extern_caller.
9826 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9827 logic change.
9828
f63b508a
SM
98292018-06-18 Weimin Pan <weimin.pan@oracle.com>
9830
9831 PR gdb/16841
9832 * gdb.cp/typedef-base.cc: New file.
9833 * gdb.cp/typedef-base.exp: New file.
9834
0fe3a558
TV
98352018-06-18 Tom de Vries <tdevries@suse.de>
9836
9837 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9838
7010835a
AB
98392018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9840 Richard Bunt <Richard.Bunt@arm.com>
9841
9842 * gdb.threads/attach-slow-waitpid.c: New file.
9843 * gdb.threads/attach-slow-waitpid.exp: New file.
9844 * gdb.threads/slow-waitpid.c: New file.
9845
14897d65
PA
98462018-06-14 Pedro Alves <palves@redhat.com>
9847
9848 * gdb.base/fork-running-state.c: Include <errno.h>.
9849 (exit_if_relative_exits): New.
9850 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9851 exits.
9852 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9853 child exits.
9854
5d9a0608
TV
98552018-06-14 Tom de Vries <tdevries@suse.de>
9856
9857 PR cli/22573
9858 * gdb.base/finish-pretty.c: New test.
9859 * gdb.base/finish-pretty.exp: New file.
9860
11ae5818
PA
98612018-06-14 Pedro Alves <palves@redhat.com>
9862
9863 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9864 gdb's expected startup output.
9865
1d39de44
PA
98662018-06-14 Pedro Alves <palves@redhat.com>
9867
9868 * lib/selftest-support.exp (selftest_setup): Remove inlined
9869 function handling.
9870
70ee0000
TV
98712018-06-14 Tom de Vries <tdevries@suse.de>
9872
9873 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9874 matching of breakpoint printing.
9875
11f4b608
TV
98762018-06-13 Tom de Vries <tdevries@suse.de>
9877
9878 PR testsuite/23269
9879 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9880 (fork_child): ... here, and ...
9881 (fork_parent): ... here.
9882
98832018-06-12 Tom de Vries <tdevries@suse.de>
9884
9885 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9886
9516f85a
AB
98872018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9888 Stephen Roberts <stephen.roberts@arm.com>
9889
9890 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9891 rewrite test to describe action performed, rather than possible
9892 failure.
9893
5045b3d7
GB
98942018-06-08 Gary Benson <gbenson@redhat.com>
9895
9896 * gdb.threads/check-libthread-db.exp: New file.
9897 * gdb.threads/check-libthread-db.c: Likewise.
9898
c61b06a1
TT
98992018-06-05 Tom Tromey <tom@tromey.com>
9900
9901 * gdb.base/default.exp: Update expected "show version" output.
9902
eb6af809
TT
99032018-06-05 Tom Tromey <tom@tromey.com>
9904
9905 PR cli/12326:
9906 * gdb.cp/static-print-quit.exp: Update.
9907 * lib/gdb.exp (pagination_prompt): Update.
9908 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9909 * gdb.python/python.exp: Update.
9910
178d6a63
JB
99112018-06-04 Joel Brobecker <brobecker@adacore.com>
9912
9913 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9914
8e817061
JB
99152018-06-01 Joel Brobecker <brobecker@adacore.com>
9916
9917 * gdb.ada/bp_fun_addr: New testcase.
9918
e86ca25f
TT
99192018-06-01 Tom Tromey <tom@tromey.com>
9920
9921 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9922 results.
9923 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9924 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9925 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9926 * gdb.base/maint.exp (maint_pass_if): Update.
9927
4b2dfa9d
MR
99282018-05-31 Maciej W. Rozycki <macro@mips.com>
9929
9930 * gdb.base/endian.exp: New test.
9931 * gdb.base/endian.c: New test source.
9932
45f25d6c
AB
99332018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9934
9935 PR gdb/23203
9936 * gdb.base/bt-selected-frame.c: New file.
9937 * gdb.base/bt-selected-frame.exp: New file.
9938 * lib/gdb.exp (get_current_frame_number): New function.
9939
d9f6d7f8
MR
99402018-05-24 Maciej W. Rozycki <macro@mips.com>
9941 Pedro Alves <palves@redhat.com>
9942
9943 * gdb.threads/tls-core.c: Include <stdlib.h>
9944 (thread_proc): Call `abort'.
9945 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9946 (tls_core_test): New procedure, bits factored out from ...
9947 (top level): ... here. Test both native cores and gcore cores.
9948
ff1cf532
TT
99492018-05-23 Tom Tromey <tom@tromey.com>
9950
9951 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9952
b98664d3
TT
99532018-05-23 Tom Tromey <tom@tromey.com>
9954
9955 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9956 symfile_complaints.
9957 (test_short_complaints): Likewise.
9958 (test_empty_complaints): Likewise.
9959 (test_initial_complaints): Update.
9960
4e9668d0
TT
99612018-05-23 Tom Tromey <tom@tromey.com>
9962
9963 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9964
43ba33c7
TT
99652018-05-23 Tom Tromey <tom@tromey.com>
9966
9967 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9968 (test_short_complaints): Update.
9969
035522c0
PA
99702018-05-22 Pedro Alves <palves@redhat.com>
9971
9972 * gdb.base/remote.exp: Only gdb_start after compiling the
9973 testcase. Issue "disconnect" before testing "set remote" command
9974 defaults. Issue clean_restart before running to main.
9975
cc0be08f
PA
99762018-05-22 Pedro Alves <palves@redhat.com>
9977
9978 * gdb.base/remote.exp: Adjust expected output of "show remote
9979 memory-write-packet-size". Add tests for "set remote
9980 memory-write-packet-size 0" and "set remote
9981 memory-write-packet-size fixed/limit".
9982
b1b60145
PA
99832018-05-22 Pedro Alves <palves@redhat.com>
9984
9985 PR gdb/22973
9986 * gdb.base/utf8-identifiers.c: New file.
9987 * gdb.base/utf8-identifiers.exp: New file.
9988
0ec848ad
PFC
99892018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9990
9991 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9992
2c3305f6
PFC
99932018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9994
9995 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9996
ce1e8424
TT
99972018-05-18 Tom Tromey <tom@tromey.com>
9998
9999 * gdb.base/ptype-offsets.exp: Update.
10000
ddfe970e
KS
100012018-05-17 Keith Seitz <keiths@redhat.com>
10002
10003 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10004 in expected breakpoint stop locations.
10005 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10006 move to proper scope to test variable values.
10007 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10008 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10009 New functions.
10010 (main): Call not_inline_func3.
10011 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10012 inline_func1, inline_func2, and inline_func3. Test that when each
10013 breakpoint is hit, GDB properly reports both the stop location
10014 and the backtrace. Repeat tests for temporary breakpoints.
10015
0726fcc6
MR
100162018-05-15 Maciej W. Rozycki <macro@mips.com>
10017
10018 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10019 rather then trying to access it in determining whether the PID
10020 of `gdbserver' could have been retrieved.
10021
8ee22052
AB
100222018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10023
10024 * gdb.arch/amd64-init-x87-values.S: New file.
10025 * gdb.arch/amd64-init-x87-values.exp: New file.
10026
7785df48
JK
100272018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10028
10029 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10030
56bcdbea
TT
100312018-05-04 Tom Tromey <tom@tromey.com>
10032
10033 PR python/22730:
10034 * gdb.python/python.exp: Test multi-line execute.
10035
a913fffb
TT
100362018-05-04 Tom Tromey <tom@tromey.com>
10037
10038 PR python/22731:
10039 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10040
7a2c85f2
TT
100412018-05-04 Tom Tromey <tom@tromey.com>
10042
10043 PR gdb/11750:
10044 * gdb.base/define.exp: Test defining a user command inside a user
10045 command.
10046 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10047
a3b60e45
JK
100482018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10049 Pedro Alves <palves@redhat.com>
10050
10051 PR breakpoints/19806 and support for PR external/20207.
10052 * gdb.base/watchpoint-unaligned.c: New file.
10053 * gdb.base/watchpoint-unaligned.exp: New file.
10054
45fe4a03
AB
100552018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10056
10057 * gdb.base/maint.exp: Make test names unique, use
10058 test_prefix_command_help to test 'help maint info', and remove
10059 repeated test of 'help maint'.
10060
9be2ae8f
TT
100612018-05-04 Tom Tromey <tom@tromey.com>
10062
10063 PR gdb/22619:
10064 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10065 behavior.
10066
11859c31
AB
100672018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10068
10069 * gdb.base/maint.exp: Process output from 'maint print registers'
10070 line at a time.
10071
089a9490
AB
100722018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10073
10074 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10075 timeout.
10076
9b0797e2
AB
100772018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10078
10079 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10080 filter pattern.
10081
f6ac5f3d
PA
100822018-05-02 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10085 to_log_command renames.
10086 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10087
77d3c63b
TT
100882018-05-02 Tom Tromey <tom@tromey.com>
10089
10090 * gdb.python/py-parameter.exp: Set test message.
10091
0489430a
TT
100922018-05-02 Tom Tromey <tom@tromey.com>
10093
10094 PR python/20084:
10095 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10096 PARAM_ZUINTEGER_UNLIMITED tests.
10097
1632f8ba
DR
100982018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10099
10100 PR rust/23124
10101 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10102 when casting.
10103
6d7bb824
TT
101042018-04-30 Tom Tromey <tom@tromey.com>
10105
10106 * gdb.python/py-type.exp: Check align attribute.
10107 * gdb.python/py-type.c: New "aligncheck" global.
10108
007e1530
TT
101092018-04-30 Tom Tromey <tom@tromey.com>
10110
10111 PR exp/17095:
10112 * gdb.dwarf2/dw2-align.exp: New file.
10113 * gdb.cp/align.exp: New file.
10114 * gdb.base/align.exp: New file.
10115 * lib/gdb.exp (gdb_int128_helper): New proc.
10116 (has_int128_c, has_int128_cxx): New caching procs.
10117
6873858b
TT
101182018-04-27 Tom Tromey <tom@tromey.com>
10119
10120 PR rust/22545:
10121 * gdb.rust/simple.exp: Add inclusive range tests.
10122
79188d8d
PA
101232018-04-26 Pedro Alves <palves@redhat.com>
10124
10125 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10126 ifunc breakpoint locations correctly of ifunc breakpoints set
10127 while the program resolves the ifunc.
10128
c7075ad5
PA
101292018-04-26 Pedro Alves <palves@redhat.com>
10130
10131 * gdb.base/gnu-ifunc-final.c: New file.
10132 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10133 * gdb.base/gnu-ifunc.exp (executable): Delete.
10134 (staticexecutable): Adjust.
10135 (lib_opts, exec_opts): Delete.
10136 (make_binsuffix, build, set-break): New procedures.
10137 (misc_tests): New, with tests factored out from the top level.
10138 (top level): Test different combinations of ifunc resolver name,
10139 resolver with and with debug info, and ifunc target with and
10140 without debug info. Wrap static tests with with_target_prefix.
10141
8388016d
PA
101422018-04-26 Pedro Alves <palves@redhat.com>
10143
10144 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10145 return type" warnings.
10146
249b5733
PA
101472018-04-25 Pedro Alves <palves@redhat.com>
10148
10149 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10150 killed".
10151 * gdb.base/kill-after-signal.exp: Likewise.
10152 * gdb.threads/kill.exp: Likewise.
10153
f67c0c91
SDJ
101542018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10155 Sergio Durigan Junior <sergiodj@redhat.com>
10156 Pedro Alves <palves@redhat.com>
10157
10158 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10159 regexps to expect for '[Inferior ... detached]' as well.
10160 * gdb.base/attach.exp: Likewise.
10161 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10162 "gdb_continue_to_end".
10163 (test_catch_syscall_with_wrong_args): Likewise.
10164 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10165 ']'. Don't set 'verbose' on.
10166 * gdb.base/foll-vfork.exp: Likewise.
10167 * gdb.base/fork-print-inferior-events.c: New file.
10168 * gdb.base/fork-print-inferior-events.exp: New file.
10169 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10170 '[Inferior ... has been killed]' message.
10171 * gdb.base/kill-after-signal.exp: Likewise.
10172 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10173 detach message.
10174 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10175 message.
10176 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10177 regexps to expect for '[Inferior ... detached]' as well.
10178 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10179
0a8ddac4
SM
101802018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10181
10182 PR gdb/23104
10183 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10184
701adfb0
PA
101852018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10186
10187 PR gdb/23095
10188 * gdb.base/break-probes.exp: Pass shlib_load to
10189 prepare_for_testing. Set normal_bp to r_debug_state if target is
10190 bsd.
10191
d27d16bf
RB
101922018-04-19 Richard Bunt <richard.bunt@arm.com>
10193
10194 * gdb.threads/multiple-successive-infcall.c: New test.
10195 * gdb.threads/multiple-successive-infcall.exp: New file.
10196
a037790e
TT
101972018-04-17 Tom Tromey <tom@tromey.com>
10198
10199 * gdb.rust/simple.rs (Union): New type.
10200 (main): New local "u".
10201 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10202
e3a91079
AA
102032018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10204
10205 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10206 number information in output of "whereis" command.
10207 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10208
b744723f
AA
102092018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10210
10211 * gdb.ada/info_types.exp: Adjust expected output to the line
10212 numbers now printed by "info var/func/type".
10213 * gdb.base/completion.exp: Likewise.
10214 * gdb.base/included.exp: Likewise.
10215 * gdb.cp/cp-relocate.exp: Likewise.
10216 * gdb.cp/cplusfuncs.exp: Likewise.
10217 * gdb.cp/namespace.exp: Likewise.
10218 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10219
4a4495d6
MM
102202018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10221
10222 * gdb.btrace/cpu.exp: New.
10223
1d509aa6
MM
102242018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10225
10226 * gdb.base/step-indirect-call-thunk.exp: New.
10227 * gdb.base/step-indirect-call-thunk.c: New.
10228 * gdb.reverse/step-indirect-call-thunk.exp: New.
10229 * gdb.reverse/step-indirect-call-thunk.c: New.
10230
6295b6da
SM
102312018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10232
10233 * gdb.base/pie-fork.c: New file.
10234 * gdb.base/pie-fork.exp: New file.
10235
50146e70
TT
102362018-04-11 Tom Tromey <tom@tromey.com>
10237
10238 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10239
f50d8a2e
PA
102402018-04-10 Pedro Alves <palves@redhat.com>
10241
10242 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10243 exits. Instead loop running forever.
10244 (fork_parent): Run forever too.
10245
a0be7a36
SM
102462018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10247
10248 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10249 mi_continue_to_line.
10250 * gdb.mi/mi-stack.c (callee4): Add comment.
10251
9b73db36
SM
102522018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10253
10254 * gdb.mi/mi-stack.exp: Fix indentation.
10255
c912f608
SM
102562018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10257
10258 PR gdb/22979
10259 * gdb.arch/amd64-osabi.exp: New file.
10260
26540402
SM
102612018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10262
10263 PR gdb/22980
10264 * gdb.base/osabi.exp: New file.
10265
121ad66c 102662018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10267
10268 * gdb.cp/static-typedef-print.exp: New file.
10269 * gdb.cp/static-typedef-print.cc: New file.
10270
3fcded8f
JB
102712018-03-27 Joel Brobecker <brobecker@adacore.com>
10272
10273 * gdb.ada/varsize_limit: New testcase.
10274
59cc4834
JB
102752018-03-27 Joel Brobecker <brobecker@adacore.com>
10276
10277 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10278
10279 * gdb.ada/notcplusplus: New testcase.
10280
10281 * gdb.base/c-linkage-name.c: New file.
10282 * gdb.base/c-linkage-name.exp: New testcase.
10283
4ca59a9f
TT
102842018-03-26 Tom Tromey <tom@tromey.com>
10285
10286 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10287 * gdb.python/py-framefilter.py (name_error): New global.
10288 (ErrorInName.function): Use name_error.
10289
978d6c75
TT
102902018-03-26 Tom Tromey <tom@tromey.com>
10291
10292 PR backtrace/15582:
10293 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10294
b7fee5a3
KS
102952018-03-23 Keith Seitz <keiths@redhat.com>
10296
10297 PR c++/22968
10298 * gdb.cp/subtypes.exp: New file.
10299 * gdb.cp/subtypes.h: New file.
10300 * gdb.cp/subtypes.cc: New file.
10301 * gdb.cp/subtypes-2.cc: New file.
10302
376be529
AB
103032018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10304
10305 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10306 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10307 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10308 -nostartfiles when compiling the test. Confirm that all registers
10309 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10310
066cfa98
AB
103112018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10312
10313 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10314 option, syntax was wrong anyway.
10315 * gdb.arch/arm-disp-step.exp: Likewise.
10316 * gdb.arch/sparc64-regs.exp: Likewise.
10317 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10318 option, syntax was wrong anyway, switch to use
10319 prepare_for_testing.
10320 * gdb.arch/i386-disp-step.exp: Likewise.
10321
079670b9
AA
103222018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10323
10324 * gdb.ada/exec_changed.exp: Replace "target_info exists
10325 use_gdb_stub" by "use_gdb_stub".
10326 * gdb.ada/start.exp: Likewise.
10327 * gdb.base/async-shell.exp: Likewise.
10328 * gdb.base/attach-pie-misread.exp: Likewise.
10329 * gdb.base/attach-wait-input.exp: Likewise.
10330 * gdb.base/break-entry.exp: Likewise.
10331 * gdb.base/break-interp.exp: Likewise.
10332 * gdb.base/dprintf-detach.exp: Likewise.
10333 * gdb.base/nostdlib.exp: Likewise.
10334 * gdb.base/solib-nodir.exp: Likewise.
10335 * gdb.base/statistics.exp: Likewise.
10336 * gdb.base/testenv.exp: Likewise.
10337 * gdb.mi/mi-exec-run.exp: Likewise.
10338 * gdb.mi/mi-start.exp: Likewise.
10339 * gdb.multi/dummy-frame-restore.exp: Likewise.
10340 * gdb.multi/multi-arch-exec.exp: Likewise.
10341 * gdb.multi/multi-arch.exp: Likewise.
10342 * gdb.multi/tids.exp: Likewise.
10343 * gdb.multi/watchpoint-multi.exp: Likewise.
10344 * gdb.python/py-events.exp: Likewise.
10345 * gdb.threads/attach-into-signal.exp: Likewise.
10346 * gdb.threads/attach-stopped.exp: Likewise.
10347 * gdb.threads/threadapply.exp: Likewise.
10348 * lib/selftest-support.exp: Likewise.
10349
26d6cec4
AA
103502018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10351
10352 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10353
4ee89e90
SR
103542018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10355
10356 * gdb.perf/template-breakpoints.cc: New file.
10357 * gdb.perf/template-breakpoints.exp: New file.
10358 * gdb.perf/template-breakpoints.py: New file.
10359
92630041
TT
103602018-03-19 Tom Tromey <tom@tromey.com>
10361
10362 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10363 y0.
10364 * gdb.rust/simple.exp: Test bare identifier form of struct
10365 initializer.
10366
76727919
TT
103672018-03-19 Tom Tromey <tom@tromey.com>
10368
10369 * gdb.gdb/observer.exp: Remove.
10370
194ed413
AA
103712018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10372
10373 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10374 "qualified" option when setting breakpoints.
10375 * gdb.trace/backtrace.exp: Likewise.
10376 * gdb.trace/circ.exp: Likewise.
10377 * gdb.trace/collection.exp: Likewise.
10378 * gdb.trace/disconnected-tracing.exp: Likewise.
10379 * gdb.trace/ftrace-lock.exp: Likewise.
10380 * gdb.trace/ftrace.exp: Likewise.
10381 * gdb.trace/infotrace.exp: Likewise.
10382 * gdb.trace/packetlen.exp: Likewise.
10383 * gdb.trace/passc-dyn.exp: Likewise.
10384 * gdb.trace/qtro.exp: Likewise.
10385 * gdb.trace/read-memory.exp: Likewise.
10386 * gdb.trace/report.exp: Likewise.
10387 * gdb.trace/signal.exp: Likewise.
10388 * gdb.trace/status-stop.exp: Likewise.
10389 * gdb.trace/strace.exp: Likewise.
10390 * gdb.trace/tfind.exp: Likewise.
10391 * gdb.trace/trace-break.exp: Likewise.
10392 * gdb.trace/trace-condition.exp: Likewise.
10393 * gdb.trace/trace-mt.exp: Likewise.
10394 * gdb.trace/tstatus.exp: Likewise.
10395 * gdb.trace/tsv.exp: Likewise.
10396 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10397 * gdb.trace/unavailable.exp: Likewise.
10398 * gdb.trace/while-dyn.exp: Likewise.
10399
8b067d2c
AA
104002018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10401
10402 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10403 that libinproctrace is copied to the target.
10404
3ae9ce5d
TT
104052018-03-14 Tom Tromey <tom@tromey.com>
10406
10407 PR cli/14977:
10408 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10409 a null pointer.
10410 * gdb.base/wchar.exp: Likewise.
10411
b8c2339b
TT
104122018-03-14 Tom Tromey <tom@tromey.com>
10413
10414 PR cli/19918:
10415 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10416 flag.
10417
4872dc46
SM
104182018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10419
10420 PR gdb/22841
10421 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10422 "target" to remote_exec.
10423
e4fe3756
SM
104242018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10425
10426 PR gdb/22841
10427 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10428 ${board}_upload): Remove.
10429
e95a97d4
AA
104302018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10431
10432 * gdb.cp/watch-cp.cc: New test.
10433 * gdb.cp/watch-cp.exp: New file.
10434
dbbb1059
AB
104352018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10436
10437 * gdb.base/infcall-nested-structs.exp: New file.
10438 * gdb.base/infcall-nested-structs.c: New file.
10439 * gdb.base/float.exp: Add riscv support.
10440
ecc054c0
TP
104412018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10442
10443 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10444 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10445
25e3c82c
SDJ
104462018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10447
10448 * gdb.server/abspath.exp: New file.
10449 * lib/gdb.exp (with_cwd): New procedure.
10450
3083294d
SM
104512018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10452
10453 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10454 use it.
10455 (gdb_is_target_remote_prompt): New proc.
10456 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10457 (gdb_is_target_native): Pass prompt parameter to
10458 gdb_is_target_1.
10459
3275ef47
SM
104602018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10461
10462 * gdb.base/load-command.c: New file.
10463 * gdb.base/load-command.exp: New file.
10464 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10465 (gdb_is_target_1): ...this, and generalize for other targets
10466 than just remote.
10467 (gdb_is_target_remote): Use gdb_is_target_1.
10468 (gdb_is_target_native): use gdb_is_target_1.
10469
6893c19a
TT
104702018-02-26 Tom Tromey <tom@tromey.com>
10471
10472 PR python/16497:
10473 * gdb.python/py-framefilter.exp: Update test.
10474
2ddeaf8a
TT
104752018-02-26 Tom Tromey <tom@tromey.com>
10476
10477 * gdb.dwarf2/variant.c: New file.
10478 * gdb.dwarf2/variant.exp: New file.
10479
c9317f21
TT
104802018-02-26 Tom Tromey <tom@tromey.com>
10481
10482 * gdb.rust/simple.exp: Accept more possible results in enum test.
10483
6f6d0c26
SM
104842018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10485
10486 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10487 parentheses.
10488
11b03145
MR
104892018-02-23 Maciej W. Rozycki <macro@mips.com>
10490
10491 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10492 name of a variable: $actual_linejj -> $actual_line.
10493
54a27fe5
JB
104942018-02-21 John Baldwin <jhb@FreeBSD.org>
10495
10496 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10497
de65820c
MM
104982018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10499
10500 * gdb.btrace/buffer-size.exp: Do not force BTS.
10501
980548fd
PA
105022018-02-14 Pedro Alves <palves@redhat.com>
10503
10504 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10505 getting a "Quit".
10506
c4e12631
MM
105072018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10508
10509 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10510 Fix test name.
10511
c2e0e465
SM
105122018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10513
10514 * gdb.cp/m-static.exp: Check type of optimized out static
10515 member.
10516
f7216783
AB
105172018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10518
10519 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10520 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10521
0625771b
LS
105222018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10523 Leszek Swirski <leszeks@google.com>
10524
10525 * gdb.python/py-prettyprint.c
10526 (struct to_string_returns_value_inner,
10527 struct to_string_returns_value_wrapper): New.
10528 (main): Add tsrvw variable.
10529 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10530 ToStringReturnsValueWrapper): New classes.
10531 (register_pretty_printers): Register new pretty-printers.
10532 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10533 recursive pretty printer.
10534 * gdb.python/py-mi.exp: Likewise.
10535
59498c30
LS
105362018-02-01 Leszek Swirski <leszeks@google.com>
10537
10538 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10539 functions with the same name as an include file are parsed
10540 correctly.
10541
d4d38844
YQ
105422018-02-01 Yao Qi <yao.qi@linaro.org>
10543
10544 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10545 "\[^\r\n\]*".
10546
07e5f5cf
NP
105472018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10548
10549 * gdb.arch/powerpc-prologue-frame.s: New file.
10550 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10551 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10552
929b5ad4
JB
105532018-01-31 Joel Brobecker <brobecker@adacore.com>
10554
10555 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10556
e671cd59
PA
105572018-01-30 Pedro Alves <palves@redhat.com>
10558
10559 PR gdb/13211
10560 * gdb.base/interrupt-daemon.c: New.
10561 * gdb.base/interrupt-daemon.exp: New.
10562 * gdb.multi/multi-term-settings.c: New.
10563 * gdb.multi/multi-term-settings.exp: New.
10564
fc413dc4
JB
105652018-01-30 Joel Brobecker <brobecker@adacore.com>
10566
10567 * gdb.base/break.exp: Save the location where the breakpoint
10568 on break.c:47 was actually inserted when debugging the version
10569 compiled at -O2 and use it in the expected output of the "info
10570 break" test performed soon after.
10571
5c319bb2
PA
105722018-01-22 Pedro Alves <palves@redhat.com>
10573 Sergio Durigan Junior <sergiodj@redhat.com>
10574
10575 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10576 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10577
a9e40818
JB
105782018-01-22 Joel Brobecker <brobecker@adacore.com>
10579
10580 * gdb.base/break-include.c, gdb.base/break-include.inc,
10581 gdb.base/break-include.exp: New files.
10582 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10583 line number now being the actual line number where the breakpoint
10584 was inserted.
10585 * gdb.mi/mi-break.exp: Likewise.
10586 * gdb.mi/mi-reverse.exp: Likewise.
10587 * gdb.mi/mi-simplerun.exp: Ditto.
10588
e707fc44
AB
105892018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10590
10591 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10592 varobj.
10593 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10594
ae451627
AB
105952018-01-21 Don Breazeal <donb@codesourcery.com>
10596 Andrew Burgess <andrew.burgess@embecosm.com>
10597
10598 * gdb.mi/basics.c: Add new global.
10599 * gdb.mi/mi-frame-regs.exp: New file.
10600 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10601 case.
10602
b1b189e0
AB
106032018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10604
10605 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10606 non-parameter, and on an unknown symbol.
10607
fcfcc376
TT
106082018-01-19 Tom Tromey <tom@tromey.com>
10609
10610 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10611 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10612
634c1c31
AA
106132018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10614
10615 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10616 setrlimit and chdir to int.
10617
d6ad07fd
AA
106182018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10619
10620 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10621 function.
10622 (my_tend): Likewise.
10623 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10624 rationale of avoiding FP- and vector instructions.
10625
adf8243b
RK
106262018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10627
10628 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10629 "info reg" with "\[ \t\]*".
10630 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10631 "\[ \t\]+".
10632 * gdb.arch/s390-multiarch.exp: Ditto.
10633 * gdb.base/pc-fp.exp: Ditto.
10634 * gdb.reverse/i386-precsave.exp: Ditto.
10635 * gdb.reverse/i386-reverse.exp: Ditto.
10636 * gdb.reverse/i387-env-reverse.exp: Ditto.
10637 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10638
dcc06925
AA
106392018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10640
10641 * lib/gdb.exp (gdb_compile): Re-enable use of
10642 universal_compile_options for languages other than Rust.
10643
25d4fd80
AA
106442018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10645
10646 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10647
ee7f689e 106482018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10649
10650 PR gdb/16577
10651 * gdb.base/solib-vanish.exp: New.
10652 * gdb.base/solib-vanish-main.c: New.
10653 * gdb.base/solib-vanish-lib1.c: New.
10654 * gdb.base/solib-vanish-lib2.c: New.
10655
d8447b6b
YQ
106562018-01-17 Yao Qi <yao.qi@linaro.org>
10657
10658 * gdb.compile/compile.exp: Match the address printed for
10659 frame in the output of command "bt".
10660
86d6a90c
TT
106612018-01-15 Tom Tromey <tom@tromey.com>
10662
10663 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10664 compute sp_reg.
10665
cbcdb1aa
AB
106662018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10667
10668 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10669 to prepare.
10670 (prepare): Return 0 on error, 1 on success.
10671
eea61984
PA
106722018-01-12 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.base/continue-after-aborted-step-over.c: New.
10675 * gdb.base/continue-after-aborted-step-over.exp: New.
10676
6181e9c2
SM
106772018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10678
10679 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10680 options when not creating an executable.
10681
3cada740
PA
106822018-01-11 Pedro Alves <palves@redhat.com>
10683
10684 PR remote/22597
10685 * gdb.server/stop-reply-no-thread.c: New file.
10686 * gdb.server/stop-reply-no-thread.exp: New file.
10687
c63d3e8d
PA
106882018-01-10 Pedro Alves <palves@redhat.com>
10689
10690 PR gdb/22670
10691 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10692 functions too. Test setting breakpoints and printing C functions
10693 with no debug info too.
10694 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10695
d4c2a405
PA
106962018-01-10 Pedro Alves <palves@redhat.com>
10697
10698 PR gdb/22670
10699 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10700 a fail.
10701
8825213e
PA
107022018-01-10 Pedro Alves <palves@redhat.com>
10703
10704 PR gdb/22670
10705 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10706
605fd3c6
YQ
107072018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10708
10709 * gdb.server/unittest.exp: Match the output in non-development
10710 mode.
10711
1e5ded6c
YQ
107122018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10713
10714 * gdb.gdb/unittest.exp: Match output in non-development mode.
10715
30066b0b
JB
107162018-01-08 Joel Brobecker <brobecker@adacore.com>
10717
10718 * gdb.ada/access_tagged_param.exp: Relax expected output
10719 for value of "ObjL" in "continue" to pck.inspect breakpoint
10720 test.
10721
04bafb1e
XR
107222018-01-08 Joel Brobecker <brobecker@adacore.com>
10723
9f86398b
JB
10724 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10725 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10726
e379cee6
PA
107272018-01-05 Pedro Alves <palves@redhat.com>
10728
10729 PR gdb/18653
10730 * gdb.base/libsegfault.exp: New.
10731
de63c46b
PA
107322018-01-05 Joel Brobecker <brobecker@adacore.com>
10733
10734 PR gdb/22670
10735 * gdb.ada/access_tagged_param.exp: New file.
10736 * gdb.ada/access_tagged_param/foo.adb: New file.
10737
f98fc17b
PA
107382018-01-05 Pedro Alves <palves@redhat.com>
10739
10740 PR gdb/22670
10741 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10742 exercise lower case too, and to exercise both full matching and
10743 wild matching.
10744
342f8240
JB
107452018-01-05 Joel Brobecker <brobecker@adacore.com>
10746
10747 * gdb.ada/rename_subscript_param: New testcase.
10748
7150d33c
JG
107492018-01-05 Jerome Guitton <guitton@adacore.com>
10750
10751 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10752
cc0e770c
JB
107532018-01-05 Joel Brobecker <brobecker@adacore.com>
10754
10755 * gdb.ada/convvar_comp: New testcase.
10756
672a41aa 107572018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10758
10759 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10760 (My_Table): New global variable.
10761 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10762
7365ec2f
JB
107632018-01-04 Joel Brobecker <brobecker@adacore.com>
10764
10765 PR gdb/22670
10766 * gdb.ada/maint_with_ada: New testcase.
10767
289483b6
JB
107682018-01-04 Joel Brobecker <brobecker@adacore.com>
10769
10770 PR gdb/22670
10771 * gdb.ada/bp_c_mixed_case: New testcase.
10772
344420da
JB
107732018-01-04 Joel Brobecker <brobecker@adacore.com>
10774
10775 PR gdb/22670
10776 * gdb.ada/complete.exp: Add "complete break ada" test.
10777
66fc87a0
JB
107782018-01-04 Joel Brobecker <brobecker@adacore.com>
10779
10780 PR gdb/22670
10781 * gdb.ada/info_addr_mixed_case: New testcase.
10782
9f757bf7
XR
107832018-01-03 Xavier Roirand <roirand@adacore.com>
10784
10785 * gdb.ada/excep_handle.exp: New testcase.
10786 * gdb.ada/excep_handle/foo.adb: New file.
10787 * gdb.ada/excep_handle/pck.ads: New file.
10788
bd570f80
JB
107892018-01-03 Joel Brobecker <brobecker@adacore.com>
10790
10791 * gdb.base/step-line.c: Add extra empty line in copyright header.
10792 * gdb.base/step-line.inp: Likewise.
10793
9fe561ab
JB
107942018-01-02 Joel Brobecker <brobecker@adacore.com>
10795
10796 * gdb.ada/dyn_stride.exp: Add slice test.
10797
a405673c
JB
107982018-01-02 Joel Brobecker <brobecker@adacore.com>
10799
10800 * gdb.ada/dyn_stride: New testcase.
10801
cef0f868
SH
108022017-12-27 Stafford Horne <shorne@gmail.com>
10803
10804 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10805 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10806
b67d92b0
SH
108072017-12-27 Stafford Horne <shorne@gmail.com>
10808
10809 * gdb.base/reggroups.c: New file.
10810 * gdb.base/reggroups.exp: New file.
10811
eccab96d
JB
108122017-12-18 Joel Brobecker <brobecker@adacore.com>
10813
10814 * gdb.dwarf2/ada-valprint-error.c: New file.
10815 * gdb.dwarf2/ada-valprint-error.exp: New file.
10816
0e2da9f0
JB
108172017-12-18 Joel Brobecker <brobecker@adacore.com>
10818
10819 * gdb.ada/assign_arr: New testcase.
10820
cb923fcc
XR
108212017-12-18 Xavier Roirand <roirand@adacore.com>
10822
10823 * gdb.ada/funcall_ptr: New testcase.
10824
7c161838
SDJ
108252017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10826
10827 PR cli/16224
10828 * gdb.base/ptype-offsets.cc: New file.
10829 * gdb.base/ptype-offsets.exp: New file.
10830
1af17fd9
YQ
108312017-12-15 Yao Qi <yao.qi@linaro.org>
10832
10833 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10834 if XML is disabled.
10835
828d5846
XR
108362017-12-15 Xavier Roirand <roirand@adacore.com>
10837
10838 * gdb.ada/same_component_name: New testcase.
10839
79e8fcaa
JB
108402017-12-14 Joel Brobecker <brobecker@adacore.com>
10841
10842 * gdb.ada/str_binop_equal: New testcase.
10843
e05fa6f9
JB
108442017-12-14 Joel Brobecker <brobecker@adacore.com>
10845
10846 * gdb.ada/task_switch_in_core: New testcase.
10847
b89641ba
SM
108482017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10849
10850 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10851 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10852 call test_bkpt_qualified.
10853 (test_bkpt_qualified): New proc.
10854
6892d2e4
PA
108552017-12-13 Pedro Alves <palves@redhat.com>
10856
10857 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10858 Tighten regexp by matching with an anchor.
10859
a22ecf70
PA
108602017-12-13 Pedro Alves <palves@redhat.com>
10861
10862 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10863 ("expression with namespace"): New set of tests.
10864 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10865 (Nested::Test_NS::qux): New.
10866 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10867 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10868
9937536c
JB
108692017-12-13 Joel Brobecker <brobecker@adacore.com>
10870
10871 * gdb.base/server-del-break.c: New file.
10872 * gdb.base/server-del-break.exp: New file.
10873
fe49c6f5
SH
108742017-12-12 Stafford Horne <shorne@gmail.com>
10875
10876 * gdb.xml/tdesc-regs.exp: Add or1k support.
10877
c3d18620
SH
108782017-12-12 Stafford Horne <shorne@gmail.com>
10879
10880 * gdb.base/bp-permanent.c: Define nop of or1k.
10881
c5f9cfc8
JB
108822017-12-11 Joel Brobecker <brobecker@adacore.com>
10883
10884 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10885 output with components being reordered.
10886
a9c135fc
JB
108872017-12-11 Joel Brobecker <brobecker@adacore.com>
10888
10889 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10890 output with components being reordered.
10891
927aa2e7
JK
108922017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10893 Pedro Alves <palves@redhat.com>
10894
10895 * gdb.base/maint.exp (check for .gdb_index): Check also for
10896 .debug_names.
10897 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10898 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10899 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10900 (.gdb_index used after symbol reloading): Support also .debug_names.
10901 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10902
f17d9474
YQ
109032017-12-08 Yao Qi <yao.qi@linaro.org>
10904
10905 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10906 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10907
a0de8c21
YQ
109082017-12-08 Yao Qi <yao.qi@linaro.org>
10909
10910 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10911 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10912
a738ea1d
YQ
109132017-12-08 Yao Qi <yao.qi@linaro.org>
10914
10915 * gdb.arch/aarch64-tagged-pointer.c: New file.
10916 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10917
1cd9a73b
SDJ
109182017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10919
10920 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10921 "int".
10922
fa6eb693
KS
109232017-12-07 Keith Seitz <keiths@redhat.com>
10924
10925 PR breakpoints/22569
10926 * gdb.linespec/ls-errs.exp: Change expected result of "break
10927 -source this file has spaces.c -line 3".
10928 Check that an explicit source file followed by whitespace is
10929 identified as an invalid explicit location.
10930
883fd55a
KS
109312017-12-07 Keith Seitz <keiths@redhat.com>
10932
10933 * gdb.cp/nested-types.cc: New file.
10934 * gdb.cp/nested-types.exp: New file.
10935 * lib/cp-support.exp: Load data-structures.exp library.
10936 (debug_cp_test_ptype_class): New global.
10937 (cp_ptype_class_verbose, next_line): New procedures.
10938 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10939 Add and document new return value.
10940 Switch the list of lines to a queue.
10941 Add support for new `type' key for nested type definitions.
10942 Add debugging/troubleshooting messages.
10943 * lib/data-structures.exp: New file.
10944
ec72db3e
SM
109452017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10946
10947 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10948 with proc_with_prefix, don't use with_test_prefix.
10949
99598d71
TT
109502017-12-07 Tom Tromey <tom@tromey.com>
10951
10952 * gdb.base/break.exp: Add test for empty "commands".
10953
a8806230
YQ
109542017-12-07 Yao Qi <yao.qi@linaro.org>
10955
10956 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10957 malloc and catch syscall.
10958
824cc835
PM
109592017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10960
e79be6e5 10961 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10962 tests for explicit locations.
10963
7cc244de
PA
109642017-12-06 Pedro Alves <palves@redhat.com>
10965
10966 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10967 force-disabling XML descriptions.
10968
50a1fdd5
PA
109692017-12-04 Pedro Alves <palves@redhat.com>
10970
10971 PR gdb/22499
10972 * gdb.arch/amd64-disp-step-avx.S: New file.
10973 * gdb.arch/amd64-disp-step-avx.exp: New file.
10974
f0fb2488
PA
109752017-12-03 Pedro Alves <palves@redhat.com>
10976
10977 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10978 and <string.h>.
10979 (parent_function): Print distinct messages when waitpid fails, or
10980 the child exits with a signal, or the child exits for an unhandled
10981 reason.
10982 * gdb.threads/process-dies-while-detaching.exp
10983 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10984 it. Wait for both inferior output and GDB's prompt. Use an
10985 indirect spawn id list.
10986 (do_detach): New parameter 'child_exit'. Use it to compute
10987 expected inferior output.
10988 (test_detach, test_detach_watch, test_detach_killed_outside):
10989 Adjust to pass down the expected child exit kind.
10990
97cbe998
SDJ
109912017-12-01 Joel Brobecker <brobecker@adacore.com>
10992 Sergio Durigan Junior <sergiodj@redhat.com>
10993 Pedro Alves <palves@redhat.com>
10994
10995 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10996
40fc416f
SDJ
109972017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10998
10999 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11000 to 'symbol-file' and 'add-symbol-file' can be
11001 position-independent.
11002
1cc75e92
YQ
110032017-12-01 Yao Qi <yao.qi@linaro.org>
11004
11005 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11006 the URL in copyright header.
11007 * gdb.arch/aarch64-fp.exp: Likewise.
11008 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11009 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11010 * gdb.base/expand-psymtabs.exp: Likewise.
11011 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11012 * gdb.fortran/common-block.exp: Likewise.
11013 * gdb.fortran/common-block.f90: Likewise.
11014 * gdb.fortran/logical.exp: Likewise.
11015 * gdb.fortran/vla-datatypes.f90: Likewise.
11016 * gdb.fortran/vla-sub.f90: Likewise.
11017
875fb7a7
JB
110182017-11-30 Joel Brobecker <brobecker@adacore.com>
11019
11020 * gdb.ada/repeat_dyn: New testcase.
11021
6f14765f
UW
110222017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11023
11024 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11025 Update for changed thread numbering.
11026 * gdb.cell/bt.exp: Update for changed GDB output.
11027
f1af7b94
SM
110282017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11029
11030 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11031 setting isremote by hand.
11032 * boards/dwarf4-gdb-index.exp: Likewise.
11033 * boards/fission.exp: Likewise.
11034 * boards/stabs.exp: Likewise.
11035
e3919f3e
PA
110362017-11-30 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.linespec/cpls-ops.exp
11039 (check_explicit_skips_function_argument): Extract the underlying
11040 type of size_t instead of hardcoding it.
11041
bd69330d
PA
110422017-11-29 Pedro Alves <palves@redhat.com>
11043
11044 PR c++/19436
11045 * gdb.linespec/cpls-abi-tag.cc: New file.
11046 * gdb.linespec/cpls-abi-tag.exp: New file.
11047
a20714ff
PA
110482017-11-29 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.base/langs.exp: Use -qualified.
11051 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11052 it.
11053 * gdb.cp/namespace.exp: Use -qualified.
11054 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11055 (overload-3, template-overload, template-ret-type, const-overload)
11056 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11057 procedures.
11058 (test_driver): Call them.
11059 * gdb.cp/save-bp-qualified.cc: New.
11060 * gdb.cp/save-bp-qualified.exp: New.
11061 * gdb.linespec/explicit.exp: Test -qualified.
11062 * lib/completion-support.exp (completion::explicit_opts_list): Add
11063 "-qualified".
11064 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11065
f6f1d339
PM
110662017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11067
11068 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11069
02ca603a
TT
110702017-11-29 Tom Tromey <tom@tromey.com>
11071
11072 * gdb.base/relocate.exp: Update invalid argument test.
11073 Add new tests for invalid arguments.
11074
ed6c0bfb
TP
110752017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11076
11077 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11078 Return 0 as a long.
11079 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11080
f106e10e
TP
110812017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11082
11083 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11084 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11085 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11086 func ().
11087 * gdb.cp/shadow.cc (B.func): Return 0.
11088
10329bb2
JB
110892017-11-27 Joel Brobecker <brobecker@adacore.com>
11090
11091 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11092 expected output in gdb_expect call to allow the exception
11093 message to be present as well. Fix syntax confusion to avoid
11094 TCL thinking that exception_name is an array.
11095
617cd4bc
UW
110962017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11097
11098 * gdb.arch/spu-info.c: Include <unistd.h>.
11099 (do_signal_test): Fix broken calls to write.
11100 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11101 Fix checks for empty mailboxes. Update signal tests for corrected
11102 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11103 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11104 * gdb.cell/arch.exp: Use standard_output_file.
11105 * gdb.cell/break.exp: Likewise.
11106 * gdb.cell/bt.exp: Likewise.
11107 * gdb.cell/core.exp: Likewise.
11108 * gdb.cell/dwarfaddr.exp: Likewise.
11109 * gdb.cell/ea-cache.exp: Likewise.
11110 * gdb.cell/ea-standalone.exp: Likewise.
11111 * gdb.cell/f-regs.exp: Likewise.
11112 * gdb.cell/fork.exp: Likewise.
11113 * gdb.cell/gcore.exp: Likewise.
11114 * gdb.cell/mem-access.exp: Likewise.
11115 * gdb.cell/ptype.exp: Likewise.
11116 * gdb.cell/registers.exp: Likewise.
11117 * gdb.cell/sizeof.exp: Likewise.
11118 * gdb.cell/solib-symbol.exp: Likewise.
11119 * gdb.cell/solib.exp: Likewise.
617cd4bc 11120
a81aaca0
PA
111212017-11-25 Pedro Alves <palves@redhat.com>
11122
11123 * gdb.base/complete-empty.exp: New file.
11124 * gdb.base/completion.exp: Adjust.
11125
6a3c6ee4
PA
111262017-11-25 Pedro Alves <palves@redhat.com>
11127
11128 * gdb.linespec/cpls-ops.cc: New file.
11129 * gdb.linespec/cpls-ops.exp: New file.
11130 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11131 factored out from ...
11132 (test_complete_prefix_range): ... this.
11133
8955eb2d
PA
111342017-11-24 Pedro Alves <palves@redhat.com>
11135
11136 * gdb.linespec/cpcompletion.exp: New file.
11137 * gdb.linespec/cpls-hyphen.cc: New file.
11138 * gdb.linespec/cpls.cc: New file.
11139 * gdb.linespec/cpls2.cc: New file.
11140 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11141 test to use test_gdb_complete_unique. Add label completion,
11142 keyword completion and explicit location completion tests.
11143 * lib/completion-support.exp: New file.
11144
e547c119
JB
111452017-11-24 Joel Brobecker <brobecker@adacore.com>
11146
11147 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11148 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11149 when hitting an exception catchpoint.
11150
7c3c1aa8
YQ
111512017-11-22 Yao Qi <yao.qi@linaro.org>
11152
11153 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11154
41bd68f5
SM
111552017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11156
11157 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11158 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11159 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11160
1daad298
YQ
111612017-11-22 Yao Qi <yao.qi@linaro.org>
11162
11163 * gdb.base/info-os.exp: Pass pthreads.
11164 * gdb.multi/multi-attach.exp: Likewise.
11165
88465e87
YQ
111662017-11-22 Yao Qi <yao.qi@linaro.org>
11167
11168 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11169 compiler.
11170
dc196b23
YQ
111712017-11-22 Yao Qi <yao.qi@linaro.org>
11172
11173 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11174 * gdb.base/break-interp.exp: Likewise.
11175 * gdb.base/jit-attach-pie.exp: Likewise.
11176
2400729e
UW
111772017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11178
11179 * gdb.base/float128.c (large128): New variable.
11180 * gdb.base/float128.exp: Add test to print largest __float128 value.
11181
7a26362d
UW
111822017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11183
11184 * gdb.arch/vsx-regs.exp: Update register content checks.
11185
ed0f4273
UW
111862017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11187
11188 * gdb.arch/ppc-longdouble.exp: New file.
11189 * gdb.arch/ppc-longdouble.c: Likewise.
11190
a25d69c6
PA
111912017-11-21 Pedro Alves <palves@redhat.com>
11192
11193 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11194
73fcf641
PA
111952017-11-20 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11198 (long_double_typedef): New typedefs.
11199 Use DEF on double and long double.
11200 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11201 cases.
11202 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11203 and 'long_double_ptr_same_size' locals. Use them to decide
11204 whether cast from array/function to float is valid/invalid.
11205
71a3c369
TT
112062017-11-17 Tom Tromey <tom@tromey.com>
11207
11208 * gdb.rust/traits.rs: New file.
11209 * gdb.rust/traits.exp: New file.
11210
ced9779b
JB
112112017-11-17 Joel Brobecker <brobecker@adacore.com>
11212
11213 * gdb.ada/minsyms: New testcase.
11214
a0922d80
PA
112152017-11-16 Pedro Alves <palves@redhat.com>
11216
11217 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11218 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11219
ea04e54c
PA
112202017-11-16 Pedro Alves <palves@redhat.com>
11221
11222 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11223 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11224
e849ea89
PA
112252017-11-16 Pedro Alves <palves@redhat.com>
11226
11227 * gdb.server/reconnect-ctrl-c.c: New file.
11228 * gdb.server/reconnect-ctrl-c.exp: New file.
11229
d8ae99a7
PM
112302017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11231
11232 * gdb.python/py-rbreak.exp: New file.
11233 * gdb.python/py-rbreak.c: New file.
11234 * gdb.python/py-rbreak-func2.c: New file.
11235
968a13f8
PA
112362017-11-16 Pedro Alves <palves@redhat.com>
11237
11238 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11239 pattern.
11240 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11241 GDB.
11242
71774bc9
SM
112432017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11244
11245 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11246 regex.
11247
ddbb44cf
SM
112482017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11249
11250 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11251 test names.
11252
584a564f
PA
112532017-11-09 Pedro Alves <palves@redhat.com>
11254
11255 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11256 factored out from ...
11257 (top level): ... here, and adjusted to avoid expecting beyond the
11258 prompt in a single gdb_test_multiple.
11259
5ed7a928
PA
112602017-11-09 Pedro Alves <palves@redhat.com>
11261
11262 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11263 output.
11264 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11265 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11266 * gdb.server/ext-run.exp ("kill" test): Likewise.
11267 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11268
a60e0738
PA
112692017-11-09 Pedro Alves <palves@redhat.com>
11270
11271 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11272 match till end of line.
11273
2c88253f
PA
112742017-11-09 Pedro Alves <palves@redhat.com>
11275
11276 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11277
c7a38517
PA
112782017-11-09 Pedro Alves <palves@redhat.com>
11279
11280 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11281 New procedures, factored out from ...
11282 (top level): ... here, and adjusted to avoid expecting beyond the
11283 prompt in one go.
11284
f29f4b6b
PA
112852017-11-09 Pedro Alves <palves@redhat.com>
11286
11287 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11288 output. Fix '?' match.
11289
286acbb5
JB
112902017-11-08 Joel Brobecker <brobecker@adacore.com>
11291
11292 * gdb.ada/scoped_watch: New testcase.
11293 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11294 which is actually correct.
11295 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11296 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11297
62d7ae92
PA
112982017-11-08 Pedro Alves <palves@redhat.com>
11299
11300 * gdb.gdb/complaints.exp (test_initial_complaints)
11301 (test_serial_complaints, test_short_complaints): Call
11302 complaint_internal instead of complaint.
11303
280ca31f
DT
113042017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11305
11306 * gdb.threads/tls-core.c: New file.
11307 * gdb.threads/tls-core.exp: Likewise.
11308
b5ec771e
PA
113092017-11-08 Pedro Alves <palves@redhat.com>
11310
11311 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11312 (p Exported_Capitalized): New test.
11313 (p exported_capitalized): New test.
11314
a02b41a7
PA
113152017-11-07 Pedro Alves <palves@redhat.com>
11316
11317 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11318
95e95a6d
PA
113192017-11-07 Pedro Alves <palves@redhat.com>
11320
11321 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11322 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11323 (disable_invalid, disable_inverted, disable_negative): New
11324 procedures.
11325 ("bad numbers"): New set of tests.
11326
cee62dbd
PA
113272017-11-07 Pedro Alves <palves@redhat.com>
11328
11329 * gdb.cp/ena-dis-br-range.exp: Add tests.
11330
cc638e86
PA
113312017-11-07 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11334
d0fe4701
XR
113352017-11-07 Xavier Roirand <roirand@adacore.com>
11336 Pedro Alves <palves@redhat.com>
11337
11338 * gdb.base/ena-dis-br.exp: Add reference to
11339 gdb.cp/ena-dis-br-range.exp.
11340 * gdb.cp/ena-dis-br-range.exp: New file.
11341 * gdb.cp/ena-dis-br-range.cc: New file.
11342
46f67f80
PA
113432017-11-06 Pedro Alves <palves@redhat.com>
11344
11345 * gdb.base/attach-non-pgrp-leader.c: New.
11346 * gdb.base/attach-non-pgrp-leader.exp: New.
11347
726e1356
PA
113482017-11-06 Pedro Alves <palves@redhat.com>
11349
11350 * configure.ac: No longer check for termio.h and sgtty.h.
11351 * configure: Regenerate.
11352 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11353 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11354 Remove termio and sgtty code.
11355
50ab6ace
YQ
113562017-11-03 Yao Qi <yao.qi@linaro.org>
11357
11358 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11359 in GDB is disabled.
11360
8e68731c
YQ
113612017-11-03 Yao Qi <yao.qi@linaro.org>
11362
11363 * gdb.python/py-thrhandle.exp: Skip it if python is not
11364 enabled.
11365
3a87ae65
SM
113662017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11367
11368 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11369 as a breakpoint command.
11370
484d8d36
MD
113712017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11372
11373 PR python/21213
11374 * gdb.python/py-infthread.exp: Test calling
11375 InferiorThread.inferior () multiple times in a row.
11376
4a27f119
KS
113772017-10-27 Keith Seitz <keiths@redhat.com>
11378
11379 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11380 Test "info break" for every inlined function breakpoint.
11381
bb11dd58
YQ
113822017-10-27 Yao Qi <yao.qi@linaro.org>
11383
11384 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11385
a43f3893
PF
113862017-10-26 Patrick Frants <osscontribute@gmail.com>
11387
11388 * gdb.cp/classes.exp (test_static_members): Test printing
11389 Outer::instance.
11390 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11391 (Inner::instance, Outer::instance): New.
11392
792ccf00
PA
113932017-10-24 Pedro Alves <palves@redhat.com>
11394
11395 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11396 extra console" test in two stages.
11397
eb2bfbad
PA
113982017-10-24 Pedro Alves <palves@redhat.com>
11399
11400 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11401
1f75a651
PA
114022017-10-24 Pedro Alves <palves@redhat.com>
11403
11404 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11405 loop.
11406
779990d9
PA
114072017-10-24 Pedro Alves <palves@redhat.com>
11408
11409 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11410 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11411
ad9b8f5d
PA
114122017-10-24 Pedro Alves <palves@redhat.com>
11413
11414 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11415 parameter and handle it. Don't output read value in test name.
11416
fee6da6e
PA
114172017-10-24 Pedro Alves <palves@redhat.com>
11418
11419 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11420 custom test name.
11421
10389c2c
PA
114222017-10-24 Pedro Alves <palves@redhat.com>
11423
11424 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11425 include the unstable output directory name in the test's name.
11426 (initial_setup_simple) <'set args'>: Use custom test name.
11427
a80e65a9
PA
114282017-10-24 Pedro Alves <palves@redhat.com>
11429
11430 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11431 with explicit test name.
11432
15763a09
PA
114332017-10-20 Pedro Alves <palves@redhat.com>
11434
11435 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11436 'wait -i'. Use gdb_assert and remote_close.
11437
49a4ce2e
AB
114382017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11439
11440 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11441 number from variable rather than hard-coded.
11442
a75868f5
PA
114432017-10-19 Pedro Alves <palves@redhat.com>
11444
11445 * gdb.base/long-inferior-output.c: New file.
11446 * gdb.base/long-inferior-output.exp: New file.
11447
c8ba13ad
KS
114482017-11-18 Keith Seitz <keiths@redhat.com>
11449
11450 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11451 method.
11452 (main): Call it.
11453 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11454 Add additional user-defined conversion operator tests.
11455
b27de576
PA
114562017-10-17 Pedro Alves <palves@redhat.com>
11457
11458 * boards/native-stdio-gdbserver.exp: Load "local-board".
11459
8484c955
PA
114602017-10-17 Pedro Alves <palves@redhat.com>
11461
11462 * gdb.base/quit-live.c: New file.
11463 * gdb.base/quit-live.exp: New file.
11464
83d5a34d
KS
114652017-10-16 Keith Seitz <keiths@redhat.com>
11466
11467 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11468 (class_with_protected_typedef, class_with_private_typedef)
11469 (struct_with_public_typedef, struct_with_protected_typedef)
11470 (struct_with_private_typedef): New classes/structs.
11471 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11472 typedefs and access specifiers.
11473
739b3f1d
PA
114742017-10-16 Pedro Alves <palves@redhat.com>
11475 Simon Marchi <simon.marchi@polymtl.ca>
11476
11477 * README (Local vs Remote vs Native): New section.
11478 * boards/local-board.exp: New file, with bits factored out from
11479 ...
11480 * boards/native-extended-gdbserver.exp: ... here. Load
11481 "local-board".
11482 * boards/native-gdbserver.exp: Load "local-board".
11483 (${board}_spawn, ${board}_exec): Delete.
11484 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11485 ...
11486 * boards/stdio-gdbserver-base.exp: ... this new file.
11487 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11488 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11489 procedure.
11490 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11491 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11492 stdio_gdbserver_command.
11493 (${board}_get_remote_address, ${board}_get_comm_port)
11494 (${board}_download, ${board}_upload): Delete.
11495 (get_target_remote_pipe_cmd): New.
11496
fe68b953
SM
114972017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11498
11499 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11500 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11501 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11502 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11503 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11504 remove with_test_prefix.
11505
300b6685
PA
115062017-10-13 Pedro Alves <palves@redhat.com>
11507
11508 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11509 * gdb.base/annota1.exp: Use it instead of is_remote.
11510 * gdb.base/annota3.exp: Use it instead of is_remote.
11511 * gdb.cp/annota2.exp: Use it instead of is_remote.
11512 * gdb.cp/annota3.exp: Use it instead of is_remote.
11513 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11514
50500caf
PA
115152017-10-13 Pedro Alves <palves@redhat.com>
11516
11517 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11518 (test_num_test_vars, run_and_count_vars, find_env)
11519 (test_set_unset_env, test_inherit_env_var): New procedures.
11520 (top level): Use them.
11521
dad0c6d2
PA
115222017-10-13 Pedro Alves <palves@redhat.com>
11523
11524 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11525 also skip on stub-like targets.
11526
8b0553c1
PA
115272017-10-13 Pedro Alves <palves@redhat.com>
11528
11529 PR gdb/22293
11530 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11531 (top level): Move some tests to ...
11532 (test_not_found): ... this new procedure.
11533 (top level): Call it.
11534
7594f623
PA
115352017-10-13 Pedro Alves <palves@redhat.com>
11536
11537 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11538 expect different "info terminal" output if testing with a
11539 non-native target.
11540
ebe3b402
PA
115412017-10-13 Pedro Alves <palves@redhat.com>
11542 Simon Marchi <simon.marchi@polymtl.ca>
11543
11544 PR python/12966
11545 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11546
42f1b161
PA
115472017-10-13 Pedro Alves <palves@redhat.com>
11548
11549 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11550 already.
11551
8d6ef72b
PA
115522017-10-13 Pedro Alves <palves@redhat.com>
11553
11554 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11555 is_remote.
11556
d7bcd5b8
PA
115572017-10-13 Pedro Alves <palves@redhat.com>
11558
11559 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11560 is_remote.
11561
df479dc6
PA
115622017-10-13 Pedro Alves <palves@redhat.com>
11563
11564 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11565 is set.
11566 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11567 instead of is_remote.
11568
23fb630a
PA
115692017-10-13 Pedro Alves <palves@redhat.com>
11570
11571 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11572 (top level): Add comment.
11573
cc77b1dc
PA
115742017-10-13 Pedro Alves <palves@redhat.com>
11575
11576 * gdb.base/remote.exp (top level): Fix comment typo and add
11577 missing return.
11578
27c9e813
PA
115792017-10-13 Pedro Alves <palves@redhat.com>
11580 Simon Marchi <simon.marchi@polymtl.ca>
11581
11582 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11583 calls and add comments. Skip test if use_gdb_stub is set.
11584 (top level): Use "set cwd" command instead of "cd" command.
11585
5e830d98
PA
115862017-10-13 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11589 is_remote target check.
11590
f5ca0032
PA
115912017-10-13 Pedro Alves <palves@redhat.com>
11592
11593 * gdb.base/scope.exp: Use build_executable + clean_restart +
11594 gdb_file_cmd instead of prepare_for_testing and no longer skip
11595 "before run" tests on is_remote target boards. Update comments.
11596 * boards/native-extended-gdbserver.exp
11597 (extended_gdbserver_load_last_file): New, factored out from ...
11598 (gdb_load): ... this. Move further below and add comment.
11599 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11600
8aed1c0d
PA
116012017-10-12 Pedro Alves <palves@redhat.com>
11602
11603 * gdb.base/attach.exp: Remove references to gdb64.
11604 * gdb.base/dbx.exp: Remove references to gdb64.
11605
cfa34c87
SM
116062017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11607 Pedro Alves <palves@redhat.com>
11608
11609 * gdb.base/label.exp: Remove is_remote target check.
11610
9192b7de
PA
116112017-10-12 Pedro Alves <palves@redhat.com>
11612
11613 * gdb.base/auvx.exp (coredir): Update comment.
11614 (top level) <core_works>: Use "set cwd" command instead of "cd"
11615 command.
11616
6bf0052d
PA
116172017-10-12 Pedro Alves <palves@redhat.com>
11618 Simon Marchi <simon.marchi@polymtl.ca>
11619
11620 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11621 target boards.
11622
e48ef82d
PA
116232017-10-12 Pedro Alves <palves@redhat.com>
11624 Simon Marchi <simon.marchi@polymtl.ca>
11625
11626 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11627 Instead skip if there's any gdb_protocol set.
11628
8d7aea57
SM
116292017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11630 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11633
30440677
PA
116342017-10-12 Pedro Alves <palves@redhat.com>
11635 Simon Marchi <simon.marchi@polymtl.ca>
11636
11637 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11638 instead of on dejagnu remote boards.
11639
4e04f045 116402017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11641 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11642
11643 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11644 checks. Use build_executable + clean_restart instead of
11645 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11646 of enabling non-stop after starting gdb.
11647
871a186e
PA
116482017-10-12 Pedro Alves <palves@redhat.com>
11649
11650 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11651 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11652 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11653 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11654
56d704da
AK
116552017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11656
11657 * gdb.arch/arc-tdesc-cpu.exp: New file.
11658 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11659
2f20e312
SM
116602017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11661
11662 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11663
65630365
PA
116642017-10-10 Pedro Alves <palves@redhat.com>
11665
11666 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11667 expect CLI output.
11668
bf469271
PA
116692017-10-10 Pedro Alves <palves@redhat.com>
11670
11671 * lib/selftest-support.exp (selftest_setup): Update for
11672 captured_command_loop's prototype change.
11673
777a42f1
PA
116742017-10-09 Pedro Alves <palves@redhat.com>
11675
11676 Test both arch1=>arch2 and arch2=>arch1.
11677
11678 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11679 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11680 factored out to...
11681 (append_arch1_options, append_arch2_options, append_arch_options)
11682 (build_executables): New procedures.
11683 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11684 local.
11685 (top level): Add new 'first_arch' testing axis.
11686
cbd2b4e3
PA
116872017-10-09 Pedro Alves <palves@redhat.com>
11688
11689 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11690 (barrier): New.
11691 (thread_start, all_started): New functions.
11692 (main): Spawn new thread and wait until it is scheduled.
11693 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11694 option.
11695 (do_test): Add 'selected_thread' parameter. Run to all_started
11696 instead of main. Explicitly set the breakpoint at main. Switch
11697 to the SELECTED_THREAD thread.
11698 (top level): Test handling the exec event with either the main
11699 thread or the second thread selected.
11700
5c9e4427
PA
117012017-10-09 Pedro Alves <palves@redhat.com>
11702
11703 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11704 logic. Move STOP marker after the value checks.
11705 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11706 regexp.
11707
b3b7c423
SL
117082017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11709
11710 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11711
3b4b2f16
UW
117122017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11713
11714 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11715 integer-to-dfp conversion.
11716 * gdb.base/dfp-test.exp: Likewise.
11717
5cd63fda
PA
117182017-10-04 Pedro Alves <palves@redhat.com>
11719
11720 * gdb.multi/hangout.c: Include <unistd.h>.
11721 (hangout_loop): New function.
11722 (main): Call alarm. Call hangout_loop in a loop.
11723 * gdb.multi/hello.c: Include <unistd.h>.
11724 (hello_loop): New function.
11725 (main): Call alarm. Call hangout_loop in a loop.
11726 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11727 inferior with the other selected.
11728
4c71c105
SM
117292017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11730
11731 * gdb.mi/list-thread-groups-available.exp: New file.
11732 * gdb.mi/list-thread-groups-available.c: New file.
11733
bc3b087d
SDJ
117342017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11735
11736 * gdb.base/set-cwd.exp: Make it available on
11737 native-extended-gdbserver.
11738
d092c5a2
SDJ
117392017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11740
11741 * gdb.base/set-cwd.c: New file.
11742 * gdb.base/set-cwd.exp: Likewise.
11743
45320ffa
TT
117442017-10-02 Tom Tromey <tom@tromey.com>
11745
11746 PR rust/22236:
11747 * gdb.rust/simple.rs (main): New variable "fslice".
11748 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11749
b3e3859b
TT
117502017-10-02 Tom Tromey <tom@tromey.com>
11751
11752 * gdb.rust/simple.exp: Test ptype of a slice.
11753
01af5e0d
TT
117542017-10-02 Tom Tromey <tom@tromey.com>
11755
11756 * gdb.rust/simple.exp: Test index of slice.
11757
a9bbfbd8
TT
117582017-09-27 Tom Tromey <tom@tromey.com>
11759
11760 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11761
df8899e5
TP
117622017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11763 Pedro Alves <palves@redhat.com>
11764
11765 * gdb.base/compare-sections.exp (get value of read-only section): Read
11766 as unsigned value.
11767 (corrupt read-only section): Likewise and don't set written if patching
11768 failed.
11769
757bf54b
KB
117702017-09-21 Kevin Buettner <kevinb@redhat.com>
11771
11772 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11773 files.
11774
06871ae8
PA
117752017-09-20 Pedro Alves <palves@redhat.com>
11776
11777 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11778 symbol names in gdb's output.
11779 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11780
e5f25bc5
PA
117812017-09-20 Pedro Alves <palves@redhat.com>
11782
11783 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11784 Rename to ...
11785 (test_list_ambiguous_symbol): ... this and add a symbol name
11786 parameter. Adjust.
11787 (test_list_ambiguous_function): Reimplement on top of
11788 test_list_ambiguous_symbol and also test listing ambiguous
11789 variables.
11790 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11791 (ambiguous_fun): ... this.
11792 (ambiguous_var): New.
11793 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11794 (ambiguous_fun): ... this.
11795 (ambiguous_var): New.
11796
4e5a4f58
JB
117972017-09-19 John Baldwin <jhb@FreeBSD.org>
11798
11799 * gdb.base/starti.c: New file.
11800 * gdb.base/starti.exp: New file.
11801 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11802
26e53f3e
PA
118032017-09-14 Pedro Alves <palves@redhat.com>
11804
11805 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11806 (top level): Use it instead of runto.
11807
cb791d59
TT
118082017-09-11 Tom Tromey <tom@tromey.com>
11809
11810 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11811
7c96f8c1
TT
118122017-09-11 Tom Tromey <tom@tromey.com>
11813
11814 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11815 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11816
469412dd
CW
118172017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11818
11819 * gdb.fortran/printing-types.exp: New file.
11820 * gdb.fortran/printing-types.exp: New file.
11821
e0f86435
BH
118222017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11823
11824 * gdb.fortran/vla-ptype.exp: Fix typos.
11825 * gdb.fortran/vla-value.exp: Same.
11826
9e9af4be
BH
118272017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11828
11829 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11830 * gdb.mi/mi-var-child-f.exp: Likewise.
11831 * gdb.mi/mi-vla-fortran.exp: Likewise.
11832
a5ad232b 118332017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11834 Christoph Weinmann <christoph.t.weinmann@intel.com>
11835 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11836
11837 * gdb.fortran/ptr-indentation.f90: New file.
11838 * gdb.fortran/ptr-indentation.exp: New file.
11839
5aec60eb
TT
118402017-09-05 Tom Tromey <tom@tromey.com>
11841
11842 PR gdb/22010:
11843 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11844
8f8f8152
TP
118452017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11846
11847 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11848
fbd1b771
JK
118492017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11850
11851 * gdb.threads/tls-nodebug-pie.c: New file.
11852 * gdb.threads/tls-nodebug-pie.exp: New file.
11853
5eb5f850
TT
118542017-09-05 Tom Tromey <tom@tromey.com>
11855
11856 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11857 for rust.
11858
ae780a21
SM
118592017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11860
11861 * gdb.multi/multi-arch-exec.exp: Test with different
11862 "follow-exec-mode" settings.
11863 (do_test): New procedure.
11864
3693fdb3
PA
118652017-09-04 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.base/func-static.c (S::method const, S::method volatile)
11868 (S::method volatile const): New methods.
11869 (c_s, v_s, cv_s): New instances.
11870 (main): Call method() on them.
11871 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11872 (cannot_resolve): New procedure.
11873 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11874 print-quote-unquoted columns.
11875 (do_test): Test printing each scope too.
11876
e68cb8e0
PA
118772017-09-04 Pedro Alves <palves@redhat.com>
11878
11879 * gdb.base/local-static.exp: Also test with
11880 class::method::variable wholly quoted.
11881 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11882
858be34c
PA
118832017-09-04 Pedro Alves <palves@redhat.com>
11884
11885 * gdb.base/local-static.c: New.
11886 * gdb.base/local-static.cc: New.
11887 * gdb.base/local-static.exp: New.
11888
46a4882b
PA
118892017-09-04 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.asm/asm-source.exp: Add casts to int.
11892 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11893 (dataglobal64_1, dataglobal64_2): New globals.
11894 * gdb.base/nodebug.exp: Test different expressions involving the
11895 new globals, with print, whatis and ptype. Add casts to int.
11896 * gdb.base/solib-display.exp: Add casts to int.
11897 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11898 * gdb.cp/m-static.exp: Add cast to int.
11899 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11900 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11901 tls variable with no debug info without a cast. Test with a cast
11902 to int too.
11903 * gdb.trace/entry-values.exp: Add casts.
11904
2c5a2be1
PA
119052017-09-04 Pedro Alves <palves@redhat.com>
11906
11907 * gdb.base/nodebug.exp: Test that ptype's error about functions
11908 with unknown return type includes the function name too.
11909
7022349d
PA
119102017-09-04 Pedro Alves <palves@redhat.com>
11911
11912 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11913 return type of munmap in infcall.
11914 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11915 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11916 type of ftell in infcall.
11917 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11918 type of getpid in infcall.
11919 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11920 infcall.
11921 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11922 Bail on failure to extract the pid.
11923 * gdb.base/nodebug.c: #include <stdint.h>.
11924 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11925 New functions.
11926 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11927 Change expected output of print/whatis/ptype with functions with
11928 no debug info. Test all supported languages. Call
11929 test_call_promotion.
11930 * gdb.compile/compile.exp: Adjust expected output to expect
11931 warning.
11932 * gdb.threads/siginfo-threads.exp: Likewise.
11933
54990598
PA
119342017-09-04 Pedro Alves <palves@redhat.com>
11935
11936 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11937 "prototypes". Test calling float functions via prototyped and
11938 unprototyped function pointers.
11939 (perform_all_tests): New parameter "prototypes". Pass it down.
11940 (top level): Pass down "prototypes" parameter to
11941 perform_all_tests.
11942
34d16ea2
SM
119432017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11944
11945 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11946 Test with nested loops.
11947
9521ecda
SM
119482017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11949
11950 * gdb.base/commands.exp: Call the new procedures.
11951 (loop_break_test, loop_continue_test): New procedures.
11952
80a65e9b
SM
119532017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11954
11955 * gdb.base/commands.exp: Call new procedure.
11956 (define_if_without_arg_test): New procedure.
11957
e439fa14
PA
119582017-09-04 Pedro Alves <palves@redhat.com>
11959
11960 * gdb.base/list-ambiguous.exp: New file.
11961 * gdb.base/list-ambiguous0.c: New file.
11962 * gdb.base/list-ambiguous1.c: New file.
11963 * gdb.base/list.exp (test_list_range): Adjust expected output.
11964
0a2dde4a
SDJ
119652017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11966
11967 * gdb.base/share-env-with-gdbserver.c: New file.
11968 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11969
5e89eb3a
SM
119702017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11971
11972 * gdb.base/commands.exp (gdbvar_simple_if_test,
11973 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11974 progvar_simple_if_test, progvar_simple_while_test,
11975 progvar_complex_if_while_test, user_defined_command_test,
11976 user_defined_command_args_eval,
11977 user_defined_command_args_stack_test,
11978 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11979 temporary_breakpoint_commands,
11980 gdb_test_no_prompt, redefine_hook_test,
11981 redefine_backtrace_test): Remove "global gdb_prompt".
11982
fd437cbc
SM
119832017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11984
11985 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11986 New proc, call it from toplevel.
11987
87215ad1
SDJ
119882017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11989
11990 PR remote/21852
11991 * gdb.server/normal.c: New file, copied from gdb.base.
11992 * gdb.server/run-without-local-binary.exp: New file.
11993
58afddc6
WP
119942017-08-07 Weimin Pan <weimin.pan@oracle.com>
11995
11996 * gdb.arch/sparc64-adi.exp: New file.
11997 * gdb.arch/sparc64-adi.c: New file.
11998
5277199a
PA
119992017-08-22 Pedro Alves <palves@redhat.com>
12000
12001 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12002 (top level): Add "list all overloads" tests.
12003
14278e1f
TT
120042017-08-22 Tom Tromey <tom@tromey.com>
12005
12006 * gdb.gdb/xfullpath.exp: Remove.
12007
bf223d3e
PA
120082017-08-21 Pedro Alves <palves@redhat.com>
12009
12010 PR gdb/19487
12011 * gdb.base/symbol-alias.c: New.
12012 * gdb.base/symbol-alias2.c: New.
12013 * gdb.base/symbol-alias.exp: New.
12014
c973d0aa
PA
120152017-08-21 Pedro Alves <palves@redhat.com>
12016
12017 * gdb.base/dfp-test.c
12018 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12019 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12020 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12021 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12022 * gdb.base/whatis-ptype-typedefs.c: New.
12023 * gdb.base/whatis-ptype-typedefs.exp: New.
12024 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12025 (an_int, an_int_type, an_int_type2): New globals.
12026 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12027 involving typedefs and cast expressions.
12028 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12029 (lookup_typedefs_function): New.
12030 (typedefs_pretty_printers_dict): New.
12031 (top level): Register lookup_typedefs_function in
12032 gdb.pretty_printers.
12033
6d580b63
YQ
120342017-08-18 Yao Qi <yao.qi@linaro.org>
12035
12036 * gdb.server/unittest.exp: New.
12037
206726fb
SDJ
120382017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12039
12040 PR gdb/21954
12041 * gdb.base/environ.exp: Add test to check if 'unset environment'
12042 works.
12043
bf0ec4c2
AA
120442017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12045
12046 * lib/gdb.exp (universal_compile_options): New caching proc.
12047 (gdb_compile): Suppress GCC's coloring of messages.
12048
d6382fff
TT
120492017-08-14 Tom Tromey <tom@tromey.com>
12050
12051 PR gdb/21675:
12052 * gdb.base/printcmds.exp (test_radices): New function.
12053 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12054 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12055 * lib/gdb.exp (get_integer_valueof): Use p/d.
12056
c2c2dd9f
SM
120572017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12058
12059 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12060 characters.
12061
fdffd6f4
TT
120622017-08-05 Tom Tromey <tom@tromey.com>
12063
12064 * gdb.rust/simple.exp: Allow String to appear in a different
12065 namespace.
12066
27d41eac
YQ
120672017-07-26 Yao Qi <yao.qi@linaro.org>
12068
12069 * gdb.gdb/unittest.exp: Invoke command
12070 "maintenance check xml-descriptions".
12071
031ed05d
AA
120722017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12073
12074 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12075 calling context.
12076 (hex128): Drop erroneous calculation of parameters.
12077
dcd27ddf
SM
120782017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12079
12080 * gdb.python/py-unwind.exp: Disable stack protection when
12081 building test file.
12082
47e77640
PA
120832017-07-20 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.base/default.exp (set language): Adjust expected output.
12086
62d2a18a
PA
120872017-07-20 Pedro Alves <palves@redhat.com>
12088
12089 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12090 (test_minsym): ... this, and make static.
12091 (get_pck__foo__bar__minsym): Rename to ...
12092 (get_test_minsym): ... this.
12093 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12094 symbol names and comments.
12095 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12096 (get_test_minsym): ... this.
12097 (pck__foo__bar__minsym__2): Rename to ...
12098 (test_minsym): ... this.
12099 (main): Adjust.
12100
c45ec17c
PA
121012017-07-17 Pedro Alves <palves@redhat.com>
12102
12103 * gdb.base/completion.exp: Adjust expected output.
12104 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12105 the completer works.
12106
c6756f62
PA
121072017-07-17 Pedro Alves <palves@redhat.com>
12108
12109 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12110
5bd68487
AB
121112017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12112
12113 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12114
8880f2a9
TT
121152017-07-14 Tom Tromey <tom@tromey.com>
12116
12117 PR rust/21764:
12118 * gdb.rust/simple.exp: Add tests.
12119
65547233
TT
121202017-07-14 Tom Tromey <tom@tromey.com>
12121
12122 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12123
8f14146e
PA
121242017-07-14 Pedro Alves <palves@redhat.com>
12125
12126 * gdb.linespec/base/one/thefile.cc (z1): New function.
12127 * gdb.linespec/base/two/thefile.cc (z2): New function.
12128 * gdb.linespec/linespec.exp: Add tests.
12129
b4365d02
AB
121302017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12131
12132 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12133 to mi_create_breakpoint.
12134
5d2cbaa5
AB
121352017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12136
12137 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12138 mi_create_breakpoint.
12139
11cb5716
IB
121402017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12141
12142 * gdb.dlang/demangle.exp: Update for demangling changes.
12143
03278692
TT
121442017-07-09 Tom Tromey <tom@tromey.com>
12145
12146 * gdb.dwarf2/shortpiece.exp: New file.
12147
33c5cd75
DB
121482017-07-06 David Blaikie <dblaikie@gmail.com>
12149
12150 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12151 built from fissiont-multi-cu{1,2}.c.
12152 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12153 except putting 'main' and 'func' in separate CUs in the same DWO file.
12154 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12155 test.
12156 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12157 test.
12158
8455d262
PA
121592017-07-06 Pedro Alves <palves@redhat.com>
12160
12161 * gdb.python/py-unwind.exp: Test flushregs.
12162
dc4bde35
SDJ
121632017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12164
12165 PR cli/21688
12166 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12167 tests for alias commands and trailing whitespace.
12168
51ed89aa
SDJ
121692017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12170
12171 PR cli/21688
12172 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12173 procedure. Call it.
12174
eb17d413
PA
121752017-06-29 Pedro Alves <palves@redhat.com>
12176
12177 * gdb.base/printcmds.exp: Add tests.
12178
41664b45
DG
121792017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12180
12181 PR gdb/21337
12182 * gdb.base/reread-readsym.exp: New file.
12183 * gdb.base/reread-readsym.c: New file.
12184
75312ae3
KB
121852017-06-21 Kevin Buettner <kevinb@redhat.com>
12186
12187 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12188 subpattern.
12189
66953522
PB
121902017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12191
12192 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12193 extended mnemonic.
12194 * gdb.arch/powerpc-power9.s: Likewise.
12195
5524b525
AA
121962017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12197
12198 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12199 on 32-bit x86 targets. Exploit is_*_target macros where
12200 appropriate.
12201
03c8af18
AA
122022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12203
12204 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12205 register pieces.
12206
3bf31011
AA
122072017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12208
12209 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12210 located in one or more DWARF pieces.
12211
805acca0
AA
122122017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12213
12214 * lib/gdb.exp (get_endianness): New proc.
12215 * gdb.arch/aarch64-fp.exp: Use it.
12216 * gdb.arch/altivec-regs.exp: Likewise.
12217 * gdb.arch/e500-regs.exp: Likewise.
12218 * gdb.arch/vsx-regs.exp: Likewise.
12219 * gdb.base/dump.exp: Likewise.
12220 * gdb.base/funcargs.exp: Likewise.
12221 * gdb.base/gnu_vector.exp: Likewise.
12222 * gdb.dwarf2/formdata16.exp: Likewise.
12223 * gdb.dwarf2/implptrpiece.exp: Likewise.
12224 * gdb.dwarf2/nonvar-access.exp: Likewise.
12225 * gdb.python/py-inferior.exp: Likewise.
12226 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12227
e9352324
AA
122282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12229
12230 PR gdb/21226
12231 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12232 stack value pieces are taken from the LSB end.
12233
d5d1163e
AA
122342017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12235
12236 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12237 variable at nonzero offset.
12238
0567c986
AA
122392017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12240
12241 * gdb.dwarf2/var-access.c: New file.
12242 * gdb.dwarf2/var-access.exp: New test.
12243 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12244
973e9aab
TT
122452017-06-12 Tom Tromey <tom@tromey.com>
12246
12247 * gdb.dwarf2/formdata16.exp: Add tests.
12248
d9109c80
TT
122492017-06-12 Tom Tromey <tom@tromey.com>
12250
12251 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12252
30a25466
TT
122532017-06-12 Tom Tromey <tom@tromey.com>
12254
12255 PR exp/16225:
12256 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12257 * gdb.arch/vsx-regs.exp: Update tests.
12258 * gdb.arch/s390-vregs.exp (hex128): New proc.
12259 Update test.
12260 * gdb.arch/altivec-regs.exp: Update tests.
12261
aefd8b33
SDJ
122622017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12263
12264 * gdb.base/startup-with-shell.c: New file.
12265 * gdb.base/startup-with-shell.exp: Likewise.
12266
2090129c
SDJ
122672017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12268
12269 * gdb.server/non-existing-program.exp: Update regex in order to
12270 reflect the fact that gdbserver is now using fork_inferior (with a
12271 shell) to startup the inferior.
12272
8e86a419
SM
122732017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12274
12275 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12276 support function calls from GDB.
12277
e6cf65f2
TT
122782017-05-21 Tom Tromey <tom@tromey.com>
12279
12280 PR rust/21466:
12281 * gdb.rust/unsized.exp: New file.
12282 * gdb.rust/unsized.rs: New file.
12283
43cc5389
TT
122842017-05-19 Tom Tromey <tom@tromey.com>
12285
12286 PR rust/21484:
12287 * gdb.rust/watch.exp: New file.
12288 * gdb.rust/watch.rs: New file.
12289
ec8df234
TT
122902017-05-18 Tom Tromey <tom@tromey.com>
12291
12292 * gdb.rust/simple.exp: Allow Box to be qualified.
12293
3e3e7fae
TP
122942017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12295
12296 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12297
59cc050d
PA
122982017-05-18 Pedro Alves <palves@redhat.com>
12299
12300 * gdb.base/fileio.c (test_write, test_read, test_close)
12301 (test_fstat): Don't print 'ret' in the fail path.
12302
c8f6abd1
PA
123032017-05-18 Pedro Alves <palves@redhat.com>
12304
12305 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12306 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12307 (test_system, test_rename, test_unlink, test_time): Change
12308 prototypes.
12309 * gdb.base/fileio.exp (stop_msg): Adjust.
12310
d2a03b77
PA
123112017-05-18 Pedro Alves <palves@redhat.com>
12312
12313 * gdb.base/fileio.c (null_str): New global.
12314 (test_stat): Use it.
12315 * gdb.base/fileio.exp: Remove nowarnings.
12316
0d5c6999
YQ
123172017-05-17 Yao Qi <yao.qi@linaro.org>
12318
12319 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12320
21873064
YQ
123212017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12322
12323 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12324 argument command.
12325 (top-level): Invoke test_set_inferior_tty.
12326
d512d31c
PA
123272017-05-04 Pedro Alves <palves@redhat.com>
12328
12329 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12330 Add parens to print call for Python 3.
12331
90cef2ed
KS
123322017-05-03 Keith Seitz <keiths@redhat.com>
12333
12334 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12335 (main): Call it.
12336
14f819c8
TW
123372017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12338
12339 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12340 to prev and next.
12341
913aeadd
TW
123422017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12343
12344 * gdb.python/py-record-btrace.exp: Remove test for
12345 gdb.BtraceInstruction.error.
12346
a3be24ad
TW
123472017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12348
12349 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12350
ae20e79a
TW
123512017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12352
12353 * gdb.python/py-record-btrace-threads.c: New file.
12354 * gdb.python/py-record-btrace-threads.exp: New file.
12355
45ce1b47
SDJ
123562017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12357
12358 PR testsuite/8595
12359 * gdb.base/environ.exp: Make test available in all architectures.
12360 Move bits related to "info program" testing to
12361 gdb.base/info-program.exp. Rewrite tests to use the two new
12362 procedures mentione below.
12363 (test_set_show_env_var) New procedure.
12364 (test_set_show_env_var_equal): Likewise.
12365 * gdb.base/info-program.exp: New file.
12366
e15c3eb4
KS
123672017-04-27 Keith Seitz <keiths@redhat.com>
12368
12369 * gdb.cp/oranking.cc (test15): New function.
12370 (main): Call test15 and declare additional variables for testing.
12371 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12372 "p foo101('abc')" tests.
12373 Add tests for cv qualifier overloads.
12374 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12375 "lvalue reference overload" test.
12376 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12377 "print value of f1 on Child&& in f2" test.
12378
3a3fd0fd
PA
123792017-04-19 Pedro Alves <palves@redhat.com>
12380
12381 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12382 procedure.
12383 (top level): Call it.
12384 * lib/gdb.exp (gdb_define_cmd): New procedure.
12385
53375380
PA
123862017-04-12 Pedro Alves <palves@redhat.com>
12387
12388 PR gdb/21323
12389 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12390 (wchar): New global.
12391 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12392 (do_test_wide_char, wide_char_types_no_program, top level): Add
12393 wchar_t testing.
12394
53e710ac
PA
123952017-04-12 Pedro Alves <palves@redhat.com>
12396
12397 PR c++/21323
12398 * gdb.cp/wide_char_types.c: New file.
12399 * gdb.cp/wide_char_types.exp: New file.
12400
0ad9d8c7
SDJ
124012017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12402
12403 PR gdb/21352
12404 * gdb.trace/tsv.exp: Add test for "tsave -r".
12405
b1b45502
IB
124062017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12407
12408 * gdb.dlang/watch-loc.c: New file.
12409 * gdb.dlang/watch-loc.exp: New file.
12410
ec13808e
JK
124112017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12412
12413 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12414
fe5f7374
AK
124152017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12416
12417 * gdb.arch/arc-analyze-prologue.S: New file.
12418 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12419
eea78757
AK
124202017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12421
12422 * gdb.arch/arc-decode-insn.S: New file.
12423 * gdb.arch/arc-decode-insn.exp: Likewise.
12424
5badf10a
IR
124252017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12426
12427 PR tdep/20928
12428 * gdb.arch/sparc64-regs.exp: New file.
12429 * gdb.arch/sparc64-regs.S: Likewise.
12430
cee59b3f
TW
124312017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12432
12433 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12434 and memory view on Python 3.
12435
c0f55cc6
AV
124362017-03-20 Artemiy Volkov <artemiyv@acm.org>
12437 Keith Seitz <keiths@redhat.com>
12438
12439 PR gdb/14441
12440 * gdb.cp/demangle.exp: Add rvalue reference tests.
12441 * gdb.cp/rvalue-ref-casts.cc: New file.
12442 * gdb.cp/rvalue-ref-casts.exp: New file.
12443 * gdb.cp/rvalue-ref-overload.cc: New file.
12444 * gdb.cp/rvalue-ref-overload.exp: New file.
12445 * gdb.cp/rvalue-ref-params.cc: New file.
12446 * gdb.cp/rvalue-ref-params.exp: New file.
12447 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12448 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12449 * gdb.cp/rvalue-ref-types.cc: New file.
12450 * gdb.cp/rvalue-ref-types.exp: New file.
12451 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12452 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12453
51457a05
MAL
124542017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12455
12456 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12457 New procedure.
12458
5b291c04
MAL
124592017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12460
12461 * lib/mi-support.exp (mi_gdb_test): Add additional message
12462 for unexpected output.
12463
59a56148
AA
124642017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12465
12466 * gdb.base/examine-backward.c (Barrier): New character array
12467 constant, to ensure that TestStrings is preceded by a string
12468 terminator.
12469
7942e96e
AA
124702017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12471
12472 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12473 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12474 and implicit pointer into such a location.
12475
6ebac3fb
DE
124762017-03-16 Doug Evans <dje@google.com>
12477
12478 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12479
ec3b243d
TP
124802017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12481
12482 * gdb.cp/m-static.exp: Fix expectation for prototype of
12483 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12484
124852017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12486
12487 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12488 * gdb.guile/scm-lazy-string.c: New file.
12489 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12490 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12491 for pointer, array, typedef lazy strings.
12492
2cc36e25 124932017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12494
12495 PR python/17728, python/18439, python/18779
12496 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12497 * gdb.python/py-lazy-string.c (pointer): New typedef.
12498 (main): New locals ptr, array, typedef_ptr.
12499 * gdb.python/py-value.exp: Move lazy string tests to ...
12500 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12501 array, typedef lazy strings.
ec3b243d 12502
0efcde63
AK
125032017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12504
12505 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12506 Add optional 'test' parameter.
12507
7978d7c3
SM
125082017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12509
12510 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12511 Skip for versions of DejaGnu < 1.5.
12512
896c0c1e
SM
125132017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12514
12515 * lib/gdb.exp (dejagnu_version): New proc.
12516 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12517 Use dejagnu_version.
12518
5f4d1085
KS
125192017-03-10 Keith Seitz <keiths@redhat.com>
12520
12521 PR c++/8128
12522 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12523 type from destructor regexps.
12524 Add a branch which actually passes the test.
12525 Adjust "ptype t5i" test names.
12526
1de05205
PA
125272017-03-08 Pedro Alves <palves@redhat.com>
12528
12529 * gdb.base/step-over-exit.exp: Add explicit test message.
12530
c65d6b55
PA
125312017-03-08 Pedro Alves <palves@redhat.com>
12532
12533 PR gdb/18360
12534 * gdb.threads/interrupt-while-step-over.c: New file.
12535 * gdb.threads/interrupt-while-step-over.exp: New file.
12536
2e86a283
PA
125372017-03-08 Pedro Alves <palves@redhat.com>
12538
12539 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12540 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12541
25dcbff6
PA
125422017-03-08 Pedro Alves <palves@redhat.com>
12543
12544 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12545 PKRU as not supported as a PASS.
12546
dc9366eb
PA
125472017-03-08 Pedro Alves <palves@redhat.com>
12548
12549 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12550 prefix instead of $binfile1/$binfile2.
12551 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12552 in test message.
12553 * gdb.python/py-completion.exp: Use "load python file" as test
12554 messages instead of unstable path names.
12555
6e5d74e7
PA
125562017-03-08 Pedro Alves <palves@redhat.com>
12557 Jan Kratochvil <jan.kratochvil@redhat.com>
12558
12559 PR cli/21218
12560 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12561 New proc.
12562 (top level): Call it.
12563
9753a2f6
PA
125642017-03-08 Pedro Alves <palves@redhat.com>
12565
12566 PR tui/21216
12567 * gdb.tui/tui-nl-filtered-output.exp: New file.
12568
1a4dd9dd
PA
125692017-03-08 Pedro Alves <palves@redhat.com>
12570
12571 * gdb.base/completion.exp: Move TUI completion tests to ...
12572 * gdb.tui/completion.exp: ... this new file.
12573
7cbbff33
PA
125742017-03-08 Pedro Alves <palves@redhat.com>
12575
12576 * gdb.base/tui-disasm-long-lines.c,
12577 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12578 gdb.base/tui-layout.exp: Move to ...
12579 * gdb.tui/: ... this new directory.
12580
5f6fd321
PA
125812017-03-07 Pedro Alves <palves@redhat.com>
12582
12583 * gdb.base/tui-layout.c: New file.
12584 * gdb.base/tui-layout.exp: New file.
12585
44959fa8
PA
125862017-03-07 Pedro Alves <palves@redhat.com>
12587
12588 * gdb.base/tui-layout.c: Rename to ...
12589 * gdb.base/tui-disasm-long-lines.c: ... this.
12590 * gdb.base/tui-layout.exp: Rename to ...
12591 * gdb.base/tui-disasm-long-lines.exp: ... this.
12592
f8c4e718
PA
125932017-03-07 Pedro Alves <palves@redhat.com>
12594
12595 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12596
6dbb839a 125972017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12598
12599 * i386-mpx-call.c: New file.
12600 * i386-mpx-call.exp: New file.
12601
65b48a81
PB
126022017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12603
12604 * gdb.arch/powerpc-power.exp: Delete test.
12605 * gdb.arch/powerpc-power.s: Likewise.
12606 * gdb.disasm/disassembler-options.exp: New test.
12607 * gdb.arch/powerpc-altivec.exp: Likewise.
12608 * gdb.arch/powerpc-altivec.s: Likewise.
12609 * gdb.arch/powerpc-altivec2.exp: Likewise.
12610 * gdb.arch/powerpc-altivec2.s: Likewise.
12611 * gdb.arch/powerpc-altivec3.exp: Likewise.
12612 * gdb.arch/powerpc-altivec3.s: Likewise.
12613 * gdb.arch/powerpc-power7.exp: Likewise.
12614 * gdb.arch/powerpc-power7.s: Likewise.
12615 * gdb.arch/powerpc-power8.exp: Likewise.
12616 * gdb.arch/powerpc-power8.s: Likewise.
12617 * gdb.arch/powerpc-power9.exp: Likewise.
12618 * gdb.arch/powerpc-power9.s: Likewise.
12619 * gdb.arch/powerpc-vsx.exp: Likewise.
12620 * gdb.arch/powerpc-vsx.s: Likewise.
12621 * gdb.arch/powerpc-vsx2.exp: Likewise.
12622 * gdb.arch/powerpc-vsx2.s: Likewise.
12623 * gdb.arch/powerpc-vsx3.exp: Likewise.
12624 * gdb.arch/powerpc-vsx3.s: Likewise.
12625 * gdb.arch/arm-disassembler-options.exp: Likewise.
12626 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12627 * gdb.arch/s390-disassembler-options.exp: Likewise.
12628
17cd4947
LM
126292017-02-23 Luis Machado <lgustavo@codesourcery.com>
12630
12631 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12632 (check_supported_features): ... this. Changed return type to void.
12633 (supports_rdseed): New static global.
12634 (rdseed): Check supports_rdseed.
12635 (initialize): Call check_supported_features.
12636
2039d74e
EBM
126372017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12638
12639 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12640 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12641 and lqarx/stqcx.
12642 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12643 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12644
a51d7ecf
EBM
126452017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12646
12647 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12648 uppercase.
12649
0224619f
JK
126502017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12651
12652 * gdb.dwarf2/formdata16.c: New file.
12653 * gdb.dwarf2/formdata16.exp: New file.
12654 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12655
216f72a1
JK
126562017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12657
12658 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12659 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12660 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12661 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12662 DW_AT_GNU_*.
12663
43988095
JK
126642017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12665
12666 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12667
99e8a4f9
SDJ
126682017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12669
12670 PR gdb/21164
12671 * gdb.base/maint.exp: Add testcases for when the commands do
12672 not have arguments.
12673
b58a8c0c
TP
126742017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12675
12676 * gdb.cp/chained-calls.exp: Use p instead of P.
12677
4e746bb6
TW
126782017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12679
12680 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12681 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12682
3f77c769
TT
126832017-02-14 Tom Tromey <tom@tromey.com>
12684
12685 PR python/13598:
12686 * gdb.python/py-events.exp: Add before_prompt event tests.
12687
075beec0
AA
126882017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12689
12690 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12691
bf5f525c
LM
126922017-02-13 Luis Machado <lgustavo@codesourcery.com>
12693
12694 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12695 (main): Call my_unique_function_name.
12696 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12697 completion of patterns with a single match.
12698 Add missing -re switches to gdb_test_multiple calls.
12699
13a66184
LM
127002017-02-13 Luis Machado <lgustavo@codesourcery.com>
12701
12702 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12703 return if core file is not recognized.
12704
26a06916
SM
127052017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12706
12707 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12708 and extra UIs.
12709
b761ca9e
SM
127102017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12711
12712 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12713 proc_with_prefix.
12714
b964bee0
TT
127152017-02-10 Tom Tromey <tom@tromey.com>
12716
12717 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12718
18da0c51
MG
127192017-02-10 Martin Galvan <martingalvan@sourceware.org>
12720
12721 PR gdb/21122
12722 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12723
604c4576
JG
127242017-02-08 Jerome Guitton <guitton@adacore.com>
12725
12726 * gdb.base/define.exp: Add test for command abbreviations
12727 in define.
12728
20b477a7
LM
127292017-02-06 Luis Machado <lgustavo@codesourcery.com>
12730
12731 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12732 * gdb.reverse/insn-reverse-x86.c: New file.
12733
3f7b46f2
IR
127342017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12735
12736 PR tdep/20936
12737 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12738
f0fd41c1
TT
127392017-02-03 Tom Tromey <tom@tromey.com>
12740
12741 PR rust/21097:
12742 * gdb.rust/simple.exp: Add new tests.
12743
5be5dbf0
PA
127442017-02-02 Pedro Alves <palves@redhat.com>
12745
12746 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12747 tests.
12748
7346ef59
AA
127492017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12750
12751 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12752 taking a 2-byte value out of a 4-byte DWARF implicit value on
12753 big-endian targets.
12754 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12755 logic. Add test cases for DW_OP_implicit.
12756
787f0025
MM
127572017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12758
12759 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12760
68777c29
MM
127612017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12762
12763 * gdb.btrace/enable.exp: Call gdb_exit before
12764 skip_gdbserver_tests.
12765
0a1c7e28
MM
127662017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12767
12768 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12769 GDBFLAGS.
12770
b5ac99b0
MM
127712017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12772
12773 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12774 the test is skipped.
12775 * gdb.btrace/data.exp: Likewise.
12776 * gdb.btrace/delta.exp: Likewise.
12777 * gdb.btrace/dlopen.exp: Likewise.
12778 * gdb.btrace/enable-running.exp: Likewise.
12779 * gdb.btrace/enable.exp: Likewise.
12780 * gdb.btrace/exception.exp: Likewise.
12781 * gdb.btrace/function_call_history.exp: Likewise.
12782 * gdb.btrace/gcore.exp: Likewise.
12783 * gdb.btrace/instruction_history.exp: Likewise.
12784 * gdb.btrace/multi-thread-step.exp: Likewise.
12785 * gdb.btrace/nohist.exp: Likewise.
12786 * gdb.btrace/non-stop.exp: Likewise.
12787 * gdb.btrace/reconnect.exp: Likewise.
12788 * gdb.btrace/record_goto-step.exp: Likewise.
12789 * gdb.btrace/record_goto.exp: Likewise.
12790 * gdb.btrace/rn-dl-bind.exp: Likewise.
12791 * gdb.btrace/segv.exp: Likewise.
12792 * gdb.btrace/step.exp: Likewise.
12793 * gdb.btrace/stepi.exp: Likewise.
12794 * gdb.btrace/tailcall-only.exp: Likewise.
12795 * gdb.btrace/tailcall.exp: Likewise.
12796 * gdb.btrace/tsx.exp: Likewise.
12797 * gdb.btrace/unknown_functions.exp: Likewise.
12798 * gdb.btrace/vdso.exp: Likewise.
12799
cd4007e4
MM
128002017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12801
12802 * gdb.btrace/enable-running.c: New.
12803 * gdb.btrace/enable-running.exp: New.
12804
2735833d
WT
128052017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12806
12807 * gdb.arch/amd64-gs_base.c: New file.
12808 * gdb.arch/amd64-gs_base.exp: New file.
12809
b51e1e94
LM
128102017-01-26 Luis Machado <lgustavo@codesourcery.com>
12811
12812 * lib/memory.exp: Remove spurious empty newlines.
12813
72ca0410
SM
128142017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12815
12816 * gdb.python/py-bad-printers.exp: Load python file using "source".
12817 * gdb.python/py-events.exp: Likewise.
12818 * gdb.python/py-evsignal.exp: Likewise.
12819 * gdb.python/py-evthreads.exp: Likewise.
12820 * gdb.python/py-frame-args.exp: Likewise.
12821 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12822 * gdb.python/py-framefilter-mi.exp: Likewise.
12823 * gdb.python/py-framefilter.exp: Likewise.
12824 * gdb.python/py-mi.exp: Likewise.
12825 * gdb.python/py-pp-maint.exp: Likewise.
12826 * gdb.python/py-pp-registration.exp: Likewise.
12827 * gdb.python/py-prettyprint.exp: Likewise.
12828 (run_lang_tests): Likewise.
12829 * gdb.python/py-typeprint.exp: Likewise.
12830
e309aa65
LM
128312017-01-26 Luis Machado <lgustavo@codesourcery.com>
12832
12833 * lib/memory.exp: New file.
12834 * lib/gdb.exp: Load memory.exp.
12835 * gdb.base/memattr.exp (delete_memory): Move proc to
12836 lib/memory.exp and rename to delete_memory_regions.
12837 Replace delete_memory with delete_memory_regions.
12838 Cleanup memory regions before tests.
12839 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12840 before tests.
12841
515aff23
LM
128422017-01-26 Luis Machado <lgustavo@codesourcery.com>
12843
12844 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12845 files.
12846 (initialize): New function conditionally defined.
12847 (testcases): Move within conditional block.
12848 (main): Call initialize.
12849 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12850 of gdb.reverse/insn-reverse.c.
12851 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12852 gdb.reverse/insn-reverse.c.
12853
d8b49cf0
YQ
128542017-01-26 Yao Qi <yao.qi@linaro.org>
12855
12856 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12857 disassemble on address 0.
12858
f13a9a0c
YQ
128592017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12860 Yao Qi <yao.qi@linaro.org>
12861
12862 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12863 * gdb.dwarf2/implptr-64bit.S: Remove.
12864 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12865 variables in caller's context. Add DW_OP_implicit_value.
12866
5ac95241
YQ
128672017-01-25 Yao Qi <yao.qi@linaro.org>
12868
12869 * lib/dwarf.exp (Dwarf::_location): Handle
12870 DW_OP_GNU_implicit_pointer with proper size.
12871
23e82930
LM
128722017-01-20 Luis Machado <lgustavo@codesourcery.com>
12873
12874 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12875 and add untested calls.
12876
d334ae25
LM
128772017-01-20 Luis Machado <lgustavo@codesourcery.com>
12878
12879 * gdb.python/python.exp: Check line number against what GDB thinks
12880 the line number is for func1.
12881
f5e6296e
IB
128822017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12883
12884 * gdb.dlang/debug-expr.exp: New file.
12885
5b362f04
LM
128862016-12-23 Luis Machado <lgustavo@codesourcery.com>
12887
12888 Fix test names for the following files:
12889
12890 * gdb.ada/exec_changed.exp
12891 * gdb.ada/info_types.exp
12892 * gdb.arch/aarch64-atomic-inst.exp
12893 * gdb.arch/aarch64-fp.exp
12894 * gdb.arch/altivec-abi.exp
12895 * gdb.arch/altivec-regs.exp
12896 * gdb.arch/amd64-byte.exp
12897 * gdb.arch/amd64-disp-step.exp
12898 * gdb.arch/amd64-dword.exp
12899 * gdb.arch/amd64-entry-value-inline.exp
12900 * gdb.arch/amd64-entry-value-param.exp
12901 * gdb.arch/amd64-entry-value-paramref.exp
12902 * gdb.arch/amd64-entry-value.exp
12903 * gdb.arch/amd64-i386-address.exp
12904 * gdb.arch/amd64-invalid-stack-middle.exp
12905 * gdb.arch/amd64-invalid-stack-top.exp
12906 * gdb.arch/amd64-optimout-repeat.exp
12907 * gdb.arch/amd64-prologue-skip.exp
12908 * gdb.arch/amd64-prologue-xmm.exp
12909 * gdb.arch/amd64-stap-special-operands.exp
12910 * gdb.arch/amd64-stap-wrong-subexp.exp
12911 * gdb.arch/amd64-tailcall-cxx.exp
12912 * gdb.arch/amd64-tailcall-noret.exp
12913 * gdb.arch/amd64-tailcall-ret.exp
12914 * gdb.arch/amd64-tailcall-self.exp
12915 * gdb.arch/amd64-word.exp
12916 * gdb.arch/arm-bl-branch-dest.exp
12917 * gdb.arch/arm-disp-step.exp
12918 * gdb.arch/arm-neon.exp
12919 * gdb.arch/arm-single-step-kernel-helper.exp
12920 * gdb.arch/avr-flash-qualifier.exp
12921 * gdb.arch/disp-step-insn-reloc.exp
12922 * gdb.arch/e500-abi.exp
12923 * gdb.arch/e500-regs.exp
12924 * gdb.arch/ftrace-insn-reloc.exp
12925 * gdb.arch/i386-avx512.exp
12926 * gdb.arch/i386-bp_permanent.exp
12927 * gdb.arch/i386-byte.exp
12928 * gdb.arch/i386-cfi-notcurrent.exp
12929 * gdb.arch/i386-disp-step.exp
12930 * gdb.arch/i386-dr3-watch.exp
12931 * gdb.arch/i386-float.exp
12932 * gdb.arch/i386-gnu-cfi.exp
12933 * gdb.arch/i386-mpx-map.exp
12934 * gdb.arch/i386-mpx-sigsegv.exp
12935 * gdb.arch/i386-mpx-simple_segv.exp
12936 * gdb.arch/i386-mpx.exp
12937 * gdb.arch/i386-permbkpt.exp
12938 * gdb.arch/i386-prologue.exp
12939 * gdb.arch/i386-signal.exp
12940 * gdb.arch/i386-size-overlap.exp
12941 * gdb.arch/i386-unwind.exp
12942 * gdb.arch/i386-word.exp
12943 * gdb.arch/mips-fcr.exp
12944 * gdb.arch/powerpc-d128-regs.exp
12945 * gdb.arch/powerpc-stackless.exp
12946 * gdb.arch/ppc64-atomic-inst.exp
12947 * gdb.arch/s390-stackless.exp
12948 * gdb.arch/s390-tdbregs.exp
12949 * gdb.arch/s390-vregs.exp
12950 * gdb.arch/sparc-sysstep.exp
12951 * gdb.arch/thumb-bx-pc.exp
12952 * gdb.arch/thumb-singlestep.exp
12953 * gdb.arch/thumb2-it.exp
12954 * gdb.arch/vsx-regs.exp
12955 * gdb.asm/asm-source.exp
12956 * gdb.base/a2-run.exp
12957 * gdb.base/advance.exp
12958 * gdb.base/all-bin.exp
12959 * gdb.base/anon.exp
12960 * gdb.base/args.exp
12961 * gdb.base/arithmet.exp
12962 * gdb.base/async-shell.exp
12963 * gdb.base/async.exp
12964 * gdb.base/attach-pie-noexec.exp
12965 * gdb.base/attach-twice.exp
12966 * gdb.base/auto-load.exp
12967 * gdb.base/bang.exp
12968 * gdb.base/bitfields.exp
12969 * gdb.base/break-always.exp
12970 * gdb.base/break-caller-line.exp
12971 * gdb.base/break-entry.exp
12972 * gdb.base/break-inline.exp
12973 * gdb.base/break-on-linker-gcd-function.exp
12974 * gdb.base/break-probes.exp
12975 * gdb.base/break.exp
12976 * gdb.base/breakpoint-shadow.exp
12977 * gdb.base/call-ar-st.exp
12978 * gdb.base/call-sc.exp
12979 * gdb.base/call-signal-resume.exp
12980 * gdb.base/call-strs.exp
12981 * gdb.base/callfuncs.exp
12982 * gdb.base/catch-fork-static.exp
12983 * gdb.base/catch-gdb-caused-signals.exp
12984 * gdb.base/catch-load.exp
12985 * gdb.base/catch-signal-fork.exp
12986 * gdb.base/catch-signal.exp
12987 * gdb.base/catch-syscall.exp
12988 * gdb.base/charset.exp
12989 * gdb.base/checkpoint.exp
12990 * gdb.base/chng-syms.exp
12991 * gdb.base/code-expr.exp
12992 * gdb.base/code_elim.exp
12993 * gdb.base/commands.exp
12994 * gdb.base/completion.exp
12995 * gdb.base/complex.exp
12996 * gdb.base/cond-expr.exp
12997 * gdb.base/condbreak.exp
12998 * gdb.base/consecutive.exp
12999 * gdb.base/continue-all-already-running.exp
13000 * gdb.base/coredump-filter.exp
13001 * gdb.base/corefile.exp
13002 * gdb.base/dbx.exp
13003 * gdb.base/debug-expr.exp
13004 * gdb.base/define.exp
13005 * gdb.base/del.exp
13006 * gdb.base/disabled-location.exp
13007 * gdb.base/disasm-end-cu.exp
13008 * gdb.base/disasm-optim.exp
13009 * gdb.base/display.exp
13010 * gdb.base/duplicate-bp.exp
13011 * gdb.base/ena-dis-br.exp
13012 * gdb.base/ending-run.exp
13013 * gdb.base/enumval.exp
13014 * gdb.base/environ.exp
13015 * gdb.base/eu-strip-infcall.exp
13016 * gdb.base/eval-avoid-side-effects.exp
13017 * gdb.base/eval-skip.exp
13018 * gdb.base/exitsignal.exp
13019 * gdb.base/expand-psymtabs.exp
13020 * gdb.base/filesym.exp
13021 * gdb.base/find-unmapped.exp
13022 * gdb.base/finish.exp
13023 * gdb.base/float.exp
13024 * gdb.base/foll-exec-mode.exp
13025 * gdb.base/foll-exec.exp
13026 * gdb.base/foll-fork.exp
13027 * gdb.base/fortran-sym-case.exp
13028 * gdb.base/freebpcmd.exp
13029 * gdb.base/func-ptr.exp
13030 * gdb.base/func-ptrs.exp
13031 * gdb.base/funcargs.exp
13032 * gdb.base/gcore-buffer-overflow.exp
13033 * gdb.base/gcore-relro-pie.exp
13034 * gdb.base/gcore-relro.exp
13035 * gdb.base/gcore.exp
13036 * gdb.base/gdb1090.exp
13037 * gdb.base/gdb11530.exp
13038 * gdb.base/gdb11531.exp
13039 * gdb.base/gdb1821.exp
13040 * gdb.base/gdbindex-stabs.exp
13041 * gdb.base/gdbvars.exp
13042 * gdb.base/hbreak.exp
13043 * gdb.base/hbreak2.exp
13044 * gdb.base/included.exp
13045 * gdb.base/infcall-input.exp
13046 * gdb.base/inferior-died.exp
13047 * gdb.base/infnan.exp
13048 * gdb.base/info-macros.exp
13049 * gdb.base/info-os.exp
13050 * gdb.base/info-proc.exp
13051 * gdb.base/info-shared.exp
13052 * gdb.base/info-target.exp
13053 * gdb.base/infoline.exp
13054 * gdb.base/interp.exp
13055 * gdb.base/interrupt.exp
13056 * gdb.base/jit-reader.exp
13057 * gdb.base/jit-simple.exp
13058 * gdb.base/kill-after-signal.exp
13059 * gdb.base/kill-detach-inferiors-cmd.exp
13060 * gdb.base/label.exp
13061 * gdb.base/langs.exp
13062 * gdb.base/ldbl_e308.exp
13063 * gdb.base/line-symtabs.exp
13064 * gdb.base/linespecs.exp
13065 * gdb.base/list.exp
13066 * gdb.base/long_long.exp
13067 * gdb.base/longest-types.exp
13068 * gdb.base/maint.exp
13069 * gdb.base/max-value-size.exp
13070 * gdb.base/memattr.exp
13071 * gdb.base/mips_pro.exp
13072 * gdb.base/morestack.exp
13073 * gdb.base/moribund-step.exp
13074 * gdb.base/multi-forks.exp
13075 * gdb.base/nested-addr.exp
13076 * gdb.base/nextoverexit.exp
13077 * gdb.base/noreturn-finish.exp
13078 * gdb.base/noreturn-return.exp
13079 * gdb.base/nostdlib.exp
13080 * gdb.base/offsets.exp
13081 * gdb.base/opaque.exp
13082 * gdb.base/pc-fp.exp
13083 * gdb.base/permissions.exp
13084 * gdb.base/print-symbol-loading.exp
13085 * gdb.base/prologue-include.exp
13086 * gdb.base/psymtab.exp
13087 * gdb.base/ptype.exp
13088 * gdb.base/random-signal.exp
13089 * gdb.base/randomize.exp
13090 * gdb.base/range-stepping.exp
13091 * gdb.base/readline-ask.exp
13092 * gdb.base/recpar.exp
13093 * gdb.base/recurse.exp
13094 * gdb.base/relational.exp
13095 * gdb.base/restore.exp
13096 * gdb.base/return-nodebug.exp
13097 * gdb.base/return.exp
13098 * gdb.base/run-after-attach.exp
13099 * gdb.base/save-bp.exp
13100 * gdb.base/scope.exp
13101 * gdb.base/sect-cmd.exp
13102 * gdb.base/set-lang-auto.exp
13103 * gdb.base/set-noassign.exp
13104 * gdb.base/setvar.exp
13105 * gdb.base/sigall.exp
13106 * gdb.base/sigbpt.exp
13107 * gdb.base/siginfo-addr.exp
13108 * gdb.base/siginfo-infcall.exp
13109 * gdb.base/siginfo-obj.exp
13110 * gdb.base/siginfo.exp
13111 * gdb.base/signals-state-child.exp
13112 * gdb.base/signest.exp
13113 * gdb.base/sigstep.exp
13114 * gdb.base/sizeof.exp
13115 * gdb.base/skip.exp
13116 * gdb.base/solib-corrupted.exp
13117 * gdb.base/solib-nodir.exp
13118 * gdb.base/solib-search.exp
13119 * gdb.base/stack-checking.exp
13120 * gdb.base/stale-infcall.exp
13121 * gdb.base/stap-probe.exp
13122 * gdb.base/start.exp
13123 * gdb.base/step-break.exp
13124 * gdb.base/step-bt.exp
13125 * gdb.base/step-line.exp
13126 * gdb.base/step-over-exit.exp
13127 * gdb.base/step-over-syscall.exp
13128 * gdb.base/step-resume-infcall.exp
13129 * gdb.base/step-test.exp
13130 * gdb.base/store.exp
13131 * gdb.base/structs3.exp
13132 * gdb.base/sym-file.exp
13133 * gdb.base/symbol-without-target_section.exp
13134 * gdb.base/term.exp
13135 * gdb.base/testenv.exp
13136 * gdb.base/ui-redirect.exp
13137 * gdb.base/until.exp
13138 * gdb.base/unwindonsignal.exp
13139 * gdb.base/value-double-free.exp
13140 * gdb.base/vla-datatypes.exp
13141 * gdb.base/vla-ptr.exp
13142 * gdb.base/vla-sideeffect.exp
13143 * gdb.base/volatile.exp
13144 * gdb.base/watch-cond-infcall.exp
13145 * gdb.base/watch-cond.exp
13146 * gdb.base/watch-non-mem.exp
13147 * gdb.base/watch-read.exp
13148 * gdb.base/watch-vfork.exp
13149 * gdb.base/watchpoint-cond-gone.exp
13150 * gdb.base/watchpoint-delete.exp
13151 * gdb.base/watchpoint-hw-hit-once.exp
13152 * gdb.base/watchpoint-hw.exp
13153 * gdb.base/watchpoint-stops-at-right-insn.exp
13154 * gdb.base/watchpoints.exp
13155 * gdb.base/wchar.exp
13156 * gdb.base/whatis-exp.exp
13157 * gdb.btrace/buffer-size.exp
13158 * gdb.btrace/data.exp
13159 * gdb.btrace/delta.exp
13160 * gdb.btrace/dlopen.exp
13161 * gdb.btrace/enable.exp
13162 * gdb.btrace/exception.exp
13163 * gdb.btrace/function_call_history.exp
13164 * gdb.btrace/gcore.exp
13165 * gdb.btrace/instruction_history.exp
13166 * gdb.btrace/nohist.exp
13167 * gdb.btrace/reconnect.exp
13168 * gdb.btrace/record_goto-step.exp
13169 * gdb.btrace/record_goto.exp
13170 * gdb.btrace/rn-dl-bind.exp
13171 * gdb.btrace/segv.exp
13172 * gdb.btrace/step.exp
13173 * gdb.btrace/stepi.exp
13174 * gdb.btrace/tailcall-only.exp
13175 * gdb.btrace/tailcall.exp
13176 * gdb.btrace/tsx.exp
13177 * gdb.btrace/unknown_functions.exp
13178 * gdb.btrace/vdso.exp
13179 * gdb.compile/compile-ifunc.exp
13180 * gdb.compile/compile-ops.exp
13181 * gdb.compile/compile-print.exp
13182 * gdb.compile/compile-setjmp.exp
13183 * gdb.cp/abstract-origin.exp
13184 * gdb.cp/ambiguous.exp
13185 * gdb.cp/annota2.exp
13186 * gdb.cp/annota3.exp
13187 * gdb.cp/anon-ns.exp
13188 * gdb.cp/anon-struct.exp
13189 * gdb.cp/anon-union.exp
13190 * gdb.cp/arg-reference.exp
13191 * gdb.cp/baseenum.exp
13192 * gdb.cp/bool.exp
13193 * gdb.cp/breakpoint.exp
13194 * gdb.cp/bs15503.exp
13195 * gdb.cp/call-c.exp
13196 * gdb.cp/casts.exp
13197 * gdb.cp/chained-calls.exp
13198 * gdb.cp/class2.exp
13199 * gdb.cp/classes.exp
13200 * gdb.cp/cmpd-minsyms.exp
13201 * gdb.cp/converts.exp
13202 * gdb.cp/cp-relocate.exp
13203 * gdb.cp/cpcompletion.exp
13204 * gdb.cp/cpexprs.exp
13205 * gdb.cp/cplabel.exp
13206 * gdb.cp/cplusfuncs.exp
13207 * gdb.cp/cpsizeof.exp
13208 * gdb.cp/ctti.exp
13209 * gdb.cp/derivation.exp
13210 * gdb.cp/destrprint.exp
13211 * gdb.cp/dispcxx.exp
13212 * gdb.cp/enum-class.exp
13213 * gdb.cp/exception.exp
13214 * gdb.cp/exceptprint.exp
13215 * gdb.cp/expand-psymtabs-cxx.exp
13216 * gdb.cp/expand-sals.exp
13217 * gdb.cp/extern-c.exp
13218 * gdb.cp/filename.exp
13219 * gdb.cp/formatted-ref.exp
13220 * gdb.cp/fpointer.exp
13221 * gdb.cp/gdb1355.exp
13222 * gdb.cp/gdb2495.exp
13223 * gdb.cp/hang.exp
13224 * gdb.cp/impl-this.exp
13225 * gdb.cp/infcall-dlopen.exp
13226 * gdb.cp/inherit.exp
13227 * gdb.cp/iostream.exp
13228 * gdb.cp/koenig.exp
13229 * gdb.cp/local.exp
13230 * gdb.cp/m-data.exp
13231 * gdb.cp/m-static.exp
13232 * gdb.cp/mb-ctor.exp
13233 * gdb.cp/mb-inline.exp
13234 * gdb.cp/mb-templates.exp
13235 * gdb.cp/member-name.exp
13236 * gdb.cp/member-ptr.exp
13237 * gdb.cp/meth-typedefs.exp
13238 * gdb.cp/method.exp
13239 * gdb.cp/method2.exp
13240 * gdb.cp/minsym-fallback.exp
13241 * gdb.cp/misc.exp
13242 * gdb.cp/namelessclass.exp
13243 * gdb.cp/namespace-enum.exp
13244 * gdb.cp/namespace-nested-import.exp
13245 * gdb.cp/namespace.exp
13246 * gdb.cp/nextoverthrow.exp
13247 * gdb.cp/no-dmgl-verbose.exp
13248 * gdb.cp/non-trivial-retval.exp
13249 * gdb.cp/noparam.exp
13250 * gdb.cp/nsdecl.exp
13251 * gdb.cp/nsimport.exp
13252 * gdb.cp/nsnested.exp
13253 * gdb.cp/nsnoimports.exp
13254 * gdb.cp/nsrecurs.exp
13255 * gdb.cp/nsstress.exp
13256 * gdb.cp/nsusing.exp
13257 * gdb.cp/operator.exp
13258 * gdb.cp/oranking.exp
13259 * gdb.cp/overload-const.exp
13260 * gdb.cp/overload.exp
13261 * gdb.cp/ovldbreak.exp
13262 * gdb.cp/ovsrch.exp
13263 * gdb.cp/paren-type.exp
13264 * gdb.cp/parse-lang.exp
13265 * gdb.cp/pass-by-ref.exp
13266 * gdb.cp/pr-1023.exp
13267 * gdb.cp/pr-1210.exp
13268 * gdb.cp/pr-574.exp
13269 * gdb.cp/pr10687.exp
13270 * gdb.cp/pr12028.exp
13271 * gdb.cp/pr17132.exp
13272 * gdb.cp/pr17494.exp
13273 * gdb.cp/pr9067.exp
13274 * gdb.cp/pr9167.exp
13275 * gdb.cp/pr9631.exp
13276 * gdb.cp/printmethod.exp
13277 * gdb.cp/psmang.exp
13278 * gdb.cp/psymtab-parameter.exp
13279 * gdb.cp/ptype-cv-cp.exp
13280 * gdb.cp/ptype-flags.exp
13281 * gdb.cp/re-set-overloaded.exp
13282 * gdb.cp/ref-types.exp
13283 * gdb.cp/rtti.exp
13284 * gdb.cp/scope-err.exp
13285 * gdb.cp/shadow.exp
13286 * gdb.cp/smartp.exp
13287 * gdb.cp/static-method.exp
13288 * gdb.cp/static-print-quit.exp
13289 * gdb.cp/temargs.exp
13290 * gdb.cp/templates.exp
13291 * gdb.cp/try_catch.exp
13292 * gdb.cp/typedef-operator.exp
13293 * gdb.cp/typeid.exp
13294 * gdb.cp/userdef.exp
13295 * gdb.cp/using-crash.exp
13296 * gdb.cp/var-tag.exp
13297 * gdb.cp/virtbase.exp
13298 * gdb.cp/virtfunc.exp
13299 * gdb.cp/virtfunc2.exp
13300 * gdb.cp/vla-cxx.exp
13301 * gdb.disasm/t01_mov.exp
13302 * gdb.disasm/t02_mova.exp
13303 * gdb.disasm/t03_add.exp
13304 * gdb.disasm/t04_sub.exp
13305 * gdb.disasm/t05_cmp.exp
13306 * gdb.disasm/t06_ari2.exp
13307 * gdb.disasm/t07_ari3.exp
13308 * gdb.disasm/t08_or.exp
13309 * gdb.disasm/t09_xor.exp
13310 * gdb.disasm/t10_and.exp
13311 * gdb.disasm/t11_logs.exp
13312 * gdb.disasm/t12_bit.exp
13313 * gdb.disasm/t13_otr.exp
13314 * gdb.dlang/circular.exp
13315 * gdb.dwarf2/arr-stride.exp
13316 * gdb.dwarf2/arr-subrange.exp
13317 * gdb.dwarf2/atomic-type.exp
13318 * gdb.dwarf2/bad-regnum.exp
13319 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13320 * gdb.dwarf2/callframecfa.exp
13321 * gdb.dwarf2/clztest.exp
13322 * gdb.dwarf2/corrupt.exp
13323 * gdb.dwarf2/data-loc.exp
13324 * gdb.dwarf2/dup-psym.exp
13325 * gdb.dwarf2/dw2-anon-mptr.exp
13326 * gdb.dwarf2/dw2-anonymous-func.exp
13327 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13328 * gdb.dwarf2/dw2-bad-unresolved.exp
13329 * gdb.dwarf2/dw2-basic.exp
13330 * gdb.dwarf2/dw2-canonicalize-type.exp
13331 * gdb.dwarf2/dw2-case-insensitive.exp
13332 * gdb.dwarf2/dw2-common-block.exp
13333 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13334 * gdb.dwarf2/dw2-compressed.exp
13335 * gdb.dwarf2/dw2-const.exp
13336 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13337 * gdb.dwarf2/dw2-cu-size.exp
13338 * gdb.dwarf2/dw2-dup-frame.exp
13339 * gdb.dwarf2/dw2-entry-value.exp
13340 * gdb.dwarf2/dw2-icycle.exp
13341 * gdb.dwarf2/dw2-ifort-parameter.exp
13342 * gdb.dwarf2/dw2-inline-break.exp
13343 * gdb.dwarf2/dw2-inline-param.exp
13344 * gdb.dwarf2/dw2-intercu.exp
13345 * gdb.dwarf2/dw2-intermix.exp
13346 * gdb.dwarf2/dw2-lexical-block-bare.exp
13347 * gdb.dwarf2/dw2-linkage-name-trust.exp
13348 * gdb.dwarf2/dw2-minsym-in-cu.exp
13349 * gdb.dwarf2/dw2-noloc.exp
13350 * gdb.dwarf2/dw2-op-call.exp
13351 * gdb.dwarf2/dw2-op-out-param.exp
13352 * gdb.dwarf2/dw2-opt-structptr.exp
13353 * gdb.dwarf2/dw2-param-error.exp
13354 * gdb.dwarf2/dw2-producer.exp
13355 * gdb.dwarf2/dw2-ranges-base.exp
13356 * gdb.dwarf2/dw2-ref-missing-frame.exp
13357 * gdb.dwarf2/dw2-reg-undefined.exp
13358 * gdb.dwarf2/dw2-regno-invalid.exp
13359 * gdb.dwarf2/dw2-restore.exp
13360 * gdb.dwarf2/dw2-restrict.exp
13361 * gdb.dwarf2/dw2-single-line-discriminators.exp
13362 * gdb.dwarf2/dw2-strp.exp
13363 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13364 * gdb.dwarf2/dw2-unresolved.exp
13365 * gdb.dwarf2/dw2-var-zero-addr.exp
13366 * gdb.dwarf2/dw4-sig-types.exp
13367 * gdb.dwarf2/dwz.exp
13368 * gdb.dwarf2/dynarr-ptr.exp
13369 * gdb.dwarf2/enum-type.exp
13370 * gdb.dwarf2/gdb-index.exp
13371 * gdb.dwarf2/implptr-64bit.exp
13372 * gdb.dwarf2/implptr-optimized-out.exp
13373 * gdb.dwarf2/implptr.exp
13374 * gdb.dwarf2/implref-array.exp
13375 * gdb.dwarf2/implref-const.exp
13376 * gdb.dwarf2/implref-global.exp
13377 * gdb.dwarf2/implref-struct.exp
13378 * gdb.dwarf2/mac-fileno.exp
13379 * gdb.dwarf2/main-subprogram.exp
13380 * gdb.dwarf2/member-ptr-forwardref.exp
13381 * gdb.dwarf2/method-ptr.exp
13382 * gdb.dwarf2/missing-sig-type.exp
13383 * gdb.dwarf2/nonvar-access.exp
13384 * gdb.dwarf2/opaque-type-lookup.exp
13385 * gdb.dwarf2/pieces-optimized-out.exp
13386 * gdb.dwarf2/pieces.exp
13387 * gdb.dwarf2/pr10770.exp
13388 * gdb.dwarf2/pr13961.exp
13389 * gdb.dwarf2/staticvirtual.exp
13390 * gdb.dwarf2/subrange.exp
13391 * gdb.dwarf2/symtab-producer.exp
13392 * gdb.dwarf2/trace-crash.exp
13393 * gdb.dwarf2/typeddwarf.exp
13394 * gdb.dwarf2/valop.exp
13395 * gdb.dwarf2/watch-notconst.exp
13396 * gdb.fortran/array-element.exp
13397 * gdb.fortran/charset.exp
13398 * gdb.fortran/common-block.exp
13399 * gdb.fortran/complex.exp
13400 * gdb.fortran/derived-type-function.exp
13401 * gdb.fortran/derived-type.exp
13402 * gdb.fortran/logical.exp
13403 * gdb.fortran/module.exp
13404 * gdb.fortran/multi-dim.exp
13405 * gdb.fortran/nested-funcs.exp
13406 * gdb.fortran/print-formatted.exp
13407 * gdb.fortran/subarray.exp
13408 * gdb.fortran/vla-alloc-assoc.exp
13409 * gdb.fortran/vla-datatypes.exp
13410 * gdb.fortran/vla-history.exp
13411 * gdb.fortran/vla-ptr-info.exp
13412 * gdb.fortran/vla-ptype-sub.exp
13413 * gdb.fortran/vla-ptype.exp
13414 * gdb.fortran/vla-sizeof.exp
13415 * gdb.fortran/vla-type.exp
13416 * gdb.fortran/vla-value-sub-arbitrary.exp
13417 * gdb.fortran/vla-value-sub-finish.exp
13418 * gdb.fortran/vla-value-sub.exp
13419 * gdb.fortran/vla-value.exp
13420 * gdb.fortran/whatis_type.exp
13421 * gdb.go/chan.exp
13422 * gdb.go/handcall.exp
13423 * gdb.go/hello.exp
13424 * gdb.go/integers.exp
13425 * gdb.go/methods.exp
13426 * gdb.go/package.exp
13427 * gdb.go/strings.exp
13428 * gdb.go/types.exp
13429 * gdb.go/unsafe.exp
13430 * gdb.guile/scm-arch.exp
13431 * gdb.guile/scm-block.exp
13432 * gdb.guile/scm-breakpoint.exp
13433 * gdb.guile/scm-cmd.exp
13434 * gdb.guile/scm-disasm.exp
13435 * gdb.guile/scm-equal.exp
13436 * gdb.guile/scm-frame-args.exp
13437 * gdb.guile/scm-frame-inline.exp
13438 * gdb.guile/scm-frame.exp
13439 * gdb.guile/scm-iterator.exp
13440 * gdb.guile/scm-math.exp
13441 * gdb.guile/scm-objfile.exp
13442 * gdb.guile/scm-ports.exp
13443 * gdb.guile/scm-symbol.exp
13444 * gdb.guile/scm-symtab.exp
13445 * gdb.guile/scm-value-cc.exp
13446 * gdb.guile/types-module.exp
13447 * gdb.linespec/break-ask.exp
13448 * gdb.linespec/cpexplicit.exp
13449 * gdb.linespec/explicit.exp
13450 * gdb.linespec/keywords.exp
13451 * gdb.linespec/linespec.exp
13452 * gdb.linespec/ls-dollar.exp
13453 * gdb.linespec/ls-errs.exp
13454 * gdb.linespec/skip-two.exp
13455 * gdb.linespec/thread.exp
13456 * gdb.mi/mi-async.exp
13457 * gdb.mi/mi-basics.exp
13458 * gdb.mi/mi-break.exp
13459 * gdb.mi/mi-catch-load.exp
13460 * gdb.mi/mi-cli.exp
13461 * gdb.mi/mi-cmd-param-changed.exp
13462 * gdb.mi/mi-console.exp
13463 * gdb.mi/mi-detach.exp
13464 * gdb.mi/mi-disassemble.exp
13465 * gdb.mi/mi-eval.exp
13466 * gdb.mi/mi-file-transfer.exp
13467 * gdb.mi/mi-file.exp
13468 * gdb.mi/mi-fill-memory.exp
13469 * gdb.mi/mi-inheritance-syntax-error.exp
13470 * gdb.mi/mi-linespec-err-cp.exp
13471 * gdb.mi/mi-logging.exp
13472 * gdb.mi/mi-memory-changed.exp
13473 * gdb.mi/mi-read-memory.exp
13474 * gdb.mi/mi-record-changed.exp
13475 * gdb.mi/mi-reg-undefined.exp
13476 * gdb.mi/mi-regs.exp
13477 * gdb.mi/mi-return.exp
13478 * gdb.mi/mi-reverse.exp
13479 * gdb.mi/mi-simplerun.exp
13480 * gdb.mi/mi-solib.exp
13481 * gdb.mi/mi-stack.exp
13482 * gdb.mi/mi-stepi.exp
13483 * gdb.mi/mi-syn-frame.exp
13484 * gdb.mi/mi-until.exp
13485 * gdb.mi/mi-var-block.exp
13486 * gdb.mi/mi-var-child.exp
13487 * gdb.mi/mi-var-cmd.exp
13488 * gdb.mi/mi-var-cp.exp
13489 * gdb.mi/mi-var-display.exp
13490 * gdb.mi/mi-var-invalidate.exp
13491 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13492 * gdb.mi/mi-vla-fortran.exp
13493 * gdb.mi/mi-watch.exp
13494 * gdb.mi/mi2-var-child.exp
13495 * gdb.mi/user-selected-context-sync.exp
13496 * gdb.modula2/unbounded-array.exp
13497 * gdb.multi/dummy-frame-restore.exp
13498 * gdb.multi/multi-arch-exec.exp
13499 * gdb.multi/multi-arch.exp
13500 * gdb.multi/tids.exp
13501 * gdb.multi/watchpoint-multi.exp
13502 * gdb.opencl/callfuncs.exp
13503 * gdb.opencl/convs_casts.exp
13504 * gdb.opencl/datatypes.exp
13505 * gdb.opencl/operators.exp
13506 * gdb.opencl/vec_comps.exp
13507 * gdb.opt/clobbered-registers-O2.exp
13508 * gdb.opt/inline-break.exp
13509 * gdb.opt/inline-bt.exp
13510 * gdb.opt/inline-cmds.exp
13511 * gdb.opt/inline-locals.exp
13512 * gdb.pascal/case-insensitive-symbols.exp
13513 * gdb.pascal/floats.exp
13514 * gdb.pascal/gdb11492.exp
13515 * gdb.python/lib-types.exp
13516 * gdb.python/py-arch.exp
13517 * gdb.python/py-as-string.exp
13518 * gdb.python/py-bad-printers.exp
13519 * gdb.python/py-block.exp
13520 * gdb.python/py-breakpoint-create-fail.exp
13521 * gdb.python/py-breakpoint.exp
13522 * gdb.python/py-caller-is.exp
13523 * gdb.python/py-cmd.exp
13524 * gdb.python/py-explore-cc.exp
13525 * gdb.python/py-explore.exp
13526 * gdb.python/py-finish-breakpoint.exp
13527 * gdb.python/py-finish-breakpoint2.exp
13528 * gdb.python/py-frame-args.exp
13529 * gdb.python/py-frame-inline.exp
13530 * gdb.python/py-frame.exp
13531 * gdb.python/py-framefilter-mi.exp
13532 * gdb.python/py-infthread.exp
13533 * gdb.python/py-lazy-string.exp
13534 * gdb.python/py-linetable.exp
13535 * gdb.python/py-mi-events.exp
13536 * gdb.python/py-mi-objfile.exp
13537 * gdb.python/py-mi.exp
13538 * gdb.python/py-objfile.exp
13539 * gdb.python/py-pp-integral.exp
13540 * gdb.python/py-pp-maint.exp
13541 * gdb.python/py-pp-re-notag.exp
13542 * gdb.python/py-pp-registration.exp
13543 * gdb.python/py-recurse-unwind.exp
13544 * gdb.python/py-strfns.exp
13545 * gdb.python/py-symbol.exp
13546 * gdb.python/py-symtab.exp
13547 * gdb.python/py-sync-interp.exp
13548 * gdb.python/py-typeprint.exp
13549 * gdb.python/py-unwind-maint.exp
13550 * gdb.python/py-unwind.exp
13551 * gdb.python/py-value-cc.exp
13552 * gdb.python/py-xmethods.exp
13553 * gdb.reverse/amd64-tailcall-reverse.exp
13554 * gdb.reverse/break-precsave.exp
13555 * gdb.reverse/break-reverse.exp
13556 * gdb.reverse/consecutive-precsave.exp
13557 * gdb.reverse/consecutive-reverse.exp
13558 * gdb.reverse/finish-precsave.exp
13559 * gdb.reverse/finish-reverse-bkpt.exp
13560 * gdb.reverse/finish-reverse.exp
13561 * gdb.reverse/fstatat-reverse.exp
13562 * gdb.reverse/getresuid-reverse.exp
13563 * gdb.reverse/i386-precsave.exp
13564 * gdb.reverse/i386-reverse.exp
13565 * gdb.reverse/i386-sse-reverse.exp
13566 * gdb.reverse/i387-env-reverse.exp
13567 * gdb.reverse/i387-stack-reverse.exp
13568 * gdb.reverse/insn-reverse.exp
13569 * gdb.reverse/machinestate-precsave.exp
13570 * gdb.reverse/machinestate.exp
13571 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13572 * gdb.reverse/pipe-reverse.exp
13573 * gdb.reverse/readv-reverse.exp
13574 * gdb.reverse/recvmsg-reverse.exp
13575 * gdb.reverse/rerun-prec.exp
13576 * gdb.reverse/s390-mvcle.exp
13577 * gdb.reverse/step-precsave.exp
13578 * gdb.reverse/step-reverse.exp
13579 * gdb.reverse/time-reverse.exp
13580 * gdb.reverse/until-precsave.exp
13581 * gdb.reverse/until-reverse.exp
13582 * gdb.reverse/waitpid-reverse.exp
13583 * gdb.reverse/watch-precsave.exp
13584 * gdb.reverse/watch-reverse.exp
13585 * gdb.rust/generics.exp
13586 * gdb.rust/methods.exp
13587 * gdb.rust/modules.exp
13588 * gdb.rust/simple.exp
13589 * gdb.server/connect-with-no-symbol-file.exp
13590 * gdb.server/ext-attach.exp
13591 * gdb.server/ext-restart.exp
13592 * gdb.server/ext-wrapper.exp
13593 * gdb.server/file-transfer.exp
13594 * gdb.server/server-exec-info.exp
13595 * gdb.server/server-kill.exp
13596 * gdb.server/server-mon.exp
13597 * gdb.server/wrapper.exp
13598 * gdb.stabs/exclfwd.exp
13599 * gdb.stabs/gdb11479.exp
13600 * gdb.threads/clone-new-thread-event.exp
13601 * gdb.threads/corethreads.exp
13602 * gdb.threads/current-lwp-dead.exp
13603 * gdb.threads/dlopen-libpthread.exp
13604 * gdb.threads/gcore-thread.exp
13605 * gdb.threads/sigstep-threads.exp
13606 * gdb.threads/watchpoint-fork.exp
13607 * gdb.trace/actions-changed.exp
13608 * gdb.trace/backtrace.exp
13609 * gdb.trace/change-loc.exp
13610 * gdb.trace/circ.exp
13611 * gdb.trace/collection.exp
13612 * gdb.trace/disconnected-tracing.exp
13613 * gdb.trace/ftrace.exp
13614 * gdb.trace/mi-trace-frame-collected.exp
13615 * gdb.trace/mi-trace-unavailable.exp
13616 * gdb.trace/mi-traceframe-changed.exp
13617 * gdb.trace/mi-tsv-changed.exp
13618 * gdb.trace/no-attach-trace.exp
13619 * gdb.trace/passc-dyn.exp
13620 * gdb.trace/qtro.exp
13621 * gdb.trace/range-stepping.exp
13622 * gdb.trace/read-memory.exp
13623 * gdb.trace/save-trace.exp
13624 * gdb.trace/signal.exp
13625 * gdb.trace/status-stop.exp
13626 * gdb.trace/tfile.exp
13627 * gdb.trace/trace-break.exp
13628 * gdb.trace/trace-buffer-size.exp
13629 * gdb.trace/trace-condition.exp
13630 * gdb.trace/tracefile-pseudo-reg.exp
13631 * gdb.trace/tstatus.exp
13632 * gdb.trace/unavailable.exp
13633 * gdb.trace/while-dyn.exp
13634 * gdb.trace/while-stepping.exp
13635
34c41c68
DE
136362016-12-22 Doug Evans <xdje42@gmail.com>
13637
13638 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13639 and msymbols.
13640
16e69324
YQ
136412016-12-19 Yao Qi <yao.qi@linaro.org>
13642
13643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13644 (test_with_self): Don't call do_steps_and_nexts, and remove
13645 code about stepping into xmalloc.
13646
f94f411b
YQ
136472016-12-09 Yao Qi <yao.qi@linaro.org>
13648
13649 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13650
136512016-12-09 Yao Qi <yao.qi@linaro.org>
13652
13653 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13654
f1b5deee
PA
136552016-12-09 Pedro Alves <palves@redhat.com>
13656
13657 * gdb.base/all-architectures-0.exp: New file.
13658 * gdb.base/all-architectures-1.exp: New file.
13659 * gdb.base/all-architectures-2.exp: New file.
13660 * gdb.base/all-architectures-3.exp: New file.
13661 * gdb.base/all-architectures-4.exp: New file.
13662 * gdb.base/all-architectures-5.exp: New file.
13663 * gdb.base/all-architectures-6.exp: New file.
13664 * gdb.base/all-architectures-7.exp: New file.
13665 * gdb.base/all-architectures.exp.in: New file.
13666
364ca42e
YQ
136672016-12-09 Yao Qi <yao.qi@linaro.org>
13668
13669 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13670
107c2d62
LM
136712016-12-02 Luis Machado <lgustavo@codesourcery.com>
13672
13673 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13674 possible.
13675 Remove useless pattern-matching code.
13676
df3ee9ca
PA
136772016-12-02 Pedro Alves <palves@redhat.com>
13678
13679 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13680 procedure.
13681 (top level): Call it.
13682
ec835369
PA
136832016-12-02 Pedro Alves <palves@redhat.com>
13684
13685 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13686 New procedure.
13687 (top level): Call it.
13688
01770bbd
PA
136892016-12-02 Pedro Alves <palves@redhat.com>
13690
13691 PR cli/20559
13692 * gdb.base/commands.exp (user_defined_command_args_eval): New
13693 procedure.
13694 (top level): Call it.
13695
008459ea
LM
136962016-12-02 Luis Machado <lgustavo@codesourcery.com>
13697
13698 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13699 timeout handling.
13700
0c1b455e
TT
137012016-12-02 Tom Tromey <tom@tromey.com>
13702
13703 * gdb.dwarf2/main-subprogram.c: New file.
13704 * gdb.dwarf2/main-subprogram.exp: New file.
13705
018572b8
LM
137062016-12-01 Luis Machado <lgustavo@codesourcery.com>
13707
13708 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13709 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13710 gdb_test_no_output for a couple of cases.
13711 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13712
84c93cd5
LM
137132016-12-01 Luis Machado <lgustavo@codesourcery.com>
13714
13715 Fix test names and standardize compilation error messages throughout
13716 the following files:
13717
13718 * gdb.ada/start.exp
13719 * gdb.arch/alpha-step.exp
13720 * gdb.arch/e500-prologue.exp
13721 * gdb.arch/ftrace-insn-reloc.exp
13722 * gdb.arch/gdb1291.exp
13723 * gdb.arch/gdb1431.exp
13724 * gdb.arch/gdb1558.exp
13725 * gdb.arch/i386-dr3-watch.exp
13726 * gdb.arch/i386-sse-stack-align.exp
13727 * gdb.arch/ia64-breakpoint-shadow.exp
13728 * gdb.arch/pa-nullify.exp
13729 * gdb.arch/powerpc-aix-prologue.exp
13730 * gdb.arch/thumb-bx-pc.exp
13731 * gdb.base/annota1.exp
13732 * gdb.base/annota3.exp
13733 * gdb.base/arrayidx.exp
13734 * gdb.base/assign.exp
13735 * gdb.base/attach.exp
13736 * gdb.base/auxv.exp
13737 * gdb.base/bang.exp
13738 * gdb.base/bfp-test.exp
13739 * gdb.base/bigcore.exp
13740 * gdb.base/bitfields2.exp
13741 * gdb.base/break-fun-addr.exp
13742 * gdb.base/break-probes.exp
13743 * gdb.base/call-rt-st.exp
13744 * gdb.base/callexit.exp
13745 * gdb.base/catch-fork-kill.exp
13746 * gdb.base/charset.exp
13747 * gdb.base/checkpoint.exp
13748 * gdb.base/comprdebug.exp
13749 * gdb.base/constvars.exp
13750 * gdb.base/coredump-filter.exp
13751 * gdb.base/cursal.exp
13752 * gdb.base/cvexpr.exp
13753 * gdb.base/detach.exp
13754 * gdb.base/display.exp
13755 * gdb.base/dmsym.exp
13756 * gdb.base/dprintf-pending.exp
13757 * gdb.base/dso2dso.exp
13758 * gdb.base/dtrace-probe.exp
13759 * gdb.base/dump.exp
13760 * gdb.base/enum_cond.exp
13761 * gdb.base/exe-lock.exp
13762 * gdb.base/exec-invalid-sysroot.exp
13763 * gdb.base/execl-update-breakpoints.exp
13764 * gdb.base/exprs.exp
13765 * gdb.base/fileio.exp
13766 * gdb.base/find.exp
13767 * gdb.base/finish.exp
13768 * gdb.base/fixsection.exp
13769 * gdb.base/foll-vfork.exp
13770 * gdb.base/frame-args.exp
13771 * gdb.base/gcore.exp
13772 * gdb.base/gdb1250.exp
13773 * gdb.base/global-var-nested-by-dso.exp
13774 * gdb.base/gnu-ifunc.exp
13775 * gdb.base/hashline1.exp
13776 * gdb.base/hashline2.exp
13777 * gdb.base/hashline3.exp
13778 * gdb.base/hbreak-in-shr-unsupported.exp
13779 * gdb.base/huge.exp
13780 * gdb.base/infcall-input.exp
13781 * gdb.base/info-fun.exp
13782 * gdb.base/info-shared.exp
13783 * gdb.base/jit-simple.exp
13784 * gdb.base/jit-so.exp
13785 * gdb.base/jit.exp
13786 * gdb.base/jump.exp
13787 * gdb.base/label.exp
13788 * gdb.base/lineinc.exp
13789 * gdb.base/logical.exp
13790 * gdb.base/longjmp.exp
13791 * gdb.base/macscp.exp
13792 * gdb.base/miscexprs.exp
13793 * gdb.base/new-ui-echo.exp
13794 * gdb.base/new-ui-pending-input.exp
13795 * gdb.base/new-ui.exp
13796 * gdb.base/nodebug.exp
13797 * gdb.base/nofield.exp
13798 * gdb.base/offsets.exp
13799 * gdb.base/overlays.exp
13800 * gdb.base/pending.exp
13801 * gdb.base/pointers.exp
13802 * gdb.base/pr11022.exp
13803 * gdb.base/printcmds.exp
13804 * gdb.base/prologue.exp
13805 * gdb.base/ptr-typedef.exp
13806 * gdb.base/realname-expand.exp
13807 * gdb.base/relativedebug.exp
13808 * gdb.base/relocate.exp
13809 * gdb.base/remote.exp
13810 * gdb.base/reread.exp
13811 * gdb.base/return2.exp
13812 * gdb.base/savedregs.exp
13813 * gdb.base/sep.exp
13814 * gdb.base/sepdebug.exp
13815 * gdb.base/sepsymtab.exp
13816 * gdb.base/set-inferior-tty.exp
13817 * gdb.base/setshow.exp
13818 * gdb.base/shlib-call.exp
13819 * gdb.base/sigaltstack.exp
13820 * gdb.base/siginfo-addr.exp
13821 * gdb.base/signals.exp
13822 * gdb.base/signull.exp
13823 * gdb.base/sigrepeat.exp
13824 * gdb.base/so-impl-ld.exp
13825 * gdb.base/solib-display.exp
13826 * gdb.base/solib-overlap.exp
13827 * gdb.base/solib-search.exp
13828 * gdb.base/solib-symbol.exp
13829 * gdb.base/structs.exp
13830 * gdb.base/structs2.exp
13831 * gdb.base/symtab-search-order.exp
13832 * gdb.base/twice.exp
13833 * gdb.base/unload.exp
13834 * gdb.base/varargs.exp
13835 * gdb.base/watchpoint-solib.exp
13836 * gdb.base/watchpoint.exp
13837 * gdb.base/whatis.exp
13838 * gdb.base/wrong_frame_bt_full.exp
13839 * gdb.btrace/dlopen.exp
13840 * gdb.cell/ea-standalone.exp
13841 * gdb.cell/ea-test.exp
13842 * gdb.cp/dispcxx.exp
13843 * gdb.cp/gdb2384.exp
13844 * gdb.cp/method2.exp
13845 * gdb.cp/nextoverthrow.exp
13846 * gdb.cp/pr10728.exp
13847 * gdb.disasm/am33.exp
13848 * gdb.disasm/h8300s.exp
13849 * gdb.disasm/mn10300.exp
13850 * gdb.disasm/sh3.exp
13851 * gdb.dwarf2/dw2-dir-file-name.exp
13852 * gdb.fortran/complex.exp
13853 * gdb.fortran/library-module.exp
13854 * gdb.guile/scm-pretty-print.exp
13855 * gdb.guile/scm-symbol.exp
13856 * gdb.guile/scm-type.exp
13857 * gdb.guile/scm-value.exp
13858 * gdb.linespec/linespec.exp
13859 * gdb.mi/gdb701.exp
13860 * gdb.mi/gdb792.exp
13861 * gdb.mi/mi-breakpoint-changed.exp
13862 * gdb.mi/mi-dprintf-pending.exp
13863 * gdb.mi/mi-dprintf.exp
13864 * gdb.mi/mi-exit-code.exp
13865 * gdb.mi/mi-pending.exp
13866 * gdb.mi/mi-solib.exp
13867 * gdb.mi/new-ui-mi-sync.exp
13868 * gdb.mi/pr11022.exp
13869 * gdb.mi/user-selected-context-sync.exp
13870 * gdb.opt/solib-intra-step.exp
13871 * gdb.python/py-events.exp
13872 * gdb.python/py-finish-breakpoint.exp
13873 * gdb.python/py-mi.exp
13874 * gdb.python/py-prettyprint.exp
13875 * gdb.python/py-shared.exp
13876 * gdb.python/py-symbol.exp
13877 * gdb.python/py-template.exp
13878 * gdb.python/py-type.exp
13879 * gdb.python/py-value.exp
13880 * gdb.reverse/solib-precsave.exp
13881 * gdb.reverse/solib-reverse.exp
13882 * gdb.server/solib-list.exp
13883 * gdb.stabs/weird.exp
13884 * gdb.threads/reconnect-signal.exp
13885 * gdb.threads/stepi-random-signal.exp
13886 * gdb.trace/actions.exp
13887 * gdb.trace/ax.exp
13888 * gdb.trace/backtrace.exp
13889 * gdb.trace/change-loc.exp
13890 * gdb.trace/deltrace.exp
13891 * gdb.trace/ftrace-lock.exp
13892 * gdb.trace/ftrace.exp
13893 * gdb.trace/infotrace.exp
13894 * gdb.trace/mi-tracepoint-changed.exp
13895 * gdb.trace/packetlen.exp
13896 * gdb.trace/passcount.exp
13897 * gdb.trace/pending.exp
13898 * gdb.trace/range-stepping.exp
13899 * gdb.trace/report.exp
13900 * gdb.trace/stap-trace.exp
13901 * gdb.trace/tfind.exp
13902 * gdb.trace/trace-break.exp
13903 * gdb.trace/trace-condition.exp
13904 * gdb.trace/trace-enable-disable.exp
13905 * gdb.trace/trace-mt.exp
13906 * gdb.trace/tracecmd.exp
13907 * gdb.trace/tspeed.exp
13908 * gdb.trace/tsv.exp
13909 * lib/perftest.exp
13910
fb9feb35
LM
139112016-12-01 Luis Machado <lgustavo@codesourcery.com>
13912
13913 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13914 with gdb_test_no_output.
13915 Use command as test name.
13916
cd2ddb6c
LM
139172016-12-01 Luis Machado <lgustavo@codesourcery.com>
13918
13919 Fix test names starting with uppercase throughout the files.
13920
13921 * gdb.ada/assign_1.exp
13922 * gdb.ada/boolean_expr.exp
13923 * gdb.base/arrayidx.exp
13924 * gdb.base/del.exp
13925 * gdb.base/gcore-buffer-overflow.exp
13926 * gdb.base/testenv.exp
13927 * gdb.compile/compile.exp
13928 * gdb.python/py-framefilter-invalidarg.exp
13929 * gdb.python/py-framefilter.exp
13930
bb95117e
LM
139312016-12-01 Luis Machado <lgustavo@codesourcery.com>
13932
13933 Fix test names starting with uppercase throughout the files.
13934
13935 * gdb.ada/array_return.exp
13936 * gdb.ada/expr_delims.exp
13937 * gdb.ada/mi_dyn_arr.exp
13938 * gdb.ada/mi_interface.exp
13939 * gdb.ada/mi_var_array.exp
13940 * gdb.ada/watch_arg.exp
13941 * gdb.arch/alpha-step.exp
13942 * gdb.arch/altivec-regs.exp
13943 * gdb.arch/e500-regs.exp
13944 * gdb.arch/powerpc-d128-regs.exp
13945 * gdb.base/arrayidx.exp
13946 * gdb.base/break.exp
13947 * gdb.base/checkpoint.exp
13948 * gdb.base/debug-expr.exp
13949 * gdb.base/dmsym.exp
13950 * gdb.base/radix.exp
13951 * gdb.base/sepdebug.exp
13952 * gdb.base/testenv.exp
13953 * gdb.base/watch_thread_num.exp
13954 * gdb.base/watchpoint-cond-gone.exp
13955 * gdb.cell/break.exp
13956 * gdb.cell/ea-cache.exp
13957 * gdb.compile/compile.exp
13958 * gdb.cp/gdb2495.exp
13959 * gdb.gdb/selftest.exp
13960 * gdb.gdb/xfullpath.exp
13961 * gdb.go/hello.exp
13962 * gdb.go/integers.exp
13963 * gdb.objc/basicclass.exp
13964 * gdb.pascal/hello.exp
13965 * gdb.pascal/integers.exp
13966 * gdb.python/py-breakpoint.exp
13967 * gdb.python/py-cmd.exp
13968 * gdb.python/py-linetable.exp
13969 * gdb.python/py-xmethods.exp
13970 * gdb.python/python.exp
13971 * gdb.reverse/consecutive-precsave.exp
13972 * gdb.reverse/finish-precsave.exp
13973 * gdb.reverse/i386-precsave.exp
13974 * gdb.reverse/machinestate-precsave.exp
13975 * gdb.reverse/sigall-precsave.exp
13976 * gdb.reverse/solib-precsave.exp
13977 * gdb.reverse/step-precsave.exp
13978 * gdb.reverse/until-precsave.exp
13979 * gdb.reverse/watch-precsave.exp
13980 * gdb.threads/leader-exit.exp
13981 * gdb.threads/pthreads.exp
13982 * gdb.threads/wp-replication.exp
13983 * gdb.trace/actions.exp
13984 * gdb.trace/mi-tsv-changed.exp
13985 * gdb.trace/tsv.exp
13986
de97fdd4
LM
139872016-12-01 Luis Machado <lgustavo@codesourcery.com>
13988
13989 Fix test names starting with uppercase throughout the files.
13990
13991 * gdb.arch/i386-bp_permanent.exp
13992 * gdb.arch/i386-gnu-cfi.exp
13993 * gdb.base/disasm-end-cu.exp
13994 * gdb.base/macscp.exp
13995 * gdb.base/pending.exp
13996 * gdb.base/watch_thread_num.exp
13997 * gdb.cp/exception.exp
13998 * gdb.cp/gdb2495.exp
13999 * gdb.cp/local.exp
14000 * gdb.python/py-evsignal.exp
14001 * gdb.python/python.exp
14002 * gdb.trace/tracecmd.exp
14003
9f058c10
LM
140042016-12-01 Luis Machado <lgustavo@codesourcery.com>
14005
14006 Fix test names starting with uppercase throughout the files.
14007
14008 * gdb.base/charset.exp
14009 * gdb.base/eval.exp
14010 * gdb.base/multi-forks.exp
14011 * gdb.guile/scm-progspace.exp
14012 * gdb.opencl/datatypes.exp
14013 * gdb.python/py-block.exp
14014 * gdb.python/py-function.exp
14015 * gdb.python/py-symbol.exp
14016 * gdb.python/py-symtab.exp
14017 * gdb.python/py-xmethods.exp
14018 * gdb.reverse/break-precsave.exp
14019 * gdb.reverse/break-reverse.exp
14020 * gdb.reverse/consecutive-precsave.exp
14021 * gdb.reverse/consecutive-reverse.exp
14022 * gdb.reverse/finish-precsave.exp
14023 * gdb.reverse/finish-reverse-bkpt.exp
14024 * gdb.reverse/finish-reverse.exp
14025 * gdb.reverse/fstatat-reverse.exp
14026 * gdb.reverse/getresuid-reverse.exp
14027 * gdb.reverse/i386-precsave.exp
14028 * gdb.reverse/i386-reverse.exp
14029 * gdb.reverse/i386-sse-reverse.exp
14030 * gdb.reverse/i387-stack-reverse.exp
14031 * gdb.reverse/insn-reverse.exp
14032 * gdb.reverse/machinestate-precsave.exp
14033 * gdb.reverse/machinestate.exp
14034 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14035 * gdb.reverse/pipe-reverse.exp
14036 * gdb.reverse/readv-reverse.exp
14037 * gdb.reverse/recvmsg-reverse.exp
14038 * gdb.reverse/rerun-prec.exp
14039 * gdb.reverse/s390-mvcle.exp
14040 * gdb.reverse/sigall-precsave.exp
14041 * gdb.reverse/sigall-reverse.exp
14042 * gdb.reverse/solib-precsave.exp
14043 * gdb.reverse/solib-reverse.exp
14044 * gdb.reverse/step-precsave.exp
14045 * gdb.reverse/step-reverse.exp
14046 * gdb.reverse/time-reverse.exp
14047 * gdb.reverse/until-precsave.exp
14048 * gdb.reverse/until-reverse.exp
14049 * gdb.reverse/waitpid-reverse.exp
14050 * gdb.reverse/watch-precsave.exp
14051 * gdb.reverse/watch-reverse.exp
14052
cdc7edd7
LM
140532016-12-01 Luis Machado <lgustavo@codesourcery.com>
14054
14055 Fix test names starting with uppercase throughout the files.
14056
14057 * gdb.arch/i386-mpx-simple_segv.exp
14058 * gdb.arch/i386-mpx.exp
14059 * gdb.arch/i386-permbkpt.exp
14060 * gdb.arch/pa-nullify.exp
14061 * gdb.arch/powerpc-d128-regs.exp
14062 * gdb.arch/vsx-regs.exp
14063 * gdb.base/bfp-test.exp
14064 * gdb.base/break.exp
14065 * gdb.base/breakpoint-shadow.exp
14066 * gdb.base/callfuncs.exp
14067 * gdb.base/charset.exp
14068 * gdb.base/commands.exp
14069 * gdb.base/completion.exp
14070 * gdb.base/dfp-test.exp
14071 * gdb.base/echo.exp
14072 * gdb.base/ending-run.exp
14073 * gdb.base/eval.exp
14074 * gdb.base/expand-psymtabs.exp
14075 * gdb.base/float128.exp
14076 * gdb.base/floatn.exp
14077 * gdb.base/foll-exec-mode.exp
14078 * gdb.base/gdb1056.exp
14079 * gdb.base/gdb11531.exp
14080 * gdb.base/kill-after-signal.exp
14081 * gdb.base/multi-forks.exp
14082 * gdb.base/overlays.exp
14083 * gdb.base/pending.exp
14084 * gdb.base/sepdebug.exp
14085 * gdb.base/testenv.exp
14086 * gdb.base/valgrind-db-attach.exp
14087 * gdb.base/watch_thread_num.exp
14088 * gdb.base/watchpoint-cond-gone.exp
14089 * gdb.base/watchpoint.exp
14090 * gdb.base/watchpoints.exp
14091 * gdb.cp/arg-reference.exp
14092 * gdb.cp/baseenum.exp
14093 * gdb.cp/operator.exp
14094 * gdb.cp/shadow.exp
14095 * gdb.dwarf2/dw2-op-out-param.exp
14096 * gdb.dwarf2/dw2-reg-undefined.exp
14097 * gdb.go/chan.exp
14098 * gdb.go/hello.exp
14099 * gdb.go/integers.exp
14100 * gdb.go/methods.exp
14101 * gdb.go/package.exp
14102 * gdb.guile/scm-parameter.exp
14103 * gdb.guile/scm-progspace.exp
14104 * gdb.guile/scm-value.exp
14105 * gdb.mi/mi-pending.exp
14106 * gdb.mi/user-selected-context-sync.exp
14107 * gdb.multi/multi-attach.exp
14108 * gdb.multi/tids.exp
14109 * gdb.opt/clobbered-registers-O2.exp
14110 * gdb.pascal/floats.exp
14111 * gdb.pascal/integers.exp
14112 * gdb.python/py-block.exp
14113 * gdb.python/py-events.exp
14114 * gdb.python/py-parameter.exp
14115 * gdb.python/py-symbol.exp
14116 * gdb.python/py-symtab.exp
14117 * gdb.python/py-type.exp
14118 * gdb.python/py-value.exp
14119 * gdb.python/py-xmethods.exp
14120 * gdb.python/python.exp
14121 * gdb.reverse/break-precsave.exp
14122 * gdb.reverse/consecutive-precsave.exp
14123 * gdb.reverse/finish-precsave.exp
14124 * gdb.reverse/i386-precsave.exp
14125 * gdb.reverse/machinestate-precsave.exp
14126 * gdb.reverse/sigall-precsave.exp
14127 * gdb.reverse/solib-precsave.exp
14128 * gdb.reverse/step-precsave.exp
14129 * gdb.reverse/until-precsave.exp
14130 * gdb.reverse/watch-precsave.exp
14131 * gdb.server/ext-attach.exp
14132 * gdb.server/ext-restart.exp
14133 * gdb.server/ext-run.exp
14134 * gdb.server/ext-wrapper.exp
14135 * gdb.stabs/gdb11479.exp
14136 * gdb.stabs/weird.exp
14137 * gdb.threads/attach-many-short-lived-threads.exp
14138 * gdb.threads/kill.exp
14139 * gdb.threads/watchpoint-fork.exp
14140
bc6c7af4
LM
141412016-12-01 Luis Machado <lgustavo@codesourcery.com>
14142
14143 Fix test names starting with uppercase throughout all the files below.
14144
14145 * gdb.ada/array_return.exp
14146 * gdb.ada/catch_ex.exp
14147 * gdb.ada/info_exc.exp
14148 * gdb.ada/mi_catch_ex.exp
14149 * gdb.ada/mi_dyn_arr.exp
14150 * gdb.ada/mi_ex_cond.exp
14151 * gdb.ada/mi_exc_info.exp
14152 * gdb.ada/mi_interface.exp
14153 * gdb.ada/mi_task_arg.exp
14154 * gdb.ada/mi_task_info.exp
14155 * gdb.ada/mi_var_array.exp
14156 * gdb.arch/alpha-step.exp
14157 * gdb.arch/amd64-disp-step.exp
14158 * gdb.arch/arm-disp-step.exp
14159 * gdb.arch/disp-step-insn-reloc.exp
14160 * gdb.arch/e500-prologue.exp
14161 * gdb.arch/ftrace-insn-reloc.exp
14162 * gdb.arch/gdb1558.exp
14163 * gdb.arch/i386-bp_permanent.exp
14164 * gdb.arch/i386-disp-step.exp
14165 * gdb.arch/i386-float.exp
14166 * gdb.arch/i386-gnu-cfi.exp
14167 * gdb.arch/ia64-breakpoint-shadow.exp
14168 * gdb.arch/mips16-thunks.exp
14169 * gdb.arch/pa-nullify.exp
14170 * gdb.arch/powerpc-aix-prologue.exp
14171 * gdb.arch/powerpc-power.exp
14172 * gdb.arch/ppc-dfp.exp
14173 * gdb.arch/s390-tdbregs.exp
14174 * gdb.arch/spu-info.exp
14175 * gdb.arch/spu-ls.exp
14176 * gdb.arch/thumb-bx-pc.exp
14177 * gdb.base/advance.exp
14178 * gdb.base/annota-input-while-running.exp
14179 * gdb.base/arrayidx.exp
14180 * gdb.base/asmlabel.exp
14181 * gdb.base/async.exp
14182 * gdb.base/attach-wait-input.exp
14183 * gdb.base/auto-connect-native-target.exp
14184 * gdb.base/batch-preserve-term-settings.exp
14185 * gdb.base/bfp-test.exp
14186 * gdb.base/bigcore.exp
14187 * gdb.base/bp-permanent.exp
14188 * gdb.base/break-always.exp
14189 * gdb.base/break-fun-addr.exp
14190 * gdb.base/break-idempotent.exp
14191 * gdb.base/break-main-file-remove-fail.exp
14192 * gdb.base/break-probes.exp
14193 * gdb.base/break-unload-file.exp
14194 * gdb.base/break.exp
14195 * gdb.base/call-ar-st.exp
14196 * gdb.base/call-rt-st.exp
14197 * gdb.base/call-sc.exp
14198 * gdb.base/call-signal-resume.exp
14199 * gdb.base/call-strs.exp
14200 * gdb.base/callexit.exp
14201 * gdb.base/callfuncs.exp
14202 * gdb.base/catch-gdb-caused-signals.exp
14203 * gdb.base/catch-signal-siginfo-cond.exp
14204 * gdb.base/catch-syscall.exp
14205 * gdb.base/compare-sections.exp
14206 * gdb.base/cond-eval-mode.exp
14207 * gdb.base/condbreak-call-false.exp
14208 * gdb.base/consecutive-step-over.exp
14209 * gdb.base/cursal.exp
14210 * gdb.base/disabled-location.exp
14211 * gdb.base/disasm-end-cu.exp
14212 * gdb.base/display.exp
14213 * gdb.base/double-prompt-target-event-error.exp
14214 * gdb.base/dprintf-bp-same-addr.exp
14215 * gdb.base/dprintf-detach.exp
14216 * gdb.base/dprintf-next.exp
14217 * gdb.base/dprintf-non-stop.exp
14218 * gdb.base/dprintf-pending.exp
14219 * gdb.base/dso2dso.exp
14220 * gdb.base/ending-run.exp
14221 * gdb.base/enum_cond.exp
14222 * gdb.base/examine-backward.exp
14223 * gdb.base/exe-lock.exp
14224 * gdb.base/exec-invalid-sysroot.exp
14225 * gdb.base/execl-update-breakpoints.exp
14226 * gdb.base/execution-termios.exp
14227 * gdb.base/fileio.exp
14228 * gdb.base/fixsection.exp
14229 * gdb.base/foll-exec-mode.exp
14230 * gdb.base/foll-exec.exp
14231 * gdb.base/fork-running-state.exp
14232 * gdb.base/frame-args.exp
14233 * gdb.base/fullpath-expand.exp
14234 * gdb.base/func-ptr.exp
14235 * gdb.base/gcore-relro-pie.exp
14236 * gdb.base/gdb1090.exp
14237 * gdb.base/gdb1555.exp
14238 * gdb.base/global-var-nested-by-dso.exp
14239 * gdb.base/gnu-ifunc.exp
14240 * gdb.base/hbreak-in-shr-unsupported.exp
14241 * gdb.base/hbreak-unmapped.exp
14242 * gdb.base/hook-stop.exp
14243 * gdb.base/infcall-input.exp
14244 * gdb.base/info-fun.exp
14245 * gdb.base/info-shared.exp
14246 * gdb.base/interrupt-noterm.exp
14247 * gdb.base/jit-so.exp
14248 * gdb.base/jit.exp
14249 * gdb.base/line-symtabs.exp
14250 * gdb.base/list.exp
14251 * gdb.base/longjmp.exp
14252 * gdb.base/macscp.exp
14253 * gdb.base/max-value-size.exp
14254 * gdb.base/nodebug.exp
14255 * gdb.base/nofield.exp
14256 * gdb.base/overlays.exp
14257 * gdb.base/paginate-after-ctrl-c-running.exp
14258 * gdb.base/paginate-bg-execution.exp
14259 * gdb.base/paginate-inferior-exit.exp
14260 * gdb.base/pending.exp
14261 * gdb.base/pr11022.exp
14262 * gdb.base/printcmds.exp
14263 * gdb.base/ptr-typedef.exp
14264 * gdb.base/ptype.exp
14265 * gdb.base/randomize.exp
14266 * gdb.base/range-stepping.exp
14267 * gdb.base/realname-expand.exp
14268 * gdb.base/relativedebug.exp
14269 * gdb.base/remote.exp
14270 * gdb.base/savedregs.exp
14271 * gdb.base/sepdebug.exp
14272 * gdb.base/set-noassign.exp
14273 * gdb.base/shlib-call.exp
14274 * gdb.base/shreloc.exp
14275 * gdb.base/sigaltstack.exp
14276 * gdb.base/sigbpt.exp
14277 * gdb.base/siginfo-addr.exp
14278 * gdb.base/siginfo-obj.exp
14279 * gdb.base/siginfo-thread.exp
14280 * gdb.base/signest.exp
14281 * gdb.base/signull.exp
14282 * gdb.base/sigrepeat.exp
14283 * gdb.base/skip.exp
14284 * gdb.base/so-impl-ld.exp
14285 * gdb.base/solib-corrupted.exp
14286 * gdb.base/solib-disc.exp
14287 * gdb.base/solib-display.exp
14288 * gdb.base/solib-overlap.exp
14289 * gdb.base/solib-search.exp
14290 * gdb.base/solib-symbol.exp
14291 * gdb.base/source-execution.exp
14292 * gdb.base/sss-bp-on-user-bp-2.exp
14293 * gdb.base/sss-bp-on-user-bp.exp
14294 * gdb.base/stack-checking.exp
14295 * gdb.base/stale-infcall.exp
14296 * gdb.base/step-break.exp
14297 * gdb.base/step-line.exp
14298 * gdb.base/step-over-exit.exp
14299 * gdb.base/step-test.exp
14300 * gdb.base/structs.exp
14301 * gdb.base/sym-file.exp
14302 * gdb.base/symtab-search-order.exp
14303 * gdb.base/term.exp
14304 * gdb.base/type-opaque.exp
14305 * gdb.base/unload.exp
14306 * gdb.base/until-nodebug.exp
14307 * gdb.base/until.exp
14308 * gdb.base/unwindonsignal.exp
14309 * gdb.base/watch-cond.exp
14310 * gdb.base/watch-non-mem.exp
14311 * gdb.base/watch_thread_num.exp
14312 * gdb.base/watchpoint-reuse-slot.exp
14313 * gdb.base/watchpoint-solib.exp
14314 * gdb.base/watchpoint.exp
14315 * gdb.btrace/dlopen.exp
14316 * gdb.cell/arch.exp
14317 * gdb.cell/break.exp
14318 * gdb.cell/bt.exp
14319 * gdb.cell/core.exp
14320 * gdb.cell/data.exp
14321 * gdb.cell/dwarfaddr.exp
14322 * gdb.cell/ea-cache.exp
14323 * gdb.cell/ea-standalone.exp
14324 * gdb.cell/ea-test.exp
14325 * gdb.cell/f-regs.exp
14326 * gdb.cell/fork.exp
14327 * gdb.cell/gcore.exp
14328 * gdb.cell/mem-access.exp
14329 * gdb.cell/ptype.exp
14330 * gdb.cell/registers.exp
14331 * gdb.cell/sizeof.exp
14332 * gdb.cell/solib-symbol.exp
14333 * gdb.cell/solib.exp
14334 * gdb.compile/compile-tls.exp
14335 * gdb.cp/exception.exp
14336 * gdb.cp/gdb2495.exp
14337 * gdb.cp/local.exp
14338 * gdb.cp/mb-inline.exp
14339 * gdb.cp/mb-templates.exp
14340 * gdb.cp/pr10687.exp
14341 * gdb.cp/pr9167.exp
14342 * gdb.cp/scope-err.exp
14343 * gdb.cp/templates.exp
14344 * gdb.cp/virtfunc.exp
14345 * gdb.dwarf2/dw2-dir-file-name.exp
14346 * gdb.dwarf2/dw2-single-line-discriminators.exp
14347 * gdb.fortran/complex.exp
14348 * gdb.fortran/library-module.exp
14349 * gdb.guile/guile.exp
14350 * gdb.guile/scm-cmd.exp
14351 * gdb.guile/scm-frame-inline.exp
14352 * gdb.guile/scm-objfile.exp
14353 * gdb.guile/scm-pretty-print.exp
14354 * gdb.guile/scm-symbol.exp
14355 * gdb.guile/scm-type.exp
14356 * gdb.guile/scm-value.exp
14357 * gdb.linespec/keywords.exp
14358 * gdb.linespec/ls-errs.exp
14359 * gdb.linespec/macro-relative.exp
14360 * gdb.linespec/thread.exp
14361 * gdb.mi/mi-breakpoint-changed.exp
14362 * gdb.mi/mi-dprintf-pending.exp
14363 * gdb.mi/mi-fullname-deleted.exp
14364 * gdb.mi/mi-logging.exp
14365 * gdb.mi/mi-pending.exp
14366 * gdb.mi/mi-solib.exp
14367 * gdb.mi/new-ui-mi-sync.exp
14368 * gdb.mi/user-selected-context-sync.exp
14369 * gdb.multi/dummy-frame-restore.exp
14370 * gdb.multi/multi-arch-exec.exp
14371 * gdb.multi/remove-inferiors.exp
14372 * gdb.multi/watchpoint-multi-exit.exp
14373 * gdb.opt/solib-intra-step.exp
14374 * gdb.perf/backtrace.exp
14375 * gdb.perf/single-step.exp
14376 * gdb.perf/skip-command.exp
14377 * gdb.perf/skip-prologue.exp
14378 * gdb.perf/solib.exp
14379 * gdb.python/lib-types.exp
14380 * gdb.python/py-as-string.exp
14381 * gdb.python/py-bad-printers.exp
14382 * gdb.python/py-block.exp
14383 * gdb.python/py-breakpoint.exp
14384 * gdb.python/py-cmd.exp
14385 * gdb.python/py-events.exp
14386 * gdb.python/py-evthreads.exp
14387 * gdb.python/py-finish-breakpoint.exp
14388 * gdb.python/py-finish-breakpoint2.exp
14389 * gdb.python/py-frame-inline.exp
14390 * gdb.python/py-frame.exp
14391 * gdb.python/py-inferior.exp
14392 * gdb.python/py-infthread.exp
14393 * gdb.python/py-mi.exp
14394 * gdb.python/py-objfile.exp
14395 * gdb.python/py-pp-maint.exp
14396 * gdb.python/py-pp-registration.exp
14397 * gdb.python/py-prettyprint.exp
14398 * gdb.python/py-recurse-unwind.exp
14399 * gdb.python/py-shared.exp
14400 * gdb.python/py-symbol.exp
14401 * gdb.python/py-symtab.exp
14402 * gdb.python/py-template.exp
14403 * gdb.python/py-type.exp
14404 * gdb.python/py-unwind-maint.exp
14405 * gdb.python/py-unwind.exp
14406 * gdb.python/py-value.exp
14407 * gdb.python/python.exp
14408 * gdb.reverse/finish-reverse-bkpt.exp
14409 * gdb.reverse/insn-reverse.exp
14410 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14411 * gdb.reverse/solib-precsave.exp
14412 * gdb.reverse/solib-reverse.exp
14413 * gdb.stabs/gdb11479.exp
14414 * gdb.stabs/weird.exp
14415 * gdb.threads/fork-child-threads.exp
14416 * gdb.threads/fork-plus-threads.exp
14417 * gdb.threads/fork-thread-pending.exp
14418 * gdb.threads/forking-threads-plus-breakpoint.exp
14419 * gdb.threads/hand-call-in-threads.exp
14420 * gdb.threads/interrupted-hand-call.exp
14421 * gdb.threads/linux-dp.exp
14422 * gdb.threads/local-watch-wrong-thread.exp
14423 * gdb.threads/next-while-other-thread-longjmps.exp
14424 * gdb.threads/non-ldr-exit.exp
14425 * gdb.threads/pending-step.exp
14426 * gdb.threads/print-threads.exp
14427 * gdb.threads/process-dies-while-detaching.exp
14428 * gdb.threads/process-dies-while-handling-bp.exp
14429 * gdb.threads/pthreads.exp
14430 * gdb.threads/queue-signal.exp
14431 * gdb.threads/reconnect-signal.exp
14432 * gdb.threads/signal-command-handle-nopass.exp
14433 * gdb.threads/signal-command-multiple-signals-pending.exp
14434 * gdb.threads/signal-delivered-right-thread.exp
14435 * gdb.threads/signal-sigtrap.exp
14436 * gdb.threads/sigthread.exp
14437 * gdb.threads/staticthreads.exp
14438 * gdb.threads/stepi-random-signal.exp
14439 * gdb.threads/thread-unwindonsignal.exp
14440 * gdb.threads/thread_check.exp
14441 * gdb.threads/thread_events.exp
14442 * gdb.threads/tid-reuse.exp
14443 * gdb.threads/tls-nodebug.exp
14444 * gdb.threads/tls-shared.exp
14445 * gdb.threads/tls-so_extern.exp
14446 * gdb.threads/tls.exp
14447 * gdb.threads/wp-replication.exp
14448 * gdb.trace/actions-changed.exp
14449 * gdb.trace/actions.exp
14450 * gdb.trace/backtrace.exp
14451 * gdb.trace/change-loc.exp
14452 * gdb.trace/collection.exp
14453 * gdb.trace/deltrace.exp
14454 * gdb.trace/disconnected-tracing.exp
14455 * gdb.trace/entry-values.exp
14456 * gdb.trace/ftrace-lock.exp
14457 * gdb.trace/ftrace.exp
14458 * gdb.trace/infotrace.exp
14459 * gdb.trace/mi-trace-frame-collected.exp
14460 * gdb.trace/mi-trace-unavailable.exp
14461 * gdb.trace/mi-traceframe-changed.exp
14462 * gdb.trace/mi-tracepoint-changed.exp
14463 * gdb.trace/mi-tsv-changed.exp
14464 * gdb.trace/no-attach-trace.exp
14465 * gdb.trace/packetlen.exp
14466 * gdb.trace/passc-dyn.exp
14467 * gdb.trace/passcount.exp
14468 * gdb.trace/pending.exp
14469 * gdb.trace/pr16508.exp
14470 * gdb.trace/qtro.exp
14471 * gdb.trace/range-stepping.exp
14472 * gdb.trace/read-memory.exp
14473 * gdb.trace/report.exp
14474 * gdb.trace/save-trace.exp
14475 * gdb.trace/signal.exp
14476 * gdb.trace/stap-trace.exp
14477 * gdb.trace/status-stop.exp
14478 * gdb.trace/strace.exp
14479 * gdb.trace/tfile.exp
14480 * gdb.trace/tfind.exp
14481 * gdb.trace/trace-break.exp
14482 * gdb.trace/trace-condition.exp
14483 * gdb.trace/trace-enable-disable.exp
14484 * gdb.trace/trace-mt.exp
14485 * gdb.trace/tracecmd.exp
14486 * gdb.trace/tracefile-pseudo-reg.exp
14487 * gdb.trace/tspeed.exp
14488 * gdb.trace/tstatus.exp
14489 * gdb.trace/tsv.exp
14490 * gdb.trace/unavailable.exp
14491 * gdb.trace/while-dyn.exp
14492 * gdb.trace/while-stepping.exp
14493 * lib/gdb-guile.exp
14494 * lib/gdb.exp
14495 * lib/mi-support.exp
14496 * lib/pascal.exp
14497 * lib/perftest.exp
14498 * lib/prelink-support.exp
14499 * lib/selftest-support.exp
14500
ad02e4fe
SM
145012016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14502
14503 * Makefile.in: Include disable-implicit-rules.mk.
14504
22347e55
AA
145052016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14506
14507 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14508 non-byte-aligned bit fields.
14509
da5b30da
AA
145102016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14511
14512 PR gdb/12616
14513 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14514 respects the DW_AT_data_bit_offset attribute.
14515
b593ecca
SM
145162016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14517
14518 * gdb.base/default.exp: Fix output of "set language".
14519
3b165252
SM
145202016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14521
14522 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14523 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14524 make.
14525 * configure.ac: Remove checks for the make program.
14526 * configure: Re-generate.
14527
1a2f3d7f
KB
145282016-11-16 Kevin Buettner <kevinb@redhat.com>
14529
14530 * gdb.python/py-recurse-unwind.c (main): Add loop.
14531 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14532 to read_register() and gdb.parse_and_eval(). Make each code
14533 call a separate case that can be individually tested.
14534 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14535 proc. Call cont_and_backtrace for each of the code paths that
14536 we want to test in the unwinder.
14537
b7f38fda
AA
145382016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14539
14540 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14541 the definition of struct S.
14542
1f8db343
CM
145432016-11-11 Catherine Moore <clm@codesourcery.com>
14544
14545 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14546
fad0c9fb
PA
145472016-11-09 Pedro Alves <palves@redhat.com>
14548
14549 * gdb.base/commands.exp (runto_or_return): New procedure.
14550 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14551 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14552 (progvar_simple_while_test, progvar_complex_if_while_test)
14553 (if_while_breakpoint_command_test)
14554 (infrun_breakpoint_command_test, breakpoint_command_test)
14555 (user_defined_command_test, watchpoint_command_test)
14556 (test_command_prompt_position, redefine_hook_test)
14557 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14558 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14559 multi_line_input and multi_line. Remove gdb_expect and
14560 gdb_stop_suppressing_tests uses.
14561 * lib/gdb.exp (valnum_re): New global.
14562 (multi_line_input): New procedure.
14563
8354c62c
SM
145642016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14565
14566 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14567 Remove.
14568 (test_setup): Define with proc_with_prefix.
14569 (test_cli_inferior): Likewise.
14570 (test_cli_thread): Likewise.
14571 (test_cli_frame): Likewise.
14572 (test_cli_select_frame): Likewise.
14573 (test_cli_up_down): Likewise.
14574 (test_mi_thread_select): Likewise.
14575 (test_mi_stack_select_frame): Likewise.
14576 (test_cli_in_mi_inferior): Likewise.
14577 (test_cli_in_mi_thread): Likewise.
14578 (test_cli_in_mi_frame): Likewise.
14579 (top level): Do not use with_test_prefix_procname.
14580
64f367a2
PA
145812016-11-09 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.base/commands.exp (gdbvar_simple_if_test)
14584 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14585 (progvar_simple_if_test, progvar_simple_while_test)
14586 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14587 (infrun_breakpoint_command_test, breakpoint_command_test)
14588 (user_defined_command_test, watchpoint_command_test)
14589 (test_command_prompt_position, deprecated_command_test)
14590 (bp_deleted_in_command, temporary_breakpoint_commands)
14591 (stray_arg0_test, source_file_with_indented_comment)
14592 (recursive_source_test, if_commands_test)
14593 (error_clears_commands_left, redefine_hook_test)
14594 (redefine_backtrace_test): Use proc_with_prefix.
14595 * lib/gdb.exp (proc_with_prefix): New proc.
14596
0bb65f1e
AA
145972016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14598
14599 * gdb.base/tui-layout.c: New file.
14600 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14601 disassembly window contains very long lines.
14602
7353f247
TT
146032016-11-08 Tom Tromey <tom@tromey.com>
14604
14605 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14606 depend on Python 2.
14607
30a7bb83
TT
146082016-11-08 Tom Tromey <tom@tromey.com>
14609
14610 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14611 New method.
14612
cdf5a07c
MG
146132016-10-29 Manish Goregaokar <manish@mozilla.com>
14614
2806dc7e 14615 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14616
51a789c3
MG
146172016-10-27 Manish Goregaokar <manish@mozilla.com>
14618
2806dc7e
PA
14619 * gdb.rust/simple.rs: Add test for univariant enums without
14620 discriminants and for encoded struct-like enums.
51a789c3 14621
f610ab6d
PA
146222016-10-28 Pedro Alves <palves@redhat.com>
14623
14624 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14625 gdb_test_multiple, tighten regexps and match symtabs and line
14626 tables incrementally.
14627
b129b0ca
LM
146282016-10-28 Luis Machado <lgustavo@codesourcery.com>
14629
14630 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14631 general.
14632
ecf45d2c
SL
146332016-10-25 Luis Machado <lgustavo@codesourcery.com>
14634
14635 * gdb.base/exec-invalid-sysroot.exp: New file.
14636
b8d38ee4
JK
146372016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14638
14639 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14640
f90fd8c2
JK
146412016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14642
14643 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14644
2d2476aa
MR
146452016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14646
2806dc7e
PA
14647 * gdb.base/killed-outside.exp: Remove $options from a call to
14648 `prepare_for_testing'.
2d2476aa 14649
e42b25a0
SM
146502016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14651
14652 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14653 Change test message.
14654
3ccdb432
SM
146552016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14656
14657 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14658 Update comment.
14659
5bad3170
SM
146602016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14661
14662 * gdb.trace/mi-trace-save.exp: New file.
14663
5ad9dba7
YQ
146642016-10-13 Yao Qi <yao.qi@linaro.org>
14665
14666 * gdb.base/code_elim.exp (get_var_address): Remove.
14667 * gdb.base/relocate.exp: Likewise.
14668 * gdb.base/shreloc.exp: Likewise.
14669 * lib/gdb.exp (get_var_address): New.
14670
62df7e21
YQ
146712016-10-13 Yao Qi <yao.qi@linaro.org>
14672
14673 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14674 floating point tests if $skip_float_test is false.
14675
4dac951e
LM
146762016-10-12 Luis Machado <lgustavo@codesourcery.com>
14677
14678 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14679 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14680 argc values.
14681 Add 1 to argc so we guarantee distinct initial/modified argc values.
14682
8f1a8fc4
JK
146832016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14684
14685 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14686
16c85b5d
JK
146872016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14688
14689 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14690 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14691 * gdb.arch/vsx-regs.exp: Likewise.
14692
1d0e042a
YQ
146932016-10-07 Yao Qi <yao.qi@linaro.org>
14694
14695 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14696
68dadef5
MM
146972016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14698
14699 * gdb.python/python.exp: Test decode_line("*0").
14700
33fa2c6e
DE
147012016-10-06 Doug Evans <dje@google.com>
14702
14703 * gdb.python/py-value.exp (test_value_creation): Add test for large
14704 unsigned 64-bit value.
14705
9c37b5ae
TT
147062016-10-06 Tom Tromey <tom@tromey.com>
14707
14708 * gdb.compile/compile.exp: Change java tests to rust.
14709 * gdb.base/setshow.exp: Change java tests to rust.
14710 * gdb.base/default.exp: Remove java from language list.
14711 * README (Examples): Update language example.
14712 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14713 test.
14714 * lib/gdb.exp (skip_java_tests): Remove.
14715 * lib/java.exp: Remove.
14716 * gdb.java: Remove.
14717
78b86327
MR
147182016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14719
14720 * gdb.arch/mips-fcr.exp: New test.
14721 * gdb.arch/mips-fcr.c: Source for the new test.
14722
7470adbb
MR
147232016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14724
14725 * gdb.base/solib-disc.exp: Use `standard_output_file'
14726 throughout.
14727
4a556533
PA
147282016-10-06 Pedro Alves <palves@redhat.com>
14729
14730 * gdb.base/jit-simple-dl.c: New file.
14731 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14732 * gdb.base/jit-simple.c: ... this.
14733 * gdb.base/jit-simple.exp (jit_run): Delete.
14734 (build_jit): New proc.
14735 (jit_test_reread): Recompile either the main program or the shared
14736 library, depending on what is being tested. Skip changing address
14737 if caller wants to. Compare before/after addresses. If testing
14738 standalone, explicitly load the binary. Test "maint info
14739 breakpoints".
14740 (top level): Add "standalone vs shared lib" and "change address"
14741 vs "same address" axes.
14742
5a122fbc
PA
147432016-10-06 Pedro Alves <palves@redhat.com>
14744
14745 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14746 call.
14747 (jit_run): Delete.
14748 (jit_test_reread): Use with_test_prefix. Reload the main binary
14749 explicitly. Compare the before/after addresses of the JIT
14750 descriptor.
14751
ee8da4b8
DE
147522016-08-15 Doug Evans <dje@google.com>
14753
14754 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14755 for single bitfields is bool.
14756 * gdb.xml/tdesc-regs.exp: Ditto.
14757
f389f6fe
JK
147582016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14759
14760 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14761
fdebf1a4
YQ
147622016-10-05 Yao Qi <yao.qi@linaro.org>
14763
14764 * lib/gdb.exp (support_complex_tests): Return zero if
14765 gdb_skip_float_test return true.
14766
9c36d954 147672016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14768 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14769
14770 PR gdb/20487
14771 * gdb.mi/user-selected-context-sync.exp: New file.
14772 * gdb.mi/user-selected-context-sync.c: New file.
14773
4034d0ff 147742016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14775 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14776
14777 PR gdb/20487
14778 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14779 =thread-select-event check.
14780
a4297203
PB
147812016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14782
14783 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14784 the compulsory L operand changes.
14785 * gdb.arch/powerpc-power.s: Likewise.
14786
bb805577
JK
147872016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14788
14789 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14790 * gdb.base/jit-attach-pie.c: New file.
14791 * gdb.base/jit-attach-pie.exp: New file.
14792
6d61dee5
PA
147932016-09-28 Pedro Alves <palves@redhat.com>
14794
14795 * gdb.base/infcall-input.c: New file.
14796 * gdb.base/infcall-input.exp: New file.
14797
f73842fc
YQ
147982016-09-22 Yao Qi <yao.qi@linaro.org>
14799
14800 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14801 (gdb_exit): Rename it to ...
14802 (gdbserver_gdb_exit): ... Close GDBserver.
14803 (gdb_exit): New proc, call gdbserver_gdb_exit.
14804 (mi_gdb_exit): Likewise.
14805
90681dab
YQ
148062016-09-22 Yao Qi <yao.qi@linaro.org>
14807
14808 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14809 path.
14810 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14811 Remove duplication.
14812
9c211fd8
YQ
148132016-09-22 Yao Qi <yao.qi@linaro.org>
14814
14815 * lib/gdbserver-support.exp: Check the existence of
14816 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14817
ad0a504f
AK
148182016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14819
14820 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14821
36cf1806
TT
148222016-09-21 Tom Tromey <tom@tromey.com>
14823
14824 PR gdb/20604:
14825 * gdb.base/quit.exp: New file.
14826
74172ecf
SM
148272016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14828
14829 * .gitignore: New file.
14830
3d0ec882
MR
148312016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14832
14833 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14834 throughout.
14835
8193adea
AA
148362016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14837
14838 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14839
d41a5c09
JK
148402016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14841
14842 * gdb.cp/casts.cc (decltype): Move it ...
14843 (main): ... with its call to ...
14844 * gdb.cp/casts03.cc: ... a new file.
14845 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14846
d2dfe700
JK
148472016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14848
14849 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14850
e2a92b16
PB
148512016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14852
14853 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14854 and sync up the test with tests in gas/testsuite/gas/ppc.
14855 * gdb.arch/powerpc-power.exp: Likewise.
14856
49b4de64
JK
148572016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14858
14859 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14860
2c29df25
SDJ
148612016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14862 Jan Kratochvil <jan.kratochvil@redhat.com>
14863
14864 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14865 make m1's definition to be different from m2's. Use 'dummy' as an
14866 argument for probe 'two'.
14867
cc3c2846
JB
148682016-09-10 Jon Beniston <jon@beniston.com>
14869
14870 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14871 for sim target.
14872
e1b2624a
AA
148732016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14874
14875 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14876 variable declaration.
14877 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14878 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14879 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14880 received HWCAP as its argument.
14881
4295e285
PA
148822016-09-06 Pedro Alves <palves@redhat.com>
14883
14884 * gdb.base/new-ui-pending-input.c: New file.
14885 * gdb.base/new-ui-pending-input.exp: New file.
14886 * gdb.exp (clear_gdb_spawn_id): New procedure.
14887 (with_spawn_id): Check whether gdb_spawn_id exists before
14888 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14889 on exit.
14890
00d5215e
UW
148912016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14892
14893 * gdb.base/float128.c: New file.
14894 * gdb.base/float128.exp: Likewise.
14895 * gdb.base/floatn.c: Likewise.
14896 * gdb.base/floatn.exp: Likewise.
14897
a9ff5f12
UW
148982016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14899
14900 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14901
f245535c
PA
149022016-09-05 Pedro Alves <palves@redhat.com>
14903
14904 PR backtrace/19927
14905 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14906 unwinders are immediately called as side effect of "source" or
14907 "disable unwinder" commands.
14908 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14909
ae9cf263
YQ
149102016-09-02 Yao Qi <yao.qi@linaro.org>
14911
14912 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14913 is true and $type is "float" or "double".
14914
27aba047
YQ
149152016-09-02 Yao Qi <yao.qi@linaro.org>
14916
14917 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14918 true.
14919 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14920 * gdb.base/call-rt-st.exp: Likewise.
14921 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14922 return value instead of gdb,skip_float_test.
14923 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14924 (do_function_calls): Use its return value instead of
14925 gdb,skip_float_test.
14926 * gdb.base/finish.exp: Likewise.
14927 * gdb.base/funcargs.exp: Likewise.
14928 * gdb.base/return.exp: Likewise.
14929 * gdb.base/return2.exp: Likewise.
14930 * gdb.base/varargs.exp: Likewise.
14931 * lib/gdb.exp (gdb_skip_float_test): Change it to
14932 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14933
5af962df
AA
149342016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14935
14936 * gdb.multi/tids.exp: Test "thread apply all".
14937
7fac6910
JK
149382016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14939
14940 * gdb.base/default.exp (tty): Remove.
14941
bb1fe4ac
KB
149422016-08-24 Kevin Buettner <kevinb@redhat.com>
14943
2806dc7e
PA
14944 * gdb.python/py-recurse-unwind.c: New file.
14945 * gdb.python/py-recurse-unwind.py: New file.
14946 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14947
0a1ddfa6
SM
149482016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14949
14950 * gdb.base/set-inferior-tty.exp: New file.
14951 * gdb.base/set-inferior-tty.c: New file.
14952
d9de1fe3
PA
149532016-08-23 Pedro Alves <palves@redhat.com>
14954
14955 PR gdb/20494
14956 * gdb.base/new-ui-echo.c: New file.
14957 * gdb.base/new-ui-echo.exp: New file.
14958
e9d9abd7
YQ
149592016-08-23 Yao Qi <yao.qi@linaro.org>
14960
14961 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14962 gdbserver_spawn.
14963 * gdb.server/connect-without-multi-process.exp (do_test):
14964 Likewise.
14965
3589529e
YQ
149662016-08-23 Yao Qi <yao.qi@linaro.org>
14967
14968 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14969 standalone_txt. Delete gdb_txt and standalone_txt on host
14970 and target. Spawn the binary on target. Copy files from
14971 target to host.
14972
6bb90213
PA
149732016-08-22 Pedro Alves <palves@redhat.com>
14974
14975 PR gdb/20505
14976 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14977 with_test_prefix. Factor out bits to ...
14978 (test_no_vdso): ... this new procedure.
14979
20c2c024
CL
149802016-08-19 Carl Love <cel@us.ibm.com>
14981
14982 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14983 maintaining separate logic for constructing the output path.
14984 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14985 * gdb.arch/ppc-dfp.exp: Likewise.
14986 * gdb.arch/ppc-fp.exp: Likewise.
14987 * gdb.arch/vsx-regs.exp: Likewise.
14988 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14989 binprefix for generating the additional binary files.
14990
0646e07d
PA
149912016-08-19 Pedro Alves <palves@redhat.com>
14992
14993 * gdb.trace/mi-trace-frame-collected.exp
14994 (test_trace_frame_collected): On x32, expect two registers.
14995
46da9242
CL
149962016-08-18 Carl Love <cel@us.ibm.com>
14997
14998 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14999 and sync up the test with tests in gas/testsuite/gas/ppc.
15000 * gdb.arch/powerpc-power.exp: Likewise.
15001
eb2332d7
SM
150022016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15003
15004 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15005 expected error message.
15006
63c61e04
SM
150072016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15008
15009 * gdb.multi/remove-inferiors.exp: New file.
15010 * gdb.multi/remove-inferiors.c: New file.
15011
7b17065f
YQ
150122016-08-12 Yao Qi <yao.qi@linaro.org>
15013
15014 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15015 argument list.
15016
01d3dedf
PA
150172016-08-10 Pedro Alves <palves@redhat.com>
15018
15019 PR gdb/19187
15020 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15021 setup_kfails.
15022
3eb7562a
PA
150232016-08-09 Pedro Alves <palves@redhat.com>
15024 Simon Marchi <simon.marchi@ericsson.com>
15025
15026 PR gdb/20418
15027 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15028 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15029
80614914
PA
150302016-08-09 Pedro Alves <palves@redhat.com>
15031
15032 PR mi/20431
15033 * gdb.mi/mi-cmd-error.exp: New file.
15034
f348d89a
PA
150352016-08-09 Pedro Alves <palves@redhat.com>
15036
15037 PR gdb/18653
15038 * gdb.base/signals-state-child.c: New file.
15039 * gdb.base/signals-state-child.exp: New file.
15040 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15041
e5ca03b4
PA
150422016-08-09 Pedro Alves <palves@redhat.com>
15043
15044 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15045
282a0691
TT
150462016-08-03 Tom Tromey <tom@tromey.com>
15047
15048 PR python/18565:
15049 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15050
41bfcd63
YQ
150512016-08-01 Yao Qi <yao.qi@linaro.org>
15052
15053 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15054 variable mode to "multi-process" if $multi_process is 1, otherwise
15055 set it to "single-process".
15056
e3465b24
YQ
150572016-08-01 Yao Qi <yao.qi@linaro.org>
15058
15059 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15060 * gdb.cp/cpexprs.exp: Likewise.
15061 * gdb.cp/m-static.exp: Likewise.
15062
0b31a4bc
TT
150632016-07-26 Tom Tromey <tom@tromey.com>
15064
15065 PR python/20190:
15066 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15067 test.
15068
e0461dbb
MM
150692016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15070
15071 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15072 selecting assembly source files.
15073 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15074 assembly source files.
15075 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15076 assembly source files.
15077 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15078 selecting assembly source files.
15079
8194e927
SM
150802016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15081
15082 * gdb.base/new-ui.exp (do_test_invalid_args): New
15083 procedure.
15084
c0272db5
TW
150852016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15086
15087 * gdb.btrace/reconnect.c: New file.
15088 * gdb.btrace/reconnect.exp: New file.
15089
e3487908
GKB
150902016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15091
15092 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15093 to test_catch_syscall_group.
15094 (test_catch_syscall_group): New.
15095
12df5c00
TT
150962016-07-21 Tom Tromey <tom@tromey.com>
15097
15098 * gdb.rust/simple.rs (main): Use empty struct expression.
15099 * gdb.rust/simple.exp: Add tests for empty struct expression.
15100
bae62ee2
YQ
151012016-07-21 Yao Qi <yao.qi@linaro.org>
15102
15103 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15104 if gdb_skip_xml_test is true on some targets.
15105
b1b53fb3
YQ
151062016-07-21 Yao Qi <yao.qi@linaro.org>
15107
15108 * gdb.server/solib-list.exp: Unset last_loaded_file.
15109
027d97f8
JK
151102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15111
15112 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15113 "step into captured_main (args)".
15114
7674d381
JK
151152016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15116
15117 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15118
72b5d099
JK
151192016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15120
15121 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15122
1f960ced
PA
151232016-07-19 Pedro Alves <palves@redhat.com>
15124
15125 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15126 * gdb.opt/inline-bt.exp: Likewise.
15127 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15128 additional_flags=-Winline.
15129 * gdb.opt/inline-locals.exp: Likewise.
15130 * gdb.opt/inline-markers.c (ATTR): Define.
15131 (inlined_fn): Use it.
15132
f25827c1
YQ
151332016-07-19 Yao Qi <yao.qi@linaro.org>
15134
15135 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15136 (test_with_self): Remove some code. Remove argument executable.
15137 (top-level): Use do_self_tests.
15138
37539ebe
DB
151392016-07-15 Zachary Welch <zwelch@codesourcery.com>
15140 Don Breazeal <donb@codesourcery.com>
15141
15142 * gdb.base/maint.exp: Escape paths used in regular expressions.
15143 * gdb.stabs/weird.exp: Likewise.
15144
dac790e1
TT
151452016-07-13 Tom Tromey <tom@tromey.com>
15146
15147 PR python/15620, PR python/18620:
15148 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15149 (test_bkpt_events): New procs.
15150
93daf339
TT
151512016-07-13 Tom Tromey <tom@tromey.com>
15152
15153 PR python/17698:
15154 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15155 test.
15156 (test_watchpoints): Likewise.
15157 (test_bkpt_pending): New proc.
15158
6571a381
TT
151592016-07-13 Tom Tromey <tom@tromey.com>
15160
15161 PR cli/18053:
15162 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15163 completion test.
15164
e8732474
JK
151652016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15166
15167 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15168 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15169 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15170 f_label.
15171 (g): Rename g_end_lbl to g_label.
15172 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15173 low_pc and high_pc.
15174 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15175
e0f3fd7c
TT
151762016-07-12 Tom Tromey <tom@tromey.com>
15177
15178 PR python/19293:
15179 * gdb.python/py-unwind-maint.exp: Update tests.
15180
3cfe46b6
YQ
151812016-07-12 Yao Qi <yao.qi@linaro.org>
15182
15183 * lib/selftest-support.exp (selftest_setup): Match the output
15184 when captured_main is inlined.
15185
4f19a0e6
WT
151862016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15187
15188 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15189 New variables.
15190 (print this%a, print this%b, print this): New tests.
15191 * gdb.fortran/derived-types.f90 (this): New object and
15192 initialization.
15193
986cf455
SM
151942016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15195
15196 * gdb.ada/arraydim.exp: Remove extra directory level in build
15197 directory.
15198
f0464b23
SM
151992016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15200
15201 * lib/ada.exp: Remove extra directory level in build directory.
15202 * gdb.ada/cond_lang.exp: Likewise.
15203 * gdb.ada/exec_changed.exp: Likewise.
15204 * gdb.ada/lang_switch.exp: Likewise.
15205
42d94011
MG
152062016-07-06 Manish Goregaokar <manish@mozilla.com>
15207
2806dc7e
PA
15208 * simple.rs: Add test for raw pointer subscripting.
15209 * simple.exp: Add test expectations.
42d94011 15210
647c264c
YQ
152112016-07-05 Yao Qi <yao.qi@linaro.org>
15212
15213 * gdb.mi/mi-reverse.exp: Match =record-started output.
15214
20aa2c60
PA
152152016-07-01 Pedro Alves <palves@redhat.com>
15216
15217 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15218 procedure.
15219 (jit_reader_test): Test the jit reader's unwinder.
15220 * gdb.base/jithost.c (jit_function_00_code): New global.
15221 (main): Use memcpy to fill in the mmapped code, instead of poking
15222 bytes manually here.
15223 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15224 value.
15225 (read_debug_info): Save the function's range.
15226 (read_sp): New function.
15227 (unwind_frame): Use it. Also unwind RBP.
15228 (get_frame_id): Use read_sp.
15229 (gdb_init_reader): Use calloc instead of malloc.
15230 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15231 parameter. Use gdb_test_multiple.
15232
ced2dffb
PA
152332016-07-01 Pedro Alves <palves@redhat.com>
15234 Antoine Tremblay <antoine.tremblay@ericsson.com>
15235
15236 * gdb.threads/process-dies-while-detaching.c: New file.
15237 * gdb.threads/process-dies-while-detaching.exp: New file.
15238
63000888
PA
152392016-07-01 Pedro Alves <palves@redhat.com>
15240
15241 * gdb.multi/watchpoint-multi-exit.c: New file.
15242 * gdb.multi/watchpoint-multi-exit.exp: New file.
15243
038d4868
PA
152442016-06-30 Pedro Alves <palves@redhat.com>
15245
15246 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15247 unset inferior_spawn_id.
15248
994e9c83
PA
152492016-06-30 Pedro Alves <palves@redhat.com>
15250
15251 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15252 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15253
e5653468
YQ
152542016-06-29 Yao Qi <yao.qi@linaro.org>
15255
15256 * gdb.base/return.c: Add copyright header.
15257
803b47e5
TT
152582016-06-29 Tom Tromey <tom@tromey.com>
15259
15260 PR python/20129:
15261 * gdb.python/py-framefilter.exp: Add tests for setting priority
15262 and disabling of non-existent frame filter.
15263
28244707
YQ
152642016-06-29 Yao Qi <yao.qi@linaro.org>
15265
15266 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15267 0x0f07ff.
15268
a31d2f06
YQ
152692016-06-28 Yao Qi <yao.qi@linaro.org>
15270
15271 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15272 triplets. Start gdb, execute catch syscall, and continue. Check
15273 gdb's output to determine catch syscall is supported.
15274
921d8f54
MG
152752016-06-27 Manish Goregaokar <manish@mozilla.com>
15276
25d49b86
PA
15277 * gdb.rust/simple.rs: Add test for returning unit in a function.
15278 * gdb.rust/simple.exp: Add expectation for functions returning
15279 unit.
921d8f54 15280
f4952523
PMR
152812016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15282
15283 * gdb.python/py-breakpoint-create-fail.c,
15284 gdb.python/py-breakpoint-create-fail.exp,
15285 gdb.python/py-breakpoint-create-fail.py: New testcase.
15286
fccb08f8
MG
152872016-06-25 Manish Goregaokar <manish@mozilla.com>
15288
15289 PR gdb/20239
15290 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15291 * gdb.rust/simple.exp: Add test expectations for new NonZero
15292 tests.
fccb08f8 15293
6b850546
DT
152942016-06-24 David Taylor <dtaylor@emc.com>
15295
15296 * gdb.base/offsets.exp: New file.
15297 * gdb.base/offsets.c: New file.
15298
17621150
TT
152992016-06-23 Tom Tromey <tom@tromey.com>
15300
15301 PR gdb/16483:
15302 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15303 before any filters are loaded.
15304
04d59df6
WT
153052016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15306
15307 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15308 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15309 structs.
15310 * gdb.fortran/derived-type-function.exp: New file.
15311 * gdb.fortran/derived-type-function.f90: New file.
15312
15313
ac69f786
PA
153142016-06-21 Pedro Alves <palves@redhat.com>
15315
15316 * gdb.base/new-ui.exp: New file.
15317 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15318 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15319 (with_spawn_id): New procedure.
15320
49940788
PA
153212016-06-21 Pedro Alves <palves@redhat.com>
15322
15323 * gdb.mi/mi-exec-run.exp: New file.
15324
ef274d26
PA
153252016-06-21 Pedro Alves <palves@redhat.com>
15326
15327 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15328 breakpoint command's output on the main UI.
15329 (test_break): New procedure, factored out from calls in the top
15330 level.
15331 (top level): Use foreach_with_prefix to test MI as main UI and as
15332 separate UI.
15333
468afe6c
PA
153342016-06-21 Pedro Alves <palves@redhat.com>
15335
15336 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15337 (test_awatch_creation_and_listing)
15338 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15339 Remove 'type' parameter.
15340 (test_watchpoint_all): New parameter mi_mode. Remove
15341 with_test_prefix.
15342 (top level): Use foreach_with_prefix, and add main/separate UI MI
15343 testing axis.
15344
51f77c37
PA
153452016-06-21 Pedro Alves <palves@redhat.com>
15346
15347 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15348 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15349 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15350 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15351 (gdb_main_spawn_id, mi_spawn_id): Declare and
15352 comment.
15353 (mi_create_inferior_pty): New procedure,
15354 factored out from default_mi_gdb_start.
15355 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15356 procedures.
15357 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15358 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15359 Use mi_create_inferior_pty.
15360 (mi_gdb_start): Use eval to pass down args list.
15361
8980e177
PA
153622016-06-21 Pedro Alves <palves@redhat.com>
15363
15364 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15365 * gdb.opt/inline-cmds.exp: Add MI tests.
15366
f38d3ad1
PA
153672016-06-21 Pedro Alves <palves@redhat.com>
15368
15369 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15370
45db7c09
PA
153712016-06-21 Pedro Alves <palves@redhat.com>
15372
15373 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15374 (top level): Use it instead of mi_execute_to.
15375
5a069ab3
PA
153762016-06-21 Pedro Alves <palves@redhat.com>
15377
15378 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15379 (cont_handler_str): New.
15380 (signal_stop_handler): Set stop_handler_str instead of printing to
15381 stdout.
15382 (continue_handler): Set cont_handler_str instead of printing to
15383 stdout.
15384 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15385 mi_send_resuming_command. Print stop_handler_str and
15386 cont_handler_str instead of expecting the python events print
15387 directly.
15388
2838cc1d
SD
153892016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15390
15391 * gdb.base/jit-reader.exp: New file.
15392 * gdb.base/jithost.c: New file.
15393 * gdb.base/jithost.h: New file.
15394 * gdb.base/jitreader.c : New file.
15395 * gdb.base/jit-protocol.h: New file.
15396
21a77091
YQ
153972016-06-17 Yao Qi <yao.qi@linaro.org>
15398
15399 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15400 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15401 and detach-on-fork. Adjust tests.
15402 (top level): Invoke break_cond_on_syscall with combinations of
15403 syscall, follow-fork-mode and detach-on-fork.
15404
f50bf8e5
YQ
154052016-06-17 Yao Qi <yao.qi@linaro.org>
15406
15407 * gdb.base/step-over-exit.c: New.
15408 * gdb.base/step-over-exit.exp: New.
15409
a28d8e50
YTL
154102016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15411
15412 * gdb.base/float.exp: Add target check for nds32*-*-*.
15413 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15414
cad8e26d
AB
154152016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15416
15417 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15418 for unsupported target features.
15419 * gdb.base/call-rt-st.exp: Likewise.
15420 * gdb.base/call-sc.exp: Likewise.
15421 * gdb.base/call-signal-resume.exp: Likewise.
15422 * gdb.base/call-strs.exp: Likewise.
15423 * gdb.base/callexit.exp: Likewise.
15424 * gdb.base/callfuncs.exp: Likewise.
15425 * gdb.base/nodebug.exp: Likewise.
15426 * gdb.base/printcmds.exp: Likewise.
15427 * gdb.base/ptype.exp: Likewise.
15428 * gdb.base/structs.exp: Likewise.
15429 * gdb.base/unwindonsignal.exp: Likewise.
15430 * gdb.cp/gdb2495.exp: Likewise.
15431 * gdb.cp/templates.exp: Likewise.
15432 * gdb.cp/virtfunc.exp: Likewise.
15433 * gdb.threads/hand-call-in-threads.exp: Likewise.
15434 * gdb.threads/interrupted-hand-call.exp: Likewise.
15435 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15436
347dc102
TT
154372016-06-10 Tom Tromey <tom@tromey.com>
15438
15439 PR rust/20110:
15440 * gdb.rust/expr.exp: Add test for integer constant larger than
15441 i32.
15442
5e13cf25
BH
154432016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15444
15445 * gdb.fortran/nested-funcs.exp: New.
15446 * gdb.fortran/nested-funcs.f90: New.
15447
bb556f1f
TK
154482016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15449
15450 * gdb.base/examine-backward.c: New file.
15451 * gdb.base/examine-backward.exp: New file.
15452
38b022b4
SM
154532016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15454
15455 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15456 matching.
15457
1b40ec05
TT
154582016-06-02 Tom Tromey <tom@tromey.com>
15459
15460 PR python/18984:
15461 * gdb.python/py-shared.exp: Add solib_name test.
15462
193bd378
SM
154632016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15464
15465 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15466
3326303b
MG
154672016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15468
15469 PR c++/19893
15470 * gdb.dwarf2/implref.exp: Rename to...
15471 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15472 * gdb.dwarf2/implref-array.c: New file.
15473 * gdb.dwarf2/implref-array.exp: Likewise.
15474 * gdb.dwarf2/implref-global.c: Likewise.
15475 * gdb.dwarf2/implref-global.exp: Likewise.
15476 * gdb.dwarf2/implref-struct.c: Likewise.
15477 * gdb.dwarf2/implref-struct.exp: Likewise.
15478
825c8ef2
AT
154792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15480
15481 * gdb.trace/trace-condition.exp: Add 64bit tests.
15482
2320162a
AT
154832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15484
15485 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15486 bits types.
15487 (main): Adapt to 8 to 64 bits types.
15488 * gdb.trace/trace-condition.exp: Add new tests.
15489
a7818233
AT
154902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15491
15492 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15493
0d336466
AT
154942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15495
15496 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15497 Move condition tests...
15498 * gdb.trace/trace-condition.exp: Here.
15499
7faeb45a
AT
155002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15501
15502 * gdb.trace/trace-condition.exp: Add counter-case tests.
15503
e385593e
JK
155042016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15505
15506 PR c++/15231
15507 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15508 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15509
744608cc
PA
155102016-05-27 Pedro Alves <palves@redhat.com>
15511
15512 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15513 New procedure.
15514 (top level): Call it, and bail out of DejaGnu is known to be bad.
15515
ac775bf4
AB
155162016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15517
15518 * gdb.base/whatis.c: Extend the test case.
15519 * gdb.base/whatis.exp: Add additional tests.
15520
2bbad2ea
BH
155212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15522
15523* gdb.fortran/type.f90: Add pointer variable.
15524* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15525
8b70175d
BH
155262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15527
15528 * gdb.fortran/vla-type.exp: Fix testcase name.
15529
86d8a848
BH
155302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15531
15532 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15533
e188eb36
BH
155342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15535
15536 * gdb.fortran/type.f90: Add nested structures.
15537 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15538 * gdb.fortran/derived-type.exp: Adapt expected output.
15539 * gdb.fortran/vla-type.exp: Adapt expected output.
15540
9b2db1fd
BH
155412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15542
15543 * gdb.fortran/whatis_type.exp: Adapt expected output.
15544
72b17055
BH
155452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15546
15547 * gdb.fortran/print_type.exp: Fix expected output.
15548 * gdb.fortran/whatis_type.exp: Fix expected output.
15549
3cd81d8d
BH
155502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15551
15552 * gdb.fortran/whatis_type.exp: Use multi_line.
15553
ddae9462
TT
155542016-05-24 Tom Tromey <tom@tromey.com>
15555
15556 PR python/17386:
15557 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15558 use value as an index.
15559
1957f6b8
TT
155602016-05-23 Tom Tromey <tom@tromey.com>
15561
15562 PR python/17981:
15563 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15564 no-breakpoint case.
15565
026a9174
PA
155662016-05-24 Pedro Alves <palves@redhat.com>
15567
15568 PR gdb/19828
15569 * gdb.threads/clone-attach-detach.c: New file.
15570 * gdb.threads/clone-attach-detach.exp: New file.
15571
e70a7231
FR
155722016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15573
15574 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15575
0f6ed0e0
TT
155762016-05-23 Tom Tromey <tom@tromey.com>
15577
15578 PR python/19438, PR python/18393:
15579 * gdb.python/py-progspace.exp: Add "dir" test.
15580 * gdb.python/py-objfile.exp: Add "dir" test.
15581
ffd19d61
YQ
155822016-05-23 Yao Qi <yao.qi@linaro.org>
15583
15584 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15585 * gdb.arch/thumb2-it.exp: Likewise.
15586
9e8f9b05
SM
155872016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15588
15589 * gdb.mi/mi-threads-interrupt.c: New file.
15590 * gdb.mi/mi-threads-interrupt.exp: New file.
15591
61c6156d
SM
155922016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15593
15594 PR gdb/18077
15595 * gdb.mi/mi-async-run.exp: New file.
15596 * gdb.mi/mi-async-run.c: New file.
15597
67218854
TT
155982016-05-17 Tom Tromey <tom@tromey.com>
15599 Manish Goregaokar <manishsmail@gmail.com>
15600
15601 * lib/rust-support.exp: New file.
15602 * lib/gdb.exp (skip_rust_tests): New proc.
15603 (build_executable_from_specs): Handle rust.
15604 * lib/future.exp (gdb_find_rustc): New proc.
15605 (gdb_default_target_compile): Handle rust.
15606 * gdb.rust/expr.exp: New file.
15607 * gdb.rust/generics.exp: New file.
15608 * gdb.rust/generics.rs: New file.
15609 * gdb.rust/methods.exp: New file.
15610 * gdb.rust/methods.rs: New file.
15611 * gdb.rust/modules.exp: New file.
15612 * gdb.rust/modules.rs: New file.
15613 * gdb.rust/simple.exp: New file.
15614 * gdb.rust/simple.rs: New file.
15615
c44af4eb
TT
156162016-05-17 Tom Tromey <tom@tromey.com>
15617
15618 * gdb.base/default.exp (set language): Add rust.
15619
dcd1f979
TT
156202016-05-17 Tom Tromey <tom@tromey.com>
15621
15622 * gdb.gdb/unittest.exp: New file.
15623
155b7f57
YQ
156242016-05-16 Yao Qi <yao.qi@linaro.org>
15625
15626 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15627 shell_prompt. Update shell_prompt_re.
15628
8ddd5a6c
DE
156292016-05-12 Doug Evans <dje@google.com>
15630
15631 PR symtab/19999
15632 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15633 $options when building executable.
15634 * gdb.dwarf2/fission-loclists-pie.S: New file.
15635 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15636
02e370d9
SM
156372016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15638
15639 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15640 of [is_remote target],
15641
8929ad8b
SM
156422016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15643
15644 * lib/gdb.exp (use_gdb_stub): New procedure.
15645
6c447423
DE
156462016-05-03 Yunlian Jiang <yunlian@google.com>
15647 Doug Evans <dje@google.com>
15648
15649 PR symtab/19914
15650 * gdb.dwarf2/dwp-sepdebug.c: New file.
15651 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15652
444e826c
SM
156532016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15654
15655 * gdb.base/detach.exp: Remove is_remote check.
15656
740feeaa
SM
156572016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15658
15659 * gdb.base/annota-input-while-running.exp: Don't check for
15660 [is_remote target]. Enable annotations after running to main.
15661 Remove unused "set test..." line.
15662
9080ac9d
SM
156632016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15664
15665 * gdb.trace/trace-enable-disable.exp: New file.
15666 * gdb.trace/trace-enable-disable.c: New file.
15667
952ebca5
SM
156682016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15669
15670 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15671 use it in info sharedlibrary test.
15672 * gdb.trace/ftrace-lock.exp: Likewise.
15673 * gdb.trace/ftrace.exp: Likewise.
15674 * gdb.trace/range-stepping.exp: Likewise.
15675 * gdb.trace/trace-break.exp: Likewise.
15676 * gdb.trace/trace-condition.exp: Likewise.
15677 * gdb.trace/trace-mt.exp: Likewise.
15678
d9019901
SM
156792016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15680
15681 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15682 (gdb_load_shlib): ... this.
15683 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15684 gdb_load_shlib.
15685 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15686 * gdb.base/ctxobj.exp: Likewise.
15687 * gdb.base/dprintf-pending.exp: Likewise.
15688 * gdb.base/dso2dso.exp: Likewise.
15689 * gdb.base/fixsection.exp: Likewise.
15690 * gdb.base/gcore-relro.exp: Likewise.
15691 * gdb.base/gdb1555.exp: Likewise.
15692 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15693 * gdb.base/gnu-ifunc.exp: Likewise.
15694 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15695 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15696 * gdb.base/pending.exp: Likewise.
15697 * gdb.base/print-file-var.exp: Likewise.
15698 * gdb.base/print-symbol-loading.exp: Likewise.
15699 * gdb.base/shlib-call.exp: Likewise.
15700 * gdb.base/shreloc.exp: Likewise.
15701 * gdb.base/so-impl-ld.exp: Likewise.
15702 * gdb.base/solib-disc.exp: Likewise.
15703 * gdb.base/solib-nodir.exp: Likewise.
15704 * gdb.base/solib-overlap.exp: Likewise.
15705 * gdb.base/solib-symbol.exp: Likewise.
15706 * gdb.base/solib-weak.exp (do_test): Likewise.
15707 * gdb.base/sym-file.exp: Likewise.
15708 * gdb.base/symtab-search-order.exp: Likewise.
15709 * gdb.base/type-opaque.exp: Likewise.
15710 * gdb.base/unload.exp: Likewise.
15711 * gdb.base/watchpoint-solib.exp: Likewise.
15712 * gdb.compile/compile.exp: Likewise.
15713 * gdb.cp/gdb2384.exp: Likewise.
15714 * gdb.cp/infcall-dlopen.exp: Likewise.
15715 * gdb.cp/re-set-overloaded.exp: Likewise.
15716 * gdb.fortran/library-module.exp: Likewise.
15717 * gdb.opt/solib-intra-step.exp: Likewise.
15718 * gdb.python/py-finish-breakpoint.exp: Likewise.
15719 * gdb.python/py-shared.exp: Likewise.
15720 * gdb.reverse/solib-precsave.exp: Likewise.
15721 * gdb.reverse/solib-reverse.exp: Likewise.
15722 * gdb.server/solib-list.exp: Likewise.
15723 * gdb.threads/dlopen-libpthread.exp: Likewise.
15724 * gdb.threads/tls-shared.exp: Likewise.
15725 * gdb.threads/tls-so_extern.exp: Likewise.
15726 * gdb.trace/change-loc.exp: Likewise.
15727 * gdb.trace/ftrace-lock.exp: Likewise.
15728 * gdb.trace/ftrace.exp: Likewise.
15729 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15730 * gdb.trace/pending.exp: Likewise.
15731 * gdb.trace/range-stepping.exp: Likewise.
15732 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15733 (strace_info_marker): Likewise.
15734 (strace_probe_marker): Likewise.
15735 (strace_trace_on_same_addr): Likewise.
15736 (strace_trace_on_diff_addr): Likewise.
15737 * gdb.trace/trace-break.exp: Likewise.
15738 * gdb.trace/trace-condition.exp: Likewise.
15739 * gdb.trace/trace-mt.exp: Likewise.
15740
fca4cfd9
SM
157412016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15742
15743 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15744 result of gdb_remote_download.
15745 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15746 * gdb.base/dso2dso.exp: Likewise.
15747 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15748 * gdb.base/print-file-var.exp: Likewise.
15749 * gdb.base/shlib-call.exp: Likewise.
15750 * gdb.base/shreloc.exp: Likewise.
15751 * gdb.base/solib-overlap.exp: Likewise.
15752 * gdb.base/solib-weak.exp (do_test): Likewise.
15753 * gdb.base/unload.exp: Likewise.
15754
11cf4ffb
YQ
157552016-04-27 Yao Qi <yao.qi@linaro.org>
15756
15757 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15758 exists.
15759
3e2e34f8
KB
157602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15761
15762 * vla-type.exp: Print structure from toplevel.
15763
8f07e298
BH
157642016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15765
15766 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15767 of dynamic types.
15768 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15769 of dynamic types.
15770
9920b434
BH
157712016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15772
15773 * gdb.fortran/vla-type.f90: New file.
15774 * gdb.fortran/vla-type.exp: New file.
15775
f3abeff5
YQ
157762016-04-25 Yao Qi <yao.qi@linaro.org>
15777
15778 * gdb.base/branch-to-self.c: New file.
15779 * gdb.base/branch-to-self.exp: New file.
15780
0a5d52f0
YQ
157812016-04-22 Yao Qi <yao.qi@linaro.org>
15782
15783 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15784 more after $hex.
15785
495346f6
YQ
157862016-04-22 Yao Qi <yao.qi@linaro.org>
15787
15788 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15789 * gdb.base/annota3.exp: Likewise.
15790
4a7e075c
YQ
157912016-04-22 Yao Qi <yao.qi@linaro.org>
15792
15793 * gdb.reverse/step-precsave.exp: Do one step and test program
15794 stops in "callee" and do multiple steps until program goes out
15795 of "callee".
15796 * gdb.reverse/step-reverse.exp: Likewise.
15797
5b061e98
YQ
157982016-04-22 Yao Qi <yao.qi@linaro.org>
15799
15800 * gdb.trace/signal.exp: Also pass if
15801 $tracepoint_hits($i) > $iterations.
15802
5c5dc57f
YQ
158032016-04-22 Yao Qi <yao.qi@linaro.org>
15804
15805 * gdb.trace/signal.c: New file.
15806 * gdb.trace/signal.exp: New file.
15807
a55411b9
DE
158082016-04-19 Doug Evans <xdje42@gmail.com>
15809
15810 * gdb.base/bad-file.exp: New file.
15811
a22df60a
MG
158122016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15813
15814 * gdb.dwarf2/implref.exp: New file.
15815
0c13f7e5
BH
158162016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15817
15818 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15819 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15820 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15821 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15822 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15823 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15824 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15825 * lib/fortran.exp (fortran_int4): New procedure.
15826 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15827 (fortran_logical4): Likewise.
15828
9b9b09e9
BH
158292016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15830
15831 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15832
a14d1f4d
BH
158332016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15834
15835 * lib/compiler.c: Add Intel specific preprocessor macros.
15836 * lib/compiler.cc: Likewise.
25d49b86 15837
7d49b1d0
LM
158382016-04-13 Luis Machado <lgustavo@codesourcery.com>
15839
15840 * gdb.server/connect-with-no-symbol-file.c: New file.
15841 * gdb.server/connect-with-no-symbol-file.exp: New file.
15842
8392fa22
SM
158432016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15844
15845 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15846
8c4c4aeb
SM
158472016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15848
15849 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15850 standard output directory.
15851
45e3745e
AT
158522016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15853
15854 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15855
e26b7e41
MM
158562016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15857
15858 * gdb.btrace/instruction_history.c (loop): Add declaration.
15859
8ce09462
AT
158602016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15861
15862 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15863
2e88a1ea
SM
158642016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15865
15866 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15867 parentheses to print.
15868 (continue_handler): Likewise.
15869
f48e22e3
SM
158702016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15871
15872 * gdb.server/solib-list.exp: Remove is_remote check.
15873 Pass shlib= to gdb_compile. Don't link shared library with
15874 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15875 Run binary filename through "readlink -f" on the target.
15876
096be756
PA
158772016-04-08 Pedro Alves <palves@redhat.com>
15878
15879 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15880 interpreter filename as argument to gdbserver_spawn.
15881 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15882 Return empty if $last_loaded_file does not exist.
15883
06500533
JK
158842016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15885
15886 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15887 * gdb.base/jit-main.c: Use exit after usage.
15888
2d35e871
JK
158892016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15890
15891 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15892 GDBHISTSIZE prior to the tests.
15893 * gdb.base/gdbinit-history.exp: Likewise.
15894
158952016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15896
15897 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15898 instead of build_executable. Use gdb_load_shlibs.
15899
c8064e7e
YQ
159002016-04-07 Yao Qi <yao.qi@linaro.org>
15901
15902 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15903 Execute "si" command.
15904
bde47561
YQ
159052016-04-07 Yao Qi <yao.qi@linaro.org>
15906
15907 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15908 number instead of the comments on some line.
15909
b16f8a3b
DB
159102016-04-06 Don Breazeal <donb@codesourcery.com>
15911
15912 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15913 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15914
c2f901df
SM
159152016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15916
15917 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15918 standard_output_file. Remove unused binfile variable.
15919
ac17fda0
CU
159202016-04-05 Catalin Udma <catalin.udma@freescale.com>
15921
15922 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15923 * gdb.python/py-mi-objfile.exp: Match "list main" output
15924 in console format.
15925
03a8c4df
SM
159262016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15927
15928 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15929 absolute.
15930
6e774b13
SM
159312016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15932
15933 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15934 absolute.
15935 * gdb.trace/ftrace.exp: Likewise.
15936 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15937 targets as well.
15938 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15939 (gdb_load_shlibs): Copy libraries to test directory when testing
15940 natively. Only set solib-search-path if testing remotely.
15941 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15942
7817ea46
SM
159432016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15944
15945 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15946 gdb_download. Use it even if the target is not remote.
15947 * gdb.base/jit.exp (compile_jit_test): Likewise.
15948 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15949 output directory if the destination board is local, otherwise use
15950 the standard remote_download from DejaGnu.
15951 (gdb_download): Remove.
15952 (gdb_load_shlibs): Use gdb_remote_download instead of
15953 gdb_download.
15954 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15955 Use gdb_remote_download instead of gdb_download. Use it even if
15956 the target is not remote.
15957 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15958 instead of gdb_download.
15959
7beb7f68
SM
159602016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15961
15962 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15963 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15964 run.
15965
cc63428a
AV
159662016-04-01 Artemiy Volkov <artemiyv@acm.org>
15967
15968 PR gdb/19820
15969 * gdb.base/printcmds.exp: Add artificial arrays tests.
15970
64cdf930
PA
159712016-03-31 Pedro Alves <palves@redhat.com>
15972
15973 PR gdb/19858
15974 * gdb.base/jit-main.c: Include unistd.h.
15975 (ATTACH): Define to 0 if not already defined.
15976 (wait_for_gdb, mypid): New globals.
15977 (WAIT_FOR_GDB): New macro.
15978 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15979 some breakpoint locations.
15980 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15981 New procedures.
15982 (one_jit_test): Add REATTACH parameter, and handle it. Use
15983 continue_to_test_location.
15984 (top level): Test attach, and adjusts calls to one_jit_test.
15985
40dea8cb
PA
159862016-03-31 Pedro Alves <palves@redhat.com>
15987
15988 PR gdb/19858
15989 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15990 BINSUFFIX parameter, and handle it.
15991 (top level): Adjust calls compile_jit_test.
15992
e7ea3ec7
CU
159932016-03-31 Catalin Udma <catalin.udma@freescale.com>
15994
15995 PR python/19743
15996 * gdb.python/py-mi-events-gdb.py: New file.
15997 * gdb.python/py-mi-events.c: New file.
15998 * gdb.python/py-mi-events.exp: New file.
15999
e6359af3
YQ
160002016-03-30 Yao Qi <yao.qi@linaro.org>
16001
16002 * gdb.reverse/until-precsave.exp: Match function name only.
16003 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16004 Move malloc to a condition block.
16005 * gdb.reverse/until-reverse.exp: Match function name only.
16006
a4105d04
MK
160072016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16008
16009 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16010 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16011 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16012 variable for GPR 0 instead of assuming it is register 0.
16013 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16014 * lib/trace-support.exp: Add s390 registers.
16015
bfa6adb9
YQ
160162016-03-29 Yao Qi <yao.qi@linaro.org>
16017
16018 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16019
1e6697ea
YQ
160202016-03-24 Yao Qi <yao.qi@linaro.org>
16021
16022 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16023 test message.
16024
64bcd522
AA
160252016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16026
16027 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16028 maintaining separate logic for constructing the output path.
16029
7868401b
DB
160302016-03-16 Don Breazeal <donb@codesourcery.com>
16031
16032 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16033 Retry fork and waitpid on interrupted system call errors.
16034 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16035 Use with_timeout_factor to increase timeout by factor of 10.
16036
1cafadb4
DB
160372016-03-15 Don Breazeal <donb@codesourcery.com>
16038
16039 * gdb.cp/scope-err.cc: New test program.
16040 * gdb.cp/scope-err.exp: New test script.
16041 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16042 lines and "set breakpoint here" comment.
16043 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16044 Fixed some whitespace and format issues.
16045 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16046 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16047
81516450
DE
160482016-03-15 Doug Evans <dje@google.com>
16049
16050 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16051 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16052 All callers updated. Add tests for enums, mixed flags register.
16053
aa52b601
DE
160542016-03-15 Doug Evans <dje@google.com>
16055
16056 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16057 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16058
fa4ff313
SM
160592016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16060
16061 * gdb.base/default.exp: Add $_as_string to the list of expected
16062 convenience functions.
16063
f2403c39
AB
160642016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16065
16066 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16067
f2f3ccb9
SM
160682016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16069
16070 * gdb.python/py-as-string.exp: New file.
16071 * gdb.python/py-as-string.c: New file.
16072
00dbd492
PA
160732016-03-09 Pedro Alves <palves@redhat.com>
16074
16075 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16076 signal" -> "Thread NN received signal" output change.
16077 * gdb.threads/ia64-sigill.exp: Likewise.
16078 * gdb.threads/linux-dp.exp: Likewise.
16079 * gdb.threads/manythreads.exp: Likewise.
16080 * gdb.threads/pending-step.exp: Likewise.
16081 * gdb.threads/print-threads.exp: Likewise.
16082 * gdb.threads/sigstep-threads.exp: Likewise.
16083 * gdb.threads/staticthreads.exp: Likewise.
16084 * gdb.threads/tls.exp: Likewise.
16085
1e6697ea
YQ
160862016-03-09 Pedro Alves <palves@redhat.com>
16087
16088 * gdb.base/command-line-input.exp: New file.
16089
b04fd3be
MK
160902016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16091
16092 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16093 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16094 * gdb.trace/pending.exp: Accept leading dot before function name.
16095 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16096 * lib/trace-support.exp: Set registers for ppc.
16097
98fa59e9
MK
160982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16099
16100 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16101 use it for disassembly; accept .main in addition to main in backtrace.
16102
f77198c8
MK
161032016-03-09 Wei-cheng Wang <cole945@gmail.com>
16104 Marcin Kościelnicki <koriakin@0x04.net>
16105
16106 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16107 (gdb_recursion_test_ptr): New global variable.
16108 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16109 gdb_recursion_test.
16110 (gdb_c_test): Ditto.
16111
ba84e0da
MK
161122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16113
16114 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16115 ordering.
16116
4366d36e
MK
161172016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16118
16119 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16120 (bar): Add bar_start_lbl label.
16121 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16122 of foo/bar for emitting DWARF and tracing.
16123
5eb264df
SDJ
161242016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16125
16126 * analyze-racy-logs.py: Set executable bit.
16127
fb6a751f
SDJ
161282016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16129
16130 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16131 (CHECK_TARGET_TMP): Likewise.
16132 (check-single-racy): New rule.
16133 (check-parallel-racy): Likewise.
16134 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16135 (do-check-parallel-racy): New rule.
16136 (check-racy/%.exp): Likewise.
16137 * README (Racy testcases): New section.
16138 * analyze-racy-logs.py: New file.
16139
bdf7e230
DE
161402016-03-03 Doug Evans <dje@google.com>
16141
16142 * gdb.base/skip.exp: Use with_test_prefix.
16143
4719d415
YQ
161442016-03-03 Yao Qi <yao.qi@linaro.org>
16145
16146 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16147 Invoke step_over_syscall "clone" and break_cond_on_syscall
16148 "clone".
16149 * gdb.base/step-over-clone.c: New file.
16150
ea507862
YQ
161512016-03-03 Yao Qi <yao.qi@linaro.org>
16152
16153 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16154 code format.
16155
8fc8cbda
YQ
161562016-03-03 Yao Qi <yao.qi@linaro.org>
16157
16158 * gdb.base/disp-step-fork.c: Rename to ...
16159 * gdb.base/step-over-fork.c: ... it. New file.
16160 * gdb.base/disp-step-vfork.c: Rename to ...
16161 * gdb.base/step-over-vfork.c: ... it. New file.
16162 * gdb.base/disp-step-syscall.exp: Rename to ...
16163 * gdb.base/step-over-syscall.exp: ... it. New file.
16164 (disp_step_cross_syscall): Rename to ...
16165 (step_over_syscall): ... it.
16166
92fa70b0
YQ
161672016-03-03 Yao Qi <yao.qi@linaro.org>
16168
16169 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16170 If target supports condition evaluation on target, invoke
16171 break_cond_on_syscall for fork and vfork.
16172
e197ad3c
YQ
161732016-03-03 Yao Qi <yao.qi@linaro.org>
16174
16175 * gdb.base/disp-step-syscall.exp: Don't invoke
16176 support_displaced_stepping.
16177 (disp_step_cross_syscall): Test with displaced stepping off and
16178 on if supported.
16179
0b47da9f
YQ
161802016-03-03 Yao Qi <yao.qi@linaro.org>
16181
16182 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16183 proc.
16184 (setup): New proc.
16185 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16186 and setup.
16187
065ab6dc
BH
161882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16189
16190 * gdb.fortran/vla-history.exp: Remove breakpoint.
16191
07e448ad 161922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16193
25d49b86
PA
16194 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16195 exceeds timeout.
07e448ad 16196
9ac2d526 161972016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16198
25d49b86
PA
16199 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16200 breakpoint.
9ac2d526 16201
17807369
BH
162022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16203
16204 * gdb.mi/vla.f90: Nullify pointer after declaration.
16205
86e501af
PA
162062016-03-01 Pedro Alves <palves@redhat.com>
16207
16208 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16209
1e903e32
PA
162102016-03-01 Pedro Alves <palves@redhat.com>
16211
16212 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16213 before anything else.
16214 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16215 _GNU_SOURCE here.
16216 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16217 before anything else.
16218 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16219
6ccb54e2
PA
162202016-03-01 Pedro Alves <palves@redhat.com>
16221
16222 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16223
30ca9da1
YQ
162242016-03-01 Yao Qi <yao.qi@linaro.org>
16225
16226 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16227 prepare_for_testing.
16228
dc856b38
YQ
162292016-03-01 Yao Qi <yao.qi@linaro.org>
16230
16231 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16232
4a932159
AA
162332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16234
16235 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16236 manually constructing the output path.
16237
f2489477
AA
162382016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16239
16240 * gdb.arch/s390-stackless.S: New.
16241 * gdb.arch/s390-stackless.exp: New.
16242
38899f16
IB
162432016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16244
16245 * gdb.dlang/circular.c: New file.
16246 * gdb.dlang/circular.exp: New file.
16247
9fde51ed
YQ
162482016-02-26 Yao Qi <yao.qi@linaro.org>
16249
16250 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16251 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16252 (testcases): Update.
16253
ce90fefe
YQ
162542016-02-26 Yao Qi <yao.qi@linaro.org>
16255
16256 * gdb.reverse/aarch64.c: Rename to ...
16257 * gdb.reverse/insn-reverse.c: ... it.
16258 * gdb.reverse/aarch64.exp: Rename to ...
16259 * gdb.reverse/insn-reverse.exp: ... it.
16260
3263bceb
YQ
162612016-02-26 Yao Qi <yao.qi@linaro.org>
16262
16263 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16264 (testcase_ftype): New.
16265 (testcases): New array.
16266 (n_testcases): New.
16267 (main): Call each element in testcases.
16268 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16269 (read_testcase): New.
16270 Do the tests in a loop.
16271
6cb59ff1
YQ
162722016-02-25 Yao Qi <yao.qi@linaro.org>
16273
16274 * gdb.base/branches.c: Remove.
16275
ae91f625
MK
162762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16277
16278 PR gdb/13808
16279 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16280
678b48b7
MK
162812016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16282
16283 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16284
7337a6f2
MK
162852016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16286
16287 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16288 change x86_64 call_insn to 'callq'.
16289
861ca91f
AT
162902016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16291
16292 * gdb.trace/tfile-avx.c: Move to...
16293 * gdb.trace/tracefile-pseudo-reg.c: Here.
16294 * gdb.trace/tfile-avx.exp: Move to...
16295 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16296
bf74e428
GB
162972016-02-24 Gary Benson <gbenson@redhat.com>
16298
16299 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16300 message on attach.
16301
cce0e923
DE
163022016-02-23 Doug Evans <dje@google.com>
16303
16304 * gdb.base/skip.c (test_skip): New function.
16305 (end_test_skip_file_and_function): New function.
16306 (test_skip_file_and_function): New function.
16307 * gdb.base/skip1.c (test_skip): New function.
16308 (skip1_test_skip_file_and_function): New function.
16309 * gdb.base/skip.exp: Add tests for new skip options.
16310 * gdb.base/skip-solib.exp: Update expected output.
16311 * gdb.perf/skip-command.cc: New file.
16312 * gdb.perf/skip-command.exp: New file.
16313 * gdb.perf/skip-command.py: New file.
16314
4000e47e
MK
163152016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16316
16317 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16318 info registers pattern.
16319
24f75ead
IB
163202016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16321
16322 * lib/future.exp: Add D support.
16323 (gdb_find_gdc): New proc.
16324 (gdb_default_target_compile): Add D support.
16325
fbb7bcbe
WW
163262016-02-18 Wei-cheng Wang <cole945@gmail.com>
16327
16328 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16329 user+system time.
16330 (trace_speed_test): Determine the iteration count for a time
16331 between 15..30 seconds.
16332
012b3a21
WT
163332016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16334
16335 * gdb.arch/i386-mpx-sigsegv.c: New file.
16336 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16337 * gdb.arch/i386-mpx-simple_segv.c: New file.
16338 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16339
2d5189bd
YQ
163402016-02-18 Yao Qi <yao.qi@linaro.org>
16341
16342 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16343 Don't call setup_kfail.
16344
40fb20d0
YQ
163452016-02-18 Yao Qi <yao.qi@linaro.org>
16346
16347 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16348 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16349
21b1f8d2
DE
163502016-02-16 Doug Evans <dje@google.com>
16351
16352 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16353 * gdb.base/skip1.c: Ditto.
16354 * gdb.base/skip.exp: Whitespace cleanup.
16355
4041ed77
DB
163562016-02-16 Don Breazeal <donb@codesourcery.com>
16357
16358 PR remote/19496
16359 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16360 Remove kfail for PR remote/19496.
16361
c4ef31bf
SM
163622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16363
16364 * lib/gdb.exp (standard_temp_file): Return a path specific to
16365 the runtest invocation.
16366
266b65b3
SM
163672016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16368
16369 * gdb.trace/save-trace.exp: Change relative path to be in the
16370 standard output directory.
16371
a7a0a6a9
JK
163722016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16373
16374 * gdb.arch/i386-prologue.c: Add missing prototypes.
16375
c99dbb42
JK
163762016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16377
16378 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16379 * gdb.arch/i386-prologue.exp: Likewise.
16380 * gdb.arch/i386-size.exp: Likewise.
16381
aa480355
SM
163822016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16383
16384 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16385 define object file path.
16386 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16387 file path.
16388 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16389 standard_output_file to define binfile.
16390
ba881f50
JK
163912016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16392
16393 Fix compatibility with recent gfortran-5.3.1.
16394 * gdb.fortran/vla-history.exp (print vla1 allocated)
16395 (print vla2 allocated, print $2, print $3): Remove
16396 (print $4): Rename to ...
16397 (print $2): ... here.
16398 (print $9): Rename to ...
16399 (print $5): ... here.
16400 (print $10): Rename to ...
16401 (print $6): ... here.
16402 * gdb.fortran/vla.f90: Add pvla initialization.
16403
e9fb005c
JK
164042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16405
16406 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16407 New test.
16408 * gdb.fortran/vla-value-sub.exp: Likewise.
16409
e44e00ff
MK
164102016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16411
16412 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16413
97e94151
SM
164142016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16415
16416 * i386-biarch-core.exp: Define corefile using
16417 standard_output_file.
16418
01113bc1
YQ
164192016-02-12 Yao Qi <yao.qi@linaro.org>
16420
16421 * gdb.arch/arm-single-step-kernel-helper.c: New.
16422 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16423
33b4777c
MM
164242016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16425
16426 * gdb.btrace/tailcall-only.exp: New.
16427 * gdb.btrace/tailcall-only.c: New.
16428 * gdb.btrace/x86_64-tailcall-only.S: New.
16429 * gdb.btrace/i686-tailcall-only.S: New.
16430
acc23c11
PA
164312016-02-11 Pedro Alves <palves@redhat.com>
16432
16433 * README (Parallel testing): Add missing double quotes.
16434
e352bf0a
PA
164352016-02-11 Pedro Alves <palves@redhat.com>
16436
16437 * README (Parallel testing): New section.
16438 (GDB_PARALLEL): Rewrite.
16439 (FORCE_PARALLEL): Document.
16440
9f5fed78
MK
164412016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16442
16443 * gdb.trace/tfile-avx.c: New test.
16444 * gdb.trace/tfile-avx.exp: New test.
16445
9ef9e6a6
KS
164462016-02-09 Keith Seitz <keiths@redhat.com>
16447
16448 PR breakpoints/19546
16449 * gdb.base/infcall-exec.c: New file.
16450 * gdb.base/infcall-exec2.c: New file.
16451 * gdb.base/infcall-exec.exp: New file.
16452
a96e36da
KS
164532016-02-09 Keith Seitz <keiths@redhat.com>
16454
16455 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16456 (toplevel): Call test_bkpt_address.
16457
9f61929f
KS
164582016-02-09 Keith Seitz <keiths@redhat.com>
16459
16460 PR python/19506
16461 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16462 (toplevel): Call test_bkpt_address.
16463
1e94266c
SM
164642016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16465
16466 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16467 to AC_OUTPUT.
16468 * configure: Regenerate.
16469
2a7f3dff
PA
164702016-02-09 Pedro Alves <palves@redhat.com>
16471
16472 PR breakpoints/19548
16473 * gdb.base/execl-update-breakpoints.c (some_function): New
16474 function.
16475 (main): Call it.
16476 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16477 Tighten expected GDB output.
16478
2151ccc5
SM
164792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16480
16481 * Makefile.in (ALL_SUBDIRS): Remove.
16482 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16483 (distclean maintainer-clean realclean): Likewise.
16484 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16485 * configure: Regenerate.
16486 * gdb.ada/Makefile.in: Delete.
16487 * gdb.arch/Makefile.in: Likewise.
16488 * gdb.asm/Makefile.in: Likewise.
16489 * gdb.base/Makefile.in: Likewise.
16490 * gdb.btrace/Makefile.in: Likewise.
16491 * gdb.cell/Makefile.in: Likewise.
16492 * gdb.compile/Makefile.in: Likewise.
16493 * gdb.cp/Makefile.in: Likewise.
16494 * gdb.disasm/Makefile.in: Likewise.
16495 * gdb.dlang/Makefile.in: Likewise.
16496 * gdb.dwarf2/Makefile.in: Likewise.
16497 * gdb.fortran/Makefile.in: Likewise.
16498 * gdb.gdb/Makefile.in: Likewise.
16499 * gdb.go/Makefile.in: Likewise.
16500 * gdb.guile/Makefile.in: Likewise.
16501 * gdb.java/Makefile.in: Likewise.
16502 * gdb.linespec/Makefile.in: Likewise.
16503 * gdb.mi/Makefile.in: Likewise.
16504 * gdb.modula2/Makefile.in: Likewise.
16505 * gdb.multi/Makefile.in: Likewise.
16506 * gdb.objc/Makefile.in: Likewise.
16507 * gdb.opencl/Makefile.in: Likewise.
16508 * gdb.opt/Makefile.in: Likewise.
16509 * gdb.pascal/Makefile.in: Likewise.
16510 * gdb.perf/Makefile.in: Likewise.
16511 * gdb.python/Makefile.in: Likewise.
16512 * gdb.reverse/Makefile.in: Likewise.
16513 * gdb.server/Makefile.in: Likewise.
16514 * gdb.stabs/Makefile.in: Likewise.
16515 * gdb.threads/Makefile.in: Likewise.
16516 * gdb.trace/Makefile.in: Likewise.
16517 * gdb.xml/Makefile.in: Likewise.
16518 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16519 GDB_PARALLEL.
16520 (standard_output_file): Remove check for GDB_PARALLEL, always
16521 return path in outputs/$subdir/$testname.
16522
437277d4
SM
165232016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16524
16525 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16526 (site.exp): Assign abs_srcdir to tcl's srcdir.
16527
31d913c7
YQ
165282016-02-04 Yao Qi <yao.qi@linaro.org>
16529
16530 * gdb.base/foll-exec-mode.c: Include limits.h.
16531 (main): Add parameters argc and argv. Get directory from
16532 argv[0].
16533 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16534 compilation.
16535 * gdb.base/foll-exec.c: Include limits.h.
16536 (main): Add parameters argc and argv.
16537 Get directory from argv[0].
16538 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16539 Adjust tests on the number of lines as source code changed.
16540 * gdb.base/foll-vfork-exit.c: Include limits.h.
16541 (main): Add one line of statement before vfork.
16542 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16543 (main): Add parameters argc and argv. Get directory from
16544 argv[0].
16545 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16546 (setup_gdb): Set tbreak to skip some source lines.
16547 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16548 (main): Add parameters argc and argv. Get directory from
16549 argv[0].
16550 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16551 compilation.
16552 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16553 (main): Add parameters argc and argv. Get directory from
16554 argv[0].
16555 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16556 compilation.
16557
9482b9fb
DE
165582016-02-01 Doug Evans <dje@google.com>
16559
16560 * gdb.base/skip.exp: Clean up multiple references to same test name.
16561
6b2e4f10
PA
165622016-02-01 Pedro Alves <palves@redhat.com>
16563
ccb6afd6 16564 PR remote/19496
6b2e4f10
PA
16565 * gdb.threads/forking-threads-plus-breakpoint.exp
16566 (displaced_stepping_supported): New global.
16567 (probe_displaced_stepping_support): New procedure.
16568 (do_test): Add 'displaced' parameter, and use it.
16569 (top level): Check for displaced stepping support. Add displaced
16570 stepping on/off testing axis.
16571
37a8db1a
AB
165722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16573
16574 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16575 pointer. Don't perform further tests on the unassociated pointer
16576 if the first test fails.
16577
5fdf6324
AB
165782016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16579
16580 * gdb.base/max-value-size.c: New file.
16581 * gdb.base/max-value-size.exp: New file.
16582 * gdb.base/huge.exp: Disable max-value-size for this test.
16583
935c6144
IB
165842016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16585
16586 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16587
7fe8399d
YQ
165882016-01-28 Yao Qi <yao.qi@linaro.org>
16589
16590 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16591
a2077e25
PA
165922016-01-25 Pedro Alves <palves@redhat.com>
16593
16594 PR threads/19461
16595 * gdb.base/fork-running-state.c: New file.
16596 * gdb.base/fork-running-state.exp: New file.
16597
1d2736d4
PA
165982016-01-25 Pedro Alves <palves@redhat.com>
16599
16600 PR gdb/19494
16601 * gdb.base/catch-fork-kill.c: New file.
16602 * gdb.base/catch-fork-kill.exp: New file.
16603
f1da4b11
PA
166042016-01-25 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16607 Delete, moved to lib/gdb.exp.
16608 * gdb.threads/forking-threads-plus-breakpoint.exp
16609 (foreach_with_prefix): Likewise.
16610 * gdb.threads/process-dies-while-handling-bp.exp
16611 (foreach_with_prefix): Likewise.
16612 * lib/gdb.exp (foreach_with_prefix): New procedure.
16613
45f38546
MK
166142016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16615
16616 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16617 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16618
dc29a1ce
MK
166192016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16620
16621 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16622 endian targets.
16623
092127d7
JK
166242016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16625 Pedro Alves <palves@redhat.com>
16626
16627 Fix testsuite compatibility with Guile.
16628 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16629 number.
16630
31d765d3
JK
166312016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16632
16633 Fix testsuite compatibility with Guile.
16634 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16635 (thread 1): New test for backtrace through signal handler.
16636
1ac78c04
YQ
166372016-01-22 Yao Qi <yao.qi@linaro.org>
16638
16639 PR testsuite/19491
16640 * gdb.base/multi-forks.c: Include
16641 ../lib/unbuffer_output.c
16642 (main): Call gdb_unbuffer_output.
16643
4f5946a8
DE
166442016-01-21 Doug Evans <dje@google.com>
16645
16646 * lib/ada.exp (gdb_compile_ada): Fix typo.
16647
305e13e6
JB
166482016-01-21 Joel Brobecker <brobecker@adacore.com>
16649
16650 * gdb.base/break-fun-addr.exp: New file.
16651 * gdb.base/break-fun-addr1.c: New file.
16652 * gdb.base/break-fun-addr2.c: New file.
16653
5f5dfff6
SM
166542016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16655
16656 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16657 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16658 enum flag values.
16659
fd356fa2
AA
166602016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16661
16662 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16663 when GDB can not set the vector return value. Add more comments
16664 for clarification.
16665
9df22175
AT
166662016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16667
16668 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16669 command.
16670
41d1845e
SM
166712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16672
16673 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16674
01ac6840
SM
166752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16676
16677 * Makefile.in (check-single): Pass --status to runtest.
16678 (check/%.exp): Likewise.
16679
166802016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16681
16682 * Makefile.in (check-parallel): Propagate return code from make
16683 do-check-parallel.
16684
bd0a71fa
MK
166852016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16686
16687 * gdb.trace/ftrace.exp: Fix expected message on continue.
16688 * gdb.trace/pending.exp: Fix expected message on continue.
16689 * gdb.trace/trace-break.exp: Fix expected message on continue.
16690
8bcbad33
SM
166912016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16692
16693 * lib/gdb.exp (gdb_test): Remove unused global references.
16694
f303dbd6
PA
166952016-01-18 Pedro Alves <palves@redhat.com>
16696
16697 * gdb.base/async-shell.exp: Adjust expected output.
16698 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16699 * gdb.base/siginfo-thread.exp: Adjust expected output.
16700 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16701 * gdb.java/jnpe.exp: Adjust expected output.
16702 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16703 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16704 * gdb.threads/leader-exit.exp: Adjust expected output.
16705 * gdb.threads/manythreads.exp: Adjust expected output.
16706 * gdb.threads/pthreads.exp: Adjust expected output.
16707 * gdb.threads/schedlock.exp: Adjust expected output.
16708 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16709 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16710 expected output.
16711 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16712 output.
16713 * gdb.threads/sigthread.exp: Adjust expected output.
16714 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16715
b2789696
YQ
167162016-01-18 Yao Qi <yao.qi@linaro.org>
16717
16718 * gdb.guile/scm-section-script.c: Replace @progbits with
16719 %progbits.
16720 * gdb.python/py-section-script.c: Likewise.
16721
71ef29a8
PA
167222016-01-15 Pedro Alves <palves@redhat.com>
16723
16724 * gdb.multi/tids.exp: Test star wildcard ranges.
16725
3f5b7598
PA
167262016-01-15 Pedro Alves <palves@redhat.com>
16727
16728 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16729 command from "thread apply" invocation.
16730 (thr_apply_info_thr_invalid): Default the expected output to the
16731 input tid list.
16732 (top level): Add tests that use convenience variables. Add tests
16733 for "thread apply" with a valid TID list, but missing the command.
16734
663f6d42
PA
167352016-01-13 Pedro Alves <palves@redhat.com>
16736
16737 * gdb.base/default.exp: Expect $_gthread as well.
16738 * gdb.multi/tids.exp: Test $_gthread.
16739 * gdb.threads/thread-specific.exp: Test $_gthread.
16740
c84f6bbf
PA
167412016-01-13 Pedro Alves <palves@redhat.com>
16742
16743 * gdb.multi/tids.exp: Test "info threads -gid".
16744
22a02324
PA
167452016-01-13 Pedro Alves <palves@redhat.com>
16746
16747 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16748 Breakpoint.thread.
16749 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16750
5d5658a1
PA
167512016-01-07 Pedro Alves <palves@redhat.com>
16752
16753 * gdb.base/break.exp: Adjust to output changes.
16754 * gdb.base/hbreak2.exp: Likewise.
16755 * gdb.base/sepdebug.exp: Likewise.
16756 * gdb.base/watch_thread_num.exp: Likewise.
16757 * gdb.linespec/keywords.exp: Likewise.
16758 * gdb.multi/info-threads.exp: Likewise.
16759 * gdb.threads/thread-find.exp: Likewise.
16760 * gdb.multi/tids.c: New file.
16761 * gdb.multi/tids.exp: New file.
16762
84654457
PA
167632016-01-13 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16766
e3940304
PA
167672016-01-13 Pedro Alves <palves@redhat.com>
16768
16769 * gdb.base/default.exp: Expect $_inferior as well.
16770 * gdb.multi/base.exp: Test $_inferior.
16771
a911d87a
PA
167722016-01-13 Pedro Alves <palves@redhat.com>
16773
16774 PR breakpoints/19388
16775 * gdb.base/catch-signal-siginfo-cond.c: New file.
16776 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16777
82075af2
JS
167782016-01-12 Josh Stone <jistone@redhat.com>
16779 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16780
16781 * gdb.base/catch-syscall.c (do_execve): New variable.
16782 (main): Conditionally trigger an execve.
16783 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16784 (test_catch_syscall_execve): New, check entry/return across execve.
16785 (do_syscall_tests): Call test_catch_syscall_execve.
16786
e46eeedd
PA
167872016-01-12 Pedro Alves <palves@redhat.com>
16788
16789 * gdb.base/random-signal.exp (do_test): New procedure, with body
16790 of testcase moved in.
16791
01d8c27e
JK
167922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16793 Pedro Alves <palves@redhat.com>
16794
16795 * gdb.base/funcargs.exp (finish from indirectly called function):
16796 Reintroduce the case for 'First'.
16797
9a706302
JK
167982016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16799 Pedro Alves <palves@redhat.com>
16800
16801 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16802 (tcatch_vfork_then_child_follow_exec)
16803 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16804 identification.
16805
c0ecb95f
JK
168062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16807
16808 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16809 and repeats to unlimited.
16810 * gdb.python/py-value.exp: Likewise.
16811 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16812 and repeats to unlimited.
16813
6cfc1fcb
JK
168142016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16815
16816 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16817 and reordering the functions.
16818 * gdb.multi/hangout.c: Likewise.
16819 * gdb.multi/hello.c: Likewise.
16820
582a1b00
SM
168212016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16822
16823 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16824 absolute.
16825 (SingleStatisticTestResult.report): Use dict.keys instead of
16826 dict.iterkeys.
16827
79bc59cb
PA
168282016-01-06 Pedro Alves <palves@redhat.com>
16829
16830 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16831
43368e1d
MM
168322016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16833
16834 * gdb.btrace/dlopen.exp: New.
16835 * gdb.btrace/dlopen.c: New.
16836 * gdb.btrace/dlopen-dso.c: New.
16837
79fad5b8
SL
168382015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16839
16840 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16841 PATTERN argument is optional.
16842
ab8314b3
JB
168432015-12-24 Joel Brobecker <brobecker@adacore.com>
16844
16845 * lib/ada.exp (target_compile_ada_from_dir): New function.
16846 (gdb_compile_ada): Reimplement avoiding the use of project files.
16847 * gdb.ada/gnat_ada.gpr: Delete.
16848 * gdb.ada/cond_lang.exp: Adjust test to make path before
16849 filename optional.
16850 * gdb.ada/small_reg_param.exp: Likewise.
16851
fe33faff
SM
168522015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16853
16854 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16855
6d265cb4
TP
168562015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16857
16858 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16859 case.
16860
10125099
SM
168612015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16862
16863 * gdb.base/break.exp: Remove dead code.
16864 * gdb.base/sepdebug.exp: Likewise.
16865
3ca22649
SM
168662015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16867
16868 * gdb.asm/asm-source.exp: Remove HP-UX references.
16869 * gdb.base/annota1.exp: Likewise.
16870 * gdb.base/annota3.exp: Likewise.
16871 * gdb.base/attach.exp: Likewise.
16872 * gdb.base/bigcore.exp: Likewise.
16873 * gdb.base/break.exp: Likewise.
16874 * gdb.base/call-ar-st.exp: Likewise.
16875 * gdb.base/callfuncs.exp: Likewise.
16876 * gdb.base/catch-fork-static.exp: Likewise.
16877 * gdb.base/display.exp: Likewise.
16878 * gdb.base/foll-exec-mode.exp: Likewise.
16879 * gdb.base/foll-exec.exp: Likewise.
16880 * gdb.base/foll-fork.exp: Likewise.
16881 * gdb.base/foll-vfork.exp: Likewise.
16882 * gdb.base/funcargs.exp: Likewise.
16883 * gdb.base/hbreak2.exp: Likewise.
16884 * gdb.base/inferior-died.exp: Likewise.
16885 * gdb.base/interrupt.exp: Likewise.
16886 * gdb.base/multi-forks.exp: Likewise.
16887 * gdb.base/nodebug.exp: Likewise.
16888 * gdb.base/sepdebug.exp: Likewise.
16889 * gdb.base/solib1.c: Likewise.
16890 * gdb.base/step-test.exp: Likewise.
16891 * gdb.mi/non-stop.c: Likewise.
16892 * gdb.mi/pthreads.c: Likewise.
16893 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16894 * gdb.threads/pthreads.c: Likewise.
16895 * gdb.threads/staticthreads.exp: Likewise.
16896 * lib/future.exp: Likewise.
16897 * lib/gdb.exp: Likewise.
16898 * gdb.base/so-indr-cl.c: Remove.
16899 * gdb.base/so-indr-cl.exp: Likewise.
16900 * gdb.base/solib.c: Likewise.
16901 * gdb.base/solib.exp: Likewise.
16902 * gdb.base/solib2.c: Likewise.
16903
b6304613
SM
169042015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16905
16906 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16907 * gdb.base/call-ar-st.exp: Likewise.
16908 * gdb.base/callfuncs.exp: Likewise.
16909 * gdb.base/condbreak.exp: Likewise.
16910 * gdb.base/constvars.exp: Likewise.
16911 * gdb.base/hbreak2.exp: Likewise.
16912 * gdb.base/langs.exp: Likewise.
16913 * gdb.base/list.exp: Likewise.
16914 * gdb.base/long_long.exp: Likewise.
16915 * gdb.base/ptype.exp: Likewise.
16916 * gdb.base/scope.exp: Likewise.
16917 * gdb.base/signals.exp: Likewise.
16918 * gdb.base/so-impl-ld.exp: Likewise.
16919 * gdb.base/varargs.exp: Likewise.
16920 * gdb.base/volatile.exp: Likewise.
16921 * gdb.base/whatis.exp: Likewise.
16922 * gdb.cp/cplusfuncs.exp: Likewise.
16923 * gdb.cp/inherit.exp: Likewise.
16924 * gdb.cp/local.exp: Likewise.
16925 * gdb.cp/member-ptr.exp: Likewise.
16926 * gdb.cp/method.exp: Likewise.
16927 * gdb.cp/overload.exp: Likewise.
16928 * gdb.cp/templates.exp: Likewise.
16929 * gdb.stabs/weird.exp: Likewise.
16930 * lib/compiler.c: Likewise.
16931 * lib/compiler.cc: Likewise.
16932 * lib/cp-support.exp: Likewise.
16933 * lib/gdb.exp: Likewise.
16934
bf401b07
SM
169352015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16936
16937 * configure.ac: Remove HP-UX case.
16938 * configure: Regenerate.
16939
aff9c0f8
SM
169402015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16941
16942 * lib/gdb.exp (gdb_compile): Add function doc.
16943
a6904d5a
PA
169442015-12-17 Pedro Alves <palves@redhat.com>
16945
16946 PR threads/19354
16947 * gdb.multi/info-threads.exp: New file.
16948
a22279dd
YQ
169492015-12-15 Yao Qi <yao.qi@linaro.org>
16950
16951 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16952 is aarch64*-*-*.
16953
0588c796
SL
169542015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16955
16956 * gdb.base/history-duplicates.exp: Skip if no readline support.
16957
5d978e17
SL
169582015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16959
16960 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16961
7e763b86
SL
169622015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16963
16964 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16965
87a3a92c
SL
169662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16967
16968 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16969 ctrl-C if nointerrupts target property is set.
16970 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16971 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16972 * gdb.base/paginate-bg-execution.exp: Likewise.
16973 * gdb.base/paginate-execution-startup.exp: Likewise.
16974 * gdb.base/random-signal.exp: Likewise.
16975 * gdb.base/range-stepping.exp: Likewise.
16976 * gdb.cp/annota2.exp: Likewise.
16977 * gdb.cp/annota3.exp: Likewise.
16978 * gdb.gdb/selftest.exp: Likewise.
16979 * gdb.threads/continue-pending-status.exp: Likewise.
16980 * gdb.threads/leader-exit.exp: Likewise.
16981 * gdb.threads/manythreads.exp: Likewise.
16982 * gdb.threads/pthreads.exp: Likewise.
16983 * gdb.threads/schedlock.exp: Likewise.
16984 * gdb.threads/sigthread.exp: Likewise.
16985
a8f077dc
DB
169862015-12-11 Don Breazeal <donb@codesourcery.com>
16987
16988 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16989 remote.
16990 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16991 * gdb.base/foll-exec.exp (main): Enable for target remote.
16992 * gdb.base/foll-fork.exp (main): Likewise.
16993 * gdb.base/foll-vfork.exp (main): Likewise.
16994 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16995 (proc continue_to_exit_bp_loc): Use clean_restart.
16996 * gdb.base/pie-execl.exp (main): Disable for target remote.
16997 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16998 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16999 * gdb.threads/execl.exp (main): Likewise.
17000 * gdb.threads/fork-child-threads.exp (main): Likewise.
17001 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17002 remote.
17003 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17004 remote.
17005 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17006 pid.tid style ptids, instead of just tid.
17007 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17008 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17009 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17010 ptids, instead of just tid.
17011
3b2464a8
AB
170122015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17013
17014 * gdb.base/list.exp (test_list_forward): Add end of file error
17015 test.
17016 (test_repeat_list_command): Add end of file error test.
17017 (test_list_backwards): Add beginning of file error test.
17018
a0def019
AB
170192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17020
17021 * gdb.base/list.exp (test_list_invalid_args): New function,
17022 defined, and called.
17023
5c000dff
AB
170242015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17025
17026 * gdb.base/list.exp (test_list): Make test names unique.
17027
f1637ebe
YQ
170282015-12-11 Yao Qi <yao.qi@linaro.org>
17029
17030 * gdb.base/coremaker2.c: Remove.
17031
36d6fc0a
PA
170322015-12-10 Pedro Alves <palves@redhat.com>
17033
17034 * gdb.multi/base.exp: Remove stale "spaces" references.
17035
762f7747
PA
170362015-12-10 Pedro Alves <palves@redhat.com>
17037
17038 * gdb.multi/base.exp: Don't use nowarnings.
17039 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17040 * gdb.multi/hangout.c: Include stdio.h.
17041 * gdb.multi/hello.c: Include stdlib.h.
17042 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17043 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17044 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17045
28d2bfb9
AB
170462015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17047
17048 * gdb.dwarf2/dw2-ranges-base.c: New file.
17049 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17050 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17051 support additional line table, and debug ranges generation.
17052 (Dwarf::ranges): New function, generate .debug_ranges.
17053 (Dwarf::lines): Support generating simple line table programs.
17054 (Dwarf::assemble): Initialise new namespace variables.
17055
5fc2beac
KB
170562015-12-09 Kevin Buettner <kevinb@redhat.com>
17057
17058 * gdb.base/async.exp (proc test_background): Add case for
17059 asynchronous execution not supported.
17060
1c35a88f
LM
170612015-12-09 Luis Machado <lgustavo@codesourcery.com>
17062
17063 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17064 format and change test names to make them unique.
17065
b593e3d9
RK
170662015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17067 Pedro Alves <pedro@redhat.com>
17068
17069 PR gdb/18702
17070 Add checking of floatformats setup on x86_64 hosts.
17071 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17072 (smallval, bigval): New labels/constants.
17073 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17074 float" after loading bigval and smallval.
17075
d72413e6
PMR
170762015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17077
17078 * gdb.ada/fun_overload_menu.exp: New testcase.
17079 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17080
ece66d65
JS
170812015-12-04 Josh Stone <jistone@redhat.com>
17082
17083 * gdb.base/catch-fork-static.exp: New.
17084
41d0efca
YQ
170852015-12-03 Yao Qi <yao.qi@linaro.org>
17086
17087 * gdb.base/sizeof.c: Don't include stdio.h and
17088 ../lib/unbuffer_output.c.
17089 (main): New variable 'size' and 'value'. Remove printf and
17090 gdb_unbuffer_output. Assign return value to size and value.
17091 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17092 at the beginning.
17093 (check_sizeof): Check the result by printing variable 'size'.
17094 (check_valueof): Check the result by printing variable 'value'.
17095
99fd02d9
YQ
170962015-12-01 Yao Qi <yao.qi@linaro.org>
17097
17098 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17099 for aarch64*-*-linux* target.
17100
f2faf941
PA
171012015-11-30 Pedro Alves <palves@redhat.com>
17102
17103 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17104
04bf20c5
PA
171052015-11-30 Pedro Alves <palves@redhat.com>
17106
17107 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17108 Handle non-stop mode vCont replies.
17109
09df4675
PA
171102015-11-30 Pedro Alves <palves@redhat.com>
17111
17112 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17113 prepare_for_testing. Start gdb with "set non-stop on" appended to
17114 GDBFLAGS. Lax expected stop output.
17115
58b584af
YQ
171162015-11-27 Yao Qi <yao.qi@linaro.org>
17117
17118 * gdb.arch/arm-neon.exp: New.
17119 * gdb.arch/arm-neon.c: New.
17120
dfcb77a8
YQ
171212015-11-27 Yao Qi <yao.qi@linaro.org>
17122
17123 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17124
88e8ec1b
YQ
171252015-11-27 Yao Qi <yao.qi@linaro.org>
17126
17127 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17128 frames-invalid annotation.
17129
bfde72c2
YQ
171302015-11-27 Yao Qi <yao.qi@linaro.org>
17131
17132 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17133
f6512a69
SM
171342015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17135
17136 * gdb.threads/names.exp: New file.
17137 * gdb.threads/names.c: New file.
17138 * README: Mention gdb,no_thread_names.
17139
46a3515b
MM
171402015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17141
17142 PR 19297
17143 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17144 support" error.
17145
62147a22
PA
171462015-11-24 Pedro Alves <palves@redhat.com>
17147
17148 PR 17539
17149 * gdb.base/display.exp: Expect displays to be sorted in ascending
17150 order. Use multi_line.
17151 * gdb.base/solib-display.exp: Likewise.
17152
2f341b6e
PA
171532015-11-24 Pedro Alves <palves@redhat.com>
17154
17155 PR 17539
25d49b86
PA
17156 * gdb.base/display.exp: Expect displays to be sorted in ascending
17157 order. Use multi_line.
17158 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17159
7e0aa6aa
PA
171602015-11-24 Pedro Alves <palves@redhat.com>
17161
17162 PR 17539
17163 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17164 threads in ascending order.
17165 * gdb.base/foll-fork.exp: Likewise.
17166 * gdb.base/foll-vfork.exp: Likewise.
17167 * gdb.base/multi-forks.exp: Likewise.
17168 * gdb.mi/mi-nonstop.exp: Likewise.
17169 * gdb.mi/mi-nsintrall.exp: Likewise.
17170 * gdb.multi/base.exp: Likewise.
17171 * gdb.multi/multi-arch.exp: Likewise.
17172 * gdb.python/py-inferior.exp: Likewise.
17173 * gdb.threads/break-while-running.exp: Likewise.
17174 * gdb.threads/execl.exp: Likewise.
17175 * gdb.threads/gcore-thread.exp: Likewise.
17176 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17177 * gdb.threads/kill.exp: Likewise.
17178 * gdb.threads/linux-dp.exp: Likewise.
17179 * gdb.threads/multiple-step-overs.exp: Likewise.
17180 * gdb.threads/next-bp-other-thread.exp: Likewise.
17181 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17182 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17183 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17184 * gdb.threads/thread-find.exp: Likewise.
17185 * gdb.threads/tls.exp: Likewise.
17186 * lib/mi-support.exp (mi_reverse_list): Delete.
17187 (mi_check_thread_states): No longer reverse list.
17188
2cc57ad8
PA
171892015-11-24 Pedro Alves <palves@redhat.com>
17190
17191 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17192 use lowercase.
17193
c93e8391
SM
171942015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17195
17196 * gdb.trace/actions.c: Include trace-common.h.
17197 (main): Add a location for a fast tracepoint.
17198 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17199 the normal tracepoints.
17200 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17201
045ccf91
SM
172022015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17203
17204 * save-trace.exp: Factor out code to these...
17205 (gdb_save_tracepoints): New.
17206 (gdb_load_tracepoints): New.
17207 (do_save_load_test): New.
17208
5506f9f6
KB
172092015-11-23 Kevin Buettner <kevinb@redhat.com>
17210
17211 * gdb.base/asmlabel.exp: New test.
17212 * gdb.base/asmlabel.c: New test case.
17213
16c3b12f
JB
172142015-11-23 Joel Brobecker <brobecker@adacore.com>
17215
17216 * gdb.base/wrong_frame_bt_full-main.c: New file.
17217 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17218 * gdb.base/wrong_frame_bt_full.exp: New file.
17219
155bfbd3
JB
172202015-11-23 Joel Brobecker <brobecker@adacore.com>
17221
17222 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17223
bb097445
JM
172242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17225
206853a0 17226 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17227 pstate register when comparing registers values in
17228 sparc64-*-linux-gnu targets to avoid spurious differences.
17229
9c88ed8f
JM
172302015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17231
206853a0 17232 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17233
96161e25
SL
172342015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17235
17236 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17237 as type argument to gdb_compile.
17238 * gdb.base/nested-subp2.exp: Likewise.
17239 * gdb.base/nested-subp3.exp: Likewise.
17240
340c2830
DV
172412015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17242
17243 * lib/dwarf.exp (_note): Fix left shift of negative value.
17244 * gdb.trace/trace-condition.exp: Likewise.
17245
c1862d0f
YQ
172462015-11-13 Yao Qi <yao.qi@linaro.org>
17247
17248 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17249 comments about d10v.
17250 (test_scalar_returns): Likewise.
17251 * gdb.base/d10v.ld: Remove.
17252 * gdb.base/overlays.exp: Remove the target triplet checking for
17253 d10v-*-*.
17254 * gdb.base/structs.exp (test_struct_returns): Remove the
17255 comments about d10v.
17256 (test_struct_calls): Likewise.
17257
77ae9c19
YQ
172582015-11-13 Yao Qi <yao.qi@linaro.org>
17259
17260 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17261 * gdb.base/gnu_vector.c: Don't include stdio.h.
17262 (main): Don't print res and call add_some_intvecs.
17263
430e004e
MK
172642015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17265
17266 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17267 macro.
17268 (func5): Removed.
17269 (func4): Use FAST_TRACEPOINT_LABEL.
17270 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17271 macro.
17272 (func): Removed.
17273 (thread_function): Use FAST_TRACEPOINT_LABEL.
17274 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17275 (func): Remove.
17276 (marker): Use FAST_TRACEPOINT_LABEL.
17277 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17278 (pendfunc1): Remove.
17279 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17280 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17281 (foo): Remove.
17282 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17283 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17284 macro.
17285 (func): Remove.
17286 (marker): Use FAST_TRACEPOINT_LABEL.
17287 * gdb.trace/trace-common.h: New header.
17288 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17289 macro.
17290 (func): Remove.
17291 (marker): Use FAST_TRACEPOINT_LABEL.
17292 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17293 (func): Remove.
17294 (thread_function): Use FAST_TRACEPOINT_LABEL.
17295
6e7675a7
MK
172962015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17297
17298 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17299 in front.
17300 * gdb.trace/change-loc.exp: Use global pcreg definition.
17301 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17302 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17303 in front.
17304 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17305 * gdb.trace/pending.exp: Likewise.
17306 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17307 * gdb.trace/trace-break.exp: Likewise.
17308 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17309 in front.
17310 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17311 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17312 in front.
17313 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17314
dddc0e16
JB
173152015-11-09 Joel Brobecker <brobecker@adacore.com>
17316
17317 * gdb.ada/fin_fun_out: New testcase.
17318
c6f0b406
KB
173192015-11-07 Kevin Buettner <kevinb@redhat.com>
17320
17321 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17322 value associated with DW_AT_byte_size.
17323 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17324 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17325 DW_AT_upper_bound.
17326
f01dcfd9
KB
173272015-11-07 Kevin Buettner <kevinb@redhat.com>
17328
17329 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17330 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17331 version.
17332 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17333 gdb.dwarf2/dw2-canonicalize-type.exp,
17334 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17335 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17336 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17337 provided by gdb_target_symbol_prefix_flags_asm.
17338 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17339 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17340 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17341 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17342 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17343 macros where needed). Use this macro for symbols which require
17344 the prefix provided by SYMBOL_PREFIX.
17345
2223449a
KB
173462015-11-05 Kevin Buettner <kevinb@redhat.com>
17347
17348 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17349 New procs.
17350 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17351 representing expressions, of more than one list element.
17352 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17353 to prepend linker symbol prefix to f.
17354 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17355 table_1 and table_2.
17356 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17357 Likewise, for f and g.
17358 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17359 for ptr.
17360 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17361 for main.
17362 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17363 table_1_ptr and table_2_ptr.
17364
6f2f1a3a
JK
173652015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17366 Joel Brobecker <brobecker@adacore.com>
17367
17368 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17369
566c56c9
MK
173702015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17371
17372 * gdb.reverse/s390-mvcle.c: New test.
17373 * gdb.reverse/s390-mvcle.exp: New file.
17374 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17375
d5f0636b
MK
173762015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17377
17378 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17379
7ad8b86c
MK
173802015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17381
17382 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17383 reaching marker2.
17384 * gdb.reverse/getresuid-reverse.exp: Likewise.
17385 * gdb.reverse/pipe-reverse.exp: Likewise.
17386 * gdb.reverse/readv-reverse.exp: Likewise.
17387 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17388 * gdb.reverse/time-reverse.exp: Likewise.
17389 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17390
4081c0f1
YQ
173912015-10-30 Yao Qi <yao.qi@linaro.org>
17392
17393 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17394 (empty_cycle): Remove.
17395 (main): Don't call empty_cycle. Don't use watch_count_done.
17396 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17397 empty_cycle. Rewrite the code counting HW watchpoints.
17398
452b4ba5
MK
173992015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17400
17401 * gdb.reverse/fstatat-reverse.c: New test.
17402 * gdb.reverse/fstatat-reverse.exp: New file.
17403 * gdb.reverse/getresuid-reverse.c: New test.
17404 * gdb.reverse/getresuid-reverse.exp: New file.
17405 * gdb.reverse/pipe-reverse.c: New test.
17406 * gdb.reverse/pipe-reverse.exp: New file.
17407 * gdb.reverse/readv-reverse.c: New test.
17408 * gdb.reverse/readv-reverse.exp: New file.
17409 * gdb.reverse/recvmsg-reverse.c: New test.
17410 * gdb.reverse/recvmsg-reverse.exp: New file.
17411 * gdb.reverse/time-reverse.c: New test.
17412 * gdb.reverse/time-reverse.exp: New file.
17413 * gdb.reverse/waitpid-reverse.c: New test.
17414 * gdb.reverse/waitpid-reverse.exp: New file.
17415
5e2e7507
JK
174162015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17417
17418 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17419
0fde2c53
DE
174202015-10-26 Doug Evans <dje@google.com>
17421
17422 PR symtab/17391
17423 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17424 * gdb.dwarf2/bad-regnum.c: New file.
17425 * gdb.dwarf2/bad-regnum.exp: New file.
17426
1a70ae97
DE
174272015-10-26 Doug Evans <dje@google.com>
17428
17429 PR python/18938
17430 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17431 file.
17432
27dc26ab
JK
174332015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17434
17435 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17436 for a change by "Mention language in compile error message".
17437
bed91f4d
SM
174382015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17439
17440 PR python/18073
17441 * gdb.python/py-type.c (C::a_method): New.
17442 (C::a_const_method): New.
17443 (C::a_static_method): New.
17444 (a_function): New.
17445 * gdb.python/py-type.exp (test_fields): Test getting fields
17446 from function and method.
17447
3f2f83dd
KB
174482015-10-21 Keven Boell <keven.boell@intel.com>
17449
17450 * gdb.fortran/vla-alloc-assoc.exp: New file.
17451 * gdb.fortran/vla-datatypes.exp: New file.
17452 * gdb.fortran/vla-datatypes.f90: New file.
17453 * gdb.fortran/vla-history.exp: New file.
17454 * gdb.fortran/vla-ptype-sub.exp: New file.
17455 * gdb.fortran/vla-ptype.exp: New file.
17456 * gdb.fortran/vla-sizeof.exp: New file.
17457 * gdb.fortran/vla-sub.f90: New file.
17458 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17459 * gdb.fortran/vla-value-sub-finish.exp: New file.
17460 * gdb.fortran/vla-value-sub.exp: New file.
17461 * gdb.fortran/vla-value.exp: New file.
17462 * gdb.fortran/vla-ptr-info.exp: New file.
17463 * gdb.mi/mi-vla-fortran.exp: New file.
17464 * gdb.mi/vla.f90: New file.
17465
27145d50
SL
174662015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17467
17468 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17469 of hardwired timeout value.
17470
5f3ff4f8
JK
174712015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17472 Pedro Alves <palves@redhat.com>
17473
17474 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17475 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17476
bfd09d20
JS
174772015-10-19 Josh Stone <jistone@redhat.com>
17478
17479 * gdb.base/catch-syscall.c: Include <sched.h>.
17480 (unknown_syscall): New variable.
17481 (main): Trigger a vfork and an unknown syscall.
17482 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17483 (unknown_syscall_number): Likewise.
17484 (check_call_to_syscall): Accept an optional syscall pattern.
17485 (check_return_from_syscall): Likewise.
17486 (check_continue): Likewise.
17487 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17488 (test_catch_syscall_skipping_return): New test toggling off 'catch
17489 syscall' to step over the syscall return, then toggling back on.
17490 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17491 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17492 (do_syscall_tests): Call test_catch_syscall_without_args and
17493 test_catch_syscall_mid_vfork.
17494 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17495 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17496
b32b93c6
AS
174972015-10-19 Andrew Stubbs <ams@codesourcery.com>
17498
17499 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17500 print g_vE): Add new pass patterns.
17501 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17502 print various symbol names for vptr fields.
17503
9d622bda
AB
175042015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17505
17506 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17507 results.
17508
0fd8ac1c
YQ
175092015-10-12 Yao Qi <yao.qi@linaro.org>
17510
17511 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17512
34240514
YQ
175132015-10-12 Yao Qi <yao.qi@linaro.org>
17514
17515 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17516 is aarch64*-*-linux*.
17517
8240f442
YQ
175182015-10-12 Yao Qi <yao.qi@linaro.org>
17519
17520 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17521 (can_relocate_bcond_true): ... it.
17522 (can_relocate_bcond_false): New function.
17523 (foo): Likewise.
17524 (can_relocate_bl): Likewise.
17525 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17526 can_relocate_bl.
17527
2520f728
PMR
175282015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17529
17530 * gdb.base/nested-addr.c: New file.
17531 * gdb.base/nested-addr.exp: New testcase.
17532
abcef95a
MM
175332015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17534
17535 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17536 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17537 its output. Ignore the output of "record goto begin" and instead
17538 check that GDB is replaying.
17539
145e3ddb
PA
175402015-10-09 Pedro Alves <palves@redhat.com>
17541
17542 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17543 (top level): Use it in the run with no args test.
17544
d5d8c4e1
IB
175452015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17546
17547 * gdb.dlang/properties.exp: New file.
17548
06e635ef
SL
175492015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17550
17551 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17552 whether or not address 0x1000 is mapped on the target.
17553
e019fd1d
SM
175542015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17555
17556 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17557 build.
17558
77ba2a67
MM
175592015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17560
17561 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17562 instruction-history test.
17563
c60eb31f
DE
175642015-09-28 Doug Evans <dje@google.com>
17565
17566 * gdb.base/gcore.c (array_func): Add reference to static_array.
17567
9a3c8263
SM
175682015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17569
17570 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17571 source line.
17572
9720e656
SL
175732015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17574
17575 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17576 short or char as base type.
17577
938d3bf2
SL
175782015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17579
17580 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17581 to allow any size enum.
17582
e6c2c623
PMR
175832015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17584
17585 * gdb.ada/array_ptr_renaming.exp: New testcase.
17586 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17587 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17588
06da0f77
PL
175892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17590
17591 * gdb.trace/ftrace-lock.c: New file.
17592 * gdb.trace/ftrace-lock.exp: New file.
17593
4f51c22a
PL
175942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17595
17596 * gdb.arch/insn-reloc.c: New file.
17597 * gdb.arch/ftrace-insn-reloc.exp: New file.
17598
7041adf4
PL
175992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17600
17601 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17602 instruction.
17603 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17604 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17605 * gdb.trace/range-stepping.c: Likewise.
17606 * gdb.trace/trace-break.c: Likewise.
17607 * gdb.trace/trace-mt.c (thread_function): Likewise.
17608 * gdb.trace/ftrace.c (marker): Likewise.
17609 * gdb.trace/trace-condition.c (marker): Likewise.
17610 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17611 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17612 is_aarch64_target.
17613
015d2e7e
DE
176142015-09-18 Doug Evans <xdje42@gmail.com>
17615
17616 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17617 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17618
26b188a2
SL
176192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17620
17621 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17622 the breakpoint.
17623
79dc332b
SL
176242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17625
17626 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17627 the pending breakpoint. Remove timeout override for "Run till
17628 MI pending breakpoint on pendfunc3 on thread 2" test.
17629
f57929f2
SL
176302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17631
17632 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17633 filename pattern.
17634
3f469b17
SL
176352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17636
17637 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17638 in breakpoint filename pattern.
17639
515b89b3
SL
176402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17641
7800dbe4
SL
17642 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17643
176442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17645
515b89b3
SL
17646 * gdb.linespec/explicit.exp: Check for readline support for
17647 tab-completion tests. Fix obvious typo.
17648
d2939ba2
MM
176492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17650
17651 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17652 and replay.
17653
cbb55fa7
MM
176542015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17655
17656 * gdb.btrace/non-stop.c: New.
17657 * gdb.btrace/non-stop.exp: New.
17658
43691ca1
PL
176592015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17660 Yao Qi <yao.qi@linaro.org>
17661
17662 * gdb.trace/trace-condition.c: New file.
17663 * gdb.trace/trace-condition.exp: New file.
17664
d78908cf
WW
176652015-09-16 Wei-cheng Wang <cole945@gmail.com>
17666
17667 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17668 for testing bytecode compilation.
17669
1ed415e2
PA
176702015-09-16 Pedro Alves <palves@redhat.com>
17671 Sandra Loosemore <sandra@codesourcery.com>
17672
17673 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17674 (SECONDS): Redefine.
17675 (main): Call pthread_kill and alarm early.
17676 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17677 support.
17678 (test): If the target can't hardware step and doesn't support
17679 displaced stepping, increase the timeout.
17680
d136eff5
PA
176812015-09-16 Pedro Alves <palves@redhat.com>
17682
17683 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17684 (enable_debug): New procedures.
17685 (test): Use them. Bail out if waiting for threads fails.
17686 (top level): Bail out if a test fails.
17687
991f019c
YQ
176882015-09-16 Yao Qi <yao.qi@linaro.org>
17689
17690 * gdb.asm/asm-source.exp: Set asm-arch for
17691 aarch64*-*-* target.
17692 * gdb.asm/aarch64.inc: New file.
17693
bfca584f
PMR
176942015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17695
17696 * gdb.ada/array_of_variable_length.exp: New testcase.
17697 * gdb.ada/array_of_variable_length/foo.adb: New file.
17698 * gdb.ada/array_of_variable_length/pck.adb: New file.
17699 * gdb.ada/array_of_variable_length/pck.ads: New file.
17700
b326e587
DE
177012015-09-15 Doug Evans <dje@google.com>
17702
17703 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17704 of function static local variable.
17705
5382cfab
PW
177062015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17707
17708 * gdb.threads/tls-so_extern.exp: New test file.
17709 * gdb.threads/tls-so_extern.c: New test file.
17710 * gdb.threads/tls-so_extern_main.c: New test file.
17711
141c5cc4
JK
177122015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17713
17714 * gdb.opt/solib-intra-step-lib.c: New file.
17715 * gdb.opt/solib-intra-step-main.c: New file.
17716 * gdb.opt/solib-intra-step.exp: New file.
17717
d15dcecd
PA
177182015-09-15 Pedro Alves <palves@redhat.com>
17719
17720 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17721 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17722
4c2f2a79
PA
177232015-09-14 Pedro Alves <palves@redhat.com>
17724
17725 * gdb.base/hook-stop-continue.c: Delete.
17726 * gdb.base/hook-stop-continue.exp: Delete.
17727 * gdb.base/hook-stop-frame.c: Delete.
17728 * gdb.base/hook-stop-frame.exp: Delete.
17729 * gdb.base/hook-stop.c: New file.
17730 * gdb.base/hook-stop.exp: New file.
17731
919e6dbe
PMR
177322015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17733
17734 * gdb.ada/access_to_packed_array.exp: New testcase.
17735 * gdb.ada/access_to_packed_array/foo.adb: New file.
17736 * gdb.ada/access_to_packed_array/pack.adb: New file.
17737 * gdb.ada/access_to_packed_array/pack.ads: New file.
17738
157280a4
MM
177392015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17740
17741 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17742 buffer size test.
17743
2fd33e94
DB
177442015-09-11 Don Breazeal <donb@codesourcery.com>
17745
17746 * gdb.base/foll-exec.c: Add copyright header. Fix
17747 formatting issues.
17748 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17749 (do_exec_tests): Use clean_restart in place of zap_session,
17750 and for test initialization. Fix formatting issues. Use
17751 fail in place of perror.
17752 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17753 an expect statement to match an expression with output from
17754 the program under debug.
17755 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17756 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17757 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17758 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17759 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17760
e70b6e8e
DE
177612015-09-09 Doug Evans <dje@google.com>
17762
17763 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17764
7a551a51
DE
177652015-09-09 Doug Evans <dje@google.com>
17766
17767 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17768
4c666f84
DE
177692015-09-09 Doug Evans <dje@google.com>
17770
17771 * gdb.base/savedregs.exp: Fix typo.
17772
243a9253
PA
177732015-09-09 Pedro Alves <palves@redhat.com>
17774
17775 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17776
c0fa8fbd
SL
177772015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17778
17779 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17780 command actually switches threads. Give up on remaining
17781 tests if target fails to stop at breakpoint.
17782
cd7c1778
PMR
177832015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17784
17785 * gdb.ada/funcall_char.exp: New testcase.
17786 * gdb.ada/funcall_char/foo.adb: New file.
17787
dc5c8746
PMR
177882015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17789
17790 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17791 expected outputs. Add two testcases for completing ambiguous
17792 functions.
17793 * gdb.ada/complete/aux_pck.adb: New file.
17794 * gdb.ada/complete/aux_pck.ads: New file.
17795 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17796 Ambiguous_Func functions.
17797 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17798 * gdb.ada/complete/pck.adb: Likewise.
17799
4e83a1e7
UW
178002015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17801
17802 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17803 failures to run the test program under GDB.
17804
8ce74153
LM
178052015-08-26 Luis Machado <lgustavo@codesourcery.com>
17806
17807 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17808 to C.
17809
e9756d52
PP
178102015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17811
17812 * gdb.base/run-after-attach.exp: New test file.
17813 * gdb.base/run-after-attach.c: New test file.
17814
8d37573b
DB
178152015-08-26 Don Breazeal <donb@codesourcery.com>
17816
17817 * gdb.base/foll-exec-2.c: New test program.
17818 * gdb.base/foll-exec-2.exp: New test.
17819
63e43d3a
PMR
178202015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17821
17822 * gdb.base/nested-subp1.exp: New file.
17823 * gdb.base/nested-subp1.c: New file.
17824 * gdb.base/nested-subp2.exp: New file.
17825 * gdb.base/nested-subp2.c: New file.
17826 * gdb.base/nested-subp3.exp: New file.
17827 * gdb.base/nested-subp3.c: New file.
17828
3d40fbb5
PA
178292015-08-24 Pedro Alves <palves@redhat.com>
17830
17831 * gdb.server/connect-without-multi-process.c: New file.
17832 * gdb.server/connect-without-multi-process.exp: New file.
17833
4422ac93
LM
178342015-08-24 Luis Machado <lgustavo@codesourcery.com>
17835
17836 * gdb.opt/inline-markers.c: Make z int.
17837
91dddb86
LM
178382015-08-24 Luis Machado <lgustavo@codesourcery.com>
17839
17840 * gdb.opt/inline-markers.c: Make z volatile.
17841
a48847ee
LM
178422015-08-24 Luis Machado <lgustavo@codesourcery.com>
17843
17844 * gdb.opt/inline-bt.c: New volatile global z.
17845 * gdb.opt/inline-cmds.c: Likewise.
17846 * gdb.opt/inline-locals.c: Likewise.
17847 * gdb.opt/inline-markers.c: New extern global z.
17848 (marker): Use z.
17849 (inline_fn): Likewise.
17850
0ebbc52b
PA
178512015-08-24 Pedro Alves <palves@redhat.com>
17852
17853 * config/m32r-stub.exp: Remove file.
17854 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17855 * gdb.base/call-rt-st.exp: Likewise.
17856 * gdb.base/call-strs.exp: Likewise.
17857 * gdb.base/default.exp: Remove references to h8300-*-hms and
17858 *-*-udi*.
17859 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17860
77c365df
AA
178612015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17862
17863 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17864 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17865 and "return" use KFAIL when GDB can not read/write the vector
17866 return value.
17867
4313b8c0
GB
178682015-08-21 Gary Benson <gbenson@redhat.com>
17869
17870 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17871
0e433b32
PA
178722015-08-20 Pedro Alves <palves@redhat.com>
17873
17874 * gdb.server/solib-list.exp: No longer expect an interior stop in
17875 non-stop mode.
17876
221e1a37
PA
178772015-08-20 Pedro Alves <palves@redhat.com>
17878
17879 * gdb.server/connect-stopped-target.c: New file.
17880 * gdb.server/connect-stopped-target.exp: New file.
17881
40e3ad0e
PA
178822015-08-20 Pedro Alves <palves@redhat.com>
17883
17884 * gdb.dwarf2/comp-unit-lang.exp: New file.
17885 * gdb.dwarf2/comp-unit-lang.c: New file.
17886
af39b327
PMR
178872015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17888
17889 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17890 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17891
7d45c7c3 178922015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17893
7d45c7c3
KB
17894 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17895 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17896
4d6cceb4
DE
178972015-08-18 Doug Evans <dje@google.com>
17898 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17899
17900 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17901 skip_python_tests. New arg prompt_regexp.
17902 (skip_python_tests): New function.
17903 * lib/mi-support.exp (mi_skip_python_tests): New function.
17904 * gdb.python/py-mi-objfile-gdb.py: New file.
17905 * gdb.python/py-mi-objfile.c: New file.
17906 * gdb.python/py-mi-objfile.exp: New file.
17907
ad89c2aa
KS
179082015-08-17 Keith Seitz <keiths@redhat.com>
17909
17910 * gdb.linespec/explicit.exp: Move strace test from here ...
17911 * gdb.trace/strace.exp: ... to here.
17912
e3ae3c43
PP
179132015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17914
17915 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17916 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17917
604b2636
DE
179182015-08-14 Doug Evans <xdje42@gmail.com>
17919
17920 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17921 inferior before selecting a new file.
17922
6ff0ba5f
DE
179232015-08-14 Doug Evans <xdje42@gmail.com>
17924
17925 * gdb.mi/mi-disassemble.exp: Update.
17926 * gdb.base/disasm-optim.S: New file.
17927 * gdb.base/disasm-optim.c: New file.
17928 * gdb.base/disasm-optim.h: New file.
17929 * gdb.base/disasm-optim.exp: New file.
17930
9ca98f92
KS
179312015-08-14 Keith Seitz <keiths@redhat.com>
17932
17933 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17934 "evaluated-by".
17935
52bbc560
JB
179362015-08-13 Joel Brobecker <brobecker@adacore.com>
17937
17938 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17939
5d8c3ed3
PMR
179402015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17941
17942 * gdb.ada/fun_renaming.exp: New testcase.
17943 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17944 * gdb.ada/fun_renaming/pack.adb: New file.
17945 * gdb.ada/fun_renaming/pack.ads: New file.
17946
ea8812bc
KS
179472015-08-12 Keith Seitz <keiths@redhat.com>
17948
17949 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17950 gdb_get_line_number.
17951
4dafcdeb
JB
179522015-08-12 Joel Brobecker <brobecker@adacore.com>
17953
17954 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17955 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17956 gdb.base/dso2dso.exp: New files.
17957
5ba32597
SDJ
179582015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17959 Pedro Alves <palves@redhat.com>
17960 Keith Seitz <keiths@redhat.com>
17961
17962 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17963 GDBFLAGS.
17964
b6dafabf
PP
179652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17966
17967 * gdb.base/gdbhistsize-history.exp
17968 (test_histsize_history_setting): Use save_vars.
17969 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17970 Use save_vars.
17971 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17972 * gdb.base/readline.exp: Use save_vars.
17973
abe8e607
PP
179742015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17975
17976 * lib/gdb.exp (save_vars): New proc.
17977
629500fa
KS
179782015-08-11 Keith Seitz <keiths@redhat.com>
17979
17980 * gdb.base/help.exp: Update help_breakpoint_text.
17981
eb8c4e2e
KS
179822015-08-11 Keith Seitz <keiths@redhat.com>
17983
17984 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17985 (at toplevel): Call test_explicit_breakpoints.
17986 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17987 breakpoints.
17988 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17989 breakpoint conditions, "-cond".
17990
87f0e720
KS
179912015-08-11 Keith Seitz <keiths@redhat.com>
17992
17993 * gdb.linespec/3explicit.c: New file.
17994 * gdb.linespec/cpexplicit.cc: New file.
17995 * gdb.linespec/cpexplicit.exp: New file.
17996 * gdb.linespec/explicit.c: New file.
17997 * gdb.linespec/explicit.exp: New file.
17998 * gdb.linespec/explicit2.c: New file.
17999 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18000 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18001 before using in the matching pattern.
18002 Clarify that `prefix' is a regular expression.
18003
f00aae0f
KS
180042015-08-11 Keith Seitz <keiths@redhat.com>
18005
18006 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18007 test.
18008 Add tests for missing ",FMT" and ",".
18009
e27852be
DE
180102015-08-10 Doug Evans <dje@google.com>
18011 Keith Seitz <keiths@redhat.com>
18012
18013 PR gdb/17960
18014 * gdb.base/completion.exp: Add location completer tests.
18015
7f03bd92
PA
180162015-08-07 Pedro Alves <palves@redhat.com>
18017
18018 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18019 tests here.
18020 (top level): Run do_test with and without displaced stepping.
18021
3fc8eb30
PA
180222015-08-07 Pedro Alves <palves@redhat.com>
18023
18024 * gdb.base/valgrind-disp-step.c: New file.
18025 * gdb.base/valgrind-disp-step.exp: New file.
18026
d4569d7b
PA
180272015-08-07 Pedro Alves <palves@redhat.com>
18028
18029 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18030 Delete function.
18031 (main): Add alarm. Run an infinite loop instead of calling
18032 wait_threads.
18033 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18034 comment.
18035 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18036 Delete function.
18037 (main): Add alarm. Run an infinite loop instead of calling
18038 wait_threads.
18039 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18040 comment.
18041
e1316e60
PA
180422015-08-07 Pedro Alves <palves@redhat.com>
18043
18044 * gdb.base/checkpoint-ns.exp: New file.
18045 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18046 standard_testfile.
18047
da8c46d2
MM
180482015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18049
18050 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18051 * gdb.btrace/instruction_history.exp: Update.
18052 * gdb.btrace/tsx.exp: New.
18053 * gdb.btrace/tsx.c: New.
18054
de1c2c52
PA
180552015-08-06 Pedro Alves <palves@redhat.com>
18056
18057 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18058 increase timeout.
18059 * gdb.reverse/until-precsave.exp: Bump timeouts.
18060
782e0bf4
PA
180612015-08-06 Pedro Alves <palves@redhat.com>
18062
18063 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18064
83e97ed0
PA
180652015-08-06 Pedro Alves <palves@redhat.com>
18066
18067 PR gdb/18749
18068 * gdb.threads/process-dies-while-handling-bp.c: New file.
18069 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18070
863d01bd
PA
180712015-08-06 Pedro Alves <palves@redhat.com>
18072
18073 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18074 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18075
0a39bb32
PA
180762015-08-05 Pedro Alves <palves@redhat.com>
18077
18078 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18079 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18080
ee2d2b10
SL
180812015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18082
18083 * gdb.base/bp-permanent.exp: Report test as unsupported if
18084 the target cannot stop at the permanent breakpoint.
18085
4e1bdb00
DE
180862015-08-03 Doug Evans <dje@google.com>
18087
18088 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18089 10000.
18090
3d338901
DE
180912015-08-03 Doug Evans <dje@google.com>
18092
18093 * Makefile.in (workers/%.worker, build-perf): New rule.
18094 (GDB_PERFTEST_MODE): New variable.
18095 (check-perf): Use it.
18096 (clean): Clean up gdb.perf parallel build subdirs.
18097 * lib/build-piece.exp: New file.
18098 * lib/gdb.exp (make_gdb_parallel_path): New function
18099 (standard_output_file, standard_temp_file): Call it.
18100 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18101 of $GDB_PARALLEL.
18102 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18103
af061d3e
DE
181042015-08-03 Doug Evans <dje@google.com>
18105
8e1afc81 18106 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18107 (LOG_FILE_NAME): New global.
18108 (TextReporter.__init__): Initialize self.txt_sum.
18109 (TextReporter.report): Add support for multiple data-points.
18110 Move report to perftest.sum, put raw data in perftest.log.
18111 (TextReporter.start): Open sum and log files.
18112 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18113 * gdb.perf/lib/perftest/testresult.py
18114 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18115
2c8c5d37
PA
181162015-07-31 Pedro Alves <palves@redhat.com>
18117
18118 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18119 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18120 kill_wait_spawned_process instead of explicit "kill -9".
18121 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18122 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18123 kill_wait_spawned_process.
18124 * gdb.base/attach-twice.exp: Likewise.
18125 * gdb.base/attach.exp: Likewise.
18126 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18127 gdb_test_multiple.
18128 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18129 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18130 kill_wait_spawned_process.
18131 * gdb.base/valgrind-infcall.exp: Likewise.
18132 * gdb.multi/multi-attach.exp: Likewise.
18133 * gdb.python/py-prompt.exp: Likewise.
18134 * gdb.python/py-sync-interp.exp: Likewise.
18135 * gdb.server/ext-attach.exp: Likewise.
18136 * gdb.threads/attach-into-signal.exp (corefunc): Use
18137 spawn_wait_for_attach, spawn_id_get_pid and
18138 kill_wait_spawned_process.
18139 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18140 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18141 spawn_id_get_pid and kill_wait_spawned_process.
18142 * gdb.threads/attach-stopped.exp (corefunc): Use
18143 spawn_wait_for_attach, spawn_id_get_pid and
18144 kill_wait_spawned_process.
18145 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18146 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18147 kill_wait_spawned_process instead of explicit "kill -9".
18148 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18149 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18150 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18151 processes. Don't map cygwin/windows pids here. Now returns a
18152 spawn id list.
18153
032a0fca
SL
181542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18155
18156 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18157 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18158 correct patch.
18159
61a934ca
SL
181602015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18161
18162 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18163
4bc4d428
SL
181642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18165
18166 Reapply:
18167 2014-05-21 Mark Wielaard <mjw@redhat.com>
18168
18169 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18170
998d452a
PA
181712015-07-30 Pedro Alves <palves@redhat.com>
18172
18173 * linux-low.c (handle_extended_wait): Set the child's last
18174 reported status to TARGET_WAITKIND_STOPPED.
18175
69dde7dc
PA
181762015-07-30 Pedro Alves <palves@redhat.com>
18177
18178 PR threads/18600
18179 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18180 only shows inferior 1.
18181
4dd63d48
PA
181822015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18183 Pedro Alves <palves@redhat.com>
18184
18185 PR threads/18600
18186 * gdb.threads/fork-plus-threads.c: New file.
18187 * gdb.threads/fork-plus-threads.exp: New file.
18188
d618e4c5
PP
181892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18190
18191 * gdb.base/batch-preserve-term-settings.exp
18192 (test_terminal_settings_preserved_after_cli_exit): Use
18193 send_quit_command.
18194
1eef6428
PA
181952015-07-29 Pedro Alves <palves@redhat.com>
18196 Don Breazeal <donb@codesourcery.com>
18197
18198 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18199 output from both inferior_spawn_id and gdb_spawn_id.
18200
7da5b897
SDJ
182012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18202
18203 * gdb.threads/attach-into-signal.exp (corefunc): Use
18204 with_test_prefix on nested loops, uniquefying the test messages.
18205
dac804df
SDJ
182062015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18207
18208 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18209 commit.
18210
06265e53
PP
182112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18212
18213 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18214 New proc.
18215 (test_terminal_settings_preserved_after_sigterm): New test.
18216
18206ca3
PP
182172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18218
18219 * gdb.base/batch-preserve-term-settings.exp
18220 (test_terminal_settings_preserved_after_cli_exit): New test.
18221
90074d11
PP
182222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18223
18224 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18225 manipulation of saved_gdbflags.
18226 (test_terminal_settings_preserved): Remove global declaration of
18227 the unused variable pagination_prompt. Remove manipulation of
18228 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18229 GDBFLAGS.
18230
eb1a7902
PA
182312015-07-29 Pedro Alves <palves@redhat.com>
18232
18233 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18234
8b75dd3b
PA
182352015-07-29 Pedro Alves <palves@redhat.com>
18236
18237 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18238 at the top.
18239
dedad4e3
PA
182402015-07-29 Pedro Alves <palves@redhat.com>
18241
18242 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18243 (main): Call gdb_unbuffer_output.
18244 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18245 (main): Call gdb_unbuffer_output.
18246 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18247 (main): Call gdb_unbuffer_output.
18248 * gdb.base/call-strs.exp: Adjust to step over the
18249 gdb_unbuffer_output call.
18250 * gdb.base/catch-gdb-caused-signals.c: Include
18251 "../lib/unbuffer_output.c".
18252 (main): Call gdb_unbuffer_output.
18253 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18254 (main): Call gdb_unbuffer_output.
18255 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18256 (main): Call gdb_unbuffer_output.
18257 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18258 (main): Call gdb_unbuffer_output.
18259 * gdb.base/shlib-call.exp: Adjust to step over the
18260 gdb_unbuffer_output call.
18261 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18262 (main): Call gdb_unbuffer_output.
18263 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18264 (main): Call gdb_unbuffer_output.
18265 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18266 (main): Rename to ...
18267 (test): ... this.
18268 (main): Reimplement.
18269 * gdb.base/varargs.exp: Run to test instead of to main.
18270 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18271 (main): Call gdb_unbuffer_output.
18272
58789a91
PA
182732015-07-29 Pedro Alves <palves@redhat.com>
18274
18275 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18276 factore out from mi_continue_dprintf. For call-style dprintfs,
18277 expect dprintf output out of $inferior_spawn_id.
18278 (mi_continue_dprintf): Use mi_expect_dprintf.
18279 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18280 (main): Call gdb_unbuffer_output.
18281
e8376742
PA
182822015-07-29 Pedro Alves <palves@redhat.com>
18283
18284 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18285 (default_mi_gdb_start): Set inferior_spawn_id instead of
18286 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18287 gdb_spawn_id.
18288 (mi_gdb_test): Always expect inferior output from both
18289 $inferior_spawn_id and $gdb_spawn_id.
18290
08280010
PA
182912015-07-29 Pedro Alves <palves@redhat.com>
18292
18293 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18294 send_inferior and $inferior_spawn_id.
18295
4d30e432
PA
182962015-07-29 Pedro Alves <palves@redhat.com>
18297
18298 * gdb.gdb/complaints.exp (test_initial_complaints)
18299 (test_serial_complaints, test_short_complaints): Use
18300 gdb_test_stdio.
18301 (test_empty_complaint): Handle $inferior_spawn_id !=
18302 $gdb_spawn_id.
18303
0d30a335
PA
183042015-07-29 Pedro Alves <palves@redhat.com>
18305
18306 * gdb.base/varargs.exp: Use gdb_test_stdio.
18307
39413b29
PA
183082015-07-29 Pedro Alves <palves@redhat.com>
18309
18310 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18311
7cb000a9
PA
183122015-07-29 Pedro Alves <palves@redhat.com>
18313
18314 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18315
d7b8ac82
PA
183162015-07-29 Pedro Alves <palves@redhat.com>
18317
18318 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18319 parameter into two new parameters, "inf_result" and "gdb_result".
18320 Expect inferior output and gdb output from $inferior_spawn_id and
18321 $gdb_spawn_id, respectively. Adjust all callers.
18322
789c3a0c
PA
183232015-07-29 Pedro Alves <palves@redhat.com>
18324
18325 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18326 of gdb_test_sequence.
18327
77e760c3
PA
183282015-07-29 Pedro Alves <palves@redhat.com>
18329
18330 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18331 (saw_spurious_output): Expect inferior output from
18332 $inferior_spawn_id. Use gdb_test_stdio.
18333
8396d2cd
PA
183342015-07-29 Pedro Alves <palves@redhat.com>
18335
18336 * gdb.base/dprintf.exp: Use standard_testfile. Change
18337 prepare_for_testing call.
18338 (srcfile): Don't set.
18339 (restart): New procedure.
18340 (test_dprintf): New procecure, use to continue over dprintfs.
18341 (test_call, test_agent): New procedures, tests moved here.
18342 Restart gdb and recreate dprintfs. Adjust expected output.
18343
2051d61f
PA
183442015-07-29 Pedro Alves <palves@redhat.com>
18345
18346 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18347
452397af
PA
183482015-07-29 Pedro Alves <palves@redhat.com>
18349
18350 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18351
8aed9555
PA
183522015-07-29 Pedro Alves <palves@redhat.com>
18353
18354 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18355 gdb_test_stdio.
18356
188a61b4
PA
183572015-07-29 Pedro Alves <palves@redhat.com>
18358
18359 * lib/gdb.exp (gdb_test_stdio): New procedure.
18360
12264a45
PA
183612015-07-29 Pedro Alves <palves@redhat.com>
18362
18363 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18364
23ffc893
PA
183652015-07-29 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.base/call-signal-resume.exp: Remove check for
18368 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18369 * gdb.base/unwindonsignal.exp: Likewise.
18370 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18371 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18372
65566918
PA
183732015-07-29 Pedro Alves <palves@redhat.com>
18374
18375 * gdb.base/siginfo-addr.c (pass): New function.
18376 (handler): Call it iff si_addr is correct.
18377 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18378 Set a breakpoint at "pass" and continue to it.
18379
d60a9221
SDJ
183802015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18381
18382 * gdb.python/py-objfile.exp: Make some tests have unique names.
18383 * gdb.python/py-pp-registration.exp: Likewise.
18384
bde40b8f
PA
183852015-07-28 Pedro Alves <palves@redhat.com>
18386
18387 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18388
13e1dec8
SM
183892015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18390
18391 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18392
da33c9a7
SM
183932015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18394
18395 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18396
077836f7
PP
183972015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18398
18399 * gdb.base/gdb-sigterm-2.exp: New test.
18400
b8cc7b2e
DE
184012015-07-25 Doug Evans <xdje42@gmail.com>
18402
18403 Revert:
18404 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18405 (workers/%.worker, build-perf): New rule.
18406 (GDB_PERFTEST_MODE): New variable.
18407 (check-perf): Use it.
18408 (clean): Clean up gdb.perf parallel build subdirs.
18409 * lib/build-piece.exp: New file.
18410 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18411 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18412 name.
18413 (standard_temp_file): Ditto.
18414 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18415 of $GDB_PARALLEL.
18416
c8bd4544
DE
184172015-07-24 Doug Evans <dje@google.com>
18418
18419 * gdb.perf/lib/perftest/utils.py: New file.
18420 * gdb.perf/gm-hello.cc: New file.
18421 * gdb.perf/gm-pervasive-typedef.cc: New file.
18422 * gdb.perf/gm-pervasive-typedef.h: New file.
18423 * gdb.perf/gm-std.cc: New file.
18424 * gdb.perf/gm-std.h: New file.
18425 * gdb.perf/gm-use-cerr.cc: New file.
18426 * gdb.perf/gm-utils.h: New file.
18427 * gdb.perf/gmonster-null-lookup.py: New file.
18428 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18429 * gdb.perf/gmonster-print-cerr.py: New file.
18430 * gdb.perf/gmonster-ptype-string.py: New file.
18431 * gdb.perf/gmonster-runto-main.py: New file.
18432 * gdb.perf/gmonster-select-file.py: New file.
18433 * gdb.perf/gmonster1-null-lookup.exp: New file.
18434 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18435 * gdb.perf/gmonster1-print-cerr.exp: New file.
18436 * gdb.perf/gmonster1-ptype-string.exp: New file.
18437 * gdb.perf/gmonster1-runto-main.exp: New file.
18438 * gdb.perf/gmonster1-select-file.exp: New file.
18439 * gdb.perf/gmonster1.cc: New file.
18440 * gdb.perf/gmonster1.exp: New file.
18441 * gdb.perf/gmonster2-null-lookup.exp: New file.
18442 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18443 * gdb.perf/gmonster2-print-cerr.exp: New file.
18444 * gdb.perf/gmonster2-ptype-string.exp: New file.
18445 * gdb.perf/gmonster2-runto-main.exp: New file.
18446 * gdb.perf/gmonster2-select-file.exp: New file.
18447 * gdb.perf/gmonster2.cc: New file.
18448 * gdb.perf/gmonster2.exp: New file.
18449
6eab34f3
DE
184502015-07-24 Doug Evans <dje@google.com>
18451
18452 * gdb.perf/README: New file.
18453 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18454 * lib/gen-perf-test.exp: New file.
18455
63738bfd
DE
184562015-07-24 Doug Evans <dje@google.com>
18457
18458 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18459 (PerfTest::startup): New function.
18460 (PerfTest::run): Return result of calling body.
18461 (PerfTest::assemble): Rewrite.
18462 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18463 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18464 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18465 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18466 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18467
7b606f95
DE
184682015-07-24 Doug Evans <dje@google.com>
18469
18470 * lib/gdb.exp (clean_restart): Make executable optional.
18471
a97b16b8
DE
184722015-07-24 Doug Evans <dje@google.com>
18473
18474 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18475 compiler_info references.
18476 * gdb.cp/temargs.exp: Ditto.
18477 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18478 (get_compiler_info): Early exit if already computed. Set compiler_info
18479 to "unknown" if there was a problem.
18480 (test_compiler_info): Add function comment. Call get_compiler_info.
18481
35baa57f
DE
184822015-07-24 Doug Evans <dje@google.com>
18483
18484 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18485 (workers/%.worker, build-perf): New rule.
18486 (GDB_PERFTEST_MODE): New variable.
18487 (check-perf): Use it.
18488 (clean): Clean up gdb.perf parallel build subdirs.
18489 * lib/build-piece.exp: New file.
18490 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18491 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18492 name.
18493 (standard_temp_file): Ditto.
18494 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18495 of $GDB_PARALLEL.
18496
6ebea266
DE
184972015-07-24 Doug Evans <dje@google.com>
18498
18499 * lib/future.exp (gdb_default_target_compile): New option
18500 "early_flags".
18501 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18502 --as-needed.
18503
1e76a7e9
SDJ
185042015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18505
18506 * gdb.base/catch-syscall.exp: Call gdb_exit before
18507 gdb_skip_xml_test.
18508
5068630a
PA
185092015-07-24 Pedro Alves <palves@redhat.com>
18510
18511 * gdb.python/py-events.exp: Accept output between the stop event
18512 and the prompt.
18513 * gdb.python/py-evsignal.exp: Likewise.
18514 * gdb.python/py-evthreads.exp: Likewise.
18515
77598427
PA
185162015-07-24 Pedro Alves <palves@redhat.com>
18517
18518 PR gdb/18717
18519 * gdb.threads/non-ldr-exit.c: New file.
18520 * gdb.threads/non-ldr-exit.exp: New file.
18521
11e6c98f
YQ
185222015-07-24 Yao Qi <yao.qi@linaro.org>
18523
18524 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18525 restarting process.
18526
51aee833
YQ
185272015-07-24 Yao Qi <yao.qi@linaro.org>
18528
18529 * gdb.server/ext-restart.exp: New file.
18530
8cfe207c
YQ
185312015-07-24 Yao Qi <yao.qi@linaro.org>
18532
18533 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18534 argument options.
18535 * gdb.server/ext-wrapper.exp: New file.
18536
cc12ce38
DE
185372015-07-23 Doug Evans <dje@google.com>
18538
18539 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18540 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18541
d0d84780
PMR
185422015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18543
18544 * gdb.ada/var_arr_typedef.exp: New testcase.
18545 * gdb.ada/var_arr_typedef/pack.adb: New file.
18546 * gdb.ada/var_arr_typedef/pack.ads: New file.
18547 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18548
8b558f79
JB
185492015-07-20 Joel Brobecker <brobecker@adacore.com>
18550
18551 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18552
775a3298
JK
185532015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18554
18555 * gdb.arch/i386-biarch-core.exp: Replace istarget
18556 by "complete set gnutarget". Remove expectation for the "core-file"
18557 command.
18558
db1ff28b
JK
185592015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18560
18561 Revert the previous commit:
18562 Tests for validate symbol file using build-id.
18563
0a94970d
JK
185642015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18565
18566 Tests for validate symbol file using build-id.
18567 * gdb.base/solib-mismatch-lib.c: New file.
18568 * gdb.base/solib-mismatch-libmod.c: New file.
18569 * gdb.base/solib-mismatch.c: New file.
18570 * gdb.base/solib-mismatch.exp: New file.
18571
03346981
SL
185722015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18573
18574 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18575 nios2-*-linux*.
18576 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18577 * gdb.base/siginfo.exp: Likewise.
18578 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18579
42422cc7
PL
185802015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18581
18582 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18583 Move it to ...
18584 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18585 ... here.
18586 * gdb.trace/range-stepping.exp: Check that the target supports
18587 range stepping.
18588
cfa68bae
JK
185892015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18590
18591 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18592
8ffdba26
PA
185932015-07-14 Pedro Alves <palves@redhat.com>
18594
18595 * gdb.base/killed-outside.exp: New file.
18596 * gdb.base/killed-outside.c: New file.
18597
218a5a11
JK
185982015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18599
18600 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18601 (n at main): New.
18602 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18603
e03ed3c6
AA
186042015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18605
18606 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18607 infcall tests instead of setting up for KFAIL.
18608
485668e5
MM
186092015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18610
18611 * gdb.btrace/record_goto-step.exp: New.
18612
08464196
JK
186132015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18614
18615 PR compile/18484
18616 * gdb.compile/compile.c (struct struct_type): Add volatile to
18617 selffield's type.
18618 * gdb.compile/compile.exp
18619 (compile code struct_object.selffield = &struct_object): Skip further
18620 struct_object tests if this one xfails.
18621
bcf5c1d9
RC
186222015-07-08 Robert O'Callahan <robert@ocallahan.org>
18623
18624 PR exp/18617
18625 * gdb.trace/ax.exp: Add test.
18626
4931af25
YQ
186272015-07-07 Yao Qi <yao.qi@linaro.org>
18628
18629 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18630 instead of istarget "aarch64*-*-*".
18631 * gdb.arch/aarch64-fp.exp: Likewise.
18632 * gdb.base/float.exp: Likewise.
18633 * gdb.reverse/aarch64.exp: Likewise.
18634 * lib/gdb.exp (is_aarch64_target): New proc.
18635
9fcf688e
YQ
186362015-07-07 Yao Qi <yao.qi@linaro.org>
18637
18638 * lib/gdb.exp (is_aarch32_target): New proc.
18639 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18640 instead of "istarget "arm*-*-*"".
18641 * gdb.arch/arm-disp-step.exp: Likewise.
18642 * gdb.arch/thumb-bx-pc.exp: Likewise.
18643 * gdb.arch/thumb-prologue.exp: Likewise.
18644 * gdb.arch/thumb-singlestep.exp: Likewise.
18645 * gdb.base/disp-step-syscall.exp: Likewise.
18646 * gdb.base/float.exp: Likewise.
18647
fbd8d50d
YQ
186482015-07-07 Yao Qi <yao.qi@linaro.org>
18649
18650 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18651 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18652
71be1fdc
YQ
186532015-07-07 Yao Qi <yao.qi@linaro.org>
18654
18655 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18656 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18657 if it exists.
18658 * gdb.multi/multi-arch.exp: Likewise.
18659
3e221d36
SM
186602015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18661
18662 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18663 print.
18664
d441430b
YQ
186652015-07-07 Yao Qi <yao.qi@linaro.org>
18666
18667 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18668
06f810bd
MG
186692015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18670
18671 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18672 '[' and ']' characters.
18673
5e61e7c0
IB
186742015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18675
18676 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18677
28bf096c
PA
186782015-06-29 Pedro Alves <palves@redhat.com>
18679
18680 PR threads/18127
18681 * gdb.threads/hand-call-new-thread.c: New file.
18682 * gdb.threads/hand-call-new-thread.c: New file.
18683
ee93cd5e
KS
186842015-06-26 Keith Seitz <keiths@redhat.com>
18685 Doug Evans <dje@google.com>
18686
18687 PR 16253
18688 * gdb.cp/var-tag-2.cc: New file.
18689 * gdb.cp/var-tag-3.cc: New file.
18690 * gdb.cp/var-tag-4.cc: New file.
18691 * gdb.cp/var-tag.cc: New file.
18692 * gdb.cp/var-tag.exp: New file.
18693
fc637f04
PP
186942015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18695
18696 * gdb.base/history-duplicates.exp: New test.
18697
2e52ae68
PP
186982015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18699
18700 * gdb.base/completion.exp: Test the completion of the "focus"
18701 command.
18702
6e22494e
JK
187032015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18704
18705 * gdb.arch/amd64-prologue-skip.S: New file.
18706 * gdb.arch/amd64-prologue-skip.exp: New file.
18707
bf7b9cd9
SM
187082015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18709
18710 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18711 is_address_zero_readable check.
18712
201e8dfd
PB
187132015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18714
18715 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18716 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18717
5cd867b4
YQ
187182015-06-24 Yao Qi <yao.qi@linaro.org>
18719
18720 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18721 linux targets.
18722
4d7be007
YQ
187232015-06-24 Yao Qi <yao.qi@linaro.org>
18724
18725 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18726 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18727 * gdb.base/siginfo-thread.exp: Likewise.
18728
07fcd301
YQ
187292015-06-22 Yao Qi <yao.qi@linaro.org>
18730
18731 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18732
52042a00
YQ
187332015-06-22 Yao Qi <yao.qi@linaro.org>
18734
18735 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18736 aarch64*-*-*.
18737 (skip_hw_watchpoint_tests): Likewise.
18738
74bd41ce
PP
187392015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18740
18741 * gdb.base/gdbinit-history.exp: Test the interaction between
18742 setting GDBHISTSIZE and setting the history size via .gdbinit.
18743
bc460514
PP
187442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18745
18746 PR gdb/16999
18747 * gdb.base/gdbhistsize-history.exp: New test.
18748
b58c513b
PP
187492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18750
18751 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18752 with GDBHISTSIZE.
18753 * gdb.base/readline.exp: Likewise.
18754
92046791
YQ
187552015-06-17 Yao Qi <yao.qi@linaro.org>
18756
18757 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18758 line.
18759
2093d2d3
PP
187602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18761
18762 * gdb.base/gdbinit-history.exp: Add test case to check that
18763 an unlimited history file does not get truncated on exit.
18764
e6c693af
AA
187652015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18766
18767 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18768 (VECTOR): New macro. Use it...
18769 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18770 ...for these typedefs.
18771 (int8, char1, int1, double1): New typedefs.
18772 (struct just_int2, struct two_int2): New structures.
18773 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18774 (add_structvecs, add_singlevecs): New functions.
18775 (main): Call add_some_intvecs twice.
18776 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18777 the compile and exit upon failure. Try compiling for the "native"
18778 architecture. Test inferior function calls with vector arguments
18779 and vector return value handling with "finish" and "return".
18780
c74f7d1c
JT
187812015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18782
18783 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18784 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18785 PE file.
18786 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18787
98aa42ee
AT
187882015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18789
18790 PR breakpoints/16465
18791 * gdb.mi/mi-dprintf-pending.c: New file.
18792 * gdb.mi/mi-dprintf-pending.exp: New test.
18793 * gdb.mi/mi-dprintf-pendshr.c: New file.
18794
7d73c23c 187952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18796 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18797
18798 * gdb.arch/i386-mpx-map.c: New file.
18799 * gdb.arch/i386-mpx-map.exp: New File.
18800
188012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18802
18803 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18804 * gdb.arch/i386-mpx.exp: Indentation fixed.
18805
188062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18807
18808 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18809 function and improved indentation.
18810 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18811 gdb_test_multiple. Added additional tests to skip the test.
18812
188132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18814
18815 * gdb.arch/i386-avx512.c: Change path in include file.
18816 * gdb.arch/i386-avx512.exp: Change include dir path
18817 compilation flag.
18818 * gdb.arch/i386-mpx.c: Change path in include file.
18819 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18820 flag.
18821
d5eba19a
JK
188222015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18823
18824 * gdb.compile/compile-print.exp (compile print *vararray@3)
18825 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18826
7f361056
JK
188272015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18828
18829 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18830 (do not keep jit in memory): ... this.
18831 (expect 5): Change it to ...
18832 (expect no 5): ... this.
18833
3b462ec2
SM
188342015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18835
18836 PR gdb/15564
18837 * gdb.mi/mi-detach.exp: New file.
18838
e0619de6
JK
188392015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18840
18841 PR symtab/18392
18842 * gdb.arch/amd64-tailcall-self.S: New file.
18843 * gdb.arch/amd64-tailcall-self.c: New file.
18844 * gdb.arch/amd64-tailcall-self.exp: New file.
18845
e970cb34
DB
188462015-05-28 Don Breazeal <donb@codesourcery.com>
18847
18848 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18849 tests for remote targets by checking is_target_gdbserver.
18850
b2e2f908
DE
188512015-05-27 Doug Evans <dje@google.com>
18852
18853 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18854 * gdb.dwarf2/opaque-type-lookup.c: New file.
18855 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18856
82c7be31
DE
188572015-05-26 Doug Evans <dje@google.com>
18858
18859 * gdb.cp/iostream.cc: New file.
18860 * gdb.cp/iostream.exp: New file.
18861
b4f54984
DE
188622015-05-26 Doug Evans <dje@google.com>
18863
18864 * gdb.dwarf2/dw2-op-call.exp: Update.
18865 * gdb.dwarf2/dw4-sig-types.exp: Update.
18866 * gdb.dwarf2/implptr.exp: Update.
18867 * gdb.mi/mi-cmd-param-changed.exp: Update.
18868
4ea6efe9
DE
188692015-05-26 Doug Evans <dje@google.com>
18870
18871 * gdb.python/py-lazy-string.c: New file.
18872 * gdb.python/py-lazy-string.exp: New file.
18873 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18874 (main): Update. Add estring3.
18875 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18876 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18877
f6bb7db3
YQ
188782015-05-26 Omair Javaid <omair.javaid@linaro.org>
18879 Yao Qi <yao.qi@linaro.org>
18880
18881 * gdb.reverse/aarch64.c: New.
18882 * gdb.reverse/aarch64.exp: New.
18883
a81bfbd0
OJ
188842015-05-26 Omair Javaid <omair.javaid@linaro.org>
18885
25d49b86
PA
18886 * lib/gdb.exp (supports_process_record): Return true for
18887 aarch64*-linux*.
a81bfbd0
OJ
18888 (supports_reverse): Likewise.
18889
158bf1b4
PP
188902015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18891
18892 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18893 Use with_test_prefix.
18894
a0145030
AB
188952015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18896
18897 * gdb.base/completion.exp: Add test for completion of layout
18898 names.
18899
ebe3b578
AB
189002015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18901
18902 * lib/gdb.exp (skip_tui_tests): New proc.
18903 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18904
84204ed7
PA
189052015-05-19 Pedro Alves <palves@redhat.com>
18906
18907 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18908 Save the whole env array instead of just HOME. Unset HISTSIZE in
18909 the environment while testing. Restore whole environment
18910 afterwards.
18911
37442ce1
DE
189122015-05-16 Doug Evans <xdje42@gmail.com>
18913
18914 * gdb.guile/scm-ports.c: New file.
18915 * gdb.guile/scm-ports.exp: Add memory port tests.
18916
36de76f9
JK
189172015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18918
18919 * gdb.compile/compile-print.c: New file.
18920 * gdb.compile/compile-print.exp: New file.
18921
3a9558c4
JK
189222015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18923
18924 * gdb.compile/compile-ops.exp: Cast param to void.
18925 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18926 (compile code struct_object.selffield = &struct_object): Add xfail.
18927
aa715135
JG
189282015-05-15 Joel Brobecker <brobecker@adacore.com>
18929
18930 * gdb.ada/arr_enum_with_gap: New testcase.
18931
931e5bc3
JG
189322015-05-15 Joel Brobecker <brobecker@adacore.com>
18933
18934 * gdb.ada/byte_packed_arr: New testcase.
18935
9cd4d857
JB
189362015-05-15 Joel Brobecker <brobecker@adacore.com>
18937
18938 * gdb.ada/pckd_neg: New testcase.
18939
ebfd00d2
PP
189402015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18941
18942 PR gdb/17820
18943 * gdb.base/gdbinit-history.exp: New test.
18944 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18945 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18946
4c082a81
SC
189472015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18948
18949 * gdb.python/py-xmethods.cc: Enhance test case.
18950 * gdb.python/py-xmethods.exp: New tests.
18951 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18952 function.
18953 (B_indexoper): Likewise.
18954 (global_dm_list) : Add new xmethod worker functions.
18955
f7797074
SDJ
189562015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18957
18958 * gdb.base/coredump-filter.exp: Correctly unset
18959 "coredump_var_addr" array.
18960
a4674e4e
PA
189612015-05-08 Pedro Alves <palves@redhat.com>
18962
18963 * gdb.server/non-existing-program.exp: Unset spawn_id.
18964
df2eb078
SC
189652015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18966
18967 PR python/18291
18968 * gdb.python/py-xmethods.exp: Add tests.
18969
422349a3
YQ
189702015-05-08 Yao Qi <yao.qi@linaro.org>
18971
18972 PR gdb/18208
18973 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18974 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18975 function set_coredump_filter, and remove remote_exec call.
18976 Remove argument ipid. Callers update.
18977 (top level): Don't get inferior's PID.
18978
63fc80ce
AA
189792015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18980
18981 * gdb.base/watch_thread_num.exp: Skip test on targets without
18982 access watchpoints.
18983
80ad801e
PA
189842015-05-06 Pedro Alves <palves@redhat.com>
18985
18986 PR server/18081
18987 * gdb.server/non-existing-program.exp: New file.
18988
0fa7fe50
JB
189892015-05-05 Joel Brobecker <brobecker@adacore.com>
18990
18991 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18992
3ea89b92
PMR
189932015-05-05 Joel Brobecker <brobecker@adacore.com>
18994
18995 * gdb.ada/out_of_line_in_inlined: New testcase.
18996
87b8eff0
JB
189972015-05-05 Joel Brobecker <brobecker@adacore.com>
18998
18999 * gdb.ada/var_rec_arr: New testcase.
19000
5fccc635
YQ
190012015-04-30 Yao Qi <yao.qi@linaro.org>
19002
19003 * gdb.base/break-idempotent.exp: If
19004 skip_hw_watchpoint_multi_tests returns true, skip the tests
19005 on "rwatch" and "awatch".
19006
42d38f42
YQ
190072015-04-30 Yao Qi <yao.qi@linaro.org>
19008
19009 * gdb.base/relativedebug.exp: Invoke gdb command
19010 "info sharedlibrary", and if libc.so doesn't have debug info,
19011 skip the test.
19012
2ce1cdbf
DE
190132015-04-29 Doug Evans <dje@google.com>
19014
19015 * gdb.python/py-xmethods.exp: Add ptype tests.
19016 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19017 get_result_type method.
19018
f24a38c5
LM
190192015-04-29 Luis Machado <lgustavo@codesourcery.com>
19020
19021 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19022 the target does not support hardware watchpoints.
19023
ecbf2b3c
LM
190242015-04-29 Luis Machado <lgustavo@codesourcery.com>
19025
19026 * gdb.base/break-always.exp: Abort testing if writing to memory
19027 causes an error.
19028
34f5f757
DE
190292015-04-28 Doug Evans <dje@google.com>
19030
19031 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19032 * gdb.python/py-pp-registration.exp: ... here. New file.
19033 * gdb.python/py-pp-registration.c: New file.
19034 * gdb.python/py-pp-registration.py: New file.
19035
69b4374a
DE
190362015-04-28 Doug Evans <dje@google.com>
19037
19038 * gdb.python/py-bad-printers.c: New file.
19039 * gdb.python/py-bad-printers.py: New file.
19040 * gdb.python/py-bad-printers.exp: New file.
19041
59fb7612
SS
190422015-04-28 Sasha Smundak <asmundak@google.com>
19043
19044 * gdb.python/py-type.exp: New test.
19045
2631b16a
AW
190462015-04-28 Andy Wingo <wingo@igalia.com>
19047
19048 * gdb.python/py-parameter.exp:
19049 * gdb.guile/scm-parameter.exp: Escape the path that we are
19050 matching against, as it might contain characters that are special
19051 to regular expressions.
19052
460efde1
JB
190532015-04-27 Joel Brobecker <brobecker@adacore.com>
19054
19055 * gdb.ada/rec_comp: New testcase.
19056
2d369d8e
SDJ
190572015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19058
19059 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19060 before using it.
19061
cf75d6c3
AB
190622015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19063
19064 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19065 new tests for verilog output.
19066
8dbe7ca5
YQ
190672015-04-24 Yao Qi <yao.qi@linaro.org>
19068
19069 * boards/remote-gdbserver-on-localhost.exp: New file.
19070
4ef9fb2f
PA
190712015-04-23 Pedro Alves <palves@redhat.com>
19072
19073 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19074 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19075 "end of file", remove $inferior_spawn_id from the indirect list.
19076
0a803169
PA
190772015-04-23 Pedro Alves <palves@redhat.com>
19078
19079 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19080
749ef8f8
PA
190812015-04-23 Pedro Alves <palves@redhat.com>
19082
19083 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19084 on $any_spawn_id instead of only on $gdb_spawn_id.
19085
8aae4344
PM
190862015-04-21 Pierre Muller <muller@sourceware.org>
19087
19088 PR pascal/17815
19089 * lib/pascal.exp (gpc_compile): Add new option "class".
19090 (fpc_compile): Likewise.
19091 * gdb.pascal/case-insensitive-symbols.pas: New file.
19092 * gdb.pascal/case-insensitive-symbols.exp: New file.
19093
1586c8fb
GB
190942015-04-20 Gary Benson <gbenson@redhat.com>
19095
19096 * gdb.base/attach.exp: Fix three extended remote failures.
19097
1b6e6f5c
GB
190982015-04-17 Gary Benson <gbenson@redhat.com>
19099
19100 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19101 the main executable over the remote protocol.
19102
e797481d
PA
191032015-04-16 Pedro Alves <palves@redhat.com>
19104
19105 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19106 a new gdbserver if gdbserver_reconnect_p is set.
19107
1ca99c42
PA
191082015-04-16 Pedro Alves <palves@redhat.com>
19109
19110 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19111 is set, don't exit gdbserver.
19112
af9fd6f8
AA
191132015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19114
19115 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19116 appropriate .insn, such that an older assembler can be used.
19117 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19118 the z/Architecture instruction set on 31-bit targets as well.
19119
04ff1e61
AA
191202015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19121
19122 * gdb.go/handcall.exp: Remove all logic related to the first
19123 breakpoint and rely on go_runto_main instead.
19124 * gdb.go/strings.exp: Likewise.
19125 * gdb.go/unsafe.exp: Likewise.
19126 * gdb.go/hello.exp: Likewise. Also rename the remaining
19127 breakpoint marker to "breakpoint 1".
19128 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19129 * gdb.go/strings.go: Likewise.
19130 * gdb.go/unsafe.go: Likewise.
19131 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19132 "set breakpoint 2 here" and rename the remaining breakpoint marker
19133 to "breakpoint 1".
19134
40d2f8d6
SM
191352015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19136
19137 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19138 if itertools.imap is not present.
19139 * gdb.python/py-objfile.exp: Add parentheses.
19140 * gdb.python/py-type.exp: Same.
19141 * gdb.python/py-unwind-maint.py: Same.
19142
8cbc97c6
YQ
191432015-04-15 Yao Qi <yao.qi@linaro.org>
19144
19145 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19146 of ":$ptr_size" and set its form explicitly.
19147
45fd756c
YQ
191482015-04-15 Pedro Alves <palves@redhat.com>
19149 Yao Qi <yao.qi@linaro.org>
19150
19151 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19152 timeout by factor of 4.
19153 (test_regular_watch): Likewise.
19154 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19155 * gdb.reverse/sigall-reverse.exp: Likewise.
19156 * gdb.reverse/until-precsave.exp: Likewise.
19157 * lib/gdb.exp (with_timeout_factor): New proc.
19158 (gdb_expect): Move some code to ...
19159 (get_largest_timeout): ... here. New procedure.
19160
9e811bc3
LM
191612015-04-14 Luis Machado <lgustavo@codesourcery.com>
19162
19163 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19164
0ff6fcb2
LM
191652015-04-13 Luis Machado <lgustavo@codesourcery.com>
19166
19167 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19168 to write to the .text section.
19169
7578d5f7
LM
191702015-04-13 Luis Machado <lgustavo@codesourcery.com>
19171
19172 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19173 Handle the case of targets that do not provide PID information.
19174
2efe15c4
YQ
191752015-04-13 Yao Qi <yao.qi@linaro.org>
19176
19177 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19178 and use expect instead of gdb_expect.
19179
8cd8f2f8
SDJ
191802015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19181
19182 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19183 "coredump_var_addr" to avoid naming conflict with other testcases.
19184
9ee41772
PA
191852015-04-10 Pedro Alves <palves@redhat.com>
19186
19187 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19188 gdb_test_sequence and gdb_assert.
19189
07473109
PA
191902015-04-10 Pedro Alves <palves@redhat.com>
19191
19192 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19193 test messages that don't include the breakpoint address.
19194
de3db44c
YQ
191952015-04-10 Yao Qi <yao.qi@linaro.org>
19196
19197 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19198 false for some offset and width combinations which aren't
19199 supported by linux kernel.
19200
c79d856c
PA
192012015-04-10 Pedro Alves <palves@redhat.com>
19202
19203 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19204 procedure, factored out from ...
19205 (top level): ... here. Add "set displaced-stepping" testing axis.
19206 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19207 parameter "displaced". Use it.
19208 (top level): Use foreach and add "set displaced-stepping" testing
19209 axis.
19210
ebc90b50
PA
192112015-04-10 Pedro Alves <palves@redhat.com>
19212
19213 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19214 Remove comment.
19215 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19216 both the address of the instruction that triggers the watchpoint
19217 and the address of the instruction immediately after, and use
19218 those addresses for the test. Fix comment.
19219
8f572e5c
PA
192202015-04-10 Pedro Alves <palves@redhat.com>
19221
19222 * gdb.base/sigstep.exp (breakpoint_to_handler)
19223 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19224 Test "backtrace" in handler.
19225 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19226 (top level): Add new "displaced" test axis to
19227 breakpoint_to_handler, breakpoint_to_handler_entry and
19228 breakpoint_over_handler.
19229
8d707a12
PA
192302015-04-10 Pedro Alves <palves@redhat.com>
19231
19232 PR gdb/18216
19233 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19234
ef713951
YQ
192352015-04-10 Yao Qi <yao.qi@linaro.org>
19236
19237 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19238 (test_add_rn_pc): New function.
19239 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19240 (top level): Invoke test_add_rn_pc.
19241
906d60cf
PA
192422015-04-10 Pedro Alves <palves@redhat.com>
19243
19244 PR gdb/13858
19245 * gdb.base/step-over-no-symbols.exp: New file.
19246
f2983cc3
AW
192472015-04-09 Andy Wingo <wingo@igalia.com>
19248
19249 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19250 after the Python tests.
19251
6d62641c
SDJ
192522015-04-08 Keith Seitz <keiths@redhat.com>
19253
19254 PR python/16699
19255 * gdb.python/py-completion.exp: New tests for completion.
19256 * gdb.python/py-completion.py (CompleteLimit1): New class.
19257 (CompleteLimit2): Likewise.
19258 (CompleteLimit3): Likewise.
19259 (CompleteLimit4): Likewise.
19260 (CompleteLimit5): Likewise.
19261 (CompleteLimit6): Likewise.
19262 (CompleteLimit7): Likewise.
19263
f3770638
PA
192642015-04-08 Pedro Alves <palves@redhat.com>
19265
19266 PR gdb/18214
19267 PR gdb/18216
19268 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19269 function.
19270 (main): Install it as SIGUSR1 handler.
19271 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19272 parameter. Always use "setup" as prefix. Toggle "set
19273 displaced-stepping" off/on depending on global. Don't switch to
19274 thread 1 here.
19275 (top level): Add displaced stepping "off/on" test axis. Update
19276 "setup" calls. Wrap each subtest with with_test_prefix. Test
19277 continuing with a queued signal in each thread.
19278
4496bed7
PA
192792015-04-08 Pedro Alves <palves@redhat.com>
19280
19281 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19282 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19283 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19284 Return early if running to main fails.
19285 * gdb.trace/while-stepping.exp: Likewise.
19286
b97fde92
PA
192872015-04-07 Pedro Alves <palves@redhat.com>
19288
19289 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19290 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19291 interact with inferior program.
19292
f71c18e7
PA
192932015-04-07 Pedro Alves <palves@redhat.com>
19294
19295 * lib/gdb.exp (inferior_spawn_id): New global.
19296 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19297 spawn id after processing the user code.
19298 (default_gdb_start): Set inferior_spawn_id.
19299 (send_inferior): New procedure.
19300 * lib/gdbserver-support.exp (gdbserver_start): Set
19301 inferior_spawn_id.
19302 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19303
6423214f
PA
193042015-04-07 Pedro Alves <palves@redhat.com>
19305
19306 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19307 * lib/gdbserver-support.exp (gdbserver_start): Make
19308 $server_spawn_id global.
19309 (gdbserver_start): Don't wait for gdbserver's spawn id with
19310 expect_background.
19311 (close_gdbserver): New procedure.
19312 (gdb_exit): Rename the default version and reimplement.
19313
71c0ee8c
PA
193142015-04-07 Pedro Alves <palves@redhat.com>
19315
72f4393d 19316 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19317 append the substituted item, not the original item.
19318
203bc29b
PA
193192015-04-07 Pedro Alves <palves@redhat.com>
19320
19321 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19322 gdb_expect.
19323
508a3ddf
PA
193242015-04-07 Pedro Alves <palves@redhat.com>
19325
19326 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19327 output appearing once only.
19328
9f6dbe2b
PA
193292015-04-07 Pedro Alves <palves@redhat.com>
19330
19331 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19332 that doesn't expect anything. Return early if running to main
19333 fails.
19334
337532fa
YQ
193352015-04-07 Yao Qi <yao.qi@linaro.org>
19336
19337 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19338 (child_function): Call alarm.
19339 (main): Move call to alarm into the loop.
19340 * gdb.threads/non-stop-fair-events.exp: Build program with
19341 -DTIMEOUT=$timeout.
19342
01b622d4
DE
193432015-04-06 Doug Evans <xdje42@gmail.com>
19344
19345 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19346 Fix dest parameter to board_info.
19347 (fpc_compile): Ditto.
19348 (gdb_compile_pascal): Rename dest arg to destfile.
19349
961f4160
PMR
193502015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19351
19352 * gdb.ada/funcall_ref.exp: New file.
19353 * gdb.ada/funcall_ref/foo.adb: New file.
19354
cafda597
YQ
193552015-04-02 Yao Qi <yao.qi@linaro.org>
19356
19357 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19358 is remote.
19359
fed040c6
GB
193602015-04-02 Gary Benson <gbenson@redhat.com>
19361
19362 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19363
d11916aa
SS
193642015-04-01 Sasha Smundak <asmundak@google.com>
19365
19366 * gdb.python/py-unwind-maint.c: New file.
19367 * gdb.python/py-unwind-maint.exp: New test.
19368 * gdb.python/py-unwind-maint.py: New file.
19369 * gdb.python/py-unwind.c: New file.
19370 * gdb.python/py-unwind.exp: New test.
19371 * gdb.python/py-unwind.py: New test.
19372
a1471180
PA
193732015-04-01 Pedro Alves <palves@redhat.com>
19374
19375 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19376 to fail instead of non-existent $test.
19377
0bbeccb1
PA
193782015-04-01 Pedro Alves <palves@redhat.com>
19379
19380 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19381 GDBFLAGS if not empty.
19382
3c724c8c
PMR
193832015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19384
19385 * gdb.ada/complete.exp: Remove "multi_line".
19386 * gdb.ada/info_exc.exp: Remove "multi_line".
19387 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19388 * gdb.ada/ptype_field.exp: Remove "multi_line".
19389 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19390 * gdb.ada/tagged.exp: Remove "multi_line".
19391 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19392 [multi_line ...]
19393 * gdb.btrace/delta.exp: Likewise.
19394 * gdb.btrace/exception.exp: Likewise.
19395 * gdb.btrace/function_call_history.exp: Likewise.
19396 * gdb.btrace/instruction_history.exp: Likewise.
19397 * gdb.btrace/nohist.exp: Likewise.
19398 * gdb.btrace/record_goto.exp: Likewise.
19399 * gdb.btrace/segv.exp: Likewise.
19400 * gdb.btrace/stepi.exp: Likewise.
19401 * gdb.btrace/tailcall.exp: Likewise.
19402 * gdb.btrace/unknown_functions.exp: Likewise.
19403 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19404 * lib/gdb.exp: Add the "multi_line" helper.
19405
4eec2deb
PA
194062015-04-01 Pedro Alves <palves@redhat.com>
19407
19408 * gdb.threads/tid-reuse.c: New file.
19409 * gdb.threads/tid-reuse.exp: New file.
19410
df8411da
SDJ
194112015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19412
19413 PR corefiles/16092
19414 * gdb.base/coredump-filter.c: New file.
19415 * gdb.base/coredump-filter.exp: Likewise.
19416
6ef37366
PM
194172015-03-27 Petr Machata <pmachata@redhat.com>
19418
19419 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19420 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19421 (Dwarf::assemble): Initialize them.
19422 (Dwarf::lines): New function.
19423
7ec911b0
JT
194242015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19425
19426 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19427 SYMBOL_PREFIX for x86_64-*-cygwin.
19428
ff908ebf
AW
194292015-03-26 Andy Wingo <wingo@igalia.com>
19430
19431 PR symtab/18148
19432 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19433 const_value but not a location.
19434 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19435 location defined in non-main CUs are visible.
19436
6d5f0679
YQ
194372015-03-26 Yao Qi <yao.qi@linaro.org>
19438
19439 PR testsuite/18139
19440 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19441 Add a line number entry for the same line.
19442 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19443 Add a line number entry for the same line.
19444
2898689b
YQ
194452015-03-26 Yao Qi <yao.qi@linaro.org>
19446
19447 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19448 .int 0.
19449 (func): Likewise. Add .Lfunc_1 label.
19450 Use .Lfunc_1 label.
19451 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19452 .int 0.
19453 (func): Likewise.
19454 Use .Lfunc_1 label.
19455
85180498
YQ
194562015-03-26 Yao Qi <yao.qi@linaro.org>
19457
19458 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19459 Call gdb_compile instead to compile each .s files without debug
19460 information.
19461
8aa08a8d
YQ
194622015-03-26 Yao Qi <yao.qi@linaro.org>
19463
19464 * gdb.base/savedregs.exp (process_saved_regs): Make
19465 "Saved registers:" optional in the pattern.
19466
66849923
MM
194672015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19468
19469 * gdb.btrace/next.exp: Merged into step.exp.
19470 * gdb.btrace/finish.exp: Merged into step.exp.
19471 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19472 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19473 "record goto" and checking the exact replay position.
19474 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19475 check for "Recording format" in "info record" output.
19476 * gdb.btrace/record_goto.exp: Choose test file based on target.
19477 * gdb.btrace/x86-record_goto.S: Renamed into ...
19478 * gdb.btrace/x86_64-record_goto.S: ... this.
19479 * gdb.btrace/i686-record_goto.S: New.
19480 * gdb.btrace/x86-tailcall.S: Renamed into ...
19481 * gdb.btrace/x86_64-tailcall.S: ... this.
19482 * gdb.btrace/i686-tailcall.S: New.
19483 * gdb.btrace/x86-tailcall.c: Renamed into ...
19484 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19485 separate statements. Update test.
19486 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19487 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19488 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19489 * gdb.btrace/tailcall.exp: Choose test file based on target.
19490 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19491
11cc1b74
MM
194922015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19493
19494 * gdb.btrace/exception.exp: Increase BTS buffer size.
19495
a25d8bf9
PA
194962015-03-24 Pedro Alves <palves@redhat.com>
19497
19498 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19499
856e7dd6
PA
195002015-03-24 Pedro Alves <palves@redhat.com>
19501
19502 * gdb.threads/schedlock.exp (test_step): No longer expect that
19503 "set scheduler-locking step" with "next" over a function call runs
19504 threads unlocked.
19505
ad235a41
AT
195062015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19507
19508 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19509
15630549
AT
195102015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19511
19512 PR breakpoints/16466
19513 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19514 * gdb.mi/mi-pending.c (thread_func): New function.
19515 (int main): Add threading support required.
19516 * gdb.mi/mi-pending.exp: Add tests for this issue.
19517 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19518 (pendfunc2): Remove stdio dependency.
19519 * gdb.mi/mi-pendshr2.c: New file.
19520
693dca06
KS
195212015-03-23 Keith Seitz <keiths@redhat.com>
19522
19523 * gdb.linespec/keywords.c: New file.
19524 * gdb.linespec/keywords.exp: New file.
19525
7e993ebf
KS
195262015-03-23 Keith Seitz <keiths@redhat.com>
19527
19528 PR gdb/18021
19529 * gdb.dwarf2/staticvirtual.exp: New test.
19530
bc23328c
JK
195312015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19532
19533 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19534 * README: Remove HP-UX and gdb.hp.
19535 (configuration):
19536 * configure: Regenerate.
19537 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19538 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19539 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19540 gdb.hp/gdb.defects/Makefile.
19541 * gdb.hp/Makefile.in: File deleted.
19542 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19543 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19544 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19545 * gdb.hp/gdb.aCC/run.c: File deleted.
19546 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19547 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19548 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19549 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19550 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19551 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19552 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19553 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19554 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19555 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19556 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19557 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19558 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19559 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19560 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19561 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19562 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19563 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19564 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19565 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19566 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19567 * gdb.hp/gdb.compat/average.c: File deleted.
19568 * gdb.hp/gdb.compat/sum.c: File deleted.
19569 * gdb.hp/gdb.compat/xdb.c: File deleted.
19570 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19571 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19572 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19573 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19574 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19575 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19576 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19577 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19578 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19579 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19580 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19581 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19582 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19583 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19584 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19585 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19586 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19587 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19588 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19589 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19590 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19591 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19592 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19593 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19594 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19595 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19596 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19597 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19598 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19599 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19600 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19601 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19602 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19603 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19604 * gdb.hp/tools/odump: File deleted.
19605
8bf3b159
PA
196062015-03-19 Pedro Alves <palves@redhat.com>
19607
19608 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19609 (saw_thread_3): New globals.
19610 (top level): Increment them when an event for the corresponding
19611 thread is seen.
19612 (no thread starvation): New test.
19613
eb54c8bf
PA
196142015-03-19 Pedro Alves <palves@redhat.com>
19615
19616 * gdb.threads/continue-pending-status.c: New file.
19617 * gdb.threads/continue-pending-status.exp: New file.
19618
32d2e5d6
PA
196192015-03-18 Pedro Alves <palves@redhat.com>
19620
19621 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19622 Use gdb_is_target_remote instead of is_remote. Use
19623 gdb_test_multiple instead of gdb_expect. Exit early if
19624 gdb_test_multiple hits its internal matches. Tighten stepi tests
19625 expected output. Fail on exit with any signal, instead of just
19626 SIGILL.
19627
f68f11b7
YQ
196282015-03-18 Yao Qi <yao.qi@linaro.org>
19629
19630 PR tdep/18107
19631 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19632 variable.
19633 * gdb.base/catch-syscall.exp: Don't skip it on
19634 aarch64*-*-linux* target. Remove elements in all_syscalls.
19635 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19636 target.
19637 (setup_all_syscalls): New proc.
19638
ca5fd19b
YQ
196392015-03-16 Yao Qi <yao.qi@linaro.org>
19640
19641 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19642 (top level): Skip tests if valid_addr_p returns false for
19643 $cmd1 or $cmd2.
19644
85642ba0
AW
196452015-03-11 Andy Wingo <wingo@igalia.com>
19646
19647 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19648
e03f9645
YQ
196492015-03-11 Yao Qi <yao.qi@linaro.org>
19650
19651 * gdb.base/catch-syscall.exp: Fix typo in comments.
19652
5d0962b2
YQ
196532015-03-11 Yao Qi <yao.qi@linaro.org>
19654
19655 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19656
b2df3cef
PA
196572015-03-09 Pedro Alves <palves@redhat.com>
19658
19659 * dg-extract-results.py: Delete.
19660
ef878e53
PA
196612015-03-09 Pedro Alves <palves@redhat.com>
19662
19663 Merge dg-extract-results.sh from GCC upstream (r218843).
19664
19665 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19666 * dg-extract-results.sh: Use --text with grep to avoid issues with
19667 binary files. Fall back to cat -v, if that doesn't work.
19668
9494d219
PA
196692015-03-05 Pedro Alves <palves@redhat.com>
19670
19671 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19672
a8d9763a
SM
196732015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19674
19675 * lib/mi-support.exp (mi_expect_interrupt): Accept
19676 alternative event for when in all-stop mode.
19677
be9957b8
PA
196782015-03-04 Pedro Alves <palves@redhat.com>
19679
19680 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19681
d57be0f4 196822015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19683
19684 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19685
c214c7cf
AA
196862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19687
19688 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19689 regexps for GDB's current line display, accept a hex address
19690 preceding the line number.
19691
6d74a497
AA
196922015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19693
19694 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19695 the 'arch1' variable for "s390*-linux*" targets.
19696
511aee7c
PA
196972015-03-04 Pedro Alves <palves@redhat.com>
19698
19699 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19700 (main): Pass missing retval argument to pthread_join call.
19701
95e50b27
PA
197022015-03-02 Pedro Alves <palves@redhat.com>
19703
19704 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19705 (top level): Call do_test with non-stop as well.
19706
28054d69
PA
197072015-03-02 Pedro Alves <palves@redhat.com>
19708
19709 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19710 -1.
19711
4fa5d7b4
AA
197122015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19713
19714 * gdb.arch/s390-vregs.exp: New test.
19715 * gdb.arch/s390-vregs.S: New file.
19716
97c18565
PA
197172015-02-27 Pedro Alves <palves@redhat.com>
19718
19719 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19720 call to catch_command_errors.
19721 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19722 catch_command_errors.
19723
a37bfa30
PA
197242015-02-27 Pedro Alves <palves@redhat.com>
19725
19726 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19727 "true" for boolean result.
19728 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19729 prototype of main.
19730
6f98576f
PA
197312015-02-27 Pedro Alves <palves@redhat.com>
19732
19733 * lib/unbuffer_output.c: New file.
19734 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19735 (main): Call gdb_unbuffer_output.
19736
eba5ab56
YQ
197372015-02-27 Yao Qi <yao.qi@linaro.org>
19738
19739 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19740 target.
19741
0def5aaa
DE
197422015-02-26 Doug Evans <dje@google.com>
19743
19744 * gdb.cp/class2.cc (Dbase, D): New classes.
19745 (main): New local delta.
19746 * gdb.cp/class2.exp: Test printing delta.
19747 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19748 (dynbar): New global.
19749 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19750
081a1c2c
JK
197512015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19752
19753 * gdb.compile/compile-ifunc.c: New file.
19754 * gdb.compile/compile-ifunc.exp: New file.
19755
2f41223f
AT
197562015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19757
19758 * gdb.base/structs.exp: Check for correct struct on finish.
19759
03eddd80
YQ
197602015-02-26 Yao Qi <yao.qi@linaro.org>
19761
19762 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19763 is zero.
19764
80c57053
JK
197652015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19766
19767 * gdb.arch/cordic.ko.bz2: New file.
19768 * gdb.arch/cordic.ko.debug.bz2: New file.
19769 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19770
21613c12
YQ
197712015-02-25 Yao Qi <yao.qi@linaro.org>
19772
19773 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19774 aarch64*-*-* target.
19775
d8b901ed
PA
197762015-02-23 Pedro Alves <palves@redhat.com>
19777
19778 * lib/gdb.exp (delete_breakpoints): Rewrite using
19779 gdb_test_multiple.
19780
e5b85ead
PA
197812015-02-23 Pedro Alves <palves@redhat.com>
19782
19783 * gdb.base/info-os.c: Include stdlib.h.
19784
85c3a371
DE
197852015-02-22 Doug Evans <xdje42@gmail.com>
19786
19787 PR symtab/17855
19788 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19789 is read after symbols have been re-read.
19790 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19791 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19792
96553a0c
DE
197932015-02-21 Doug Evans <dje@google.com>
19794
19795 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19796
97a0c697
JK
197972015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19798
19799 PR corefiles/17808
19800 * gdb.arch/i386-biarch-core.core.bz2: New file.
19801 * gdb.arch/i386-biarch-core.exp: New file.
19802
a47cd6e9
PA
198032015-02-21 Pedro Alves <palves@redhat.com>
19804
19805 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19806 runto_main fails.
19807
c5facdc4
PA
198082015-02-20 Pedro Alves <palves@redhat.com>
19809
19810 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19811 info probes.
19812
2db9a427
PA
198132015-02-20 Pedro Alves <palves@redhat.com>
19814
19815 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19816
60fb7e9e
PA
198172015-02-20 Pedro Alves <palves@redhat.com>
19818
19819 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19820 clean_restart before gdb_target_supports_trace.
19821
5c5019c2
PA
198222015-02-20 Pedro Alves <palves@redhat.com>
19823
19824 PR threads/18006
19825 * gdb.threads/clone-thread_db.c: New file.
19826 * gdb.threads/clone-thread_db.exp: New file.
19827
c9587f88
AT
198282015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19829
19830 PR breakpoints/16812
19831 * gdb.base/catch-gdb-caused-signals.c: New file.
19832 * gdb.base/catch-gdb-caused-signals.exp: New file.
19833
f6a88844
JM
198342015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19835
19836 * configure: Regenerated.
19837 * configure.ac: Use GDB_AC_TRANSFORM.
19838 * aclocal.m4: sinclude ../transform.m4.
19839
497c491b
JM
198402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19841
19842 * lib/dtrace.exp: New file.
19843 * gdb.base/dtrace-probe.exp: Likewise.
19844 * gdb.base/dtrace-probe.d: Likewise.
19845 * gdb.base/dtrace-probe.c: Likewise.
19846 * lib/pdtrace.in: Likewise.
19847 * configure.ac: Output variables with the transformed names of
19848 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19849 * configure: Regenerated.
19850
03e98035
JM
198512015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19852
19853 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19854 expected message when trying to access $_probe_* convenience
19855 variables while not on a probe.
19856
63cc30e9
JK
198572015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19858
19859 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19860
0703599a
PA
198612015-02-11 Pedro Alves <pedro@codesourcery.com>
19862
19863 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19864 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19865
7e60a48e
DE
198662015-02-10 Doug Evans <xdje42@gmail.com>
19867
19868 * lib/gdb.exp (gdb_load): Always return a result.
19869
01b088bc
PA
198702015-02-10 Pedro Alves <palves@redhat.com>
19871
19872 * gdb.threads/signal-sigtrap.c: New file.
19873 * gdb.threads/signal-sigtrap.exp: New file.
19874
b05ec7a5
AT
198752015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19876
19877 * gdb.trace/no-attach-trace.c: New file.
19878 * gdb.trace/no-attach-trace.exp: New file.
19879
a2c2acaf
MW
198802015-02-09 Mark Wielaard <mjw@redhat.com>
19881
19882 * gdb.dwarf2/atomic.c: New file.
19883 * gdb.dwarf2/atomic-type.exp: Likewise.
19884
31fd9caa
MM
198852015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19886
19887 * gdb.btrace/buffer-size.exp: Update "info record" output.
19888 * gdb.btrace/delta.exp: Update "info record" output.
19889 * gdb.btrace/enable.exp: Update "info record" output.
19890 * gdb.btrace/finish.exp: Update "info record" output.
19891 * gdb.btrace/instruction_history.exp: Update "info record" output.
19892 * gdb.btrace/next.exp: Update "info record" output.
19893 * gdb.btrace/nexti.exp: Update "info record" output.
19894 * gdb.btrace/step.exp: Update "info record" output.
19895 * gdb.btrace/stepi.exp: Update "info record" output.
19896 * gdb.btrace/nohist.exp: Update "info record" output.
19897
d33501a5
MM
198982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19899
19900 * gdb.btrace/buffer-size: New.
19901
f4abbc16
MM
199022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19903
19904 * gdb.btrace/delta.exp: Update "info record" output.
19905 * gdb.btrace/enable.exp: Update "info record" output.
19906 * gdb.btrace/finish.exp: Update "info record" output.
19907 * gdb.btrace/instruction_history.exp: Update "info record" output.
19908 * gdb.btrace/next.exp: Update "info record" output.
19909 * gdb.btrace/nexti.exp: Update "info record" output.
19910 * gdb.btrace/step.exp: Update "info record" output.
19911 * gdb.btrace/stepi.exp: Update "info record" output.
19912 * gdb.btrace/nohist.exp: Update "info record" output.
19913
b9d61307
SM
199142015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19915
19916 PR gdb/15678
19917 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19918
e584fdbc
PA
199192015-02-06 Pedro Alves <palves@redhat.com>
19920
19921 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19922 macro.
19923 (seconds_left, again): New globals.
19924 (main): Wait seconds_left in a 1-second sleep loop instead of
19925 sleeping 180 seconds. If 'again' is set, reset the seconds
19926 counter.
19927 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19928 'again' in the inferior before detaching. Print the seconds left.
19929 (options): New global.
19930 (top level): Build program with -DTIMEOUT=$timeout.
19931
77f41761
PA
199322015-02-06 Pedro Alves <palves@redhat.com>
19933
19934 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19935 determine how many seconds to pass to 'alarm'.
19936 * gdb.base/gdb-sigterm.exp (top level): Build program with
19937 -DTIMEOUT=$timeout.
19938 (do_test): Return success/failure indication. Add more verbose
19939 logging. Don't fail if 200 single steps are seen. Instead, fail
19940 when the test times out.
19941 (passes): New global.
19942 (top level): Break the testing loop if testing fails on any
19943 iteration. Use gdb_assert.
19944
b9394193
DB
199452015-02-04 Don Breazeal <donb@codesourcery.com>
19946
19947 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19948 and initialize them.
19949 (ipc_cleanup): New function.
19950 (main): Don't declare shmid, semid, and msqid. Add a call to
19951 atexit so that we call ipc_cleanup on exit.
19952
42d9e528
PA
199532015-02-04 Pedro Alves <palves@redhat.com>
19954
19955 * boards/native-extended-gdbserver.exp: Remove any target variant
19956 specifications from the board name before clearing the isremote
19957 flag from board_info.
19958
ae6ae975
DE
199592015-01-31 Doug Evans <xdje42@gmail.com>
19960
19961 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19962
cfb069a8
GB
199632015-01-31 Gary Benson <gbenson@redhat.com>
19964
19965 * gdb.base/completion.exp: Disable completion limiting for
19966 existing tests. Add new tests to check completion limiting.
19967 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19968
5dd31d79
DE
199692015-01-31 Doug Evans <xdje42@gmail.com>
19970
19971 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19972
9f050062
DE
199732015-01-31 Doug Evans <xdje42@gmail.com>
19974
19975 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19976 entries. Duplicate file section script entries.
19977 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19978 inlined entries. Add test for safe-path rejection.
19979 * gdb.python/py-section-script.c: Add duplicate inlined section script
19980 entries. Duplicate file section script entries.
19981 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19982 inlined entries. Add test for safe-path rejection.
19983
df25ebbd
JB
199842015-01-29 Joel Brobecker <brobecker@adacore.com>
19985
19986 * gdb.ada/disc_arr_bound: New testcase.
19987
4a0ca9ec
JB
199882015-01-29 Joel Brobecker <brobecker@adacore.com>
19989
19990 * gdb.ada/mi_var_array: New testcase.
19991
3a8b707a
DE
199922015-01-27 Doug Evans <dje@google.com>
19993
19994 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19995 Add test for objfile.filename, objfile.username after objfile
19996 has been unloaded.
19997
f8313f6e
JB
199982015-01-26 Joel Brobecker <brobecker@adacore.com>
19999
20000 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20001 the second test to print the name attribute of value
20002 returned by the call to gdb.lookup_type, and adjust
20003 the expected output accordingly.
20004
37bc665e
MW
200052015-01-25 Mark Wielaard <mjw@redhat.com>
20006
20007 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20008 * gdb.base/disp-step-fork.c: Include unistd.h.
20009 * gdb.base/siginfo-obj.c: Include stdio.h.
20010 * gdb.base/siginfo-thread.c: Likewise.
20011 * gdb.mi/non-stop.c: Include unistd.h.
20012 * gdb.mi/nsthrexec.c: Include stdio.h.
20013 * gdb.mi/pthreads.c: Include unistd.h.
20014 * gdb.modula2/unbounded1.c (main): Declare returns int.
20015 * gdb.reverse/consecutive-reverse.c: Likewise.
20016 * gdb.threads/create-fail.c: Include unistd.h.
20017 * gdb.threads/killed.c: Likewise.
20018 * gdb.threads/linux-dp.c: Likewise.
20019 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20020 * gdb.threads/non-ldr-exc-2.c: Likewise.
20021 * gdb.threads/non-ldr-exc-3.c: Likewise.
20022 * gdb.threads/non-ldr-exc-4.c: Likewise.
20023 * gdb.threads/pthreads.c: Include unistd.h.
20024 (main): Declare returns int.
20025 * gdb.threads/tls-main.c (foo): New declaration.
20026 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20027
f7e5394d
SM
200282015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20029
20030 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20031 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20032
743649fd
MW
200332015-01-15 Mark Wielaard <mjw@redhat.com>
20034
20035 * gdb.base/noreturn-return.c: New file.
20036 * gdb.base/noreturn-return.exp: New file.
20037 * gdb.base/noreturn-finish.c: New file.
20038 * gdb.base/noreturn-finish.exp: New file.
20039
198297aa
PA
200402015-01-23 Pedro Alves <palves@redhat.com>
20041
20042 * gdb.threads/continue-pending-after-query.c: New file.
20043 * gdb.threads/continue-pending-after-query.exp: New file.
20044
717cf30c
AG
200452015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20046 Simon Marchi <simon.marchi@ericsson.com>
20047
20048 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20049 * gdb.base/valgrind-db-attach.exp: Same.
20050 * gdb.base/valgrind-infcall.exp: Same.
20051 * lib/mi-support.exp (default_mi_gdb_start): Same.
20052 * lib/prompt.exp (default_prompt_gdb_start): Same.
20053 * lib/gdb.exp (default_gdb_spawn): Same.
20054 (gdb_interact): New.
20055
20056
4b62a76e
JK
200572015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20058
20059 * gdb.compile/compile.exp (pointer to jit function): New test.
20060
b4cdae6f
WW
200612015-01-17 Wei-cheng Wang <cole945@gmail.com>
20062
20063 * lib/gdb.exp (supports_process_record): Return true for
20064 powerpc*-*-linux*.
20065 (supports_reverse): Likewise.
20066
d221e7ef
DB
200672015-01-15 Don Breazeal <donb@codesourcery.com>
20068
20069 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20070 instead of checking whether the target board is remote and
20071 use spawn_wait_for_attach instead of exec/sleep.
20072 * gdb.base/attach-twice.exp: Likewise.
20073
bafffb51
JB
200742015-01-15 Joel Brobecker <brobecker@adacore.com>
20075
20076 * gdb.ada/var_arr_attrs: New testcase.
20077
5589af0e
PA
200782015-01-14 Pedro Alves <palves@redhat.com>
20079 Joel Brobecker <brobecker@adacore.com>
20080
20081 PR gdb/17525
20082 * gdb.base/bp-cmds-execution-x-script.c: New file.
20083 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20084 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20085
6c400b59
PA
200862015-01-14 Pedro Alves <palves@redhat.com>
20087
20088 PR cli/17828
20089 * gdb.base/batch-preserve-term-settings.c: New file.
20090 * gdb.base/batch-preserve-term-settings.exp: New file.
20091
e02c96a7
DE
200922015-01-13 Doug Evans <dje@google.com>
20093
20094 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20095 binary.
20096
576fd14c
JB
200972015-01-13 Joel Brobecker <brobecker@adacore.com>
20098
20099 * Makefile.in (clean mostlyclean): Do not delete *.py.
20100
04dccad0
JB
201012015-01-13 Joel Brobecker <brobecker@adacore.com>
20102
20103 * gdb.python/py-lookup-type.exp: New file.
20104
3d230f71
PA
201052015-01-12 Pedro Alves <palves@redhat.com>
20106
20107 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20108 restore GDBFLAGS before returning.
20109
7e67715d
JK
201102015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20111
20112 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20113 is_amd64_regs_target and is_x86_like_target.
20114
f2e0d4b4
DE
201152015-01-11 Doug Evans <xdje42@gmail.com>
20116
20117 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20118 is given without an explicit form.
20119 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20120 attributes.
20121 * gdb.dwarf/corrupt.exp: Ditto.
20122 * gdb.dwarf2/enum-type.exp: Ditto.
20123 * gdb.trace/entry-values.exp: Ditto.
20124 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20125
439250fb
DE
201262015-01-11 Doug Evans <xdje42@gmail.com>
20127
20128 PR gdb/15830
20129 * gdb.base/maint.exp: Remove references to "maint demangle".
20130 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20131 Add tests for explicitly specifying language to demangle.
20132 * gdb.dlang/demangle.exp: Ditto.
20133
ede9f622
PA
201342015-01-09 Pedro Alves <palves@redhat.com>
20135
20136 * gdb.threads/non-stop-fair-events.c: New file.
20137 * gdb.threads/non-stop-fair-events.exp: New file.
20138
a7b796db
PA
201392015-01-09 Pedro Alves <palves@redhat.com>
20140
20141 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20142 the global scope. Set a breakpoint after all threads are started
20143 rather than stepping over two source lines. Expect the prompt.
20144 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20145 global.
20146 (NUM): Now 15.
20147 (main): Use threads_started_barrier to wait for all threads to
20148 start. Main thread no longer calls thread_function. Exit after
20149 180 seconds.
20150 (loop): New function.
20151 (thread_function): Wait on threads_started_barrier barrier. Call
20152 'loop' at each iteration.
20153 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20154 threads have started, instead of hardcoding number of "next"
20155 steps. Use an access watchpoint instead of a write watchpoint.
20156
9665ffdd
PA
201572015-01-09 Pedro Alves <palves@redhat.com>
20158
20159 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20160 (thread_func): Wait on barrier.
20161 (main): Wait for all threads to start before stopping GDB.
20162 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20163 global.
20164 (thread1_func, thread2_func): Wait on barrier.
20165 (main): Wait for all threads to start before stopping GDB.
20166 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20167 New global.
20168 (thread1_func, thread2_func): Wait on barrier.
20169 (main): Wait for all threads to start before stopping GDB.
20170
c945a99f
PA
201712015-01-09 Pedro Alves <palves@redhat.com>
20172
20173 * gdb.threads/attach-many-short-lived-threads.c: New file.
20174 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20175
c1a747c1
PA
201762014-01-09 Pedro Alves <palves@redhat.com>
20177
20178 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20179 instead of to thread 2.
20180 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20181 Add barrier around each pthread_create call instead of around all
20182 calls.
20183 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20184 Set a break on thread_function and have the child threads hit it
20185 one at at a time.
20186
60b3033e
PA
201872015-01-09 Pedro Alves <palves@redhat.com>
20188
20189 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20190 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20191 false.
20192 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20193 checking whether the target board is remote.
20194 * gdb.multi/multi-attach.exp: Likewise.
20195 * gdb.python/py-sync-interp.exp: Likewise.
20196 * gdb.server/ext-attach.exp: Likewise.
20197 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20198 tests that need to attach, instead of checking whether the target
20199 board is remote at the top of the file.
20200
acc018ac
YQ
202012015-01-08 Yao Qi <yao@codesourcery.com>
20202
20203 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20204
50a18af8
JK
202052015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20206
20207 Fix testcase compilation.
20208 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20209
8503d6e1
JB
202102015-01-06 Joel Brobecker <brobecker@adacore.com>
20211
20212 * gdb.python/py-type.exp: Add a couple test about empty
20213 array creation, and negative-length array creation.
20214
cc73dbcc
DE
202152015-01-02 Doug Evans <xdje42@gmail.com>
20216
20217 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20218
0300bbc7
DE
202192015-01-02 Doug Evans <dje@google.com>
20220
20221 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20222
9d85a0ec
YQ
202232014-12-29 Yao Qi <yao@codesourcery.com>
20224
20225 * gdb.trace/entry-values.exp: Update comments. Rename variable
20226 bar_call_foo to returned_from_foo.
20227
87186c6a
MMN
202282014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20229
20230 PR gdb/17394
20231 * gdb.linespec/break-asm-file.c: New file.
20232 * gdb.linespec/break-asm-file.exp: New file.
20233 * gdb.linespec/break-asm-file0.s: New file.
20234 * gdb.linespec/break-asm-file1.s: New file.
20235
1bab7383
YQ
202362014-12-18 Nigel Stephens <nigel@mips.com>
20237 Maciej W. Rozycki <macro@codesourcery.com>
20238
20239 * gdb.base/float.exp: Handle the new output from "info float" on
20240 MIPS targets.
20241
1bc1068a
JK
202422014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20243
20244 Fix MinGW compilation.
20245 * gdb.compile/compile-ops.exp: Update untested message if
20246 !skip_compile_feature_tests.
20247 * gdb.compile/compile-setjmp.exp: Likewise.
20248 * gdb.compile/compile-tls.exp: Likewise.
20249 * gdb.compile/compile.exp: Likewise.
20250 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20251 supported on this host".
20252
b6615d10
DE
202532014-12-16 Doug Evans <xdje42@gmail.com>
20254
20255 * boards/stabs.exp: New file.
20256
25dda427
AA
202572014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20258
20259 * gdb.base/completion.exp: Adjust to format changes of "maint
20260 print user-registers".
20261
bf330350
CU
202622014-12-16 Catalin Udma <catalin.udma@freescale.com>
20263
20264 PR server/17457
20265 * gdb.arch/aarch64-fp.c: New file.
20266 * gdb.arch/aarch64-fp.exp: New file.
20267
395cf596
SDJ
202682014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20269
20270 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20271 r210637, r210913, r211666, r215400, r215817).
20272
20273 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20274 * dg-extract-results.py: New file.
20275 * dg-extract-results.sh: Use it if the environment seems
20276 suitable.
20277
20278 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20279
20280 * dg-extract-results.py (parse_run): Handle warnings that
20281 are printed before a test harness is run.
20282
20283 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20284
20285 * dg-extract-results.py (Named): Remove __cmp__ method.
20286 (output_variation): Use a key to sort variation.harnesses.
20287
20288 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20289
20290 * dg-extract-results.py: For Python 3, force sys.stdout to
20291 handle surrogate escape sequences.
20292 (safe_open): New function.
20293 (output_segment, main): Use it.
20294
20295 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20296
20297 * dg-extract-results.py (Prog.result_re): Include options
20298 in test name.
20299
20300 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20301
20302 * dg-extract-results.py (output_variation): Always sort if
20303 do_sum.
20304
e882ef3c
SM
203052014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20306
20307 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20308 as long as we get pagination notifications.
20309
4992aa20
JM
203102014-12-15 Jason Merrill <jason@redhat.com>
20311
20312 * Makefile.in (check-gdb.%): Restore.
20313 * README: Mention it.
20314
c1b5a1a6
JB
203152014-12-13 Joel Brobecker <brobecker@adacore.com>
20316
20317 * gdb.ada/str_uninit: New testcase.
20318
5537b577
JK
203192014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20320
20321 PR symtab/17642
20322 * gdb.base/vla-stub-define.c: New file.
20323 * gdb.base/vla-stub.c: New file.
20324 * gdb.base/vla-stub.exp: New file.
20325
bb2ec1b3
TT
203262014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20327 Jan Kratochvil <jan.kratochvil@redhat.com>
20328 Tom Tromey <tromey@redhat.com>
20329
20330 * configure.ac: Add gdb.compile/.
20331 * configure: Regenerate.
20332 * gdb.compile/Makefile.in: New file.
20333 * gdb.compile/compile-ops.exp: New file.
20334 * gdb.compile/compile-ops.c: New file.
20335 * gdb.compile/compile-tls.c: New file.
20336 * gdb.compile/compile-tls.exp: New file.
20337 * gdb.compile/compile-constvar.S: New file.
20338 * gdb.compile/compile-constvar.c: New file.
20339 * gdb.compile/compile-mod.c: New file.
20340 * gdb.compile/compile-nodebug.c: New file.
20341 * gdb.compile/compile-setjmp-mod.c: New file.
20342 * gdb.compile/compile-setjmp.c: New file.
20343 * gdb.compile/compile-setjmp.exp: New file.
20344 * gdb.compile/compile-shlib.c: New file.
20345 * gdb.compile/compile.c: New file.
20346 * gdb.compile/compile.exp: New file.
20347 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20348
4ff709eb
TT
203492014-12-12 Tom Tromey <tromey@redhat.com>
20350
20351 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20352 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20353
6dddd6a5
DE
203542014-12-12 Doug Evans <dje@google.com>
20355
20356 * lib/gdb-python.exp (get_python_valueof): New function.
20357 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20358
71c24708
AA
203592014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20360
20361 * gdb.base/completion.exp: Add test for completion of "info
20362 registers ".
20363
3e29f34a
MR
203642014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20365
20366 * gdb.base/func-ptrs.c: New file.
20367 * gdb.base/func-ptrs.exp: New file.
20368
fc126975
SM
203692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20370
20371 PR breakpoints/17012
20372 * gdb.base/dprintf-detach.c: New file.
20373 * gdb.base/dprintf-detach.exp: New file.
20374
0a46d518
SM
203752014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20376
20377 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20378 * lib/gdb.exp (target_is_gdbserver): New procedure.
20379
a0be3e44
DE
203802014-12-08 Doug Evans <dje@google.com>
20381
20382 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20383
df1b803a
YQ
203842014-12-05 Yao Qi <yao@codesourcery.com>
20385
20386 * gdb.guile/scm-error.exp: Remove the third argument to
20387 gdb_remote_download.
20388 * gdb.guile/scm-frame-args.exp: Likewise.
20389 * gdb.guile/scm-section-script.exp: Likewise.
20390
ddb9f679
YQ
203912014-12-05 Yao Qi <yao@codesourcery.com>
20392
20393 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20394
86e4ed39
DE
203952014-12-04 Doug Evans <dje@google.com>
20396
20397 * gdb.python/py-objfile.exp: Add tests for
20398 objfile.add_separate_debug_file.
20399
7c50a931
DE
204002014-12-04 Doug Evans <dje@google.com>
20401
20402 * lib/gdb.exp (get_build_id): New function.
20403 (build_id_debug_filename_get): Rewrite to use it.
20404 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20405
621661e3
MR
204062014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20407
20408 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20409 `method(long)', not just 0x0.
20410 * gdb.cp/nsalias.exp: Align code labels to 4.
20411 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20412 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20413 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20414 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20415 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20416 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20417
29f0c3b7
DE
204182014-12-02 Doug Evans <dje@google.com>
20419
e1e061e7 20420 PR symtab/17602
29f0c3b7 20421 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20422 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20423 * gdb.cp/anon-ns.exp: Update.
20424
162078c8
NB
204252014-12-02 Nick Bull <nicholaspbull@gmail.com>
20426
20427 * gdb.python/py-events.py (inferior_call_handler): New.
20428 (register_changed_handler, memory_changed_handler): New.
20429 (test_events.invoke): Register new handlers.
20430 * gdb.python/py-events.exp: Add tests for inferior call,
20431 memory_changed and register_changed events.
20432
fdb09caf
AA
204332014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20434
20435 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20436 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20437 if the linker doesn't understand this.
20438
55cfb2c4
SM
204392014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20440
20441 * gdb.python/python.exp: Change expected reply to help().
20442
9e8cd6df
YQ
204432014-12-01 Yao Qi <yao@codesourcery.com>
20444
20445 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20446 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20447 * configure: Re-generated.
20448
6c659fc2
SC
204492014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20450
20451 * gdb.cp/chained-calls.cc: New file.
20452 * gdb.cp/chained-calls.exp: New file.
20453 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20454
d7fc3181
SM
204552014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20456
20457 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20458 * gdb.dwarf2/symtab-producer.exp: Same.
20459 * gdb.gdb/python-interrupts.exp: Same.
20460 * gdb.gdb/python-selftest.exp: Same.
20461 * gdb.python/py-linetable.exp: Same.
20462 * gdb.python/py-type.exp: Same.
20463 * gdb.python/py-value-cc.exp: Same.
20464 * gdb.python/py-value.exp: Same.
20465
10e79639
YQ
204662014-11-28 Yao Qi <yao@codesourcery.com>
20467
20468 * gdb.base/break-probes.exp: Match library name prefixed with
20469 sysroot.
20470
f28a0564
SM
204712014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20472
20473 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20474 test expected output. Add parentheses for the call to print.
20475 Remove L suffix from integers.
20476
3fe1ce1d
DE
204772014-11-26 Doug Evans <dje@google.com>
20478
20479 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20480
84429e27
YQ
204812014-11-22 Yao Qi <yao@codesourcery.com>
20482
20483 * gdb.trace/entry-values.c: Remove asms.
20484 (foo): Add foo_label.
20485 (bar): Add bar_label.
20486 * gdb.trace/entry-values.exp: Remove code computing foo's
20487 length and bar's length.
20488 (Dwarf::assemble): Invoke function_range for bar and use
20489 MACRO_AT_func for foo.
20490
26741859
YQ
204912014-11-22 Yao Qi <yao@codesourcery.com>
20492
20493 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20494 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20495 Use .Lgcc43_procstart instead of gcc43.
20496
45e44d27
JB
204972014-11-21 Joel Brobecker <brobecker@adacore.com>
20498
20499 * gdb.ada/n_arr_bound: New testcase.
20500
458c8db8
SDJ
205012014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20502
20503 PR breakpoints/10737
20504 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20505 test_catch_syscall_multi_arch.
20506 (test_catch_syscall_multi_arch): New function.
20507
43f3e411
DE
205082014-11-20 Doug Evans <xdje42@gmail.com>
20509
20510 * gdb.base/maint.exp: Update expected output.
20511
0d7b2549
AA
205122014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20513
20514 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20515 4-byte instruction on S390.
20516
8908fca5
JB
205172014-11-19 Joel Brobecker <brobecker@adacore.com>
20518
20519 * gdb.ada/arr_arr: New testcase.
20520
4a46959e
JB
205212014-11-19 Joel Brobecker <brobecker@adacore.com>
20522
20523 * gdb.ada/pkd_arr_elem: New Testcase.
20524
470e2f4e
LM
205252014-11-18 Luis Machado <lgustavo@codesourcery.com>
20526
20527 * gdb.reverse/break-precsave: Expect completion message for
20528 core file reads.
20529 * gdb.reverse/consecutive-precsave.exp: Likewise.
20530 * gdb.reverse/finish-precsave.exp: Likewise.
20531 * gdb.reverse/i386-precsave.exp: Likewise.
20532 * gdb.reverse/machinestate-precsave.exp: Likewise.
20533 * gdb.reverse/sigall-precsave.exp: Likewise.
20534 * gdb.reverse/solib-precsave.exp: Likewise.
20535 * gdb.reverse/step-precsave.exp: Likewise.
20536 * gdb.reverse/until-precsave.exp: Likewise.
20537 * gdb.reverse/watch-precsave.exp: Likewise.
20538
a267f3ad
AA
205392014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20540
20541 * gdb.base/bp-permanent.c: Include unistd.h.
20542 * gdb.python/py-framefilter-mi.c (main): Add return type.
20543 * gdb.python/py-framefilter.c (main): Likewise.
20544 * gdb.trace/actions-changed.c (main): Likewise.
20545
12084a9a
AA
205462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20547
20548 * gdb.mi/until.c: Add eye-catchers.
20549 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20550 line numbers.
20551
dc7e1a77
AA
205522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20553
20554 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20555 function header variants in break1.c.
20556 * gdb.base/ena-dis-br.exp: Likewise.
20557 * gdb.base/hbreak2.exp: Likewise.
20558 * gdb.reverse/until-precsave.exp: Drop references to removed
20559 non-prototype function header variants in ur1.c.
20560 * gdb.reverse/until-reverse.exp: Likewise.
20561
41c77605
PM
205622014-11-17 Petr Machata <pmachata@redhat.com>
20563
20564 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20565 ${_cu_offset_size} bytes abbrev offset.
20566
34248c3a
DE
205672014-11-15 Doug Evans <xdje42@gmail.com>
20568
20569 PR symtab/17559
20570 * gdb.base/line-symtabs.exp: New file.
20571 * gdb.base/line-symtabs.c: New file.
20572 * gdb.base/line-symtabs.h: New file.
20573
646da059
YQ
205742014-11-14 Yao Qi <yao@codesourcery.com>
20575
20576 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20577 (func): Add label func_label.
20578 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20579 Replace low_pc and high_pc with MACRO_AT_range.
20580 Replace name, low_pc and high_pc with MACRO_AT_func.
20581
9301ebe6
YQ
205822014-11-14 Yao Qi <yao@codesourcery.com>
20583
20584 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20585 Replace name, low_pc and high_pc with MACRO_AT_func.
20586
f166b542
YQ
205872014-11-14 Yao Qi <yao@codesourcery.com>
20588
20589 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20590 produce debug information.
20591 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20592
0f6e71e3
YQ
205932014-11-14 Yao Qi <yao@codesourcery.com>
20594
20595 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20596 object and get function length.
20597 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20598 with MACRO_AT_func.
20599 (top-level): Replace gdb_compile and clean_restart with
20600 prepare_for_testing.
20601 * gdb.dwarf2/main.c (main): Add label main_label.
20602
876c4df9
YQ
206032014-11-14 Yao Qi <yao@codesourcery.com>
20604
20605 * lib/dwarf.exp (function_range): New procedure.
20606 (Dwarf::_handle_macro_at_func): New procedure.
20607 (Dwarf::_handle_macro_at_range): New procedure.
20608 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20609
02ad9cf1
YQ
206102014-11-14 Yao Qi <yao@codesourcery.com>
20611
20612 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20613 (_handle_attribute): New procedure.
20614
a59add0c
AA
206152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20616
20617 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20618 * gdb.base/call-sc.c (zed): Likewise.
20619 * gdb.base/checkpoint.c (main): Likewise.
20620 * gdb.base/dump.c (main): Likewise.
20621 * gdb.base/gcore.c (main): Likewise.
20622 * gdb.base/huge.c (main): Likewise.
20623 * gdb.base/multi-forks.c (main): Likewise.
20624 * gdb.base/pr10179-a.c (main): Likewise.
20625 * gdb.base/savedregs.c (main): Likewise.
20626 * gdb.base/sigaltstack.c (main): Likewise.
20627 * gdb.base/siginfo.c (main): Likewise.
20628 * gdb.base/structs.c (zed): Likewise.
20629 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20630 * gdb.mi/mi-syn-frame.c (main): Likewise.
20631 * gdb.mi/until.c (foo, main): Likewise.
20632 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20633 * gdb.base/solib-weak.c (foo): Declare.
20634 * gdb.base/attach-twice.c: Include stdio.h.
20635 * gdb.base/weaklib1.c: Likewise.
20636 * gdb.base/weaklib2.c: Likewise.
20637 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20638 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20639 unistd.h.
20640 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20641 * gdb.mi/mi-exit-code.c: Likewise.
20642 * gdb.base/break-interp-lib.c: Include string.h.
20643 * gdb.base/coremaker.c: Likewise.
20644 * gdb.base/testenv.c: Likewise.
20645 * gdb.python/py-finish-breakpoint.c: Likewise.
20646 * gdb.base/inferior-died.c: Include sys/wait.h.
20647 * gdb.base/fileio.c: Include time.h.
20648 * gdb.base/async-shell.c: Include unistd.h.
20649 * gdb.base/dprintf-non-stop.c: Likewise.
20650 * gdb.base/info-os.c: Likewise.
20651 * gdb.mi/mi-console.c: Likewise.
20652 * gdb.mi/watch-nonstop.c: Likewise.
20653 * gdb.python/py-events.c: Likewise.
20654 * gdb.base/async.c (baz): Move up before its invocation.
20655 * gdb.base/code_elim2.c (my_global_func): Likewise.
20656 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20657 * gdb.base/advance.c (func2): Likewise.
20658
3b5d5997
AA
206592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20660
20661 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20662 variant.
20663 * gdb.base/annota3.c: Likewise.
20664 * gdb.base/async.c: Likewise.
20665 * gdb.base/average.c: Likewise.
20666 * gdb.base/call-ar-st.c: Likewise.
20667 * gdb.base/call-rt-st.c: Likewise.
20668 * gdb.base/call-sc.c: Likewise.
20669 * gdb.base/call-strs.c: Likewise.
20670 * gdb.base/ending-run.c: Likewise.
20671 * gdb.base/execd-prog.c: Likewise.
20672 * gdb.base/exprs.c: Likewise.
20673 * gdb.base/foll-exec.c: Likewise.
20674 * gdb.base/foll-fork.c: Likewise.
20675 * gdb.base/foll-vfork.c: Likewise.
20676 * gdb.base/funcargs.c: Likewise.
20677 * gdb.base/gcore.c: Likewise.
20678 * gdb.base/jump.c: Likewise.
20679 * gdb.base/langs0.c: Likewise.
20680 * gdb.base/langs1.c: Likewise.
20681 * gdb.base/langs2.c: Likewise.
20682 * gdb.base/mips_pro.c: Likewise.
20683 * gdb.base/nodebug.c: Likewise.
20684 * gdb.base/opaque0.c: Likewise.
20685 * gdb.base/opaque1.c: Likewise.
20686 * gdb.base/recurse.c: Likewise.
20687 * gdb.base/run.c: Likewise.
20688 * gdb.base/scope0.c: Likewise.
20689 * gdb.base/scope1.c: Likewise.
20690 * gdb.base/setshow.c: Likewise.
20691 * gdb.base/setvar.c: Likewise.
20692 * gdb.base/shmain.c: Likewise.
20693 * gdb.base/shr1.c: Likewise.
20694 * gdb.base/shr2.c: Likewise.
20695 * gdb.base/sigall.c: Likewise.
20696 * gdb.base/signals.c: Likewise.
20697 * gdb.base/so-indr-cl.c: Likewise.
20698 * gdb.base/solib2.c: Likewise.
20699 * gdb.base/structs.c: Likewise.
20700 * gdb.base/sum.c: Likewise.
20701 * gdb.base/vforked-prog.c: Likewise.
20702 * gdb.base/watchpoint.c: Likewise.
20703 * gdb.reverse/shr2.c: Likewise.
20704 * gdb.reverse/until-reverse.c: Likewise.
20705 * gdb.reverse/ur1.c: Likewise.
20706 * gdb.reverse/watch-reverse.c: Likewise.
20707
066a77c5
AA
207082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20709
20710 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20711 variant.
20712 * gdb.base/sepdebug.exp: Drop references to removed code.
20713
4f204ea5
AA
207142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20715
20716 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20717 variant. Preserve original line numbering.
20718 * gdb.base/list1.c: Likewise.
20719
3b377a3a
AA
207202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20721
20722 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20723 variant.
20724 * gdb.base/break1.c: Likewise.
20725 * gdb.base/break.exp: Drop references to removed code.
20726
e444df73
AA
207272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20728
20729 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20730 variant.
20731
8008f2a7
AA
207322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20733
20734 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20735
a5a06887
AA
207362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20737
20738 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20739 logic into perform_all_tests() and invoke it with and without
20740 function header prototypes.
20741 (do_function_calls): Remove conditional XFAIL for PR 5318.
20742 (rerun_and_prepare): Remove duplicate code.
20743 (perform_all_tests): New. Main logic moved here.
20744
44dba9b9
AA
207452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20746
20747 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20748 code guarded by #ifdef NO_PROTOTYPES.
20749 (t_double_many_args): Likewise.
20750 (DEF_FUNC_MANY_ARGS_1): Likewise.
20751 (DEF_FUNC_VALUES_1): Likewise.
20752 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20753 guarded by #ifdef PROTOTYPES.
20754
d1fbcd56
AA
207552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20756
20757 * gdb.mi/mi-console.c: Add eye-catcher.
20758 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20759 instead of literal line number.
20760
b0e59b8f
AA
207612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20762
20763 * gdb.base/shr2.c: Add eye-catcher.
20764 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20765 line number.
20766
78f98cca
AA
207672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20768
20769 * gdb.base/jump.c: Add eye-catchers.
20770 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20771 numbers.
20772
58fa2af0
AA
207732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20774
20775 * gdb.base/execd-prog.c: Add eye-catchers.
20776 * gdb.base/foll-exec.c: Likewise.
20777 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20778 line numbers.
20779
04e5059b
AA
207802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20781
20782 * gdb.base/ending-run.c: Add eye-catchers.
20783 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20784 literal line numbers.
20785
dbfdb174
AA
207862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20787
20788 * gdb.base/call-rt-st.c: Add eye-catchers.
20789 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20790 literal line numbers.
20791
888a2ade
AA
207922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20793
20794 * gdb.base/call-ar-st.c: Add eye-catchers.
20795 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20796 literal line numbers.
20797
6acc2dde
AA
207982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20799
20800 * gdb.base/average.c: Add eye-catchers.
20801 * gdb.base/sum.c: Likewise.
20802 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20803 regexps dynamically.
20804
9ecfcd1d
AA
208052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20806
20807 * gdb.base/solib1.c: Add eye-catchers.
20808 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20809 literal line numbers.
20810
78708b7c
PA
208112014-11-12 Pedro Alves <palves@redhat.com>
20812
20813 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20814 leader has exited.
20815
af48d08f
PA
208162014-11-12 Pedro Alves <palves@redhat.com>
20817
20818 * gdb.arch/i386-bp_permanent.c: New file.
20819 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20820 (srcfile): Set to i386-bp_permanent.c.
20821 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20822 that stepi does not execute the 'leave' instruction, instead of
20823 testing it does execute.
20824 * gdb.base/bp-permanent.c: New file.
20825 * gdb.base/bp-permanent.exp: New file.
20826
af3768e9
DE
208272014-11-10 Doug Evans <xdje42@gmail.com>
20828
20829 PR symtab/17564
20830 * gdb.base/symtab-search-order.exp: New file.
20831 * gdb.base/symtab-search-order.c: New file.
20832 * gdb.base/symtab-search-order-1.c: New file.
20833 * gdb.base/symtab-search-order-shlib-1.c: New file.
20834
9de00a4a
PA
208352014-11-07 Pedro Alves <palves@redhat.com>
20836
20837 PR gdb/17511
20838 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20839 i?86-*-linux*.
20840
e0f52461
SC
208412014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20842
20843 PR c++/17494
20844 * gdb.cp/pr17494.cc: New file.
20845 * gdb.cp/pr17494.exp: New file.
20846
6ce8c980
YQ
208472014-11-02 Yao Qi <yao@codesourcery.com>
20848
20849 * gdb.python/python.exp: Get working directory and match the
20850 output of "set extended-prompt \\w " with it.
20851
02be9a71
DE
208522014-10-30 Doug Evans <dje@google.com>
20853
20854 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20855 in objfiles.
20856 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20857 in progspaces.
20858
3bdff46b
LM
208592014-10-30 Janis Johnson <janisjo@codesourcery.com>
20860
20861 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20862 * gdb.base/realname-expand.exp: Likewise.
20863 * gdb.linespec/macro-relative.exp: Likewise.
20864
ab917dfb
PA
208652014-10-29 Pedro Alves <palves@redhat.com>
20866
20867 PR gdb/17408
20868 * gdb.threads/schedlock.c (some_function): New function.
20869 (call_function): New global.
20870 (MAYBE_CALL_SOME_FUNCTION): New macro.
20871 (thread_function): Call it.
20872 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20873 and use it instead of a global counter. Adjust all callers.
20874 (get_current_thread): Use "find current thread" for test message
20875 here rather than having all callers pass down the same string.
20876 (goto_loop): New procedure, factored out from ...
20877 (my_continue): ... this.
20878 (step_ten_loops): Change parameter from test message to command to
20879 use. Adjust.
20880 (list_count): Delete global.
20881 (check_result): New procedure, factored out from duplicate top
20882 level code.
20883 (continue tests): Wrap in with_test_prefix.
20884 (test_step): New procedure, factored out from duplicate top level
20885 code.
20886 (top level): Test "step" in combination with all scheduler-locking
20887 modes. Test "next" in combination with all scheduler-locking
20888 modes, and in combination with stepping over a function call or
20889 not.
20890 * gdb.threads/next-bp-other-thread.c: New file.
20891 * gdb.threads/next-bp-other-thread.exp: New file.
20892
d3d4baed
PA
208932014-10-29 Pedro Alves <palves@redhat.com>
20894
20895 PR python/17372
20896 * gdb.python/python.exp: Test a multi-line command that spawns
20897 interactive Python.
20898 * gdb.base/multi-line-starts-subshell.exp: New file.
20899
563e8d85
YQ
209002014-10-29 Yao Qi <yao@codesourcery.com>
20901
20902 * gdb.base/fileio.exp: Make directories on host.
20903
0ea4d52e
YQ
209042014-10-29 Yao Qi <yao@codesourcery.com>
20905
20906 * gdb.base/fileio.c (test_write): Close the file.
20907
7f5ef605
PA
209082014-10-28 Pedro Alves <palves@redhat.com>
20909
20910 PR gdb/12623
20911 * gdb.base/sigstep.c (no_handler): New global.
20912 (main): If 'no_handler is true, set the signal handlers to
20913 SIG_IGN.
20914 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20915 with_sw_watch and no_handler parameters. Handle them.
20916 (top level) <stepping over handler when stopped at a breakpoint
20917 test>: Add a test axis for testing with a software watchpoint, and
20918 another for testing with the signal handler set to SIG_IGN.
20919 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20920 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20921
abbdbd03
PA
209222014-10-28 Pedro Alves <palves@redhat.com>
20923
20924 PR gdb/17511
20925 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20926 * gdb.base/sigstep.exp (other_handler_location): New global.
20927 (advance): Support stepping into the signal handler, and running
20928 commands while in the handler.
20929 (in_handler_map): New global.
20930 (top level): In the advance test, add combinations for getting
20931 into the handler with stepping commands, and for running commands
20932 in the handler. Add comment descripting the advancei tests.
20933
1df4399f
PA
209342014-10-28 Pedro Alves <palves@redhat.com>
20935
20936 * gdb.base/sigstep.exp: Use build_executable instead of
20937 prepare_for_testing.
20938 (top level): Move code that starts GDB, runs to main and creates a
20939 display to ...
20940 (restart): ... this new procedure.
20941 (top level): Move backtrace from signal handler test to ...
20942 (validate_backtrace): ... this new procedure.
20943 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20944 with_test_prefix. Always restart GDB.
20945 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20946 with_test_prefix. Always restart GDB. No need to delete
20947 breakpoints after the test.
20948 (test_skip_handler): Remove prefix parameter.
20949 (skip_over_handler, breakpoint_to_handler)
20950 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20951 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20952 restart GDB. No need to delete breakpoints after the test.
20953 (top level): Use foreach to call the test procedures with
20954 different commands.
20955
a5b6e449
PA
209562014-10-28 Pedro Alves <palves@redhat.com>
20957
20958 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20959 instead of GNATS numbers.
20960 * gdb.base/sigbpt.exp: Likewise.
20961 * gdb.base/siginfo.exp: Likewise.
20962 * gdb.base/sigstep.exp: Likewise.
20963
e5f8a7cc
PA
209642014-10-27 Pedro Alves <palves@redhat.com>
20965
20966 * gdb.base/sigstep.c (dummy): New global.
20967 (main): Issue a couple writes to the new global.
20968 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20969 procedures.
20970 (skip_over_handler): Use test_skip_handler.
20971 (top level): Call skip_over_handler for stepi and nexti too.
20972 (breakpoint_over_handler): Use test_skip_handler.
20973 (top level): Call breakpoint_over_handler for stepi and nexti too.
20974
763905a3
YQ
209752014-10-27 Yao Qi <yao@codesourcery.com>
20976
20977 * gdb.trace/tfile.c (adjust_function_address)
20978 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20979 function descriptor.
20980
6f259a23
DB
209812014-10-24 Don Breazeal <donb@codesourcery.com>
20982
20983 * gdb.base/foll-fork.exp (test_follow_fork,
20984 catch_fork_child_follow): Check for updated fork messages emitted
20985 from infrun.c.
20986 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20987 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20988 vfork_and_exec_child_follow_through_step): Check for updated vfork
20989 messages emitted from infrun.c.
20990
09dd9a69
PA
209912014-10-24 Pedro Alves <palves@redhat.com>
20992
20993 * gdb.base/corefile.exp: Remove references to ultrix.
20994 * gdb.base/interrupt.exp: Likewise.
20995 * gdb.base/whatis.exp: Likewise.
20996 * gdb.gdb/selftest.exp: Likewise.
20997 * gdb.threads/manythreads.exp: Likewise.
20998 * gdb.threads/print-threads.exp: Likewise.
20999 * gdb.threads/pthreads.exp:: Likewise.
21000 * gdb.threads/schedlock.exp: Likewise.
21001
3433cfa5
SC
210022014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21003
21004 * gdb.cp/non-trivial-retval.cc: Add a test case.
21005 * gdb.cp/non-trivial-retval.exp: Add a test.
21006
092f880b
YQ
210072014-10-20 Yao Qi <yao@codesourcery.com>
21008
21009 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21010 * gdb.python/py-objfile-script-gdb.py: New file.
21011 * gdb.python/py-objfile-script.exp: Update reference to
21012 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21013 of remote_download. Remove the dest file.
21014
acbdb7f3
YQ
210152014-10-20 Yao Qi <yao@codesourcery.com>
21016
21017 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21018 * gdb.base/step-line.exp: Likewise.
21019 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21020 * gdb.dwarf2/dw2-basic.exp: Likewise.
21021 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21022 * gdb.dwarf2/dw2-filename.exp: Likewise.
21023 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21024 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21025 * gdb.dwarf2/dw2-producer.exp: Likewise.
21026 * gdb.dwarf2/mac-fileno.exp: Likewise.
21027 * gdb.python/py-frame-args.exp: Likewise.
21028 * gdb.python/py-framefilter.exp: Likewise.
21029 * gdb.python/py-mi.exp: Likewise.
21030 * gdb.python/py-objfile-script.exp: Likewise
21031 * gdb.python/py-pp-integral.exp: Likewise.
21032 * gdb.python/py-pp-re-notag.exp: Likewise.
21033 * gdb.python/py-prettyprint.exp: Likewise.
21034 * gdb.python/py-section-script.exp: Likewise.
21035 * gdb.python/py-typeprint.exp: Likewise.
21036 * gdb.python/py-xmethods.exp: Likewise.
21037 * gdb.stabs/weird.exp: Likewise.
21038 * gdb.xml/tdesc-regs.exp: Likewise.
21039
bd286a29
KCY
210402014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21041
21042 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21043 (out_cu): Use addr_len for the size of addresses.
21044 (out_line): Likewise. Size DW_LNE_set_address instruction
21045 according to addr_len.
21046 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21047 (FUNC): Add START_INSNS to definition.
21048
673dc4a0
YQ
210492014-10-18 Yao Qi <yao@codesourcery.com>
21050
21051 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21052 gdb_has_argv0 return true.
21053 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21054 check [target_info exists noargs], check [gdb_has_argv0]
21055 instead.
21056 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21057 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21058 procedures.
21059
4ffbba72
DE
210602014-10-17 Doug Evans <dje@google.com>
21061
21062 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21063 event.
21064 * gdb.python/py-events.py: Add clear_objfiles event.
21065
d096d8c1
DE
210662014-10-17 Doug Evans <dje@google.com>
21067
21068 * gdb.python/py-objfile.exp: Test progspace attribute.
21069
a80db015
LM
210702014-10-17 Luis Machado <lgustavo@codesourcery.com>
21071
21072 * gdb.guile/scm-breakpoint.exp: Do not assume any
21073 directory separators when matching source file paths.
21074 * gdb.python/py-breakpoint.exp: Likewise.
21075 * gdb.reverse/break-precsave.exp: Likewise.
21076 * gdb.reverse/break-reverse.exp: Likewise.
21077 * gdb.reverse/consecutive-precsave.exp: Likewise.
21078 * gdb.reverse/finish-precsave.exp: Likewise.
21079 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21080 * gdb.reverse/finish-reverse.exp: Likewise.
21081 * gdb.reverse/i386-precsave.exp: Likewise.
21082 * gdb.reverse/i387-env-reverse.exp: Likewise.
21083 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21084 * gdb.reverse/machinestate-precsave.exp: Likewise.
21085 * gdb.reverse/machinestate.exp: Likewise.
21086 * gdb.reverse/sigall-precsave.exp: Likewise.
21087 * gdb.reverse/solib-precsave.exp: Likewise.
21088 * gdb.reverse/step-precsave.exp: Likewise.
21089 * gdb.reverse/until-precsave.exp: Likewise.
21090 * gdb.reverse/watch-precsave.exp: Likewise.
21091 * gdb.reverse/watch-reverse.exp: Likewise.
21092
b22089ab
YQ
210932014-10-17 Yao Qi <yao@codesourcery.com>
21094
21095 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21096 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21097
6c4486e6
PA
210982014-10-17 Pedro Alves <palves@redhat.com>
21099
21100 PR gdb/17471
21101 * gdb.base/bg-execution-repeat.c: New file.
21102 * gdb.base/bg-execution-repeat.exp: New file.
21103
0ff33695
PA
211042014-10-17 Pedro Alves <palves@redhat.com>
21105
21106 PR gdb/17300
21107 * gdb.base/continue-all-already-running.c: New file.
21108 * gdb.base/continue-all-already-running.exp: New file.
21109
6fdebc3d
PA
211102014-10-17 Pedro Alves <palves@redhat.com>
21111
21112 PR gdb/17472
21113 * gdb.base/annota-input-while-running.c: New file.
21114 * gdb.base/annota-input-while-running.exp: New file.
21115
32a8097b
PA
211162014-10-17 Pedro Alves <palves@redhat.com>
21117
21118 * gdb.base/callfuncs.exp: emove references to osf.
21119 * gdb.base/sigall.exp: Likewise.
21120 * gdb.gdb/selftest.exp: Likewise.
21121 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21122 * gdb.mi/non-stop.c: Likewise.
21123 * gdb.mi/pthreads.c: Likewise.
21124 * gdb.reverse/sigall-precsave.exp: Likewise.
21125 * gdb.reverse/sigall-reverse.exp: Likewise.
21126 * gdb.threads/pthreads.c: Likewise.
21127 * gdb.threads/pthreads.exp: Likewise.
21128
7a3517ff
YQ
211292014-10-17 Yao Qi <yao@codesourcery.com>
21130
21131 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21132 check 'target_info exists noargs'.
21133 (test_command_prompt_position): Likewise.
21134 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21135 Remove "set args".
21136 (progvar_simple_while_test): Likewise.
21137 (progvar_complex_if_while_test): Likewise.
21138 (if_while_breakpoint_command_test): Likewise.
21139 (infrun_breakpoint_command_test): Likewise.
21140 (breakpoint_command_test): Likewise.
21141 (watchpoint_command_test): Likewise.
21142 (bp_deleted_in_command_test): Likewise.
21143 (temporary_breakpoint_commands): Likewise.
21144
bb99c472
YQ
211452014-10-16 Yao Qi <yao@codesourcery.com>
21146
21147 * gdb.base/remotetimeout.exp: Remove noargs checking.
21148
7c16b83e
PA
211492014-10-15 Pedro Alves <palves@redhat.com>
21150
21151 PR breakpoints/9649
21152 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21153 * gdb.base/breakpoint-in-ro-region.exp
21154 (probe_target_hardware_step): New procedure.
21155 (top level): Probe hardware stepping and hardware breakpoint
21156 support. Test stepping through a read-only region, with both
21157 "breakpoint auto-hw" on and off and both "always-inserted" on and
21158 off.
21159
35a49624
IB
211602014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21161
21162 * gdb.dlang/demangle.exp: Update for demangling changes.
21163
2d1c107c
SC
211642014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21165
21166 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21167 * gdb.cp/non-trivial-retval.exp: Add new tests.
21168
778811d5
SC
211692014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21170
21171 PR c++/13403
21172 PR c++/15154
21173 * gdb.cp/non-trivial-retval.cc: New file.
21174 * gdb.cp/non-trivial-retval.exp: New file.
21175
10c5f0a8
YQ
211762014-10-15 Yao Qi <yao@codesourcery.com>
21177
21178 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21179 remote host.
21180
65d7b369
YQ
211812014-10-15 Yao Qi <yao@codesourcery.com>
21182
21183 * gdb.python/py-symbol.exp: Match file base name if host is
21184 remote, otherwise match file name with dir name.
21185 * gdb.python/py-symtab.exp: Likewise.
21186 * gdb.python/python.exp: Likewise.
21187
46dc1394
YQ
211882014-10-15 Yao Qi <yao@codesourcery.com>
21189
21190 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21191 pattern.
21192 * gdb.python/py-symtab.exp: Likewise.
21193 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21194 locationn.
21195
c40cc657
JB
211962014-10-14 Joel Brobecker <brobecker@adacore.com>
21197
21198 * gdb.ada/addr_arith: New testcase.
21199
2abf49e1
MR
212002014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21201
21202 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21203 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21204 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21205 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21206
f7088df3
SDJ
212072014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21208
21209 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21210 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21211 * gdb.arch/stap-eval-lang-ada.exp: New file.
21212
4dc06805
YQ
212132014-10-14 Yao Qi <yao@codesourcery.com>
21214
21215 * gdb.mi/mi-var-child.c (nothing1): New function.
21216 (nothing2): New function.
21217 (do_children_tests): Set function pointers by nothing1 and
21218 nothing2.
21219 * gdb.mi/mi-var-child.exp: Step over new added statements.
21220 Update test to match the new output.
21221 * gdb.mi/var-cmd.c (nothing1): New function.
21222 (nothing2): New function.
21223 (do_children_tests): Set function pointers by nothing1 and
21224 nothing2.
21225 * gdb.mi/mi-var-display.exp: Update test to match output.
21226 Step to the line specified by $line_dct_nothing.
21227 Increase the number of lines to step.
21228
46a93de2
YQ
212292014-10-14 Yao Qi <yao@codesourcery.com>
21230
21231 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21232 tests.
21233 * gdb.mi/mi2-var-child.exp: Likewise.
21234
14ea52ee
DE
212352014-10-13 Doug Evans <dje@google.com>
21236
21237 * gdb.python/py-objfile.exp: Change name of file name test.
21238
e5c6e92b
DE
212392014-10-13 Doug Evans <dje@google.com>
21240
21241 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21242 from the start of the CU.
21243
c780cc2f
JK
212442014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21245 Yao Qi <yao@codesourcery.com>
21246
21247 Fix "save breakpoints" for "catch" command.
21248 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21249 Remove -nonewline. Match also the added "main" line.
21250
99894e11
JK
212512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21252
21253 Fix "save breakpoints" for "disable $bpnum" command.
21254 * gdb.base/save-bp.c (main): Add label.
21255 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21256
6e1ac5a3
JK
212572014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21258
21259 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21260
754dd2b0
YQ
212612014-10-11 Yao Qi <yao@codesourcery.com>
21262
21263 * gdb.server/server-kill.exp: Execute command
21264 "set remote trace-status-packet on" before "tstatus".
21265
f90183d7
YQ
212662014-10-11 Yao Qi <yao@codesourcery.com>
21267
21268 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21269 (main): Call getppid.
21270 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21271 and continue to it. Read variable "server_pid".
21272
bf40a607
YQ
212732014-10-11 Yao Qi <yao@codesourcery.com>
21274
21275 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21276
052ca370
YQ
212772014-10-11 Yao Qi <yao@codesourcery.com>
21278
21279 * gdb.threads/thread-find.exp: Don't execute command
21280 "info threads".
21281 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21282 * gdb.threads/linux-dp.exp: Don't check the condition
21283 $threads_created equals to zero.
21284
3831839c
PA
212852014-10-10 Pedro Alves <palves@redhat.com>
21286
21287 * gdb.base/bigcore.exp: Remove references to IRIX.
21288 * gdb.base/funcargs.exp: Likewise.
21289 * gdb.base/interrupt.exp: Likewise.
21290 * gdb.base/mips_pro.exp: Likewise.
21291 * gdb.base/nodebug.exp: Likewise.
21292 * gdb.base/setvar.exp: Likewise.
21293 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21294
8b9a549d
PA
212952014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21296 Pedro Alves <palves@redhat.com>
21297
21298 PR symtab/14466
21299 * gdb.base/vdso-warning.c: New file.
21300 * gdb.base/vdso-warning.exp: New file.
21301
d48ba5e8
DE
213022014-10-02 Doug Evans <dje@google.com>
21303
21304 * gdb.base/structs.c (main): Don't run forever.
21305
2278c276
PA
213062014-10-02 Pedro Alves <palves@redhat.com>
21307
21308 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21309 (top level) <stop threads 1, stop threads 2>: Use it.
21310
b57bacec
PA
213112014-10-02 Pedro Alves <palves@redhat.com>
21312
21313 * gdb.threads/break-while-running.exp (test): Add new
21314 'update_thread_list' argument. Skip "info threads" if false.
21315 (top level): Add new 'update_thread_list' axis.
21316
13fd3ff3
PA
213172014-10-02 Pedro Alves <palves@redhat.com>
21318
21319 PR breakpoints/17431
21320 * gdb.base/execl-update-breakpoints.c: New file.
21321 * gdb.base/execl-update-breakpoints.exp: New file.
21322
0fec99e8
PA
213232014-10-01 Pedro Alves <palves@redhat.com>
21324
21325 * gdb.base/breakpoint-in-ro-region.c: New file.
21326 * gdb.base/breakpoint-in-ro-region.exp: New file.
21327
2ddf4301
SM
213282014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21329
21330 * gdb.mi/mi-exit-code.exp: New file.
21331 * gdb.mi/mi-exit-code.c: New file.
21332
6a5f3f43
YQ
213332014-09-30 Yao Qi <yao@codesourcery.com>
21334
21335 * lib/prelink-support.exp (build_executable_own_libs): Error if
21336 the target isn't native.
21337
345bcc73
YQ
213382014-09-30 Yao Qi <yao@codesourcery.com>
21339
21340 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21341 false.
21342
a25a5a45
PA
213432014-09-22 Pedro Alves <palves@redhat.com>
21344
21345 * gdb.threads/break-while-running.exp: New file.
21346 * gdb.threads/break-while-running.c: New file.
21347
00ba3162
YQ
213482014-09-19 Yao Qi <yao@codesourcery.com>
21349
21350 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21351 Invoke test. Restart GDB with --readnow and invoke test again.
21352
c3b7b696
YQ
213532014-09-19 Yao Qi <yao@codesourcery.com>
21354
21355 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21356 proc set_breakpoint_on_gcd_function. Invoke
21357 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21358 invoke set_breakpoint_on_gcd_function again.
21359
2b4fd423
DE
213602014-09-18 Doug Evans <dje@google.com>
21361
21362 * gdb.dwarf2/symtab-producer.exp: New file.
21363
a5947601
SDJ
213642014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21365
21366 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21367 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21368 * gdb.base/global-var-nested-by-dso.c: Likewise.
21369 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21370
91c19059
SDJ
213712014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21372 Pedro Alves <palves@redhat.com>
21373
21374 * gdb.base/watch-bitfields.exp: Pass string other than test file
21375 name to prepare_for_testing.
21376 (watch): New procedure.
21377 (expect_watchpoint): Use with_test_prefix.
21378 (top level): Factor out tests to ...
21379 (test_watch_location, test_regular_watch): ... these new
21380 procedures, and use with_test_prefix and gdb_continue_to_end.
21381
bb9d5f81
PP
213822014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21383
21384 PR breakpoints/12526
21385 * gdb.base/watch-bitfields.exp: New file.
21386 * gdb.base/watch-bitfields.c: New file.
21387
635856f5
PA
213882014-09-16 Pedro Alves <palves@redhat.com>
21389
21390 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21391 software and hardware addresses, not software address against
21392 itself.
21393
7280ceea
PA
213942014-09-16 Pedro Alves <palves@redhat.com>
21395
21396 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21397 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21398
428b16bd
PA
213992014-09-16 Pedro Alves <palves@redhat.com>
21400
21401 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21402 files.
21403 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21404 "*-*-vxworks*" throughout.
21405 * gdb.base/break.exp: Likewise.
21406 * gdb.base/default.exp: Likewise.
21407 * gdb.base/scope.exp: Likewise.
21408 * gdb.base/sepdebug.exp: Likewise.
21409 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21410 throughout.
21411 * gdb.base/run.c: Likewise.
21412 * gdb.base/sepdebug.c: Likewise.
21413 * gdb.hp/gdb.aCC/run.c: Likewise.
21414 * gdb.reverse/until-reverse.c: Likewise.
21415 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21416
666d413c
YQ
214172014-09-16 Yao Qi <yao@codesourcery.com>
21418
21419 * boards/local-remote-host-native.exp: New file.
21420
57cbd724
DE
214212014-09-14 Doug Evans <xdje42@gmail.com>
21422
21423 * gdb.threads/queue-signal.c (thread_count): New variable.
21424 (thread_count_mutex, thread_count_condvar): New variables.
21425 (incr_thread_count, wait_all_threads_running): New functions.
21426 (main): Wait for all threads to be in their thread functions.
21427
81219e53
DE
214282014-09-13 Doug Evans <xdje42@gmail.com>
21429
21430 * gdb.threads/queue-signal.c: New file.
21431 * gdb.threads/queue-signal.exp: New file.
21432
3714cea7
DE
214332014-09-13 Doug Evans <xdje42@gmail.com>
21434
21435 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21436 be consistent with what default_gdb_init uses.
21437 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21438 the plain text of the prompt. Add some logging printfs.
21439 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21440
fa43b1d7
PA
214412014-09-12 Pedro Alves <palves@redhat.com>
21442
21443 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21444 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21445 * gdb.arch/i386-size-overlap.exp: Likewise.
21446 * gdb.arch/i386-size.exp: Likewise.
21447 * gdb.arch/i386-unwind.exp: Likewise.
21448 * gdb.base/a2-run.exp: Likewise.
21449 * gdb.base/break.exp: Likewise.
21450 * gdb.base/charset.exp: Likewise.
21451 * gdb.base/chng-syms.exp: Likewise.
21452 * gdb.base/commands.exp: Likewise.
21453 * gdb.base/dbx.exp: Likewise.
21454 * gdb.base/find.exp: Likewise.
21455 * gdb.base/funcargs.exp: Likewise.
21456 * gdb.base/jit-simple.exp: Likewise.
21457 * gdb.base/reread.exp: Likewise.
21458 * gdb.base/sepdebug.exp: Likewise.
21459 * gdb.base/step-bt.exp: Likewise.
21460 * gdb.cp/mb-inline.exp: Likewise.
21461 * gdb.cp/mb-templates.exp: Likewise.
21462 * gdb.objc/basicclass.exp: Likewise.
21463 * gdb.threads/killed.exp: Likewise.
21464
9d9bf2df
EBM
214652014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21466
21467 PR tdep/17379
21468 * gdb.arch/powerpc-stackless.S: New file.
21469 * gdb.arch/powerpc-stackless.exp: New file.
21470
1cf2f1b0
JK
214712014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21472
21473 * gdb.base/attach.c: Include unistd.h.
21474 (main): Call alarm. Add label postloop.
21475 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21476 gdb_breakpoint, gdb_continue_to_breakpoint.
21477 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21478
98880d46
PA
214792014-09-11 Pedro Alves <palves@redhat.com>
21480
21481 PR gdb/17347
21482 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21483 * gdb.base/attach.exp (test_command_line_attach_run): New
21484 procedure.
21485 (top level): Call it.
21486
4c92ff2c
PA
214872014-09-11 Pedro Alves <palves@redhat.com>
21488
21489 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21490 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21491 (do_command_attach_tests): Use spawn_wait_for_attach.
21492 * gdb.base/solib-overlap.exp: Likewise.
21493 * gdb.multi/multi-attach.exp: Likewise.
21494 * gdb.python/py-prompt.exp: Likewise.
21495 * gdb.python/py-sync-interp.exp: Likewise.
21496 * gdb.server/ext-attach.exp: Likewise.
21497
3adc1a7d
GKB
214982014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21499
21500 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21501 command in testcase. Simplify testcase.
21502
96334934
JB
215032014-09-10 Joel Brobecker <brobecker@adacore.com>
21504
21505 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21506
eb479039
JB
215072014-09-10 Joel Brobecker <brobecker@adacore.com>
21508
21509 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21510
deede10c
JB
215112014-09-10 Joel Brobecker <brobecker@adacore.com>
21512
21513 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21514
7828a5f5
JB
215152014-09-10 Joel Brobecker <brobecker@adacore.com>
21516
21517 * gdb.dwarf2/dynarr-ptr.c: New file.
21518 * gdb.dwarf2/dynarr-ptr.exp: New file.
21519
33aeebcf
MR
215202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21521
21522 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21523 of 30 rather than hardcoding 120 for a slow test case. Take the
21524 `gdb,timeout' target setting into account for this calculation.
21525 Don't extend the timeout for the test cases that don't need it.
21526
7b415901
MR
215272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21528
21529 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21530 a factor of 2 for a slow test case. Take the `gdb,timeout'
21531 target setting into account for this calculation.
21532 * gdb.reverse/until-precsave.exp: Increase the timeout by
21533 a factor of 15 and 3 respectively rather than adding 120
21534 for a pair of slow test cases. Take the `gdb,timeout'
21535 target setting into account for this calculation.
21536
4a40f85a
MR
215372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21538
21539 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21540 timeout, don't pass one down to gdb_expect.
21541 (gdb_expect): Rework timeout selection.
21542
09635af7
MR
215432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21544
21545 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21546 exception on timeout.
21547 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21548 (gdbserver_start_extended): Catch any `gdbserver_start' error
21549 exceptions.
21550 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21551 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21552 `gdbserver_gdb_load' error exceptions.
21553
2bdd10b7
MR
215542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21555
21556 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21557 120 on waiting for the TCP socket to open.
21558
316935f0
DE
215592014-09-09 Doug Evans <xdje42@gmail.com>
21560
21561 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21562 _caller_matches, _any_caller_is, _any_caller_matches.
21563
83740597
DE
215642014-09-09 Doug Evans <xdje42@gmail.com>
21565
21566 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21567
4c122fc3
YQ
215682014-09-09 Yao Qi <yao@codesourcery.com>
21569
21570 * gdb.mi/mi-var-display.exp: Set print symbol off.
21571
a9f116cb
GKB
215722014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21573
21574 PR gdb/17035
21575 * gdb.base/commands.exp: Add tests to verify user-defined
21576 commands with empty bodies.
21577 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21578 python commands in `show user command`.
21579 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21580 scheme commands in `show user command`.
21581
c75bd3a2
JK
215822014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21583
21584 PR python/17355
21585 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21586 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21587 * gdb.python/py-framefilter-invalidarg.exp: New file.
21588 * gdb.python/py-framefilter-invalidarg.py: New file.
21589
faa42425
DE
215902014-09-06 Doug Evans <xdje42@gmail.com>
21591
21592 PR 15276
21593 * gdb.python/py-caller-is.c: New file.
21594 * gdb.python/py-caller-is.exp: New file.
21595
474ca4f6
SDJ
215962014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21597
21598 PR gdb/17235
21599 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21600 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21601
eb0b0463
SDJ
216022014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21603
21604 PR fortran/17237
21605 * gdb.fortran/print-formatted.exp: New file.
21606 * gdb.fortran/print-formatted.f90: Likewise.
21607
5f3b99cf
SS
216082014-09-03 Sasha Smundak <asmundak@google.com>
21609
21610 * gdb.python/py-frame.exp: Test Frame.read_register.
21611
7d793aa9
SDJ
216122014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21613
21614 PR python/16699
21615 * gdb.python/py-completion.exp: New file.
21616 * gdb.python/py-completion.py: Likewise.
21617
fb0576e9
DE
216182014-08-28 Doug Evans <dje@google.com>
21619
21620 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21621 eax,etc. are live with values set by gdb and thus the compiler can't
21622 use them.
21623 * gdb.arch/i386-pseudo.c (main): Ditto.
21624
ee92b0dd
DE
216252014-08-27 Doug Evans <dje@google.com>
21626
21627 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21628
6649db35
DE
216292014-08-25 Doug Evans <dje@google.com>
21630
21631 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21632 (main): Ditto.
21633
564b7600
DE
216342014-08-25 Doug Evans <dje@google.com>
21635
21636 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21637
3881fb67
YQ
216382014-08-24 Yao Qi <yao@codesourcery.com>
21639
21640 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21641 symbol off.
21642 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21643
a05a36a5
DE
216442014-08-22 Doug Evans <dje@google.com>
21645
21646 PR 17276
21647 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21648 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21649 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21650
7c343b48
YQ
216512014-08-22 Yao Qi <yao@codesourcery.com>
21652
21653 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21654 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21655 * gdb.python/python.exp: Likewise. Use .py file on the host
21656 instead of the build.
21657
22fd09ae
JK
216582014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21659
21660 * gdb.threads/gcore-stale-thread.c: New file.
21661 * gdb.threads/gcore-stale-thread.exp: New file.
21662
a8454a7c
PA
216632014-08-21 Pedro Alves <palves@redhat.com>
21664
21665 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21666 * gdb.base/gcore-relro-pie.exp: Likewise.
21667 * gdb.base/gcore-relro.exp: Likewise.
21668 * gdb.base/gcore.exp: Likewise.
21669 * gdb.base/print-symbol-loading.exp: Likewise.
21670 * gdb.threads/gcore-thread.exp: Likewise.
21671 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21672
2a31c623
PA
216732014-08-20 Pedro Alves <palves@redhat.com>
21674 Jan Kratochvil <jan.kratochvil@redhat.com>
21675
21676 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21677 configure.
21678 (EXPECT): Handle READ1 being set.
21679 (all): Depend on EXTRA_RULES.
21680 (check-read1, expect-read1, read1.so, read1): New rules.
21681 * README (Testsuite Parameters): Document the READ1 make variable.
21682 (Race detection): New section.
21683 * configure: Regenerate.
21684 * configure.ac: If build==host==target, and running under a
21685 GNU/glibc system, add read1 to the extra Makefile rules.
21686 (EXTRA_RULES): AC_SUBST it.
21687 * lib/read1.c: New file.
21688
d36430db
JB
216892014-08-20 Joel Brobecker <brobecker@adacore.com>
21690
21691 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21692 the handling of variables declared as a typedef to an array
21693 which a DW_AT_data_location attribute.
21694
9a0dc9e3
PA
216952014-08-19 Andrew Burgess <aburgess@broadcom.com>
21696 Pedro Alves <palves@redhat.com>
21697
21698 PR symtab/14604
21699 PR symtab/14605
21700 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21701 gdb_test.
21702
0718a8da
PA
217032014-08-19 Pedro Alves <palves@redhat.com>
21704
21705 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21706
13b448cd
YQ
217072014-08-19 Yao Qi <yao@codesourcery.com>
21708
21709 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21710 right line.
21711
1cbf5077
DB
217122014-08-18 David Blaikie <dblaikie@gmail.com>
21713
21714 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21715
bf0fae19
JB
217162014-08-18 Joel Brobecker <brobecker@adacore.com>
21717
21718 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21719 attribute in array range.
21720
3c8c5dcc
JB
217212014-08-18 Joel Brobecker <brobecker@adacore.com>
21722
21723 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21724
e66d4446
SC
217252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21726
21727 PR c++/17132
21728 * gdb.cp/pr17132.cc: New file.
21729 * gdb.cp/pr17132.exp: New file.
21730
940df408
SC
217312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21732
21733 * gdb.python/py-xmethods.py (A_getarrayind)
21734 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21735 Use 'print' with function call syntax.
21736 (E_method_matcher.match): Fix tab vs space indentation mixup.
21737
ebcc6c3a
YQ
217382014-08-15 Yao Qi <yao@codesourcery.com>
21739
21740 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21741 false.
21742
775e0f04
YQ
217432014-08-15 Yao Qi <yao@codesourcery.com>
21744
21745 * gdb.cp/casts.exp: Set print symbol off.
21746 * gdb.cp/class2.exp: Likewise.
21747 * gdb.cp/overload.exp: Likewise.
21748 * gdb.cp/templates.exp: Likewise.
21749
d769e349
DE
217502014-08-11 Doug Evans <dje@google.com>
21751
21752 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21753 (test_load_shlib): Update.
21754
20c6f1e1
YQ
217552014-08-09 Yao Qi <yao@codesourcery.com>
21756
21757 * gdb.base/display.exp: Invoke is_address_zero_readable.
21758 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21759 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21760 * gdb.base/hbreak-unmapped.exp: Return if
21761 is_address_zero_readable returns true.
21762 * gdb.base/signest.exp: Likewise.
21763 * gdb.base/signull.exp: Likewise.
21764 * gdb.base/sigbpt.exp: Likewise.
21765 * gdb.guile/scm-disasm.exp: Do the test if
21766 is_address_zero_readable returns false.
21767 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21768 * gdb.python/py-arch.exp: Likewise.
21769 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21770 * lib/gdb.exp (is_address_zero_readable): New proc.
21771
5792e8e3
YQ
217722014-08-09 Yao Qi <yao@codesourcery.com>
21773
21774 PR testsuite/13443
21775 * gdb.mi/mi-var-display.exp: Make test messages unique.
21776
3cecbbbe
TT
217772014-08-04 Tom Tromey <tromey@redhat.com>
21778
21779 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21780 target 0".
21781
00b51ff5
TT
217822014-08-04 Tom Tromey <tromey@redhat.com>
21783
21784 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21785 "target_resume".
21786
6908c509
JB
217872014-08-01 Joel Brobecker <brobecker@adacore.com>
21788
21789 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21790 inner_vla_struct_object_size.
21791 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21792 as xfail.
21793
cc6563d2
PA
217942014-07-30 Pedro Alves <palves@redhat.com>
21795
21796 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21797 comment.
21798
7e09a223
YQ
217992014-07-29 Yao Qi <yao@codesourcery.com>
21800
21801 PR gdb/17206
21802 * gdb.base/until-nodebug.exp: New.
21803
7ebdbe92
DE
218042014-07-28 Doug Evans <xdje42@gmail.com>
21805
21806 PR guile/17203
21807 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21808 previously existing parameter, and previously ambiguously spelled
21809 parameter.
21810
fdb1adc6
WN
218112014-07-28 Will Newton <will.newton@linaro.org>
21812
21813 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21814
186fcde0
DE
218152014-07-26 Ludovic Courtès <ludo@gnu.org>
21816 Doug Evans <xdje42@gmail.com>
21817
21818 PR guile/17146
21819 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21820
70509625
PA
218212014-07-25 Pedro Alves <palves@redhat.com>
21822
21823 * gdb.threads/signal-command-handle-nopass.c: New file.
21824 * gdb.threads/signal-command-handle-nopass.exp: New file.
21825 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21826 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21827 * gdb.threads/signal-delivered-right-thread.c: New file.
21828 * gdb.threads/signal-delivered-right-thread.exp: New file.
21829
c3f814a1
PA
218302014-07-25 Pedro Alves <palves@redhat.com>
21831
21832 * gdb.base/double-prompt-target-event-error.exp
21833 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21834 match.
21835 (cancel_pagination_in_target_event): Rework double prompt
21836 detection.
21837 * gdb.base/paginate-after-ctrl-c-running.exp
21838 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21839 <return>' match.
21840 * gdb.base/paginate-bg-execution.exp
21841 (test_bg_execution_pagination_return)
21842 (test_bg_execution_pagination_cancel): Remove '-notransfer
21843 <return>' matches.
21844 * gdb.base/paginate-execution-startup.exp
21845 (test_fg_execution_pagination_return)
21846 (test_fg_execution_pagination_cancel): Remove '-notransfer
21847 <return>' matches.
21848 * gdb.base/paginate-inferior-exit.exp
21849 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21850 match.
21851 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21852 * lib/gdb.exp (pagination_prompt): Run text through
21853 string_to_regexp.
21854 (gdb_test_multiple): Match $pagination_prompt instead of
21855 "<return>".
21856 (string_to_regexp): Move to lib/gdb-utils.exp.
21857
e214cf6c
JK
218582014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21859
21860 * gdb.arch/amd64-entry-value-paramref.S: New file.
21861 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21862 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21863 * gdb.arch/amd64-optimout-repeat.S: New file.
21864 * gdb.arch/amd64-optimout-repeat.c: New file.
21865 * gdb.arch/amd64-optimout-repeat.exp: New file.
21866
17d0c5c8
JK
218672014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21868
21869 PR gdb/17170
21870 * gdb.base/statistics.exp: New file.
21871
b8b8facf
DE
218722014-07-17 Doug Evans <dje@google.com>
21873
74b49205 21874 PR gdb/17170
b8b8facf
DE
21875 * gdb.base/maint.exp: Update testing of per-command stats.
21876
1b5d0ab3
PA
218772014-07-16 Pedro Alves <palves@redhat.com>
21878
21879 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21880 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21881 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21882 (tfile_write_buf): New functions.
21883 (add_memory_block): Rewrite using the above.
21884 (adjust_function_address): New function.
21885 (FUNCTION_ADDRESS): New macro.
21886 (write_basic_trace_file): Remove short_x local, and use
21887 tfile_write_16. Change type of func_addr local to unsigned long
21888 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21889 here. Cast argument of add_memory_block to char pointer.
21890 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21891 (main): Remove parameters.
21892 * gdb.trace/tfile.exp: Remove nowarnings.
21893
4d974e88
SM
218942014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21895
21896 * gdb.base/debug-expr.exp: Test string evaluation with
21897 "debug expression" on.
21898
41e99568
PA
218992014-07-15 Pedro Alves <palves@redhat.com>
21900
21901 * gdb.base/reread.exp: Use clean_restart.
21902
487d9753
PL
219032014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21904
21905 * gdb.arch/avr-flash-qualifer.c: New.
21906 * gdb.arch/avr-flash-qualifer.exp: New.
21907
cc1c52ad
PA
219082014-07-14 Pedro Alves <palves@redhat.com>
21909
21910 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21911 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21912
1e973570
PA
219132014-07-14 Pedro Alves <palves@redhat.com>
21914
21915 * gdb.base/double-prompt-target-event-error.c: New file.
21916 * gdb.base/double-prompt-target-event-error.exp: New file.
21917
93d6eb10
PA
219182014-07-14 Pedro Alves <palves@redhat.com>
21919
21920 PR gdb/17072
21921 * gdb.base/paginate-inferior-exit.c: New file.
21922 * gdb.base/paginate-inferior-exit.exp: New file.
21923
0017922d
PA
219242014-07-14 Pedro Alves <palves@redhat.com>
21925
21926 PR gdb/17072
21927 * gdb.base/paginate-bg-execution.c: New file.
21928 * gdb.base/paginate-bg-execution.exp: New file.
21929
94696ad3
PA
219302014-07-14 Pedro Alves <palves@redhat.com>
21931
21932 PR gdb/17072
21933 * gdb.base/paginate-execution-startup.c: New file.
21934 * gdb.base/paginate-execution-startup.exp: New file.
21935 * lib/gdb.exp (pagination_prompt): New global.
21936 (default_gdb_spawn): New procedure, factored out from
21937 default_gdb_spawn.
21938 (default_gdb_start): Adjust to call default_gdb_spawn.
21939 (gdb_spawn): New procedure.
21940
bd293940
PA
219412014-07-14 Pedro Alves <palves@redhat.com>
21942
21943 * lib/gdb.exp (gdb_assert): New procedure.
21944 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21945
c933f875
PA
219462014-07-14 Pedro Alves <palves@redhat.com>
21947
21948 * gdb.base/execution-termios.c: New file.
21949 * gdb.base/execution-termios.exp: New file.
21950
d98b7a16
TT
219512014-07-14 Tom Tromey <tromey@redhat.com>
21952
21953 * gdb.cp/vla-cxx.cc: New file.
21954 * gdb.cp/vla-cxx.exp: New file.
21955
548740d6
TT
219562014-07-14 Tom Tromey <tromey@redhat.com>
21957
21958 * gdb.reverse/rerun-prec.c: New file.
21959 * gdb.reverse/rerun-prec.exp: New file.
21960
a25eb028
MR
219612014-07-12 Maciej W. Rozycki <macro@mips.com>
21962 Maciej W. Rozycki <macro@codesourcery.com>
21963
21964 * lib/gdb-utils.exp: New file.
21965 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21966 inline `gdb_init_command' processing.
21967 (gdb_start_cmd): Likewise.
21968 * lib/mi-support.exp (mi_run_cmd): Likewise.
21969 * README: Document `gdb_init_command' and `gdb_init_commands'.
21970
218c2655
JK
219712014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21972
21973 Fix false FAIL running under a very long directory name.
21974 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21975 and "set print elements 10000". Twice.
21976
5401fde3
YQ
219772014-07-11 Yao Qi <yao@codesourcery.com>
21978
21979 * gdb.base/exprs.exp: "set print symbol off".
21980
e76126e8
PA
219812014-07-11 Pedro Alves <palves@redhat.com>
21982
21983 * gdb.threads/kill.c: New file.
21984 * gdb.threads/kill.exp: New file.
21985
2d6f0de6
YQ
219862014-07-10 Yao Qi <yao@codesourcery.com>
21987
21988 * gdb.trace/tfile.c (write_basic_trace_file)
21989 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21990 address written to trace file.
21991
7180e04a
PA
219922014-07-09 Pedro Alves <palves@redhat.com>
21993
21994 * gdb.base/attach-wait-input.exp: New file.
21995 * gdb.base/attach-wait-input.c: New file.
21996
9a9a7608
AB
219972014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21998
21999 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22000 setting up test structures.
22001 (main): Call new test function.
22002 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22003 test function, continue into test function and walk test
22004 structures.
22005
161ac41e
YQ
220062014-07-02 Yao Qi <yao@codesourcery.com>
22007
22008 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22009 'bar_start' at the beginning of functions 'foo' and 'bar'
22010 respectively.
22011 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22012 instead of 'foo' and 'bar'.
22013
1f267ae3
MM
220142014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22015
22016 * gdb.btrace/segv.exp: New.
22017 * gdb.btrace/segv.c: New.
22018
2b239efb
LM
220192014-07-02 Luis Machado <lgustavo@codesourcery.com>
22020
22021 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22022 instruction.
22023
cf363f18
MW
220242014-06-30 Mark Wielaard <mjw@redhat.com>
22025
22026 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22027 vulture, vilify, villar): New volatile array constants.
22028 (vindictive, vegetation): New const volatile array constants.
22029 * gdb.base/volatile.exp: Test volatile and const volatile array
22030 types.
22031
aebf9d24
AA
220322014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22033
22034 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22035 target lacks support for awatch, rwatch, or hbreak.
22036
b67a2c6f
YQ
220372014-06-27 Yao Qi <yao@codesourcery.com>
22038
22039 * gdb.multi/dummy-frame-restore.exp: New.
22040 * gdb.multi/dummy-frame-restore.c: New.
22041
aef92902
MM
220422014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22043
22044 * gdb.btrace/gcore.exp: New.
22045
8e9db26e
PA
220462014-06-23 Pedro Alves <palves@redhat.com>
22047
22048 * gdb.base/watchpoint-reuse-slot.c: New file.
22049 * gdb.base/watchpoint-reuse-slot.exp: New file.
22050
70afc5b7
SC
220512014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22052
22053 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22054 progspace's filename in 'info', 'enable' and 'disable' command
22055 tests.
22056
b972bd9c
JK
220572014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22058
22059 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22060 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22061 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22062
125f8a3d
GB
220632014-06-20 Gary Benson <gbenson@redhat.com>
22064
22065 * gdb.arch/i386-avx.exp: Fix include file location.
22066 * gdb.arch/i386-sse.exp: Likewise.
22067
3ed9baed
IB
220682014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22069
22070 * gdb.dlang/expression.exp: New file.
22071
034f788c
PA
220722014-06-19 Pedro Alves <palves@redhat.com>
22073
22074 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22075 out from ...
22076 (top level): ... here. Iterate running tests under different
22077 scheduler-locking settings.
22078
45371d0c
LM
220792014-06-18 Luis Machado <lgustavo@codesourcery.com>
22080
22081 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22082 to DW_FORM_addr and use non-zero addresses.
22083
5d376983
SC
220842014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22085
22086 PR gdb/17017
22087 * gdb.python/py-xmethods.cc: Add global function call counters and
22088 increment them in their respective functions. Remove "cout"
22089 statements.
22090 * gdb.python/py-xmethods.exp: Make tests check the global function
22091 call counters instead of depending on inferior IO.
22092
a1aa2221
LM
220932014-06-18 Don Breazeal <donb@codesourcery.com>
22094
22095 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22096 Deleted procedure.
22097 (explicit_fork_parent_follow): Deleted procedure.
22098 (explicit_fork_child_follow): Deleted procedure.
22099 (test_follow_fork): New procedure.
22100 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22101 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22102 procedure calls.
22103
0fc05997
YQ
221042014-06-17 Yao Qi <yao@codesourcery.com>
22105
22106 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22107 CP1252.
22108
70795c52
LM
221092014-06-17 Luis Machado <lgustavo@codesourcery.com>
22110
22111 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22112 Initialize ptr and S explicitly.
22113 (skip_type_update_when_not_use_rtti_test): Likewise.
22114
6be47f0c
KS
221152014-06-16 Keith Seitz <keiths@redhat.com>
22116
22117 PR mi/15863
22118 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22119 the inferior is started.
22120
d03de421
PA
221212014-06-16 Pedro Alves <palves@redhat.com>
22122
22123 * gdb.base/break-main-file-remove-fail.c: New file.
22124 * gdb.base/break-main-file-remove-fail.exp: New file.
22125 * gdb.base/break-unload-file.exp: Use build_executable instead of
22126 prepare_for_testing.
22127 (test_break): New parameter "initial_load". Handle it.
22128 (top level): Add initial_load cmdline/file axis.
22129
f9579b99
TT
221302014-06-12 Tom Tromey <tromey@redhat.com>
22131
22132 * gdb.base/completion.exp: Don't use directory name in test.
22133
3657956b
GB
221342014-06-09 Gary Benson <gbenson@redhat.com>
22135
22136 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22137 separate the always-available ANSI-standard signals from the
22138 signals that require checking.
22139 (main): Likewise.
22140 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22141 Likewise.
22142 (main): Likewise.
22143
4186eb54
KS
221442014-06-07 Keith Seitz <keiths@redhat.com>
22145
22146 Revert:
22147 PR c++/16253
22148 * gdb.cp/var-tag.cc: New file.
22149 * gdb.cp/var-tag.exp: New file.
22150 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22151 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22152 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22153 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22154
25326a28 221552014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22156
22157 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22158
829155c9
PA
221592014-06-06 Pedro Alves <palves@redhat.com>
22160
22161 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22162 in target debug output instead of looking at RSP packets,
22163 disabling the test on any target that uses hardware stepping.
22164 Update comments.
22165
61c8d22e
PA
221662014-06-06 Pedro Alves <palves@redhat.com>
22167
22168 * gdb.base/break-unload-file.exp: Fix typo.
22169
d9a47287
YQ
221702014-06-06 Yao Qi <yao@codesourcery.com>
22171
22172 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22173 from "jit_function" to "^jit_function".
22174
e5e01dbf
YQ
221752014-06-06 Yao Qi <yao@codesourcery.com>
22176
22177 * gdb.base/async.c (foo): Add one statement.
22178 * gdb.base/async.exp: Get the next instruction address and
22179 match the output of "nexti" by instruction address. Match
22180 the hex address in the output of "finish".
22181
73ba372c
GB
221822014-06-06 Gary Benson <gbenson@redhat.com>
22183
22184 * gdb.base/call-signals.c: Remove preprocessor conditionals
22185 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22186 SIGSEGV and SIGTERM.
22187 * gdb.base/sigall.c: Likewise.
22188 * gdb.base/unwindonsignal.c: Likewise.
22189 * gdb.reverse/sigall-reverse.c: Likewise.
22190
831517df
YQ
221912014-06-06 Yao Qi <yao@codesourcery.com>
22192
22193 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22194 readable, skip the test.
22195
b8b91e98
YQ
221962014-06-06 Yao Qi <yao@codesourcery.com>
22197
22198 * gdb.threads/staticthreads.c (thread_function): Move the line
22199 setting breakpoint on forward.
22200 * gdb.threads/staticthreads.exp: Update comments.
22201
fb934770
LC
222022014-06-05 Ludovic Courtès <ludo@gnu.org>
22203
22204 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22205 "history-append! type error".
22206
6ef284bd
SM
222072014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22208
22209 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22210 erroneous dprintf expected input.
22211
a872e241
DE
222122014-06-04 Doug Evans <xdje42@gmail.com>
22213
22214 * gdb.guile/scm-generics.exp: Delete.
22215
16f691fb
DE
222162014-06-04 Doug Evans <xdje42@gmail.com>
22217
22218 * gdb.guile/scm-breakpoint.exp: Update.
22219 Add tests for breakpoint registration.
22220
012370f6
TT
222212014-06-04 Tom Tromey <tromey@redhat.com>
22222
22223 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22224 VLA-in-union.
22225 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22226 inner_vla_struct, vla_union types. Initialize objects of those
22227 types and compute their sizes.
22228
9f5a4cef
HZ
222292014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22230 Hui Zhu <hui@codesourcery.com>
22231
22232 * gdb.base/fileio.exp: Add test for shell not available as well as
22233 available.
22234 * gdb.base/fileio.c (test_system): Check for shell twice.
22235
90a45c4d
YQ
222362014-06-04 Yao Qi <yao@codesourcery.com>
22237
22238 * gdb.base/auto-connect-native-target.exp: Remove redundant
22239 space from the regexp pattern.
22240
70017e41
YQ
222412014-06-04 Yao Qi <yao@codesourcery.com>
22242
22243 * gdb.base/default.exp: Replace "child" with "native" in
22244 regexp pattern.
22245
883964a7
SC
222462014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22247
22248 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22249 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22250 * gdb.python/py-xmethods.py: Python script supporting the
22251 new testcase and tests.
22252
ef370185
JB
222532014-06-03 Joel Brobecker <brobecker@adacore.com>
22254 Pedro Alves <palves@redhat.com>
22255
22256 PR breakpoints/17000
22257 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22258 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22259
1e2ccb61
BM
222602014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22261
22262 * gdb.base/subst.exp: Add tests to verify partial path matching
22263 output.
22264
c6ec5ab2
PA
222652014-06-03 Pedro Alves <palves@redhat.com>
22266
22267 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22268 target that doesn't use software single-stepping.
22269
835c559f
PA
222702014-06-03 Pedro Alves <palves@redhat.com>
22271
22272 PR breakpoints/17000
22273 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22274 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22275
06eb1586
DE
222762014-06-02 Doug Evans <xdje42@gmail.com>
22277
22278 * gdb.guile/scm-parameter.exp: New file.
22279
e698b8c4
DE
222802014-06-02 Doug Evans <xdje42@gmail.com>
22281
22282 * gdb.guile/scm-cmd.c: New file.
22283 * gdb.guile/scm-cmd.exp: New file.
22284
ded03782
DE
222852014-06-02 Doug Evans <xdje42@gmail.com>
22286
22287 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22288 pretty-printer lookup.
22289 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22290 (make-pp_s-printer): Call it.
22291 (make-pretty-printer-from-dict): New function.
22292 (lookup-pretty-printer-maker-from-dict): New function.
22293 (*pretty-printer*): Simplify.
22294 (make-objfile-pp_s-printer): New function.
22295 (install-objfile-pretty-printers!): New function.
22296 (make-progspace-pp_s-printer): New function.
22297 (install-progspace-pretty-printers!): New function.
22298 * gdb.guile/scm-progspace.c: New file.
22299 * gdb.guile/scm-progspace.exp: New file.
22300
41fac0cf
PA
223012014-06-02 Pedro Alves <palves@redhat.com>
22302
22303 * gdb.base/dprintf-bp-same-addr.c: New file.
22304 * gdb.base/dprintf-bp-same-addr.exp: New file.
22305
96ae5695
EBM
223062014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22307
22308 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22309 * gdb.arch/powerpc-power.s: Likewise.
22310
da02b3a8
JB
223112014-06-02 Joel Brobecker <brobecker@adacore.com>
22312
22313 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22314
c72b2e7b
YQ
223152014-06-01 Yao Qi <yao@codesourcery.com>
22316
22317 * gdb.base/watchpoint.exp (test_watch_location): Check null
22318 pointer can be dereferenced. If not, do the test, otherwise
22319 skip it.
22320
53e8a631
AB
223212014-05-30 Andrew Burgess <aburgess@broadcom.com>
22322
22323 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22324 results.
22325 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22326
938f0e2f
AB
223272014-05-30 Andrew Burgess <aburgess@broadcom.com>
22328
22329 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22330 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22331 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22332 * gdb.arch/amd64-invalid-stack-top.c: New file.
22333 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22334
9ba6657a
PA
223352014-05-30 Pedro Alves <palves@redhat.com>
22336
22337 PR breakpoints/17000
22338 * gdb.base/sss-bp-on-user-bp.c: New file.
22339 * gdb.base/sss-bp-on-user-bp.exp: New file.
22340
522c09bf
DB
223412014-05-30 David Blaikie <dblaikie@gmail.com>
22342
22343 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22344 gnu_inline semantics via attribute.
22345 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22346 source explicitly specifies the required semantics.
22347
bf4ef81e
MR
223482014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22349
22350 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22351
329ea579
PA
223522014-05-29 Pedro Alves <palves@redhat.com>
22353 Tom Tromey <tromey@redhat.com>
22354
22355 * gdb.base/async-shell.exp: Don't enable target-async.
22356 * gdb.base/async.exp
22357 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22358 parameter. Adjust.
22359 (top level): Don't test with "target-async".
22360 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22361 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22362 * gdb.base/inferior-died.exp: Don't enable target-async.
22363 * gdb.base/interrupt-noterm.exp: Likewise.
22364 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22365 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22366 * gdb.mi/mi-nonstop.exp: Likewise.
22367 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22368 * gdb.mi/mi-nsintrall.exp: Likewise.
22369 * gdb.mi/mi-nsmoribund.exp: Likewise.
22370 * gdb.mi/mi-nsthrexec.exp: Likewise.
22371 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22372 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22373 * gdb.python/py-evsignal.exp: Don't enable target-async.
22374 * gdb.python/py-evthreads.exp: Likewise.
22375 * gdb.python/py-prompt.exp: Likewise.
22376 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22377 * gdb.server/solib-list.exp: Don't enable target-async.
22378 * gdb.threads/thread-specific-bp.exp: Likewise.
22379 * lib/mi-support.exp: Adjust to use mi-async.
22380
fd664c91
PA
223812014-05-29 Pedro Alves <palves@redhat.com>
22382
22383 PR gdb/13860
22384 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22385 reason, even in sync mode.
22386
251bde03
PA
223872014-05-29 Pedro Alves <palves@redhat.com>
22388 Hui Zhu <hui@codesourcery.com>
22389
22390 PR PR15693
22391 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22392 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22393 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22394 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22395
7f3c0343
JB
223962014-05-28 Joel Brobecker <brobecker@adacore.com>
22397
22398 * config/monitor.exp (gdb_target_monitor): Replace use of
22399 "set remotebaud" by "set serial baud".
22400
b2715b27
AW
224012014-05-26 Andy Wingo <wingo@igalia.com>
22402
22403 * gdb.guile/scm-breakpoint.exp:
22404 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22405 properties instead of gdb-object-properties.
22406
498a4489
YQ
224072014-05-26 Yao Qi <yao@codesourcery.com>
22408
22409 * gdb.server/no-thread-db.exp: Specify source file name
22410 explicitly when setting a breakpoint.
22411
589fdceb
MM
224122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22413
22414 * gdb.btrace/vdso.c: New.
22415 * gdb.btrace/vdso.exp: New.
22416
e9089e05
MM
224172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22418
22419 * gdb.base/gcore.exp (capture_command_output): Move ...
22420 * lib/gdb.exp (capture_command_output): ... here.
22421
67b5c0c1
MM
224222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22423
22424 * gdb.btrace/data.exp: Test memory access during btrace replay.
22425
a2199296
SM
224262014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22427
22428 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22429
17b2616c
PA
224302014-05-21 Pedro Alves <palves@redhat.com>
22431
22432 PR gdb/13860
22433 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22434 (top level): Test that output related to execution commands is
22435 sent to the console with CLI commands, but not with MI commands.
22436 Test that breakpoint events are always mirrored to the console.
22437 Also expect the new source line to be output after a "next" in
22438 async mode too. Make it a pass/fail test.
22439 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22440 output.
22441 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22442
5166082f
PA
224432014-05-21 Pedro Alves <palves@redhat.com>
22444
22445 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22446 Use them to test variations of "list" after reaching a breakpoint.
22447 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22448 Test "list" with listsize 10 after reaching a breakpoint.
22449 * gdb.python/python.exp (decode_line current location line
22450 number): Adjust expected line number.
22451
2f25d70f
SM
224522014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22453
22454 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22455 behavior for $args, pass it directly to "run".
22456
ff604a67
MR
224572014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22458
22459 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22460 30000 to 65536.
22461
6a3cb8e8
PA
224622014-05-21 Pedro Alves <palves@redhat.com>
22463
22464 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22465 auto-connect-native-target off".
22466 * gdb.base/auto-connect-native-target.c: New file.
22467 * gdb.base/auto-connect-native-target.exp: New file.
22468
4ebfc96e
PA
224692014-05-21 Pedro Alves <palves@redhat.com>
22470
22471 * gdb.base/default.exp: Test "target native" instead of "target
22472 child".
22473
36d46afb
MW
224742014-05-21 Mark Wielaard <mjw@redhat.com>
22475
22476 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22477
5876f503
JK
224782014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22479
22480 Fix TLS access for -static -pthread.
22481 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22482 <HAVE_TLS> (thread_function, main): Initialize it.
22483 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22484 Add clean_restart.
22485 <$have_tls != "">: Check TLSVAR.
22486
0256a6ac
PA
224872014-05-21 Pedro Alves <palves@redhat.com>
22488
22489 * gdb.base/dcache-line-read-error.c: New.
22490 * gdb.base/dcache-line-read-error.exp: New.
22491
936d2992
PA
224922014-05-20 Pedro Alves <palves@redhat.com>
22493
22494 * gdb.base/compare-sections.c: New file.
22495 * gdb.base/compare-sections.exp: New file.
22496
802e8e6d
PA
224972014-05-20 Pedro Alves <palves@redhat.com>
22498
22499 * gdb.base/break-idempotent.c: New file.
22500 * gdb.base/break-idempotent.exp: New file.
22501
e59fa00f
MM
225022014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22503
22504 * gdb.btrace/nohist.exp: New.
22505
8b696e31
YQ
225062014-05-20 Yao Qi <yao@codesourcery.com>
22507
22508 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22509 gdb.reverse directory and gdb_reverse_timeout exists in board
22510 setting.
22511 * README: Document gdb_reverse_timeout.
22512
73c9764f
YQ
225132014-05-20 Yao Qi <yao@codesourcery.com>
22514
22515 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22516 'test_file_name'. Treat args as a string instead of a list.
22517 (gdb_init): Rename argument 'args' by 'test_file_name'.
22518
f1f4348a
JK
225192014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22520
22521 * gdb.arch/powerpc-power.exp: New file.
22522 * gdb.arch/powerpc-power.s: New file.
22523
0dbe70ce
DE
225242014-05-16 Doug Evans <dje@google.com>
22525
22526 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22527 * gdb.base/completion.exp: Check that all expected files exist
22528 before doing file completion.
0dbe70ce 22529
8d551b02
DE
225302014-05-16 Doug Evans <dje@google.com>
22531
22532 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22533 Update.
22534 (do_syscall_tests_without_xml): Update.
22535
73eb7709
PA
225362014-05-16 Pedro Alves <palves@redhat.com>
22537
22538 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22539 instead of "unknown output after running".
22540
3fae92fc
YQ
225412014-05-16 Yao Qi <yao@codesourcery.com>
22542
22543 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22544 file1.txt from host at the end.
22545 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22546
c2b2ccc5
DE
225472014-05-15 Doug Evans <dje@google.com>
22548
22549 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22550 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22551 loading file. Add test for TU lookup.
22552
8c217a4b
SM
225532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22554
22555 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22556 calling "-exec-arguments" or "set args" before running the
22557 inferior.
22558
3deb39c6
SM
225592014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22560
22561 * lib/mi-support.exp (mi_expect_stop): Expect message for
22562 inferiors that exit with non-zero exit code.
22563
71a79f8c
YQ
225642014-05-14 Yao Qi <yao@codesourcery.com>
22565
22566 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22567 match absolute path on remote host.
22568 (test_file_list_exec_source_files): Remove "/" from the
22569 pattern.
22570
f23fcd46
YQ
225712014-05-14 Yao Qi <yao@codesourcery.com>
22572
22573 * boards/local-remote-host-notty.exp (${board}_file): New
22574 proc.
22575
9404b58f
KM
225762014-05-07 Kyle McMartin <kyle@redhat.com>
22577
22578 Pushed by Joel Brobecker <brobecker@adacore.com>.
22579 * gdb.arch/aarch64-atomic-inst.c: New file.
22580 * gdb.arch/aarch64-atomic-inst.exp: New file.
22581
5e45f04c
YQ
225822014-05-07 Yao Qi <yao@codesourcery.com>
22583
22584 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22585 in current context" too.
22586
c888a17d
KS
225872014-05-05 Keith Seitz <keiths@redhat.com>
22588
22589 * gdb.linespec/ls-dollar.exp: Add test for linespec
22590 file:convenience_variable.
22591
290a839c
YQ
225922014-05-05 Yao Qi <yao@codesourcery.com>
22593
22594 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22595 traceframes into tfile and ctf trace files. Read data from
22596 trace file and test collected data.
22597 (gdb_collect_locals_test): Likewise.
22598 (gdb_unavailable_registers_test): Likewise.
22599 (gdb_unavailable_floats): Likewise.
22600 (gdb_collect_globals_test): Likewise.
22601 (top-level): Append "ctf" to trace_file_targets if GDB
22602 supports.
22603
b5262cd0
YQ
226042014-05-05 Yao Qi <yao@codesourcery.com>
22605
22606 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22607 code to ...
22608 (gdb_collect_args_test_1): ... it. New proc.
22609 (gdb_collect_locals_test): Move some code to ...
22610 (gdb_collect_locals_test_1): ... it. New proc.
22611 (gdb_unavailable_registers_test): Move some code to ...
22612 (gdb_unavailable_registers_test_1): ... it. New proc.
22613 (gdb_unavailable_floats): Move some code to ...
22614 (gdb_unavailable_floats_1): ... it. New proc.
22615
30a1e6cc
SDJ
226162014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22617
22618 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22619 probes to test for bitness recognition.
22620 * gdb.arch/amd64-stap-optional-prefix.exp
22621 (test_probe_value_without_reg): New procedure.
22622 Add code to test for different kinds of bitness.
22623
f33da99a
SDJ
226242014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22625
22626 PR breakpoints/16889
22627 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22628 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22629
5b80f00d
PA
226302014-05-01 Pedro Alves <palves@redhat.com>
22631
22632 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22633 gdb_file_cmd if no file is specified.
22634 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22635 last_loaded_file to set the remote exec-file.
22636
f8c2a73c
PA
226372014-05-01 Pedro Alves <palves@redhat.com>
22638
22639 * boards/local-remote-host.exp: New file.
22640
be6e8ac7
PA
226412014-05-01 Pedro Alves <palves@redhat.com>
22642
22643 * boards/local-remote-host.exp: Rename to ...
22644 * boards/local-remote-host-notty.exp: ... this.
22645
cac0dc8f
JB
226462014-04-28 Joel Brobecker <brobecker@adacore.com>
22647
22648 * gdb.ada/dyn_arrayidx: New testcase.
22649
9730e6cc
YQ
226502014-04-26 Yao Qi <yao@codesourcery.com>
22651
22652 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22653 and compute the length of function main. Save it in
22654 $main_length.
22655 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22656 (top-level): Use gdb_compile to compile objects into
22657 executable and restart GDB. Remove invocation to
22658 prepare_for_testing.
22659
7ae1a6a6
PA
226602014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22661 Pedro Alves <palves@redhat.com>
22662
22663 PR server/16255
22664 * gdb.multi/multi-attach.c: New file.
22665 * gdb.multi/multi-attach.exp: New file.
22666
4082afcc
PA
226672014-04-25 Pedro Alves <palves@redhat.com>
22668
22669 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22670 user.
22671 (top level): Test that "set remote conditional-breakpoints-packet
22672 off" works as intended.
22673 * gdb.base/dprintf.exp: Test that "set remote
22674 breakpoint-commands-packet off" works as intended.
22675 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22676 New function.
22677 (top level): Call it.
22678 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22679 remote fast-tracepoints-packet off" works as intended.
22680 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22681 * lib/gdb.exp (gdb_is_target_remote): ... here.
22682
2abc3f8d
DB
226832014-04-24 David Blaikie <dblaikie@gmail.com>
22684
22685 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22686 ensure clang would not discard them.
22687 * gdb.base/gdbvars.c: Ditto.
22688 * gdb.base/memattr.c: Ditto.
22689 * gdb.base/whatis.c: Ditto.
22690 * gdb.python/py-prettyprint.c: Ditto.
22691 * gdb.trace/actions.c: Ditto.
22692 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22693 ensure clang would not discard it.
22694
bfd39632
DB
226952014-04-24 David Blaikie <dblaikie@gmail.com>
22696
22697 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22698 clang to emit the full definition of type required by the test
22699 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22700
22842ff6
DB
227012014-04-24 David Blaikie <dblaikie@gmail.com>
22702
22703 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22704 coax Clang into emitting the definition of the type.
22705 * gdb.cp/pr10728-x.h (y): Ditto.
22706 * gdb.cp/pr10728-y.cc (y): Ditto.
22707
c2e827ad
DB
227082014-04-24 David Blaikie <dblaikie@gmail.com>
22709
22710 * gdb.base/label.exp: XFAIL label related tests under Clang.
22711 * gdb.cp/cplabel.exp: Ditto.
22712 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22713 under Clang those using labels.
22714
4c2d33e7
YQ
227152014-04-25 Yao Qi <yao@codesourcery.com>
22716
22717 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22718 double_label.
22719 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22720 partial_label and double_label.
22721
56083b99
DB
227222014-04-24 David Blaikie <dblaikie@gmail.com>
22723
22724 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22725
25d4e99d
DB
227262014-04-24 David Blaikie <dblaikie@gmail.com>
22727
22728 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22729 of the function to work across GCC and Clang.
22730 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22731 pointer types (const void ** const V void **).
22732
01f9f808
MS
227332014-04-24 Michael Sturm <michael.sturm@mintel.com>
22734 Walfred Tedeschi <walfred.tedeschi@intel.com>
22735
22736 * Makefile.in (EXECUTABLES): Added i386-avx512.
22737 * gdb.arch/i386-avx512.c: New file.
22738 * gdb.arch/i386-avx512.exp: Likewise.
22739
4b48d439
KS
227402014-04-23 Keith Seitz <keiths@redhat.com>
22741
22742 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22743 (mi_make_breakpoint_table): New procedure.
22744 (mi_create_breakpoint): Use mi_make_breakpoint
22745 and return the result.
22746 (mi_make_breakpoint): New procedure.
22747 (mi_build_kv_pairs): New procedure.
22748
22749 * gdb.mi/mi-break.exp: Remove unused globals,
22750 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22751 All callers updated.
22752 * gdb.mi/mi-dprintf.exp: Use variable to track command
22753 number.
22754 Update all callers of mi_create_breakpoint and use
22755 mi_make_breakpoint_table.
22756 Remove any unused global variables.
22757 * gdb.mi/mi-nonstop.exp: Likewise.
22758 * gdb.mi/mi-nsintrall.exp: Likewise.
22759 * gdb.mi/mi-nsmoribund.exp: Likewise.
22760 * gdb.mi/mi-nsthrexec.exp: Likewise.
22761 * gdb.mi/mi-reverse.exp: Likewise.
22762 * gdb.mi/mi-simplerun.exp: Likewise.
22763 * gdb.mi/mi-stepn.exp: Likewise.
22764 * gdb.mi/mi-syn-frame.exp: Likewise.
22765 * gdb.mi/mi-until.exp: Likewise.
22766 * gdb.mi/mi-var-cp.exp: Likewise.
22767 * gdb.mi/mi-var-display.exp: Likewise.
22768 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22769 * gdb.mi/mi2-var-child.exp: Likewise.
22770 * gdb.mi/mi-vla-c99.exp: Likewise.
22771 * lib/mi-support.exp: Likewise.
22772
22773 From Ian Lance Taylor <iant@cygnus.com>:
22774 * lib/gdb.exp (parse_args): New procedure.
22775
08351840
PA
227762014-04-23 Pedro Alves <palves@redhat.com>
22777
22778 * gdb.base/break-unload-file.c: New file.
22779 * gdb.base/break-unload-file.exp: New file.
22780 * gdb.base/sym-file-lib.c (baz): New function.
22781 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22782 field.
22783 (load): Store the segment's mapped size.
22784 (unload): New function.
22785 (unload_shlib): New function.
22786 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22787 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22788 set a breakpoint at baz, and call it.
22789 * gdb.base/sym-file.exp: New tests for stale breakpoint
22790 instructions.
22791
076855f9
PA
227922014-04-23 Pedro Alves <palves@redhat.com>
22793
22794 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22795 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22796 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22797 * gdb.base/hbreak-unmapped.c: New file.
22798 * gdb.base/hbreak-unmapped.exp: New file.
22799 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22800 * lib/gdb.exp (gdb_is_target_remote): ... here.
22801
483805cf
PA
228022014-04-22 Pedro Alves <palves@redhat.com>
22803
22804 * gdb.base/consecutive-step-over.c: New file.
22805 * gdb.base/consecutive-step-over.exp: New file.
22806
06d97543
PA
228072014-04-22 Pedro Alves <palves@redhat.com>
22808
22809 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22810 instead of send_gdb/gdb_expect.
22811
b4429ea2
YQ
228122014-04-22 Yao Qi <yao@codesourcery.com>
22813
22814 * lib/trace-support.exp (generate_tracefile): New procedure.
22815 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22816 return 0.
22817 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22818 if generate_tracefile returns 1.
22819
51d48146
PA
228202014-04-18 Tom Tromey <palves@redhat.com>
22821 Pedro alves <tromey@redhat.com>
22822
22823 PR backtrace/15558
22824 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22825 with a backtrace limit.
22826 * gdb.python/py-frame-inline.exp: Test running to an inline
22827 function with a backtrace limit, and printing the newest frame.
22828 * gdb.python/py-frame-inline.c (main): Call f.
22829
bd1dce5f
MS
228302014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22831
22832 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22833
40d1a503
MS
228342014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22835
22836 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22837 Drop prefix from unsupported source file path.
22838
389b98f7
YQ
228392014-04-17 Yao Qi <yao@codesourcery.com>
22840
22841 * lib/gdb.exp (with_target_charset): New proc.
22842 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22843 with_target_charset.
22844 (test_print_strings): Likewise.
22845 (test_repeat_bytes): Likewise.
22846 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22847 for some tests.
22848
22869d73
KS
228492014-04-16 Keith Seitz <keiths@redhat.com>
22850
22851 PR gdb/15827
22852 * gdb.dwarf2/corrupt.c: New file.
22853 * gdb.dwarf2/corrupt.exp: New file.
22854
c4f87ca6
KS
228552014-04-16 Keith Seitz <keiths@redhat.com>
22856
22857 PR c++/16597
22858 * gdb.cp/namelessclass.cc: New file.
22859 * gdb.cp/namelessclass.exp: New file.
22860 * gdb.cp/namelessclass.S: New file.
22861
ab19de87
DE
228622014-04-16 Doug Evans <dje@google.com>
22863
22864 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22865 Add comment.
22866 (gdbserver_default_get_comm_port): New function.
22867 (gdbserver_start): Check if board file provided
22868 "gdbserver,get_comm_port" and use it if so.
22869 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22870 (gdb,socketport): Set to "stdio".
22871 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22872 (stdio_gdbserver_template): Delete.
22873 (${board}_get_remote_address): Update.
22874 (${board}_build_remote_cmd): Delete.
22875 (${board}_get_comm_port): New function.
22876 (${board}_spawn): Update.
22877 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22878 Delete.
22879 (${board}_get_remote_address): Update.
22880 (${board}_get_comm_port): New function.
22881
fc98a809
AB
228822014-04-16 Andrew Burgess <aburgess@broadcom.com>
22883
22884 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22885 appearing in any order.
22886
87fd9e6e
DE
228872014-04-15 Doug Evans <dje@google.com>
22888
22889 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22890 uninitialized value of "description".
22891
099fc3ea
KS
228922014-04-15 Keith Seitz <keiths@redhat.com>
22893
22894 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22895 Remove unused globals.
22896 (test_running_the_program): Likewise.
22897 (test_controlled_execution): Likewise.
22898 (test_controlling_breakpoints): Likewise.
22899 (test_program_termination): Likewise.
22900
5da151d4
KS
229012014-04-15 Keith Seitz <keiths@redhat.com>
22902
22903 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22904 unused globals.
22905 (test_rbreak_creation_and_listing): Likewise.
22906 (test_ignore_count): Likewise.
22907 (test_error): Likewise.
22908
35e5d2f0
PA
229092014-04-15 Pedro Alves <palves@redhat.com>
22910
22911 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22912 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22913 sym-file-loader.c.
22914 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22915 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22916 to sym-file-loader.c.
22917 (struct library): Forward declare.
22918 (load_shlib, lookup_function): Change prototypes.
22919 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22920 (translate_offset): Remove declarations.
22921 (get_text_addr): New declaration.
22922 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22923 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22924 sym-file-loader.h.
22925 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22926 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22927 here from sym-file-loader.h.
22928 (struct library): New structure.
22929 (load_shlib, lookup_function): Change prototypes and adjust to
22930 work with a struct library.
22931 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22932 (translate_offset): Make static.
22933 (get_text_addr): New function.
22934 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22935
eb4c1710
PA
229362014-04-15 Pedro Alves <palves@redhat.com>
22937
22938 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22939
2d1baf52
PA
229402014-04-15 Pedro Alves <palves@redhat.com>
22941
22942 * gdb.base/sym-file-loader.c: Include <limits.h>.
22943 (SELF_LINK): New define.
22944 (get_origin): New function.
22945 (load_shlib): Use it.
22946 * gdb.base/sym-file.exp: Don't early return if the target is
22947 remote. Use runto_main, and issue fail is that fails. Use
22948 gdb_load_shlibs.
22949 (shlib_name): Delete.
22950 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22951
7dd6df01
PA
229522014-04-15 Pedro Alves <palves@redhat.com>
22953
22954 * gdb.base/sym-file.exp: Remove regex characters from test
22955 message. Don't refer to breakpoint numbers in test messages.
22956
b50c8614
KS
229572014-04-14 Keith Seitz <keiths@redhat.com>
22958
22959 PR c++/16253
22960 * gdb.cp/var-tag.cc: New file.
22961 * gdb.cp/var-tag.exp: New file.
22962 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22963 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22964 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22965 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22966
3d567982
TT
229672014-04-14 Tom Tromey <tromey@redhat.com>
22968
22969 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22970 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22971 type.
22972 * gdb.cp/enum-class.exp: New file.
22973 * gdb.cp/enum-class.cc: New file.
22974
0626fc76
TT
229752014-04-14 Tom Tromey <tromey@redhat.com>
22976
22977 * gdb.dwarf2/enum-type.exp: New file.
22978
dca325b3
SA
229792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22980
22981 * gdb.mi/mi-vla-c99.exp: New file.
22982 * gdb.mi/vla.c: New file.
22983
5854b38a
SA
229842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22985
22986 * gdb.base/vla-datatypes.c: New file.
22987 * gdb.base/vla-datatypes.exp: New file.
22988
463bb957
SA
229892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22990
22991 * gdb.base/vla-ptr.c: New file.
22992 * gdb.base/vla-ptr.exp: New file.
22993
3dd170be
SA
229942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22995
22996 * gdb.dwarf2/count.exp: New file.
22997
5ecaaa66
SA
229982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22999
23000 * gdb.base/vla-sideeffect.c: New file.
23001 * gdb.base/vla-sideeffect.exp: New file.
23002
41f1ada5
DB
230032014-04-14 David Blaikie <dblaikie@gmail.com>
23004
23005 * gdb.mi/non-stop.c: Add return value for non-void function return
23006 statement.
23007 * gdb.threads/staticthreads.c: Ditto.
23008
0be03e84
DE
230092014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23010 Doug Evans <xdje42@gmail.com>
23011
23012 * gdb.guile/scm-value.c: Improve test case.
23013 * gdb.guile/scm-value.exp: Add new test.
23014
f180a1fb
DB
230152014-04-11 David Blaikie <dblaikie@gmail.com>
23016
23017 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23018 override Clang's default.
23019
6b662e19
JB
230202014-04-11 Joel Brobecker <brobecker@adacore.com>
23021
23022 Revert the following changes (regressions):
23023
23024 * gdb.base/vla-sideeffect.c: New file.
23025 * gdb.base/vla-sideeffect.exp: New file.
23026
23027 * gdb.dwarf2/count.exp: New file.
23028
23029 * gdb.base/vla-multi.c: New file.
23030 * gdb.base/vla-multi.exp: New file.
23031
23032 * gdb.base/vla-ptr.c: New file.
23033 * gdb.base/vla-ptr.exp: New file.
23034
23035 * gdb.base/vla-datatypes.c: New file.
23036 * gdb.base/vla-datatypes.exp: New file.
23037
23038 * gdb.mi/mi-vla-c99.exp: New file.
23039 * gdb.mi/vla.c: New file.
23040
245a5f0b
KS
230412014-04-11 Keith Seitz <keiths@redhat.com>
23042
23043 PR c++/16675
23044 * gdb.cp/cpsizeof.exp: New file.
23045 * gdb.cp/cpsizeof.cc: New file.
23046
58a84dcf
SA
230472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23048
191a8a90
JB
23049 * gdb.mi/mi-vla-c99.exp: New file.
23050 * gdb.mi/vla.c: New file.
58a84dcf 23051
c8655f75
SA
230522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23053
23054 * gdb.base/vla-datatypes.c: New file.
23055 * gdb.base/vla-datatypes.exp: New file.
23056
024e13b4
SA
230572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23058
23059 * gdb.base/vla-ptr.c: New file.
23060 * gdb.base/vla-ptr.exp: New file.
23061
1a237e0e
SA
230622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23063
23064 * gdb.base/vla-multi.c: New file.
23065 * gdb.base/vla-multi.exp: New file.
23066
504f3432
SA
230672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23068
23069 * gdb.dwarf2/count.exp: New file.
23070
3bce8237
SA
230712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23072
191a8a90
JB
23073 * gdb.base/vla-sideeffect.c: New file.
23074 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23075
322f9c21
YQ
230762014-04-11 Yao Qi <yao@codesourcery.com>
23077
23078 * gdb.base/completion.exp: Check file exists before running tests
23079 on file completion.
23080
d708bcd1
PA
230812014-04-10 Pedro Alves <palves@redhat.com>
23082
23083 * gdb.base/cond-eval-mode.c: New file.
23084 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23085 prepare_for_testing to build the new file. Check result of
23086 runto_main.
23087 (test_break, test_watch): New procedures.
23088 (top level): Use them.
23089
ae1d2761
PM
230902014-04-08 Pierre Muller <muller@sourceware.org>
23091
23092 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23093 Ctrl-V use for mingw hosts.
23094
7af389b8
SC
230952014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23096
23097 * gdb.python/py-value.c: Improve test case.
23098 * gdb.python/py-value.exp: Add new test.
23099
5e703181
DE
231002014-04-07 David Blaikie <dblaikie@gmail.com>
23101
23102 * lib/compiler.c: Identify the clang compiler.
23103 * lib/compiler.cc: Ditto.
23104
9810b410
YQ
231052014-04-03 Yao Qi <yao@codesourcery.com>
23106
23107 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23108
98d1b8dc
AB
231092014-04-01 Anton Blanchard <anton@samba.org>
23110
23111 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23112 messages unique.
23113
3114cea1
AB
231142014-04-01 Anton Blanchard <anton@samba.org>
23115
23116 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23117 prepare_for_testing.
23118
62f7182c
AB
231192014-04-01 Anton Blanchard <anton@samba.org>
23120
23121 * gdb.arch/ppc64-atomic-inst.c: Remove.
23122 * gdb.arch/ppc64-atomic-inst.S: New file.
23123 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23124
770e7fc7
DE
231252014-03-31 Doug Evans <dje@google.com>
23126
23127 * gdb.base/print-symbol-loading-lib.c: New file.
23128 * gdb.base/print-symbol-loading-main.c: New file.
23129 * gdb.base/print-symbol-loading.exp: New file.
23130
46e2bafa
YQ
231312014-03-31 Yao Qi <yao@codesourcery.com>
23132
23133 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23134
8776cfe9
JB
231352014-03-28 Joel Brobecker <brobecker@adacore.com>
23136
23137 * gdb.ada/mi_dyn_arr: New testcase.
23138
5d1ef361
DE
231392014-03-27 Doug Evans <dje@google.com>
23140
23141 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23142
b5bee914
YQ
231432014-03-27 Yao Qi <yao@codesourcery.com>
23144
23145 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23146 if target is nios2-*-*.
23147
0d4d0e77
YQ
231482014-03-26 Yao Qi <yao@codesourcery.com>
23149
23150 * lib/gdb.exp (readline_is_used): New proc.
23151 * gdb.base/completion.exp: Move tests on command complete up.
23152 Skip the rest of tests if readline is not used.
23153 * gdb.ada/complete.exp: Skp the test if readline is not
23154 used.
23155 * gdb.base/filesym.exp: Likewise.
23156 * gdb.base/macscp.exp: Likewise.
23157 * gdb.base/readline-ask.exp: Likewise.
23158 * gdb.base/readline.exp: Likewise.
23159 * gdb.python/py-cmd.exp: Likewise.
23160 * gdb.trace/tfile.exp: Likewise.
23161
29361eee
YQ
231622014-03-26 Yao Qi <yao@codesourcery.com>
23163
23164 * gdb.base/macscp.exp: Fix code format issues.
23165
bc9a5525
UW
231662014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23167
23168 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23169 * gdb.asm/powerpc64le.inc: New file.
23170
d3839ede
PA
231712014-03-25 Pedro Alves <palves@redhat.com>
23172 Doug Evans <dje@google.com>
23173
23174 * gdb.base/source-execution.c: New file.
23175 * gdb.base/source-execution.exp: New file.
23176 * gdb.base/source-execution.gdb: New file.
23177
01672a57
DE
231782014-03-24 Doug Evans <dje@google.com>
23179
23180 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23181 using fission.
23182
88bbeca9
HZ
231832014-03-24 Hui Zhu <hui@codesourcery.com>
23184 Pedro Alves <palves@redhat.com>
23185
23186 PR breakpoints/16101
23187 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23188 test pass/fail messages. Detect missing support for dprintf when
23189 breakpoints are actually inserted.
23190 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23191 breakpoints are actually inserted.
23192 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23193 fails.
23194
d2348791
JK
231952014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23196
23197 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23198
feef67ab
DE
231992014-03-22 Doug Evans <xdje42@gmail.com>
23200
23201 * gdb.python/python.exp (python not supported): Verify multi-line
23202 python command issues an error.
25d743f9 23203 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23204 guile command issues an error.
feef67ab 23205
ecebef6a
MR
232062014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23207
23208 * gdb.threads/thread-specific.exp: Handle the lack of usable
23209 $this_breakpoint and $this_thread.
23210
ccdd1909
HZ
232112014-03-21 Hui Zhu <hui@codesourcery.com>
23212
23213 * gdb.base/attach.exp (do_command_attach_tests): New.
23214
beb460e8
PA
232152014-03-20 Tom Tromey <tromey@redhat.com>
23216 Pedro Alves <palves@redhat.com>
23217
23218 PR cli/15718
23219 * gdb.base/condbreak-call-false.c: New file.
23220 * gdb.base/condbreak-call-false.exp: New file.
23221
40acf43a
PA
232222014-03-20 Pedro Alves <palves@redhat.com>
23223
23224 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23225 Delete.
23226 (block_signals, unblock_signals): Delete.
23227 (child_function_2, main): Remove references to deleted variable
23228 and functions.
23229
9f5e1e02
PA
232302014-03-20 Pedro Alves <palves@redhat.com>
23231
23232 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23233 Use pthread_kill to signal thread 2.
23234 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23235 Adjust to make the test send itself a signal rather than using the
23236 host's "kill" command.
23237
99619bea
PA
232382014-03-20 Pedro Alves <palves@redhat.com>
23239
23240 * gdb.threads/multiple-step-overs.c: New file.
23241 * gdb.threads/multiple-step-overs.exp: New file.
23242 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23243 Adjust expected infrun debug output.
23244
2adfaa28
PA
232452014-03-20 Pedro Alves <palves@redhat.com>
23246
23247 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23248 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23249
31e77af2
PA
232502014-03-20 Pedro Alves <palves@redhat.com>
23251
23252 PR breakpoints/7143
23253 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23254 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23255 of gdb_test_multiple.
23256 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23257 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23258
b9f437de
PA
232592014-03-20 Pedro Alves <palves@redhat.com>
23260
23261 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23262 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23263
05adc73e
PA
232642014-03-19 Pedro Alves <palves@redhat.com>
23265
23266 * gdb.base/async.exp: Remove early return.
23267
6048b950
PA
232682014-03-19 Pedro Alves <palves@redhat.com>
23269
23270 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23271
8bcfb00a
PA
232722014-03-19 Pedro Alves <palves@redhat.com>
23273
23274 * gdb.base/async.exp (test_background): Expect \r\n after
23275 "completed." in the fail pattern.
23276
884e37dc
PA
232772014-03-19 Pedro Alves <palves@redhat.com>
23278
23279 * gdb.base/async.exp (test_background): New procedure.
23280 Use it for all background execution command tests.
23281
148e57e2
PA
232822014-03-19 Pedro Alves <palves@redhat.com>
23283
23284 * gdb.base/async.exp: Use prepare_for_testing.
23285
f48088c7
PA
232862014-03-19 Pedro Alves <palves@redhat.com>
23287
23288 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23289 the same line.
23290
e2f6c966
PA
232912014-03-19 Pedro Alves <palves@redhat.com>
23292
23293 * gdb.base/async.c (main): Add "jump here" and "until here" line
23294 marker comments.
23295 * gdb.base/async.exp (jump_here): New global.
23296 (jump& test): Use it.
23297 (until_here): New global.
23298 (until& test): Use it.
23299
c30568d4
PA
233002014-03-19 Pedro Alves <palves@redhat.com>
23301
23302 * gdb.base/async.exp: Don't frob gdb_protocol.
23303
0172b6a7
DE
233042014-03-18 Doug Evans <xdje42@gmail.com>
23305
23306 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23307 Fix spelling of exec-done-display.
23308
06c868a8
JK
233092014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23310
23311 PR gdb/15358
23312 * gdb.base/gdb-sigterm.c: New file.
23313 * gdb.base/gdb-sigterm.exp: New file.
23314
0c7e1a46
PA
233152014-03-18 Pedro Alves <palves@redhat.com>
23316
23317 PR gdb/13860
23318 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23319 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23320 solib-event.
23321
f7c77d93
JB
233222014-03-17 Joel Brobecker <brobecker@adacore.com>
23323
23324 * gdb.ada/pckd_arr_ren: New testcase.
23325
5a1e8c7a
DE
233262014-03-13 Doug Evans <xdje42@gmail.com>
23327
23328 PR guile/16612
23329 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23330 collect after discarding symbols.
23331
350e1a76
DE
233322014-03-13 Ludovic Courtès <ludo@gnu.org>
23333 Doug Evans <xdje42@gmail.com>
23334
23335 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23336 to history survives a gc.
23337
a69900ae
PA
233382014-03-13 Pedro Alves <palves@redhat.com>
23339
23340 * gdb.base/default.exp: Don't test "target procfs".
23341
5db9f0bd
PA
233422014-03-13 Pedro Alves <palves@redhat.com>
23343
23344 * gdb.base/default.exp: Update "target child" and "target procfs"
23345 tests to not expect "Unix".
23346
b3ccfe11
TT
233472014-03-12 Tom Tromey <tromey@redhat.com>
23348
23349 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23350 New procs. Add target-async tests.
23351 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23352 Add target-async tests.
23353
646f4417
AA
233542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23355
23356 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23357 'func_start' and 'func_end' for the beginning and end of the
23358 function code, respectively.
23359 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23360 'func_end' instead of 'func' and 'main'.
23361
288c211f
AA
233622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23363
23364 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23365 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23366 generate the debug info assembler source.
23367
e0c0f156
AA
233682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23369
23370 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23371 * gdb.dwarf2/arr-subrange.exp: Likewise.
23372 * gdb.dwarf2/dwz.exp: Likewise.
23373 * gdb.dwarf2/method-ptr.exp: Likewise.
23374 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23375 * gdb.dwarf2/subrange.exp: Likewise.
23376 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23377 * gdb.dwarf2/implptrpiece.exp: Likewise.
23378 * gdb.dwarf2/nostaticblock.exp: Likewise.
23379
0e5c4555
AA
233802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23381
23382 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23383 directory to absolute path name arguments.
23384
5ec18f2b
JG
233852014-03-10 Joel Brobecker <brobecker@adacore.com>
23386
23387 * gdb.ada/tagged_access: New testcase.
23388
847fc4f2
MM
233892014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23390
23391 * gdb.btrace/data.exp: Update expected output.
23392
cc3da688
YQ
233932014-03-06 Yao Qi <yao@codesourcery.com>
23394
23395 * gdb.trace/pr16508.exp: New file.
23396
0f26cec1
PA
233972014-03-05 Pedro Alves <palves@redhat.com>
23398
23399 PR gdb/16575
23400 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23401 procedure.
23402 (top level): Adjust to use it. Add tests that exercise breakpoint
23403 interaction with the code-cache.
23404
7a5a839f
LC
234052014-02-26 Ludovic Courtès <ludo@gnu.org>
23406
23407 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23408 test for 'history-append!'.
23409
31aa7e4e
JB
234102014-02-26 Joel Brobecker <brobecker@adacore.com>
23411
23412 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23413 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23414 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23415 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23416 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23417 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23418
1b588015
JB
234192014-02-26 Joel Brobecker <brobecker@adacore.com>
23420
23421 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23422 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23423 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23424
55426c9d
JB
234252014-02-26 Joel Brobecker <brobecker@adacore.com>
23426
23427 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23428
dc53a7ad
JB
234292014-02-26 Joel Brobecker <brobecker@adacore.com>
23430
23431 * gdb.dwarf2/arr-stride.c: New file.
23432 * gdb.dwarf2/arr-stride.exp: New file.
23433
12ab52e9
PA
234342014-02-26 Pedro Alves <palves@redhat.com>
23435
23436 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23437 that won't ever trigger. Make sure that GDB reports the correct
23438 breakpoint that caused the stop.
23439
849c862e
JK
234402014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23441
23442 PR gdb/16626
23443 * gdb.base/auto-load-script: New file.
23444 * gdb.base/auto-load.c: New file.
23445 * gdb.base/auto-load.exp: New file.
23446
71b7d793
JK
23447 PR gdb/16626
23448 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23449
e2f0d509
JK
234502014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23451
23452 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23453 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23454
50cc37c8
DE
234552014-02-24 Doug Evans <dje@google.com>
23456
23457 * lib/gdb.exp (run_on_host): Log error output if program fails.
23458
ea4758f2
PA
234592014-02-21 Pedro Alves <palves@redhat.com>
23460
23461 * gdb.threads/step-after-sr-lock.c: Rename to ...
23462 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23463 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23464 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23465 ... this.
23466
d7b30f67
SDJ
234672014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23468
23469 PR tdep/16397
23470 * gdb.arch/amd64-stap-special-operands.exp: New file.
23471 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23472 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23473 * gdb.arch/amd64-stap-triplet.S: Likewise.
23474 * gdb.arch/amd64-stap-triplet.c: Likewise.
23475
83deb43f
JB
234762014-02-20 Joel Brobecker <brobecker@adacore.com>
23477
23478 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23479 in .section pseudo-op.
23480
adde2bff
DE
234812014-02-20 lin zuojian <manjian2006@gmail.com>
23482 Joel Brobecker <brobecker@adacore.com>
23483 Doug Evans <xdje42@gmail.com>
23484
23485 PR symtab/16581
23486 * gdb.dwarf2/dw2-icycle.S: New file.
23487 * gdb.dwarf2/dw2-icycle.c: New file.
23488 * gdb.dwarf2/dw2-icycle.exp: New file.
23489
f7bd0f78
SC
234902014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23491
23492 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23493 operations on gdb.Value objects.
23494 * gdb.python/py-value-cc.exp: Add new test to test operations on
23495 gdb.Value objects.
23496
c17ef0d5
DE
234972014-02-18 Doug Evans <dje@google.com>
23498
23499 * Makefile.in (TESTS): New variable.
23500 (expanded_tests, expanded_tests_or_none): New variables
23501 (check-single): Pass $(expanded_tests_or_none) to runtest.
23502 (check-parallel): Only run tests in $(TESTS) if non-empty.
23503 (check/no-matching-tests-found): New rule.
23504 * README: Document TESTS makefile variable.
23505
5dd3176f
DE
235062014-02-18 Doug Evans <dje@google.com>
23507
23508 * Makefile.in (check-parallel): rm -rf outputs temp.
23509
0b10be4f
JK
235102014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23511
23512 Fix "ERROR: no fileid for" in the testsuite.
23513 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23514
85f224e7
DE
235152014-02-12 Doug Evans <dje@google.com>
23516
23517 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23518 (MISCELLANEOUS): New variable.
23519 (clean): rm -rf $(MISCELLANEOUS).
23520 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23521 dwp live in the same directory as symlinks, with each symlink pointed
23522 to a differently named file in a different directory.
23523
149b30ff
DE
235242014-02-11 Doug Evans <dje@google.com>
23525
23526 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23527 of Tcl file commands.
23528
1dfdac32
MK
235292014-02-10 Mark Kettenis <kettenis@gnu.org>
23530
23531 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23532 "kill -SIGUSR1 -1".
23533
aa4fb036
JB
235342014-02-10 Joel Brobecker <brobecker@adacore.com>
23535
23536 * gdb.ada/tick_length_array_enum_idx: New testcase.
23537
ed3ef339
DE
235382014-02-10 Doug Evans <xdje42@gmail.com>
23539
23540 * configure.ac (AC_OUTPUT): Add gdb.guile.
23541 * configure: Regenerate.
23542 * lib/gdb-guile.exp: New file.
23543 * lib/gdb.exp (get_target_charset): New function.
23544 * gdb.base/help.exp: Update expected output from "apropos apropos".
23545 * gdb.guile/Makefile.in: New file.
23546 * gdb.guile/guile.exp: New file.
23547 * gdb.guile/scm-arch.c: New file.
23548 * gdb.guile/scm-arch.exp: New file.
23549 * gdb.guile/scm-block.c: New file.
23550 * gdb.guile/scm-block.exp: New file.
23551 * gdb.guile/scm-breakpoint.c: New file.
23552 * gdb.guile/scm-breakpoint.exp: New file.
23553 * gdb.guile/scm-disasm.c: New file.
23554 * gdb.guile/scm-disasm.exp: New file.
23555 * gdb.guile/scm-equal.c: New file.
23556 * gdb.guile/scm-equal.exp: New file.
23557 * gdb.guile/scm-error.exp: New file.
23558 * gdb.guile/scm-error.scm: New file.
23559 * gdb.guile/scm-frame-args.c: New file.
23560 * gdb.guile/scm-frame-args.exp: New file.
23561 * gdb.guile/scm-frame-args.scm: New file.
23562 * gdb.guile/scm-frame-inline.c: New file.
23563 * gdb.guile/scm-frame-inline.exp: New file.
23564 * gdb.guile/scm-frame.c: New file.
23565 * gdb.guile/scm-frame.exp: New file.
23566 * gdb.guile/scm-generics.exp: New file.
23567 * gdb.guile/scm-gsmob.exp: New file.
23568 * gdb.guile/scm-iterator.c: New file.
23569 * gdb.guile/scm-iterator.exp: New file.
23570 * gdb.guile/scm-math.c: New file.
23571 * gdb.guile/scm-math.exp: New file.
23572 * gdb.guile/scm-objfile-script-gdb.in: New file.
23573 * gdb.guile/scm-objfile-script.c: New file.
23574 * gdb.guile/scm-objfile-script.exp: New file.
23575 * gdb.guile/scm-objfile.c: New file.
23576 * gdb.guile/scm-objfile.exp: New file.
23577 * gdb.guile/scm-ports.exp: New file.
23578 * gdb.guile/scm-pretty-print.c: New file.
23579 * gdb.guile/scm-pretty-print.exp: New file.
23580 * gdb.guile/scm-pretty-print.scm: New file.
23581 * gdb.guile/scm-section-script.c: New file.
23582 * gdb.guile/scm-section-script.exp: New file.
23583 * gdb.guile/scm-section-script.scm: New file.
23584 * gdb.guile/scm-symbol.c: New file.
23585 * gdb.guile/scm-symbol.exp: New file.
23586 * gdb.guile/scm-symtab-2.c: New file.
23587 * gdb.guile/scm-symtab.c: New file.
23588 * gdb.guile/scm-symtab.exp: New file.
23589 * gdb.guile/scm-type.c: New file.
23590 * gdb.guile/scm-type.exp: New file.
23591 * gdb.guile/scm-value-cc.cc: New file.
23592 * gdb.guile/scm-value-cc.exp: New file.
23593 * gdb.guile/scm-value.c: New file.
23594 * gdb.guile/scm-value.exp: New file.
23595 * gdb.guile/source2.scm: New file.
23596 * gdb.guile/types-module.cc: New file.
23597 * gdb.guile/types-module.exp: New file.
23598
7026a7c1
YQ
235992014-02-10 Yao Qi <yao@codesourcery.com>
23600
23601 PR testsuite/16543
23602 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23603 * configure: Regenerated.
23604 * Makefile.in: New file.
23605
6c466447
AS
236062014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23607
23608 * gdb.python/py-framefilter.exp: Fix typo.
23609
6e854735
YQ
236102014-02-08 Yao Qi <yao@codesourcery.com>
23611
23612 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23613 that no =breakpoint-modified is emitted when breakpoints are
23614 modified through MI commands.
23615
d137e6dc
PA
236162014-02-07 Pedro Alves <pedro@codesourcery.com>
23617 Pedro Alves <palves@redhat.com>
23618
23619 * gdb.threads/step-after-sr-lock.c: New file.
23620 * gdb.threads/step-after-sr-lock.exp: New file.
23621
b5ee5a50
PA
236222014-02-07 Pedro Alves <palves@redhat.com>
23623
23624 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23625
3c77faf3
JK
236262014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23627
23628 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23629 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23630
6dddc817
DE
236312014-02-06 Doug Evans <xdje42@gmail.com>
23632
23633 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23634 output.
23635
23636 * gdb.gdb/python-interrupts.exp: New file.
23637
de7b2893
YQ
236382014-02-05 Yao Qi <yao@codesourcery.com>
23639
23640 * gdb.trace/report.exp (use_collected_data): Test the output
23641 of "info threads" and "info inferiors".
23642
66d032ac
YQ
236432014-02-05 Yao Qi <yao@codesourcery.com>
23644
23645 Revert this patch:
23646
23647 2013-05-24 Yao Qi <yao@codesourcery.com>
23648
23649 * gdb.trace/tfile.exp: Test inferior and thread.
23650
591a12a1
UW
236512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23652
23653 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23654 on a function.
23655 * gdb.base/step-bt.c: Call hello via function pointer to make
23656 sure its first instruction is executed on powerpc64le-linux.
23657
0ff3e01f
UW
236582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23659
23660 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23661
084ee545
UW
236622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23663
23664 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23665 of the test patterns for use on little-endian systems.
23666
6ed14ff3
UW
236672014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23668
23669 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23670 (decimal_vector): Fix for little-endian.
23671
401e27fd
JM
236722014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23673
23674 * gdb.arch/sparc-sysstep.exp: New file.
23675 * gdb.arch/sparc-sysstep.c: Likewise.
23676
23677 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23678
8b924729
EBM
236792014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23680
23681 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23682
fb151210
JB
236832014-01-23 Tom Tromey <tromey@redhat.com>
23684
23685 * gdb.ada/array_char_idx: New testcase.
23686
0740f8d8
TT
236872014-01-23 Tom Tromey <tromey@redhat.com>
23688
23689 PR python/16487:
23690 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23691 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23692 classes.
23693
21909fa1
TT
236942014-01-23 Tom Tromey <tromey@redhat.com>
23695
23696 PR python/16491:
23697 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23698 string from an inferior frame.
23699 * gdb.python/py-framefilter-mi.exp: Update.
23700
87ce2a04
DE
237012014-01-22 Doug Evans <dje@google.com>
23702
23703 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23704
237b092b
AA
237052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23706
23707 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23708
d674a709
AA
237092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23710
23711 * gdb.trace/entry-values.exp: Remove excess space character from
23712 regex patterns. Handle s390 call instruction.
23713
20fa3390
AA
237142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23715
23716 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23717 define "*_start" label. Make "name" static.
23718 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23719 ${name} by references to ${name}_start.
23720
78466714
AA
237212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23722
23723 * gdb.base/info-macros.exp: Remove "debug" from the compile
23724 options.
23725
ec9f644a
IB
237262014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23727
23728 * gdb.dlang/demangle.exp: New file.
23729
94b1b47e
IB
237302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23731
23732 * gdb.dlang/primitive-types.exp: New file.
23733
7f420862
IB
237342014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23735
23736 * configure.ac: Create gdb.dlang/Makefile.
23737 * configure: Regenerate.
23738 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23739 * gdb.dlang/Makefile.in: New file.
23740 * lib/d-support.exp: New file.
23741 * lib/gdb.exp (skip_d_tests): New proc.
23742
52834460
MM
237432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23744
23745 * gdb.btrace/delta.exp: Check reverse stepi.
23746 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23747 * gdb.btrace/finish.exp: New.
23748 * gdb.btrace/next.exp: New.
23749 * gdb.btrace/nexti.exp: New.
23750 * gdb.btrace/record_goto.c: Add comments.
23751 * gdb.btrace/step.exp: New.
23752 * gdb.btrace/stepi.exp: New.
23753 * gdb.btrace/multi-thread-step.c: New.
23754 * gdb.btrace/multi-thread-step.exp: New.
23755 * gdb.btrace/rn-dl-bind.c: New.
23756 * gdb.btrace/rn-dl-bind.exp: New.
23757 * gdb.btrace/data.c: New.
23758 * gdb.btrace/data.exp: New.
23759 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23760
6e07b1d2
MM
237612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23762
23763 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23764 * gdb.btrace/exception.exp: Update.
23765 * gdb.btrace/instruction_history.exp: Update.
23766 * gdb.btrace/record_goto.exp: Update.
23767 * gdb.btrace/tailcall.exp: Update.
23768 * gdb.btrace/unknown_functions.exp: Update.
23769 * gdb.btrace/delta.exp: New.
23770
0b722aec
MM
237712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23772
23773 * gdb.btrace/record_goto.exp: Add backtrace test.
23774 * gdb.btrace/tailcall.exp: Add backtrace test.
23775
066ce621
MM
237762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23777
23778 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23779 * gdb.btrace/record_goto.c: New.
23780 * gdb.btrace/record_goto.exp: New.
23781 * gdb.btrace/x86-record_goto.S: New.
23782
0688d04e
MM
237832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23784
23785 * gdb.btrace/function_call_history.exp: Update tests.
23786 * gdb.btrace/instruction_history.exp: Update tests.
23787
8710b709
MM
237882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23789
23790 * gdb.btrace/function_call_history.exp: Fix expected field
23791 order for "record function-call-history".
23792 Add new tests for "record function-call-history /c".
23793 * gdb.btrace/exception.cc: New.
23794 * gdb.btrace/exception.exp: New.
23795 * gdb.btrace/tailcall.exp: New.
23796 * gdb.btrace/x86-tailcall.S: New.
23797 * gdb.btrace/x86-tailcall.c: New.
23798 * gdb.btrace/unknown_functions.c: New.
23799 * gdb.btrace/unknown_functions.exp: New.
23800 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23801
5de9129b
MM
238022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23803
23804 * gdb.btrace/instruction_history.exp: Update.
23805 * gdb.btrace/function_call_history.exp: Update.
23806
23a7fe75
MM
238072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23808
23809 * gdb.btrace/function_call_history.exp: Fix expected function
23810 trace.
23811 * gdb.btrace/instruction_history.exp: Initialize traced.
23812 Remove traced_functions.
23813
724c7dd8
MM
238142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23815
23816 * gdb.btrace/function_call_history.exp: Update
23817 * gdb.btrace/instruction_history.exp: Update.
23818
6d78d93b
MM
238192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23820
23821 * gdb.btrace/enable.exp: Update expected text.
23822
93a360cc
OJ
238232014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23824
23825 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23826 bytes.
23827
3772b53f
MR
238282014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23829
23830 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23831
596662fa
OJ
238322014-01-15 Omair Javaid <omair.javaid@linaro.org>
23833
23834 * lib/gdb.exp (supports_process_record): Return true for
23835 arm*-linux*. (supports_reverse): Likewise.
23836
b5b08fb4
SC
238372014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23838
23839 PR python/15464
23840 PR python/16113
23841 * gdb.python/py-type.c: Enhance test case.
23842 * gdb.python/py-value-cc.cc: Likewise
23843 * gdb.python/py-type.exp: Add new tests.
23844 * gdb.python/py-value-cc.exp: Likewise
23845
52d7fb13
AA
238462014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23847 Pedro Alves <palves@redhat.com>
23848
23849 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23850 Make "name" extern.
23851 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23852 references to ${name}_start by references to ${name}.
23853
a2cd8cfe
JB
238542014-01-10 Joel Brobecker <brobecker@adacore.com>
23855
23856 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23857
4e23fced
JB
238582014-01-10 Joel Brobecker <brobecker@adacore.com>
23859
23860 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23861
c6a9e42c
PA
238622014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23863 Pedro Alves <palves@redhat.com>
23864
23865 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23866 mi_gdb_target_load.
c6a9e42c 23867
b7ea362b
PA
238682014-01-08 Pedro Alves <palves@redhat.com>
23869
23870 * gdb.threads/reconnect-signal.c: New file.
23871 * gdb.threads/reconnect-signal.exp: New file.
23872
5e3f4fab
EBM
238732014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23874
23875 * gdb.base/source-dir.exp: New file.
23876
79301218
JB
238772014-01-07 Joel Brobecker <brobecker@adacore.com>
23878
23879 * gdb.ada/mi_interface: New testcase.
23880
8e355c5d
JB
238812014-01-07 Joel Brobecker <brobecker@adacore.com>
23882
23883 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23884 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23885 gdb.ada/pp-rec-component/pck.ads: New files.
23886
c0d48811
JB
238872014-01-07 Joel Brobecker <brobecker@adacore.com>
23888
23889 * gdb.python/py-pp-integral.c: New file.
23890 * gdb.python/py-pp-integral.py: New file.
23891 * gdb.python/py-pp-integral.exp: New file.
23892
17b609c3 23893For older changes see ChangeLog-1993-2013.
c906108c 23894\f
8d8cb839
EZ
23895;; Local Variables:
23896;; mode: change-log
23897;; left-margin: 8
23898;; fill-column: 74
23899;; version-control: never
23900;; End:
902f2ccb 23901
3666a048 23902 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23903 Copying and distribution of this file, with or without modification,
23904 are permitted provided the copyright notice and this notice are preserved.