]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix pr27217 testcase failure
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
340d00fb
TV
12021-04-06 Tom de Vries <tdevries@suse.de>
2
3 PR breakpoints/25884
4 * gdb.opt/inline-cmds.exp: Remove kfail.
5
043bcbaf
TV
62021-04-06 Tom de Vries <tdevries@suse.de>
7
8 PR testsuite/27691
9 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
10 file "".
11
ac628a06
EB
122021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
13
14 * lib/pdtrace.in: Fix obvious typo.
15
3f49d080
TT
162021-03-31 Tom Tromey <tromey@adacore.com>
17
18 * lib/dwarf.exp (Dwarf::_get_args): New proc.
19 (Dwarf::_location): Use it.
20
cfcbd506
TV
212021-03-31 Tom de Vries <tdevries@suse.de>
22
23 PR testsuite/27667
24 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
25
8a91fbdf
SM
262021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
27
28 PR gdb/27541
29 * gdb.base/index-cache-load-twice.exp: Remove.
30 * gdb.base/index-cache-load-twice.c: Remove.
31 * gdb.dwarf2/per-bfd-sharing.exp: New.
32 * gdb.dwarf2/per-bfd-sharing.c: New.
33
b953e703
TV
342021-03-30 Tom de Vries <tdevries@suse.de>
35
36 PR testsuite/27604
37 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
38
aa33ea68
TBA
392021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
40
41 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
42 the infinite loop to avoid a Clang bug.
43
99066782
WS
442021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
45
46 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
47 names for uniqueness.
48 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
49 uniqueness.
50
b1f3973b
AB
512021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
54 member.
55 (make_container): Initialise is_array_p.
56 * gdb.python/py-prettyprint.exp: Add new tests.
57 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
58 Check is_array_p and possibly return 'array'.
59
3c2dcf90
AB
602021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
61
62 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
63 * gdb.cp/casts.exp: Give tests unique names.
64 * gdb.cp/filename.exp: Likewise.
65 * gdb.cp/gdb2495.exp: Likewise.
66 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
67 * gdb.cp/misc.exp: Rename test to make it unique.
68 * gdb.cp/nsnested.exp: Give tests unique names.
69 * gdb.cp/ovldbreak.exp: Likewise.
70 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
71 being tested. This also removes the duplicate test name.
72 * gdb.cp/ref-types.exp: Likewise.
73 * gdb.cp/temargs.exp: Likewise.
74
6b78370d
AB
752021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
76
77 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
78 square brackets in test.
79
baecbb3d
AB
802021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
81
82 * gdb.cp/maint.exp (test_first_component): Run more tests with a
83 variable number of spaces, this removes the duplicate testing of
84 'operator ->' which existed before.
85
6e892297
AB
862021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
89 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
90 duplicates, and also to avoid having a string inside parentheses
91 at the end of test names.
92
ac45a6ca
AB
932021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
94
95 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
96 Avoid repeated uses of 'runto', and instread just progress once
97 through the test stopping at different breakpoints. Give comments
98 a capital letter and full stop. Give duplicate tests unique names.
99
323fd5b9
PA
1002021-03-25 Pedro Alves <pedro@palves.net>
101
102 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
103 "target_non_stop" parameter and use it.
104 (top level): Add "maint set target-non-stop on/off" testing axis.
105
ba3c61fc
AB
1062021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
109 gdb_test_multiple.
110
bf0aecce
LM
1112021-03-24 Luis Machado <luis.machado@linaro.org>
112
113 * gdb.arch/aarch64-mte.c: New file.
114 * gdb.arch/aarch64-mte.exp: New test.
115 * gdb.base/memtag.c: New file.
116 * gdb.base/memtag.exp: New test.
117 * lib/gdb.exp (supports_memtag): New function.
118
bef382e6
LM
1192021-03-24 Luis Machado <luis.machado@linaro.org>
120
121 * gdb.base/options.exp: Adjust for new print options.
122 * gdb.base/with.exp: Likewise.
123
702cf3f5
AB
1242021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
127 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
128
1e7fcccb
AB
1292021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
130
131 * gdb.dwarf2/dw2-using-debug-str.c: New file.
132 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
133 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
134 not .debug_string.
135
4829711b
TT
1362021-03-20 Tom Tromey <tom@tromey.com>
137
138 * gdb.base/maint.exp: Update "maint print statistics" output.
139
e0d6d274
KB
1402021-03-19 Kevin Buettner <kevinb@redhat.com>
141
142 * lib/gdbserver-support.exp (gdbserver_exit): Use the
143 "-nowait" flag when waiting for gdbserver to exit.
144
a088215a
SST
1452021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
146
147 * gdb.base/info-macros.exp: Append -fdebug-macro to
148 additional_flags for clang.
149 * gdb.base/macscp.exp: Likewise.
150 * gdb.base/style.exp: Likewise.
151 * gdb.linespec/macro-relative.exp: Likewise.
152
d0c99a23
SM
1532021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
154 Pedro Alves <pedro@palves.net>
155
156 * gdb.base/run-attach-while-running.exp: New.
157 * gdb.base/run-attach-while-running.c: New.
158
7807d76a
AB
1592021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * gdb.python/py-framefilter-addr.c: New file.
162 * gdb.python/py-framefilter-addr.exp: New file.
163 * gdb.python/py-framefilter-addr.py: New file.
164
f302f9e2
AB
1652021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
168 Make use of $gdb_test_name instead of creating a separate $test
169 variable.
170 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
171 adding a '($name)' at the end of each test. This also catches the
172 one place where '($name)' was missing, and so caused a duplicate
173 test name.
174 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
175 duplicate test names based on the command being tested.
176 * gdb.threads/signal-command-multiple-signals-pending.exp:
177 Likewise.
178 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
179 avoid duplicate testnames when a test script uses this proc and
180 also gdb_compile_pthreads.
181 * lib/prelink-support.exp (build_executable_own_libs): Use
182 with_test_prefix to avoid duplicate test names when we call
183 build_executable twice.
184
6813ceb0
TT
1852021-03-15 Tom Tromey <tromey@adacore.com>
186
187 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
188
3b5c4de0
TT
1892021-03-15 Tom Tromey <tromey@adacore.com>
190
191 * gdb.ada/varsize_limit.exp: Add new test.
192 * gdb.ada/varsize_limit/vsizelim.adb: Update.
193
c04da66c
TT
1942021-03-15 Tom Tromey <tromey@adacore.com>
195
196 * gdb.ada/operator_call/twovecs.ads: New file.
197 * gdb.ada/operator_call/twovecs.adb: New file.
198 * gdb.ada/operator_call/opcall.adb: New file.
199 * gdb.ada/operator_call.exp: New file.
200
1ac74522
TT
2012021-03-15 Tom Tromey <tromey@adacore.com>
202
203 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
204 * gdb.ada/enums_overload/enums_overload.ads: New file.
205 * gdb.ada/enums_overload/enums_overload.adb: New file.
206 * gdb.ada/enums_overload.exp: New file.
207
207582c0
TT
2082021-03-15 Tom Tromey <tromey@adacore.com>
209
210 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
211 Declare.
212 * gdb.ada/assign_arr/target_wrapper.adb: New file.
213 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
214 Call Put.
215 * gdb.ada/assign_arr.exp: Update.
216
ba6a0ef3
AB
2172021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
218
219 * gdb.python/py-auto-load-chaining-f1.c: New file.
220 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
221 * gdb.python/py-auto-load-chaining-f2.c: New file.
222 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
223 * gdb.python/py-auto-load-chaining.c: New file.
224 * gdb.python/py-auto-load-chaining.exp: New file.
225
7f99d636
AB
2262021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
227
228 * gdb.python/py-bad-printers.exp: Extend test names to make them
229 unique.
230 * gdb.python/py-events.exp: Likewise.
231 * gdb.python/py-finish-breakpoint2.exp: Likewise.
232 * gdb.python/py-frame-inline.exp: Likewise.
233 * gdb.python/py-frame.exp: Likewise.
234 * gdb.python/py-infthread.exp: Likewise.
235
323b848c
AB
2362021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * gdb.python/py-value-cc.exp: Remove a duplicate test.
239
8a4efb36
AB
2402021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.python/lib-types.exp: Update the test to check the correct
243 python variable.
244
66bb1dd9
AB
2452021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * gdb.python/py-explore-cc.exp: Extend test names to make them
248 unique.
249
0125fabc
AB
2502021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
251
252 * gdb.python/py-lookup-type.exp: Remove duplicate test.
253
79d04157
AB
2542021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
255
256 * gdb.python/py-symtab.exp: Extend test names to make them
257 unique.
258
e3e48d8f
AB
2592021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
260
261 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
262 names unique.
263
2cb60e74
AB
2642021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
265
266 * gdb.python/py-block.exp: Give tests unique names.
267
8b12ded4
AB
2682021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
269
270 * gdb.python/py-pp-maint.exp: Extend test names to make them
271 unique.
272
93598ea4
AB
2732021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
274
275 * gdb.python/py-explore.exp: Add with_test_prefix to make test
276 names unique.
277
f35d6971
AB
2782021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
279
280 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
281
22d3e7f6
AB
2822021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
283
284 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
285 names unique.
286
5fc5a1b8
AB
2872021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
290 test names unique.
291
e3141a4d
AB
2922021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
293
294 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
295 unique.
296
ccdc02ed
TT
2972021-03-09 Tom Tromey <tromey@adacore.com>
298
299 * gdb.base/cast-call.exp: New file.
300 * gdb.base/cast-call.c: New file.
301
fbb1aace
AB
3022021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
303
304 * gdb.gdb/python-helper.exp: New file.
305
611aa09d
FW
3062020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
307
308 * gdb.fortran/intrinsics.exp: Add LOC tests.
309
eef32f59
AB
3102021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
311
312 * gdb.fortran/shape.exp: New file.
313 * gdb.fortran/shape.f90: New file.
314
7ba155b3
AB
3152021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * gdb.fortran/size.exp: New file.
318 * gdb.fortran/size.f90: New file.
319
e14816a8
AB
3202021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
321
322 * gdb.fortran/rank.exp: New file.
323 * gdb.fortran/rank.f90: New file.
324
d308ba78
TT
3252021-03-08 Tom Tromey <tom@tromey.com>
326
327 * gdb.fortran/debug-expr.exp: Update tests.
328
d182f279
TT
3292021-03-08 Tom Tromey <tom@tromey.com>
330
331 * gdb.base/debug-expr.exp: Update expected dump output.
332
a7308ce0
TT
3332021-03-06 Tom Tromey <tom@tromey.com>
334
335 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
336 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
337 * gdb.dwarf2/dwznolink.exp: New file.
338
b0a8c2ff
MW
3392021-03-05 Mark Wielaard <mark@klomp.org>
340
341 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
342
844be3f2
WP
3432021-03-06 Weimin Pan <weimin.pan@oracle.com>
344
345 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
346
82333781
MM
3472021-03-03 Markus Metzger <markus.t.metzger@intel.com>
348
349 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
350
32c52999
MM
3512021-03-03 Markus Metzger <markus.t.metzger@intel.com>
352
353 * gdb.btrace/non-stop.exp: Adjust expected source lines.
354
26ed1478
MM
3552021-03-03 Markus Metzger <markus.t.metzger@intel.com>
356
357 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
358
d2c5f24e
MM
3592021-03-03 Markus Metzger <markus.t.metzger@intel.com>
360
361 * gdb.btrace/exception.cc (main): Update test source.
362 * gdb.btrace/exception.exp: Update patterns.
363 * gdb.btrace/function_call_history.exp: Likewise.
364
c7c7253a
MM
3652021-03-03 Markus Metzger <markus.t.metzger@intel.com>
366
367 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
368
f0778fc1
MM
3692021-03-03 Markus Metzger <markus.t.metzger@intel.com>
370
371 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
372 reverse-continue to breakpoint.
373
e71dbd03
MM
3742021-03-03 Markus Metzger <markus.t.metzger@intel.com>
375
376 * gdb.btrace/delta.exp: Remove instruction-history and
377 function-call-history checks.
378
b93a3ed0
MM
3792021-03-03 Markus Metzger <markus.t.metzger@intel.com>
380
381 * README (Note): Add nopie_ldflag.
382 * lib/gdb.exp (gdb_compile): Extend nopie handling.
383
bbcdf9ab
TT
3842021-03-02 Tom Tromey <tromey@adacore.com>
385
386 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
387 encodings.
388
bb3a4efe
LS
3892021-02-27 Lancelot Six <lsix@lancelotix.com>
390
391 PR gdb/27393
392 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
393
394
573dc0cc
TT
3952021-02-26 Tom Tromey <tom@tromey.com>
396
397 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
398
f8218786
JV
3992021-02-26 Jan Vrany <jan.vrany@labware.com>
400
401 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
402 Remove trailing \n from expected output.
403
cb51b708
MM
4042021-02-26 Markus Metzger <markus.t.metzger@intel.com>
405
406 * lib/gdb.exp (use_gdb_stub): Extend comment.
407
64d38fdd
JM
4082021-02-25 Jan Matyas <jmatyas@codasip.com>
409
410 PR gdb/26819
411 * gdb.server/stop-reply-no-thread.exp: Add two test
412 scenarios that cover remote targets which do not have
413 the concept of threads.
414
d4ff3cbf
AB
4152021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
416
417 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
418
68337b8b
AB
4192021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
420
421 PR fortran/26155
422 * gdb.fortran/call-no-debug-func.f90: New file.
423 * gdb.fortran/call-no-debug-prog.f90: New file.
424 * gdb.fortran/call-no-debug.exp: New file.
425
faeb9f13
AB
4262021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
427
428 * gdb.fortran/associated.exp: New file.
429 * gdb.fortran/associated.f90: New file.
430
170f4b23
AB
4312021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
434
dd80d750
AB
4352021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
436
437 * gdb.base/sect-cmd.exp: Update expected results.
438
b91919ac
AB
4392021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
440
441 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
442 techniques. Enable the test for all targets.
443
02a79309
AB
4442021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
445
446 * gdb.base/maint-info-sections.exp: Add new tests.
447 (check_maint_info_target_sections_output): New proc.
448
895b7b4e
AB
4492021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
450
451 * gdb.arch/riscv-default-tdesc.exp: New file.
452
bc3c0632
AB
4532021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
454
455 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
456
acde2092
AB
4572021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * gdb.arch/i386-biarch-core.exp: Add target check.
460
7d2e5095
AKS
4612021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
462
463 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
464
96df3e28
AB
4652021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
466
467 * gdb.fortran/allocated.exp: New file.
468 * gdb.fortran/allocated.f90: New file.
469
a1670b72
AB
4702021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
471
472 * gdb.fortran/lbound-ubound.exp: Remove old comment.
473
bf3386f0
AB
4742021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
475
476 * gdb.base/maint-info-sections.exp: Update expected output, and
477 add additional tests. Again.
478
4790db14
AB
4792021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
480
481 * gdb.base/maint-info-sections.exp: Update expected output, and
482 add additional tests.
483
f4be6772
AB
4842021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 * gdb.base/maint-info-sections.exp: New file, content is moved
487 from gdb.base/maint.exp and cleaned up to use latest testsuite
488 techniques.
489 * gdb.base/maint.exp: Tests moved out to
490 gdb.base/maint-info-sections.exp.
491
25ad1e83
SM
4922021-02-10 Simon Marchi <simon.marchi@efficios.com>
493
494 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
495 GDBFLAGS.
496
e92c8eb8
AB
4972021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
498
499 * gdb.fortran/lbound-ubound.F90: New file.
500 * gdb.fortran/lbound-ubound.exp: New file.
501
ee4c3d88
TV
5022021-02-10 Tom de Vries <tdevries@suse.de>
503
504 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
505 "Restore saved setting of complaints".
506
cf2b2075
TV
5072021-02-09 Tom de Vries <tdevries@suse.de>
508
509 PR symtab/27341
510 * lib/gdb.exp (with_complaints): New proc, factored out of ...
511 (gdb_load_no_complaints): ... here.
512 * gdb.fortran/function-calls.exp: Add test-case.
513
b61f7811
HAQ
5142021-02-09 Abid Qadeer <abidh@codesourcery.com>
515
516 * gdb.threads/signal-command-handle-nopass.exp: Call
517 'standard_testfile' before using 'testfile'.
518 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
519 * gdb.threads/signal-delivered-right-thread.exp: Likewise
520 * gdb.threads/signal-sigtrap.exp: Likewise
521
3d4aae48
LM
5222021-02-08 Luis Machado <luis.machado@linaro.org>
523
524 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
525
4001d90d
TV
5262021-02-08 Tom de Vries <tdevries@suse.de>
527
528 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
529
29db1eb3
AB
5302021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
531
532 * gdb.python/tui-window-disabled.c: New file.
533 * gdb.python/tui-window-disabled.exp: New file.
534 * gdb.python/tui-window-disabled.py: New file.
535
e0c23e11
AB
5362021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
537
538 * gdb.python/tui-window.exp: Add new tests.
539 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
540 TestWindow object into global the_window.
541 <remote_title>: New method.
542 (delete_window_title): New function.
543
1cf23996
AB
5442021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
545
546 * gdb.tui/winheight.exp: Add more tests.
547
2708dbbd
AB
5482021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
549
550 * gdb.python/py-framefilter.exp: Update expected results.
551 * gdb.python/python.exp: Update expected results.
552
cd074e04
AB
5532021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
554
555 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
556 about bug in GDB, update expected results, and add more tests.
557
5fb97639
AB
5582021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
559
560 * gdb.tui/scroll.exp: New file.
561 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
562 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
563 remaining lines up.
564 (Term::check_region_contents): New proc.
565 (Term::check_box_contents): Use check_region_contents.
566
c0e56745
TV
5672021-02-06 Tom de Vries <tdevries@suse.de>
568
569 PR testsuite/26922
570 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
571 scrolling.
572
0e857c82
TV
5732021-02-05 Tom de Vries <tdevries@suse.de>
574
575 PR breakpoints/27313
576 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
577 rejected.
578
a22ec6e8
TV
5792021-02-05 Tom de Vries <tdevries@suse.de>
580
581 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
582 * gdb.fortran/mixed-lang-stack.exp: Same.
583
ae710496
TV
5842021-02-05 Tom de Vries <tdevries@suse.de>
585
586 PR exp/27265
587 * gdb.base/complex-parts.exp: Add tests.
588
d3b54e63
TV
5892021-02-05 Tom de Vries <tdevries@suse.de>
590
591 PR symtab/27307
592 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
593
3eccb1c8
SV
5942021-02-04 Shahab Vahedi <shahab@synopsys.com>
595
596 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
597
a71501e2
PA
5982021-02-03 Pedro Alves <pedro@palves.net>
599
600 * gdb.threads/detach-step-over.c: New file.
601 * gdb.threads/detach-step-over.exp: New file.
602
92234eb1
PA
6032021-02-03 Pedro Alves <pedro@palves.net>
604
605 * gdb.threads/attach-non-stop.c: New file.
606 * gdb.threads/attach-non-stop.exp: New file.
607
2e3773ff
LS
6082021-02-02 Lancelot SIX <lsix@lancelotsix.com>
609
610 * gdb.base/inferior-noarg.c: New test.
611 * gdb.base/inferior-noarg.exp: New test.
612
e0bd9202
SM
6132021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
614
615 * gdb.base/scope.exp: Use proc_with_prefix.
616
9307efbe
SM
6172021-02-02 Simon Marchi <simon.marchi@efficios.com>
618
619 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
620 table proc.
621 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
622 .debug_rnglists table without offset array.
623 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
624 .debug_loclists table without offset array.
625
2b0c7f41
SM
6262021-02-02 Simon Marchi <simon.marchi@efficios.com>
627
628 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
629 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
630 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
631 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
632 attribute
633
ecfda20d
SM
6342021-02-02 Simon Marchi <simon.marchi@efficios.com>
635
636 PR gdb/26813
637 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
638 (loclists): New proc.
639 * gdb.dwarf2/loclists-multiple-cus.c: New.
640 * gdb.dwarf2/loclists-multiple-cus.exp: New.
641 * gdb.dwarf2/loclists-sec-offset.c: New.
642 * gdb.dwarf2/loclists-sec-offset.exp: New.
643
6b0933da
SM
6442021-02-02 Simon Marchi <simon.marchi@efficios.com>
645
646 * lib/dwarf.exp (_location): Add parameters.
647 (_handle_DW_FORM): Adjust.
648
962effa7
SM
6492021-02-02 Simon Marchi <simon.marchi@efficios.com>
650
651 PR gdb/26813
652 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
653 (cu): Generate header for DWARF 5.
654 (rnglists): New proc.
655 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
656 * gdb.dwarf2/rnglists-sec-offset.exp: New.
657
2bd3e4b8
TV
6582021-02-02 Tom de Vries <tdevries@suse.de>
659
660 PR symtab/24620
661 * gdb.dwarf2/fission-reread.exp: Add test-case.
662
c39c8637
TV
6632021-02-01 Tom de Vries <tdevries@suse.de>
664
665 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
666 * gdb.dwarf2/fission-loclists-pie.S: Same.
667 * gdb.dwarf2/fission-loclists.S: Same.
668 * gdb.dwarf2/fission-multi-cu.S: Same.
669 * gdb.dwarf2/fission-reread.S: Same.
670 * gdb.dwarf2/fission-base.exp: Use DWO.
671 * gdb.dwarf2/fission-loclists-pie.exp: Same.
672 * gdb.dwarf2/fission-loclists.exp: Same.
673 * gdb.dwarf2/fission-multi-cu.exp: Same.
674 * gdb.dwarf2/fission-reread.exp: Same.
675
ebde6f2d
TV
6762021-01-29 Tom de Vries <tdevries@suse.de>
677
678 PR breakpoints/26063
679 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
680 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
681
620ec3ca
TV
6822021-01-29 Tom de Vries <tdevries@suse.de>
683
684 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
685
cdeba395
TV
6862021-01-28 Tom de Vries <tdevries@suse.de>
687
688 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
689 in the backtrace, and use that in the rest of the test instead of
690 hardcoded constant 3. Use "frame" instead of "up" for robustness.
691
c47b145e
TV
6922021-01-28 Tom de Vries <tdevries@suse.de>
693
694 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
695 * gdb.arch/i386-sse-stack-align.c: Same.
696 * gdb.arch/i386-sse-stack-align.exp: Same.
697
47918cca
AB
6982021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
699
700 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
701
2f985dd1
TV
7022021-01-28 Tom de Vries <tdevries@suse.de>
703
704 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
705
22efa3d3
TV
7062021-01-28 Tom de Vries <tdevries@suse.de>
707
708 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
709 "maint info line-table". Make PASS pattern more specific. Make
710 FAIL pattern work for -m32.
711
59b59f08
LS
7122021-01-27 Lancelot SIX <lsix@lancelotsix.com>
713
714 PR gdb/27133
715 * gdb.base/ui-redirect.exp: Add test case that ensures that
716 redirecting both logging and debug does not cause gdb to crash.
717
718
807f647c
MM
7192021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
720
721 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
722
4ca40594
TV
7232021-01-26 Tom de Vries <tdevries@suse.de>
724
725 * gdb.threads/killed-outside.exp: Allow regular output.
726
d0021af3
TV
7272021-01-26 Tom de Vries <tdevries@suse.de>
728
729 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
730
9f6c202e
TV
7312021-01-25 Tom de Vries <tdevries@suse.de>
732
733 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
734 * lib/gdb.exp: Use gdb_load_no_complaints.
735
a625a8c9
TT
7362021-01-25 Tom Tromey <tromey@adacore.com>
737
738 * gdb.ada/fixed_points.exp: Add regression test.
739 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
740 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
741
19184910
TT
7422021-01-25 Tom Tromey <tromey@adacore.com>
743
744 * gdb.ada/local-enum.exp: Add enumerator resolution test.
745
acd6125f
TT
7462021-01-25 Tom Tromey <tromey@adacore.com>
747
748 * gdb.ada/local-enum.exp: New file.
749 * gdb.ada/local-enum/local.adb: New file.
750
1af4c9c4
TT
7512021-01-23 Tom Tromey <tom@tromey.com>
752
753 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
754
705646c0
BE
7552021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
756
757 * gdb.base/line65535.exp: Fix test expectation.
758
0ac85db5
SM
7592021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
760
761 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
762 suppression.
763 (default_gdb_exit): Likewise.
764 (default_gdb_spawn): Likewise.
765 (send_gdb): Likewise.
766 (gdb_expect): Likewise.
767 (gdb_expect_list): Likewise.
768 (default_gdb_init): Likewise.
769 (gdb_suppress_entire_file): Remove.
770 (gdb_suppress_tests): Remove.
771 (gdb_stop_suppressing_tests): Remove.
772 (gdb_clear_suppressed): Remove.
773 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
774 related to test suppression.
775 (default_mi_gdb_start): Likewise.
776 (mi_gdb_reinitialize_dir): Likewise.
777 (mi_gdb_test): Likewise.
778 (mi_run_cmd_full): Likewise.
779 (mi_runto_helper): Likewise.
780 (mi_execute_to): Likewise.
781 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
782 * gdb.base/bitfields.exp: Likewise.
783 * gdb.base/bitfields2.exp: Likewise.
784 * gdb.base/break.exp: Likewise.
785 * gdb.base/call-sc.exp: Likewise.
786 * gdb.base/callfuncs.exp: Likewise.
787 * gdb.base/dfp-test.exp: Likewise.
788 * gdb.base/endian.exp: Likewise.
789 * gdb.base/exprs.exp: Likewise.
790 * gdb.base/funcargs.exp: Likewise.
791 * gdb.base/hbreak2.exp: Likewise.
792 * gdb.base/recurse.exp: Likewise.
793 * gdb.base/scope.exp: Likewise.
794 * gdb.base/sepdebug.exp: Likewise.
795 * gdb.base/structs.exp: Likewise.
796 * gdb.base/until.exp: Likewise.
797 * gdb.cp/misc.exp: Likewise.
798
9d2d8a16
AB
7992021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
800
801 PR cli/25956
802 * gdb.base/style.exp (run_style_tests): Add version string test.
803 (test_startup_version_string): Use version style name.
804 * lib/gdb-utils.exp (style): Handle version style name.
805
e7b43072
AB
8062021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
807
808 * gdb.base/style.exp (limited_style): New proc.
809 (clean_restart_and_disable): New proc.
810 (run_style_tests): New proc. Most of the old tests from this file
811 are now in this proc.
812 (test_startup_version_string): New proc. Reamining test from the
813 old file is in this proc.
814
2189c312
SM
8152021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
816
817 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
818 Adjust to "set debug remote" changes.
819
cd211c75
LM
8202021-01-21 Luis Machado <luis.machado@linaro.org>
821
822 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
823 message.
824
730af663
SM
8252021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
826
827 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
828
325d39e4
HD
8292021-01-21 Hannes Domani <ssbssa@yahoo.de>
830
831 PR python/19151
832 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
833
c3e96aa7
SM
8342021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
835
836 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
837
6571ffc6
SM
8382021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
839
840 * lib/tuiterm.exp: Add links in comments.
841
7c794afd
TV
8422021-01-20 Tom de Vries <tdevries@suse.de>
843
844 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
845 offset.
846
1402665c
TV
8472021-01-20 Tom de Vries <tdevries@suse.de>
848
849 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
850
6f52fdf4
SDJ
8512021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
852
853 * gdb.arch/amd64-stap-expressions.S: New file.
854 * gdb.arch/amd64-stap-expressions.exp: New file.
855
14852123
TV
8562021-01-19 Tom de Vries <tdevries@suse.de>
857
858 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
859 sequence.
860
0c4e2c6c
TV
8612021-01-19 Tom de Vries <tdevries@suse.de>
862
863 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
864
02baa133
AB
8652021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.fortran/array-slices.exp (run_test): Avoid including
868 addresses in test names.
869
10f92414
TV
8702021-01-15 Tom de Vries <tdevries@suse.de>
871
872 PR testsuite/26997
873 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
874 when adding sizeof.
875
116d0cf1
TV
8762021-01-14 Tom de Vries <tdevries@suse.de>
877
878 PR testsuite/24590
879 * gdb.base/style.exp: Handle shorter argv in frame command output.
880
8f66807b
AB
8812021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
882
883 PR gdb/26819
884 * gdb.server/stop-reply-no-thread-multi.c: New file.
885 * gdb.server/stop-reply-no-thread-multi.exp: New file.
886
3f94e588
TV
8872021-01-12 Tom de Vries <tdevries@suse.de>
888
889 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
890 (main): Remove call to have_mpx.
891 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
892 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
893 (main): Remote call to have_mpx.
894 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
895 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
896 (main): Remove call to have_mpx.
897 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
898 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
899 (main): Remove call to have_mpx.
900 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
901 * gdb.arch/i386-mpx.c (have_mpx): Remove.
902 (main): Remote call to have_mpx.
903 * gdb.arch/i386-mpx.exp: Use have_mpx.
904 * lib/gdb.exp (have_mpx): New proc.
905
5291fe3c
SP
9062021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
907
908 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
909
18bfb505
TV
9102021-01-12 Tom de Vries <tdevries@suse.de>
911
912 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
913
ce38f5ed
AB
9142021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.fortran/debug-expr.exp: Add new tests.
917
7c654b71
AB
9182021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
919
920 * gdb.fortran/dot-ops.exp: Add new tests.
921
10dadadc
TV
9222021-01-11 Tom de Vries <tdevries@suse.de>
923
924 PR testsuite/26968
925 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
926 Move insn setting $eax to before probe point.
927
66beed02
TT
9282021-01-09 Tom Tromey <tom@tromey.com>
929
930 * gdb.trace/ax.exp: Do not require an "ext".
931
8fc48b79
TT
9322021-01-08 Tom Tromey <tromey@adacore.com>
933
934 * gdb.ada/voidctx/pck.adb: New file.
935 * gdb.ada/voidctx/pck.ads: New file.
936 * gdb.ada/voidctx/voidctx.adb: New file.
937 * gdb.ada/voidctx.exp: New file.
938
6abd4cf2
SM
9392021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
940
941 PR gdb/27157
942 * gdb.base/empty-host-env-vars.exp: New test.
943
d00f0868
AB
9442021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
945
946 * gdb.base/completion.exp: Add a new test.
947
3c8c6de2
AB
9482021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 * gdb.fortran/intvar-dynamic-types.exp: New file.
951 * gdb.fortran/intvar-dynamic-types.f90: New file.
952
e3436813
AB
9532021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.fortran/intvar-array.exp: New file.
956 * gdb.fortran/intvar-array.f90: New file.
957
d4813f10
TT
9582021-01-07 Tom Tromey <tromey@adacore.com>
959
960 * gdb.ada/assign_arr.exp: Add 'others' test.
961
b49180ac
TT
9622021-01-06 Tom Tromey <tromey@adacore.com>
963
964 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
965 (FP4_Type): New type.
966 (FP4_Var): New variable.
967 * gdb.ada/fixed_points/fixed_points.adb: Update.
968 * gdb.ada/fixed_points.exp: Add tests for binary operators.
969
3c55062c
SM
9702021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
971
972 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
973 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
974 Pass prompt containing debug print to gdb_test_sequence.
975
e4ad960a
TV
9762021-01-04 Tom de Vries <tdevries@suse.de>
977
978 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
979
3ec3145c
SM
9802021-01-04 Simon Marchi <simon.marchi@efficios.com>
981
982
983
8dc558a0
SM
9842021-01-04 Simon Marchi <simon.marchi@efficios.com>
985
986 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
987 * gdb.server/connect-without-multi-process.exp: Likewise.
988 * gdb.server/exit-multiple-threads.exp: Likewise.
989 * gdb.server/ext-attach.exp: Likewise.
990 * gdb.server/ext-restart.exp: Likewise.
991 * gdb.server/ext-run.exp: Likewise.
992 * gdb.server/ext-wrapper.exp: Likewise.
993 * gdb.server/multi-ui-errors.exp: Likewise.
994 * gdb.server/no-thread-db.exp: Likewise.
995 * gdb.server/reconnect-ctrl-c.exp: Likewise.
996 * gdb.server/run-without-local-binary.exp: Likewise.
997 * gdb.server/server-kill.exp: Likewise.
998 * gdb.server/server-run.exp: Likewise.
999 * gdb.server/solib-list.exp: Likewise.
1000 * gdb.server/stop-reply-no-thread.exp: Likewise.
1001 * gdb.server/wrapper.exp: Likewise.
1002 * gdb.server/sysroot.exp: Increase timeout when testing the
1003 target: sysroot.
1004
d8387cc8
SM
10052021-01-04 Simon Marchi <simon.marchi@efficios.com>
1006
1007 * gdb.server/server-run.exp: Use clean_restart.
1008
5169ae34
SM
10092021-01-04 Simon Marchi <simon.marchi@efficios.com>
1010
1011 * gdb.server/ext-run.exp: Use clean_restart.
1012
7b0ff8a2
SM
10132021-01-04 Simon Marchi <simon.marchi@efficios.com>
1014
1015 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1016 instead of prepare_for_testing.
1017
a754fbdf
SM
10182021-01-04 Simon Marchi <simon.marchi@efficios.com>
1019
1020 * gdb.server/solib-list.exp: Use clean_restart.
1021
c5e71b33
TV
10222021-01-04 Tom de Vries <tdevries@suse.de>
1023
1024 * gdb.base/morestack.c: Remove printf.
1025 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1026
9b243007
TT
10272020-12-31 Tom Tromey <tom@tromey.com>
1028
1029 * gdb.rust/simple.exp: Update output for Rust 1.49.
1030
4ff509e7
BE
10312020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1032
1033 * gdb.cp/step-and-next-inline.exp: Fix test case.
1034
391750c3
SM
10352020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1036
1037 * gdb.python/py-frame-args.exp: De-duplicate test names.
1038
b7874836
AB
10392020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1040
1041 PR gdb/27059
1042 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1043 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1044
e1ff6226
PW
10452020-12-21 Peter Waller <p@pwaller.net>
1046
1047 * gdb.base/style-interp-exec-mi.exp: New.
1048 * gdb.base/style-interp-exec-mi.c: New.
1049
ca01f1bf
SM
10502020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1051
1052 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1053 gdb_test. Use proc_with_prefix.
1054
0fe69a94
MM
10552020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1056
1057 * gdb.btrace/exception.exp: Build with nopie.
1058 * gdb.btrace/function_call_history.exp: Likewise.
1059 * gdb.btrace/unknown_functions.exp: Likewise.
1060
806e7575
MM
10612020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1062
1063 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1064
493d2172
MM
10652020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1066
1067 * gdb.python/py-record-btrace.exp: Make test names unique.
1068 * gdb.python/py-record-full.exp: Likewise.
1069
1a1c0afc
MM
10702020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1071
1072 * gdb.btrace/data.exp: Make test names unique.
1073 * gdb.btrace/delta.exp: Likewise.
1074 * gdb.btrace/enable.exp: Likewise.
1075 * gdb.btrace/function_call_history.exp: Likewise.
1076 * gdb.btrace/nohist.exp: Likewise.
1077 * gdb.btrace/non-stop.exp: Likewise.
1078 * gdb.btrace/rn-dl-bind.exp: Likewise.
1079 * gdb.btrace/step.exp: Likewise.
1080 * gdb.btrace/stepi.exp: Likewise.
1081 * gdb.btrace/tailcall.exp: Likewise.
1082
98d837f0
MM
10832020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1084
1085 * gdb.btrace/enable.exp: Update error message.
1086 * gdb.btrace/multi-inferior.exp: Likewise.
1087 * gdb.btrace/reconnect.exp: Likewise.
1088 * gdb.python/py-record-btrace.exp: Likewise.
1089 * gdb.python/py-record-full.exp: Likewise.
1090
c541fa7c
TV
10912020-12-20 Tom de Vries <tdevries@suse.de>
1092
1093 * lib/gdb.exp (save_target_board_info): New proc.
1094 (gdb_compile_shlib): Use save_target_board_info.
1095
60108e47
TV
10962020-12-19 Tom de Vries <tdevries@suse.de>
1097
1098 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1099 (supports_gnuc): New proc.
1100 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1101 test_compiler_info calls. Add unsupported message.
1102 * gdb.base/endianity.c: Use TEST_SSO.
1103
fa639f55
HD
11042020-12-19 Hannes Domani <ssbssa@yahoo.de>
1105
1106 PR exp/27070
1107 * gdb.python/compare-enum-type-a.c: New test.
1108 * gdb.python/compare-enum-type-b.c: New test.
1109 * gdb.python/compare-enum-type.exp: New file.
1110 * gdb.python/compare-enum-type.h: New test.
1111
4aea001f
HD
11122020-12-18 Hannes Domani <ssbssa@yahoo.de>
1113
1114 * gdb.python/py-format-string.exp: Add tests for address keyword.
1115
b3f9469b
HD
11162020-12-18 Hannes Domani <ssbssa@yahoo.de>
1117
1118 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1119
86ef42bd
TT
11202020-12-18 Tom Tromey <tromey@adacore.com>
1121
1122 * gdb.ada/fixed_points.exp: Also run with
1123 -fgnat-encodings=minimal. Update expected output.
1124
93df4a1d
SM
11252020-12-16 Simon Marchi <simon.marchi@efficios.com>
1126
1127 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1128 * gdb.base/continue-all-already-running.exp: Likewise.
1129 * gdb.base/moribund-step.exp: Likewise.
1130 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1131
592995fa
TV
11322020-12-16 Tom de Vries <tdevries@suse.de>
1133
1134 * gdb.base/batch-preserve-term-settings.exp:
1135
1e61189d
TV
11362020-12-16 Tom de Vries <tdevries@suse.de>
1137
1138 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1139 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1140
19007d95
LM
11412020-12-16 Luis Machado <luis.machado@linaro.org>
1142
1143 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1144 pointer-based memory accesses.
1145 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1146 hw watchpoint cases.
1147
a33fc9ae
RK
11482020-12-15 Rae Kim <rae.kim@gmail.com>
1149
1150 * gdb.base/document.exp: New test.
1151
0e5ad442
TT
11522020-12-15 Tom Tromey <tromey@adacore.com>
1153
1154 * gdb.base/style.exp: Add deprecation tests.
1155
60598dbd
SM
11562020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1157
1158 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1159
8cd6d968
MW
11602020-12-14 Mark Wielaard <mark@klomp.org>
1161
1162 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1163 specially, set attr_form_comment to the actual FORM string used.
1164
eab9267c
MW
11652020-12-14 Mark Wielaard <mark@klomp.org>
1166
1167 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1168 _constants(SPECIAL_expr) here, but set it...
1169 (Dwarf::cu): ...here based on _cu_version.
1170
2f413264
TV
11712020-12-14 Tom de Vries <tdevries@suse.de>
1172
1173 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1174 pass -fPIC.
1175 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1176 * gdb.base/break-probes.exp: Same.
1177 * gdb.base/ctxobj.exp: Same.
1178 * gdb.base/dso2dso.exp: Same.
1179 * gdb.base/global-var-nested-by-dso.exp: Same.
1180 * gdb.base/info-shared.exp: Same.
1181 * gdb.base/jit-reader-simple.exp: Same.
1182 * gdb.base/print-file-var.exp: Same.
1183 * gdb.base/skip-solib.exp: Same.
1184 * gdb.btrace/dlopen.exp: Same.
1185
18f1cb1f
TV
11862020-12-14 Tom de Vries <tdevries@suse.de>
1187
1188 PR testsuite/26963
1189 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1190
519155c9
TV
11912020-12-14 Tom de Vries <tdevries@suse.de>
1192
1193 PR testsuite/26962
1194 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1195 cast it to its declared type".
1196
153f6e6c
TV
11972020-12-14 Tom de Vries <tdevries@suse.de>
1198
1199 PR testsuite/26951
1200 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1201 shell prompt.
1202
86b44259
TT
12032020-12-14 Tom Tromey <tromey@adacore.com>
1204
1205 * gdb.ada/nested.exp: Add new tests.
1206 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1207
e26624c6
TT
12082020-12-14 Tom Tromey <tromey@adacore.com>
1209
1210 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1211
a3bdae4e
TT
12122020-12-14 Tom Tromey <tromey@adacore.com>
1213
1214 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1215
862fcbd8
TV
12162020-12-13 Tom de Vries <tdevries@suse.de>
1217
1218 PR testsuite/26953
1219 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1220 attribute support if compiler doesn't support it.
1221
a406a98e
TV
12222020-12-13 Tom de Vries <tdevries@suse.de>
1223
1224 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1225 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1226 source to shared lib. Add ada to options.
1227
5d7e6ed0
TV
12282020-12-13 Tom de Vries <tdevries@suse.de>
1229
1230 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1231 calling gnatbind and gnatlink.
1232
ee9812a0
AB
12332020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1234
1235 * gdb.base/dcache-flush.c: New file.
1236 * gdb.base/dcache-flush.exp: New file.
1237
50a5f187
AB
12382020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1239
1240 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1241 commands.
1242 * gdb.base/killed-outside.exp: Likewise.
1243 * gdb.opt/inline-bt.exp: Likewise.
1244 * gdb.perf/gmonster-null-lookup.py: Likewise.
1245 * gdb.perf/gmonster-print-cerr.py: Likewise.
1246 * gdb.perf/gmonster-ptype-string.py: Likewise.
1247 * gdb.python/py-unwind.exp: Likewise.
1248
19c659f1
AB
12492020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1250
1251 * gdb.base/commands.exp: Update expected results.
1252
9ef6d4a1
AB
12532020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1254
1255 PR cli/15104
1256 * gdb.base/commands.exp: Add additional tests.
1257 * gdb.base/completion.exp: Add additional tests.
1258
1536146f
AB
12592020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1260
1261 * gdb.base/completion.exp: Add additional tests.
1262
346e7e19
TV
12632020-12-11 Tom de Vries <tdevries@suse.de>
1264
1265 PR testsuite/26991
1266 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1267 violations by setting bounds registers if the bounds are passed in the
1268 Bounds Table.
1269
9cd7a95a
TV
12702020-12-11 Tom de Vries <tdevries@suse.de>
1271
1272 PR testsuite/26954
1273 * gdb.base/float128.exp: Detect and handle no mpfr support.
1274
4483a8e7
SM
12752020-12-10 Simon Marchi <simon.marchi@efficios.com>
1276
1277 PR gdb/24694
1278 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1279 calls.
1280
10067028
TV
12812020-12-10 Tom de Vries <tdevries@suse.de>
1282
1283 PR testsuite/26947
1284 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1285 braces for tcl 8.5 and earlier.
1286
5b56203a
SM
12872020-12-09 Simon Marchi <simon.marchi@efficios.com>
1288
1289 PR 26875, PR 26901
1290 * gdb.base/flexible-array-member.c: New test.
1291 * gdb.base/flexible-array-member.exp: New test.
1292
b46551b2
TV
12932020-12-08 Tom de Vries <tdevries@suse.de>
1294
1295 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1296 using is_amd64_regs_target.
1297
8439f446
TV
12982020-12-08 Tom de Vries <tdevries@suse.de>
1299
1300 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1301 self_id.
1302
bc545da7
PA
13032020-12-07 Pedro Alves <pedro@palves.net>
1304
1305 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1306 'additional_flags' variable.
1307
1f58f6c2
TBA
13082020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1309
1310 * gdb.linespec/explicit.exp: Extend with a test to check completing
1311 '-' after seemingly complete options.
1312
5759831a
TBA
13132020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1314
1315 * gdb.linespec/keywords.exp: Add tests to check positional
1316 flexibility of "-force-condition".
1317
21e051b3
TBA
13182020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1319
1320 * gdb.base/bp-cmds-run-with-ex.c: New file.
1321 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1322 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1323 * gdb.gdb/python-interrupts.exp: Update the call to
1324 'catch_command_errors' with the new argument.
1325 * gdb.gdb/python-selftest.exp: Ditto.
1326
187b041e
SM
13272020-12-04 Simon Marchi <simon.marchi@efficios.com>
1328
1329 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1330 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1331 * gdb.threads/non-stop-fair-events.exp: Likewise.
1332
3b7a962d
SM
13332020-12-04 Simon Marchi <simon.marchi@efficios.com>
1334
1335 * gdb.threads/step-over-exec.exp: New.
1336 * gdb.threads/step-over-exec.c: New.
1337 * gdb.threads/step-over-exec-execd.c: New.
1338 * lib/my-syscalls.S: New.
1339 * lib/my-syscalls.h: New.
1340
e633b117
SM
13412020-12-04 Simon Marchi <simon.marchi@efficios.com>
1342
1343 * lib/dwarf.exp (declare_labels): Use name as text if text is
1344 not provided.
1345
67748e0f
TV
13462020-12-04 Tom de Vries <tdevries@suse.de>
1347
1348 PR testsuite/26990
1349 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1350 are unsupported.
1351
a8d13675
TV
13522020-12-04 Tom de Vries <tdevries@suse.de>
1353
1354 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1355 clause.
1356
f17727b3
TV
13572020-12-04 Tom de Vries <tdevries@suse.de>
1358
1359 * gdb.reverse/insn-reverse.exp: Fix count handling.
1360
a1499830
TV
13612020-12-04 Tom de Vries <tdevries@suse.de>
1362
1363 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1364 __x86_64__.
1365
9c027c2f
TV
13662020-12-04 Tom de Vries <tdevries@suse.de>
1367
1368 * gdb.reverse/insn-reverse.c (test_nr): New var.
1369 (usage, parse_args): New function.
1370 (main): Call parse_args. Only run test for test_nr.
1371 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1372 and bail out. Run subtests individually, using an inferior arg
1373 specifying the subtest.
1374
533b2ae0
AB
13752020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1376
1377 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1378
e4502042
AB
13792020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1380
1381 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1382 update test to use this.
1383
f55a9a37
SM
13842020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1385
1386 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1387
0a6155a0
SM
13882020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1389
1390 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1391 (do_test): Don't use with_test_prefix.
1392 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1393 (do_test): Don't use with_test_prefix.
1394 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1395 (do_test): Don't use with_test_prefix.
1396 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1397 (do_test): Don't use with_test_prefix.
1398
4d56d64a
SM
13992020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1400
1401 * gdb.threads/non-ldr-exit.exp: Fix comment.
1402
54e75f29
AB
14032020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1404
1405 * gdb.xml/maint-xml-dump-03.xml: New file.
1406
7ce05d21
TV
14072020-11-30 Tom de Vries <tdevries@suse.de>
1408
1409 PR symtab/26905
1410 * gdb.dwarf2/count.exp: Remove kfails.
1411
50757f95
TBA
14122020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1413
1414 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1415 indices.
1416
4afa9fd9
JB
14172020-11-24 Joel Brobecker <brobecker@adacore.com>
1418
1419 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1420 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1421 languages. Remove the associated setup_xfail.
1422
15a491af
SM
14232020-11-23 Simon Marchi <simon.marchi@efficios.com>
1424
1425 * lib/gdb.exp (gdb_assert): Show error message on error.
1426
891615f0
TV
14272020-11-23 Tom de Vries <tdevries@suse.de>
1428
1429 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1430 * gdb.ada/mod_from_name.exp: Same.
1431 * gdb.ada/pckd_arr_ren.exp: Same.
1432
19922582
SM
14332020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1434
1435 * gdb.base/template.exp: New.
1436 * gdb.base/template.c: New.
1437
117c628d
GB
14382020-11-22 Gary Benson <gbenson@redhat.com>
1439
1440 PR gdb/26905
1441 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1442 is defined using a DW_AT_count which references another DIE.
1443
da39d3ba
TV
14442020-11-21 Tom de Vries <tdevries@suse.de>
1445
1446 * gdb.base/vla-ptr.exp: Add XFAIL.
1447
a5c641b5
AB
14482020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1449
1450 * gdb.fortran/array-slices-bad.exp: New file.
1451 * gdb.fortran/array-slices-bad.f90: New file.
1452 * gdb.fortran/array-slices-sub-slices.exp: New file.
1453 * gdb.fortran/array-slices-sub-slices.f90: New file.
1454 * gdb.fortran/array-slices.exp: Rewrite tests.
1455 * gdb.fortran/array-slices.f90: Rewrite tests.
1456 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1457
a15a5258
AB
14582020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1459
1460 * gdb.base/completion.exp: Add new completion tests.
1461
7cb2893d
SM
14622020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1463
1464 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1465 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1466 * gdb.mi/mi-nsintrall.exp: Likewise.
1467 * gdb.mi/mi-nsmoribund.exp: Likewise.
1468 * gdb.mi/mi-nsthrexec.exp: Likewise.
1469 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1470
cf144ec8
SM
14712020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1472
1473 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1474 of perror.
1475
6b6a3e05
JM
14762020-11-18 Joseph Myers <joseph@codesourcery.com>
1477
1478 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1479 $arg.exe exists but $arg does not.
1480
811bdca0
GB
14812020-11-17 Gary Benson <gbenson@redhat.com>
1482
1483 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1484 __attribute__ ((used)).
1485
c72e3136
AB
14862020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1487
1488 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1489
037d7135
AB
14902020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1491
1492 * gdb.base/completion.exp: Add new tests.
1493
119e99bb
TT
14942020-11-16 Tom Tromey <tromey@adacore.com>
1495
1496 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1497 tests.
1498
b74dbc20
JB
14992020-11-15 Joel Brobecker <brobecker@adacore.com>
1500
1501 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1502 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1503 (main): Add reference to pck__fp1_var2.
1504 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1505
0a12719e
JB
15062020-11-15 Joel Brobecker <brobecker@adacore.com>
1507
1508 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1509
0c9150e4
JB
15102020-11-15 Joel Brobecker <brobecker@adacore.com>
1511
1512 * gdb.ada/fixed_points.exp: Add ptype tests.
1513 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1514
b26daff9
JB
15152020-11-15 Joel Brobecker <brobecker@adacore.com>
1516
1517 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1518
09584414
JB
15192020-11-15 Joel Brobecker <brobecker@adacore.com>
1520
1521 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1522 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1523 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1524 New files.
1525 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1526
1527 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1528 New files.
1529
9dd02fc0
AB
15302020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1531
1532 PR cli/26879
1533 * gdb.fortran/completion.exp: New file.
1534 * gdb.fortran/completion.f90: New file.
1535
5643c500
JM
15362020-11-12 Joseph Myers <joseph@codesourcery.com>
1537
1538 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1539 but $arg does not.
1540
7bea47f0
AB
15412020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1542
1543 * gdb.fortran/types.exp: Add more tests.
1544
1f2624a3
TT
15452020-11-12 Tom Tromey <tom@tromey.com>
1546
1547 PR rust/26799:
1548 * gdb.rust/traits.exp: Remove kfails.
1549
9e74f0ae
GB
15502020-11-12 Gary Benson <gbenson@redhat.com>
1551
1552 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1553 statement.
1554
acb994fa
SM
15552020-11-11 Simon Marchi <simon.marchi@efficios.com>
1556
1557 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1558 always-inserted" axis.
1559 (do_test): Add breakpoint_always_inserted parameter.
1560
95016fd2
TT
15612020-11-10 Tom Tromey <tromey@adacore.com>
1562
1563 * gdb.ada/bias.exp: Update.
1564 * gdb.ada/bias/bias.adb (X): Change value.
1565
83100a74
GB
15662020-11-10 Gary Benson <gbenson@redhat.com>
1567
1568 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1569 regexp fragment in parentheses to prevent false matching.
1570
6ff174a7
GB
15712020-11-10 Gary Benson <gbenson@redhat.com>
1572
1573 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1574
eb24648c
GB
15752020-11-10 Gary Benson <gbenson@redhat.com>
1576
1577 * gdb.cp/step-and-next-inline.exp: Only require
1578 -gstatement-frontiers when building with GCC.
1579 Only setup KFAIL's for GCC issues when using
1580 a GCC-built executable.
1581
86775fab
AB
15822020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1583
1584 * gdb.base/debug-expr.c: Add extra function to allow for an
1585 additional test.
1586 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1587 to this proc with gdb_test_debug_expr. Add an extra test.
1588 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1589 to this proc with gdb_test_debug_expr, give the tests names
1590 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1591 calls to this proc with gdb_test_debug_expr, give the tests names
1592 * gdb.fortran/debug-expr.exp: New file.
1593 * gdb.fortran/debug-expr.f90: New file.
1594 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1595
a1945bd4
SM
15962020-11-06 Simon Marchi <simon.marchi@efficios.com>
1597
1598 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1599 proceduresu.
1600 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1601 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1602 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1603 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1604 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1605 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1606 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1607 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1608
9c91c725
TT
16092020-11-04 Tom Tromey <tromey@adacore.com>
1610
1611 * gdb.ada/funcall_ref.exp: Update.
1612 * gdb.ada/var_rec_arr.exp: Update.
1613
8d9fd3a1
TT
16142020-11-04 Tom Tromey <tromey@adacore.com>
1615
1616 * gdb.ada/rec_ptype.exp: New file.
1617 * gdb.ada/rec_ptype/main.adb: New file.
1618 * gdb.ada/rec_ptype/p.ads: New file.
1619
d8f62e84
TT
16202020-11-04 Tom Tromey <tromey@adacore.com>
1621
1622 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1623 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1624 (PT_Full): New variable.
1625 * gdb.ada/tick_length_array_enum_idx/pck.adb
1626 (Full_PT): New type.
1627
7ff5b937
TT
16282020-11-04 Tom Tromey <tromey@adacore.com>
1629
1630 * gdb.ada/array_of_variant.exp: New file.
1631 * gdb.ada/array_of_variant/p.adb: New file.
1632 * gdb.ada/array_of_variant/pck.ads: New file.
1633 * gdb.ada/array_of_variant/pck.adb: New file.
1634
10f6a3ad
TT
16352020-11-04 Tom Tromey <tromey@adacore.com>
1636
1637 * gdb.ada/enum_idx_packed.exp: Add test.
1638 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1639 New variable.
1640 * gdb.ada/enum_idx_packed/pck.ads (Short)
1641 (Multi_Dimension, Multi_Dimension_Access): New types.
1642
b72795a8
TT
16432020-11-04 Tom Tromey <tromey@adacore.com>
1644
1645 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1646
24aa1b02
TT
16472020-11-04 Tom Tromey <tromey@adacore.com>
1648
1649 * gdb.ada/set_pckd_arr_elt.exp: Also test
1650 -fgnat-encodings=minimal. Add tests.
1651 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1652 Call Update_Small a second time.
1653 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1654 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1655 (Variant_Access): New types.
1656 (New_Variant): Declare.
1657
c9a28cbe
TT
16582020-11-04 Tom Tromey <tromey@adacore.com>
1659
1660 * gdb.ada/mod_from_name.exp: Test printing slice.
1661
57567375
TT
16622020-11-04 Tom Tromey <tromey@adacore.com>
1663
1664 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1665 values.
1666 * gdb.ada/access_to_unbounded_array.exp: Test different
1667 -fgnat-encodings values.
1668 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1669 values.
1670 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1671 values.
1672 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1673 values.
1674 * gdb.ada/array_of_variable_length.exp: Test different
1675 -fgnat-encodings values.
1676 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1677 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1678 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1679 change.
1680 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1681 values.
1682 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1683 * gdb.ada/out_of_line_in_inlined.exp: Test different
1684 -fgnat-encodings values.
1685 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1686 values.
1687 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1688 values.
1689 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1690 -fgnat-encodings values.
1691 * gdb.ada/variant_record_packed_array.exp: Test different
1692 -fgnat-encodings values.
1693
a7400e44
TT
16942020-11-04 Tom Tromey <tromey@adacore.com>
1695
1696 * gdb.ada/enum_idx_packed.exp: Add tests.
1697 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1698 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1699 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1700 declarations.
1701
c40907bf
TV
17022020-11-03 Tom de Vries <tdevries@suse.de>
1703
1704 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1705 terminator comments.
1706 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1707 terminator.
1708
f468977a
SM
17092020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1710
1711 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1712 integer format test with regexp.
1713
1c2bec19
GB
17142020-11-02 Gary Benson <gbenson@redhat.com>
1715
1716 * gdb.base/print-file-var.exp (test): Separate compiler and
1717 linker options, and build using build_executable_from_specs
1718 to accommodate this.
1719
6539a36d
GB
17202020-11-02 Gary Benson <gbenson@redhat.com>
1721
1722 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1723 for .c files compiled as C++ with Clang if any shared
1724 libraries are specified.
1725
7ea44a51
GB
17262020-11-02 Gary Benson <gbenson@redhat.com>
1727
1728 * lib/attributes.h: New header.
1729 * gdb.base/backtrace.c: Include the above. Replace
1730 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1731 * gdb.base/infcall-nested-structs.c: Likewise.
1732 * gdb.base/vla-optimized-out.c: Likewise.
1733
ab8f783d
TV
17342020-11-02 Tom de Vries <tdevries@suse.de>
1735
1736 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1737
d77c9224
JB
17382020-11-01 Joel Brobecker <brobecker@adacore.com>
1739
1740 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1741 System.Min_Int and System.Max_Int with smaller hardcoded
1742 constants.
1743
0e5b0dd0
SM
17442020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1745
1746 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1747 * configure: Re-generate.
1748
136821d9
SM
17492020-10-30 Simon Marchi <simon.marchi@efficios.com>
1750
1751 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1752 expected output.
1753
b78b3a29
TBA
17542020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1755
1756 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1757 behavior.
1758 * gdb.base/paginate-bg-execution.exp: Ditto.
1759 * gdb.base/paginate-inferior-exit.exp: Ditto.
1760 * gdb.base/double-prompt-target-event-error.c: Remove.
1761 * gdb.base/double-prompt-target-event-error.exp: Remove.
1762
cfaa8f76
TBA
17632020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1764
1765 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1766 inferiors' and 'detach inferiors' do not change the current
1767 inferior.
1768
0ad0e70c
TV
17692020-10-29 Tom de Vries <tdevries@suse.de>
1770
1771 * gdb.threads/tls.exp: Fix DUPLICATEs.
1772
99cc6b2a
TV
17732020-10-28 Tom de Vries <tdevries@suse.de>
1774
1775 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1776
efe9b873
TV
17772020-10-28 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1780 * gdb.base/reread.exp: Same.
1781
6b68fd45
TV
17822020-10-28 Tom de Vries <tdevries@suse.de>
1783
1784 * lib/gdb.exp (readnow): Handle arg.
1785 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1786
32a5f98a
TV
17872020-10-28 Tom de Vries <tdevries@suse.de>
1788
1789 * gdb.base/relocate.exp: Update regexp for -readnow.
1790
f93b8760
TV
17912020-10-28 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1794 -readnow.
1795
1b00ef06
TV
17962020-10-28 Tom de Vries <tdevries@suse.de>
1797
1798 PR symtab/26772
1799 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1800 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1801
364bb903
TV
18022020-10-28 Tom de Vries <tdevries@suse.de>
1803
1804 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1805 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1806 complaint during file command for -readnow.
1807
445a033f
TV
18082020-10-28 Tom de Vries <tdevries@suse.de>
1809
1810 * gdb.cp/nsalias.exp: Fix typo in test name.
1811
fdd67a42
TV
18122020-10-28 Tom de Vries <tdevries@suse.de>
1813
1814 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1815
706baf4c
TV
18162020-10-28 Tom de Vries <tdevries@suse.de>
1817
1818 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1819 -readnow.
1820
b448cca5
TV
18212020-10-27 Tom de Vries <tdevries@suse.de>
1822
1823 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1824
5868da03
TV
18252020-10-27 Tom de Vries <tdevries@suse.de>
1826
1827 * gdb.base/maint.exp: Update for -readnow.
1828
06db6ec3
TV
18292020-10-27 Tom de Vries <tdevries@suse.de>
1830
1831 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1832 -readnow.
1833
934a1764
GB
18342020-10-14 Gary Benson <gbenson@redhat.com>
1835
1836 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1837 "_vptr$Base" as correct, in addition to "_vptr.Base".
1838 (test_mixed): Likewise.
1839
0bf21fbd
GB
18402020-10-27 Gary Benson <gbenson@redhat.com>
1841
1842 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1843 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1844
b1d4d8d1
TBA
18452020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1846
1847 * gdb.base/condbreak.exp: Update the completion tests to
1848 consider the '-force' flag.
1849
bd24c5d6
TV
18502020-10-27 Tom de Vries <tdevries@suse.de>
1851
1852 * gdb.base/list-ambiguous-readnow.exp: New file.
1853
733d554a
TBA
18542020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1855
1856 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1857 the condition.
1858 * gdb.linespec/cpcompletion.exp: Update to consider the
1859 '-force-condition' keyword.
1860 * gdb.linespec/explicit.exp: Ditto.
1861 * lib/completion-support.exp: Ditto.
1862
b5fa468f
TBA
18632020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1864
1865 * gdb.base/condbreak-multi-context.cc: New file.
1866 * gdb.base/condbreak-multi-context.exp: New file.
1867
b3247276
TT
18682020-10-26 Tom Tromey <tom@tromey.com>
1869
1870 * lib/mi-support.exp (default_mi_gdb_start): Call
1871 gdb_stdin_log_init.
1872 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1873 subtract one from gdb_instances.
1874 (gdb_stdin_log_write): Flush in_file.
1875
1c47ec3e
TV
18762020-10-26 Tom de Vries <tdevries@suse.de>
1877
1878 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1879
6390859c
TT
18802020-10-26 Tom Tromey <tromey@adacore.com>
1881
1882 * gdb.ada/unsigned_range/foo.adb: New file.
1883 * gdb.ada/unsigned_range/pack.adb: New file.
1884 * gdb.ada/unsigned_range/pack.ads: New file.
1885 * gdb.ada/unsigned_range.exp: New file.
1886
55c3ad88
TV
18872020-10-26 Tom de Vries <tdevries@suse.de>
1888
1889 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1890
1612c4bb
TV
18912020-10-26 Tom de Vries <tdevries@suse.de>
1892
1893 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1894 for CU.
1895 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1896
7d72802b
TV
18972020-10-23 Tom de Vries <tdevries@suse.de>
1898
1899 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1900 DW_FORM_string.
1901 (Dwarf::_default_form): New proc.
1902 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1903 guessed.
1904
9476b583
TV
19052020-10-23 Tom de Vries <tdevries@suse.de>
1906
1907 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1908 * gdb.dwarf2/atomic-type.exp: Same.
1909 * gdb.dwarf2/bad-regnum.exp: Same.
1910 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1911 * gdb.dwarf2/dw2-align.exp: Same.
1912 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1913 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1914 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1915 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1916 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1917 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1918 * gdb.dwarf2/enum-type.exp: Same.
1919 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1920 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1921 * gdb.dwarf2/main-subprogram.exp: Same.
1922 * gdb.dwarf2/missing-type-name.exp: Same.
1923 * gdb.dwarf2/nonvar-access.exp: Same.
1924 * gdb.dwarf2/typedef-void-finish.exp: Same.
1925 * gdb.dwarf2/var-access.exp: Same.
1926 * gdb.dwarf2/void-type.exp: Same.
1927
4a636814
SM
19282020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1929
1930 PR gdb/26693
1931 * gdb.dwarf2/template-specification-full-name.exp: New test.
1932
557fc257
LM
19332020-10-22 Luis Machado <luis.machado@linaro.org>
1934
1935 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1936 expected an offset from the function.
1937 * gdb.base/msym-bp.exp (test): Likewise.
1938
6b4c676c
AB
19392020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1940
1941 * gdb.fortran/array-slices.exp: Add a new test.
1942
98cec4f6
GB
19432020-10-21 Gary Benson <gbenson@redhat.com>
1944
1945 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1946 fullname test with Clang. Also expand comments generally.
1947
ae86f581
TV
19482020-10-20 Tom de Vries <tdevries@suse.de>
1949
1950 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1951
8c161360
TV
19522020-10-20 Tom de Vries <tdevries@suse.de>
1953
1954 * gdb.dwarf2/arr-stride.c: Remove.
1955 * gdb.dwarf2/arr-stride.exp: Use main.c.
1956 * gdb.dwarf2/arr-subrange.c: Remove.
1957 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1958 * gdb.dwarf2/bad-regnum.c: Remove.
1959 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1960 * gdb.dwarf2/corrupt.c: Remove.
1961 * gdb.dwarf2/corrupt.exp: Use main.c.
1962 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1963 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1964 * gdb.dwarf2/dw2-icycle.c: Remove.
1965 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1966 * gdb.dwarf2/formdata16.c: Remove.
1967 * gdb.dwarf2/formdata16.exp: Use main.c.
1968 * gdb.dwarf2/implptrconst.c: Remove.
1969 * gdb.dwarf2/implptrconst.exp: Use main.c.
1970 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1971 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1972 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1973 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1974
9c2412ec
TV
19752020-10-20 Tom de Vries <tdevries@suse.de>
1976
1977 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1978 file.
1979 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1980
0cd2ad78
TV
19812020-10-20 Tom de Vries <tdevries@suse.de>
1982
1983 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1984 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1985 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1986 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1987 * gdb.dwarf2/dw2-ranges.exp: Same.
1988 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1989 * gdb.dwarf2/var-access.exp: Same.
1990
22cc388e
TT
19912020-10-19 Tom Tromey <tromey@adacore.com>
1992
1993 PR tui/26719
1994 * gdb.tui/list.exp: Check source window contents after focus
1995 change.
1996
520596f2
TV
19972020-10-17 Tom de Vries <tdevries@suse.de>
1998
1999 PR symtab/26317
2000 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2001
d1c8a76d
TV
20022020-10-17 Tom de Vries <tdevries@suse.de>
2003
2004 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2005 as suffix.
2006 * gdb.dwarf2/atomic.c: Rename to ...
2007 * gdb.dwarf2/atomic-type.c: ... this.
2008 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2009 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2010 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2011 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2012 * gdb.dwarf2/fission-mix2.c: Rename to ...
2013 * gdb.dwarf2/fission-mix-2.c: ... this.
2014 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2015 standard_testfile.
2016 * gdb.dwarf2/ada-valprint-error.exp: Same.
2017 * gdb.dwarf2/arr-stride.exp: Same.
2018 * gdb.dwarf2/arr-subrange.exp: Same.
2019 * gdb.dwarf2/atomic-type.exp: Same.
2020 * gdb.dwarf2/bad-regnum.exp: Same.
2021 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2022 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2023 * gdb.dwarf2/clang-debug-names.exp: Same.
2024 * gdb.dwarf2/comp-unit-lang.exp: Same.
2025 * gdb.dwarf2/corrupt.exp: Same.
2026 * gdb.dwarf2/count.exp: Same.
2027 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2028 * gdb.dwarf2/data-loc.exp: Same.
2029 * gdb.dwarf2/dw2-align.exp: Same.
2030 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2031 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2032 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2033 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2034 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2035 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2036 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2037 * gdb.dwarf2/dw2-inline-param.exp: Same.
2038 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2039 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2040 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2041 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2042 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2043 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2044 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2045 * gdb.dwarf2/dw2-param-error.exp: Same.
2046 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2047 * gdb.dwarf2/dw2-ranges.exp: Same.
2048 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2049 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2050 * gdb.dwarf2/dw4-sig-types.exp: Same.
2051 * gdb.dwarf2/dynarr-ptr.exp: Same.
2052 * gdb.dwarf2/enum-type.exp: Same.
2053 * gdb.dwarf2/fission-mix.exp: Same.
2054 * gdb.dwarf2/formdata16.exp: Same.
2055 * gdb.dwarf2/implptrconst.exp: Same.
2056 * gdb.dwarf2/implptrpiece.exp: Same.
2057 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2058 * gdb.dwarf2/main-subprogram.exp: Same.
2059 * gdb.dwarf2/method-ptr.exp: Same.
2060 * gdb.dwarf2/missing-sig-type.exp: Same.
2061 * gdb.dwarf2/nonvar-access.exp: Same.
2062 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2063 * gdb.dwarf2/shortpiece.exp: Same.
2064 * gdb.dwarf2/staticvirtual.exp: Same.
2065 * gdb.dwarf2/subrange.exp: Same.
2066 * gdb.dwarf2/symtab-producer.exp: Same.
2067 * gdb.dwarf2/typedef-void-finish.exp: Same.
2068 * gdb.dwarf2/var-access.exp: Same.
2069 * gdb.dwarf2/variant.exp: Same.
2070 * gdb.dwarf2/void-type.exp: Same.
2071 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2072 dw2-ranges-main.c.
2073 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2074
472d09c1
TV
20752020-10-16 Tom de Vries <tdevries@suse.de>
2076
2077 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2078
afe75f6d
TV
20792020-10-16 Tom de Vries <tdevries@suse.de>
2080
2081 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2082
8c8bd0ba
TV
20832020-10-14 Tom de Vries <tdevries@suse.de>
2084
2085 PR testsuite/26732
2086 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2087 scenario 2.
2088 * gdb.ada/mi_catch_ex_hand.exp: Same.
2089
b75d55d4
PA
20902020-10-13 Pedro Alves <pedro@palves.net>
2091
2092 * lib/mi-support.exp (mi_clean_restart): New.
2093 (mi_run_to_main): Delete.
2094 All callers adjust to use mi_clean_restart / mi_runto_main.
2095
e777225b
PA
20962020-10-13 Pedro Alves <pedro@palves.net>
2097
2098 * config/monitor.exp: Use "list -q".
2099 * gdb.arch/gdb1558.exp: Use "break -q".
2100 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2101 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2102 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2103 * gdb.base/commands.exp: Use "break -q".
2104 * gdb.base/condbreak.exp: Use "break -q".
2105 * gdb.base/ctf-ptype.exp: Use "list -q".
2106 * gdb.base/define.exp: Use "break -q".
2107 * gdb.base/del.exp: Use "break -q".
2108 * gdb.base/fullname.exp: Use "break -q".
2109 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2110 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2111 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2112 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2113 "hbreak -q".
2114 * gdb.base/included.exp: Use "list -q".
2115 * gdb.base/label.exp: Use "break -q".
2116 * gdb.base/lineinc.exp: Use "break -q".
2117 * gdb.base/list.exp: Use "list -q".
2118 * gdb.base/macscp.exp: Use "list -q".
2119 * gdb.base/pending.exp: Use "break -q".
2120 * gdb.base/prologue-include.exp: Use "break -q".
2121 * gdb.base/ptype.exp: Use "list -q".
2122 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2123 * gdb.base/server-del-break.exp: Use "break -q".
2124 * gdb.base/style.exp: Use "break -q".
2125 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2126 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2127 * gdb.cp/exception.exp: Use "tbreak -q".
2128 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2129 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2130 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2131 * gdb.dwarf2/pr13961.exp: Use "break -q".
2132 * gdb.linespec/explicit.exp: Use "list -q".
2133 * gdb.linespec/linespec.exp: Use "break -q".
2134 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2135 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2136 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2137 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2138 * gdb.trace/change-loc.exp: Use "break -q".
2139 * gdb.trace/pending.exp: Use "break -q".
2140 * gdb.tui/basic.exp: Use "list -q".
2141 * gdb.tui/list-before.exp: Use "list -q".
2142 * gdb.tui/list.exp: Use "list -q".
2143 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2144
8abd8ee8
PA
21452020-10-13 Pedro Alves <pedro@palves.net>
2146
2147 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2148 saved breakpoints file.
2149 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2150 inspecting breakpoint list.
2151 * lib/gdb.exp (runto_main): Add "qualified" to options.
2152 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2153 and handle it.
2154 (mi_runto_main): Pass 1 as qualified argument.
2155
f71e6719
PA
21562020-10-13 Pedro Alves <pedro@palves.net>
2157
2158 * lib/mi-support.exp (mi_runto_main): New proc.
2159 (mi_run_to_main): Use it.
2160 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2161 * gdb.mi/mi-var-cmd.exp: Likewise.
2162 * gdb.mi/mi-var-invalidate.exp: Likewise.
2163 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2164 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2165 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2166 * gdb.mi/user-selected-context-sync.exp: Likewise.
2167 * gdb.opt/inline-cmds.exp: Likewise.
2168 * gdb.python/py-framefilter-mi.exp: Likewise.
2169 * gdb.python/py-mi.exp: Likewise.
2170
50441f0f
PA
21712020-10-13 Pedro Alves <pedro@palves.net>
2172
2173 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2174 "runto main".
2175 * gdb.ada/small_reg_param.exp: Likewise.
2176 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2177 * gdb.base/annota1.exp: Likewise.
2178 * gdb.base/anon.exp: Likewise.
2179 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2180 * gdb.base/dprintf-non-stop.exp: Likewise.
2181 * gdb.base/dprintf.exp: Likewise.
2182 * gdb.base/gdb11530.exp: Likewise.
2183 * gdb.base/gdb11531.exp: Likewise.
2184 * gdb.base/gnu_vector.exp: Likewise.
2185 * gdb.base/interrupt-noterm.exp: Likewise.
2186 * gdb.base/memattr.exp: Likewise.
2187 * gdb.base/step-over-syscall.exp: Likewise.
2188 * gdb.base/watch-cond-infcall.exp: Likewise.
2189 * gdb.base/watch-read.exp: Likewise.
2190 * gdb.base/watch-vfork.exp: Likewise.
2191 * gdb.base/watch_thread_num.exp: Likewise.
2192 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2193 * gdb.guile/scm-frame-inline.exp: Likewise.
2194 * gdb.linespec/explicit.exp: Likewise.
2195 * gdb.opt/inline-break.exp: Likewise.
2196 * gdb.python/py-frame-inline.exp: Likewise.
2197 * gdb.reverse/break-precsave.exp: Likewise.
2198 * gdb.reverse/break-reverse.exp: Likewise.
2199 * gdb.reverse/consecutive-precsave.exp: Likewise.
2200 * gdb.reverse/consecutive-reverse.exp: Likewise.
2201 * gdb.reverse/finish-precsave.exp: Likewise.
2202 * gdb.reverse/finish-reverse.exp: Likewise.
2203 * gdb.reverse/fstatat-reverse.exp: Likewise.
2204 * gdb.reverse/getresuid-reverse.exp: Likewise.
2205 * gdb.reverse/i386-precsave.exp: Likewise.
2206 * gdb.reverse/i386-reverse.exp: Likewise.
2207 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2208 * gdb.reverse/i387-env-reverse.exp: Likewise.
2209 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2210 * gdb.reverse/insn-reverse.exp: Likewise.
2211 * gdb.reverse/machinestate-precsave.exp: Likewise.
2212 * gdb.reverse/machinestate.exp: Likewise.
2213 * gdb.reverse/pipe-reverse.exp: Likewise.
2214 * gdb.reverse/readv-reverse.exp: Likewise.
2215 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2216 * gdb.reverse/rerun-prec.exp: Likewise.
2217 * gdb.reverse/s390-mvcle.exp: Likewise.
2218 * gdb.reverse/solib-precsave.exp: Likewise.
2219 * gdb.reverse/solib-reverse.exp: Likewise.
2220 * gdb.reverse/step-precsave.exp: Likewise.
2221 * gdb.reverse/step-reverse.exp: Likewise.
2222 * gdb.reverse/time-reverse.exp: Likewise.
2223 * gdb.reverse/until-precsave.exp: Likewise.
2224 * gdb.reverse/until-reverse.exp: Likewise.
2225 * gdb.reverse/waitpid-reverse.exp: Likewise.
2226 * gdb.reverse/watch-precsave.exp: Likewise.
2227 * gdb.reverse/watch-reverse.exp: Likewise.
2228 * gdb.threads/kill.exp: Likewise.
2229 * gdb.threads/tid-reuse.exp: Likewise.
2230
d3a07122
SM
22312020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2232
2233 PR gdb/26642
2234 * gdb.base/maint-target-async-off.c: New test.
2235 * gdb.base/maint-target-async-off.exp: New test.
2236
c65c6c42
AM
22372020-10-13 Alan Modra <amodra@gmail.com>
2238
2239 * gdb.arch/powerpc-altivec.s,
2240 * gdb.arch/powerpc-power7.s,
2241 * gdb.arch/powerpc-power8.s,
2242 * gdb.arch/powerpc-power9.s,
2243 * gdb.arch/powerpc-vsx.s,
2244 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2245 * gdb.arch/powerpc-altivec.exp,
2246 * gdb.arch/powerpc-power7.exp,
2247 * gdb.arch/powerpc-power8.exp,
2248 * gdb.arch/powerpc-power9.exp,
2249 * gdb.arch/powerpc-vsx.exp,
2250 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2251 disassembly of mfvsrd/mtvsrd.
2252
f4a0f710
AM
22532020-10-13 Alan Modra <amodra@gmail.com>
2254
2255 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2256 "target architecture" output.
2257 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2258 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2259 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2260 * gdb.arch/s390-disassembler-options.exp: Likewise.
2261
87a37e5e
PA
22622020-10-12 Pedro Alves <pedro@palves.net>
2263
2264 PR exp/26602
2265 PR c++/26550
2266 * gdb.cp/ambiguous.cc (marker1): Delete.
2267 (main): Initialize all the fields of the locals. Replace marker1
2268 call with a "set breakpoint here" marker.
2269 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2270 instead of running to marker1. Add tests printing all the
2271 variables and all the fields of the variables.
2272 (test_ambiguous): New proc, expecting the new GDB output when a
2273 field access is ambiguous. Change all "warning: X ambiguous"
2274 tests to use it.
2275
71e1b6b0
GB
22762020-10-12 Gary Benson <gbenson@redhat.com>
2277
2278 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2279 * gdb.base/msym-bp-2.c (foo): Likewise.
2280 * gdb.base/msym-lang.c (foo): Likewise.
2281 * gdb.base/msym-lang-main.c (foo): Likewise.
2282 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2283 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2284 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2285 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2286 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2287 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2288 * gdb.python/py-objfile.c (static_var): Likewise.
2289 * gdb.python/py-symbol.c (rr): Likewise.
2290 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2291 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2292
9370fd51
AB
22932020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2294
2295 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2296 output of backtrace.
2297
7c184d33
TT
22982020-10-09 Tom Tromey <tromey@adacore.com>
2299
2300 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2301 (Rec): Add field. Fix range.
2302 * gdb.ada/scalar_storage.exp: Update.
2303
3d87245c
HD
23042020-10-09 Hannes Domani <ssbssa@yahoo.de>
2305
2306 PR exp/26714
2307 * gdb.base/printcmds.exp: Add tests for void results.
2308
f5c4b229
JV
23092020-10-09 Jan Vrany <jan.vrany@labware.com>
2310
2311 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2312 is emmited for both 'set directories' and 'directory' commands.
2313
b2701685
TT
23142020-10-08 Tom Tromey <tom@tromey.com>
2315
2316 * gdb.base/style.exp: Check that "main"'s name is styled.
2317
e86efb33
TT
23182020-10-07 Tom Tromey <tromey@adacore.com>
2319
2320 * gdb.base/find.exp: Rename some tests.
2321
30897591
GB
23222020-10-06 Gary Benson <gbenson@redhat.com>
2323
2324 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2325 * gdb.base/list1.c (unused): Likewise.
2326
ced4a4c1
GB
23272020-10-06 Gary Benson <gbenson@redhat.com>
2328
2329 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2330 __attribute__ ((used)).
2331 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2332
ed3bdac4
AB
23332020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2334
2335 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2336 make use of regions throughout.
2337 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2338 not {...}.
2339 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2340
cd096ec8
HD
23412020-10-05 Hannes Domani <ssbssa@yahoo.de>
2342
2343 * gdb.base/call-sc.c: Fix return struct on stack test case.
2344 * gdb.base/call-sc.exp: Likewise.
2345
3ee6f75d
GB
23462020-10-02 Gary Benson <gbenson@redhat.com>
2347
2348 * README: Fix "paralell".
2349
f65825ec
GB
23502020-09-30 Gary Benson <gbenson@redhat.com>
2351
2352 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2353 Convert directive to lowercase.
2354 (.Labbrev1_begin): Add missing label.
2355 (abbrev code 0x1): Remove DW_AT_stmt_list.
2356 (.Ldie_b): Likewise.
2357
5f278258
TT
23582020-09-27 Tom Tromey <tom@tromey.com>
2359
2360 * gdb.tui/new-layout.exp: Use with_test_prefix.
2361
8f9929bb
GR
23622020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2363
2364 PR python/26586
2365 * gdb.python/python.exp: add test cases for the from_tty
2366 argument to gdb.execute.
2367
c20c017b
GB
23682020-09-25 Gary Benson <gbenson@redhat.com>
2369
2370 * gdb.base/infcall-nested-structs.exp.tcl: Add
2371 additional_flags=-Wno-tautological-compare for C++
2372 tests when compiling using Clang.
2373
68d654af
GB
23742020-09-25 Gary Benson <gbenson@redhat.com>
2375
2376 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2377 for .c files.
2378
b551a89f
TT
23792020-09-24 Tom Tromey <tromey@adacore.com>
2380
2381 PR tui/26638:
2382 * gdb.tui/list.exp: Check output of "focus next".
2383
20a5fcbd
TT
23842020-09-23 Tom Tromey <tom@tromey.com>
2385
2386 * gdb.dwarf2/intbits.exp: New file.
2387 * gdb.dwarf2/intbits.c: New file.
2388
b167e53f
PA
23892020-09-20 Pedro Alves <pedro@palves.net>
2390
2391 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2392 spawn_id before calling remote_close. Close secondary MI channel.
2393
dbc49e9f
PA
23942020-09-20 Pedro Alves <pedro@palves.net>
2395
2396 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2397 fails.
2398
c8d5abea
AB
23992020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2400
2401 * gdb.fortran/array-slices.exp: Update expected results.
2402 * gdb.fortran/class-allocatable-array.exp: Likewise.
2403 * gdb.fortran/multi-dim.exp: Likewise.
2404 * gdb.fortran/vla-type.exp: Likewise.
2405 * gdb.mi/mi-vla-fortran.exp: Likewise.
2406
14f9473c
VC
24072020-09-18 Victor Collod <vcollod@nvidia.com>
2408
2409 PR gdb/26635
2410 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2411 compatible with i386, and move it to...
2412 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2413 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2414 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2415
e8ef12b9
PA
24162020-09-18 Pedro Alves <pedro@palves.net>
2417
2418 PR gdb/26631
2419 * gdb.multi/multi-target-thread-find.exp: New file.
2420
e11daf7a
PA
24212020-09-18 Pedro Alves <pedro@palves.net>
2422
2423 * gdb.multi/multi-target-continue.exp: New file, factored out from
2424 multi-target.exp.
2425 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2426 multi-target.exp.
2427 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2428 multi-target.exp.
2429 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2430 multi-target.exp.
2431 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2432 multi-target.exp.
2433 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2434 multi-target.exp.
2435 * gdb.multi/multi-target.exp: Delete.
2436
d0edc2b8
AB
24372020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2438
2439 * gdb.fortran/array-slices.exp: Add missing message data.
2440
7474326c
PA
24412020-09-17 Pedro Alves <pedro@palves.net>
2442
2443 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2444
dd23068d
PA
24452020-09-17 Pedro Alves <pedro@palves.net>
2446
2447 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2448 full prototype.
2449
0640a543
PA
24502020-09-17 Pedro Alves <pedro@palves.net>
2451
2452 * gdb.python/py-as-string.c: Add cast.
2453
ef0cdbc1
PA
24542020-09-17 Pedro Alves <pedro@palves.net>
2455
2456 * gdb.base/sizeof.c (fill): Add cast.
2457
3a5eeb8b
PA
24582020-09-17 Pedro Alves <pedro@palves.net>
2459
2460 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2461
a8129512
PA
24622020-09-17 Pedro Alves <pedro@palves.net>
2463
2464 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2465 linkage name.
2466 * gdb.base/prologue.exp: Use print /d.
2467 * gdb.base/symbol-alias.exp: Handle C++ output.
2468 * gdb.base/symbol-alias2.c: Handle C++ output.
2469 [__cplusplus] (func): Explicitly specify linkage name.
2470
a83cdcb6
PA
24712020-09-17 Pedro Alves <pedro@palves.net>
2472
2473 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2474 (struct my_key_t): ... this. Adjust all references.
2475 (struct value_t): Rename to ...
2476 (struct my_value_t): ... this. Adjust all references.
2477 (create_map, add_map_element, create_map_map)
2478 (add_map_map_element): Add casts.
2479
d4bcee5c
PA
24802020-09-17 Pedro Alves <pedro@palves.net>
2481
2482 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2483 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2484
81f90489
PA
24852020-09-17 Pedro Alves <pedro@palves.net>
2486
2487 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2488
0a229804
PA
24892020-09-17 Pedro Alves <pedro@palves.net>
2490
2491 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2492 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2493 (charfoo, intfoo): Define full prototype.
2494 * gdb.base/ptype1.c (charfoo): Define full prototype.
2495 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2496 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2497
c3e5138d
PA
24982020-09-17 Pedro Alves <pedro@palves.net>
2499
2500 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2501 Don't define.
2502 (utf_32_string): Compile for both C and C++.
2503 * gdb.base/charset.exp: Use "print /d".
2504
151fdbad
PA
25052020-09-17 Pedro Alves <pedro@palves.net>
2506
2507 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2508 (nullptr): Rename to ...
2509 (null_ptr): ... this.
2510 * gdb.base/watchpoint.exp: Adjust to rename.
2511
18a25b64
PA
25122020-09-17 Pedro Alves <pedro@palves.net>
2513
2514 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2515 (three_not_flag): Add casts.
2516
11fac337
PA
25172020-09-17 Pedro Alves <pedro@palves.net>
2518
2519 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2520 char array.
2521 (main): Add references to Barrier, TestStrings, TestStringsH and
2522 TestStringsW.
2523 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2524 and expect a full prototype in C++.
2525
52626c58
PA
25262020-09-17 Pedro Alves <pedro@palves.net>
2527
2528 * gdb.base/nested-addr.c (main): Add cast.
2529 * gdb.base/nested-addr.exp: Use "print /d".
2530
52bb0902
PA
25312020-09-17 Pedro Alves <pedro@palves.net>
2532
2533 * gdb.base/break.exp (func): New. Use it throughout when
2534 expecting a function name.
2535
73e18ac9
PA
25362020-09-17 Pedro Alves <pedro@palves.net>
2537
2538 * gdb.base/display.exp: Issue "set print asm-demangle on".
2539
c8b18808
PA
25402020-09-17 Pedro Alves <pedro@palves.net>
2541
2542 * gdb.base/find.c: Include <string.h>.
2543 (init_bufs): Add cast.
2544 * gdb.base/find.exp: Issue "set print asm-demangle on".
2545
fe830662
TT
25462020-09-16 Tom Tromey <tromey@adacore.com>
2547
2548 PR gdb/26598:
2549 * gdb.base/skipcxx.exp: New file.
2550 * gdb.base/skipcxx.cc: New file.
2551
945ff6e2
TV
25522020-09-16 Tom de Vries <tdevries@suse.de>
2553
2554 PR testsuite/26617
2555 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2556 WITH_DEBUG_SECTIONS is defined.
2557 (xstr, str): New macro.
2558 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2559 to get start and size of _Dmain.
2560 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2561 using additional_flags.
2562
da1df1db
TBA
25632020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2564
2565 * gdb.base/bp-cmds-sourced-script.c: New file.
2566 * gdb.base/bp-cmds-sourced-script.exp: New test.
2567 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2568
337882d4
TV
25692020-09-16 Tom de Vries <tdevries@suse.de>
2570
2571 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2572 get the gdb prompt after issuing "monitor exit".
2573
7361f908
TV
25742020-09-16 Tom de Vries <tdevries@suse.de>
2575
2576 PR testsuite/26624
2577 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2578
4d91ddd3
TV
25792020-09-16 Tom de Vries <tdevries@suse.de>
2580
2581 PR testsuite/26618
2582 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2583
08cc37dd
TT
25842020-09-15 Tom Tromey <tromey@adacore.com>
2585
2586 PR rust/26197:
2587 * lib/rust-support.exp (rust_llvm_version): New proc.
2588 * gdb.rust/simple.exp: Check rust_llvm_version.
2589
ee6372f2
TV
25902020-09-14 Tom de Vries <tdevries@suse.de>
2591
2592 * gdb.rust/traits.exp: Fix PATH warning.
2593
dc3a371e
PA
25942020-09-13 Pedro Alves <pedro@palves.net>
2595
2596 * gdb.base/catch-follow-exec.c (main): Add explicit return
2597 statement.
2598 * gdb.base/catch-signal.c (main): Likewise.
2599 * gdb.base/condbreak-call-false.c (main): Likewise.
2600 * gdb.base/consecutive.c (main): Add explicit return
2601 statement and return type.
2602 * gdb.base/cursal.c (main): Add explicit return statement.
2603 * gdb.base/cvexpr.c (main): Likewise.
2604 * gdb.base/display.c (main): Add explicit return statement and
2605 return type.
2606 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2607 * gdb.base/endianity.c (main): Likewise.
2608 * gdb.base/execd-prog.c (main): Likewise.
2609 * gdb.base/gdb1090.c (main): Likewise.
2610 * gdb.base/info_qt.c (main): Likewise.
2611 * gdb.base/lineinc.c (main): Likewise.
2612 * gdb.base/load-command.c (main): Likewise.
2613 * gdb.base/macscp1.c (main): Likewise.
2614 * gdb.base/pr10179-a.c (main): Likewise.
2615 * gdb.base/quit-live.c (main): Likewise.
2616 * gdb.base/scope0.c (main): Likewise.
2617 * gdb.base/settings.c (main): Likewise.
2618 * gdb.base/stack-checking.c (main): Return int.
2619 * gdb.base/varargs.c (main): Add explicit return statement.
2620 * gdb.cp/ambiguous.cc (main): Likewise.
2621 * gdb.cp/anon-struct.cc (main): Likewise.
2622 * gdb.cp/anon-union.cc (main): Likewise.
2623 * gdb.cp/bool.cc (main): Likewise.
2624 * gdb.cp/bs15503.cc (main): Likewise.
2625 * gdb.cp/cplusfuncs.cc (main): Likewise.
2626 * gdb.cp/cttiadd.cc (main): Likewise.
2627 * gdb.cp/extern-c.cc (main): Likewise.
2628 * gdb.cp/filename.cc (main): Likewise.
2629 * gdb.cp/formatted-ref.cc (main): Likewise.
2630 * gdb.cp/mb-ctor.cc (main): Likewise.
2631 * gdb.cp/member-ptr.cc (main): Likewise.
2632 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2633 * gdb.cp/overload-const.cc (main): Likewise.
2634 * gdb.cp/paren-type.cc (main): Likewise.
2635 * gdb.cp/parse-lang.cc (main): Likewise.
2636 * gdb.cp/pr-1023.cc (main): Likewise.
2637 * gdb.cp/psmang1.cc (main): Likewise.
2638 * gdb.cp/readnow-language.cc (main): Likewise.
2639 * gdb.cp/ref-params.cc (main): Likewise.
2640 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2641 * gdb.cp/virtbase2.cc (main): Likewise.
2642 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2643 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2644 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2645 * gdb.mi/mi-console.c (main): Likewise.
2646 * gdb.mi/mi-read-memory.c (main): Likewise.
2647 * gdb.modula2/multidim.c (main): Likewise.
2648 * gdb.opt/inline-small-func.c (main): Likewise.
2649 * gdb.python/py-rbreak.c (main): Likewise.
2650 * gdb.stabs/exclfwd1.c (main): Likewise.
2651 * gdb.trace/qtro.c (main): Likewise.
2652
af26601c
PA
26532020-09-13 Pedro Alves <pedro@palves.net>
2654
2655 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2656 instead of getenv.
2657
2f4b83cd
PA
26582020-09-13 Pedro Alves <pedro@palves.net>
2659
2660 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2661 instead of spawning GDB with remote_spawn.
2662 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2663 gdb_spawn instead of spawning GDB with remote_spawn.
2664
c49da0e4
PA
26652020-09-13 Pedro Alves <pedro@palves.net>
2666
2667 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2668 file and add calls to first and second.
2669 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2670 add call to f.
2671
6791b117
PA
26722020-09-13 Pedro Alves <pedro@palves.net>
2673
2674 * gdb.mi/mi-break-qualified.cc: New file.
2675 * gdb.mi/mi-break-qualified.exp: New file.
2676 * lib/mi-support.exp (mi_create_breakpoint_multi)
2677 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2678 procedures.
2679 (mi_create_breakpoint_1): New, factored out from
2680 mi_create_breakpoint.
2681
3b8d4c5c
PA
26822020-09-13 Pedro Alves <pedro@palves.net>
2683
2684 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2685 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2686 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2687 (register_class): Delete.
2688 (main): Don't call register_class.
2689
d5f96005
PA
26902020-09-13 Pedro Alves <pedro@palves.net>
2691
2692 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2693 (do_tests): Remove "calling method for small class" test.
2694 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2695 (register_class): Delete.
2696 (main): Don't call register_class.
2697 * gdb.cp/call-method-register.exp: New file, based on bits removed
2698 from classes.exp.
2699 * gdb.cp/call-method-register.cc: New file, based on bits removed
2700 from classes.cc.
2701
77f2120b
PA
27022020-09-13 Pedro Alves <pedro@palves.net>
2703
2704 * gdb.base/msym-bp-2.c: New.
2705 * gdb.base/msym-bp-shl-lib.c: New file.
2706 * gdb.base/msym-bp-shl-main-2.c: New file.
2707 * gdb.base/msym-bp-shl-main.c: New file.
2708 * gdb.base/msym-bp-shl.exp: New file.
2709 * gdb.base/msym-bp.c: New file.
2710 * gdb.base/msym-bp.exp: New file.
2711
32aea73e
JB
27122020-09-13 Joel Brobecker <brobecker@adacore.com>
2713
2714 * gdb.base/default.exp: Change $_gdb_major to 11.
2715
2a67f09d
FW
27162020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2717 Felix Willgerodt <Felix.Willgerodt@intel.com>
2718
2719 * x86-avx512bf16.c: New file.
2720 * x86-avx512bf16.exp: Likewise.
2721 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2722
ad570dd7
TV
27232020-09-11 Tom de Vries <tdevries@suse.de>
2724
2725 PR exp/26602
2726 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2727
a56f7391
TBA
27282020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2729
2730 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2731
918619e5
AM
27322020-09-10 Alan Modra <amodra@gmail.com>
2733
2734 PR 26597
2735 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2736
cac1e71d
TV
27372020-09-08 Tom de Vries <tdevries@suse.de>
2738
2739 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2740 after gdb_starti_cmd.
2741
c5cd900e
AKS
27422020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2743
2744 * lib/fortran.exp (fortran_complex8): New proc.
2745 (fortran_complex16): New proc.
2746 * gdb.fortran/complex.exp: Use routines from fortran.exp
2747 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2748 * gdb.fortran/vla-ptr-info.exp: Likewise.
2749
8f5c6526
TV
27502020-09-03 Tom de Vries <tdevries@suse.de>
2751
2752 PR breakpoint/26546
2753 * gdb.base/label-without-address.exp: Runto main first.
2754
02c6f3f1
TT
27552020-09-02 Tom Tromey <tromey@adacore.com>
2756
2757 * gdb.ada/mi_var_access.exp: Test children of access variable.
2758 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2759 * gdb.ada/mi_var_array.exp: Update.
2760
efe24f05
KB
27612020-08-31 Kevin Buettner <kevinb@redhat.com>
2762
2763 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2764 on docker w/ AUFS storage driver.
2765
973695d6
KB
27662020-08-31 Kevin Buettner <kevinb@redhat.com>
2767
2768 * gdb.base/corefile2.exp (renamed binfile): New tests.
2769
f3bd50f1
SM
27702020-08-31 Simon Marchi <simon.marchi@efficios.com>
2771
2772 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2773
22b9b4b0
SL
27742020-08-31 Simon Marchi <simon.marchi@efficios.com>
2775
2776 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2777 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2778
8efaf6b3
SM
27792020-08-31 Simon Marchi <simon.marchi@efficios.com>
2780
2781 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2782 output, printing a "not saved" value from history and printing a
2783 convenience variable created from a "not saved" value.
2784
e840f2e3
TV
27852020-08-31 Tom de Vries <tdevries@suse.de>
2786
2787 * gdb.base/eh_return.exp: Use nopie.
2788
8f57f343
PA
27892020-08-28 Pedro Alves <pedro@palves.net>
2790
2791 * gdb.base/advance-until-multiple-locations.exp
2792 (advance_overload, until_overload): Adjust to match the
2793 frame/function header instead of the source line text.
2794
626d2320
TV
27952020-08-28 Tom de Vries <tdevries@suse.de>
2796
2797 * gdb.base/label-without-address.c: New test.
2798 * gdb.base/label-without-address.exp: New file.
2799
df631783
PA
28002020-08-27 Pedro Alves <pedro@palves.net>
2801
2802 PR gdb/26523
2803 PR gdb/26524
2804 * gdb.base/advance-until-multiple-locations.cc: New.
2805 * gdb.base/advance-until-multiple-locations.exp: New.
2806
48b076bb
SM
28072020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2808
2809 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2810
c2015ce4
AB
28112020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2812
2813 * gdb.arch/amd64-byte.exp: Make test names unique, use
2814 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2815 * gdb.arch/amd64-dword.exp: Likewise.
2816 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2817 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2818 unique.
2819 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2820 * gdb.arch/amd64-word.exp: Make test names unique, use
2821 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2822 * gdb.arch/i386-byte.exp: Make test names unique, use
2823 gdb_breakpoint.
2824 * gdb.arch/i386-word.exp: Likewise.
2825
995d3a19
SV
28262020-08-25 Shahab Vahedi <shahab@synopsys.com>
2827
2828 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2829
8cac2b31
SM
28302020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2831
2832 PR gdb/26532
2833 * gdb.threads/stepi-random-signal.exp: Update pattern.
2834
2bc19622
SM
28352020-08-25 Simon Marchi <simon.marchi@efficios.com>
2836
2837 PR gdb/26532
2838 * gdb.base/ui-redirect.exp: Update pattern.
2839
b04aa1fc
GB
28402020-08-25 Gary Benson <gbenson@redhat.com>
2841
2842 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2843 when compiling with clang.
8571e9c8 2844 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2845
9f68b453
GB
28462020-08-25 Gary Benson <gbenson@redhat.com>
2847
2848 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2849 Add additional_flags=-Wno-inaccessible-base when compiling
2850 with GCC >= 10.1 or clang. Add additional_flags=-w when
2851 compiling with GCC < 10.
2852
3945d2d7
GM
28532020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2854
2855 PR m2/26372
fc5d6901
SM
2856 * gdb.modula2/multidim.c: New file.
2857 * gdb.modula2/multidim.exp: New file.
3945d2d7 2858
60122dbe
SM
28592020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2860
2861 * lib/gdb.exp (runto): Always emit fail on internal error.
2862
1eb8556f
SM
28632020-08-24 Simon Marchi <simon.marchi@efficios.com>
2864
2865 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2866 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2867 Likewise.
2868 * gdb.threads/stepi-random-signal.exp: Likewise.
2869
33bf4c5c
TBA
28702020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2871
2872 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2873 * gdb.trace/strace.exp: Ditto.
2874
c2fd7fae
AKS
28752020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2876
2877 * gdb.fortran/vla-type.exp: Skip commands not required for
2878 the Flang compiled binaries after prologue fix.
2879
326afb72
TT
28802020-08-17 Tom de Vries <tdevries@suse.de>
2881 Tom Tromey <tromey@adacore.com>
2882
2883 PR rust/26197:
2884 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2885
3ae7ab99
TT
28862020-08-17 Tom Tromey <tromey@adacore.com>
2887
2888 * gdb.ada/mi_var_access.exp: New file.
2889 * gdb.ada/mi_var_access/mi_access.adb: New file.
2890 * gdb.ada/mi_var_access/pck.adb: New file.
2891 * gdb.ada/mi_var_access/pck.ads: New file.
2892
f569c1c5
TV
28932020-08-16 Tom de Vries <tdevries@suse.de>
2894
2895 PR gdb/25350
2896 * gdb.base/eh_return.c: New test.
2897 * gdb.base/eh_return.exp: New file.
2898
3d11c30a
TV
28992020-08-15 Tom de Vries <tdevries@suse.de>
2900
2901 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2902 (mixed_func_1d_): Use fortran_charlen_t in decl.
2903
547ce8f0
TV
29042020-08-15 Tom de Vries <tdevries@suse.de>
2905
2906 PR backtrace/26390
2907 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2908 Update expected pattern.
2909
a54a7f13
PA
29102020-08-13 Pedro Alves <pedro@palves.net>
2911
2912 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2913 * gdb.fortran/library-module.exp: Likewise.
2914 * gdb.fortran/logical.exp: Likewise.
2915 * gdb.fortran/module.exp: Likewise.
2916 * gdb.fortran/print_type.exp: Likewise.
2917 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2918 * gdb.fortran/vla-datatypes.exp: Likewise.
2919 * gdb.fortran/vla-history.exp: Likewise.
2920 * gdb.fortran/vla-ptr-info.exp: Likewise.
2921 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2922 * gdb.fortran/vla-ptype.exp: Likewise.
2923 * gdb.fortran/vla-sizeof.exp: Likewise.
2924 * gdb.fortran/vla-type.exp: Likewise.
2925 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2926 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2927 * gdb.fortran/vla-value-sub.exp: Likewise.
2928 * gdb.fortran/vla-value.exp: Likewise.
2929
7a82e903
PA
29302020-08-13 Pedro Alves <pedro@palves.net>
2931
2932 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2933 * gdb.ada/access_to_packed_array.exp: Likewise.
2934 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2935 * gdb.ada/addr_arith.exp: Likewise.
2936 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2937 * gdb.ada/arr_arr.exp: Likewise.
2938 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2939 * gdb.ada/array_bounds.exp: Likewise.
2940 * gdb.ada/array_of_variable_length.exp: Likewise.
2941 * gdb.ada/array_ptr_renaming.exp: Likewise.
2942 * gdb.ada/array_subscript_addr.exp: Likewise.
2943 * gdb.ada/arraydim.exp: Likewise.
2944 * gdb.ada/arrayparam.exp: Likewise.
2945 * gdb.ada/arrayptr.exp: Likewise.
2946 * gdb.ada/assign_1.exp: Likewise.
2947 * gdb.ada/assign_arr.exp: Likewise.
2948 * gdb.ada/atomic_enum.exp: Likewise.
2949 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2950 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2951 * gdb.ada/bias.exp: Likewise.
2952 * gdb.ada/boolean_expr.exp: Likewise.
2953 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2954 * gdb.ada/bp_enum_homonym.exp: Likewise.
2955 * gdb.ada/bp_inlined_func.exp: Likewise.
2956 * gdb.ada/bp_on_var.exp: Likewise.
2957 * gdb.ada/bp_range_type.exp: Likewise.
2958 * gdb.ada/bp_reset.exp: Likewise.
2959 * gdb.ada/call_pn.exp: Likewise.
2960 * gdb.ada/catch_assert_if.exp: Likewise.
2961 * gdb.ada/catch_ex.exp: Likewise.
2962 * gdb.ada/catch_ex_std.exp: Likewise.
2963 * gdb.ada/char_enum.exp: Likewise.
2964 * gdb.ada/char_param.exp: Likewise.
2965 * gdb.ada/complete.exp: Likewise.
2966 * gdb.ada/cond_lang.exp: Likewise.
2967 * gdb.ada/convvar_comp.exp: Likewise.
2968 * gdb.ada/dgopt.exp: Likewise.
2969 * gdb.ada/disc_arr_bound.exp: Likewise.
2970 * gdb.ada/display_nested.exp: Likewise.
2971 * gdb.ada/dot_all.exp: Likewise.
2972 * gdb.ada/dyn_loc.exp: Likewise.
2973 * gdb.ada/dyn_stride.exp: Likewise.
2974 * gdb.ada/excep_handle.exp: Likewise.
2975 * gdb.ada/expr_delims.exp: Likewise.
2976 * gdb.ada/expr_with_funcall.exp: Likewise.
2977 * gdb.ada/exprs.exp: Likewise.
2978 * gdb.ada/fin_fun_out.exp: Likewise.
2979 * gdb.ada/fixed_cmp.exp: Likewise.
2980 * gdb.ada/formatted_ref.exp: Likewise.
2981 * gdb.ada/frame_arg_lang.exp: Likewise.
2982 * gdb.ada/frame_args.exp: Likewise.
2983 * gdb.ada/fullname_bp.exp: Likewise.
2984 * gdb.ada/fun_addr.exp: Likewise.
2985 * gdb.ada/fun_in_declare.exp: Likewise.
2986 * gdb.ada/fun_overload_menu.exp: Likewise.
2987 * gdb.ada/fun_renaming.exp: Likewise.
2988 * gdb.ada/funcall_char.exp: Likewise.
2989 * gdb.ada/funcall_param.exp: Likewise.
2990 * gdb.ada/funcall_ptr.exp: Likewise.
2991 * gdb.ada/funcall_ref.exp: Likewise.
2992 * gdb.ada/homonym.exp: Likewise.
2993 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2994 * gdb.ada/info_auto_lang.exp: Likewise.
2995 * gdb.ada/info_exc.exp: Likewise.
2996 * gdb.ada/info_types.exp: Likewise.
2997 * gdb.ada/int_deref.exp: Likewise.
2998 * gdb.ada/interface.exp: Likewise.
2999 * gdb.ada/iwide.exp: Likewise.
3000 * gdb.ada/lang_switch.exp: Likewise.
3001 * gdb.ada/length_cond.exp: Likewise.
3002 * gdb.ada/maint_with_ada.exp: Likewise.
3003 * gdb.ada/mi_catch_assert.exp: Likewise.
3004 * gdb.ada/mi_catch_ex.exp: Likewise.
3005 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3006 * gdb.ada/mi_dyn_arr.exp: Likewise.
3007 * gdb.ada/mi_ex_cond.exp: Likewise.
3008 * gdb.ada/mi_exc_info.exp: Likewise.
3009 * gdb.ada/mi_interface.exp: Likewise.
3010 * gdb.ada/mi_prot.exp: Likewise.
3011 * gdb.ada/mi_ref_changeable.exp: Likewise.
3012 * gdb.ada/mi_string_access.exp: Likewise.
3013 * gdb.ada/mi_task_arg.exp: Likewise.
3014 * gdb.ada/mi_task_info.exp: Likewise.
3015 * gdb.ada/mi_var_array.exp: Likewise.
3016 * gdb.ada/mi_var_union.exp: Likewise.
3017 * gdb.ada/mi_variant.exp: Likewise.
3018 * gdb.ada/minsyms.exp: Likewise.
3019 * gdb.ada/mod_from_name.exp: Likewise.
3020 * gdb.ada/nested.exp: Likewise.
3021 * gdb.ada/null_array.exp: Likewise.
3022 * gdb.ada/optim_drec.exp: Likewise.
3023 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3024 * gdb.ada/packed_array_assign.exp: Likewise.
3025 * gdb.ada/packed_tagged.exp: Likewise.
3026 * gdb.ada/pp-rec-component.exp: Likewise.
3027 * gdb.ada/print_chars.exp: Likewise.
3028 * gdb.ada/print_pc.exp: Likewise.
3029 * gdb.ada/ptr_typedef.exp: Likewise.
3030 * gdb.ada/ptype_arith_binop.exp: Likewise.
3031 * gdb.ada/ptype_array.exp: Likewise.
3032 * gdb.ada/ptype_field.exp: Likewise.
3033 * gdb.ada/ptype_tagged_param.exp: Likewise.
3034 * gdb.ada/ptype_union.exp: Likewise.
3035 * gdb.ada/py_range.exp: Likewise.
3036 * gdb.ada/py_taft.exp: Likewise.
3037 * gdb.ada/rdv_wait.exp: Likewise.
3038 * gdb.ada/rec_comp.exp: Likewise.
3039 * gdb.ada/rec_return.exp: Likewise.
3040 * gdb.ada/ref_param.exp: Likewise.
3041 * gdb.ada/ref_tick_size.exp: Likewise.
3042 * gdb.ada/rename_subscript_param.exp: Likewise.
3043 * gdb.ada/repeat_dyn.exp: Likewise.
3044 * gdb.ada/same_component_name.exp: Likewise.
3045 * gdb.ada/same_enum.exp: Likewise.
3046 * gdb.ada/scalar_storage.exp: Likewise.
3047 * gdb.ada/set_wstr.exp: Likewise.
3048 * gdb.ada/small_reg_param.exp: Likewise.
3049 * gdb.ada/str_binop_equal.exp: Likewise.
3050 * gdb.ada/str_ref_cmp.exp: Likewise.
3051 * gdb.ada/str_uninit.exp: Likewise.
3052 * gdb.ada/sub_variant.exp: Likewise.
3053 * gdb.ada/sym_print_name.exp: Likewise.
3054 * gdb.ada/taft_type.exp: Likewise.
3055 * gdb.ada/tagged.exp: Likewise.
3056 * gdb.ada/tagged_access.exp: Likewise.
3057 * gdb.ada/task_bp.exp: Likewise.
3058 * gdb.ada/task_switch_in_core.exp: Likewise.
3059 * gdb.ada/tasks.exp: Likewise.
3060 * gdb.ada/tick_last_segv.exp: Likewise.
3061 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3062 * gdb.ada/type_coercion.exp: Likewise.
3063 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3064 * gdb.ada/unchecked_union.exp: Likewise.
3065 * gdb.ada/uninitialized_vars.exp: Likewise.
3066 * gdb.ada/var_arr_attrs.exp: Likewise.
3067 * gdb.ada/var_arr_typedef.exp: Likewise.
3068 * gdb.ada/var_rec_arr.exp: Likewise.
3069 * gdb.ada/variant-record.exp: Likewise.
3070 * gdb.ada/variant.exp: Likewise.
3071 * gdb.ada/variant_record_packed_array.exp: Likewise.
3072 * gdb.ada/varsize_limit.exp: Likewise.
3073 * gdb.ada/whatis_array_val.exp: Likewise.
3074 * gdb.ada/widewide.exp: Likewise.
3075 * gdb.ada/win_fu_syms.exp: Likewise.
3076
30772020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3078
3079 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3080
10c381b5
AB
30812020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3082
3083 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3084 unset the array variable.
3085
8f34b746
TV
30862020-08-03 Tom de Vries <tdevries@suse.de>
3087
3088 PR symtab/26333
3089 * lib/dwarf.exp (DW_LNE_user): New proc.
3090 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3091 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3092
0245e136
KB
30932020-07-31 Kevin Buettner <kevinb@redhat.com>
3094
3095 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3096 to 'uintptr_t'
3097 (inttypes.h): Include.
3098
9ef1ec5d
KB
30992020-07-31 Kevin Buettner <kevinb@redhat.com>
3100
3101 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3102 (C5_24k): Delete.
3103 (C5_8k, C5_64k, C5_256k): New macros.
3104 (buf_ro): Allocate 256 KiB of initialized data.
3105
4c55e970
TBA
31062020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3107
3108 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3109 that attempt to overwrite an existing condition with a condition
3110 that fails parsing and also with a condition that parses fine
3111 but contains junk at the end.
3112
1e620590
TBA
31132020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3114
3115 * gdb.base/condbreak-bad.c: New test.
3116 * gdb.base/condbreak-bad.exp: New file.
3117
e12dcc50
TV
31182020-07-30 Tom de Vries <tdevries@suse.de>
3119
3120 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3121 out of ...
3122 (GDBInfoModuleSymbols::check_entry): ... here.
3123 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3124 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3125 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3126
6cc64caa
TV
31272020-07-30 Tom de Vries <tdevries@suse.de>
3128
3129 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3130 "__class_some_module_Number_t" optional.
3131
90fd07fc
TV
31322020-07-29 Tom de Vries <tdevries@suse.de>
3133
3134 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3135 multiple locations.
3136
f5c79e97
TV
31372020-07-29 Tom de Vries <tdevries@suse.de>
3138
3139 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3140 rather than function name.
3141
f75a0693
AB
31422020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3143
3144 PR symtab/26270:
3145 * gdb.cp/disasm-func-name.cc: New file.
3146 * gdb.cp/disasm-func-name.exp: New file.
3147
4888741a
TT
31482020-07-28 Tom Tromey <tromey@adacore.com>
3149
3150 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3151 'varval' location.
3152
43d5901d
AB
31532020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3154
3155 * gdb.python/py-unwind.py: Update to make use of a register
3156 descriptor.
3157
14fa8fb3
AB
31582020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3159
3160 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3161
e79eb02f
AB
31622020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3163
3164 PR fortran/23051
3165 PR fortran/26139
3166 * gdb.fortran/class-allocatable-array.exp: New file.
3167 * gdb.fortran/class-allocatable-array.f90: New file.
3168 * gdb.fortran/pointer-to-pointer.exp: New file.
3169 * gdb.fortran/pointer-to-pointer.f90: New file.
3170
876518dd
TV
31712020-07-25 Tom de Vries <tdevries@suse.de>
3172
3173 PR symtab/26243
3174 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3175 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3176
6dcfb80a
TV
31772020-07-24 Tom de Vries <tdevries@suse.de>
3178
3179 PR testsuite/26293
3180 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3181
e7bc9db8
PA
31822020-07-23 Pedro Alves <pedro@palves.net>
3183
3184 * gdb.server/server-kill.exp (prepare): New, factored out from the
3185 top level.
3186 (kill_server): New.
3187 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3188 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3189
78344df7
AB
31902020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3191
3192 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3193
25dfed24
SL
31942020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3195
3196 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3197 Initialize to empty string at top level.
3198 (gdb_wrapper_init): Revert check for file existence on build.
3199 Build the wrapper in its default place, not a build-specific
3200 location. When host == build, make the pathname absolute.
3201 (gdb_compile): Delete leftover declaration of
3202 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3203 string instead of uninitialized.
3204
7da515fd
KB
32052020-07-22 Kevin Buettner <kevinb@redhat.com>
3206
3207 * gdb.base/corefile2.exp: New file.
3208 * gdb.base/coremaker2.exp: New file.
3209
9c5ec5c2
KB
32102020-07-22 Kevin Buettner <kevinb@redhat.com>
3211
3212 * gdb.base/coredump-filter.exp: Add second
3213 non-Private-Shared-Anon-File test.
3214 (test_disasm): Rename binfile for test which is expected
3215 to fail.
3216
f9e233c9
KB
32172020-07-22 Kevin Buettner <kevinb@redhat.com>
3218
3219 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3220 data in core file".
3221 * gdb.base/coremaker.c (buf2ro): New global.
3222 (mmapdata): Add a read-only mmap mapping.
3223
94c265d7
KB
32242020-07-22 Kevin Buettner <kevinb@redhat.com>
3225
3226 PR corefiles/25631
3227 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3228 New test.
3229 * gdb.base/coremaker.c (buf3): New global.
3230 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3231 flags.
3232
32332020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3234
3235 * gdb.base/coremaker.c (filler_ro): New global constant.
3236
32fa152e
TT
32372020-07-22 Tom Tromey <tromey@adacore.com>
3238
3239 * gdb.ada/mi_prot.exp: New file.
3240 * gdb.ada/mi_prot/pkg.adb: New file.
3241 * gdb.ada/mi_prot/pkg.ads: New file.
3242 * gdb.ada/mi_prot/prot.adb: New file.
3243
c8474dc3
TBA
32442020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3245
3246 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3247 loads two JITers.
3248
baf8791e
AB
32492020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3250
3251 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3252
f7306dac
AB
32532020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3254
3255 * gdb.python/py-arch-reg-names.exp: Additional tests.
3256
6d3d6e4b
TV
32572020-07-21 Tom de Vries <tdevries@suse.de>
3258
3259 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3260 breakpoint locations".
3261 * gdb.reverse/solib-reverse.exp: Same.
3262
803d0592
TV
32632020-07-21 Tom de Vries <tdevries@suse.de>
3264
3265 * gdb.reverse/step-reverse.c (callee): Merge statements.
3266
e9bdc510
TV
32672020-07-21 Tom de Vries <tdevries@suse.de>
3268
3269 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3270 line numbers for some variables.
3271
f0f9e75a
TV
32722020-07-21 Tom de Vries <tdevries@suse.de>
3273
3274 * gdb.opt/inline-locals.c (init_array): New func.
3275 (func1): Use init_array.
3276 * gdb.opt/inline-locals.exp: Update pattern.
3277
bd460ecb
TV
32782020-07-21 Tom de Vries <tdevries@suse.de>
3279
3280 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3281 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3282
ae5369e7
LC
32832020-07-20 Ludovic Courtès <ludo@gnu.org>
3284
3285 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3286 * gdb.guile/types-module.exp: Remove "ERROR:" from
3287 regexps since Guile 3.0 no longer prints that.
3288
68cf161c
LC
32892020-07-20 Ludovic Courtès <ludo@gnu.org>
3290
3291 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3292 error regexp to match on Guile 2.2.
3293
c14b4913
GB
32942020-07-20 Gary Benson <gbenson@redhat.com>
3295
3296 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3297 with clang.
3298
b243ba58
TV
32992020-07-20 Tom de Vries <tdevries@suse.de>
3300
3301 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3302 (omp_set_lock_in_order): New function.
3303 (single_scope, multi_scope, nested_func, nested_parallel): Use
3304 omp_set_lock_in_order and omp_unset_lock.
3305 (main): Init and destroy lock and lock2.
3306
c06ad8b5
TV
33072020-07-20 Tom de Vries <tdevries@suse.de>
3308
3309 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3310
6e22f117
TV
33112020-07-20 Tom de Vries <tdevries@suse.de>
3312
3313 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3314
33176ea7
TV
33152020-07-17 Tom de Vries <tdevries@suse.de>
3316
3317 * gdb.base/valgrind-infcall-2.c: New test.
3318 * gdb.base/valgrind-infcall-2.exp: New file.
3319 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3320
90c3ec2d
TV
33212020-07-17 Tom de Vries <tdevries@suse.de>
3322
3323 * gdb.dlang/circular.c (found): Use found_label as label name.
3324 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3325 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3326 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3327 * gdb.dwarf2/ada-linkage-name.exp: Same.
3328 * gdb.dwarf2/arr-subrange.exp: Same.
3329 * gdb.dwarf2/atomic-type.exp: Same.
3330 * gdb.dwarf2/comp-unit-lang.exp: Same.
3331 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3332 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3333 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3334 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3335 * gdb.dwarf2/implptr-64bit.exp: Same.
3336 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3337 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3338 * gdb.dwarf2/imported-unit.exp: Same.
3339 * gdb.dwarf2/main-subprogram.exp: Same.
3340 * gdb.dwarf2/missing-type-name.exp: Same.
3341 * gdb.dwarf2/nonvar-access.exp: Same.
3342 * gdb.dwarf2/struct-with-sig.exp: Same.
3343 * gdb.dwarf2/typedef-void-finish.exp: Same.
3344 * gdb.dwarf2/void-type.exp: Same.
3345
10da644d
TV
33462020-07-17 Tom de Vries <tdevries@suse.de>
3347
3348 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3349 src parameter.
3350 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3351 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3352 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3353 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3354 * gdb.dwarf2/dwz.exp: Same.
3355 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3356 * gdb.dwarf2/implref-array.exp: Same.
3357 * gdb.dwarf2/implref-const.exp: Same.
3358 * gdb.dwarf2/implref-global.exp: Same.
3359 * gdb.dwarf2/implref-struct.exp: Same.
3360 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3361 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3362 * gdb.dwarf2/var-access.exp: Same.
3363 * gdb.dwarf2/varval.exp: Same.
3364 * gdb.trace/entry-values.exp: Same.
3365
315e6afc
TV
33662020-07-17 Tom de Vries <tdevries@suse.de>
3367
3368 * lib/dwarf.exp (Dwarf::extern): Remove.
3369 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3370 * gdb.dlang/circular.exp: Same.
3371 * gdb.dwarf2/comp-unit-lang.exp: Same.
3372 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3373 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3374 * gdb.dwarf2/dwz.exp: Same.
3375 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3376 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3377 * gdb.dwarf2/imported-unit.exp: Same.
3378 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3379
5597c940
SL
33802020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3381
3382 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3383 Use double quotes instead of single quotes.
3384
d0ce17d8
CT
33852020-07-16 Caroline Tice <cmtice@google.com>
3386
3387 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3388 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3389
853772cc
TV
33902020-07-16 Tom de Vries <tdevries@suse.de>
3391
3392 * lib/dwarf.exp (program): Initialize _line.
3393 (DW_LNE_end_sequence): Reinitialize _line.
3394 (DW_LNS_advance_line): Update _line.
3395 (line): New proc.
3396 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3397 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3398 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3399 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3400 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3401 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3402
fe07b572
AB
34032020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3404
3405 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3406 generic.
3407
52781cce
TV
34082020-07-15 Tom de Vries <tdevries@suse.de>
3409
3410 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3411 is_amd64_regs_target.
3412
3dcc261c
AB
34132020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3416 * gdb.fortran/ptype-on-functions.f90: Likewise.
3417
054a0959
SM
34182020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3419
3420 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3421 values in documentation for addr_size to 4 and 8.
3422
ccb9eba6
AB
34232020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3424
3425 * gdb.arch/amd64-osabi.exp: Update.
3426 * gdb.arch/arm-disassembler-options.exp: Update.
3427 * gdb.arch/powerpc-disassembler-options.exp: Update.
3428 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3429 * gdb.arch/s390-disassembler-options.exp: Update.
3430 * gdb.base/all-architectures.exp.tcl: Update.
3431 * gdb.base/attach-pie-noexec.exp: Update.
3432 * gdb.base/catch-syscall.exp: Update.
3433 * gdb.xml/tdesc-arch.exp: Update.
3434
025a39a7
TV
34352020-07-14 Tom de Vries <tdevries@suse.de>
3436
3437 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3438 (local_gettid): ... this.
3439 (fn): Update.
3440
74e4b667
SL
34412020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3442
3443 * gdb.base/info_sources.exp: Skip directory match tests on
3444 remote hosts.
3445
f413dd74
GB
34462020-07-13 Gary Benson <gbenson@redhat.com>
3447
3448 * gdb.base/savedregs.exp (caller): Use parentheses to
3449 make expected expression evaluation ordering explicit.
3450
915771bb
GB
34512020-07-13 Gary Benson <gbenson@redhat.com>
3452
3453 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3454
2a122642
GB
34552020-07-13 Gary Benson <gbenson@redhat.com>
3456
3457 * gdb.base/bigcore.c (main): Use a volatile pointer when
3458 attempting to trigger a SIGSEGV.
3459 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3460 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3461 * gdb.base/savedregs.c (thrower): Likewise.
3462 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3463
3f00c730
GB
34642020-07-13 Gary Benson <gbenson@redhat.com>
3465
3466 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3467 defining and using VLA structure fields into...
3468 * gdb.base/vla-struct-fields.c: New file.
3469 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3470 tests into...
3471 * gdb.base/vla-struct-fields.exp: New file.
3472
963eeee4
TV
34732020-07-13 Tom de Vries <tdevries@suse.de>
3474
3475 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3476 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3477 * gdb.base/gold-gdb-index.exp: Same.
3478 * gdb.base/morestack.exp: Same.
3479
0ed35c9a
DX
34802020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3481
3482 PR rust/26121
3483 * gdb.rust/modules.rs: Prevent linker from discarding test
3484 symbol.
3485
4fdba23d
PA
34862020-07-10 Pedro Alves <pedro@palves.net>
3487
3488 PR gdb/26199
3489 * gdb.multi/multi-target.c (exit_thread): New.
3490 (thread_start): Break loop if EXIT_THREAD.
3491 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3492 (top level) Call test_no_resumed.
3493
15f3b077
TT
34942020-07-08 Tom Tromey <tromey@adacore.com>
3495
3496 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3497 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3498
9fc501fd
AB
34992020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 PR python/22748
3502 * gdb.opt/inline-frame-tailcall.c: New file.
3503 * gdb.opt/inline-frame-tailcall.exp: New file.
3504 * gdb.python/py-unwind-inline.c: New file.
3505 * gdb.python/py-unwind-inline.exp: New file.
3506 * gdb.python/py-unwind-inline.py: New file.
3507
64cb3757
AB
35082020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3509
3510 * gdb.python/py-arch-reg-groups.exp: New file.
3511
0f767f94
AB
35122020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3513
3514 * gdb.python/py-arch-reg-names.exp: New file.
3515
87dbc774
AB
35162020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3517
3518 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3519 gdb.PendingFrame.architecture method.
3520
d8cc8af6
TV
35212020-07-06 Tom de Vries <tdevries@suse.de>
3522
3523 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3524
3c8ea5be
PA
35252020-07-03 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3528 explicitly write negative numbers.
3529 * gdb.base/structs2.exp: Adjust expected output.
3530
bf90c83a
PA
35312020-07-03 Pedro Alves <palves@redhat.com>
3532
3533 * gdb.base/charset.c (init_string): Change all char parameters to
3534 unsigned char parameters.
3535
2eb82157
PA
35362020-07-03 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/call-sc.exp (start_scalars_test): Use
3539 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3540 * gdb.base/overlays.c: Remove references to PARAMS.
3541 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3542 * gdb.base/reread.exp: Don't set 'prototypes' global.
3543 * gdb.base/structs.exp (start_structs_test): Use
3544 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3545 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3546 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3547 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3548 call.
3549 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3550
9adda7af
PA
35512020-07-03 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.base/m32rovly.c: Delete.
3554 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3555
2a17c803
PW
35562020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3557
3558 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3559 of gdb_py_test_multiple.
3560 * gdb.python/py-cmd.exp: Likewise.
3561 * gdb.python/py-events.exp: Likewise.
3562 * gdb.python/py-function.exp: Likewise.
3563 * gdb.python/py-inferior.exp: Likewise.
3564 * gdb.python/py-infthread.exp: Likewise.
3565 * gdb.python/py-linetable.exp: Likewise.
3566 * gdb.python/py-parameter.exp: Likewise.
3567 * gdb.python/py-value.exp: Likewise.
3568
b011fe1a
TV
35692020-06-30 Tom de Vries <tdevries@suse.de>
3570
3571 PR testsuite/26175
3572 * lib/future.exp (gdb_default_target_compile): Detect and handle
3573 early_flags.
3574
df5b8876
SM
35752020-06-29 Simon Marchi <simon.marchi@efficios.com>
3576
3577 * boards/simavr.exp (gdb_load): Catch errors when closing
3578 previous connection. Close connection, wait for process and
3579 unset simavr_spawn_id on failure.
3580
a3ca48cd
TV
35812020-06-29 Tom de Vries <tdevries@suse.de>
3582
3583 * lib/gdb.exp (unknown): Make test-case unresolved.
3584
b0237c0e
TV
35852020-06-29 Tom de Vries <tdevries@suse.de>
3586
3587 PR gdb/25475
3588 * gdb.server/solib-list.exp: Verify that the symbol reload
3589 confirmation question is asked.
3590
c0b3b3bd
PW
35912020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3592
3593 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3594 have a input seq nr in each pass message.
fe4c3d43 3595 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3596 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3597 * gdb.python/python.exp: Make test names unique,
3598 use gdb_test_multiline instead of gdb_py_test_multiple,
3599 use $gdb_test_name.
3600 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3601
1776e3e5
NA
36022020-06-26 Nick Alcock <nick.alcock@oracle.com>
3603
3604 * configure.ac: Add --enable-libctf.
3605 * aclocal.m4: sinclude ../config/enable.m4.
3606 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3607 * lib/gdb.exp (skip_ctf_tests): Use it.
3608 * gdb.base/ctf-constvars.exp: Error message tweak.
3609 * gdb.base/ctf-ptype.exp: Likewise.
3610 * configure: Regenerate.
3611
f53b3eeb
GB
36122020-06-26 Gary Benson <gbenson@redhat.com>
3613
3614 * gdb.cp/try_catch.cc: Include string.h.
3615 (main): Replace comparison against string literal with
3616 strcmp, avoiding build failure with -Wstring-compare.
3617 Add "marker test-complete".
3618 * gdb.cp/try_catch.exp: Run the test to the above marker,
3619 then verify that the value of "test" is still true.
3620
6d74da72
AB
36212020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3622
3623 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3624
2e52d038
AB
36252020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3626
3627 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3628
3b9fce96
AB
36292020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3630
3631 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3632 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3633 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3634 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3635 * gdb.arch/riscv-tdesc-loading.exp: New file.
3636
ed69cbc8
AB
36372020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3638
3639 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3640
767a879e
AB
36412020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3642
3643 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3644 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3645 * gdb.arch/riscv-tdesc-regs.c: New file.
3646 * gdb.arch/riscv-tdesc-regs.exp: New file.
3647
221db974
PA
36482020-06-24 Pedro Alves <palves@redhat.com>
3649
3650 * gdb.arch/amd64-entry-value-paramref.exp: Use
3651 prepare_for_testing_full and don't pass "c++" for the .S file
3652 build spec.
3653 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3654 $options, since it's an assembly file. Remove -Wno-deprecated.
3655 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3656 compiling C++ programs.
3657
331733cd
PA
36582020-06-24 Pedro Alves <palves@redhat.com>
3659
3660 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3661 Clang, add "-Wno-unknown-warning-option" to the options.
3662
caa7fd04
AB
36632020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3664
3665 * gdb.xml/tdesc-reload.c: New file.
3666 * gdb.xml/tdesc-reload.exp: New file.
3667 * gdb.xml/maint-xml-dump-01.xml: New file.
3668 * gdb.xml/maint-xml-dump-02.xml: New file.
3669 * gdb.xml/maint-xml-dump.exp: New file.
3670
bb8d1260
SL
36712020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3672
3673 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3674 Adjust for omitted commands when TUI is disabled.
3675
7e4b9c4c
GB
36762020-06-23 Gary Benson <gbenson@redhat.com>
3677 Pedro Alves <palves@redhat.com>
3678
3679 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3680 * gdb.cp/nsimport.cc: Likewise.
3681 * gdb.cp/nsnested.cc: Likewise.
3682 * gdb.cp/nsnoimports.cc: Likewise.
3683 * gdb.cp/nsusing.cc: Likewise.
3684 * gdb.cp/smartp.cc: Likewise.
3685 * gdb.python/py-pp-integral.c: Likewise.
3686 * gdb.python/py-pp-re-notag.c: Likewise.
3687
2e573c0a
GB
36882020-06-23 Gary Benson <gbenson@redhat.com>
3689
3690 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3691 * gdb.cp/nsimport.cc: Likewise.
3692 * gdb.cp/nsnested.cc: Likewise.
3693 * gdb.cp/nsnoimports.cc: Likewise.
3694 * gdb.cp/nsusing.cc: Likewise.
3695 * gdb.cp/smartp.cc: Likewise.
3696 * gdb.python/py-pp-integral.c: Likewise.
3697 * gdb.python/py-pp-re-notag.c: Likewise.
3698
746ebfe8
PW
36992020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3700
3701 * gdb.base/default-args.exp: New test.
3702 * gdb.base/default-args.c: New file.
3703 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3704 * gdb.base/default.exp: Update to new help text.
3705 * gdb.base/help.exp: Likewise.
3706 * gdb.base/page.exp: Likewise.
3707 * gdb.base/style.exp: Likewise.
3708 * gdb.guile/guile.exp: Likewise.
3709 * gdb.python/python.exp: Likewise.
3710
e822f2cd
SL
37112020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3712
3713 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3714 remote host. Fix search path syntax on Windows host.
3715
48e9cc84
PW
37162020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3717
3718 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3719 over 'exec-file-mismatch'.
3720 * gdb.base/attach.c: Mark should_exit volatile.
3721 * gdb.base/attach2.c: Likewise. Add a comment explaining
3722 why the sleep cannot be big.
3723 * gdb.base/attach3.c: New file.
3724
160f8a8f
SL
37252020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3726
3727 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3728 prefix optional.
3729
4d91c2a4
SL
37302020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3731
3732 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3733 for remote host.
3734
87f83f20
SL
37352020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3736 Hafiz Abid Qadeer <abidh@codesourcery.com>
3737
3738 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3739 file sent to remote host.
3740 (top level): Allow int32_t as type of 32-bit register.
3741
37ab8655
TV
37422020-06-19 Tom de Vries <tdevries@suse.de>
3743
3744 * lib/gdb.exp (gdb_note): New proc.
3745 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3746 (gdb_default_target_compile): ... here. Only call
3747 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3748 (use_gdb_compile): Change to array.
3749 (toplevel): Update sets of use_gdb_compile to specify language.
3750 Warn about default_target_compile override. Store dejagnu's version
3751 of default_target_compile in dejagnu_default_target_compile.
3752
a8a56685
TV
37532020-06-18 Tom de Vries <tdevries@suse.de>
3754
3755 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3756 (default_gdb_init): ... here.
3757
581bea2c
SL
37582020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3759
3760 Fix TUI support checks in gdb.tui tests.
3761
3762 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3763 just say UNSUPPORTED.
3764 * gdb.tui/corefile-run.exp: Likewise.
3765 * gdb.tui/empty.exp: Likewise.
3766 * gdb.tui/list-before.exp: Likewise.
3767 * gdb.tui/list.exp: Likewise.
3768 * gdb.tui/main.exp: Likewise.
3769 * gdb.tui/regs.exp: Likewise.
3770 * gdb.tui/resize.exp: Likewise.
3771 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3772 * gdb.tui/tui-layout-asm.exp: Likewise.
3773 * gdb.tui/tui-missing-src.exp: Likewise.
3774 * gdb.tui/winheight.exp: Likewise.
3775 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3776
05e682e3
SL
37772020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3778
3779 Fix TCL error in gdb.python/py-format-string.exp.
3780
3781 * gdb.python/py-format-string.exp: Move test for python support
3782 earlier, out of function body.
3783
efb763a5
SM
37842020-06-15 Simon Marchi <simon.marchi@efficios.com>
3785
3786 * gdb.base/index-cache-load-twice.c: New.
3787 * gdb.base/index-cache-load-twice.exp: New.
3788
43327b20
KS
37892020-06-17 Keith Seitz <keiths@redhat.com>
3790
99cf27cf 3791 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3792 when executing "gdb --configuration".
3793
081e778c
TV
37942020-06-17 Tom de Vries <tdevries@suse.de>
3795
3796 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3797 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3798 conditional on presence of gdb_tcl_unknown.
3799 (gdb_finish): Make override undo conditional on presence of
3800 gdb_tcl_unknown.
3801
d2d1ea20
TT
38022020-06-16 Tom Tromey <tom@tromey.com>
3803
3804 * gdb.python/tui-window.py (failwin): New function. Register it
3805 as a TUI window type.
3806 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3807
c802e8a7
GB
38082020-06-16 Gary Benson <gbenson@redhat.com>
3809
3810 * gdb.python/py-nested-maps.c (create_map): Add missing return
3811 value.
3812 (create_map_map): Likewise.
3813
ff08abb8
TBA
38142020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3815
3816 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3817 variable.
3818 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3819 and use the already-defined 'options' variable.
3820
a29d5112
AB
38212020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3822 Tom de Vries <tdevries@suse.de>
3823
3824 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3825 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3826 (gdb_setup_known_globals): New proc.
3827 (gdb_cleanup_globals): New proc.
3828 * lib/gdb.exp (load_lib): New override proc.
3829 (gdb_stdin_log_init): Set var in_file as persistent global.
3830 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3831 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3832 fpc_compiler as persistent global.
3833
8c74a764
TV
38342020-06-12 Tom de Vries <tdevries@suse.de>
3835
3836 * lib/tuiterm.exp (spawn): Rename to ...
3837 (tui_spawn): ... this.
3838 (toplevel): Move rename of spawn ...
3839 (gdb_init_tuiterm): ... here. New proc.
3840 (gdb_finish_tuiterm): New proc.
3841 * lib/gdb.exp (gdb_finish_hooks): New global var.
3842 (gdb_finish): Handle gdb_finish_hooks.
3843 (tuiterm_env): New proc.
3844 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3845 tuiterm_env.
3846 * gdb.tui/basic.exp: Same.
3847 * gdb.tui/corefile-run.exp: Same.
3848 * gdb.tui/empty.exp: Same.
3849 * gdb.tui/list-before.exp: Same.
3850 * gdb.tui/list.exp: Same.
3851 * gdb.tui/main.exp: Same.
3852 * gdb.tui/new-layout.exp: Same.
3853 * gdb.tui/regs.exp: Same.
3854 * gdb.tui/resize.exp: Same.
3855 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3856 * gdb.tui/tui-layout-asm.exp: Same.
3857 * gdb.tui/tui-missing-src.exp: Same.
3858 * gdb.tui/winheight.exp: Same.
3859
26783bce
TV
38602020-06-12 Tom de Vries <tdevries@suse.de>
3861
3862 PR testsuite/26110
3863 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3864 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3865
2b4e6a3f
TT
38662020-06-11 Tom Tromey <tom@tromey.com>
3867
3868 PR gdb/18318:
3869 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3870 floating point tests.
3871
2f33032a
KS
38722020-06-11 Keith Seitz <keiths@redhat.com>
3873
3874 PR gdb/21356
3875 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3876 vla_struct.
3877 Add new struct vla_typedef and union vla_typedef_union and
3878 corresponding instantiation objects.
3879 Initialize new objects.
3880 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3881 and vla_typedef_union_object.
3882 Fixup type for vla_struct_object.
3883
a8baf0a3
TV
38842020-06-11 Tom de Vries <tdevries@suse.de>
3885
3886 * lib/gdb.exp (with_override): New proc, factored out of ...
3887 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3888
7ab96794
TV
38892020-06-10 Tom de Vries <tdevries@suse.de>
3890
3891 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3892
cab5c3b7
SM
38932020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3894
3895 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3896 parameter, update callers.
3897
f8c41851
SM
38982020-06-04 Simon Marchi <simon.marchi@efficios.com>
3899
3900 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3901 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3902 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3903
1c07a73f
TV
39042020-06-04 Tom de Vries <tdevries@suse.de>
3905
3906 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3907
95146b5d
TV
39082020-06-04 Tom de Vries <tdevries@suse.de>
3909
3910 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3911 exp_continue.
3912
0cfcd4f0
TV
39132020-06-04 Tom de Vries <tdevries@suse.de>
3914
3915 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3916
f9b5d5ea
TV
39172020-06-03 Tom de Vries <tdevries@suse.de>
3918
3919 PR symtab/26046
3920 * gdb.cp/breakpoint-locs-2.cc: New test.
3921 * gdb.cp/breakpoint-locs.cc: New test.
3922 * gdb.cp/breakpoint-locs.exp: New file.
3923 * gdb.cp/breakpoint-locs.h: New test.
3924
5144dfba
TV
39252020-06-03 Tom de Vries <tdevries@suse.de>
3926
3927 PR testsuite/25609
3928 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3929 value of global verbose.
3930 * gdb.base/jit-elf.exp: Same.
3931 * gdb.base/jit-reader.exp: Same.
3932
621eacdf
TV
39332020-06-02 Tom de Vries <tdevries@suse.de>
3934
3935 * gdb.dwarf2/multidictionary.exp: Don't use
3936 gdb_spawn_with_cmdline_opts.
3937
1313c56e
AB
39382020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3939
3940 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3941 use_header case.
3942 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3943 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3944 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3945 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3946 * gdb.dwarf2/dw2-inline-header.c: New file.
3947 * gdb.dwarf2/dw2-inline-header.h: New file.
3948
f68f85b5
PA
39492020-05-30 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3952 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3953
678048e8
GB
39542020-05-29 Gary Benson <gbenson@redhat.com>
3955
3956 * gdb.compile/compile-cplus.exp (additional_flags): Also
3957 set when building with clang.
3958 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3959 when building with clang.
3960
9fcafd23
GB
39612020-05-29 Gary Benson <gbenson@redhat.com>
3962
3963 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3964 building with clang.
3965 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3966
735d5a07
GB
39672020-05-29 Gary Benson <gbenson@redhat.com>
3968
3969 * gdb.cp/koenig.exp (prepare_for_testing): Add
3970 additional_flags=-Wno-unused-comparison.
3971 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3972
4ad2c6a0
GB
39732020-05-28 Gary Benson <gbenson@redhat.com>
3974
3975 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3976 statement.
3977
09fe663e
GB
39782020-05-28 Gary Benson <gbenson@redhat.com>
3979
3980 * gdb.cp/classes.exp (prepare_for_testing): Add
3981 additional_flags=-Wno-deprecated-register.
3982 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3983 * gdb.cp/misc.exp: Likewise.
3984
cee00f17
GB
39852020-05-28 Gary Benson <gbenson@redhat.com>
3986
3987 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3988 (test_op_new::operator new): Add return statement.
3989 (test_op_new_array::operator new[]): Likewise.
3990
636edd00
PA
39912020-05-27 Pedro Alves <palves@redhat.com>
3992
3993 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3994 check. Use test_gdb_complete_unique instead of
3995 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3996 test_gdb_complete_multiple instead of
3997 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3998
c2b75043
LM
39992020-05-27 Luis Machado <luis.machado@linaro.org>
4000
4001 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4002 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4003 * gdb.arch/arm-disassembler-options.exp: Likewise.
4004 * gdb.arch/arm-disp-step.exp: Likewise.
4005 * gdb.arch/thumb-prologue.exp: Likewise.
4006 * gdb.base/async.exp: Likewise.
4007 * gdb.base/auxv.exp: Likewise.
4008 * gdb.base/complex-parts.exp: Likewise.
4009 * gdb.base/ena-dis-br.exp: Likewise.
4010 * gdb.base/foll-exec.exp: Likewise.
4011 * gdb.base/permissions.exp: Likewise.
4012 * gdb.base/relocate.exp: Likewise.
4013 * gdb.base/return2.exp: Likewise.
4014 * gdb.base/sigbpt.exp: Likewise.
4015 * gdb.base/siginfo-obj.exp: Likewise.
4016 * gdb.cp/converts.exp: Likewise.
4017 * gdb.cp/exceptprint.exp: Likewise.
4018 * gdb.cp/inherit.exp: Likewise.
4019 * gdb.cp/nsnoimports.exp: Likewise.
4020 * gdb.cp/virtbase2.exp: Likewise.
4021 * gdb.mi/mi-var-cmd.exp: Likewise.
4022 * gdb.mi/var-cmd.c: Likewise.
4023
53a47a3e
TT
40242020-05-26 Tom Tromey <tromey@adacore.com>
4025
4026 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4027
0bc2354b
TT
40282020-05-26 Tom Tromey <tromey@adacore.com>
4029
4030 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4031 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4032 type.
4033 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4034 variable.
4035
0db49895
CBG
40362020-05-26 Christian Biesinger <cbiesinger@google.com>
4037
4038 * Makefile.in: Use = instead of == for the test command
4039 for portability.
4040
40d22035
TV
40412020-05-26 Tom de Vries <tdevries@suse.de>
4042
4043 * gdb.base/gold-gdb-index-2.c: New test.
4044 * gdb.base/gold-gdb-index.c: New test.
4045 * gdb.base/gold-gdb-index.exp: New file.
4046 * gdb.base/gold-gdb-index.h: New test.
4047
043e2e02
TV
40482020-05-25 Tom de Vries <tdevries@suse.de>
4049
4050 * boards/gold-gdb-index.exp: New file.
4051
462f72c5
SM
40522020-05-25 Simon Marchi <simon.marchi@efficios.com>
4053
4054 * boards/simavr.exp: New file.
4055
6cf66e76
SM
40562020-05-25 Simon Marchi <simon.marchi@efficios.com>
4057
4058 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4059 * gdb.base/inferior-args.exp: New file.
4060 * gdb.base/inferior-args.c: New file.
4061
75d04512
SM
40622020-05-25 Simon Marchi <simon.marchi@efficios.com>
4063
4064 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4065 inferior_args. Pass it to gdb_reload.
4066 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4067 inferior_args.
4068 (gdb_reload): Add inferior_args argument.
4069 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4070 pass it to gdbserver_run.
4071 * boards/native-gdbserver.exp: Do not set noargs.
4072 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4073 inferior_args argument.
4074 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4075 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4076 * gdb.base/args.exp: Likewise.
4077
42cf1844
TV
40782020-05-25 Tom de Vries <tdevries@suse.de>
4079
4080 * lib/gdb.exp (exec_is_pie): Add comment.
4081
8f7d38ef
TV
40822020-05-25 Tom de Vries <tdevries@suse.de>
4083
4084 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4085 instead of $binfile in the untested message.
4086
465e1b0f
TV
40872020-05-25 Tom de Vries <tdevries@suse.de>
4088
4089 PR testsuite/26031
4090 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4091
3c5a0e02
TV
40922020-05-25 Tom de Vries <tdevries@suse.de>
4093
4094 * boards/gold.exp: New file.
4095
0a4f5f8c
TT
40962020-05-23 Tom Tromey <tom@tromey.com>
4097
4098 * gdb.base/style.exp: Remove completion styling test.
4099 * lib/gdb-utils.exp (style): Remove completion styles.
4100
eca1f90c
TT
41012020-05-23 Tom Tromey <tom@tromey.com>
4102
4103 * gdb.base/style.exp: Add completion styling test.
4104 * lib/gdb-utils.exp (style): Add completion styles.
4105
7c13f4e8
AB
41062020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4107
4108 * gdb.base/annota1.exp: Update expected results.
4109 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4110 test name.
4111 * gdb.cp/annota3.exp: Update expected results.
4112
41977d16
SM
41132020-05-20 Simon Marchi <simon.marchi@efficios.com>
4114
4115 PR gdb/26016
4116 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4117 against MAP_FAILED.
4118 * gdb.base/coremaker.c (mmapdata): Likewise.
4119 * gdb.base/jit-reader-host.c (main): Likewise.
4120 * gdb.base/sym-file-loader.c (load): Likewise.
4121 (load_shlib): Likewise.
4122
b4757f2e
TT
41232020-05-20 Tom Tromey <tromey@adacore.com>
4124
4125 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4126
9a0bacfb
TV
41272020-05-20 Tom de Vries <tdevries@suse.de>
4128
4129 PR symtab/25833
4130 * gdb.base/with-mf-inc.c: New test.
4131 * gdb.base/with-mf-main.c: New test.
4132 * gdb.base/with-mf.exp: New file.
4133
76571211
TT
41342020-05-19 Tom Tromey <tromey@adacore.com>
4135
4136 * gdb.rust/simple.exp: Restore missing test result.
4137
4cd9f3d5
TV
41382020-05-19 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.base/gdb-caching-proc.exp: Fix typo.
4141
7d874253
TT
41422020-05-19 Tom Tromey <tromey@adacore.com>
4143
4144 * gdb.rust/simple.exp: Add some test descriptions.
4145 (test_one_slice): Use with_test_prefix.
4146
1d727695
TV
41472020-05-18 Tom de Vries <tdevries@suse.de>
4148
4149 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4150
7f32a4d5
PA
41512020-05-17 Pedro Alves <palves@redhat.com>
4152
4153 PR gdb/25741
4154 * gdb.base/hw-sw-break-same-address.exp: New file.
4155
7cfd74cf
PA
41562020-05-16 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4159 LAST_LOADED_FILE accordingly.
4160
57b4f16e
PW
41612020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4162
4163 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4164
7c05caf7
PW
41652020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4166
4167 * gdb.base/help.exp: Test apropos and help for commands
4168 having aliases. Fixed comments not starting with an
4169 upper-case letter or not finishing with a dot.
4170
7aa1b46f
PW
41712020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4172
3b3aaacb
PW
4173 * gdb.base/alias.exp: Update help output check.
4174
57b4f16e 41752020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4176
7aa1b46f
PW
4177 * gdb.base/default.exp: Update output following fixes.
4178
0605465f
PW
41792020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4180
4181 * gdb.base/alias.exp: Test aliases starting with a prefix of
4182 another alias.
4183
86e4e63d
GB
41842020-05-15 Gary Benson <gbenson@redhat.com>
4185
4186 * gdb.base/info-os.c (main): Add return statement.
4187 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4188 * gdb.base/large-frame-2.c (func): Likewise.
4189 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4190 * gdb.base/pr10179-b.c (foo2): Likewise.
4191 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4192 * gdb.base/watch-cond.c (func): Likewise.
4193 * gdb.multi/goodbye.c (verylongfun): Likewise.
4194 * gdb.multi/hello.c (commonfun): Likewise.
4195 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4196 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4197 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4198 Likewise.
4199 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4200 * gdb.threads/interrupt-while-step-over.c (child_function):
4201 Likewise.
4202 * gdb.trace/actions-changed.c (end): Likewise.
4203
163df4df
GB
42042020-05-15 Gary Benson <gbenson@redhat.com>
4205
4206 * gdb.opencl/callfuncs.exp: Report when test skipped.
4207 * gdb.opencl/convs_casts.exp: Likewise.
4208 * gdb.opencl/datatypes.exp: Likewise.
4209 * gdb.opencl/operators.exp: Likewise.
4210 * gdb.opencl/vec_comps.exp: Likewise.
4211
6dbc505a
TV
42122020-05-15 Tom de Vries <tdevries@suse.de>
4213
4214 * gdb.base/align.exp.in: Rename to ...
4215 * gdb.base/align.exp.tcl: ... this.
4216 * gdb.base/align-c++.exp: Update.
4217 * gdb.base/align-c.exp: Update.
4218 * gdb.base/all-architectures.exp.in: Rename to ...
4219 * gdb.base/all-architectures.exp: ... this.
4220 * gdb.base/all-architectures-0.exp: Update.
4221 * gdb.base/all-architectures-1.exp: Update.
4222 * gdb.base/all-architectures-2.exp: Update.
4223 * gdb.base/all-architectures-3.exp: Update.
4224 * gdb.base/all-architectures-4.exp: Update.
4225 * gdb.base/all-architectures-5.exp: Update.
4226 * gdb.base/all-architectures-6.exp: Update.
4227 * gdb.base/all-architectures-7.exp: Update.
4228 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4229 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4230 * gdb.base/infcall-nested-structs-c++.exp: Update.
4231 * gdb.base/infcall-nested-structs-c.exp: Update.
4232 * gdb.base/info-types.exp.in: Rename to ...
4233 * gdb.base/info-types.exp.tcl: ... this.
4234 * gdb.base/info-types-c++.exp: Update.
4235 * gdb.base/info-types-c.exp: Update.
4236 * gdb.base/max-depth.exp.in: Rename to ...
4237 * gdb.base/max-depth.exp.tcl: ... this.
4238 * gdb.base/max-depth-c++.exp: Update.
4239 * gdb.base/max-depth-c.exp: Update.
4240 * gdb.cp/cpexprs.exp.in: Rename to ...
4241 * gdb.cp/cpexprs.exp.tcl: ... this.
4242 * gdb.cp/cpexprs-debug-types.exp: Update.
4243 * gdb.cp/cpexprs.exp: Update.
4244 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4245 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4246 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4247 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4248 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4249 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4250 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4251 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4252 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4253 * gdb.dwarf2/clang-debug-names.exp: Update.
4254
d1034d78
AB
42552020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4256
4257 * lib/check-test-names.exp: Remove code that prevents this file
4258 loading when tests are run in parallel.
4259
3c5c3649
PA
42602020-05-15 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.multi/multi-kill.exp (start_inferior): Remove
4263 'testpid' parameter. Refer to namespace variable directly.
4264 (testpid): Declare as namespace variable.
4265
272c36b8
PA
42662020-05-15 Pedro Alves <palves@redhat.com>
4267
4268 * gdb.multi/multi-kill.exp: Wrap in namespace.
4269 (start_inferior): Add TESTPID parameter. Use it instead of the
4270 testpid global.
4271 (top level): Define empty TESTPID array, and pass it down to
4272 start_inferior.
4273
02eba61a
TV
42742020-05-14 Tom de Vries <tdevries@suse.de>
4275
4276 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4277 output.
4278
971a3747
TV
42792020-05-14 Tom de Vries <tdevries@suse.de>
4280
4281 * gdb.base/align.exp: Split into ...
4282 * gdb.base/align.exp.in: ...
4283 * gdb.base/align-c++.exp: ...
4284 * gdb.base/align-c.exp: ... these.
4285 * gdb.base/infcall-nested-structs.exp: Split into ...
4286 * gdb.base/infcall-nested-structs.exp.in: ...
4287 * gdb.base/infcall-nested-structs-c++.exp: ...
4288 * gdb.base/infcall-nested-structs-c.exp: ... these.
4289 * gdb.base/info-types.exp: Split into ...
4290 * gdb.base/info-types.exp.in: ...
4291 * gdb.base/info-types-c++.exp: ...
4292 * gdb.base/info-types-c.exp: ... these.
4293 * gdb.base/max-depth.exp: Split into ...
4294 * gdb.base/max-depth.exp.in: ...
4295 * gdb.base/max-depth-c++.exp: ...
4296 * gdb.base/max-depth-c.exp: ... these.
4297 * gdb.cp/infcall-nodebug.exp: Split into ...
4298 * gdb.cp/infcall-nodebug.exp.in: ...
4299 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4300 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4301 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4302 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4303
a05575d3
TBA
43042020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4305 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.multi/multi-exit.c: New file.
4308 * gdb.multi/multi-exit.exp: New file.
4309 * gdb.multi/multi-kill.c: New file.
4310 * gdb.multi/multi-kill.exp: New file.
4311
6ad82919
TBA
43122020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4313
4314 * gdb.base/annota1.exp: Update the expected output.
4315 * gdb.cp/annota2.exp: Ditto.
4316
843f4d93
AB
43172020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4318
4319 * lib/check-test-names.exp: Disable when testing is being run in
4320 parallel.
4321
c7c66341
TV
43222020-05-12 Tom de Vries <tdevries@suse.de>
4323
4324 * gdb.base/jit-elf.exp: Fix string concat.
4325
1b59ca1c
TV
43262020-05-12 Tom de Vries <tdevries@suse.de>
4327
4328 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4329 messages.
4330
b4991d29
TV
43312020-05-12 Tom de Vries <tdevries@suse.de>
4332
4333 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4334
dbb0ab10
TV
43352020-05-12 Tom de Vries <tdevries@suse.de>
4336
4337 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4338 * gdb.ada/mi_catch_ex.exp: Same.
4339 * gdb.ada/mi_catch_ex_hand.exp: Same.
4340
7549fed8
TV
43412020-05-12 Tom de Vries <tdevries@suse.de>
4342
4343 * gdb.fortran/complex.exp: Use with_test_prefix.
4344
af2d5cd8
TV
43452020-05-12 Tom de Vries <tdevries@suse.de>
4346
4347 * gdb.trace/passcount.exp: Fix test-names.
4348
7c121311
TV
43492020-05-12 Tom de Vries <tdevries@suse.de>
4350
4351 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4352
c9f3b40e
TV
43532020-05-12 Tom de Vries <tdevries@suse.de>
4354
4355 * gdb.gdb/complaints.exp: Use with_test_prefix.
4356 * gdb.xml/tdesc-regs.exp: Same.
4357 * gdb.opt/inline-locals.exp: Fix test name.
4358
111b33f0
TV
43592020-05-12 Tom de Vries <tdevries@suse.de>
4360
4361 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4362 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4363 * gdb.dwarf2/implref-struct.exp: Same.
4364 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4365 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4366
ebf47080
SM
43672020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4368
4369 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4370
d30dcd12
AB
43712020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4372
4373 * lib/check-test-names.exp (all_test_names): New module variable.
4374 (counts): Add 'duplicates' field.
4375 (_check_duplicates): New procedure.
4376 (check): Also check for duplicates.
4377 (do_log_summary): Print duplicates count.
4378 (do_reset_vars): Reset counter for duplicate test names, and
4379 discard all know test names.
4380
34584c09
AB
43812020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * lib/gdb.exp: Include check-test-names.exp library.
4384 * lib/check-test-names.exp: New file.
4385
e0002117
TV
43862020-05-11 Tom de Vries <tdevries@suse.de>
4387
4388 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4389
53f539a3
KS
43902020-05-11 Keith Seitz <keiths@redhat.com>
4391
4392 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4393
113ee09a
TV
43942020-05-11 Tom de Vries <tdevries@suse.de>
4395
4396 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4397 * gdb.cp/cpexprs.exp.in: .. here.
4398 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4399 cpexprs.exp.
4400
ba3e70b0
KS
44012020-05-11 Keith Seitz <keiths@redhat.com>
4402
4403 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4404 test names.
4405 * gdb.ada/arrayptr.exp: Likewise.
4406 * gdb.ada/assign_arr.exp: Likewise.
4407 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4408 * gdb.ada/bp_on_var.exp: Likewise.
4409 * gdb.ada/call_pn.exp: Likewise.
4410 * gdb.ada/complete.exp: Likewise.
4411 * gdb.ada/fun_overload_menu.exp: Likewise.
4412 * gdb.ada/funcall_param.exp: Likewise.
4413 * gdb.ada/funcall_ref.exp: Likewise.
4414 * gdb.ada/packed_array_assign.exp: Likewise.
4415 * gdb.ada/same_component_name.exp: Likewise.
4416 * gdb.ada/type_coercion.exp: Likewise.
4417 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4418 * gdb.ada/variant_record_packed_array.exp: Likewise.
4419
3ee6bb11
TV
44202020-05-11 Tom de Vries <tdevries@suse.de>
4421
4422 PR symtab/25941
4423 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4424 out of ...
4425 * gdb.dwarf2/clang-debug-names.exp: ... here.
4426 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4427 clang-debug-names.exp.in.
4428 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4429 * gdb.dwarf2/clang-debug-names-2.c: New test.
4430
86cd6bc8
AKS
44312020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4432
4433 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4434 (fortran_runto_main): New Proc, fortran version of runto_main.
4435 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4436 * gdb.fortran/array-bounds.exp: Likewise.
4437 * gdb.fortran/array-slices.exp: Likewise.
4438 * gdb.fortran/block-data.exp: Likewise.
4439 * gdb.fortran/charset.exp: Likewise.
4440 * gdb.fortran/common-block.exp: Likewise.
4441 * gdb.fortran/complex.exp: Likewise.
4442 * gdb.fortran/derived-type-function.exp: Likewise.
4443 * gdb.fortran/derived-type.exp: Likewise.
4444 * gdb.fortran/info-modules.exp: Likewise.
4445 * gdb.fortran/info-types.exp: Likewise.
4446 * gdb.fortran/intrinsics.exp: Likewise.
4447 * gdb.fortran/library-module.exp: Likewise.
4448 * gdb.fortran/logical.exp: Likewise.
4449 * gdb.fortran/max-depth.exp: Likewise.
4450 * gdb.fortran/module.exp: Likewise.
4451 * gdb.fortran/multi-dim.exp: Likewise.
4452 * gdb.fortran/nested-funcs.exp: Likewise.
4453 * gdb.fortran/print-formatted.exp: Likewise.
4454 * gdb.fortran/print_type.exp: Likewise.
4455 * gdb.fortran/printing-types.exp: Likewise.
4456 * gdb.fortran/ptr-indentation.exp: Likewise.
4457 * gdb.fortran/ptype-on-functions.exp: Likewise.
4458 * gdb.fortran/subarray.exp: Likewise.
4459 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4460 * gdb.fortran/vla-datatypes.exp: Likewise.
4461 * gdb.fortran/vla-history.exp: Likewise.
4462 * gdb.fortran/vla-ptr-info.exp: Likewise.
4463 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4464 * gdb.fortran/vla-ptype.exp: Likewise.
4465 * gdb.fortran/vla-sizeof.exp: Likewise.
4466 * gdb.fortran/vla-type.exp: Likewise.
4467 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4468 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4469 * gdb.fortran/vla-value-sub.exp: Likewise.
4470 * gdb.fortran/vla-value.exp: Likewise.
4471 * gdb.fortran/whatis_type.exp: Likewise.
4472 * gdb.mi/mi-var-child-f.exp: Likewise.
4473
6dc55ce9 44742020-05-09 Tom de Vries <tdevries@suse.de>
4475
4476 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4477
283cb58c
TV
44782020-05-08 Tom de Vries <tdevries@suse.de>
4479
4480 * gdb.dwarf2/clang-debug-names.c: New test.
4481 * gdb.dwarf2/clang-debug-names.exp: New file.
4482
ac4a4f1c
SM
44832020-05-06 Simon Marchi <simon.marchi@efficios.com>
4484
4485 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4486 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4487
24fe640b
TV
44882020-05-06 Tom de Vries <tdevries@suse.de>
4489
4490 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4491 breakpoint is at a "recommended breakpoint location".
4492 * gdb.reverse/consecutive-reverse.exp: Same.
4493
0d8683a3
TV
44942020-05-06 Tom de Vries <tdevries@suse.de>
4495
4496 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4497 address.
4498
b8983c46
TV
44992020-05-06 Tom de Vries <tdevries@suse.de>
4500
4501 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4502
abf6d805
TV
45032020-05-06 Tom de Vries <tdevries@suse.de>
4504
4505 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4506 info for r.
4507
0fc2a808
TV
45082020-05-06 Tom de Vries <tdevries@suse.de>
4509
4510 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4511 necessary.
4512
873dd427
TV
45132020-05-06 Tom de Vries <tdevries@suse.de>
4514
4515 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4516 void.
4517
7c99e7e2
TV
45182020-05-06 Tom de Vries <tdevries@suse.de>
4519
4520 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4521 of ...
4522 * gdb.base/async.exp: ... here.
4523 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4524 "recommended breakpoint location".
4525
6173d6a6
TV
45262020-05-06 Tom de Vries <tdevries@suse.de>
4527
4528 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4529
6015a067
TV
45302020-05-04 Tom de Vries <tdevries@suse.de>
4531
4532 * gdb.base/async.exp: Check whether instruction addresses are a
4533 "recommended breakpoint location".
4534
3b6acaee
TT
45352020-05-03 Tom Tromey <tom@tromey.com>
4536
4537 * gdb.base/sepdebug.exp: Remove "catch" test.
4538 * gdb.base/break.exp: Remove "catch" test.
4539 * gdb.base/default.exp: Update expected output.
4540
5beb4d17
TV
45412020-05-02 Tom de Vries <tdevries@suse.de>
4542
4543 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4544 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4545 * gdb.arch/i386-mpx-map.exp: Same.
4546 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4547 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4548 * gdb.arch/i386-mpx.exp: Same.
4549
8caf140d
TV
45502020-05-02 Tom de Vries <tdevries@suse.de>
4551
4552 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4553
693196cb
TV
45542020-05-01 Tom de Vries <tdevries@suse.de>
4555
4556 * gdb.ada/operator_bp.exp: Allow more than required amount of
4557 breakpoint.
4558
53ae0aa9
TV
45592020-05-01 Tom de Vries <tdevries@suse.de>
4560
4561 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4562
ee9d1e5f
HD
45632020-04-30 Hannes Domani <ssbssa@yahoo.de>
4564
4565 PR gdb/18706
4566 * gdb.cp/stub-array-size.cc: New test.
4567 * gdb.cp/stub-array-size.exp: New file.
4568 * gdb.cp/stub-array-size.h: New test.
4569 * gdb.cp/stub-array-size2.cc: New test.
4570
d5cf82c0
HD
45712020-04-30 Hannes Domani <ssbssa@yahoo.de>
4572
4573 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4574 output to the new format.
4575
42e165c3
SM
45762020-04-29 Simon Marchi <simon.marchi@efficios.com>
4577
4578 * gdb.base/break.exp: Use with_test_prefix.
4579
6e4e3fe1
TV
45802020-04-29 Tom de Vries <tdevries@suse.de>
4581
4582 * lib/gdb.exp (debug_types): New proc.
4583 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4584 * gdb.python/py-symtab.exp: Same.
4585
d642b692
HD
45862020-04-29 Hannes Domani <ssbssa@yahoo.de>
4587
4588 PR gdb/17320
4589 * gdb.base/pretty-array.c: New test.
4590 * gdb.base/pretty-array.exp: New file.
4591
ea90f227
TV
45922020-04-29 Tom de Vries <tdevries@suse.de>
4593
4594 PR symtab/25889
4595 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4596 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4597 and include cpexprs.exp.
4598
a65189c9
TV
45992020-04-28 Mark Williams <mark@myosotissp.com>
4600
4601 PR gdb/24480
4602 * dw4-toplevel-types.exp: Test for top level types.
4603 * dw4-toplevel-types.cc: Test for top level types.
4604
32d1f47a
TBA
46052020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4606
4607 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4608 (theads -> threads).
4609
56a4f5a1
TV
46102020-04-28 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4613
0b2f8a3b
TV
46142020-04-28 Tom de Vries <tdevries@suse.de>
4615
4616 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4617
5390c717
TV
46182020-04-28 Tom de Vries <tdevries@suse.de>
4619
4620 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4621
15cd93d0
TV
46222020-04-28 Tom de Vries <tdevries@suse.de>
4623
4624 * gdb.dwarf2/main-foo.c: New test.
4625 * gdb.dwarf2/struct-with-sig.exp: New file.
4626
d472f0fb
TV
46272020-04-25 Tom de Vries <tdevries@suse.de>
4628
4629 * boards/debug-types.exp: New file.
4630
8d840e05
AB
46312020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4632
4633 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4634
bcfe6157
TT
46352020-04-24 Tom Tromey <tom@tromey.com>
4636
4637 PR symtab/12707:
4638 * gdb.python/py-symbol.exp: Update expected results for
4639 linkage_name test.
4640 * gdb.cp/print-demangle.exp: New file.
4641 * gdb.base/c-linkage-name.exp: Fix test.
4642 * gdb.guile/scm-symbol.exp: Update expected results for
4643 linkage_name test.
4644
f049a313
TT
46452020-04-24 Tom Tromey <tom@tromey.com>
4646
4647 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4648 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4649 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4650 assembler.
4651
7cf28874
TV
46522020-04-24 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4655 C++.
4656
dac2fef7
TT
46572020-04-24 Tom Tromey <tromey@adacore.com>
4658
4659 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4660 values.
4661 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4662 values. Update test for minimal encodings.
4663 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4664 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4665 values. Update test for minimal encodings.
4666
1acda803
TT
46672020-04-24 Tom Tromey <tromey@adacore.com>
4668
4669 PR python/23662:
4670 * gdb.ada/variant.exp: Add Python checks.
4671 * gdb.rust/simple.exp: Add dynamic type checks.
4672
adfb9815
TT
46732020-04-24 Tom Tromey <tromey@adacore.com>
4674
4675 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4676 Make array type matching more lax.
4677 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4678 * gdb.ada/mi_variant.exp: New file.
4679 * gdb.ada/mi_variant/pck.ads: New file.
4680 * gdb.ada/mi_variant/pkg.adb: New file.
4681 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4682 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4683
7d79de9a
TT
46842020-04-24 Tom Tromey <tromey@adacore.com>
4685
4686 * gdb.ada/variant.exp: Add dynamic field offset tests.
4687 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4688 * gdb.ada/variant/pkg.adb: Add new variables.
4689
f8e89861
TT
46902020-04-24 Tom Tromey <tromey@adacore.com>
4691
4692 * gdb.ada/variant.exp: New file
4693 * gdb.ada/variant/pkg.adb: New file
4694 * gdb.ada/variant/pck.adb: New file
4695
86e887ae
TV
46962020-04-24 Tom de Vries <tdevries@suse.de>
4697
4698 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4699
88428775
TV
47002020-04-24 Tom de Vries <tdevries@suse.de>
4701
4702 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4703 flags.
4704
4e86f6e7
TV
47052020-04-24 Tom de Vries <tdevries@suse.de>
4706
4707 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4708
2016d3e6
TV
47092020-04-24 Tom de Vries <tdevries@suse.de>
4710
4711 * lib/gdb.exp (default_gdb_start): Handle eof.
4712 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4713 failure.
4714 * gdb.base/readnever.exp: Handle clean_restart failure.
4715
70bc38f5
TV
47162020-04-23 Tom de Vries <tdevries@suse.de>
4717
4718 * gdb.base/decl-before-def.exp: Run to main and print a again.
4719
de82891c
TV
47202020-04-23 Tom de Vries <tdevries@suse.de>
4721
4722 * gdb.base/decl-before-def-decl.c: New test.
4723 * gdb.base/decl-before-def-def.c: New test.
4724 * gdb.base/decl-before-def.exp: New file.
4725
96038148
TV
47262020-04-23 Tom de Vries <tdevries@suse.de>
4727
4728 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4729
54ac3df1
TV
47302020-04-22 Tom de Vries <tdevries@suse.de>
4731
4732 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4733 debug_info_offset.
4734 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4735 before $objsfile in the line line.
4736
714534e1
TV
47372020-04-22 Tom de Vries <tdevries@suse.de>
4738
4739 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4740
16a7dbf4
MS
47412020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4742
4743 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4744 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4745 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4746 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4747 * gdb.base/jit-protocol.h: Update definitions to match all usage
4748 contexts.
4749
47502020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4751
4752 * gdb.base: Rename all jit related test and source files.
4753
47542020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4755
4756 * gdb.base/jit-reader.exp: Relax register output check.
4757
317d2668
TV
47582020-04-22 Tom de Vries <tdevries@suse.de>
4759
4760 PR symtab/25764
4761 * gdb.base/psym-external-decl-2.c: New test.
4762 * gdb.base/psym-external-decl.c: New test.
4763 * gdb.base/psym-external-decl.exp: New file.
4764 * gdb.threads/tls.exp: Add PR25807 kfail.
4765
eea9e357
TV
47662020-04-22 Tom de Vries <tdevries@suse.de>
4767
4768 PR symtab/25801
4769 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4770 in "info source" output.
4771
3d5afab3
TV
47722020-04-22 Tom de Vries <tdevries@suse.de>
4773
4774 PR symtab/25700
4775 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4776 symtab for imported_unit.c.
4777
b32102f6
GB
47782020-04-21 Gary Benson <gbenson@redhat.com>
4779
4780 * gdb.base/advance.c (func): New argument, to match call site.
4781 (func2, func3): Add return statements.
4782
d43b7a2d
TBA
47832020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4784
4785 * gdb.multi/run-only-second-inf.c: New file.
4786 * gdb.multi/run-only-second-inf.exp: New file.
4787
d89edf9b
MM
47882020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4789
4790 * gdb.btrace/multi-inferior.c: New test.
4791 * gdb.btrace/multi-inferior.exp: New file.
4792
1a476b6d
MM
47932020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4794
4795 * gdb.btrace/enable-new-thread.c: New test.
4796 * gdb.btrace/enable-new-thread.exp: New file.
4797
4778a5f8
TV
47982020-04-21 Tom de Vries <tdevries@suse.de>
4799
4800 PR gdb/25471
4801 * gdb.threads/killed-outside.c: New test.
4802 * gdb.threads/killed-outside.exp: New file.
4803
9b2c992c
GB
48042020-04-20 Gary Benson <gbenson@redhat.com>
4805
4806 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4807 * gdb.base/nested-subp2.exp: Likewise.
4808 * gdb.base/nested-subp3.exp: Likewise.
4809
b5d1d6f7
GB
48102020-04-20 Gary Benson <gbenson@redhat.com>
4811
4812 * gdb.base/nested-subp1.exp: Disable test when using clang.
4813 * gdb.base/nested-subp2.exp: Likewise.
4814 * gdb.base/nested-subp3.exp: Likewise.
4815
25230285
GB
48162020-04-20 Gary Benson <gbenson@redhat.com>
4817
4818 * gdb.cp/exception.cc: Fix compilation error with clang.
4819
fa93cc8f
GB
48202020-04-20 Gary Benson <gbenson@redhat.com>
4821
809730f3 4822 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4823
e0c45f30
GB
48242020-04-20 Gary Benson <gbenson@redhat.com>
4825
4826 * gdb.base/jit-main.c: Fix compilation error with clang.
4827
4ddfec93
KR
48282020-04-17 Kamil Rytarowski <n54@gmx.com>
4829
4830 * gdb.base/attach-twice.c: Include "sys/types.h".
4831 (PTRACE_ATTACH): Add fallback definition.
4832 (main): Pass `0' to the 4th argument of `ptrace'.
4833
2bed205e
KR
48342020-04-17 Kamil Rytarowski <n54@gmx.com>
4835
4836 * gdb.base/fork-running-state.c: Include "signal.h".
4837
0743fc83
TT
48382020-04-17 Tom Tromey <tromey@adacore.com>
4839
4840 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4841 Update tests.
4842 * gdb.btrace/cpu.exp: Update tests.
4843 * gdb.base/maint.exp: Update tests.
4844 * gdb.base/default.exp: Update tests.
4845 * gdb.base/completion.exp: Update tests.
4846
efba5c23
TV
48472020-04-16 Tom de Vries <tdevries@suse.de>
4848
4849 PR symtab/25791
4850 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4851 (ensure_gdb_index): and factor out and move ...
4852 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4853 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4854
d191d716
TV
48552020-04-16 Tom de Vries <tdevries@suse.de>
4856
4857 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4858 loading exec.
4859
99f1bc6a
AB
48602020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4861
4862 * gdb.base/many-completions.exp: New file.
4863
194d088f
TV
48642020-04-14 Tom de Vries <tdevries@suse.de>
4865
4866 PR symtab/25718
4867 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4868
c1a66c06
TV
48692020-04-14 Tom de Vries <tdevries@suse.de>
4870
4871 PR symtab/25720
4872 * gdb.base/maint-expand-symbols-header-file.c: New test.
4873 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4874 * gdb.base/maint-expand-symbols-header-file.h: New test.
4875
21b0982c
AB
48762020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4877
4878 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4879 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4880 get_func_info.
4881 (get_func_info): Delete.
4882 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4883 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4884 * lib/dwarf.exp (get_func_info): New function.
4885
dd1cab06
TV
48862020-04-13 Tom de Vries <tdevries@suse.de>
4887
4888 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4889 to what find_gnatmake does.
4890
71ea2b6b
TV
48912020-04-10 Tom de Vries <tdevries@suse.de>
4892
4893 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4894 -readnow.
4895
bdfc1e8a
TV
48962020-04-10 Tom de Vries <tdevries@suse.de>
4897
4898 PR cli/25808
4899 * gdb.base/style.c: Add leading newlines.
4900 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4901 Check listing of main's one-line body.
4902
14ca8ecf
TV
49032020-04-08 Tom de Vries <tdevries@suse.de>
4904
4905 * lib/gdb.exp (psymtabs_p): New proc.
4906 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4907 importing unit" unsupported if there are no partial symbols.
4908
e21d048f
TV
49092020-04-08 Tom de Vries <tdevries@suse.de>
4910
4911 PR testsuite/25760
4912 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4913
25c11aca
TV
49142020-04-07 Tom de Vries <tdevries@suse.de>
4915
4916 PR symtab/25796
4917 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4918
5707e24b
TV
49192020-04-07 Tom de Vries <tdevries@suse.de>
4920
4921 * gdb.base/check-psymtab.c: New test.
4922 * gdb.base/check-psymtab.exp: New file.
4923
6ee448cc
TT
49242020-04-06 Tom Tromey <tromey@adacore.com>
4925
4926 * gdb.ada/variant-record/proc.adb: New file.
4927 * gdb.ada/variant-record/value.adb: New file.
4928 * gdb.ada/variant-record/value.s: New file.
4929 * gdb.ada/variant-record.exp: New file.
4930
9e7c9a03
HD
49312020-04-03 Hannes Domani <ssbssa@yahoo.de>
4932
4933 PR gdb/25325
4934 * gdb.cp/typed-enum.cc: New test.
4935 * gdb.cp/typed-enum.exp: New file.
4936
c90d28ac
AB
49372020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4938
4939 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4940 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4941 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4942 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4943 * gdb.opt/inline-small-func.c: New file.
4944 * gdb.opt/inline-small-func.exp: New file.
4945 * gdb.opt/inline-small-func.h: New file.
4946
34e9a9fa
AB
49472020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4948
4949 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4950 function.
4951
6a354911
AB
49522020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4953
4954 * lib/dwarf.exp (function_range): Allow compiler options to be
4955 specified.
4956
880d9777
TV
49572020-04-02 Tom de Vries <tdevries@suse.de>
4958
4959 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4960 __attribute__((always_inline)).
4961 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4962
f32682ea
TV
49632020-04-02 Tom de Vries <tdevries@suse.de>
4964
4965 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4966 (gdbserver_gdb_exit): ... here. Add timeout warning.
4967 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4968 (connect_target_extended_remote): Append new server_spawn_id to
4969 server_spawn_ids.
4970 (cleanup): New proc.
4971 (setup, <toplevel>): Call cleanup.
4972
d3214198
TV
49732020-04-02 Tom de Vries <tdevries@suse.de>
4974
4975 * gdb.base/main-psymtab.exp: New file.
4976
cc77ed24
TV
49772020-04-02 Tom de Vries <tdevries@suse.de>
4978
4979 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4980
3638a098
TT
49812020-04-01 Tom Tromey <tom@tromey.com>
4982
4983 * gdb.base/complex-parts.exp: Add type tests.
4984
c34e8714
TT
49852020-04-01 Tom Tromey <tom@tromey.com>
4986
4987 * gdb.base/complex-parts.exp: Add arithmetic tests.
4988
981c08ce
TT
49892020-04-01 Tom Tromey <tom@tromey.com>
4990
4991 * gdb.compile/compile.exp: Update.
4992 * gdb.compile/compile-cplus.exp: Update.
4993 * gdb.base/varargs.exp: Update.
4994 * gdb.base/floatn.exp: Update.
4995 * gdb.base/endianity.exp: Update.
4996 * gdb.base/callfuncs.exp (do_function_calls): Update.
4997 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4998 (complex_float_integral_args): Update.
4999 * gdb.base/complex.exp: Update.
5000 * gdb.base/complex-parts.exp: Update.
5001
3d1cfd43
TT
50022020-04-01 Tom Tromey <tromey@adacore.com>
5003
5004 * gdb.rust/union.rs: New file.
5005 * gdb.rust/union.exp: New file.
5006 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5007 (main): Update.
5008 * gdb.rust/simple.exp: Move union tests to union.exp.
5009
e033dfa9
TT
50102020-04-01 Tom Tromey <tromey@adacore.com>
5011
5012 * gdb.rust/simple.rs (main): Remove "y0".
5013
53cccef1
TBA
50142020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5015
5016 * gdb.multi/stop-all-on-exit.c: New test.
5017 * gdb.multi/stop-all-on-exit.exp: New file.
5018
60e22c1e
HD
50192020-04-01 Hannes Domani <ssbssa@yahoo.de>
5020
5021 PR gdb/24789
5022 * gdb.cp/misc.cc: Add integer reference variable.
5023 * gdb.cp/misc.exp: Add test.
5024
e139a727
TBA
50252020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5026
5027 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5028 scenario to cover execution until the end and also the case
5029
16b0db75
TV
50302020-03-31 Tom de Vries <tdevries@suse.de>
5031
5032 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5033 c. Use "maint info symtabs" to check symtab expansion.
5034
c0502da6
TV
50352020-03-30 Tom de Vries <tdevries@suse.de>
5036
5037 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5038 unsupported.
5039 (verify_psymtab_expanded): Move ...
5040 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5041 test.
5042 (readnow): New proc.
5043
5935fd15
AB
50442020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5045
5046 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5047 with $hex.
5048
1773be9e
TT
50492020-03-20 Tom Tromey <tromey@adacore.com>
5050
5051 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5052
70304be9
TT
50532020-03-20 Tom Tromey <tromey@adacore.com>
5054
5055 * gdb.ada/sub_variant/subv.adb: New file.
5056 * gdb.ada/sub_variant.exp: New file.
5057
0dd7b8f7
TV
50582020-03-20 Tom de Vries <tdevries@suse.de>
5059
5060 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5061 first break fails.
5062 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5063
cada5fc9
AB
50642020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5065
5066 * gdb.server/exit-multiple-threads.c: New file.
5067 * gdb.server/exit-multiple-threads.exp: New file.
5068
6b8c53f2
AB
50692020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5070
5071 * gdb.fortran/mixed-lang-stack.c: New file.
5072 * gdb.fortran/mixed-lang-stack.cpp: New file.
5073 * gdb.fortran/mixed-lang-stack.exp: New file.
5074 * gdb.fortran/mixed-lang-stack.f90: New file.
5075
19a2740f
AB
50762020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5077
5078 * gdb.linespec/cp-completion-aliases.cc: New file.
5079 * gdb.linespec/cp-completion-aliases.exp: New file.
5080
d8c8b848
TV
50812020-03-19 Tom de Vries <tdevries@suse.de>
5082
5083 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5084 more precise.
5085
a9933ccf
TV
50862020-03-18 Tom de Vries <tdevries@suse.de>
5087
5088 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5089 * gdb.dwarf2/break-inline-psymtab.c: New test.
5090 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5091
2f89101f
TV
50922020-03-16 Tom de Vries <tdevries@suse.de>
5093
5094 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5095 cache_verify and cache_verify_proc.
5096
6b9374f1
TV
50972020-03-15 Tom de Vries <tdevries@suse.de>
5098
5099 * gdb.server/solib-list.exp: Handle
5100 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5101
eaeaf44c
TV
51022020-03-15 Tom de Vries <tdevries@suse.de>
5103
5104 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5105 objfiles".
5106
3293bbaf
TT
51072020-03-14 Tom Tromey <tom@tromey.com>
5108
5109 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5110
ab44624c
TV
51112020-03-14 Tom de Vries <tdevries@suse.de>
5112
5113 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5114
54c43825
TV
51152020-03-14 Tom de Vries <tdevries@suse.de>
5116
5117 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5118 result in line-by-line fashion.
5119
2ac70237
TV
51202020-03-14 Tom de Vries <tdevries@suse.de>
5121
5122 * lib/gdb.exp (supports_statement_frontiers): New proc.
5123 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5124
09546b56
TV
51252020-03-14 Tom de Vries <tdevries@suse.de>
5126
5127 * gdb.base/printcmds.exp: Add missing quoting for "print
5128 teststring2".
5129
a1f6a07c
TT
51302020-03-13 Tom Tromey <tom@tromey.com>
5131
5132 * gdb.base/printcmds.exp (test_print_strings): Add regression
5133 test.
5134 * gdb.base/printcmds.c (charptr): New typedef.
5135 (teststring2): New global.
5136
1b83d09c
AB
51372020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5138
5139 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5140 full path in the test name.
5141 (test_ld): Add some with_test_prefix blocks to make test names
5142 unique.
5143
2d61316c
TV
51442020-03-13 Tom de Vries <tdevries@suse.de>
5145
5146 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5147
2e9145ac
TV
51482020-03-13 Tom de Vries <tdevries@suse.de>
5149
5150 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5151
96c7f873
TV
51522020-03-13 Tom de Vries <tdevries@suse.de>
5153
5154 PR symtab/25646
5155 * gdb.dwarf2/imported-unit.exp: Add test.
5156
49ba92c0
TV
51572020-03-13 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5160 (var1, var2): New variable.
5161 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5162 matching symbols.
5163
301b21e0
TV
51642020-03-13 Tom de Vries <tdevries@suse.de>
5165
5166 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5167 (Term::command): Use prompt prefix.
5168 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5169 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5170 command_no_prompt_prefix instead of prefix.
5171 * gdb.tui/tui-layout-asm.exp: Same.
5172
3f512721
SM
51732020-03-12 Simon Marchi <simon.marchi@efficios.com>
5174
5175 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5176
40310f30
SM
51772020-03-12 Simon Marchi <simon.marchi@efficios.com>
5178
5179 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5180 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5181 on" while stepping over the test instruction, match printed
5182 message.
5183
09252140
TV
51842020-03-12 Tom de Vries <tdevries@suse.de>
5185
5186 * gdb.base/info-types.exp: Use exp_continue during matching of output
5187 of "info types".
5188
14e9c72c
TV
51892020-03-12 Tom de Vries <tdevries@suse.de>
5190
5191 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5192
e515d67e
TV
51932020-03-12 Tom de Vries <tdevries@suse.de>
5194
5195 * gdb.fortran/module.exp: Use exp_continue during matching of output
5196 of "info variable -n".
5197
307eafd8
TV
51982020-03-12 Tom de Vries <tdevries@suse.de>
5199
5200 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5201 gdb.dwarf2/dw2-ranges-base.c.
5202
9a2de3fc
TV
52032020-03-12 Tom de Vries <tdevries@suse.de>
5204
5205 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5206 in presence of GLIBC debuginfo.
5207
3217502e
TV
52082020-03-12 Tom de Vries <tdevries@suse.de>
5209
5210 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5211 $core.
5212
1281424c
TV
52132020-03-12 Tom de Vries <tdevries@suse.de>
5214
5215 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5216 more precise.
5217
038b97fc
SM
52182020-03-11 Simon Marchi <simon.marchi@efficios.com>
5219
5220 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5221 from Unix to Windows path.
5222
5308d1e7
TV
52232020-03-11 Tom de Vries <tdevries@suse.de>
5224
5225 * gdb.ada/minsyms.exp: Set language to ada.
5226
f870f78f
TV
52272020-03-11 Tom de Vries <tdevries@suse.de>
5228
5229 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5230
5a13315d
TV
52312020-03-11 Tom de Vries <tdevries@suse.de>
5232
5233 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5234
976862ed
TT
52352020-03-11 Tom Tromey <tromey@adacore.com>
5236
5237 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5238
7462c383
TV
52392020-03-11 Tom de Vries <tdevries@suse.de>
5240
5241 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5242
1c6c46a0
TV
52432020-03-11 Tom de Vries <tdevries@suse.de>
5244
5245 * gdb.base/break-interp.exp: Limit verbose scope.
5246
44f41bb7
TV
52472020-03-11 Tom de Vries <tdevries@suse.de>
5248
5249 * gdb.fortran/logical.f90: Define variable with character type.
5250 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5251
b76f3a42
TV
52522020-03-11 Tom de Vries <tdevries@suse.de>
5253
5254 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5255
1c33af77
TV
52562020-03-11 Tom de Vries <tdevries@suse.de>
5257
5258 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5259 symtabs.
5260
8c95582d
AB
52612020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5262 Bernd Edlinger <bernd.edlinger@hotmail.de>
5263
5264 * gdb.cp/step-and-next-inline.cc: New file.
5265 * gdb.cp/step-and-next-inline.exp: New file.
5266 * gdb.cp/step-and-next-inline.h: New file.
5267 * gdb.dwarf2/dw2-is-stmt.c: New file.
5268 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5269 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5270 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5271 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5272
cecf8547
AB
52732020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5274
5275 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5276 is-stmt flag in the line table.
5277
0ba678c9
TV
52782020-03-09 Tom de Vries <tdevries@suse.de>
5279
5280 * lib/gdb.exp (cached_file): Create cache dir.
5281
72fbdf83
TV
52822020-03-07 Tom de Vries <tdevries@suse.de>
5283
5284 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5285 * gdb.cp/rvalue-ref-params.exp: Same.
5286
436b5e99
TV
52872020-03-06 Tom de Vries <tdevries@suse.de>
5288
5289 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5290 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5291
09f2921c
TV
52922020-03-06 Tom de Vries <tdevries@suse.de>
5293
5294 * README: Fix "the the".
5295 * gdb.base/dprintf.exp: Same.
5296
50a3cc5d
TV
52972020-03-05 Tom de Vries <tdevries@suse.de>
5298
5299 * gdb.base/maint.exp: Update "main print statistics" expected output.
5300
0a709cba
AKS
53012020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5302
5303 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5304 (fortran_int8): Likewise.
5305 (fortran_real4): Likewise.
5306 (fortran_real8): Likewise.
5307 (fortran_complex4): Likewise.
5308 (fortran_logical4): Likewise.
5309 (fortran_character1): Likewise.
5310
5e5d66b6
AB
53112020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5312
5313 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5314 printed as true.
5315
7b973adc
SDJ
53162020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5317
5318 * gdb.base/printcmds.exp: Add test to verify printf of a
5319 variable holding an address.
5320
478e490a
TV
53212020-03-03 Tom de Vries <tdevries@suse.de>
5322
5323 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5324
1ef44e86
TV
53252020-03-03 Tom de Vries <tdevries@suse.de>
5326
5327 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5328 gdb_test_multiple call.
5329
b98cc2cf
TV
53302020-03-03 Tom de Vries <tdevries@suse.de>
5331
5332 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5333 gdb_test_multiple calls.
5334
63e163f2
AB
53352020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5336
5337 * gdb.base/default.exp: Remove test of 'set history filename'.
5338 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5339 filename to the empty string.
5340 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5341 and GDBHISTSIZE.
5342
24ed6739
AB
53432020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5344
5345 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5346 disabled.
5347
590003dc 53482020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5349 Tom de Vries <tdevries@suse.de>
590003dc
TV
5350
5351 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5352 -prompt prefix, before user_code argument. Add -lbl option likewise.
5353 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5354 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5355 argument.
5356 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5357 have "\r\n" at start-of-line, instead of at end-of-line.
5358
f5e46084
SM
53592020-02-28 Simon Marchi <simon.marchi@efficios.com>
5360
5361 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5362 libinproctrace.so.
5363
f7a7000d
LM
53642020-02-28 Luis Machado <luis.machado@linaro.org>
5365
5366 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5367 to "p/x".
5368
718e0816
LM
53692020-02-28 Luis Machado <luis.machado@linaro.org>
5370
5371 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5372 asm/ptrace.h and error.h.
5373
13c3a74a
TV
53742020-02-28 Tom de Vries <tdevries@suse.de>
5375
5376 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5377 (struct wrapper, do_something, mundane/symada__cS): Move ...
5378 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5379 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5380 Update "print symada__cS before partial symtab expansion" regexp.
5381 Update breakpoint location. Flush symbol cache after expansion.
5382
85d2d5bb
LM
53832020-02-28 Luis Machado <luis.machado@linaro.org>
5384
5385 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5386
3608f86c
TV
53872020-02-27 Tom de Vries <tdevries@suse.de>
5388
5389 * config/sid.exp: Remove unused globals.
5390 * gdb.base/attach.exp: Same.
5391 * gdb.base/catch-load.exp: Same.
5392 * gdb.base/dbx.exp: Same.
5393 * lib/gdb.exp: Same.
5394 * lib/mi-support.exp: Same.
5395 * lib/prompt.exp: Same.
5396
c8d4f6df
TV
53972020-02-27 Tom de Vries <tdevries@suse.de>
5398
5399 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5400 not set.
5401
0d79cdc4
AM
54022020-02-26 Aaron Merey <amerey@redhat.com>
5403
5404 * gdb.debuginfod: New directory for debuginfod tests.
5405 * gdb.debuginfod/main.c: New test file.
5406 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5407
0dce4280
TV
54082020-02-26 Tom de Vries <tdevries@suse.de>
5409
5410 PR gdb/25603
5411 * gdb.base/persistent-lang.cc: New test.
5412 * gdb.base/persistent-lang.exp: New file.
5413
9e80cfa1
AB
54142020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5415
5416 * gdb.fortran/derived-type-striding.exp: Add a new test.
5417 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5418 new test.
5419
2078dbb2
AB
54202020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5421
5422 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5423 names.
5424
70d49700
TV
54252020-02-25 Tom de Vries <tdevries@suse.de>
5426
5427 PR go/18926
5428 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5429
a88ef40d
TV
54302020-02-24 Tom de Vries <tdevries@suse.de>
5431
5432 PR gdb/25592
5433 * gdb.base/info-locals-unused-static-var.c: New test.
5434 * gdb.base/info-locals-unused-static-var.exp: New file.
5435
01b1af32
TT
54362020-02-22 Tom Tromey <tom@tromey.com>
5437
5438 * gdb.python/tui-window.exp: New file.
5439 * gdb.python/tui-window.py: New file.
5440
7c043ba6
TT
54412020-02-22 Tom Tromey <tom@tromey.com>
5442
5443 PR tui/17850:
5444 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5445 tests.
5446
c22fef7e
TT
54472020-02-22 Tom Tromey <tom@tromey.com>
5448
5449 * gdb.tui/new-layout.exp: Add sub-layout tests.
5450
ee325b61
TT
54512020-02-22 Tom Tromey <tom@tromey.com>
5452
5453 * gdb.tui/new-layout.exp: New file.
5454
3f0cbb04
TT
54552020-02-22 Tom Tromey <tom@tromey.com>
5456
5457 * gdb.rust/rust-style.rs: New file.
5458 * gdb.rust/rust-style.exp: New file.
5459 * gdb.base/style.exp: Test structure printing.
5460 * gdb.base/style.c (struct some_struct): New type.
5461 (enum etype): New type.
5462 (struct_value): New global.
5463
75525152
TV
54642020-02-21 Tom de Vries <tdevries@suse.de>
5465
5466 PR go/18926
5467 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5468 Remove blanket xfails. Use message argument for gdb_breakpoint.
5469 Make continuing to breakpoint test conditional on setting breakpoint.
5470 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5471 DW_AT_name attribute. Add xfail for GCC PR93866.
5472
bd360d30
AB
54732020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5474
5475 * gdb.dwarf2/cpp-linkage-name.c: New file.
5476 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5477
c7adb09f 54782020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5479
5480 * lib/gdb.exp (gdb_wrapper_init): Reset
5481 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5482 not exist.
5483
a9c79803
TV
54842020-02-20 Tom de Vries <tdevries@suse.de>
5485
5486 PR go/17018
5487 * gdb.go/hello.exp: Copy ...
5488 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5489 print of st to print value of global definition. Add xfail for GCC
5490 PR93844.
5491 * gdb.go/hello.exp: Remove printing of st before definition.
5492 * gdb.go/hello.go: Copy ...
5493 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5494 to st.
5495 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5496
d7445728
TV
54972020-02-20 Tom de Vries <tdevries@suse.de>
5498
5499 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5500 (gdb_simple_compile): Handle compile_flags go by using .go extension
5501 for source file.
5502 * gdb.go/chan.exp: Use support_go_compile.
5503 * gdb.go/handcall.exp: Same.
5504 * gdb.go/hello.exp: Same.
5505 * gdb.go/integers.exp: Same.
5506 * gdb.go/max-depth.exp: Same.
5507 * gdb.go/methods.exp: Same.
5508 * gdb.go/package.exp: Same.
5509 * gdb.go/strings.exp: Same.
5510 * gdb.go/types.exp: Same.
5511 * gdb.go/unsafe.exp: Same.
5512
c9c41e6d
TV
55132020-02-19 Tom de Vries <tdevries@suse.de>
5514
5515 * gdb.python/lib-types.exp: Make xfail more strict.
5516
f20ff837
TV
55172020-02-19 Tom de Vries <tdevries@suse.de>
5518
5519 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5520
08410482
DE
55212020-02-19 Doug Evans <dje@google.com>
5522
5523 PR rust/25535
5524 * gdb.rust/simple.exp: Add test.
5525 * gdb.rust/simple.rs: Add test.
5526
623563f7
TV
55272020-02-19 Tom de Vries <tdevries@suse.de>
5528
5529 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5530 output line-by-line.
5531
d3308cfd
TV
55322020-02-19 Tom de Vries <tdevries@suse.de>
5533
5534 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5535
86cbc5dc
TV
55362020-02-19 Tom de Vries <tdevries@suse.de>
5537
5538 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5539 prelink.
5540
9db2b96b
TV
55412020-02-19 Tom de Vries <tdevries@suse.de>
5542
5543 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5544 (gdb_do_cache): Use gdb_do_cache_wrap.
5545 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5546
89e2fdc5
TV
55472020-02-19 Tom de Vries <tdevries@suse.de>
5548
5549 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5550 gdb_compile option.
5551
373d7ac0
SM
55522020-02-18 Simon Marchi <simon.marchi@efficios.com>
5553
5554 * gdb.base/printcmds.exp (test_print_enums): Update expected
5555 output.
5556
b29a2df0
SM
55572020-02-18 Simon Marchi <simon.marchi@efficios.com>
5558
5559 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5560 for "unknown".
5561
6740f0cc
SM
55622020-02-18 Simon Marchi <simon.marchi@efficios.com>
5563
5564 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5565 enumerator.
5566
edd45eb0
SM
55672020-02-18 Simon Marchi <simon.marchi@efficios.com>
5568
5569 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5570 FE_, add FE_NONE.
5571 (three): Update.
5572 (enum flag_enum_without_zero): New enum.
5573 (flag_enum_without_zero): New variable.
5574 (enum not_flag_enum): New enum.
5575 (three_not_flag): New variable.
5576 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5577 (test_print_enums): Add more tests for printing flag enums.
5578
d4295de4
TV
55792020-02-18 Tom de Vries <tdevries@suse.de>
5580
5581 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5582 (gdb_compile_ada): ... here.
5583 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5584 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5585
f251f505
TT
55862020-02-14 Tom Tromey <tom@tromey.com>
5587
5588 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5589 build directory.
5590 * boards/gdbserver-base.exp: Update path to gdbserver.
5591
8f432634
TV
55922020-02-13 Tom de Vries <tdevries@suse.de>
5593
5594 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5595
92b6eaf7
TV
55962020-02-13 Tom de Vries <tdevries@suse.de>
5597
5598 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5599 are missing.
5600
f3b0f7fe
TV
56012020-02-13 Tom de Vries <tdevries@suse.de>
5602
5603 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5604 call.
5605
f6be8713
SDJ
56062020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5607
5608 PR tui/25126
5609 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5610 * gdb.base/cached-source-file.c: New file.
5611 * gdb.base/cached-source-file.exp: New file.
5612
b2770d5e
TV
56132020-02-11 Tom de Vries <tdevries@suse.de>
5614
5615 PR testsuite/25488
5616 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5617
44f6938e
TV
56182020-02-10 Tom de Vries <tdevries@suse.de>
5619
5620 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5621
5f0e2eb7
MR
56222020-02-10 Maciej W. Rozycki <macro@wdc.com>
5623
5624 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5625 and $after_addr are both integers before making a comparison.
5626
46ce2b6f
TV
56272020-02-09 Tom de Vries <tdevries@suse.de>
5628
5629 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5630 command output and paste it into gdb.log. If any, paste catch message
5631 to gdb.log.
5632
5abbbe1d
TT
56332020-02-07 Tom Tromey <tromey@adacore.com>
5634
5635 PR breakpoints/24915:
5636 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5637
1d5d29e7
SV
56382020-02-06 Shahab Vahedi <shahab@synopsys.com>
5639
5640 * gdb.tui/tui-missing-src.exp: Add the "missing source
5641 file" test for the TUI.
5642
b0999b9b
AB
56432020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5644
5645 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5646 including a port number in the output.
5647
c3b149eb
AKS
56482020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5649
5650 * lib/fortran.exp (fortran_int4): Handle clang.
5651 (fortran_int8): Likewise.
5652 (fortran_real4): Likewise.
5653 (fortran_real8): Likewise.
5654 (fortran_complex4): Likewise.
5655 (fortran_logical4): Likewise.
5656 (fortran_character1): Likewise.
5657
f8dcc90b
TV
56582020-02-04 Tom de Vries <tdevries@suse.de>
5659
5660 * README (Race detection): Add note.
5661
f90ac7c2
TV
56622020-02-04 Tom de Vries <tdevries@suse.de>
5663
5664 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5665
780636ae
TV
56662020-02-04 Tom de Vries <tdevries@suse.de>
5667
5668 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5669
5d2e1193
RA
56702020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5671
5672 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5673 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5674 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5675 blttar, bnetarl.
5676 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5677 binary for blttar, bnetarl.
5678 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5679 wait instruction. Delete ldmx test.
5680 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5681
e409c542
AKS
56822020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5683
5684 * gdb.fortran/array-bounds-high.exp: New file.
5685 * gdb.fortran/array-bounds-high.f90: New file.
5686
b0029748
LD
56872020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5688
5689 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5690 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5691
195a8287
TV
56922020-02-01 Tom de Vries <tdevries@suse.de>
5693
5694 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5695
42330a68
AB
56962020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5697
5698 PR tui/9765
5699 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5700 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5701
b62a8028
LM
57022020-01-29 Luis Machado <luis.machado@linaro.org>
5703
5704 * gdb.arch/aarch64-brk-patterns.c: New source file.
5705 * gdb.arch/aarch64-brk-patterns.exp: New test.
5706
5f440116
TBA
57072020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5708
5709 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5710 GCC/Clang version.
5711 * gdb.cp/pass-by-ref.exp: Ditto.
5712
ee2a6fc6
TV
57132020-01-29 Tom de Vries <tdevries@suse.de>
5714
5715 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5716 * gdb.threads/watchpoint-fork-mt.c: Same.
5717 * gdb.threads/watchpoint-fork-parent.c: Same.
5718 * gdb.threads/watchpoint-fork-st.c: Same.
5719 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5720
16b10d6e
LM
57212020-01-27 Luis Machado <luis.machado@linaro.org>
5722
5723 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5724 sitting at a syscall instruction when we hit the syscall function's
5725 breakpoint.
5726 Check PC against one obtained with the x command.
5727 Validate syscall number.
5728 (step_over_syscall): Don't continue to the syscall instruction if
5729 we're already there.
5730
b1468492
PW
57312020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5732
5733 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5734
7ffa82e1
AB
57352020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5736
5737 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5738 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5739
3d92a3e3
AB
57402020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5741
5742 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5743 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5744
94a72be7
AB
57452020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5746
5747 * gdb.base/maint.exp: Update line table parsing test.
5748 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5749
53af73bf
PA
57502020-01-24 Pedro Alves <palves@redhat.com>
5751
5752 PR gdb/25410
5753 * gdb.multi/multi-re-run-1.c: New.
5754 * gdb.multi/multi-re-run-2.c: New.
5755 * gdb.multi/multi-re-run.exp: New.
5756
1ba1ac88
AB
57572020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5758
5759 PR gdb/23718
5760 * gdb.server/server-kill-python.exp: New file.
5761
f3364a6d
AB
57622020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5763
5764 * gdb.server/multi-ui-errors.c: New file.
5765 * gdb.server/multi-ui-errors.exp: New file.
5766
733d0a67
AB
57672020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5768
5769 PR tui/9765
5770 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5771
4f13c1c0
TT
57722020-01-19 Tom Tromey <tom@tromey.com>
5773
5774 * gdb.tui/main.exp: Add check for plain "file".
5775
40c94099
CB
57762020-01-16 Christian Biesinger <cbiesinger@google.com>
5777
5778 * lib/gdb.exp: Fix spelling error (seperatelly).
5779
ff47f4f0
TT
57802020-01-14 Tom Tromey <tom@tromey.com>
5781
5782 PR symtab/12535:
5783 * gdb.python/python.exp: Test decode_line with empty string
5784 argument.
5785
717c684d
BE
57862020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5787
5788 * gdb.base/skip-inline.exp: Extend test.
5789
44e4c775
AB
57902020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5791
5792 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5793 * gdb.dwarf2/dw2-bad-elf.c: New file.
5794 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5795
d93c6db7
AB
57962020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5797
5798 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5799 _line_saw_file.
5800
9a6d629c
AB
58012020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5802
5803 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5804 border.
5805
d9ebdab7
TBA
58062020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5807
5808 * gdb.multi/multi-target.exp (setup): Factor out "info
5809 connections" and "info inferiors" tests to ...
5810 (test_info_inferiors): ... this new procedure.
5811 (top level): Run new "info-inferiors" tests.
5812
f3c469b9
PA
58132020-01-10 Pedro Alves <palves@redhat.com>
5814
5815 * gdb.server/bkpt-other-inferior.exp: New file.
5816
121b3efd
PA
58172020-01-10 Pedro Alves <palves@redhat.com>
5818
5819 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5820 of "add-inferior".
5821 * gdb.base/quit-live.exp: Likewise.
5822 * gdb.base/remote-exec-file.exp: Likewise.
5823 * gdb.guile/scm-progspace.exp: Likewise.
5824 * gdb.linespec/linespec.exp: Likewise.
5825 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5826 * gdb.mi/user-selected-context-sync.exp: Likewise.
5827 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5828 "info inferiors" tests.
5829 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5830 "add-inferior".
5831 * gdb.multi/watchpoint-multi.exp: Likewise.
5832 * gdb.python/py-inferior.exp: Likewise.
5833 * gdb.server/extended-remote-restart.exp: Likewise.
5834 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5835 "info inferiors".
5836 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5837 * gdb.trace/report.exp: Likewise.
5838
1dadb1dd
PA
58392020-01-10 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.multi/multi-target.c: New file.
5842 * gdb.multi/multi-target.exp: New file.
5843 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5844 mode requested, but remote does not support non-stop".
5845
78f2c40a
PA
58462020-01-10 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5849 disconnect before reconnecting.
5850
e7af6c70
TBA
58512020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5852 Pedro Alves <palves@redhat.com>
5853
5854 * gdb.server/connect-without-multi-process.exp: Also test
5855 continuing to end.
5856
acdf84a6
PA
58572020-01-10 Pedro Alves <palves@redhat.com>
5858
5859 * gdb.base/remote-exec-file.exp: New file.
5860
873657b9
PA
58612020-01-10 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5864 output.
5865 * gdb.threads/async.c: New.
5866 * gdb.threads/async.exp: New.
5867 * gdb.multi/tids-gid-reset.c: New.
5868 * gdb.multi/tids-gid-reset.exp: New.
5869
7f0ae84c
GB
58702020-01-10 George Barrett <bob@bob131.so>
5871
5872 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5873 to help in finding the image relocation offset.
5874 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5875 options in arguments.
5876 (stap_test_no_debuginfo): Likewise.
5877 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5878 test variants.
5879 (stap_test): Add null semaphore relocation test.
5880
47e9d49d
GB
58812020-01-10 George Barrett <bob@bob131.so>
5882
5883 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5884 * gdb.base/stap-probe.exp: Likewise.
5885 (stap_test): Pass argument as an additional flag.
5886 (stap_test_no_debuginfo): Likewise.
5887 (stap_test): Check `info probes stap' output for semaphore
5888 addresses if the test binary is supposed to have them.
5889
f5a7c406
AB
58902020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5891
5892 * gdb.tui/basic.exp: Add more scrolling tests.
5893
9ae6bf64
TT
58942020-01-09 Tom Tromey <tom@tromey.com>
5895
5896 PR tui/18932:
5897 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5898 meangingful value.
5899 (Term::command, Term::resize): Update.
5900 * gdb.tui/basic.exp: Add scrolling test.
5901
b2efe70c
AB
59022020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5903
5904 * gdb.tui/tui-layout-asm.exp: New file.
5905
3804da7e
AB
59062020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5907
5908 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5909
b40aa28f
AB
59102020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5911
5912 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5913 (Term::enter_tui): Use Term::prepare_for_tui.
5914
63ffd7c9
AB
59152020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5916
5917 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5918 called.
5919
3be966f6
AB
59202020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5921
5922 * gdb.base/skip.exp: Fix race condition in test.
5923
153d79c4
AB
59242020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5925
5926 * gdb.base/backtrace.c: New file.
5927 * gdb.base/backtrace.exp: New file.
5928
f2302a34
AB
59292020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5930
5931 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5932
6ec1d75e
PW
59332020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5934
5935 * gdb.base/style.exp: Test that warnings are styled.
5936
c296cbe6
BE
59372019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5938
5939 * gdb.base/line65535.exp: New file.
5940 * gdb.base/line65535.c: New file.
5941
b28a729d
SM
59422019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5943
5944 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5945 * lib/gnat_debug_info_test.adb: New file.
5946 * gdb.ada/ptype_tagged_param.exp: Use
5947 gnat_runtime_has_debug_info, expect a different output if
5948 runtime does not have debug info.
5949
7f2d7a0d
SM
59502019-12-20 Simon Marchi <simon.marchi@efficios.com>
5951
5952 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5953 (another) quote in test name.
5954
f3bce483
SM
59552019-12-20 Simon Marchi <simon.marchi@efficios.com>
5956
5957 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5958 Add quote in test name.
5959
c855a912
TBA
59602019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5961
5962 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5963 directory instead.
5964 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5965 * gdb.cp/pass-by-ref-2.cc: New file.
5966 * gdb.cp/pass-by-ref-2.exp: New file.
5967
fc9d2d72
TT
59682019-12-20 Tom Tromey <tom@tromey.com>
5969
5970 * gdb.tui/list-before.exp: New file.
5971
77b97e00
TT
59722019-12-20 Tom Tromey <tom@tromey.com>
5973
5974 * gdb.tui/list.exp: Check for source on initial listing.
5975
f69656d0
TT
59762019-12-11 Tom Tromey <tromey@adacore.com>
5977
5978 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5979 Add crlf test.
5980
99a55965
SM
59812019-12-18 Simon Marchi <simon.marchi@efficios.com>
5982
5983 * gdb.base/default.exp: Update value of $_gdb_major.
5984
5024637f
BE
59852019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5986
5987 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5988
b63634be
BE
59892019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5990
5991 * gdb.base/skip.exp: Whitespace fix.
5992
45d73523
BE
59932019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5994
5995 * gdb.base/skip-inline.c: New file.
5996 * gdb.base/skip-inline.exp: New file.
5997
d043f8c8
SM
59982019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5999
6000 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6001 jit_function_00 to jit_function_stack_mangle.
6002 * gdb.base/jithost.c (jit_function_t): Rename to...
6003 (jit_function_stack_mangle_t): ... this.
6004 (jit_function_add_t): New typedef.
6005 (jit_function_00_code): Rename to...
6006 (jit_function_stack_mangle_code): ... this, make static.
6007 (jit_function_add_code): New.
6008 (main): Generate "add" function and call it. Adjust to changes
6009 in jithost_abi.
6010 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6011 (struct jithost_abi) <begin, end>: Remove fields.
6012 <object, function_stack_mangle, function_add>: New fields.
6013 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6014 code_end>: Remove fields.
6015 <func_stack_mangle>: New field.
6016 (read_debug_info): Adjust to renaming, create block for "add"
6017 function.
6018 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6019
873de05c
TT
60202019-12-11 Tom Tromey <tom@tromey.com>
6021
6022 * gdb.tui/resize.exp: Fix regexp.
6023 * gdb.tui/regs.exp: Fix regexps.
6024 * gdb.tui/main.exp: Fix regexp.
6025
3d979945
TT
60262019-12-11 Tom Tromey <tom@tromey.com>
6027
6028 * gdb.tui/resize.exp: Update.
6029 * gdb.tui/empty.exp (layouts): Update.
6030
2192a9d3
TT
60312019-12-11 Tom Tromey <tom@tromey.com>
6032
6033 * gdb.tui/regs.exp: Update.
6034 * gdb.tui/empty.exp (layouts): Update.
6035 * gdb.tui/basic.exp: Update.
6036 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6037
d8edc8b7
PW
60382019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6039
6040 * gdb.base/options.exp: Add -raw-values in the print completion list.
6041 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6042
4c12d936
KB
60432019-12-10 Kevin Buettner <kevinb@redhat.com>
6044
6045 * gdb.threads/omp-par-scope.c: New file.
6046 * gdb/threads/omp-par-scope.exp: New file.
6047
26b911fb
KB
60482019-12-10 Kevin Buettner <kevinb@redhat.com>
6049
bb47f919
KB
6050 * lib/gdb.exp (support_nested_function_tests): New proc.
6051
60522019-12-10 Kevin Buettner <kevinb@redhat.com>
6053
6054 * lib/gdb.exp (gdb_compile_openmp): New proc.
6055 (build_executable_from_specs): Add an "openmp" option.
6056 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6057
6c71eb7d
TT
60582019-12-10 Tom Tromey <tromey@adacore.com>
6059
6060 * gdb.ada/unchecked_union.exp: New file.
6061 * gdb.ada/unchecked_union/pck.adb: New file.
6062 * gdb.ada/unchecked_union/pck.ads: New file.
6063 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6064 * gdb-utils.exp (string_to_regexp): Also quote "?".
6065
bac7c5cf
GB
60662019-12-10 George Barrett <bob@bob131.so>
6067
6068 Test scripted probe breakpoints.
6069 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6070 * gdb.python/py-breakpoint.c (main): Likewise.
6071 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6072 specifier test.
6073 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6074
330f1d38
TBA
60752019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6076
6077 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6078 an rvalue parameter.
6079 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6080 parameter.
6081
b43315e2
AB
60822019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6083
6084 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6085 modules.
6086
54f73dad
AB
60872019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6088
6089 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6090 broken version of GCC.
6091
d57cbee9
AB
60922019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6093
6094 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6095 sym-info-cmds library.
6096 * gdb.fortran/info-types.exp: Likewise.
6097 * lib/sym-info-cmds.exp: New file.
6098
c14aab8c
TV
60992019-12-08 Tom de Vries <tdevries@suse.de>
6100
6101 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6102
aa2d5a42
KS
61032019-12-07 Keith Seitz <keiths@redhat.com>
6104
6105 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6106 * gdb.base/corefile-buildid-shlib.c: New file.
6107 * gdb.base/corefile-buildid.c: New file.
6108 * gdb.base/corefile-buildid.exp: New file.
6109
93e55f0a
TV
61102019-12-06 Tom de Vries <tdevries@suse.de>
6111
6112 * gdb.dwarf2/varval.exp: Add decl before def test.
6113
c7d12402
TBA
61142019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6115
6116 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6117
06acc08f
TBA
61182019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6119
6120 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6121 CV and reference conversion for overload resolution.
6122 * gdb.cp/rvalue-ref-overload.exp: Test it.
6123
e0fad1ea
PW
61242019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6125
6126 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6127 * gdb.base/frameapply.exp: Test faas without command.
6128
8d70a9f0
AB
61292019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6130
6131 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6132 Fortran tests.
6133 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6134 order.
6135
36c8fb93
AB
61362019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6137
6138 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6139 casting to type with no kind specified.
6140 (test_basic_parsing_of_type_kinds): Additional tests for types
6141 with no kind specified, and add tests for single/double
6142 precision/complex types.
6143
4139ff00
TT
61442019-12-04 Tom Tromey <tromey@adacore.com>
6145
6146 * gdb.base/endianity.c (struct other) <x>: New field.
6147 (main): Initialize it.
6148 * gdb.base/endianity.exp: Update.
6149
a05cf17a
TT
61502019-12-04 Tom Tromey <tromey@adacore.com>
6151
6152 * gdb.ada/scalar_storage/storage.adb: New file.
6153 * gdb.ada/scalar_storage/pck.adb: New file.
6154 * gdb.ada/scalar_storage/pck.ads: New file.
6155 * gdb.ada/scalar_storage.exp: New file.
6156
103a685e
TT
61572019-12-04 Tom Tromey <tromey@adacore.com>
6158
6159 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6160 (main): Initialize it.
6161 * gdb.base/endianity.exp: Update.
6162
c2512106
AB
61632019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6164
6165 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6166
293b38d6
AB
61672019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6168
6169 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6170 -symbol-info-module-functions and -symbol-info-module-variables.
6171
216a7e6b
AB
61722019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6173
6174 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6175
5bbd8269
AB
61762019-12-01 Richard Bunt <richard.bunt@arm.com>
6177 Andrew Burgess <andrew.burgess@embecosm.com>
6178
6179 * gdb.fortran/derived-type-striding.exp: New file.
6180 * gdb.fortran/derived-type-striding.f90: New file.
6181 * gdb.fortran/array-slices.exp: New file.
6182 * gdb.fortran/array-slices.f90: New file.
6183
be09caf1
PW
61842019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6185
6186 * gdb.base/define.exp: Test . in command names.
6187 * gdb.base/setshow.exp: Update test, as . is now part of
6188 command name.
6189
643c0cbe
PW
61902019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6191
6192 * gdb.base/define-prefix.exp: New file.
6193
dcdec678
AB
61942019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6197 compile.
6198 (skip_btrace_pt_tests): Likewise.
6199
640ab947
AB
62002019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6201
6202 * gdb.fortran/info-modules.exp: Compile source files in correct
6203 order.
6204
d22670f0
KB
62052019-11-27 Kevin Buettner <kevinb@redhat.com>
6206
6207 * gdb.dwarf2/imported-unit.exp: New file.
6208 * gdb.dwarf2/imported-unit.c: New file.
6209
db5960b4
AB
62102019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6211
6212 * gdb.mi/mi-fortran-modules-2.f90: New file.
6213 * gdb.mi/mi-fortran-modules.exp: New file.
6214 * gdb.mi/mi-fortran-modules.f90: New file.
6215
7dc42066
AB
62162019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6217
6218 * gdb.mi/mi-sym-info-1.c: New file.
6219 * gdb.mi/mi-sym-info-2.c: New file.
6220 * gdb.mi/mi-sym-info.exp: New file.
6221
0dfeecca
TT
62222019-11-22 Tom Tromey <tromey@adacore.com>
6223
6224 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6225 * gdb.ada/tasks/foo.adb: Add another stopping location.
6226
34877895
PJ
62272019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6228
6229 * gdb.base/endianity.c: New test.
6230 * gdb.base/endianity.exp: New file.
6231
2e84f897
LD
62322019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6233
6234 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6235
65d1cd5f
TV
62362019-11-21 Tom de Vries <tdevries@suse.de>
6237
6238 PR gdb/24956
6239 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6240
4f22c3f4
SDJ
62412019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6242
6243 * gdb.python/py-progspace.exp: Add missing parentheses on some
6244 'print' commands.
6245
9f6ad286
TT
62462019-11-19 Tom Tromey <tom@tromey.com>
6247
6248 * gdb.tui/winheight.exp: New file.
6249
0b8dbf3f
AB
62502019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6251
6252 * gdb.base/ctf-whatis.c: Delete.
6253 * gdb.base/ctf-whatis.exp: Delete.
6254 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6255
f833b7a7
AB
62562019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6257
6258 * gdb.base/ctf-cvexpr.exp: Delete.
6259 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6260
30d0a636
AB
62612019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6262
6263 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6264 the compiler. Clean up header comment a little.
6265 * gdb.base/ctf-ptype.exp: Likewise.
6266 * gdb.base/ctf-whatis.exp: Likewise.
6267 * lib/gdb.exp (skip_ctf_tests): New proc.
6268
494409bb
SDJ
62692019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6270
6271 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6272 * gdb.tui/corefile-run.exp: New file.
6273
55708e99
TT
62742019-11-14 Tom Tromey <tromey@adacore.com>
6275
6276 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6277 regression tests.
6278
45e42163
TT
62792019-11-12 Tom Tromey <tom@tromey.com>
6280
6281 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6282 after any command. Expect prompt after WAIT_FOR is seen.
6283 (enter_tui): Enable resize messages.
6284 (command): Expect command in output.
6285 (get_line): Avoid error when cursor appears to be off-screen.
6286 (dump_screen): Include screen size in title.
6287 (_do_resize): New proc, from "resize".
6288 (resize): Rewrite. Do resize in two steps.
6289 * gdb.tui/empty.exp (layouts): Fix entries.
6290 (check_boxes): Remove xfail.
6291 (check_text): Dump screen on failure.
6292
086baaf1
AB
62932019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6294
6295 * gdb.python/py-symbol.exp: Add test for
6296 gdb.lookup_static_symbols.
6297
09ff83af
AB
62982019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6299
6300 * gdb.python/py-symbol.c: Declare and call function from new
6301 py-symbol-2.c file.
6302 * gdb.python/py-symbol.exp: Compile both source files, and add new
6303 tests for gdb.lookup_static_symbol.
6304 * gdb.python/py-symbol-2.c: New file.
6305
11af934b
TV
63062019-11-02 Tom de Vries <tdevries@suse.de>
6307
6308 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6309 * gdb.base/anon.exp: Same.
6310 * gdb.base/auto-connect-native-target.exp: Same.
6311 * gdb.base/call-ar-st.exp: Same.
6312 * gdb.base/catch-syscall.exp: Same.
6313 * gdb.base/commands.exp: Same.
6314 * gdb.base/default.exp: Same.
6315 * gdb.base/display.exp: Same.
6316 * gdb.base/float.exp: Same.
6317 * gdb.base/foll-fork.exp: Same.
6318 * gdb.base/help.exp: Same.
6319 * gdb.base/info-macros.exp: Same.
6320 * gdb.base/info-proc.exp: Same.
6321 * gdb.base/info-target.exp: Same.
6322 * gdb.base/long_long.exp: Same.
6323 * gdb.base/macscp.exp: Same.
6324 * gdb.base/memattr.exp: Same.
6325 * gdb.base/nofield.exp: Same.
6326 * gdb.base/pointers.exp: Same.
6327 * gdb.base/printcmds.exp: Same.
6328 * gdb.base/ptype.exp: Same.
6329 * gdb.base/restore.exp: Same.
6330 * gdb.base/return.exp: Same.
6331 * gdb.base/scope.exp: Same.
6332 * gdb.base/set-noassign.exp: Same.
6333 * gdb.base/setshow.exp: Same.
6334 * gdb.base/shlib-call.exp: Same.
6335 * gdb.base/signals.exp: Same.
6336 * gdb.base/sigstep.exp: Same.
6337 * gdb.base/skip.exp: Same.
6338 * gdb.base/solib-symbol.exp: Same.
6339 * gdb.base/stap-probe.exp: Same.
6340 * gdb.base/step-line.exp: Same.
6341 * gdb.base/step-test.exp: Same.
6342 * gdb.base/style.exp: Same.
6343 * gdb.base/varargs.exp: Same.
6344 * gdb.base/vla-datatypes.exp: Same.
6345 * gdb.base/vla-ptr.exp: Same.
6346 * gdb.base/vla-sideeffect.exp: Same.
6347 * gdb.base/volatile.exp: Same.
6348 * gdb.base/watch-cond-infcall.exp: Same.
6349 * gdb.base/watchpoint.exp: Same.
6350
e96ec2ba
TV
63512019-11-02 Tom de Vries <tdevries@suse.de>
6352
6353 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6354 * gdb.cp/cpexprs.exp: Same.
6355 * gdb.cp/except-multi-location.exp: Same.
6356 * gdb.cp/exceptprint.exp: Same.
6357 * gdb.cp/gdb2384.exp: Same.
6358 * gdb.cp/inherit.exp: Same.
6359 * gdb.cp/m-static.exp: Same.
6360 * gdb.cp/meth-typedefs.exp: Same.
6361 * gdb.cp/misc.exp: Same.
6362 * gdb.cp/namespace.exp: Same.
6363 * gdb.cp/non-trivial-retval.exp: Same.
6364 * gdb.cp/overload.exp: Same.
6365 * gdb.cp/pr17132.exp: Same.
6366 * gdb.cp/re-set-overloaded.exp: Same.
6367 * gdb.cp/rvalue-ref-types.exp: Same.
6368 * gdb.cp/templates.exp: Same.
6369
bd5766ec
LM
63702019-11-01 Luis Machado <luis.machado@linaro.org>
6371
6372 PR gdb/25124
6373
6374 * gdb.arch/pr25124.S: New file.
6375 * gdb.arch/pr25124.exp: New file.
6376
165f8965
AB
63772019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6378
6379 * gdb.fortran/info-modules.exp: Update expected results, and add
6380 additional tests for 'info module functinos', and 'info module
6381 variables'.
6382 * gdb.fortran/info-types.exp: Update expected results.
6383 * gdb.fortran/info-types.f90: Extend testcase with additional
6384 module variables and functions.
6385
59c35742
AB
63862019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6387
6388 * gdb.fortran/info-modules.exp: New file.
6389 * gdb.fortran/info-types.exp: Build with new file.
6390 * gdb.fortran/info-types.f90: Include and use new module.
6391 * gdb.fortran/info-types-2.f90: New file.
6392
f3fb2519
PW
63932019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6394
6395 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6396 * gdb.base/settings.exp: Test all settings types using
6397 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6398 that now verifies that the value of "maint show" is the same as
6399 returned by the settings functions. Test the type of the
6400 maintenance settings.
6401 * gdb.base/default.exp: Update show_conv_list.
6402
d1e36019
TV
64032019-10-31 Tom de Vries <tdevries@suse.de>
6404
6405 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6406 gdb_test.
6407 * gdb.arch/amd64-disp-step.exp: Same.
6408 * gdb.asm/asm-source.exp: Same.
6409 * gdb.btrace/buffer-size.exp: Same.
6410 * gdb.btrace/cpu.exp: Same.
6411 * gdb.btrace/enable.exp: Same.
6412 * gdb.dwarf2/count.exp: Same.
6413 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6414 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6415 * gdb.fortran/vla-datatypes.exp: Same.
6416 * gdb.fortran/vla-history.exp: Same.
6417 * gdb.fortran/vla-ptype.exp: Same.
6418 * gdb.fortran/vla-value.exp: Same.
6419 * gdb.fortran/whatis_type.exp: Same.
6420 * gdb.guile/guile.exp: Same.
6421 * gdb.multi/tids.exp: Same.
6422 * gdb.python/py-finish-breakpoint.exp: Same.
6423 * gdb.python/py-framefilter.exp: Same.
6424 * gdb.python/py-pp-registration.exp: Same.
6425 * gdb.python/py-xmethods.exp: Same.
6426 * gdb.python/python.exp: Same.
6427 * gdb.server/connect-with-no-symbol-file.exp: Same.
6428 * gdb.server/no-thread-db.exp: Same.
6429 * gdb.server/run-without-local-binary.exp: Same.
6430 * gdb.stabs/weird.exp: Same.
6431 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6432 * gdb.threads/thread-find.exp: Same.
6433 * gdb.threads/tls-shared.exp: Same.
6434 * gdb.threads/tls.exp: Same.
6435 * gdb.threads/wp-replication.exp: Same.
6436 * gdb.trace/ax.exp: Same.
6437 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6438
3d11e68e
TV
64392019-10-31 Tom de Vries <tdevries@suse.de>
6440
6441 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6442 * gdb.ada/array_subscript_addr.exp: Same.
6443 * gdb.ada/arrayidx.exp: Same.
6444 * gdb.ada/arrayparam.exp: Same.
6445 * gdb.ada/arrayptr.exp: Same.
6446 * gdb.ada/boolean_expr.exp: Same.
6447 * gdb.ada/call_pn.exp: Same.
6448 * gdb.ada/complete.exp: Same.
6449 * gdb.ada/fixed_cmp.exp: Same.
6450 * gdb.ada/fun_addr.exp: Same.
6451 * gdb.ada/funcall_param.exp: Same.
6452 * gdb.ada/interface.exp: Same.
6453 * gdb.ada/mod_from_name.exp: Same.
6454 * gdb.ada/null_array.exp: Same.
6455 * gdb.ada/packed_array.exp: Same.
6456 * gdb.ada/packed_tagged.exp: Same.
6457 * gdb.ada/print_chars.exp: Same.
6458 * gdb.ada/print_pc.exp: Same.
6459 * gdb.ada/ptype_arith_binop.exp: Same.
6460 * gdb.ada/ptype_field.exp: Same.
6461 * gdb.ada/ptype_tagged_param.exp: Same.
6462 * gdb.ada/rec_return.exp: Same.
6463 * gdb.ada/ref_tick_size.exp: Same.
6464 * gdb.ada/str_ref_cmp.exp: Same.
6465 * gdb.ada/taft_type.exp: Same.
6466 * gdb.ada/tagged.exp: Same.
6467 * gdb.ada/type_coercion.exp: Same.
6468 * gdb.ada/uninitialized_vars.exp: Same.
6469
60b6ede8
TV
64702019-10-30 Tom de Vries <tdevries@suse.de>
6471
6472 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6473
30baf67b
TV
64742019-10-26 Tom de Vries <tdevries@suse.de>
6475
6476 * gdb.base/bigcore.c: Fix typos in comments.
6477 * gdb.base/ctf-ptype.c: Same.
6478 * gdb.base/long_long.c: Same.
6479 * gdb.dwarf2/dw2-op-out-param.S: Same.
6480 * gdb.python/py-evthreads.c: Same.
6481 * gdb.reverse/i387-stack-reverse.c: Same.
6482 * gdb.trace/tfile.c: Same.
6483 * lib/compiler.c: Same.
6484 * lib/compiler.cc: Same.
6485
158da0d1
TV
64862019-10-25 Tom de Vries <tdevries@suse.de>
6487
6488 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6489 gdb_test_multiple calls.
6490 * gdb.reverse/sigall-reverse.exp: Same.
6491 * gdb.reverse/solib-precsave.exp: Same.
6492 * gdb.reverse/solib-reverse.exp: Same.
6493 * gdb.reverse/until-precsave.exp: Same.
6494 * gdb.reverse/until-reverse.exp: Same.
6495
4ccdfbec
TV
64962019-10-24 Tom de Vries <tdevries@suse.de>
6497
6498 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6499 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6500 kfail using -wrap pattern flag and convenience variable
6501 gdb_test_name.
6502
33d569b7
AB
65032019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6504
6505 * gdb.python/py-progspace.exp: Add tests for the
6506 Progspace.block_for_pc method.
6507
4d0b984b
TT
65082019-10-23 Tom Tromey <tom@tromey.com>
6509
6510 * configure: Rebuild.
6511 * aclocal.m4: Use m4_include, not sinclude.
6512
94cb3754
TV
65132019-10-21 Tom de Vries <tdevries@suse.de>
6514
6515 * gdb.base/infcall-nested-structs.c: Add
6516 __attribute__((noinline,noclone)) to all functions.
6517 (call_all): Add missing variable initialization. Simplify return value.
6518 (breakpt): Increment volatile variable, to prevent call from being
6519 optimized out.
6520 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6521
062f1fc1
TV
65222019-10-17 Tom de Vries <tdevries@suse.de>
6523
6524 * gdb.fortran/module.exp: Allow info variables to print info for files
6525 other than module.f90.
6526
0b54364d
AB
65272019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6528
6529 * gdb.fortran/module.exp: Extend with 'info variables' test.
6530
7ff5fae7
AB
65312019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6532
6533 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6534 F77_FOR_TARGET.
6535
d10eccaa
TV
65362019-10-16 Tom de Vries <tdevries@suse.de>
6537
6538 PR tdep/25096
6539 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6540
745ff14e
TV
65412019-10-16 Tom de Vries <tdevries@suse.de>
6542
6543 PR tdep/24104
6544 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6545 Add KFAIL for PR tdep/25096.
6546
03e1ab94
TV
65472019-10-16 Tom de Vries <tdevries@suse.de>
6548
6549 PR testsuite/25059
6550 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6551
b17fcc10
TV
65522019-10-16 Tom de Vries <tdevries@suse.de>
6553
6554 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6555 as signed.
6556
9223170f
SM
65572019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6558
6559 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6560 one instead of increasing timeout.
6561
d6e76313
TV
65622019-10-13 Tom de Vries <tdevries@suse.de>
6563
6564 PR record/25038
6565 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6566 * gdb.reverse/sigall-reverse.exp: Same.
6567 * gdb.reverse/solib-precsave.exp: Same.
6568 * gdb.reverse/solib-reverse.exp: Same.
6569 * gdb.reverse/step-precsave.exp: Same.
6570 * gdb.reverse/until-precsave.exp: Same.
6571 * gdb.reverse/until-reverse.exp: Same.
6572 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6573
6dfc0041
AA
65742019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6575
6576 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6577 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6578 (cmp_struct_05_01, cmp_struct_static_02_01)
6579 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6580 comparisons.
6581
abcf2cc8
TV
65822019-10-10 Tom de Vries <tdevries@suse.de>
6583
6584 PR testsuite/24888
6585 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6586 gnatlink.
6587
a50faaf6
TV
65882019-10-09 Tom de Vries <tdevries@suse.de>
6589
6590 PR testsuite/25048
6591 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6592
60ff3cd7
AB
65932019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6594
6595 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6596 exceptions due to missing debug information.
6597
dfee8566
TV
65982019-10-07 Tom de Vries <tdevries@suse.de>
6599
6600 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6601
3d63690a
AB
66022019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6603
6604 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6605 * gdb.base/annota1.exp: Update to use gdb_test_name.
6606
30d1f018
WP
66072019-10-07 Weimin Pan <weimin.pan@oracle.com>
6608
6609 * gdb.base/ctf-whatis.exp: New file.
6610 * gdb.base/ctf-whatis.c: New file.
6611 * gdb.base/ctf-ptype.exp: New file.
6612 * gdb.base/ctf-ptype.c: New file.
6613 * gdb.base/ctf-constvars.exp: New file.
6614 * gdb.base/ctf-constvars.c: New file.
6615 * gdb.base/ctf-cvexpr.exp: New file.
6616
4dbbb47c
TV
66172019-10-04 Tom de Vries <tdevries@suse.de>
6618
6619 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6620 for loop.
6621
77c2dba3
TT
66222019-10-03 Tom Tromey <tom@tromey.com>
6623
6624 PR rust/24976:
6625 * gdb.rust/simple.rs (Union2): New type.
6626 (main): Use Union2.
6627 * gdb.rust/simple.exp: Add test.
6628
179aed7f
AB
66292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6630
6631 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6632 nested function prefix.
6633
0a4b0913
AB
66342019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6635 Richard Bunt <richard.bunt@arm.com>
6636 Andrew Burgess <andrew.burgess@embecosm.com>
6637
6638 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6639 nested functions.
6640 * gdb.fortran/nested-funcs.f90: Update expected results.
6641 * gdb.fortran/nested-funcs-2.exp: New file.
6642 * gdb.fortran/nested-funcs-2.f90: New file.
6643
082cce05
AB
66442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6645
6646 * gdb.python/py-parameter.exp: Make test names unique.
6647 * gdb.python/py-template.exp: Likewise.
6648 * gdb.python/py-value.exp: Likewise.
6649
2b74ba5a
AB
66502019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6651
6652 * gdb.base/break-interp.exp: Reduce test name duplication.
6653 * gdb.base/call-sc.exp: Likewise.
6654 * gdb.base/callfuncs.exp: Likewise.
6655 * gdb.base/charset.exp: Likewise.
6656 * gdb.base/dump.exp: Likewise.
6657 * gdb.base/ena-dis-br.exp: Likewise.
6658 * gdb.base/relational.exp: Likewise.
6659 * gdb.base/step-over-syscall.exp: Likewise.
6660 * gdb.base/structs.exp: Likewise.
6661
58eb20d5
AB
66622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6663
6664 * gdb.linespec/explicit.exp: Make test names unique.
6665 * gdb.linespec/ls-errs.exp: Likewise.
6666
4d421147
AB
66672019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6668
6669 * gdb.reverse/break-precsave.exp: Make test names unique.
6670 * gdb.reverse/break-reverse.exp: Likewise.
6671 * gdb.reverse/finish-precsave.exp: Likewise.
6672 * gdb.reverse/finish-reverse.exp: Likewise.
6673 * gdb.reverse/machinestate-precsave.exp: Likewise.
6674 * gdb.reverse/machinestate.exp: Likewise.
6675 * gdb.reverse/readv-reverse.exp: Likewise.
6676 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6677 * gdb.reverse/sigall-precsave.exp: Likewise.
6678 * gdb.reverse/sigall-reverse.exp: Likewise.
6679 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6680 * gdb.reverse/watch-precsave.exp: Likewise.
6681 * gdb.reverse/watch-reverse.exp: Likewise.
6682
d8c06f22
AB
66832019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6684
6685 * gdb.threads/stop-with-handle.c: New file.
6686 * gdb.threads/stop-with-handle.exp: New file.
6687
3a56ed86
TV
66882019-10-03 Tom de Vries <tdevries@suse.de>
6689
6690 PR testsuite/25059
6691 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6692 directory" line to be missing.
6693
42275044
TV
66942019-10-03 Tom de Vries <tdevries@suse.de>
6695
6696 PR testsuite/25059
6697 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6698 type optional.
6699
9ef62df0
AA
67002019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6701
6702 * gdb.python/py-format-string.c (string.h): New include.
6703 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6704 the same value, for endianness-independence.
6705 * gdb.python/py-format-string.exp (default_regexp_dict)
6706 (test_pretty_structs, test_format): Adjust expected output to the
6707 changed initialization.
6708
37f6a7f4
TT
67092019-10-02 Tom Tromey <tromey@adacore.com>
6710
6711 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6712
1d58d6a2
PA
67132019-10-02 Pedro Alves <palves@redhat.com>
6714 Andrew Burgess <andrew.burgess@embecosm.com>
6715
6716 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6717 "print-file-var.h".
6718 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6719 (get_version_1): Print this_version_id and its address.
6720 Add extern "C" wrappers around interface functions.
6721 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6722 "print-file-var.h".
6723 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6724 (get_version_2): Print this_version_id and its address.
6725 Add extern "C" wrappers around interface functions.
6726 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6727 <stddef.h> and "print-file-var.h".
6728 Add extern "C" wrappers around interface functions.
6729 [VERSION_ID_MAIN] (this_version_id): Define.
6730 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6731 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6732 up extern "C" blocks.
6733 * gdb.base/print-file-var.exp (test): New, factored out from top
6734 level.
6735 (top level): Test all combinations of attribute hidden or not,
6736 dlopen or not, and this_version_id symbol in main file or not.
6737 Compile tests as both C++ and C, make test names unique.
6738
d770d56f
TT
67392019-10-01 Tom Tromey <tom@tromey.com>
6740
6741 * gdb.base/style.exp: Test "show logging filename".
6742
7f6aba03
TT
67432019-10-01 Tom Tromey <tom@tromey.com>
6744
6745 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6746 * gdb.base/style.exp: Add metadata style test.
6747
14309bb6
TT
67482019-10-01 Tom Tromey <tom@tromey.com>
6749
6750 * gdb.base/style.exp: Test "pwd".
6751
2a3c1174
PA
67522019-10-01 Tom Tromey <tom@tromey.com>
6753
6754 * gdb.base/style.exp: Update tests.
6755
53d666ec
AA
67562019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6757
6758 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6759 'six' to unsigned.
6760 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6761 'five'. Use an all-ones bit pattern for each.
6762 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6763 to its changed values.
6764
4a56a520
TT
67652019-09-30 Tom Tromey <tromey@adacore.com>
6766
6767 * gdb.rust/traits.rs: Disable all warnings.
6768
0df0352a
TV
67692019-09-29 Tom de Vries <tdevries@suse.de>
6770
aac66a4c 6771 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6772
73d9a918
TV
67732019-09-29 Tom de Vries <tdevries@suse.de>
6774
6775 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6776
060b3ab4
TV
67772019-09-27 Tom de Vries <tdevries@suse.de>
6778
6779 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6780
68f7d34d
TV
67812019-09-27 Tom de Vries <tdevries@suse.de>
6782
6783 PR record/23188
6784 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6785
5d63b30a
TT
67862019-09-26 Tom Tromey <tromey@adacore.com>
6787
6788 * gdb.ada/py_taft.exp: New file.
6789 * gdb.ada/py_taft/main.adb: New file.
6790 * gdb.ada/py_taft/pkg.adb: New file.
6791 * gdb.ada/py_taft/pkg.ads: New file.
6792
3d435220
TV
67932019-09-24 Tom de Vries <tdevries@suse.de>
6794
6795 PR gdb/24598
6796 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6797
77d03678
TV
67982019-09-22 Tom de Vries <tdevries@suse.de>
6799
6800 * gdb.base/restore.exp: Allow register variables to be optimized out at
6801 -O0.
6802
abf516c6
UW
68032019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6804
6805 * gdb.arch/spu-info.exp: Remove file.
6806 * gdb.arch/spu-info.c: Remove file.
6807 * gdb.arch/spu-ls.exp: Remove file.
6808 * gdb.arch/spu-ls.c: Remove file.
6809
6810 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6811 * gdb.asm/spu.inc: Remove file.
6812
6813 * gdb.base/dump.exp: Remove support for spu*-*-*.
6814 * gdb.base/stack-checking.exp: Likewise.
6815 * gdb.base/overlays.exp: Likewise.
6816 * gdb.base/ovlymgr.c: Likewise.
6817 * gdb.base/spu.ld: Remove file.
6818
6819 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6820 * gdb.cp/cpexprs.exp: Likewise.
6821 * gdb.cp/exception.exp: Likewise.
6822 * gdb.cp/gdb2495.exp: Likewise.
6823 * gdb.cp/mb-templates.exp: Likewise.
6824 * gdb.cp/pr9167.exp: Likewise.
6825 * gdb.cp/userdef.exp: Likewise.
6826
6827 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6828
6829 * gdb.cell: Remove directory.
6830 * lib/cell.exp: Remove file.
6831
e452e88f
TV
68322019-09-19 Tom de Vries <tdevries@suse.de>
6833
6834 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6835
8a625130
TV
68362019-09-19 Tom de Vries <tdevries@suse.de>
6837
6838 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6839
81dc3ab5
TV
68402019-09-19 Tom de Vries <tdevries@suse.de>
6841
6842 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6843 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6844 (gdb_target_cmd): ... here.
6845 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6846 value 2.
6847
b078f3ac
AB
68482019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6849
6850 * gdb.base/source-dir.exp: Avoid having directory names in test
6851 names.
6852
f1b620e9
MG
68532019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6854
6855 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6856 directory.
6857
67f3ed6a
AB
68582019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6859
6860 * gdb.base/list-missing-source.exp: New file.
6861
d1b70248
TV
68622019-09-14 Tom de Vries <tdevries@suse.de>
6863
6864 PR teststuite/24599
6865 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6866 * lib/ada.exp (gnatmake_version_at_least): New proc.
6867
5fabdcd6
AB
68682019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6869
6870 * gdb.base/maint.exp: Use exec_has_index_section.
6871
aa17805f
AB
68722019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6873
6874 * gdb.base/maint.exp: Add test for 'maint info sections'.
6875
25e5c209
TV
68762019-09-12 Tom de Vries <tdevries@suse.de>
6877
6878 * gdb.base/store.exp: Allow register variables to be optimized out at
6879 -O0.
6880
4993045d
PW
68812019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6882
6883 * gdb.ada/rdv_wait.exp: Update to new task names.
6884 * gdb.base/task_switch_in_core.exp: Likewise.
6885 * gdb.base/info_sources_base.c: Likewise.
6886
8a516164
TT
68872019-09-10 Tom Tromey <tromey@adacore.com>
6888
6889 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6890
aa391654
TT
68912019-09-10 Tom Tromey <tromey@adacore.com>
6892
6893 * gdb.ada/dgopt.exp: New file.
6894 * gdb.ada/dgopt/x.adb: New file.
6895
8634b462
TT
68962019-09-08 Tom Tromey <tom@tromey.com>
6897
6898 * gdb.tui/resize.exp: Remove setup_xfail.
6899 * gdb.tui/regs.exp: Remove setup_xfail.
6900 * gdb.tui/basic.exp: Remove setup_xfail.
6901
736b0f76
DB
69022019-09-06 David Blaikie <dblaikie@gmail.com>
6903
6904 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6905 * gdb.cp/cplabel.exp: Ditto.
6906 * gdb.linespec/ls-errs.exp: Ditto.
6907
30331a6c
TV
69082019-09-05 Tom de Vries <tdevries@suse.de>
6909
6910 * lib/gdb.exp (cmp_file_string): New proc.
6911 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6912 runto_main. Verify save breakpoints output.
6913
98b0ebab
PW
69142019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6915
6916 * gdb.base/info-var.exp: Test info variables without running
6917 to main, to avoid expect's buffer overflow.
6918
4e962e74
TT
69192019-09-03 Tom Tromey <tromey@adacore.com>
6920
6921 * gdb.ada/bias.exp: New file.
6922 * gdb.ada/bias/bias.adb: New file.
6923 * gdb.ada/print_chars.exp: Add regression test.
6924 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6925 (MC): New variable.
6926
2ea1a07a
SL
69272019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6928
6929 * gdb.base/argv0-symlink.exp: Run only on native target
6930 and local host.
6931
8077c50d
TV
69322019-08-29 Tom de Vries <tdevries@suse.de>
6933
6934 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6935 diverse debug info.
6936 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6937
48352473
TV
69382019-08-28 Tom de Vries <tdevries@suse.de>
6939
6940 * gdb.base/info-var.exp: Allow info variables to print info for files
6941 other than info-var-f1.c and info-var-f2.c.
6942
d8f27c60
AB
69432019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6944
6945 * gdb.fortran/info-types.exp: Add module.
6946 * gdb.fortran/info-types.f90: Update expected results.
6947
1f20c35e
AB
69482019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6949
6950 * gdb.fortran/info-types.exp: New file.
6951 * gdb.fortran/info-types.f90: New file.
6952 * lib/fortran.exp (fortran_character1): New proc.
6953
4acfdd20
AB
69542019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6955
6956 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6957 functions'. Reindent as needed.
6958 * gdb.base/info-var-f1.c: New file.
6959 * gdb.base/info-var-f2.c: New file.
6960 * gdb.base/info-var.exp: New file.
6961 * gdb.base/info-var.h: New file.
6962
5c31b358
TV
69632019-08-26 Tom de Vries <tdevries@suse.de>
6964
6965 PR c++/24852
6966 * gdb.cp/no-libstdcxx-probe.exp: New test.
6967
b694989f
TV
69682019-08-26 Tom de Vries <tdevries@suse.de>
6969
6970 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6971 * tests need to be skipped.
6972 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6973 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6974 mi_skip_libstdcxx_probe_tests.
6975
d9c4ba53
SDJ
69762019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6977
6978 * gdb.python/py-xmethods.exp: Use raw strings when passing
6979 arguments to SimpleXMethodMatcher.
6980
395fad09
TV
69812019-08-22 Tom de Vries <tdevries@suse.de>
6982
6983 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6984 more informative.
6985
26c957f1
PA
69862019-08-21 Pedro Alves <palves@redhat.com>
6987
6988 * gdb.base/with.exp: Test "with" with no arguments.
6989
61f80d5d
TV
69902019-08-21 Tom de Vries <tdevries@suse.de>
6991
6992 * gdb.base/gdb-caching-proc.exp: Sort files.
6993
d7a11d13
TV
69942019-08-20 Tom de Vries <tdevries@suse.de>
6995
6996 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6997 compilation.
6998
34dafe9f
TV
69992019-08-16 Tom de Vries <tdevries@suse.de>
7000
7001 * gdb.base/compare-sections.exp ("after run to main"): Allow
7002 mismatched read-only sections for PIE executables.
7003
398fdd60
TT
70042019-08-16 Tom Tromey <tom@tromey.com>
7005
7006 * lib/tuiterm.exp (_csi_Z): New proc.
7007 * gdb.tui/basic.exp: Update window positions.
7008 * gdb.tui/empty.exp: Update window positions.
7009
d8f9e51c
SL
70102019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7011
7012 * gdb.base/examine-backward.exp: Correct regexp for
7013 "examine 3 bytes backward from ${address_zero}".
7014
3df505f6
TT
70152019-08-15 Tom Tromey <tom@tromey.com>
7016
7017 * gdb.tui/empty.exp: Enable resizing tests.
7018
272560b5
TT
70192019-08-15 Tom Tromey <tromey@adacore.com>
7020
7021 * gdb.ada/char_enum.exp: Add regression tests.
7022 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7023 and '0'.
7024 (Char, Gchar): Update.
7025 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7026
08235187
CB
70272019-08-15 Christian Biesinger <cbiesinger@google.com>
7028
7029 * gdb.python/python.exp: Expect a leading underscore on
7030 GdbOutput{,Error}File.
7031
22a2ab04
SL
70322019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7033
7034 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7035 Windows host.
7036
835b995b
SL
70372019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7038
7039 * gdb.base/batch-preserve-term-settings.exp
7040 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7041
97dd8e07
CB
70422019-08-15 Christian Biesinger <cbiesinger@google.com>
7043
7044 * lib/gdb.exp: When running on a mingw target, replace
7045 /x/ with x:/.
7046
75faf5c4
AH
70472019-08-14 Alan Hayward <alan.hayward@arm.com>
7048
7049 * gdb.arch/aarch64-prologue.c: New test.
7050 * gdb.arch/aarch64-prologue.exp: New file.
7051
abc6c00f
TV
70522019-08-13 Tom de Vries <tdevries@suse.de>
7053
7054 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7055 Thread.
7056
74c2c1f4
SL
70572019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7058
7059 * gdb.python/py-completion.exp: Download the .py file to the host
7060 and use its host pathname. Conditionalize tests that use
7061 tab completion and manipulate files on the build machine.
7062 * gdb.python/py-events.exp: Download the .py file to the host
7063 and use its host pathname.
7064 * gdb.python/py-evsignal.exp: Likewise.
7065 * gdb.python/py-evthreads.exp: Likewise.
7066 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7067 pathname syntax.
7068 * gdb.python/py-framefilter.exp: Download the .py file to the right
7069 place on the host. Match Windows pathname syntax.
7070 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7071 .py file to the host and use its host pathname.
7072 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7073 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7074 build pathname. Skip symlink test on Windows host. Add missing
7075 newline at end of file.
7076 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7077 and use its host pathname.
7078 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7079 * gdb.python/py-section-script.exp: Use host location of binfile
7080 on safe-path. Use correct path separator on Windows host.
7081 Reorder alternatives in gdb_test_multiple to prevent matching
7082 the wrong alternative on success.
7083 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7084
ca2589f3
PP
70852019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7086
7087 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7088 expect the GDB inferior to no longer immediately stop after
7089 being resumed with "signal SIGINT".
7090
020a839d
SL
70912019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7092
7093 * gdb.linespec/break-ask.exp: Generalize regexps to match
7094 Windows pathnames too.
7095
128d6509
TV
70962019-08-08 Tom de Vries <tdevries@suse.de>
7097
7098 PR testsuite/24862
7099 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7100
590042fc
PW
71012019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7102
7103 * gdb.base/style.exp: Update tests for help doc new invariants.
7104 * gdb.base/help.exp: Likewise.
7105
046bebe1
TT
71062019-08-06 Tom Tromey <tom@tromey.com>
7107
7108 * gdb.base/style.exp: Add disassemble test.
7109 * gdb.base/style.c (some_called_function): New function.
7110 (main): Use it.
7111
0b27c27d
CB
71122019-08-05 Christian Biesinger <cbiesinger@google.com>
7113
7114 * gdb.python/py-block.exp: Test dictionary access on blocks.
7115
580f1034
SM
71162019-08-05 Simon Marchi <simon.marchi@efficios.com>
7117
7118 PR gdb/24863
7119 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7120 -list-thread-groups --available test when running under
7121 check-read1.
7122
d86bd7cb
TV
71232019-08-05 Tom de Vries <tdevries@suse.de>
7124
7125 PR testsuite/24863
7126 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7127 * gdb.base/help.exp: Use with_read1_timeout_factor.
7128 * gdb.base/info-macros.exp: Same.
7129 * gdb.cp/nested-types.exp: Same.
7130
a80cf5d8
TV
71312019-08-05 Tom de Vries <tdevries@suse.de>
7132
7133 * lib/gdb.exp (version_at_least): Factor out of ...
7134 (tcl_version_at_least): ... here.
7135 (gdb_compile): Fail if pie results in non-PIE executable.
7136 (readelf_version, readelf_prints_pie): New proc.
7137 (exec_is_pie): Return -1 if unknown.
7138
d0962838
TV
71392019-08-05 Tom de Vries <tdevries@suse.de>
7140
7141 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7142
2252ff3d
SL
71432019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7144
7145 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7146
26655f53
SL
71472019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7148
7149 * lib/completion-support.exp (test_gdb_complete_none): Skip
7150 tab completion tests if no readline support.
7151 (test_gdb_complete_unique_re): Likewise.
7152 (test_gdb_complete_multiple): Likewise.
7153
db4dc13e
PW
71542019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7155
7156 * gdb.base/info_sources.exp: New file.
7157 * gdb.base/info_sources.c: New file.
7158 * gdb.base/info_sources_base.c: New file.
7159
0eba165a
PFC
71602019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7161
7162 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7163 prefix argument.
7164 (test_exit_status): Add prefix argument.
7165
59bd512b
TV
71662019-08-01 Tom de Vries <tdevries@suse.de>
7167
7168 PR testsuite/24863
7169 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7170 calling exp_continue for new thread and thread exited messages.
7171
2a3ad588
TV
71722019-08-01 Tom de Vries <tdevries@suse.de>
7173
7174 PR testsuite/24863
7175 * gdb.base/structs.exp: Fix check-read1 timeout using
7176 gdb_test_sequence.
7177 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7178
117eb594
TV
71792019-08-01 Tom de Vries <tdevries@suse.de>
7180
7181 PR testsuite/24863
7182 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7183 line.
7184
ed591340
TV
71852019-08-01 Tom de Vries <tdevries@suse.de>
7186
7187 PR testsuite/24863
7188 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7189
aa3b6533
TT
71902019-07-30 Tom Tromey <tromey@adacore.com>
7191
7192 * gdb.ada/display_nested.exp: New file.
7193 * gdb.ada/display_nested/foo.adb: New file.
7194 * gdb.ada/display_nested/pack.adb: New file.
7195 * gdb.ada/display_nested/pack.ads: New file.
7196
2906593f
CB
71972019-07-30 Christian Biesinger <cbiesinger@google.com>
7198
7199 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7200 namespace.
7201 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7202
0f575925
TV
72032019-07-30 Tom de Vries <tdevries@suse.de>
7204
7205 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7206 instead.
7207
b13057d9
TV
72082019-07-30 Tom de Vries <tdevries@suse.de>
7209
7210 PR testsuite/24834
7211 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7212 (exec_is_pie): New proc.
7213
5c4dde85
CB
72142019-07-29 Christian Biesinger <cbiesinger@google.com>
7215
7216 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7217
c620ed88
CB
72182019-07-29 Christian Biesinger <cbiesinger@google.com>
7219
7220 * gdb.python/py-objfile.c: Add global and static vars.
7221 * gdb.python/py-objfile.exp: Test new functions Objfile.
7222 lookup_global_symbol and lookup_static_symbol.
7223
3d235706
TT
72242019-07-29 Tom Tromey <tom@tromey.com>
7225
7226 * lib/tuiterm.exp (Term::_csi_@): New proc.
7227 (Term::_csi_X): Don't move cursor.
7228
c7e4c0a6
PW
72292019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7230
7231 * gdb.base/options.exp: Update backtrace - completion to
7232 new option -frame-info.
7233 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7234 Test new 'set print frame-info'. Test backtrace -frame-info
7235 overriding 'set print frame-info'.
7236 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7237 Test new 'set print frame-info'.
7238 Verify consistency of backtrace with and without filters, with and
7239 without -no-filters.
7240 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7241 default.
7242
de28a3b7
TV
72432019-07-29 Tom de Vries <tdevries@suse.de>
7244
7245 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7246 no arguments".
7247
507dd60e
TV
72482019-07-29 Tom de Vries <tdevries@suse.de>
7249
7250 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7251 is a substring of the first for "complete non-unique file name".
7252
5beafce9
TV
72532019-07-29 Tom de Vries <tdevries@suse.de>
7254
7255 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7256 with ".*".
7257
2d274232
TV
72582019-07-29 Tom de Vries <tdevries@suse.de>
7259
7260 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7261 Pass prompt_regexp parameter to gdb_test_multiple calls.
7262
9197cd8b
TV
72632019-07-29 Tom de Vries <tdevries@suse.de>
7264
7265 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7266 print registers" regexps.
9197cd8b 7267
b528dae0
TV
72682019-07-29 Tom de Vries <tdevries@suse.de>
7269
7270 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7271
d17725d7
TV
72722019-07-29 Tom de Vries <tdevries@suse.de>
7273
7274 PR gdb/24855
7275 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7276 (skip_python_tests_prompt): Add prompt_regexp argument to
7277 gdb_test_multiple calls.
7278
52b75bf1
TT
72792019-07-27 Tom Tromey <tom@tromey.com>
7280
7281 * gdb.tui/main.exp: New file.
7282
2b1d00c2
TT
72832019-07-27 Tom Tromey <tom@tromey.com>
7284
7285 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7286 optional.
7287 * gdb.tui/empty.exp: New file.
7288
ded631d5
TT
72892019-07-27 Tom Tromey <tom@tromey.com>
7290
7291 * lib/tuiterm.exp (spawn): New proc.
7292 (Term::resize): New proc.
7293 * gdb.tui/resize.exp: New file.
7294
58ac439d
TT
72952019-07-27 Tom Tromey <tom@tromey.com>
7296
7297 * gdb.tui/list.exp: New file.
7298
fe1f56ee
TT
72992019-07-27 Tom Tromey <tom@tromey.com>
7300
7301 * gdb.tui/regs.exp: New file.
7302
f790b310
TT
73032019-07-27 Tom Tromey <tom@tromey.com>
7304
7305 * gdb.tui/basic.exp: Add "layout split" test.
7306
d95fc6ee
TT
73072019-07-27 Tom Tromey <tom@tromey.com>
7308
7309 * gdb.tui/basic.exp: Add "layout asm" test.
7310
c3786b3a
TT
73112019-07-27 Tom Tromey <tom@tromey.com>
7312
7313 * lib/tuiterm.exp: New file.
7314 * gdb.tui/basic.exp: New file.
7315
98a617f8
KB
73162019-07-27 Kevin Buettner <kevinb@redhat.com>
7317
7318 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7319 Enable tests associated with this flag. Adjust regex
7320 referencing "foo_low" to now refer to "foo_cold" instead.
7321
5c076da4
KB
73222019-07-27 Kevin Buettner <kevinb@redhat.com>
7323
7324 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7325 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7326 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7327 foo_cold. Revise comments to match.
7328 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7329 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7330 were wrapped into this proc; Call do_test in loop from outermost
7331 level.
7332 (foo_low): Rename all occurrences to "foo_cold".
7333 (backtrace from baz): New test.
7334 (x2/i foo_cold): New test.
7335 (info line *foo_cold): New test.
7336
1512d3b7
TV
73372019-07-26 Tom de Vries <tdevries@suse.de>
7338
7339 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7340
297989a1
TV
73412019-07-25 Tom de Vries <tdevries@suse.de>
7342
7343 PR testsuite/24830
7344 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7345 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7346 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7347 (skip_libstdcxx_probe_tests): ... here.
7348 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7349
b3b965fb
TV
73502019-07-24 Tom de Vries <tdevries@suse.de>
7351
7352 PR testsuite/24807
7353 * gdb.objc/basicclass.m: Include stdio.h.
7354 * gdb.objc/nondebug.m: Same.
7355 * gdb.objc/objcdecode.m: Same.
7356
4625b4d0
TV
73572019-07-24 Tom de Vries <tdevries@suse.de>
7358
7359 PR testsuite/24612
7360 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7361 additional_flags.
7362
024a5840
TV
73632019-07-24 Tom de Vries <tdevries@suse.de>
7364
7365 PR testsuite/24831
7366 * gdb.multi/tids.exp: Update error messages for info threads.
7367
c76ddaa3
TV
73682019-07-24 Tom de Vries <tdevries@suse.de>
7369
7370 * gdb.base/info-types.exp: Allow info types to print info for more than
7371 one file.
7372
9a618ef6
TV
73732019-07-23 Tom de Vries <tdevries@suse.de>
7374
7375 PR testsuite/24842
7376 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7377 gdb_spawn_with_cmdline_opts.
7378
40eadf04
SP
73792019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7380
7381 * gdb.arch/arm-cmse-sgstubs.c: New test.
7382 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7383
5ba29434
TV
73842019-07-23 Tom de Vries <tdevries@suse.de>
7385
7386 PR testsuite/24711
7387 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7388 issuing next command.
7389
a8e9d247
AB
73902019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7391
7392 * gdb.ada/info_auto_lang.exp: Update expected results.
7393 * gdb.base/info-types.c: Add additional types to check.
7394 * gdb.base/info-types.exp: Update expected results.
7395
eb86c5e2
AB
73962019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7397
7398 * gdb.base/info-types.c: New file.
7399 * gdb.base/info-types.exp: New file.
7400
01e175fe
AB
74012019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7402
7403 * gdb.arch/riscv-bp-infcall.c: New file.
7404 * gdb.arch/riscv-bp-infcall.exp: New file.
7405
6b78c3f8
AB
74062019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7407
7408 PR breakpoints/24541
7409 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7410
da738167
TV
74112019-07-14 Tom de Vries <tdevries@suse.de>
7412
7413 PR testsuite/24760
7414 * gdb.objc/basicclass.exp: Fix unterminated string.
7415
0d4e84ed
AB
74162019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7417 Andrew Burgess <andrew.burgess@embecosm.com>
7418
7419 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7420 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7421 negative bounds.
7422 * gdb.fortran/vla-value.exp: Print elements of an array with
7423 negative bounds.
7424 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7425 testing.
7426
021d8588
AB
74272019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7428
7429 * gdb.base/options.exp (expect_string): Dequote strings in
7430 results.
7431 (test-string): Test strings with different quoting and reindent.
7432
f06f1252
TT
74332019-07-10 Tom Tromey <tromey@adacore.com>
7434
7435 * gdb.ada/mi_ex_cond.exp: Update expected results.
7436 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7437 * gdb.ada/mi_catch_ex.exp: Update expected results.
7438 * gdb.ada/mi_catch_assert.exp: Update expected results.
7439 * gdb.ada/catch_ex.exp (catch_exception_info)
7440 (catch_exception_entry, catch_assert_entry)
7441 (catch_unhandled_entry): Update.
7442 * gdb.ada/catch_assert_if.exp: Update expected results.
7443
b863685d
RB
74442019-07-10 Richard Bunt <richard.bunt@arm.com>
7445 Stephen Roberts <stephen.roberts@arm.com>
7446
7447 * gdb.base/define.exp: Restore original prompt.
7448
cb1e4e32
PA
74492019-07-09 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7452 breakpoints" output.
7453 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7454 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7455 throw" creates breakpoint.
7456 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7457 'type="catchpoint"'.
7458
b58a68fe
PA
74592019-07-09 Pedro Alves <palves@redhat.com>
7460
7461 PR c++/15468
7462 * gdb.cp/except-multi-location-lib.cc: New.
7463 * gdb.cp/except-multi-location-main.cc: New.
7464 * gdb.cp/except-multi-location.exp: New.
7465
0826779b
PW
74662019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7467
7468 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7469 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7470 argument and update callers.
7471
5b0e2db4
AB
74722019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7473
7474 * gdb.arch/amd64-break-on-asm-line.S: New file.
7475 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7476
1f6f6e21
PW
74772019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7478
7479 * gdb.base/printcmds.exp: Test printing C string and
7480 C wide string convenience vars without transiting via the inferior.
7481 Also make test names unique.
7482
ea142fbf
AH
74832019-07-08 Alan Hayward <alan.hayward@arm.com>
7484
5862c886 7485 PR breakpoints/25011
ea142fbf
AH
7486 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7487
213fd9fa
PA
74882019-07-04 Pedro Alves <palves@redhat.com>
7489
7490 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7491 body returned ok(0), break(3) or continue(4).
7492 * gdb.testsuite/foreach_with_prefix.exp: New file.
7493
2b40fda7
AH
74942019-07-04 Alan Hayward <alan.hayward@arm.com>
7495
7496 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7497
a26c8de0
PA
74982019-07-03 Pedro Alves <palves@redhat.com>
7499
7500 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7501 "return -code".
7502
5f4ba3e7
PA
75032019-07-03 Pedro Alves <palves@redhat.com>
7504
7505 PR cli/24732
7506 * gdb.base/shell.exp: Load completion-support.exp.
7507 Adjust expected error output. Add completion tests.
7508
a994424f
PA
75092019-07-03 Pedro Alves <palves@redhat.com>
7510
7511 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7512 string_to_regexp.
7513
3d9be6f5
PA
75142019-07-03 Pedro Alves <palves@redhat.com>
7515
7516 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7517 (expect_integer): Adjust to expect "-string".
7518 (expect_string): New.
7519 (all_options): Expect "-string".
7520 (test-flag, test-boolean): Adjust to expect "-string".
7521 (test-string): New proc.
7522 (top level): Call it.
7523
41fc454c
PA
75242019-07-03 Pedro Alves <palves@redhat.com>
7525
7526 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7527 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7528 the expected output in the success.
7529
b2b2a215
PA
75302019-07-03 Pedro Alves <palves@redhat.com>
7531
7532 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7533 Split one gdb_test_multiple call in two to avoid a race.
7534
fdbc9870
PA
75352019-07-03 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.base/with.c: New file.
7538 * gdb.base/with.exp: New file.
7539
c6ac8931
PA
75402019-07-03 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/settings.exp: Replace all references to "maint
7543 test-settings set" with references to "maint set test-settings",
7544 and all references to "maint test-settings show" with references
7545 to "maint show test-settings".
7546
970f9d09
PA
75472019-07-03 Pedro Alves <palves@redhat.com>
7548
7549 * gdb.base/settings.exp (test-string): Adjust expected out when
7550 testing "maint test-settings show filename"
7551
54d66006
PA
75522019-07-02 Pedro Alves <palves@redhat.com>
7553
7554 * gdb.base/options.exp (test-info-threads): New procedure.
7555 (top level): Call it.
7556
10d06d82
TT
75572019-06-28 Tom Tromey <tromey@adacore.com>
7558
7559 * gdb.dwarf2/ada-linkage-name.c: New file.
7560 * gdb.dwarf2/ada-linkage-name.exp: New file.
7561
3d507ff2
TT
75622019-06-27 Tom Tromey <tromey@adacore.com>
7563
d039f014 7564 PR c++/20020:
3d507ff2
TT
7565 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7566
8af58ffe
TV
75672019-06-26 Tom de Vries <tdevries@suse.de>
7568
7569 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7570
22e21752
TV
75712019-06-26 Tom de Vries <tdevries@suse.de>
7572
7573 * gdb.base/index-cache.exp: Add back missing debug option.
7574
b65b566c
PW
75752019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7576
7577 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7578
5c2c8c69
TV
75792019-06-25 Tom de Vries <tdevries@suse.de>
7580
7581 PR testsuite/24727
7582 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7583
164e3873
TV
75842019-06-24 Tom de Vries <tdevries@suse.de>
7585
7586 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7587
824eacee
TV
75882019-06-24 Tom de Vries <tdevries@suse.de>
7589
7590 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7591 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7592 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7593
385b97d3
TV
75942019-06-24 Tom de Vries <tdevries@suse.de>
7595
7596 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7597
c596f180
TV
75982019-06-21 Tom de Vries <tdevries@suse.de>
7599
7600 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7601
b13a7d03
TV
76022019-06-21 Tom de Vries <tdevries@suse.de>
7603
7604 PR testsuite/24518
7605 PR ada/24713
7606 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7607 index.
7608
899277ae
TT
76092019-06-19 Tom Tromey <tromey@adacore.com>
7610
7611 * gdb.ada/length_cond.exp: Add intro comment.
7612
680e1bee
TT
76132019-06-19 Tom Tromey <tromey@adacore.com>
7614
7615 * gdb.ada/length_cond.exp: New file.
7616 * gdb.ada/length_cond/length_cond.adb: New file.
7617 * gdb.ada/length_cond/pck.adb: New file.
7618 * gdb.ada/length_cond/pck.ads: New file.
7619
0ed4690a
TV
76202019-06-18 Tom de Vries <tdevries@suse.de>
7621
7622 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7623
d20ed5fd
TT
76242019-06-18 Tom Tromey <tromey@adacore.com>
7625
7626 * gdb.base/list0.h: Add comment explaining control character.
7627
86e04673
TV
76282019-06-18 Tom de Vries <tdevries@suse.de>
7629
7630 * boards/fission.exp: Break up long debug_flags line.
7631
c4973306
SM
76322019-06-16 Tom de Vries <tdevries@suse.de>
7633
7634 PR gdb/24445
7635 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7636 generated index.
7637
93cb9841
AB
76382019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7639
7640 PR gdb/24686
7641 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7642 improve detection of bug gdb/24541.
7643
399aaebd
SM
76442019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7645
7646 PR gdb/24669
7647 * gdb.base/index-cache.exp (uses_readnow,
7648 expecting_index_cache_use): Define global variable.
7649 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7650 expecting_index_cache_use.
7651
584a927c
AB
76522019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7653 Andrew Burgess <andrew.burgess@embecosm.com>
7654
7655 * gdb.fortran/pointers.f90: New file.
7656 * gdb.fortran/print_type.exp: New file.
7657 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7658 * gdb.fortran/vla-type.exp: Likewise.
7659 * gdb.fortran/vla-value.exp: Likewise.
7660 * gdb.mi/mi-vla-fortran.exp: Likewise.
7661
30056ea0
AB
76622019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7663
7664 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7665 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7666 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7667 as a stop reason.
7668
ec8e2b6d
AB
76692019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7670
7671 * gdb.base/annota1.exp: Update expected results.
7672 * gdb.cp/annota2.exp: Likewise.
7673 * gdb.cp/annota3.exp: Likewise.
7674
09e4c4e1
AB
76752019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7676
7677 * gdb.base/style-logging.exp: Remove path from test name.
7678
0735b091
TT
76792019-06-14 Tom Tromey <tromey@adacore.com>
7680
7681 PR gdb/24502:
7682 * gdb.base/style-logging.exp: New file.
7683
f5686554
TT
76842019-06-14 Tom Tromey <tromey@adacore.com>
7685
7686 * gdb.base/symfile-warn.exp: New file.
7687 * gdb.base/symfile-warn.c: New file.
7688
a0c1ffed
TT
76892019-06-14 Tom Tromey <tromey@adacore.com>
7690
7691 * gdb.base/annotate-symlink.exp: New file.
7692
f411722c
TT
76932019-06-14 Tom Tromey <tromey@adacore.com>
7694
7695 * gdb.ada/set_wstr.exp: Add reassignment test.
7696
4268ec18
TT
76972019-06-14 Tom Tromey <tromey@adacore.com>
7698
7699 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7700 'unchecked_access and 'unrestricted_access as well.
7701
9a9e394b
TT
77022019-06-14 Tom Tromey <tromey@adacore.com>
7703
7704 PR ada/24539:
7705 * gdb.ada/vla.exp: Update tests.
7706 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7707 pragma.
7708
4c048731
PA
77092019-06-13 Pedro Alves <palves@redhat.com>
7710
7711 * gdb.base/settings.exp (test-integer): Test junk after
7712 "unlimited".
7713
6665660a
PA
77142019-06-13 Pedro Alves <palves@redhat.com>
7715
7716 * gdb.base/options.exp (test-thread-apply): New.
7717 (top level): Call it.
7718
5d707134
PA
77192019-06-13 Pedro Alves <palves@redhat.com>
7720
7721 * gdb.base/options.exp (test-frame-apply): New.
7722 (top level): Test print commands with different "frame apply"
7723 prefixes.
7724
e2a689da
PA
77252019-06-13 Pedro Alves <palves@redhat.com>
7726
e79be6e5 7727 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7728 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7729 'max_completions' parameter and handle it.
7730 (test_gdb_completion_offers_commands): New.
7731
90a1ef87
PA
77322019-06-13 Pedro Alves <palves@redhat.com>
7733
7734 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7735
d4c16835
PA
77362019-06-13 Pedro Alves <palves@redhat.com>
7737
7738 * gdb.base/options.exp (test-backtrace): New.
7739 (top level): Call it.
7740
2daf894e
PA
77412019-06-13 Pedro Alves <palves@redhat.com>
7742
7743 * gdb.guile/scm-frame-args.exp: Use "set print
7744 raw-frame-arguments" instead of "set print raw frame-arguments".
7745 * gdb.python/py-frame-args.exp: Likewise.
7746
e6ed716c
PA
77472019-06-13 Pedro Alves <palves@redhat.com>
7748
7749 * gdb.compile/compile.exp: Adjust expected output to option
7750 processing changes.
7751
7d8062de
PA
77522019-06-13 Pedro Alves <palves@redhat.com>
7753
7754 * gdb.base/options.exp: Build executable.
7755 (test-print): New procedure.
7756 (top level): Call it, once for "print" and another for "compile
7757 print".
7758
9d0faba9
PA
77592019-06-13 Pedro Alves <palves@redhat.com>
7760
7761 * gdb.base/options.c: New file.
7762 * gdb.base/options.exp: New file.
7763
dee7b4c8
PA
77642019-06-13 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7767 that "o" is ambiguous.
7768
dca0f6c0
PA
77692019-06-13 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.base/settings.c: New file.
7772 * gdb.base/settings.exp: New file.
7773
ccf46844
PA
77742019-06-13 Pedro Alves <palves@redhat.com>
7775
7776 * gdb.base/completion.exp: Fix comment typo.
7777
b9a3f842
PA
77782019-06-13 Pedro Alves <palves@redhat.com>
7779
7780 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7781 foo --1" test.
7782
d106773e
PA
77832019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7784
7785 * gdb.fortran/block-data.f: New.
7786 * gdb.fortran/block-data.exp: New.
7787
fea82da0
TV
77882019-06-11 Tom de Vries <tdevries@suse.de>
7789
7790 PR testsuite/24521
7791 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7792 message.
7793
8c2e74f1
TV
77942019-06-11 Tom de Vries <tdevries@suse.de>
7795
7796 PR testsuite/24521
7797 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7798
b49851c8
TV
77992019-06-11 Tom de Vries <tdevries@suse.de>
7800
7801 * boards/readnow.exp: New file.
7802
a7067863
AB
78032019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7804
7805 * gdb.fortran/vla-sizeof.exp: Update expected results.
7806
1a3da2cd
AB
78072019-06-06 Amos Bird <amosbird@gmail.com>
7808
7809 * gdb.base/annota1.exp (thread_switch): Add test for
7810 thread-exited annotation.
7811
3847a7bf
TT
78122019-06-06 Tom Tromey <tromey@adacore.com>
7813
7814 * gdb.base/maint.exp: Expect command started/finished output.
7815
0088ba59
AB
78162019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7817
7818 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7819 comment.
7820 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7821
312617a3
AB
78222019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7823
7824 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7825 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7826 * gdb.arch/riscv-unwind-long-insn.c: New file.
7827 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7828
e1f2e1a2
CB
78292019-06-04 Christian Biesinger <cbiesinger@google.com>
7830
d3238f7d 7831 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7832
206584bd
PW
78332019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7834
7835 * lib/gdb.exp (help_list_trailer): New regexp variable
7836 factorizing the help trailer message.
7837 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7838 arg to allow to better factorize various tests.
7839 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7840 (test_prefix_command_help): Use help_list_trailer.
7841 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7842 * gdb.guile/scm-cmd.exp: Likewise.
7843 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7844 * gdb.base/help.exp: Use test_user_defined_class_help.
7845 * gdb.base/style.exp: Add tests for styling of help and apropos.
7846 * lib/gdb-utils.exp (style): Add title and highlight styles.
7847
708dc93e
PW
78482019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7849
7850 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7851 $_shell_exitsignal.
7852 * gdb.base/default.exp: Update for new convenience variables.
7853
f49055a5
TT
78542019-05-29 Tom Tromey <tromey@adacore.com>
7855
7856 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7857 to "break complete ada" test case's regexp.
7858
4330d61d
TT
78592019-05-29 Tom Tromey <tromey@adacore.com>
7860
7861 PR c++/20020:
7862 * gdb.cp/constexpr-field.exp: New file.
7863 * gdb.cp/constexpr-field.cc: New file.
7864
000439d5
TT
78652019-05-29 Tom Tromey <tromey@adacore.com>
7866
7867 * gdb.base/finish.exp (finish_no_print): New proc.
7868 (finish_tests): Call it.
7869
5a01c34c
TV
78702019-05-24 Tom de Vries <tdevries@suse.de>
7871
7872 * gdb.dwarf2/gdb-add-index.exp: New file.
7873
18125b16
TT
78742019-05-22 Tom Tromey <tromey@adacore.com>
7875
7876 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7877 * gdb.base/style.exp: Use "style".
7878 * lib/gdb-utils.exp (style): New proc.
7879
af1a8d03
TV
78802019-05-22 Tom de Vries <tdevries@suse.de>
7881
7882 * gdb.base/align.exp: Require c++11.
7883
e7fe496b
TV
78842019-05-22 Tom de Vries <tdevries@suse.de>
7885
7886 PR testsuite/24586
7887 * gdb.python/py-mi-var-info-path-expression.exp: Call
7888 mi_skip_python_tests to check if python is supported.
7889
8fca4da0
AH
78902019-05-22 Alan Hayward <alan.hayward@arm.com>
7891
7892 * gdb.arch/aarch64-pauth.c: New test.
7893 * gdb.arch/aarch64-pauth.exp: New file.
7894
b7060614
AH
78952019-05-22 Alan Hayward <alan.hayward@arm.com>
7896
7897 * README (Re-running Tests Outside The Testsuite): New section.
7898
669d0468
TV
78992019-05-21 Tom de Vries <tdevries@suse.de>
7900
7901 * gdb.arch/amd64-eval.exp: Require c++11.
7902 * gdb.base/max-depth.exp: Same.
7903 * gdb.compile/compile-cplus-array-decay.exp: Same.
7904 * gdb.cp/meth-typedefs.exp: Same.
7905 * gdb.cp/subtypes.exp: Same.
7906 * gdb.cp/temargs.exp: Same.
7907
ce3ebcaa
AH
79082019-05-21 Alan Hayward <alan.hayward@arm.com>
7909
7910 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7911
34d11c68
AB
79122019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7913
7914 PR gdb/18644
7915 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7916 * gdb.fortran/printing-types.exp: Add new test.
7917 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7918 testing.
7919 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7920 setup_kfail call.
7921
87781e84
AH
79222019-05-17 Alan Hayward <alan.hayward@arm.com>
7923
7924 * README (Running the Testsuite): Change example.
7925 (Testsuite Parameters): Remove TRANSCRIPT.
7926 * lib/gdb.exp: Remove TRANSCRIPT check.
7927
b420b89e
AH
79282019-05-17 Alan Hayward <alan.hayward@arm.com>
7929
7930 * README (Testsuite Parameters): Add replay logging to
7931 GDBSERVER_DEBUG.
7932 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7933 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7934 as a comma separated list.
7935 (gdb_debug_init): Override procedure.
7936
408e9b8b
AH
79372019-05-17 Alan Hayward <alan.hayward@arm.com>
7938
7939 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7940 (gdb_write_cmd_file): New procedure.
7941 * lib/gdbserver-support.exp (gdbserver_start): Call
7942 gdbserver_write_cmd_file.
7943 (gdbserver_write_cmd_file): New procedure.
7944
f9e2e39d
AH
79452019-05-17 Alan Hayward <alan.hayward@arm.com>
7946
7947 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7948 (delete_breakpoints): Likewise.
7949 (gdb_run_cmd): Likewise.
7950 (gdb_start_cmd): Likewise.
7951 (gdb_starti_cmd): Likewise.
7952 (gdb_internal_error_resync): Likewise.
7953 (gdb_test_multiple): Likewise.
7954 (gdb_reinitialize_dir): Likewise.
7955 (default_gdb_exit): Likewise.
7956 (gdb_file_cmd): Mark kill as optional.
7957 (default_gdb_start): Call gdb_stdin_log_init.
7958 (send_gdb): Call gdb_stdin_log_write.
7959 (rerun_to_main): Mark Y as an answer.
7960 (gdb_stdin_log_init): New function.
7961 (gdb_stdin_log_write): Likewise.
7962
81f47ac2
AH
79632019-05-17 Alan Hayward <alan.hayward@arm.com>
7964
7965 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7966 * gdb.base/debug-expr.exp: Likewise.
7967 * gdb.base/foll-fork.exp: Likewise.
7968 * gdb.base/foll-vfork.exp: Likewise.
7969 * gdb.base/fork-print-inferior-events.exp: Likewise.
7970 * gdb.base/gdb-sigterm.exp: Likewise.
7971 * gdb.base/gdbinit-history.exp: Likewise.
7972 * gdb.base/osabi.exp: Likewise.
7973 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7974 * gdb.base/ui-redirect.exp: Likewise.
7975 * gdb.gdb/unittest.exp: Likewise.
7976 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7977 * gdb.mi/mi-watch.exp: Likewise.
7978 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7979 * gdb.mi/user-selected-context-sync.exp: Likewise.
7980 * gdb.python/python.exp: Disable debug test when debugging.
7981 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7982 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7983 Likewise.
7984 * gdb.threads/stepi-random-signal.exp: Likewise.
7985
29b52314
AH
79862019-05-17 Alan Hayward <alan.hayward@arm.com>
7987
7988 * Makefile.in: Pass through GDB_DEBUG.
7989 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7990 (gdb,debug): Add board setting.
7991 * lib/gdb.exp (default_gdb_start): Start debugging.
7992 (gdb_debug_enabled): New procedure.
7993 (gdb_debug_init): Likewise.
29b52314
AH
7994
79952019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7996
29b52314
AH
7997 * Makefile.in: Pass through GDB_DEBUG.
7998 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7999 (gdb,debug): Add board setting.
8000 * lib/gdb.exp (default_gdb_start): Start debugging.
8001 (gdb_debug_enabled): New procedure.
8002 (gdb_debug_init): Likewise.
29b52314 8003
ca1285d1
AH
80042019-05-17 Alan Hayward <alan.hayward@arm.com>
8005
8006 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8007
f3a09c80
AH
80082019-05-17 Alan Hayward <alan.hayward@arm.com>
8009
8010 * gdb.base/ui-redirect.exp: Test redirection.
8011
26648588
JV
80122019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8013
8014 * gdb.mi/mi-complete.exp: New file.
8015 * gdb.mi/mi-complete.cc: Likewise.
8016
14237686
AB
80172019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8018
8019 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8020 indexed and sliced arrays, and pointers to arrays.
8021
e7bd7fba
TT
80222019-05-14 Tom Tromey <tromey@adacore.com>
8023
8024 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8025 styling test.
8026
2764128d
TV
80272019-05-14 Tom de Vries <tdevries@suse.de>
8028
8029 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8030 selection entry encoding.
8031
71bed2db
TT
80322019-05-10 Tom Tromey <tromey@adacore.com>
8033
8034 * gdb.ada/info_exc.exp: Add "complete" test.
8035
63b667ad
TV
80362019-05-09 Tom de Vries <tdevries@suse.de>
8037
8038 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8039 CU-relative.
8040
9cfd2b89
TV
80412019-05-09 Tom de Vries <tdevries@suse.de>
8042
8043 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8044 CU-relative.
8045
2228ef77
XR
80462019-05-08 Joel Brobecker <brobecker@adacore.com>
8047
8048 * gdb.ada/frame_arg_lang.exp: New testcase.
8049 * gdb.ada/frame_arg_lang/bla.adb: New file.
8050 * gdb.ada/frame_arg_lang/pck.ads: New file.
8051 * gdb.ada/frame_arg_lang/pck.adb: New file.
8052 * gdb.ada/frame_arg_lang/foo.c: New file.
8053
80e55b13
TT
80542019-05-08 Tom Tromey <tromey@adacore.com>
8055
8056 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8057
9d3421af
TT
80582019-05-08 Tom Tromey <tromey@adacore.com>
8059
8060 * gdb.base/ptype-offsets.exp: Update tests.
8061
844333e2
TT
80622019-05-08 Tom Tromey <tromey@adacore.com>
8063
8064 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8065 cases.
8066 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8067 "short".
8068
988915ee
TT
80692019-05-08 Tom Tromey <tromey@adacore.com>
8070
8071 * gdb.ada/vla.exp: New file.
8072 * gdb.ada/vla/vla.adb: New file.
8073
7bd55dac
TV
80742019-05-07 Tom de Vries <tdevries@suse.de>
8075
8076 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8077
75f06e9d
TV
80782019-05-07 Tom de Vries <tdevries@suse.de>
8079
8080 PR testsuite/24522
8081 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8082 section.
8083
77e7aaa4
TV
80842019-05-07 Tom de Vries <tdevries@suse.de>
8085
8086 PR testsuite/24522
8087 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8088 .debug_aranges section.
8089
456ba0fa
TV
80902019-05-07 Tom de Vries <tdevries@suse.de>
8091
8092 PR testsuite/24159
8093 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8094
5a56d6a6
TV
80952019-05-06 Tom de Vries <tdevries@suse.de>
8096
8097 * lib/gdb.exp (exec_has_index_section): New proc.
8098 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8099 section.
8100
9d6d4be8
TV
81012019-05-04 Tom de Vries <tdevries@suse.de>
8102
8103 * boards/cc-with-debug-names.exp: New file.
8104
222a8d25
TT
81052019-05-03 Tom Tromey <tromey@adacore.com>
8106
8107 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8108 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8109 * gdb.ada/char_enum.exp: Add test.
8110
0fdfd794
TV
81112019-05-03 Tom de Vries <tdevries@suse.de>
8112
8113 * boards/cc-with-gdb-index.exp: New file.
8114
80062eb9
AB
81152019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8116
8117 * gdb.rust/simple.exp: Add new test case.
8118 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8119 (main): Initialise an instance of the new struct.
8120
4504bbde
TT
81212019-05-01 Tom Tromey <tromey@adacore.com>
8122
8123 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8124 record.
8125 (NPR): New variable.
8126 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8127 test.
8128
d48e62f4
TT
81292019-05-01 Tom Tromey <tromey@adacore.com>
8130
8131 * gdb.ada/packed_array_assign.exp: Add packed assignment
8132 regression test.
8133
f59f30f5
TV
81342019-05-01 Tom de Vries <tdevries@suse.de>
8135
8136 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8137
b70bfc54
TV
81382019-05-01 Tom de Vries <tdevries@suse.de>
8139
8140 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8141
15f18d14
AT
81422019-04-30 Ali Tamur <tamur@google.com>
8143
8144 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8145
2ff0a947
TT
81462019-04-30 Tom Tromey <tromey@adacore.com>
8147
8148 * lib/ada.exp (find_ada_tool): New proc.
8149 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8150 * gdb.ada/catch_ex_std.exp: New file.
8151 * gdb.ada/catch_ex_std/foo.adb: New file.
8152 * gdb.ada/catch_ex_std/some_package.adb: New file.
8153 * gdb.ada/catch_ex_std/some_package.ads: New file.
8154
a776957c
TT
81552019-04-30 Tom Tromey <tromey@adacore.com>
8156
8157 PR c++/24470:
8158 * gdb.cp/temargs.cc: Add test code from PR.
8159
bc68014d
AB
81602019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8161
8162 * gdb.fortran/vla-datatypes.exp: Update expected results.
8163 * gdb.fortran/vla-ptype.exp: Likewise.
8164 * gdb.fortran/vla-type.exp: Likewise.
8165 * gdb.fortran/vla-value.exp: Likewise.
8166
f1fdc960
AB
81672019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8168
8169 * gdb.fortran/ptr-indentation.exp: Update expected results.
8170 * gdb.fortran/ptype-on-functions.exp: Likewise.
8171 * gdb.fortran/vla-ptr-info.exp: Likewise.
8172 * gdb.fortran/vla-value.exp: Likewise.
8173
bf7a4de1
AB
81742019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8175
8176 * gdb.fortran/ptype-on-functions.exp: New file.
8177 * gdb.fortran/ptype-on-functions.f90: New file.
8178
bbe75b9d
AB
81792019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8180
8181 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8182 case void string.
8183
1db455a7
AB
81842019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8185
8186 * gdb.fortran/complex.exp: Expand.
8187 * gdb.fortran/complex.f: Renamed to...
8188 * gdb.fortran/complex.f90: ...this, and extended to add more
8189 complex values.
8190
b6d03bb2
AB
81912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8192
8193 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8194 MODULO, CMPLX.
8195
2e62ab40
AB
81962019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8197 Richard Bunt <richard.bunt@arm.com>
8198
8199 * gdb.base/max-depth.c: New file.
8200 * gdb.base/max-depth.exp: New file.
8201 * gdb.python/py-nested-maps.c: New file.
8202 * gdb.python/py-nested-maps.exp: New file.
8203 * gdb.python/py-nested-maps.py: New file.
8204 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8205 (test_all_common): Call test_max_depth.
8206 * gdb.fortran/max-depth.exp: New file.
8207 * gdb.fortran/max-depth.f90: New file.
8208 * gdb.go/max-depth.exp: New file.
8209 * gdb.go/max-depth.go: New file.
8210 * gdb.modula2/max-depth.exp: New file.
8211 * gdb.modula2/max-depth.c: New file.
8212 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8213
d2b584a5
TV
82142019-04-29 Tom de Vries <tdevries@suse.de>
8215
8216 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8217
136afab8
PW
82182019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8219
8220 * gdb.base/callexit.exp: Test may-call-functions off.
8221
725cbb63
KS
82222019-04-25 Keith Seitz <keiths@redhat.com>
8223
8224 PR c++/24367
8225 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8226 (another_incomplete_struct, test_incomplete): New definitions.
8227 (main): Use new definitions.
8228 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8229 functions.
8230
701adfb0
PA
82312019-04-25 Ali Tamur <tamur@google.com>
8232
8233 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8234
82433e3e
SDJ
82352019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8236
8237 PR corefiles/11608
8238 PR corefiles/18187
8239 * gdb.base/coredump-filter-build-id.exp: New file.
8240
dd06d4d6
AH
82412019-04-25 Alan Hayward <alan.hayward@arm.com>
8242
e79be6e5
SM
8243 * Makefile.in: Pass through GDBSERVER_DEBUG.
8244 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8245 (gdbserver,debug): Add board setting.
8246 * gdb.trace/tspeed.exp: Skip when debugging.
8247 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8248 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8249
1670072e
TT
82502019-04-24 Tom Tromey <tromey@adacore.com>
8251
8252 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8253 Rust.
8254
a59240a4
TT
82552019-04-24 Tom Tromey <tromey@adacore.com>
8256
8257 * gdb.arch/amd64-eval.exp: Test bitfield return.
8258 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8259 (class Foo) <return_bitfields>: New method.
8260 (main): Call it.
8261
b907456c
AB
82622019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8263
8264 * gdb.cp/many-args.cc: New file.
8265 * gdb.cp/many-args.exp: New file.
8266
5c565afd
TV
82672019-04-23 Tom de Vries <tdevries@suse.de>
8268
8269 PR gdb/24433
8270 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8271
ba22ff86
AH
82722019-04-23 Alan Hayward <alan.hayward@arm.com>
8273
8274 * gdb.trace/backtrace.exp: Use nopie flag.
8275 * gdb.trace/circ.exp: Likewise.
8276 * gdb.trace/collection.exp: Likewise.
8277 * gdb.trace/ftrace.exp: Likewise.
8278 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8279 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8280 * gdb.trace/qtro.exp: Likewise.
8281 * gdb.trace/read-memory.exp: Likewise.
8282 * gdb.trace/report.exp: Likewise.
8283 * gdb.trace/tfile.exp: Likewise.
8284 * gdb.trace/tfind.exp: Likewise.
8285 * gdb.trace/unavailable.exp: Likewise.
8286
7905fc35
PA
82872019-04-22 Pedro Alves <palves@redhat.com>
8288
8289 * gdb.base/solib-probes-nosharedlibrary.c,
8290 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8291
8ecb59f8
TT
82922019-04-19 Tom Tromey <tromey@adacore.com>
8293
8294 * gdb.ada/ptype_union.c: New file.
8295 * gdb.ada/ptype_union.exp: New file.
8296
62160ec9
TT
82972019-04-19 Tom Tromey <tromey@adacore.com>
8298
8299 PR symtab/24423:
8300 * gdb.base/list0.h (foo): Add a control-l character.
8301
36cd4ba5
TV
83022019-04-18 Tom de Vries <tdevries@suse.de>
8303
8304 PR gdb/24433
8305 * boards/local-board.exp: Set sysroot to "".
8306
b73715df
TV
83072019-04-18 Tom de Vries <tdevries@suse.de>
8308 Pedro Alves <palves@redhat.com>
8309
8310 PR gdb/24454
8311 * gdb.threads/vfork-follow-child-exec.c: New file.
8312 * gdb.threads/vfork-follow-child-exec.exp: New file.
8313 * gdb.threads/vfork-follow-child-exit.c: New file.
8314 * gdb.threads/vfork-follow-child-exit.exp: New file.
8315
4aa866af
LS
83162019-04-15 Leszek Swirski <leszeks@google.com>
8317
8318 * gdb.arch/amd64-eval.cc: New file.
8319 * gdb.arch/amd64-eval.exp: New file.
8320
e5a1a79a
AH
83212019-04-11 Alan Hayward <alan.hayward@arm.com>
8322
8323 * gdb.server/sysroot.c: New test.
8324 * gdb.server/sysroot.exp: New file.
8325 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8326 matching param.
8327
41077b66
AB
83282019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8329
8330 * gdb.base/align.exp: Extend test to cover structures containing
8331 only static fields.
8332
c30391f8
TV
83332019-04-11 Tom de Vries <tdevries@suse.de>
8334
8335 * boards/cc-with-dwz-m.exp: New file.
8336 * boards/cc-with-dwz.exp: New file.
8337 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8338
e242fd12
SM
83392019-04-09 Simon Marchi <simon.marchi@efficios.com>
8340
8341 * gdb.base/start-cpp.exp: New file.
8342 * gdb.base/start-cpp.cc: New file.
8343
2b0c8b01
KB
83442019-04-08 Kevin Buettner <kevinb@redhat.com>
8345
8346 * gdb.python/py-thrhandle.exp: Adjust tests to call
8347 thread_from_handle instead of thread_from_thread_handle.
8348
947210e5
KB
83492019-04-08 Kevin Buettner <kevinb@redhat.com>
8350
8351 * gdb.python/py-thrhandle.exp: Add tests for
8352 gdb.InferiorThread.handle.
8353
d7df6549
AB
83542019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8355
8356 * gdb.python/py-function.exp: Check calling helper function from
8357 all languages.
8358 * lib/gdb.exp (gdb_supported_languages): New proc.
8359
8bdc1658
AB
83602019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8361
8362 * gdb.base/complex-parts.c: New file.
8363 * gdb.base/complex-parts.exp: New file.
8364
05caa1d2
TT
83652019-04-01 Tom Tromey <tromey@adacore.com>
8366
8367 PR symtab/23331:
8368 * gdb.dwarf2/dw2-ranges-main.c: New file.
8369 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8370 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8371
7734102d
EZ
83722019-03-30 Simon Marchi <simark@simark.ca>
8373
8374 * gdb.base/default.exp: Add values for $_gdb_major and
8375 $_gdb_minor.
8376
188e1fa9
TT
83772019-03-29 Tom Tromey <tromey@adacore.com>
8378
8379 * gdb.base/help.exp: Tighten apropos regexp.
8380
2880242d
KS
83812019-03-29 Keith Seitz <keiths@redhat.com>
8382
8383 * gdb.fortran/array-bounds.exp: New file.
8384 * gdb.fortran/array-bounds.f90: New file.
8385
077cad8e
PW
83862019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8387
8388 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8389
80047cfc
PW
83902019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8391
8392 * gdb.multi/hello.c (main): Increase alarm timer.
8393
f489207e
SL
83942019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8395
8396 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8397 factor when no hardware watchpoint support.
8398
c92df149
AH
83992019-03-28 Alan Hayward <alan.hayward@arm.com>
8400 Pedro Alves <palves@redhat.com>
8401
8402 * boards/local-board.exp: set sysroot to /.
8403
933aebfa
AH
84042019-03-27 Alan Hayward <alan.hayward@arm.com>
8405
8406 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8407 in child.
8408
9f9aa852
AB
84092019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8410
8411 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8412 field.
8413 (make_container): Initialise new field.
8414 * gdb.python/py-prettyprint.exp: Add new tests.
8415 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8416 <display_hint>: New method.
8417
3714a195
AB
84182019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8419
8420 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8421 gdb_continue_to_breakpoint more throughout this test.
8422 (run_lang_tests) Supply unique test names, and use
8423 gdb_test_no_output.
8424
18c77628
AB
84252019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8426
8427 * gdb.base/finish-pretty.exp: Update expected results.
8428 * gdb.base/pretty-print.c: New file.
8429 * gdb.base/pretty-print.exp: New file.
8430
9a93502f
PA
84312019-03-25 Pedro Alves <palves@redhat.com>
8432
8433 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8434 move comments outside list. Append '-i "" eof' section.
8435
968aa7ae
AH
84362019-03-22 Alan Hayward <alan.hayward@arm.com>
8437
34a7f2a4 8438 PR testsuite/25016
968aa7ae
AH
8439 * README: Add pie options.
8440 * gdb.base/break-interp.exp: Ensure pie is disabled.
8441 * gdb.base/dump.exp: Likewise.
8442 * lib/gdb.exp (gdb_compile): Add pie option.
8443
4c7d57e7
TT
84442019-03-19 Tom Tromey <tromey@adacore.com>
8445
8446 * gdb.mi/mi2-cli-display.c: New file.
8447 * gdb.mi/mi2-cli-display.exp: New file.
8448
bff8c71f
TT
84492019-03-18 Joel Brobecker <brobecker@adacore.com>
8450 Tom Tromey <tromey@adacore.com>
8451
8452 * gdb.ada/ptype_array/pck.adb: New file.
8453 * gdb.ada/ptype_array/pck.ads: New file.
8454 * gdb.ada/ptype_array/foo.adb: New file.
8455 * gdb.ada/ptype_array.exp: New file.
8456
d085f989
TT
84572019-03-14 Tom Tromey <tromey@adacore.com>
8458
8459 * gdb.base/style.exp: Add "set style sources" test.
8460
b4be1b06
SM
84612019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8462
8463 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8464 * mi-breakpoint-multiple-locations.exp: ... this.
8465 (make_breakpoints_pattern): New proc.
8466 (do_test): Add mi_version parameter, test -break-insert,
8467 -break-info and =breakpoint-created.
8468
7cde5fc2
AB
84692019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8470
8471 * config/default.exp: Remove 'load_lib gdb.exp'.
8472 * config/monitor.exp: Likewise.
8473 * config/sid.exp: Likewise.
8474 * config/sim.exp: Likewise.
8475 * config/slite.exp: Likewise.
8476 * config/unix.exp: Likewise.
8477 * gdb.base/default.exp: Remove unhelpful comment.
8478
efbecbc1
AB
84792019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8480
8481 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8482
0841c79a
AB
84832019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8484
8485 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8486
4a270568
AB
84872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8488
8489 * gdb.fortran/type-kinds.exp: Update expected results.
8490
067630bd
AB
84912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8492
8493 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8494
3be47f7a
AB
84952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8496
8497 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8498 function.
8499 (test_basic_parsing_of_type_kinds): Expand types tested.
8500 (test_parsing_invalid_type_kinds): New function.
8501
4d00f5d8
AB
85022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8503
8504 * gdb.fortran/intrinsics.exp: New file.
8505 * gdb.fortran/intrinsics.f90: New file.
8506 * gdb.fortran/type-kinds.exp: New file.
8507
c8f91604
AB
85082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8509
8510 * gdb.fortran/dot-ops.exp: New file.
8511
dd9f2c76
AB
85122019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8513
8514 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8515 Check upper and lower case logical literals.
8516
84ec9724
AB
85172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8518
8519 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8520 Remove duplicate tests.
8521
c3734e09
AH
85222019-03-06 Alan Hayward <alan.hayward@arm.com>
8523
8524 * lib/gdb.exp (builtin_cd): rename of cd.
8525 (cd): Override builtin.
8526
aa3cfbda
RB
85272019-03-06 Richard Bunt <richard.bunt@arm.com>
8528
8529 * gdb.fortran/function-calls.exp: New file.
8530 * gdb.fortran/function-calls.f90: New test.
8531
7b63ad86
RB
85322019-03-04 Richard Bunt <richard.bunt@arm.com>
8533
8534 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8535 on user program standard output.
8536 * gdb.fortran/short-circuit-argument-list.f90: Record function
8537 calls.
8538
01abb042
AH
85392019-02-28 Alan Hayward <alan.hayward@arm.com>
8540
c3734e09
AH
8541 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8542 failure.
01abb042 8543
92137da0
RO
85442019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8545
8546 PR gdb/8527
8547 * gdb.base/interrupt-daemon-attach.c,
8548 gdb.base/interrupt-daemon-attach.exp: New test.
8549
5862844d
PA
85502019-02-27 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.base/page.exp: Add tests for "set width/height -1".
8553
8ed25214
PA
85542019-02-27 Pedro Alves <palves@redhat.com>
8555
8556 * gdb.base/page.exp: Add tests for "set/show width/height" with
8557 "infinite" values.
8558
6c28e44a
TT
85592019-02-27 Tom Tromey <tromey@adacore.com>
8560
8561 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8562 2.4.
8563 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8564 workaround.
8565
bf9a735e
AB
85662019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8567
8568 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8569 tests for structs with static members.
8570
8791793c
TT
85712019-02-26 Tom Tromey <tromey@adacore.com>
8572
8573 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8574 ValueError, not TypeError.
8575
bc2a507e
KB
85762019-02-26 Kevin Buettner <kevinb@redhat.com>
8577
8578 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8579 call from main program.
8580
e0e7d3bd
JB
85812019-02-23 Joel Brobecker <brobecker@adacore.com>
8582
8583 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8584 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8585 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8586 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8587 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8588
9600246d
KS
85892019-02-22 Keith Seitz <keiths@redhat.com>
8590
8591 PR symtab/23853
8592 * gdb.base/symlink-sourcefile.c: New file.
8593 * gdb.base/symlink-sourcefile.exp: New file.
8594
0c95f9ed
TT
85952019-02-20 Tom Tromey <tom@tromey.com>
8596
8597 * gdb.base/info_qt.exp: Update.
8598
6caa91b6
SM
85992019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8600
8601 * gdb.base/source.exp: Move "error in sourced script" code to
8602 the end.
8603 * gdb.base/source-error.gdb: Move contents to
8604 source-error-1.gdb. Add new code to source source-error-1.gdb.
8605 * gdb.base/source-error-1.gdb: New file, from previous
8606 source-error.gdb.
8607
6506371f
TT
86082019-02-17 Tom Tromey <tom@tromey.com>
8609
8610 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8611 for macro styling.
8612 * gdb.base/style.c (SOME_MACRO): New macro.
8613
a0087920
TT
86142019-02-17 Tom Tromey <tom@tromey.com>
8615
8616 * gdb.base/style.exp: Add line-wrapping tests.
8617 * gdb.base/page.exp: Add test for quitting during pagination.
8618
a2cd4f14
JB
86192019-02-17 Joel Brobecker <brobecker@adacore.com>
8620
8621 * gdb.ada/big_packed_array: New testcase.
8622 * gdb.ada/homonym.exp: Fix incorrect expected output for
8623 "break <homonym__get_value>" test.
8624
9d70ffbc
WP
86252019-02-13 Weimin Pan <weimin.pan@oracle.com>
8626
8627 PR breakpoints/21870
8628 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8629 and prepare_for_testing. Add comment.
8630 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8631 redundant cleanup call. Clean up comment.
8632
01c7ae81
WP
86332019-02-12 Weimin Pan <weimin.pan@oracle.com>
8634
8635 PR breakpoints/21870
8636 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8637 * gdb.arch/aarch64-dbreg-contents.c: New file.
8638
aff29d1c
JB
86392019-02-10 Joel Brobecker <brobecker@adacore.com>
8640
8641 * gdb.ada/mi_ref_changeable: New testcase.
8642
df0da8a2
AH
86432019-02-07 Alan Hayward <alan.hayward@arm.com>
8644
8645 * gdb.base/attach.exp: Add double attach test.
8646
bd447abb
SM
86472019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8648
8649 * lib/gdb.exp (default_gdb_start): Don't match pagination
8650 prompt.
8651 (gdb_init): Set stty_init.
8652
1dbc40b9
TT
86532019-01-27 Tom Tromey <tom@tromey.com>
8654
8655 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8656 skip_python_tests.
8657
353229bf
AH
86582019-01-24 Alan Hayward <alan.hayward@arm.com>
8659
8660 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8661 New structure.
8662 (struct struct_static_02_02): Likewise.
8663 (struct struct_static_02_03): Likewise.
8664 (struct struct_static_02_04): Likewise.
8665 (struct struct_static_04_01): Likewise.
8666 (struct struct_static_04_02): Likewise.
8667 (struct struct_static_04_03): Likewise.
8668 (struct struct_static_04_04): Likewise.
8669 (struct struct_static_06_01): Likewise.
8670 (struct struct_static_06_02): Likewise.
8671 (struct struct_static_06_03): Likewise.
8672 (struct struct_static_06_04): Likewise.
8673 (cmp_struct_static_02_01): Likewise.
8674 (cmp_struct_static_02_02): Likewise.
8675 (cmp_struct_static_02_03): Likewise.
8676 (cmp_struct_static_02_04): Likewise.
8677 (cmp_struct_static_04_01): Likewise.
8678 (cmp_struct_static_04_02): Likewise.
8679 (cmp_struct_static_04_03): Likewise.
8680 (cmp_struct_static_04_04): Likewise.
8681 (cmp_struct_static_06_01): Likewise.
8682 (cmp_struct_static_06_02): Likewise.
8683 (cmp_struct_static_06_03): Likewise.
8684 (cmp_struct_static_06_04): Likewise.
8685 (call_all): Test new structs.
8686 * gdb.base/infcall-nested-structs.exp: Likewise.
8687
73021deb
AH
86882019-01-21 Alan Hayward <alan.hayward@arm.com>
8689 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8690
fc65c7db
AH
86912019-01-21 Alan Hayward <alan.hayward@arm.com>
8692 * gdb.base/stack-protector.c: New test.
8693 * gdb.base/stack-protector.exp: New file.
8694 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8695 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8696 option.
8697 (gdb_compile): Remove stack protector for GCC and prevent
8698 recursion.
8699
c24bdb02
KS
87002019-01-16 Keith Seitz <keiths@redhat.com>
8701
8702 PR gdb/23773
8703 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8704
6f072a10
PFC
87052019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8706
8707 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8708 aliases.
8709 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8710 tests.
8711 * gdb.arch/powerpc-vector-regs.c: New file.
8712 * gdb.arch/powerpc-vector-regs.exp: New file.
8713
a7b8d682
PFC
87142019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8715
8716 * gdb.arch/altivec-regs.exp: Fix the list passed to
8717 gdb_expect_list when testing "info vector".
8718
6eb6fb67
AB
87192019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8720
8721 * gdb.base/style.exp: Don't include path in testname.
8722
b56f80d8
KS
87232019-01-10 Keith Seitz <keiths@redhat.com>
8724
8725 PR gdb/23712
8726 PR symtab/23010
8727 * gdb.dwarf2/multidictionary.exp: New file.
8728
041be526
SM
87292019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8730
8731 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8732 (test_gnuv3_style_demangling): ... this.
8733 (test_lucid_style_demangling): Remove.
8734 (test_arm_style_demangling): Remove.
8735 (test_hp_style_demangling): Remove.
8736 (do_tests): Remove calls to the above.
8737
d820d0c3
AB
87382019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8739
8740 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8741 case.
8742
f097f5ad
TT
87432019-01-06 Tom Tromey <tom@tromey.com>
8744
8745 PR gdb/28155:
8746 * gdb.dwarf2/typedef-void-finish.exp: New file.
8747
2cd8cc0b
TT
87482018-12-28 Tom Tromey <tom@tromey.com>
8749 Simon Marchi <simark@simark.ca>
8750
8751 * gdb.base/jit-exec.exp: New file.
8752 * gdb.base/jit-exec.c: New file.
8753 * gdb.base/jit-execd.c: New file.
8754
35fb8261
TT
87552018-12-28 Tom Tromey <tom@tromey.com>
8756
8757 * gdb.base/style.exp: Update test to check for address styling.
8758
47fd17cd
TT
87592018-12-28 Tom Tromey <tom@tromey.com>
8760
8761 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8762 message.
8763
d47032b7
TT
87642018-12-28 Tom Tromey <tom@tromey.com>
8765
8766 * gdb.base/style.exp: Add test for version number styling.
8767
af79b68d
TT
87682018-12-28 Tom Tromey <tom@tromey.com>
8769
8770 * gdb.base/style.exp: Add test for print_address_symbolic.
8771
0bb296cb
TT
87722018-12-28 Tom Tromey <tom@tromey.com>
8773
8774 * gdb.base/style.exp: Add test for breakpoint setting.
8775
80ae2043
TT
87762018-12-28 Tom Tromey <tom@tromey.com>
8777
8778 * gdb.base/style.exp: Add test for variable names.
8779
cbe56571
TT
87802018-12-28 Tom Tromey <tom@tromey.com>
8781
8782 * gdb.base/style.exp: New file.
8783 * gdb.base/style.c: New file.
8784
9162a27c
TT
87852018-12-28 Tom Tromey <tom@tromey.com>
8786
8787 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8788 "dumb".
8789 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8790 the TERM environment variable.
8791
bc543c90
TT
87922018-12-27 Tom Tromey <tom@tromey.com>
8793
8794 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8795 pagination test.
8796
6f0ffe50
AB
87972018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8798
8799 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8800 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8801
b5a1e557
PW
88022018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8803
8804 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8805 Filename a.adb changed to bp_fun_addr.adb.
8806 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8807
6e8b1ab2
JV
88082018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8809
8810 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8811 non-PIE executables.
8812 * README: Mention the gdb,nopie_flag board setting.
8813 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8814 non-PIE executable.
8815 * gdb.arch/amd64-entry-value.exp: Likewise.
8816 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8817 * gdb.arch/i386-float.exp: Likewise.
8818 * gdb.arch/i386-signal.exp: Likewise.
8819 * gdb.mi/mi-reg-undefined.exp: Likewise.
8820
d00a27c5
PM
88212018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8822
8823 PR gdb/23974
8824 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8825
161d081c
PW
88262018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8827
8828 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8829 Update order of results accordingly.
8830
b001de23
AB
88312018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8832
8833 * gdb.base/annota1.exp: Update a test regexp.
8834
99e1a184
AB
88352018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8836
8837 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8838
7a81c1e2
PW
88392018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8840
8841 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8842 (reuse_time): Initialize to REUSE_TIME_CAP.
8843 (check_rc): New function.
8844 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8845 Check pthread_create rc.
8846 (spawner_thread_func): Check pthread_create and pthread_join rc.
8847
73e8dc90
PA
88482018-12-08 Pedro Alves <palves@redhat.com>
8849
8850 * gdb.base/list.exp (test_forward_search): Rename to ...
8851 (test_forward_reverse_search): ... this. Also test reverse-search
8852 and the forward-search alias.
8853
13f2ed32
AB
88542018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8855
8856 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8857 local timeout variable before return, and remove all local timeout
8858 variable entirely.
8859 (gdb_load): Likewise.
8860
64d27cfc
TV
88612018-12-01 Tom de Vries <tdevries@suse.de>
8862
8863 * gdb.base/gdb-caching-proc.exp: New file.
8864
f63c03b4
SDJ
88652018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8866
8867 * Makefile.in (TIMESTAMP): New variable.
8868 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8869 command.
8870 (check-single-racy): Likewise.
8871 (check/%.exp): Likewise.
8872 (check-racy/%.exp): Likewise.
8873 (workers/%.worker): Likewise.
8874 (build-perf): Likewise.
8875 (check-perf): Likewise.
8876 * README: Describe new "TS" and "TS_FORMAT" variables.
8877 * print-ts.py: New file.
8878
1c97054b
BF
88792018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8880
8881 PR python/23714
8882 * gdb.python/python.exp: Test command repetition after
8883 gdb.execute.
8884
1871a62d
AB
88852018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8886
8887 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8888 is correctly aligned.
8889
fb5e1ed9
PW
88902018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8891
8892 * gdb.ada/info_auto_lang.exp: New testcase.
8893 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8894 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8895 * gdb.ada/info_auto_lang/some_c.c: New file.
8896
43d397ca
PW
88972018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8898
8899 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8900 FUNC_lang language syntax.
8901
beddd671
PW
89022018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8903
8904 * gdb.base/info_minsym.c: New file.
8905 * gdb.base/info_minsym.exp: New file.
8906
73fc52c4
TT
89072018-11-19 Tom Tromey <tom@tromey.com>
8908
8909 PR rust/23625:
8910 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8911 * gdb.rust/expr.exp: Update expected output. Change one test.
8912
994b876a
TT
89132018-11-19 Tom Tromey <tom@tromey.com>
8914
8915 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8916
6769f276
PA
89172018-11-19 Pedro Alves <palves@redhat.com>
8918
8919 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8920 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8921 see the expected warning.
8922
38a72da0
AH
89232018-11-16 Alan Hayward <alan.hayward@arm.com>
8924
8925 PR gdb/22736:
8926 * gdb.cp/infcall-nodebug-lib.c: New test.
8927 * gdb.cp/infcall-nodebug-main.c: New test.
8928 * gdb.cp/infcall-nodebug.exp: New file.
8929
53a89d6e
SM
89302018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8931
8932 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8933 completer tests.
8934
9325300d
TV
89352018-11-09 Tom de Vries <tdevries@suse.de>
8936
8937 * gdb.base/msym-lang.c: New test.
8938 * gdb.base/msym-lang.exp: New file.
8939 * gdb.base/msym-lang-main.c: New test.
8940
20f0d60d
TT
89412018-11-08 Tom Tromey <tom@tromey.com>
8942
8943 PR gdb/23555:
8944 PR gdb/23838:
8945 * gdb.base/warning.exp: New file.
8946
b5420128
JB
89472018-11-08 Jan Beulich <jbeulich@suse.com>
8948
8949 * testsuite/gdb.arch/i386-avx512.c,
8950 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8951
cd115d61
AB
89522018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8953
8954 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8955 point hardware.
8956
35ee2dc2
AB
89572018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8958
8959 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8960 * gdb.dwarf2/missing-type-name.exp: New file.
8961
31aceee8
TV
89622018-11-06 Tom de Vries <tdevries@suse.de>
8963
8964 * gdb.base/many-headers.c: New test.
8965 * gdb.base/many-headers.exp: New file.
8966
109be305
JW
89672018-11-06 Jim Wilson <jimw@sifive.com>
8968
8969 * gdb.base/code_elim.exp: For riscv, set additional_flags
8970 to include -msmall-data-limit=0.
8971
e2b7af72
JB
89722018-11-01 Joel Brobecker <brobecker@adacore.com>
8973
8974 * gdb.ada/watch_minus_l: New testcase.
8975
cdcda965
SM
89762018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8977
8978 * gdb.arch/aix-sighandle.c: New file.
8979 * gdb.arch/aix-sighandle.exp: New file.
8980
92dcebf3
AB
89812018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8982
8983 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8984 registers being unions.
8985
68b9ac18
TV
89862018-10-31 Tom de Vries <tdevries@suse.de>
8987
8988 * lib/valgrind.exp: New file.
8989 (vgdb_start, vgdb_stop): New procs, factored out of ...
8990 * gdb.base/valgrind-bt.exp: ... here, ...
8991 * gdb.base/valgrind-disp-step.exp: ... here and ...
8992 * gdb.base/valgrind-infcall.exp: ... here.
8993
1443936e
TV
89942018-10-31 Tom de Vries <tdevries@suse.de>
8995
8996 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8997
eb77c9df
AB
89982018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8999
9000 * gdb.dwarf2/void-type.c: New file.
9001 * gdb.dwarf2/void-type.exp: New file.
9002
82b5e646
PW
90032018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9004
9005 * gdb.base/info_qt.c: New file.
9006 * gdb.base/info_qt.exp: New file.
9007
8d619c01
EBM
90082018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9009
9010 * gdb.arch/powerpc-htm-regs.c: New file.
9011 * gdb.arch/powerpc-htm-regs.exp: New file.
9012
f2cf6173
EBM
90132018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9014
9015 * gdb.arch/powerpc-tar.c: New file.
9016 * gdb.arch/powerpc-tar.exp: New file.
9017
7ca18ed6
EBM
90182018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9019
9020 * gdb.arch/powerpc-ppr-dscr.c: New file.
9021 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9022
bfcc0eba
TV
90232018-10-25 Tom de Vries <tdevries@suse.de>
9024
9025 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9026
fe1a5cad
TV
90272018-10-24 Tom de Vries <tdevries@suse.de>
9028
9029 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9030 longer exists error.
9031
a76dc3b7
TV
90322018-10-24 Tom de Vries <tdevries@suse.de>
9033
9034 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9035
4df46df7
TV
90362018-10-24 Tom de Vries <tdevries@suse.de>
9037
9038 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9039 --db-attach in valgrind.
9040
0dbfcfff
AB
90412018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9042
9043 * gdb.arch/riscv-reg-aliases.c: New file.
9044 * gdb.arch/riscv-reg-aliases.exp: New file.
9045
b04480b1
AH
90462018-10-19 Alan Hayward <alan.hayward@arm.com>
9047
9048 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9049
2c6ac8d7
AH
90502018-10-19 Alan Hayward <alan.hayward@arm.com>
9051
9052 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9053
2bc69f25
AH
90542018-10-19 Alan Hayward <alan.hayward@arm.com>
9055
9056 * gdb.cp/ovldbreak.exp: Fix regexps.
9057
1f1ae3a3
AH
90582018-10-19 Alan Hayward <alan.hayward@arm.com>
9059
9060 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9061
94c18618
SDJ
90622018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9063
9064 PR cli/23785
9065 * gdb.base/restore.exp: New test to check if "restore" with an
9066 invalid file doesn't segfault.
9067
812cd6eb
TV
90682018-10-18 Tom de Vries <tdevries@suse.de>
9069
9070 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9071 * gdb.ada/excep_handle.exp: Same.
9072 * gdb.ada/mi_string_access.exp: Same.
9073 * gdb.ada/mi_var_union.exp: Same.
9074 * gdb.arch/arc-analyze-prologue.exp: Same.
9075 * gdb.arch/arc-decode-insn.exp: Same.
9076 * gdb.base/readnever.exp: Same.
9077 * gdb.fortran/printing-types.exp: Same.
9078 * gdb.guile/scm-lazy-string.exp: Same.
9079
c4b90788
TV
90802018-10-16 Tom de Vries <tdevries@suse.de>
9081
9082 PR gdb/23730
9083 * gdb.base/catch-follow-exec.c: Add copyright notice.
9084 * gdb.base/catch-follow-exec.exp: Rewrite to use
9085 gdb_spawn_with_cmdline_opts. Require gdb-native.
9086
8bca2978
SL
90872018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9088
9089 * gdb.trace/actions-changed.exp: Check for arch support.
9090 * gdb.trace/actions.exp: Likewise.
9091 * gdb.trace/ax.exp: Likewise.
9092 * gdb.trace/backtrace.exp: Likewise.
9093 * gdb.trace/change-loc.exp: Likewise.
9094 * gdb.trace/deltrace.exp: Likewise.
9095 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9096 * gdb.trace/ftrace.exp: Likewise.
9097 * gdb.trace/infotrace.exp: Check for arch support.
9098 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9099 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9100 * gdb.trace/mi-tsv-changed.exp: Likewise.
9101 * gdb.trace/packetlen.exp: Likewise.
9102 * gdb.trace/passc-dyn.exp: Likewise.
9103 * gdb.trace/passcount.exp: Likewise.
9104 * gdb.trace/pending.exp: Likewise.
9105 * gdb.trace/range-stepping.exp: Check for shlib support.
9106 * gdb.trace/report.exp: Check for arch support.
9107 * gdb.trace/save-trace.exp: Likewise.
9108 * gdb.trace/signal.exp: Check for signal support.
9109 * gdb.trace/tfind.exp: Check for arch support.
9110 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9111 * gdb.trace/trace-common.h: Add comment.
9112 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9113 * gdb.trace/trace-enable-disable.exp: Likewise.
9114 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9115 * gdb.trace/tracecmd.exp: Check for arch support.
9116 * gdb.trace/tspeed.exp: Check for shlib and target support.
9117 * gdb.trace/tstatus.exp: Check for arch support.
9118 * gdb.trace/tsv.exp: Likewise.
9119 * gdb.trace/while-dyn.exp: Likewise.
9120 * gdb.trace/while-stepping.exp: Likewise.
9121 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9122
f9c49bff
SM
91232018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9124
9125 * gdb.trace/tspeed.exp: Remove nowarnings.
9126 (prepare_for_trace_test): Declare "global ipalib".
9127 * gdb.trace/tspeed.c: Include unistd.h.
9128 (main): Remove superfluous printf argument.
9129
d4330bde
SL
91302018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9131
9132 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9133 directory prefix on the filename.
9134
8ecfd7bd
SDJ
91352018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9136
9137 * gdb.gdb/unittest.exp: Update expected message informing that
9138 selftests have been disabled.
9139 * gdb.server/unittest.exp: Likewise.
9140
58bbcd02
TV
91412018-10-09 Tom de Vries <tdevries@suse.de>
9142
9143 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9144 with runto_main.
9145
9f6b697b
WP
91462018-10-08 Weimin Pan <weimin.pan@oracle.com>
9147
9148 PR c++/16841
9149 * gdb.cp/virtbase2.cc: New file.
9150 * gdb.cp/virtbase2.exp: New file.
9151
add5ded5
TT
91522018-10-06 Tom Tromey <tom@tromey.com>
9153
9154 PR python/19399:
9155 * gdb.python/py-inferior.exp: Add architecture test.
9156
f9e48344
TT
91572018-10-06 Tom Tromey <tom@tromey.com>
9158
9159 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9160 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9161
2a8be203
TT
91622018-10-06 Tom Tromey <tom@tromey.com>
9163
9164 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9165 of a "throw" catchpoint.
9166
e04caa70
SDJ
91672018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9168
9169 * gdb.base/info-proc.exp: Update string expected from "help info
9170 proc".
9171
5ca8c39f
TT
91722018-10-04 Tom Tromey <tom@tromey.com>
9173
9174 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9175 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9176 (test_initial_complaints, test_empty_complaints): Update.
9177 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9178
3453e7e4
TT
91792018-10-04 Tom Tromey <tom@tromey.com>
9180
9181 PR cli/19551:
9182 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9183 * lib/gdb.exp (gdb_file_cmd): Update.
9184 * gdb.stabs/weird.exp (print_weird_var): Update.
9185 * gdb.server/solib-list.exp: Update.
9186 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9187 * gdb.mi/mi-cli.exp: Update.
9188 * gdb.linespec/linespec.exp: Update.
9189 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9190 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9191 * gdb.cp/cp-relocate.exp: Update.
9192 * gdb.base/sym-file.exp: Update.
9193 * gdb.base/relocate.exp: Update.
9194 * gdb.base/readnever.exp: Update.
9195 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9196 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9197 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9198 * gdb.base/code_elim.exp: Update.
9199 * gdb.base/break-unload-file.exp (test_break): Update.
9200 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9201 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9202 Update.
9203 * gdb.base/attach.exp (do_attach_tests): Update.
9204 * gdb.base/sepdebug.exp: Update.
9205 * gdb.python/py-section-script.exp: Update.
9206
6afcf761
TT
92072018-10-04 Tom Tromey <tom@tromey.com>
9208
9209 PR cli/22234:
9210 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9211 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9212 output.
9213
fef1b293
TT
92142018-10-04 Tom Tromey <tom@tromey.com>
9215
9216 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9217 set width and height to 0.
9218 (test_command_line_attach_run): Use -quiet.
9219
ca98345e
SL
92202018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9221
9222 * lib/gdb.exp (skip_ifunc_tests): New.
9223 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9224 other compile failures.
9225 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9226
ff34e6ae
SM
92272018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9228
9229 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9230 is_amd64_regs_target.
9231
6bb8890e
AH
92322018-10-01 Alan Hayward <alan.hayward@arm.com>
9233
9234 * gdb.arch/aarch64-sighandler-regs.c: New test.
9235 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9236 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9237
224d30d3
MM
92382018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9239
9240 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9241 assembly.
9242
f67ffa6a
AB
92432018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9244
9245 * gdb.base/frame-selection.exp: New file.
9246 * gdb.base/frame-selection.c: New file.
9247
9fc3183f
AH
92482018-09-27 Alan Hayward <alan.hayward@arm.com>
9249
9250 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9251 pthread barrier.
9252 (main): Likewise.
9253
d354055e
AB
92542018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9255
9256 * gdb.base/large-frame-1.c: New file.
9257 * gdb.base/large-frame-2.c: New file.
9258 * gdb.base/large-frame.exp: New file.
9259 * gdb.base/large-frame.h: New file.
9260
db727370
JL
92612018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9262
9263 PR gdb/20948
9264 * gdb.base/write_mem.exp: New test.
9265 * gdb.base/write_mem.c: Likewise.
9266
ae778caf
TT
92672018-09-23 Tom Tromey <tom@tromey.com>
9268
9269 PR python/18852:
9270 * gdb.python/py-parameter.exp: Add test for parameter that throws
9271 on "set".
9272
fd3ba736
TT
92732018-09-23 Tom Tromey <tom@tromey.com>
9274
9275 PR python/17284:
9276 * gdb.python/py-template.exp (test_template_arg): Add test for
9277 negative template argument number.
9278
39a24317
TT
92792018-09-23 Tom Tromey <tom@tromey.com>
9280
9281 PR python/14062:
9282 * gdb.python/python.exp: Add test for post_event error.
9283
f5769a2c
TT
92842018-09-23 Tom Tromey <tom@tromey.com>
9285
9286 PR python/18170:
9287 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9288 convert pointers to int and long.
9289
1c1e54f6
TT
92902018-09-23 Tom Tromey <tom@tromey.com>
9291
9292 PR python/20126:
9293 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9294 signed-ness conversion tests.
9295
fb4fa946
TT
92962018-09-23 Tom Tromey <tom@tromey.com>
9297
9298 PR python/18352;
9299 * gdb.python/py-value.exp (test_float_conversion): New proc.
9300 Use it.
9301
a466edac
HAQ
93022018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9303
9304 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9305
4ee9b0c5
SL
93062018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9307
9308 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9309 no readline.
9310 * gdb.base/utf8-identifiers.exp: Likewise.
9311 * gdb.cp/cpcompletion.exp: Likewise.
9312 * gdb.linespec/cpcompletion.exp: Likewise.
9313 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9314 * gdb.linespec/cpls-ops.exp: Likewise.
9315
23be8da7
RB
93162018-09-19 Richard Bunt <richard.bunt@arm.com>
9317 Chris January <chris.january@arm.com>
9318
9319 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9320 * gdb.fortran/short-circuit-argument-list.exp: New file.
9321 * gdb.fortran/short-circuit-argument-list.f90: New test.
9322
5031d0ae
SDJ
93232018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9324
9325 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9326 "arch=" keyword when executing "-stack-list-frames".
9327
b4c0d1a4
SDJ
93282018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9329
9330 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9331 "arch=" keyword when executing "-stack-list-frames".
9332
7a6d2b45
SDJ
93332018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9334
9335 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9336 break ada".
9337
8588b356
SM
93382018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9339
9340 PR python/23669
9341 * gdb.python/python.exp: Test gdb.execute("show commands").
9342
65e65158
TT
93432018-09-16 Tom Tromey <tom@tromey.com>
9344
9345 * gdb.base/new-ui.exp (do_execution_tests): Update.
9346 * gdb.base/dbx.exp (test_breakpoints): Update.
9347
bf326452
AH
93482018-09-14 Alan Hayward <alan.hayward@arm.com>
9349
9350 * lib/gdb.exp (gdb_simple_compile): Add proc.
9351 (is_elf_target): Use gdb_simple_compile.
9352 (skip_altivec_tests): Likewise.
9353 (skip_vsx_tests): Likewise.
9354 (skip_tsx_tests): Likewise.
9355 (skip_btrace_tests): Likewise.
9356 (skip_btrace_pt_tests): Likewise.
9357 (gdb_can_simple_compile): Likewise.
9358 (gdb_has_argv0): Likewise.
9359 (gdb_target_symbol_prefix): Likewise.
9360 (target_supports_scheduler_locking): Likewise.
9361
2361b0fb
TT
93622018-09-13 Tom Tromey <tom@tromey.com>
9363
9364 * Makefile.in (TAGS): Recognize proc_with_prefix and
9365 gdb_caching_proc.
9366
0ae1a321
SM
93672018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9368
9369 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9370 method.
9371
a40bf0c2
SM
93722018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9373
9374 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9375 and a few other Inferior properties when the Inferior is no
9376 longer valid.
9377
4a3fe98f
TT
93782018-09-13 Tom Tromey <tom@tromey.com>
9379
9380 PR rust/23650:
9381 * gdb.rust/simple.exp: Add test for enum field access error.
9382
098b2108
TT
93832018-09-13 Tom Tromey <tom@tromey.com>
9384
9385 PR rust/23626:
9386 * gdb.rust/simple.rs (EmptyEnum): New type.
9387 (main): Use it.
9388 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9389
1256af7d
SM
93902018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9391
9392 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9393 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9394 * gdb.python/py-symtab.exp: Update test printing an objfile.
9395
4aa8e6c2
SM
93962018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9397
9398 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9399 object.
9400
c221b2f7
AH
94012018-09-12 Alan Hayward <alan.hayward@arm.com>
9402
9403 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9404 (support_complex_tests): Use gdb_can_simple_compile.
9405 (is_ilp32_target): Likewise.
9406 (is_lp64_target): Likewise.
9407 (is_64_target): Likewise.
9408 (is_amd64_regs_target): Likewise.
9409 (is_aarch32_target): Likewise.
9410 (gdb_int128_helper): Likewise.
9411
6f1107b5
JK
94122018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9413
9414 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9415
1f5d1570
JG
94162018-09-10 Jerome Guitton <guitton@adacore.com>
9417
9418 * gdb.ada/same_component_name: Add test for case of tagged record
9419 with variable-length fields.
9420
cc330e39
XR
94212018-09-10 Xavier Roirand <roirand@adacore.com>
9422
9423 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9424 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9425 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9426 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9427
b9c50e9a
XR
94282018-09-10 Xavier Roirand <roirand@adacore.com>
9429
9430 * gdb.ada/mi_string_access.exp: New testcase.
9431 * gdb.ada/mi_string_access/bar.adb: New file.
9432 * gdb.ada/mi_string_access/pck.adb: New file.
9433 * gdb.ada/mi_string_access/pck.asd: New file.
9434
2963898f
XR
94352018-09-10 Xavier Roirand <roirand@adacore.com>
9436
9437 * gdb.ada/mi_var_union.exp: New testcase.
9438 * gdb.ada/mi_var_union/bar.adb: New file.
9439 * gdb.ada/mi_var_union/pck.adb: New file.
9440 * gdb.ada/mi_var_union/pck.asd: New file.
9441
1aac008f
TT
94422018-09-08 Tom Tromey <tom@tromey.com>
9443
9444 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9445
332cf4c9
TT
94462018-09-08 Tom Tromey <tom@tromey.com>
9447
9448 PR python/16047:
9449 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9450 (register_pretty_printers): Register new printer.
9451 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9452 test.
9453 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9454 (an_int_type3): New global.
9455
424da6cf
JB
94562018-09-08 Joel Brobecker <brobecker@adacore.com>
9457
9458 * gdb.ada/expr_with_funcall: New testcase.
9459
2a62dfa9
JB
94602018-09-08 Joel Brobecker <brobecker@adacore.com>
9461
9462 * gdb.ada/packed_array_assign: New testcase.
9463
96b6697f
AB
94642018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9465
9466 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9467 names, and add test prefixes to make test names unique.
9468
e4a62c65
TV
94692018-09-05 Tom de Vries <tdevries@suse.de>
9470
9471 * gdb.dwarf2/varval.exp: Add test.
9472
dd083ee2
GB
94732018-09-04 Gary Benson <gbenson@redhat.com>
9474
9475 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9476 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9477
aef9346c
TT
94782018-08-31 Tom Tromey <tom@tromey.com>
9479
9480 * gdb.rust/simple.rs: Rename second variable "v".
9481
c67f2e15
AB
94822018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9483
9484 * gdb.base/funcargs.c (use_a): New function.
9485 (recurse): Call use_a.
9486
078a0207
KS
94872018-08-29 Keith Seitz <keiths@redhat.com>
9488
9489 * gdb.compile/compile-cplus-anonymous.cc: New file.
9490 * gdb.compile/compile-cplus-anonymous.exp: New file.
9491 * gdb.compile/compile-cplus-array-decay.cc: New file.
9492 * gdb.compile/compile-cplus-array-decay.exp: New file.
9493 * gdb.compile/compile-cplus-inherit.cc: New file.
9494 * gdb.compile/compile-cplus-inherit.exp: New file.
9495 * gdb.compile/compile-cplus-member.cc: New file.
9496 * gdb.compile/compile-cplus-member.exp: New file.
9497 * gdb.compile/compile-cplus-method.cc: New file.
9498 * gdb.compile/compile-cplus-method.exp: New file.
9499 * gdb.compile/compile-cplus-mod.c: "New" file.
9500 * gdb.compile/compile-cplus-namespace.cc: New file.
9501 * gdb.compile/compile-cplus-namespace.exp: New file.
9502 * gdb.compile/compile-cplus-nested.cc: New file.
9503 * gdb.compile/compile-cplus-nested.exp: New file.
9504 * gdb.compile/compile-cplus-print.c: "New" file.
9505 * gdb.compile/compile-cplus-print.exp: "New" file.
9506 * gdb.compile/compile-cplus-virtual.cc: New file.
9507 * gdb.compile/compile-cplus-virtual.exp: New file.
9508 * gdb.compile/compile-cplus.c: "New" file.
9509 * gdb.compile/compile-cplus.exp: "New" file.
9510 * lib/compile-support.exp: New file.
9511
b0f492b9
GB
95122018-08-16 Gary Benson <gbenson@redhat.com>
9513
9514 PR gdb/13000:
9515 * gdb.base/batch-exit-status.exp: New file.
9516 * gdb.base/batch-exit-status.good-commands: Likewise.
9517 * gdb.base/batch-exit-status.bad-commands: Likewise.
9518
36eb4c5f
AH
95192018-08-29 Alan Hayward <alan.hayward@arm.com>
9520
9521 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9522 (struct struct02): Likewise.
9523 (struct struct03): Likewise.
9524 (struct struct04): Likewise.
9525 (struct struct_01_01): New struct.
9526 (struct struct_01_02): Likewise.
9527 (struct struct_01_03): Likewise.
9528 (struct struct_01_04): Likewise.
9529 (struct struct_02_01): Likewise.
9530 (struct struct_02_02): Likewise.
9531 (struct struct_02_03): Likewise.
9532 (struct struct_02_04): Likewise.
9533 (struct struct_04_01): Likewise.
9534 (struct struct_04_02): Likewise.
9535 (struct struct_04_03): Likewise.
9536 (struct struct_04_04): Likewise.
9537 (struct struct_05_01): Likewise.
9538 (struct struct_05_02): Likewise.
9539 (struct struct_05_03): Likewise.
9540 (struct struct_05_04): Likewise.
9541 (cmp_struct01): Remove function.
9542 (cmp_struct02): Likewise.
9543 (cmp_struct03): Likewise.
9544 (cmp_struct04): Likewise.
9545 (cmp_struct_01_01): Add Function.
9546 (cmp_struct_01_02): Likewise.
9547 (cmp_struct_01_03): Likewise.
9548 (cmp_struct_01_04): Likewise.
9549 (cmp_struct_02_01): Likewise.
9550 (cmp_struct_02_02): Likewise.
9551 (cmp_struct_02_03): Likewise.
9552 (cmp_struct_02_04): Likewise.
9553 (cmp_struct_04_01): Likewise.
9554 (cmp_struct_04_02): Likewise.
9555 (cmp_struct_04_03): Likewise.
9556 (cmp_struct_04_04): Likewise.
9557 (cmp_struct_05_01): Likewise.
9558 (cmp_struct_05_02): Likewise.
9559 (cmp_struct_05_03): Likewise.
9560 (cmp_struct_05_04): Likewise.
9561 (call_all): Add new structs.
9562 * gdb.base/infcall-nested-structs.exp: Likewise.
9563
3bf9c013
JV
95642018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9565
9566 * gdb.python/py-framefilter-mi.exp: Update regexp to
9567 check for "arch" field in frame output.
9568
450d1e88
KB
95692018-08-23 Kevin Buettner <kevinb@redhat.com>
9570
9571 * gdb.dwarf2/dw2-ranges-func.c: New file.
9572 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9573
ae739fe7
SM
95742018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9575
9576 * gdb.base/term.exp: Compare terminal settings with values from
9577 the inferior.
9578 * gdb.base/term.c: Get and set terminal settings.
9579
6d52907e
JV
95802018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9581
9582 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9583 accommodate new "arch" field in frame output.
9584 * gdb.mi/mi-return.exp: Likewise.
9585 * gdb.mi/mi-stack.exp: Likewise.
9586 * gdb.mi/mi-syn-frame.exp: Likewise.
9587 * gdb.mi/user-selected-context-sync.exp: Likewise.
9588
be2d111a
MS
95892018-08-19 Michael Spang <spang@google.com>
9590
9591 PR gdb/11786
9592 * gdb.base/gcore-tls-pie.c: New file.
9593 * gdb.base/gcore-tls-pie.exp: New file.
9594
ae3a7c47
KB
95952018-08-18 Kevin Buettner <kevinb@redhat.com>
9596
9597 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9598 * gdb.dwarf2/varval.c: New file.
9599 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9600
2ecae92e
AH
96012018-08-17 Alan Hayward <alan.hayward@arm.com>
9602
9603 PR gdb/18931
9604 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9605
c1854f1d
KS
96062018-08-16 Keith Seitz <keiths@redhat.com>
9607
9608 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9609 tests expected to pass.
9610
26fb3983
JV
96112018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9612
9613 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9614 -data-disassemble -a.
9615 (test_disassembly_bogus_args): Likewise.
9616
67943c00
AB
96172018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9618
9619 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9620
5ff2bbae
AB
96212018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9622
9623 * gdb.base/vla-optimized-out.exp: Add new test.
9624
e5bbcd0f
AB
96252018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9626
9627 * gdb.base/vla-optimized-out-o3.exp: Delete.
9628 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9629 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9630 deleted tests.
9631
9d4a934c
AB
96322018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9633
9634 PR gdb/18050:
9635 * gdb.server/extended-remote-restart.c: New file.
9636 * gdb.server/extended-remote-restart.exp: New file.
9637
045cf012
SM
96382018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9639
9640 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9641 "set variable index = 42".
9642
87d6a7aa
SM
96432018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9644
9645 * boards/index-cache-gdb.exp: New file.
9646 * gdb.dwarf2/index-cache.exp: New file.
9647 * gdb.dwarf2/index-cache.c: New file.
9648 * gdb.base/maint.exp: Check if we are using the index cache.
9649
96d68bd4
RO
96502018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9651
9652 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9653 MAKEFLAGS.
9654
5a699617
RO
96552018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9656
9657 * dg-extract-results.sh: Move to toplevel contrib.
9658 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9659 * Makefile.in (check-parallel-racy): Likewise.
9660
5bd18990
AB
96612018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9662
9663 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9664 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9665 tests if the target supports scheduler locking.
9666
3fbbcf47
TV
96672018-08-04 Tom de Vries <tdevries@suse.de>
9668
9669 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9670
3e1d3d8c
TT
96712018-08-02 Tom Tromey <tom@tromey.com>
9672
9673 PR symtab/16842.
9674 * gdb.cp/temargs.exp: Test "info address" of a template
9675 parameter.
9676
5abe0f0c
JV
96772018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9678
9679 * gdb.python/py-mi-var-info-path-expression.c: New file.
9680 * gdb.python/py-mi-var-info-path-expression.py: New file.
9681 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9682
fb66cde8
SDJ
96832018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9684
9685 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9686 error after "cannot resolve name" string.
9687
c708f4d2
AB
96882018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9689
9690 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9691 started.
9692 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9693
37cc0cae
TV
96942018-07-28 Tom de Vries <tdevries@suse.de>
9695
9696 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9697
63b4ecf7
TV
96982018-07-26 Tom de Vries <tdevries@suse.de>
9699
9700 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9701
3c3bb058
AB
97022018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9703
9704 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9705 is visible.
9706
9e7f3bbb
TV
97072018-07-26 Tom de Vries <tdevries@suse.de>
9708
9709 PR breakpoints/23366
9710 * gdb.base/catch-follow-exec.c: New test.
9711 * gdb.base/catch-follow-exec.exp: New file.
9712
16f808ec
TV
97132018-07-25 Tom de Vries <tdevries@suse.de>
9714
9715 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9716 vla-optimized-out.c.
9717
d7154a8d
JV
97182018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9719
9720 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9721 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9722
232a0032
TV
97232018-07-20 Tom de Vries <tdevries@suse.de>
9724
9725 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9726 NOCLONE macro.
9727 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9728
fbb1d502
TV
97292018-07-19 Tom de Vries <tdevries@suse.de>
9730
9731 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9732 regular expression.
9733
42dc7699
TV
97342018-07-18 Tom de Vries <tdevries@suse.de>
9735
9736 * gdb.base/vla-optimized-out.c: New test.
9737 * gdb.base/vla-optimized-out.exp: New file.
9738
7f1f7e23
SDJ
97392018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9740
9741 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9742 message "No address associated with hostname" when gdbserver
9743 cannot resolve the hostname.
9744
5759ebb3
PW
97452018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9746
9747 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9748 Add some test prefixes to make tests unique.
9749
3606ccab
PW
97502018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9751
9752 * gdb.base/frameapply.c: New file.
9753 * gdb.base/frameapply.exp: New file.
9754
529c08b2
PW
97552018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9756
9757 * gdb.base/skip.exp: Update expected error message.
9758
c7ab0aef
SDJ
97592018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9760 Jan Kratochvil <jan.kratochvil@redhat.com>
9761 Paul Fertser <fercerpav@gmail.com>
9762 Tsutomu Seki <sekiriki@gmail.com>
9763
9764 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9765 parameter.
9766 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9767 by default.
9768 * boards/native-gdbserver.exp: Likewise.
9769 * gdb.server/run-without-local-binary.exp: Improve regexp used
9770 for detecting when a remote debugging connection succeeds.
9771 * gdb.server/server-connect.exp: New file.
9772 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9773 Do not prefix the port number with ":".
9774 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9775 support for detecting and using it. Add '$debughost_gdbserver'
9776 to the list of arguments used to start gdbserver. Handle case
9777 when gdbserver cannot resolve a network name.
9778
16ff70dd
SDJ
97792018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9780
9781 PR c++/23373
9782 * gdb.base/ptype-offsets.cc (struct static_member): New
9783 struct.
9784 (main) <stmember>: New variable.
9785 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9786 with a static member in it.
9787
3541979f
AB
97882018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9789
9790 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9791 watchpoints enabled and disabled.
9792
c8ad9b9a
AB
97932018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9794
9795 * gdb.base/examine-backward.exp: Still run tests around address
9796 0x0, even if address 0x0 is not readable. Update the pattern for
9797 matching address 0x0 in expected output.
9798
e0e5e971
AB
97992018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9800
9801 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9802 malloc/free.
9803
1ea5da02
TV
98042018-07-04 Tom de Vries <tdevries@suse.de>
9805
9806 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9807
471b9d15
MR
98082018-07-02 Maciej W. Rozycki <macro@mips.com>
9809
9810 PR tdep/8282
9811 * gdb.arch/mips-disassembler-options.exp: New test.
9812 * gdb.arch/mips-disassembler-options.s: New test source.
9813
75acb486
PA
98142018-06-29 Pedro Alves <palves@redhat.com>
9815
9816 * gdb.threads/names.exp: Adjust expected "info threads" output.
9817
cd2bb709
PA
98182018-06-29 Pedro Alves <palves@redhat.com>
9819
9820 * gdb.opt/inline-break.exp (line number, address): Add "info
9821 break" tests.
9822
991ff292
PA
98232018-06-29 Pedro Alves <palves@redhat.com>
9824
9825 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9826 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9827 number and address and running to them.
9828
356819b6 98292018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9830
9831 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9832
2512d7ef
JK
98332018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9834
9835 * lib/compiler.c: Remove executable permission flag.
9836
be1b6474
RB
98372018-06-28 Richard Bunt <richard.bunt@arm.com>
9838
9839 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9840 code.
9841 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9842
291f9a96
PT
98432018-06-28 Petr Tesarik <ptesarik@suse.cz>
9844
9845 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9846
ed6dfe51
PT
98472018-06-28 Petr Tesarik <ptesarik@suse.cz>
9848
9849 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9850 address argument is omitted.
9851
d4d429d5
PT
98522018-06-28 Petr Tesarik <ptesarik@suse.cz>
9853
9854 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9855
7ab6656f
OJ
98562018-06-27 Omair Javaid <omair.javaid@linaro.org>
9857
9858 PR gdb/21695
9859 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9860 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9861
a33ccfc7
TT
98622018-06-26 Tom Tromey <tom@tromey.com>
9863
9864 PR rust/22574:
9865 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9866 * gdb.rust/simple.rs (struct SimpleLayout): New.
9867
6d72d289
SM
98682018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9869
9870 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9871 "info registers" output.
9872
8363f9d5
RB
98732018-06-21 Richard Bunt <richard.bunt@arm.com>
9874
9875 * gdb.base/watchpoint-hw-attach.c: New test.
9876 * gdb.base/watchpoint-hw-attach.exp: New file.
9877
f00674fe
SM
98782018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9879
9880 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9881 through /bin/sh.
9882 * boards/dwarf4-gdb-index.exp: Likewise.
9883 * boards/fission-dwp.exp: Likewise.
9884
1d554008
UW
98852018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9886
9887 * gdb.base/float128.exp: Add comment and improved fail message
9888 to the failure case of "print large128" test.
9889
d0ac1c44
SM
98902018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9891
9892 * configure.ac: Remove AC_PREREQ.
9893 * configure: Re-generate.
9894
61b04dd0
PA
98952018-06-19 Pedro Alves <palves@redhat.com>
9896
9897 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9898 (func_extern_caller): New.
9899 (main): Call func_extern_caller.
9900 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9901 logic change.
9902
f63b508a
SM
99032018-06-18 Weimin Pan <weimin.pan@oracle.com>
9904
9905 PR gdb/16841
9906 * gdb.cp/typedef-base.cc: New file.
9907 * gdb.cp/typedef-base.exp: New file.
9908
0fe3a558
TV
99092018-06-18 Tom de Vries <tdevries@suse.de>
9910
9911 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9912
7010835a
AB
99132018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9914 Richard Bunt <Richard.Bunt@arm.com>
9915
9916 * gdb.threads/attach-slow-waitpid.c: New file.
9917 * gdb.threads/attach-slow-waitpid.exp: New file.
9918 * gdb.threads/slow-waitpid.c: New file.
9919
14897d65
PA
99202018-06-14 Pedro Alves <palves@redhat.com>
9921
9922 * gdb.base/fork-running-state.c: Include <errno.h>.
9923 (exit_if_relative_exits): New.
9924 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9925 exits.
9926 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9927 child exits.
9928
5d9a0608
TV
99292018-06-14 Tom de Vries <tdevries@suse.de>
9930
9931 PR cli/22573
9932 * gdb.base/finish-pretty.c: New test.
9933 * gdb.base/finish-pretty.exp: New file.
9934
11ae5818
PA
99352018-06-14 Pedro Alves <palves@redhat.com>
9936
9937 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9938 gdb's expected startup output.
9939
1d39de44
PA
99402018-06-14 Pedro Alves <palves@redhat.com>
9941
9942 * lib/selftest-support.exp (selftest_setup): Remove inlined
9943 function handling.
9944
70ee0000
TV
99452018-06-14 Tom de Vries <tdevries@suse.de>
9946
9947 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9948 matching of breakpoint printing.
9949
11f4b608
TV
99502018-06-13 Tom de Vries <tdevries@suse.de>
9951
9952 PR testsuite/23269
9953 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9954 (fork_child): ... here, and ...
9955 (fork_parent): ... here.
9956
99572018-06-12 Tom de Vries <tdevries@suse.de>
9958
9959 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9960
9516f85a
AB
99612018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9962 Stephen Roberts <stephen.roberts@arm.com>
9963
9964 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9965 rewrite test to describe action performed, rather than possible
9966 failure.
9967
5045b3d7
GB
99682018-06-08 Gary Benson <gbenson@redhat.com>
9969
9970 * gdb.threads/check-libthread-db.exp: New file.
9971 * gdb.threads/check-libthread-db.c: Likewise.
9972
c61b06a1
TT
99732018-06-05 Tom Tromey <tom@tromey.com>
9974
9975 * gdb.base/default.exp: Update expected "show version" output.
9976
eb6af809
TT
99772018-06-05 Tom Tromey <tom@tromey.com>
9978
9979 PR cli/12326:
9980 * gdb.cp/static-print-quit.exp: Update.
9981 * lib/gdb.exp (pagination_prompt): Update.
9982 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9983 * gdb.python/python.exp: Update.
9984
178d6a63
JB
99852018-06-04 Joel Brobecker <brobecker@adacore.com>
9986
9987 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9988
8e817061
JB
99892018-06-01 Joel Brobecker <brobecker@adacore.com>
9990
9991 * gdb.ada/bp_fun_addr: New testcase.
9992
e86ca25f
TT
99932018-06-01 Tom Tromey <tom@tromey.com>
9994
9995 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9996 results.
9997 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9998 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9999 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10000 * gdb.base/maint.exp (maint_pass_if): Update.
10001
4b2dfa9d
MR
100022018-05-31 Maciej W. Rozycki <macro@mips.com>
10003
10004 * gdb.base/endian.exp: New test.
10005 * gdb.base/endian.c: New test source.
10006
45f25d6c
AB
100072018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10008
10009 PR gdb/23203
10010 * gdb.base/bt-selected-frame.c: New file.
10011 * gdb.base/bt-selected-frame.exp: New file.
10012 * lib/gdb.exp (get_current_frame_number): New function.
10013
d9f6d7f8
MR
100142018-05-24 Maciej W. Rozycki <macro@mips.com>
10015 Pedro Alves <palves@redhat.com>
10016
10017 * gdb.threads/tls-core.c: Include <stdlib.h>
10018 (thread_proc): Call `abort'.
10019 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10020 (tls_core_test): New procedure, bits factored out from ...
10021 (top level): ... here. Test both native cores and gcore cores.
10022
ff1cf532
TT
100232018-05-23 Tom Tromey <tom@tromey.com>
10024
10025 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10026
b98664d3
TT
100272018-05-23 Tom Tromey <tom@tromey.com>
10028
10029 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10030 symfile_complaints.
10031 (test_short_complaints): Likewise.
10032 (test_empty_complaints): Likewise.
10033 (test_initial_complaints): Update.
10034
4e9668d0
TT
100352018-05-23 Tom Tromey <tom@tromey.com>
10036
10037 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10038
43ba33c7
TT
100392018-05-23 Tom Tromey <tom@tromey.com>
10040
10041 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10042 (test_short_complaints): Update.
10043
035522c0
PA
100442018-05-22 Pedro Alves <palves@redhat.com>
10045
10046 * gdb.base/remote.exp: Only gdb_start after compiling the
10047 testcase. Issue "disconnect" before testing "set remote" command
10048 defaults. Issue clean_restart before running to main.
10049
cc0be08f
PA
100502018-05-22 Pedro Alves <palves@redhat.com>
10051
10052 * gdb.base/remote.exp: Adjust expected output of "show remote
10053 memory-write-packet-size". Add tests for "set remote
10054 memory-write-packet-size 0" and "set remote
10055 memory-write-packet-size fixed/limit".
10056
b1b60145
PA
100572018-05-22 Pedro Alves <palves@redhat.com>
10058
10059 PR gdb/22973
10060 * gdb.base/utf8-identifiers.c: New file.
10061 * gdb.base/utf8-identifiers.exp: New file.
10062
0ec848ad
PFC
100632018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10064
10065 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10066
2c3305f6
PFC
100672018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10068
10069 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10070
ce1e8424
TT
100712018-05-18 Tom Tromey <tom@tromey.com>
10072
10073 * gdb.base/ptype-offsets.exp: Update.
10074
ddfe970e
KS
100752018-05-17 Keith Seitz <keiths@redhat.com>
10076
10077 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10078 in expected breakpoint stop locations.
10079 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10080 move to proper scope to test variable values.
10081 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10082 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10083 New functions.
10084 (main): Call not_inline_func3.
10085 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10086 inline_func1, inline_func2, and inline_func3. Test that when each
10087 breakpoint is hit, GDB properly reports both the stop location
10088 and the backtrace. Repeat tests for temporary breakpoints.
10089
0726fcc6
MR
100902018-05-15 Maciej W. Rozycki <macro@mips.com>
10091
10092 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10093 rather then trying to access it in determining whether the PID
10094 of `gdbserver' could have been retrieved.
10095
8ee22052
AB
100962018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10097
10098 * gdb.arch/amd64-init-x87-values.S: New file.
10099 * gdb.arch/amd64-init-x87-values.exp: New file.
10100
7785df48
JK
101012018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10102
10103 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10104
56bcdbea
TT
101052018-05-04 Tom Tromey <tom@tromey.com>
10106
10107 PR python/22730:
10108 * gdb.python/python.exp: Test multi-line execute.
10109
a913fffb
TT
101102018-05-04 Tom Tromey <tom@tromey.com>
10111
10112 PR python/22731:
10113 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10114
7a2c85f2
TT
101152018-05-04 Tom Tromey <tom@tromey.com>
10116
10117 PR gdb/11750:
10118 * gdb.base/define.exp: Test defining a user command inside a user
10119 command.
10120 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10121
a3b60e45
JK
101222018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10123 Pedro Alves <palves@redhat.com>
10124
10125 PR breakpoints/19806 and support for PR external/20207.
10126 * gdb.base/watchpoint-unaligned.c: New file.
10127 * gdb.base/watchpoint-unaligned.exp: New file.
10128
45fe4a03
AB
101292018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10130
10131 * gdb.base/maint.exp: Make test names unique, use
10132 test_prefix_command_help to test 'help maint info', and remove
10133 repeated test of 'help maint'.
10134
9be2ae8f
TT
101352018-05-04 Tom Tromey <tom@tromey.com>
10136
10137 PR gdb/22619:
10138 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10139 behavior.
10140
11859c31
AB
101412018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10142
10143 * gdb.base/maint.exp: Process output from 'maint print registers'
10144 line at a time.
10145
089a9490
AB
101462018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10147
10148 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10149 timeout.
10150
9b0797e2
AB
101512018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10152
10153 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10154 filter pattern.
10155
f6ac5f3d
PA
101562018-05-02 Pedro Alves <palves@redhat.com>
10157
10158 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10159 to_log_command renames.
10160 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10161
77d3c63b
TT
101622018-05-02 Tom Tromey <tom@tromey.com>
10163
10164 * gdb.python/py-parameter.exp: Set test message.
10165
0489430a
TT
101662018-05-02 Tom Tromey <tom@tromey.com>
10167
10168 PR python/20084:
10169 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10170 PARAM_ZUINTEGER_UNLIMITED tests.
10171
1632f8ba
DR
101722018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10173
10174 PR rust/23124
10175 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10176 when casting.
10177
6d7bb824
TT
101782018-04-30 Tom Tromey <tom@tromey.com>
10179
10180 * gdb.python/py-type.exp: Check align attribute.
10181 * gdb.python/py-type.c: New "aligncheck" global.
10182
007e1530
TT
101832018-04-30 Tom Tromey <tom@tromey.com>
10184
10185 PR exp/17095:
10186 * gdb.dwarf2/dw2-align.exp: New file.
10187 * gdb.cp/align.exp: New file.
10188 * gdb.base/align.exp: New file.
10189 * lib/gdb.exp (gdb_int128_helper): New proc.
10190 (has_int128_c, has_int128_cxx): New caching procs.
10191
6873858b
TT
101922018-04-27 Tom Tromey <tom@tromey.com>
10193
10194 PR rust/22545:
10195 * gdb.rust/simple.exp: Add inclusive range tests.
10196
79188d8d
PA
101972018-04-26 Pedro Alves <palves@redhat.com>
10198
10199 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10200 ifunc breakpoint locations correctly of ifunc breakpoints set
10201 while the program resolves the ifunc.
10202
c7075ad5
PA
102032018-04-26 Pedro Alves <palves@redhat.com>
10204
10205 * gdb.base/gnu-ifunc-final.c: New file.
10206 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10207 * gdb.base/gnu-ifunc.exp (executable): Delete.
10208 (staticexecutable): Adjust.
10209 (lib_opts, exec_opts): Delete.
10210 (make_binsuffix, build, set-break): New procedures.
10211 (misc_tests): New, with tests factored out from the top level.
10212 (top level): Test different combinations of ifunc resolver name,
10213 resolver with and with debug info, and ifunc target with and
10214 without debug info. Wrap static tests with with_target_prefix.
10215
8388016d
PA
102162018-04-26 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10219 return type" warnings.
10220
249b5733
PA
102212018-04-25 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10224 killed".
10225 * gdb.base/kill-after-signal.exp: Likewise.
10226 * gdb.threads/kill.exp: Likewise.
10227
f67c0c91
SDJ
102282018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10229 Sergio Durigan Junior <sergiodj@redhat.com>
10230 Pedro Alves <palves@redhat.com>
10231
10232 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10233 regexps to expect for '[Inferior ... detached]' as well.
10234 * gdb.base/attach.exp: Likewise.
10235 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10236 "gdb_continue_to_end".
10237 (test_catch_syscall_with_wrong_args): Likewise.
10238 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10239 ']'. Don't set 'verbose' on.
10240 * gdb.base/foll-vfork.exp: Likewise.
10241 * gdb.base/fork-print-inferior-events.c: New file.
10242 * gdb.base/fork-print-inferior-events.exp: New file.
10243 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10244 '[Inferior ... has been killed]' message.
10245 * gdb.base/kill-after-signal.exp: Likewise.
10246 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10247 detach message.
10248 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10249 message.
10250 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10251 regexps to expect for '[Inferior ... detached]' as well.
10252 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10253
0a8ddac4
SM
102542018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 PR gdb/23104
10257 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10258
701adfb0
PA
102592018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10260
10261 PR gdb/23095
10262 * gdb.base/break-probes.exp: Pass shlib_load to
10263 prepare_for_testing. Set normal_bp to r_debug_state if target is
10264 bsd.
10265
d27d16bf
RB
102662018-04-19 Richard Bunt <richard.bunt@arm.com>
10267
10268 * gdb.threads/multiple-successive-infcall.c: New test.
10269 * gdb.threads/multiple-successive-infcall.exp: New file.
10270
a037790e
TT
102712018-04-17 Tom Tromey <tom@tromey.com>
10272
10273 * gdb.rust/simple.rs (Union): New type.
10274 (main): New local "u".
10275 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10276
e3a91079
AA
102772018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10278
10279 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10280 number information in output of "whereis" command.
10281 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10282
b744723f
AA
102832018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10284
10285 * gdb.ada/info_types.exp: Adjust expected output to the line
10286 numbers now printed by "info var/func/type".
10287 * gdb.base/completion.exp: Likewise.
10288 * gdb.base/included.exp: Likewise.
10289 * gdb.cp/cp-relocate.exp: Likewise.
10290 * gdb.cp/cplusfuncs.exp: Likewise.
10291 * gdb.cp/namespace.exp: Likewise.
10292 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10293
4a4495d6
MM
102942018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10295
10296 * gdb.btrace/cpu.exp: New.
10297
1d509aa6
MM
102982018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10299
10300 * gdb.base/step-indirect-call-thunk.exp: New.
10301 * gdb.base/step-indirect-call-thunk.c: New.
10302 * gdb.reverse/step-indirect-call-thunk.exp: New.
10303 * gdb.reverse/step-indirect-call-thunk.c: New.
10304
6295b6da
SM
103052018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10306
10307 * gdb.base/pie-fork.c: New file.
10308 * gdb.base/pie-fork.exp: New file.
10309
50146e70
TT
103102018-04-11 Tom Tromey <tom@tromey.com>
10311
10312 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10313
f50d8a2e
PA
103142018-04-10 Pedro Alves <palves@redhat.com>
10315
10316 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10317 exits. Instead loop running forever.
10318 (fork_parent): Run forever too.
10319
a0be7a36
SM
103202018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10321
10322 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10323 mi_continue_to_line.
10324 * gdb.mi/mi-stack.c (callee4): Add comment.
10325
9b73db36
SM
103262018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10327
10328 * gdb.mi/mi-stack.exp: Fix indentation.
10329
c912f608
SM
103302018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10331
10332 PR gdb/22979
10333 * gdb.arch/amd64-osabi.exp: New file.
10334
26540402
SM
103352018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10336
10337 PR gdb/22980
10338 * gdb.base/osabi.exp: New file.
10339
121ad66c 103402018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10341
10342 * gdb.cp/static-typedef-print.exp: New file.
10343 * gdb.cp/static-typedef-print.cc: New file.
10344
3fcded8f
JB
103452018-03-27 Joel Brobecker <brobecker@adacore.com>
10346
10347 * gdb.ada/varsize_limit: New testcase.
10348
59cc4834
JB
103492018-03-27 Joel Brobecker <brobecker@adacore.com>
10350
10351 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10352
10353 * gdb.ada/notcplusplus: New testcase.
10354
10355 * gdb.base/c-linkage-name.c: New file.
10356 * gdb.base/c-linkage-name.exp: New testcase.
10357
4ca59a9f
TT
103582018-03-26 Tom Tromey <tom@tromey.com>
10359
10360 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10361 * gdb.python/py-framefilter.py (name_error): New global.
10362 (ErrorInName.function): Use name_error.
10363
978d6c75
TT
103642018-03-26 Tom Tromey <tom@tromey.com>
10365
10366 PR backtrace/15582:
10367 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10368
b7fee5a3
KS
103692018-03-23 Keith Seitz <keiths@redhat.com>
10370
10371 PR c++/22968
10372 * gdb.cp/subtypes.exp: New file.
10373 * gdb.cp/subtypes.h: New file.
10374 * gdb.cp/subtypes.cc: New file.
10375 * gdb.cp/subtypes-2.cc: New file.
10376
376be529
AB
103772018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10378
10379 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10380 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10381 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10382 -nostartfiles when compiling the test. Confirm that all registers
10383 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10384
066cfa98
AB
103852018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10386
10387 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10388 option, syntax was wrong anyway.
10389 * gdb.arch/arm-disp-step.exp: Likewise.
10390 * gdb.arch/sparc64-regs.exp: Likewise.
10391 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10392 option, syntax was wrong anyway, switch to use
10393 prepare_for_testing.
10394 * gdb.arch/i386-disp-step.exp: Likewise.
10395
079670b9
AA
103962018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10397
10398 * gdb.ada/exec_changed.exp: Replace "target_info exists
10399 use_gdb_stub" by "use_gdb_stub".
10400 * gdb.ada/start.exp: Likewise.
10401 * gdb.base/async-shell.exp: Likewise.
10402 * gdb.base/attach-pie-misread.exp: Likewise.
10403 * gdb.base/attach-wait-input.exp: Likewise.
10404 * gdb.base/break-entry.exp: Likewise.
10405 * gdb.base/break-interp.exp: Likewise.
10406 * gdb.base/dprintf-detach.exp: Likewise.
10407 * gdb.base/nostdlib.exp: Likewise.
10408 * gdb.base/solib-nodir.exp: Likewise.
10409 * gdb.base/statistics.exp: Likewise.
10410 * gdb.base/testenv.exp: Likewise.
10411 * gdb.mi/mi-exec-run.exp: Likewise.
10412 * gdb.mi/mi-start.exp: Likewise.
10413 * gdb.multi/dummy-frame-restore.exp: Likewise.
10414 * gdb.multi/multi-arch-exec.exp: Likewise.
10415 * gdb.multi/multi-arch.exp: Likewise.
10416 * gdb.multi/tids.exp: Likewise.
10417 * gdb.multi/watchpoint-multi.exp: Likewise.
10418 * gdb.python/py-events.exp: Likewise.
10419 * gdb.threads/attach-into-signal.exp: Likewise.
10420 * gdb.threads/attach-stopped.exp: Likewise.
10421 * gdb.threads/threadapply.exp: Likewise.
10422 * lib/selftest-support.exp: Likewise.
10423
26d6cec4
AA
104242018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10425
10426 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10427
4ee89e90
SR
104282018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10429
10430 * gdb.perf/template-breakpoints.cc: New file.
10431 * gdb.perf/template-breakpoints.exp: New file.
10432 * gdb.perf/template-breakpoints.py: New file.
10433
92630041
TT
104342018-03-19 Tom Tromey <tom@tromey.com>
10435
10436 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10437 y0.
10438 * gdb.rust/simple.exp: Test bare identifier form of struct
10439 initializer.
10440
76727919
TT
104412018-03-19 Tom Tromey <tom@tromey.com>
10442
10443 * gdb.gdb/observer.exp: Remove.
10444
194ed413
AA
104452018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10446
10447 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10448 "qualified" option when setting breakpoints.
10449 * gdb.trace/backtrace.exp: Likewise.
10450 * gdb.trace/circ.exp: Likewise.
10451 * gdb.trace/collection.exp: Likewise.
10452 * gdb.trace/disconnected-tracing.exp: Likewise.
10453 * gdb.trace/ftrace-lock.exp: Likewise.
10454 * gdb.trace/ftrace.exp: Likewise.
10455 * gdb.trace/infotrace.exp: Likewise.
10456 * gdb.trace/packetlen.exp: Likewise.
10457 * gdb.trace/passc-dyn.exp: Likewise.
10458 * gdb.trace/qtro.exp: Likewise.
10459 * gdb.trace/read-memory.exp: Likewise.
10460 * gdb.trace/report.exp: Likewise.
10461 * gdb.trace/signal.exp: Likewise.
10462 * gdb.trace/status-stop.exp: Likewise.
10463 * gdb.trace/strace.exp: Likewise.
10464 * gdb.trace/tfind.exp: Likewise.
10465 * gdb.trace/trace-break.exp: Likewise.
10466 * gdb.trace/trace-condition.exp: Likewise.
10467 * gdb.trace/trace-mt.exp: Likewise.
10468 * gdb.trace/tstatus.exp: Likewise.
10469 * gdb.trace/tsv.exp: Likewise.
10470 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10471 * gdb.trace/unavailable.exp: Likewise.
10472 * gdb.trace/while-dyn.exp: Likewise.
10473
8b067d2c
AA
104742018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10475
10476 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10477 that libinproctrace is copied to the target.
10478
3ae9ce5d
TT
104792018-03-14 Tom Tromey <tom@tromey.com>
10480
10481 PR cli/14977:
10482 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10483 a null pointer.
10484 * gdb.base/wchar.exp: Likewise.
10485
b8c2339b
TT
104862018-03-14 Tom Tromey <tom@tromey.com>
10487
10488 PR cli/19918:
10489 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10490 flag.
10491
4872dc46
SM
104922018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10493
10494 PR gdb/22841
10495 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10496 "target" to remote_exec.
10497
e4fe3756
SM
104982018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10499
10500 PR gdb/22841
10501 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10502 ${board}_upload): Remove.
10503
e95a97d4
AA
105042018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10505
10506 * gdb.cp/watch-cp.cc: New test.
10507 * gdb.cp/watch-cp.exp: New file.
10508
dbbb1059
AB
105092018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10510
10511 * gdb.base/infcall-nested-structs.exp: New file.
10512 * gdb.base/infcall-nested-structs.c: New file.
10513 * gdb.base/float.exp: Add riscv support.
10514
ecc054c0
TP
105152018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10516
10517 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10518 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10519
25e3c82c
SDJ
105202018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10521
10522 * gdb.server/abspath.exp: New file.
10523 * lib/gdb.exp (with_cwd): New procedure.
10524
3083294d
SM
105252018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10526
10527 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10528 use it.
10529 (gdb_is_target_remote_prompt): New proc.
10530 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10531 (gdb_is_target_native): Pass prompt parameter to
10532 gdb_is_target_1.
10533
3275ef47
SM
105342018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10535
10536 * gdb.base/load-command.c: New file.
10537 * gdb.base/load-command.exp: New file.
10538 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10539 (gdb_is_target_1): ...this, and generalize for other targets
10540 than just remote.
10541 (gdb_is_target_remote): Use gdb_is_target_1.
10542 (gdb_is_target_native): use gdb_is_target_1.
10543
6893c19a
TT
105442018-02-26 Tom Tromey <tom@tromey.com>
10545
10546 PR python/16497:
10547 * gdb.python/py-framefilter.exp: Update test.
10548
2ddeaf8a
TT
105492018-02-26 Tom Tromey <tom@tromey.com>
10550
10551 * gdb.dwarf2/variant.c: New file.
10552 * gdb.dwarf2/variant.exp: New file.
10553
c9317f21
TT
105542018-02-26 Tom Tromey <tom@tromey.com>
10555
10556 * gdb.rust/simple.exp: Accept more possible results in enum test.
10557
6f6d0c26
SM
105582018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10559
10560 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10561 parentheses.
10562
11b03145
MR
105632018-02-23 Maciej W. Rozycki <macro@mips.com>
10564
10565 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10566 name of a variable: $actual_linejj -> $actual_line.
10567
54a27fe5
JB
105682018-02-21 John Baldwin <jhb@FreeBSD.org>
10569
10570 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10571
de65820c
MM
105722018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10573
10574 * gdb.btrace/buffer-size.exp: Do not force BTS.
10575
980548fd
PA
105762018-02-14 Pedro Alves <palves@redhat.com>
10577
10578 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10579 getting a "Quit".
10580
c4e12631
MM
105812018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10582
10583 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10584 Fix test name.
10585
c2e0e465
SM
105862018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10587
10588 * gdb.cp/m-static.exp: Check type of optimized out static
10589 member.
10590
f7216783
AB
105912018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10592
10593 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10594 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10595
0625771b
LS
105962018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10597 Leszek Swirski <leszeks@google.com>
10598
10599 * gdb.python/py-prettyprint.c
10600 (struct to_string_returns_value_inner,
10601 struct to_string_returns_value_wrapper): New.
10602 (main): Add tsrvw variable.
10603 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10604 ToStringReturnsValueWrapper): New classes.
10605 (register_pretty_printers): Register new pretty-printers.
10606 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10607 recursive pretty printer.
10608 * gdb.python/py-mi.exp: Likewise.
10609
59498c30
LS
106102018-02-01 Leszek Swirski <leszeks@google.com>
10611
10612 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10613 functions with the same name as an include file are parsed
10614 correctly.
10615
d4d38844
YQ
106162018-02-01 Yao Qi <yao.qi@linaro.org>
10617
10618 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10619 "\[^\r\n\]*".
10620
07e5f5cf
NP
106212018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10622
10623 * gdb.arch/powerpc-prologue-frame.s: New file.
10624 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10625 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10626
929b5ad4
JB
106272018-01-31 Joel Brobecker <brobecker@adacore.com>
10628
10629 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10630
e671cd59
PA
106312018-01-30 Pedro Alves <palves@redhat.com>
10632
10633 PR gdb/13211
10634 * gdb.base/interrupt-daemon.c: New.
10635 * gdb.base/interrupt-daemon.exp: New.
10636 * gdb.multi/multi-term-settings.c: New.
10637 * gdb.multi/multi-term-settings.exp: New.
10638
fc413dc4
JB
106392018-01-30 Joel Brobecker <brobecker@adacore.com>
10640
10641 * gdb.base/break.exp: Save the location where the breakpoint
10642 on break.c:47 was actually inserted when debugging the version
10643 compiled at -O2 and use it in the expected output of the "info
10644 break" test performed soon after.
10645
5c319bb2
PA
106462018-01-22 Pedro Alves <palves@redhat.com>
10647 Sergio Durigan Junior <sergiodj@redhat.com>
10648
10649 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10650 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10651
a9e40818
JB
106522018-01-22 Joel Brobecker <brobecker@adacore.com>
10653
10654 * gdb.base/break-include.c, gdb.base/break-include.inc,
10655 gdb.base/break-include.exp: New files.
10656 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10657 line number now being the actual line number where the breakpoint
10658 was inserted.
10659 * gdb.mi/mi-break.exp: Likewise.
10660 * gdb.mi/mi-reverse.exp: Likewise.
10661 * gdb.mi/mi-simplerun.exp: Ditto.
10662
e707fc44
AB
106632018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10664
10665 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10666 varobj.
10667 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10668
ae451627
AB
106692018-01-21 Don Breazeal <donb@codesourcery.com>
10670 Andrew Burgess <andrew.burgess@embecosm.com>
10671
10672 * gdb.mi/basics.c: Add new global.
10673 * gdb.mi/mi-frame-regs.exp: New file.
10674 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10675 case.
10676
b1b189e0
AB
106772018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10678
10679 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10680 non-parameter, and on an unknown symbol.
10681
fcfcc376
TT
106822018-01-19 Tom Tromey <tom@tromey.com>
10683
10684 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10685 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10686
634c1c31
AA
106872018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10688
10689 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10690 setrlimit and chdir to int.
10691
d6ad07fd
AA
106922018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10693
10694 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10695 function.
10696 (my_tend): Likewise.
10697 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10698 rationale of avoiding FP- and vector instructions.
10699
adf8243b
RK
107002018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10701
10702 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10703 "info reg" with "\[ \t\]*".
10704 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10705 "\[ \t\]+".
10706 * gdb.arch/s390-multiarch.exp: Ditto.
10707 * gdb.base/pc-fp.exp: Ditto.
10708 * gdb.reverse/i386-precsave.exp: Ditto.
10709 * gdb.reverse/i386-reverse.exp: Ditto.
10710 * gdb.reverse/i387-env-reverse.exp: Ditto.
10711 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10712
dcc06925
AA
107132018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10714
10715 * lib/gdb.exp (gdb_compile): Re-enable use of
10716 universal_compile_options for languages other than Rust.
10717
25d4fd80
AA
107182018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10719
10720 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10721
ee7f689e 107222018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10723
10724 PR gdb/16577
10725 * gdb.base/solib-vanish.exp: New.
10726 * gdb.base/solib-vanish-main.c: New.
10727 * gdb.base/solib-vanish-lib1.c: New.
10728 * gdb.base/solib-vanish-lib2.c: New.
10729
d8447b6b
YQ
107302018-01-17 Yao Qi <yao.qi@linaro.org>
10731
10732 * gdb.compile/compile.exp: Match the address printed for
10733 frame in the output of command "bt".
10734
86d6a90c
TT
107352018-01-15 Tom Tromey <tom@tromey.com>
10736
10737 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10738 compute sp_reg.
10739
cbcdb1aa
AB
107402018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10741
10742 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10743 to prepare.
10744 (prepare): Return 0 on error, 1 on success.
10745
eea61984
PA
107462018-01-12 Pedro Alves <palves@redhat.com>
10747
10748 * gdb.base/continue-after-aborted-step-over.c: New.
10749 * gdb.base/continue-after-aborted-step-over.exp: New.
10750
6181e9c2
SM
107512018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10752
10753 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10754 options when not creating an executable.
10755
3cada740
PA
107562018-01-11 Pedro Alves <palves@redhat.com>
10757
10758 PR remote/22597
10759 * gdb.server/stop-reply-no-thread.c: New file.
10760 * gdb.server/stop-reply-no-thread.exp: New file.
10761
c63d3e8d
PA
107622018-01-10 Pedro Alves <palves@redhat.com>
10763
10764 PR gdb/22670
10765 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10766 functions too. Test setting breakpoints and printing C functions
10767 with no debug info too.
10768 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10769
d4c2a405
PA
107702018-01-10 Pedro Alves <palves@redhat.com>
10771
10772 PR gdb/22670
10773 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10774 a fail.
10775
8825213e
PA
107762018-01-10 Pedro Alves <palves@redhat.com>
10777
10778 PR gdb/22670
10779 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10780
605fd3c6
YQ
107812018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10782
10783 * gdb.server/unittest.exp: Match the output in non-development
10784 mode.
10785
1e5ded6c
YQ
107862018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10787
10788 * gdb.gdb/unittest.exp: Match output in non-development mode.
10789
30066b0b
JB
107902018-01-08 Joel Brobecker <brobecker@adacore.com>
10791
10792 * gdb.ada/access_tagged_param.exp: Relax expected output
10793 for value of "ObjL" in "continue" to pck.inspect breakpoint
10794 test.
10795
04bafb1e
XR
107962018-01-08 Joel Brobecker <brobecker@adacore.com>
10797
9f86398b
JB
10798 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10799 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10800
e379cee6
PA
108012018-01-05 Pedro Alves <palves@redhat.com>
10802
10803 PR gdb/18653
10804 * gdb.base/libsegfault.exp: New.
10805
de63c46b
PA
108062018-01-05 Joel Brobecker <brobecker@adacore.com>
10807
10808 PR gdb/22670
10809 * gdb.ada/access_tagged_param.exp: New file.
10810 * gdb.ada/access_tagged_param/foo.adb: New file.
10811
f98fc17b
PA
108122018-01-05 Pedro Alves <palves@redhat.com>
10813
10814 PR gdb/22670
10815 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10816 exercise lower case too, and to exercise both full matching and
10817 wild matching.
10818
342f8240
JB
108192018-01-05 Joel Brobecker <brobecker@adacore.com>
10820
10821 * gdb.ada/rename_subscript_param: New testcase.
10822
7150d33c
JG
108232018-01-05 Jerome Guitton <guitton@adacore.com>
10824
10825 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10826
cc0e770c
JB
108272018-01-05 Joel Brobecker <brobecker@adacore.com>
10828
10829 * gdb.ada/convvar_comp: New testcase.
10830
672a41aa 108312018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10832
10833 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10834 (My_Table): New global variable.
10835 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10836
7365ec2f
JB
108372018-01-04 Joel Brobecker <brobecker@adacore.com>
10838
10839 PR gdb/22670
10840 * gdb.ada/maint_with_ada: New testcase.
10841
289483b6
JB
108422018-01-04 Joel Brobecker <brobecker@adacore.com>
10843
10844 PR gdb/22670
10845 * gdb.ada/bp_c_mixed_case: New testcase.
10846
344420da
JB
108472018-01-04 Joel Brobecker <brobecker@adacore.com>
10848
10849 PR gdb/22670
10850 * gdb.ada/complete.exp: Add "complete break ada" test.
10851
66fc87a0
JB
108522018-01-04 Joel Brobecker <brobecker@adacore.com>
10853
10854 PR gdb/22670
10855 * gdb.ada/info_addr_mixed_case: New testcase.
10856
9f757bf7
XR
108572018-01-03 Xavier Roirand <roirand@adacore.com>
10858
10859 * gdb.ada/excep_handle.exp: New testcase.
10860 * gdb.ada/excep_handle/foo.adb: New file.
10861 * gdb.ada/excep_handle/pck.ads: New file.
10862
bd570f80
JB
108632018-01-03 Joel Brobecker <brobecker@adacore.com>
10864
10865 * gdb.base/step-line.c: Add extra empty line in copyright header.
10866 * gdb.base/step-line.inp: Likewise.
10867
9fe561ab
JB
108682018-01-02 Joel Brobecker <brobecker@adacore.com>
10869
10870 * gdb.ada/dyn_stride.exp: Add slice test.
10871
a405673c
JB
108722018-01-02 Joel Brobecker <brobecker@adacore.com>
10873
10874 * gdb.ada/dyn_stride: New testcase.
10875
cef0f868
SH
108762017-12-27 Stafford Horne <shorne@gmail.com>
10877
10878 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10879 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10880
b67d92b0
SH
108812017-12-27 Stafford Horne <shorne@gmail.com>
10882
10883 * gdb.base/reggroups.c: New file.
10884 * gdb.base/reggroups.exp: New file.
10885
eccab96d
JB
108862017-12-18 Joel Brobecker <brobecker@adacore.com>
10887
10888 * gdb.dwarf2/ada-valprint-error.c: New file.
10889 * gdb.dwarf2/ada-valprint-error.exp: New file.
10890
0e2da9f0
JB
108912017-12-18 Joel Brobecker <brobecker@adacore.com>
10892
10893 * gdb.ada/assign_arr: New testcase.
10894
cb923fcc
XR
108952017-12-18 Xavier Roirand <roirand@adacore.com>
10896
10897 * gdb.ada/funcall_ptr: New testcase.
10898
7c161838
SDJ
108992017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10900
10901 PR cli/16224
10902 * gdb.base/ptype-offsets.cc: New file.
10903 * gdb.base/ptype-offsets.exp: New file.
10904
1af17fd9
YQ
109052017-12-15 Yao Qi <yao.qi@linaro.org>
10906
10907 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10908 if XML is disabled.
10909
828d5846
XR
109102017-12-15 Xavier Roirand <roirand@adacore.com>
10911
10912 * gdb.ada/same_component_name: New testcase.
10913
79e8fcaa
JB
109142017-12-14 Joel Brobecker <brobecker@adacore.com>
10915
10916 * gdb.ada/str_binop_equal: New testcase.
10917
e05fa6f9
JB
109182017-12-14 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.ada/task_switch_in_core: New testcase.
10921
b89641ba
SM
109222017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10923
10924 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10925 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10926 call test_bkpt_qualified.
10927 (test_bkpt_qualified): New proc.
10928
6892d2e4
PA
109292017-12-13 Pedro Alves <palves@redhat.com>
10930
10931 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10932 Tighten regexp by matching with an anchor.
10933
a22ecf70
PA
109342017-12-13 Pedro Alves <palves@redhat.com>
10935
10936 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10937 ("expression with namespace"): New set of tests.
10938 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10939 (Nested::Test_NS::qux): New.
10940 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10941 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10942
9937536c
JB
109432017-12-13 Joel Brobecker <brobecker@adacore.com>
10944
10945 * gdb.base/server-del-break.c: New file.
10946 * gdb.base/server-del-break.exp: New file.
10947
fe49c6f5
SH
109482017-12-12 Stafford Horne <shorne@gmail.com>
10949
10950 * gdb.xml/tdesc-regs.exp: Add or1k support.
10951
c3d18620
SH
109522017-12-12 Stafford Horne <shorne@gmail.com>
10953
10954 * gdb.base/bp-permanent.c: Define nop of or1k.
10955
c5f9cfc8
JB
109562017-12-11 Joel Brobecker <brobecker@adacore.com>
10957
10958 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10959 output with components being reordered.
10960
a9c135fc
JB
109612017-12-11 Joel Brobecker <brobecker@adacore.com>
10962
10963 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10964 output with components being reordered.
10965
927aa2e7
JK
109662017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10967 Pedro Alves <palves@redhat.com>
10968
10969 * gdb.base/maint.exp (check for .gdb_index): Check also for
10970 .debug_names.
10971 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10972 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10973 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10974 (.gdb_index used after symbol reloading): Support also .debug_names.
10975 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10976
f17d9474
YQ
109772017-12-08 Yao Qi <yao.qi@linaro.org>
10978
10979 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10980 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10981
a0de8c21
YQ
109822017-12-08 Yao Qi <yao.qi@linaro.org>
10983
10984 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10985 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10986
a738ea1d
YQ
109872017-12-08 Yao Qi <yao.qi@linaro.org>
10988
10989 * gdb.arch/aarch64-tagged-pointer.c: New file.
10990 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10991
1cd9a73b
SDJ
109922017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10993
10994 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10995 "int".
10996
fa6eb693
KS
109972017-12-07 Keith Seitz <keiths@redhat.com>
10998
10999 PR breakpoints/22569
11000 * gdb.linespec/ls-errs.exp: Change expected result of "break
11001 -source this file has spaces.c -line 3".
11002 Check that an explicit source file followed by whitespace is
11003 identified as an invalid explicit location.
11004
883fd55a
KS
110052017-12-07 Keith Seitz <keiths@redhat.com>
11006
11007 * gdb.cp/nested-types.cc: New file.
11008 * gdb.cp/nested-types.exp: New file.
11009 * lib/cp-support.exp: Load data-structures.exp library.
11010 (debug_cp_test_ptype_class): New global.
11011 (cp_ptype_class_verbose, next_line): New procedures.
11012 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11013 Add and document new return value.
11014 Switch the list of lines to a queue.
11015 Add support for new `type' key for nested type definitions.
11016 Add debugging/troubleshooting messages.
11017 * lib/data-structures.exp: New file.
11018
ec72db3e
SM
110192017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11020
11021 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11022 with proc_with_prefix, don't use with_test_prefix.
11023
99598d71
TT
110242017-12-07 Tom Tromey <tom@tromey.com>
11025
11026 * gdb.base/break.exp: Add test for empty "commands".
11027
a8806230
YQ
110282017-12-07 Yao Qi <yao.qi@linaro.org>
11029
11030 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11031 malloc and catch syscall.
11032
824cc835
PM
110332017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11034
e79be6e5 11035 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11036 tests for explicit locations.
11037
7cc244de
PA
110382017-12-06 Pedro Alves <palves@redhat.com>
11039
11040 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11041 force-disabling XML descriptions.
11042
50a1fdd5
PA
110432017-12-04 Pedro Alves <palves@redhat.com>
11044
11045 PR gdb/22499
11046 * gdb.arch/amd64-disp-step-avx.S: New file.
11047 * gdb.arch/amd64-disp-step-avx.exp: New file.
11048
f0fb2488
PA
110492017-12-03 Pedro Alves <palves@redhat.com>
11050
11051 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11052 and <string.h>.
11053 (parent_function): Print distinct messages when waitpid fails, or
11054 the child exits with a signal, or the child exits for an unhandled
11055 reason.
11056 * gdb.threads/process-dies-while-detaching.exp
11057 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11058 it. Wait for both inferior output and GDB's prompt. Use an
11059 indirect spawn id list.
11060 (do_detach): New parameter 'child_exit'. Use it to compute
11061 expected inferior output.
11062 (test_detach, test_detach_watch, test_detach_killed_outside):
11063 Adjust to pass down the expected child exit kind.
11064
97cbe998
SDJ
110652017-12-01 Joel Brobecker <brobecker@adacore.com>
11066 Sergio Durigan Junior <sergiodj@redhat.com>
11067 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11070
40fc416f
SDJ
110712017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11072
11073 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11074 to 'symbol-file' and 'add-symbol-file' can be
11075 position-independent.
11076
1cc75e92
YQ
110772017-12-01 Yao Qi <yao.qi@linaro.org>
11078
11079 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11080 the URL in copyright header.
11081 * gdb.arch/aarch64-fp.exp: Likewise.
11082 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11083 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11084 * gdb.base/expand-psymtabs.exp: Likewise.
11085 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11086 * gdb.fortran/common-block.exp: Likewise.
11087 * gdb.fortran/common-block.f90: Likewise.
11088 * gdb.fortran/logical.exp: Likewise.
11089 * gdb.fortran/vla-datatypes.f90: Likewise.
11090 * gdb.fortran/vla-sub.f90: Likewise.
11091
875fb7a7
JB
110922017-11-30 Joel Brobecker <brobecker@adacore.com>
11093
11094 * gdb.ada/repeat_dyn: New testcase.
11095
6f14765f
UW
110962017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11097
11098 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11099 Update for changed thread numbering.
11100 * gdb.cell/bt.exp: Update for changed GDB output.
11101
f1af7b94
SM
111022017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11103
11104 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11105 setting isremote by hand.
11106 * boards/dwarf4-gdb-index.exp: Likewise.
11107 * boards/fission.exp: Likewise.
11108 * boards/stabs.exp: Likewise.
11109
e3919f3e
PA
111102017-11-30 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.linespec/cpls-ops.exp
11113 (check_explicit_skips_function_argument): Extract the underlying
11114 type of size_t instead of hardcoding it.
11115
bd69330d
PA
111162017-11-29 Pedro Alves <palves@redhat.com>
11117
11118 PR c++/19436
11119 * gdb.linespec/cpls-abi-tag.cc: New file.
11120 * gdb.linespec/cpls-abi-tag.exp: New file.
11121
a20714ff
PA
111222017-11-29 Pedro Alves <palves@redhat.com>
11123
11124 * gdb.base/langs.exp: Use -qualified.
11125 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11126 it.
11127 * gdb.cp/namespace.exp: Use -qualified.
11128 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11129 (overload-3, template-overload, template-ret-type, const-overload)
11130 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11131 procedures.
11132 (test_driver): Call them.
11133 * gdb.cp/save-bp-qualified.cc: New.
11134 * gdb.cp/save-bp-qualified.exp: New.
11135 * gdb.linespec/explicit.exp: Test -qualified.
11136 * lib/completion-support.exp (completion::explicit_opts_list): Add
11137 "-qualified".
11138 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11139
f6f1d339
PM
111402017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11141
11142 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11143
02ca603a
TT
111442017-11-29 Tom Tromey <tom@tromey.com>
11145
11146 * gdb.base/relocate.exp: Update invalid argument test.
11147 Add new tests for invalid arguments.
11148
ed6c0bfb
TP
111492017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11150
11151 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11152 Return 0 as a long.
11153 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11154
f106e10e
TP
111552017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11156
11157 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11158 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11159 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11160 func ().
11161 * gdb.cp/shadow.cc (B.func): Return 0.
11162
10329bb2
JB
111632017-11-27 Joel Brobecker <brobecker@adacore.com>
11164
11165 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11166 expected output in gdb_expect call to allow the exception
11167 message to be present as well. Fix syntax confusion to avoid
11168 TCL thinking that exception_name is an array.
11169
617cd4bc
UW
111702017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11171
11172 * gdb.arch/spu-info.c: Include <unistd.h>.
11173 (do_signal_test): Fix broken calls to write.
11174 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11175 Fix checks for empty mailboxes. Update signal tests for corrected
11176 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11177 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11178 * gdb.cell/arch.exp: Use standard_output_file.
11179 * gdb.cell/break.exp: Likewise.
11180 * gdb.cell/bt.exp: Likewise.
11181 * gdb.cell/core.exp: Likewise.
11182 * gdb.cell/dwarfaddr.exp: Likewise.
11183 * gdb.cell/ea-cache.exp: Likewise.
11184 * gdb.cell/ea-standalone.exp: Likewise.
11185 * gdb.cell/f-regs.exp: Likewise.
11186 * gdb.cell/fork.exp: Likewise.
11187 * gdb.cell/gcore.exp: Likewise.
11188 * gdb.cell/mem-access.exp: Likewise.
11189 * gdb.cell/ptype.exp: Likewise.
11190 * gdb.cell/registers.exp: Likewise.
11191 * gdb.cell/sizeof.exp: Likewise.
11192 * gdb.cell/solib-symbol.exp: Likewise.
11193 * gdb.cell/solib.exp: Likewise.
617cd4bc 11194
a81aaca0
PA
111952017-11-25 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.base/complete-empty.exp: New file.
11198 * gdb.base/completion.exp: Adjust.
11199
6a3c6ee4
PA
112002017-11-25 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.linespec/cpls-ops.cc: New file.
11203 * gdb.linespec/cpls-ops.exp: New file.
11204 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11205 factored out from ...
11206 (test_complete_prefix_range): ... this.
11207
8955eb2d
PA
112082017-11-24 Pedro Alves <palves@redhat.com>
11209
11210 * gdb.linespec/cpcompletion.exp: New file.
11211 * gdb.linespec/cpls-hyphen.cc: New file.
11212 * gdb.linespec/cpls.cc: New file.
11213 * gdb.linespec/cpls2.cc: New file.
11214 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11215 test to use test_gdb_complete_unique. Add label completion,
11216 keyword completion and explicit location completion tests.
11217 * lib/completion-support.exp: New file.
11218
e547c119
JB
112192017-11-24 Joel Brobecker <brobecker@adacore.com>
11220
11221 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11222 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11223 when hitting an exception catchpoint.
11224
7c3c1aa8
YQ
112252017-11-22 Yao Qi <yao.qi@linaro.org>
11226
11227 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11228
41bd68f5
SM
112292017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11230
11231 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11232 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11233 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11234
1daad298
YQ
112352017-11-22 Yao Qi <yao.qi@linaro.org>
11236
11237 * gdb.base/info-os.exp: Pass pthreads.
11238 * gdb.multi/multi-attach.exp: Likewise.
11239
88465e87
YQ
112402017-11-22 Yao Qi <yao.qi@linaro.org>
11241
11242 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11243 compiler.
11244
dc196b23
YQ
112452017-11-22 Yao Qi <yao.qi@linaro.org>
11246
11247 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11248 * gdb.base/break-interp.exp: Likewise.
11249 * gdb.base/jit-attach-pie.exp: Likewise.
11250
2400729e
UW
112512017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11252
11253 * gdb.base/float128.c (large128): New variable.
11254 * gdb.base/float128.exp: Add test to print largest __float128 value.
11255
7a26362d
UW
112562017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11257
11258 * gdb.arch/vsx-regs.exp: Update register content checks.
11259
ed0f4273
UW
112602017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11261
11262 * gdb.arch/ppc-longdouble.exp: New file.
11263 * gdb.arch/ppc-longdouble.c: Likewise.
11264
a25d69c6
PA
112652017-11-21 Pedro Alves <palves@redhat.com>
11266
11267 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11268
73fcf641
PA
112692017-11-20 Pedro Alves <palves@redhat.com>
11270
11271 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11272 (long_double_typedef): New typedefs.
11273 Use DEF on double and long double.
11274 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11275 cases.
11276 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11277 and 'long_double_ptr_same_size' locals. Use them to decide
11278 whether cast from array/function to float is valid/invalid.
11279
71a3c369
TT
112802017-11-17 Tom Tromey <tom@tromey.com>
11281
11282 * gdb.rust/traits.rs: New file.
11283 * gdb.rust/traits.exp: New file.
11284
ced9779b
JB
112852017-11-17 Joel Brobecker <brobecker@adacore.com>
11286
11287 * gdb.ada/minsyms: New testcase.
11288
a0922d80
PA
112892017-11-16 Pedro Alves <palves@redhat.com>
11290
11291 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11292 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11293
ea04e54c
PA
112942017-11-16 Pedro Alves <palves@redhat.com>
11295
11296 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11297 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11298
e849ea89
PA
112992017-11-16 Pedro Alves <palves@redhat.com>
11300
11301 * gdb.server/reconnect-ctrl-c.c: New file.
11302 * gdb.server/reconnect-ctrl-c.exp: New file.
11303
d8ae99a7
PM
113042017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11305
11306 * gdb.python/py-rbreak.exp: New file.
11307 * gdb.python/py-rbreak.c: New file.
11308 * gdb.python/py-rbreak-func2.c: New file.
11309
968a13f8
PA
113102017-11-16 Pedro Alves <palves@redhat.com>
11311
11312 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11313 pattern.
11314 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11315 GDB.
11316
71774bc9
SM
113172017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11318
11319 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11320 regex.
11321
ddbb44cf
SM
113222017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11323
11324 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11325 test names.
11326
584a564f
PA
113272017-11-09 Pedro Alves <palves@redhat.com>
11328
11329 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11330 factored out from ...
11331 (top level): ... here, and adjusted to avoid expecting beyond the
11332 prompt in a single gdb_test_multiple.
11333
5ed7a928
PA
113342017-11-09 Pedro Alves <palves@redhat.com>
11335
11336 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11337 output.
11338 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11339 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11340 * gdb.server/ext-run.exp ("kill" test): Likewise.
11341 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11342
a60e0738
PA
113432017-11-09 Pedro Alves <palves@redhat.com>
11344
11345 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11346 match till end of line.
11347
2c88253f
PA
113482017-11-09 Pedro Alves <palves@redhat.com>
11349
11350 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11351
c7a38517
PA
113522017-11-09 Pedro Alves <palves@redhat.com>
11353
11354 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11355 New procedures, factored out from ...
11356 (top level): ... here, and adjusted to avoid expecting beyond the
11357 prompt in one go.
11358
f29f4b6b
PA
113592017-11-09 Pedro Alves <palves@redhat.com>
11360
11361 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11362 output. Fix '?' match.
11363
286acbb5
JB
113642017-11-08 Joel Brobecker <brobecker@adacore.com>
11365
11366 * gdb.ada/scoped_watch: New testcase.
11367 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11368 which is actually correct.
11369 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11370 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11371
62d7ae92
PA
113722017-11-08 Pedro Alves <palves@redhat.com>
11373
11374 * gdb.gdb/complaints.exp (test_initial_complaints)
11375 (test_serial_complaints, test_short_complaints): Call
11376 complaint_internal instead of complaint.
11377
280ca31f
DT
113782017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11379
11380 * gdb.threads/tls-core.c: New file.
11381 * gdb.threads/tls-core.exp: Likewise.
11382
b5ec771e
PA
113832017-11-08 Pedro Alves <palves@redhat.com>
11384
11385 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11386 (p Exported_Capitalized): New test.
11387 (p exported_capitalized): New test.
11388
a02b41a7
PA
113892017-11-07 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11392
95e95a6d
PA
113932017-11-07 Pedro Alves <palves@redhat.com>
11394
11395 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11396 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11397 (disable_invalid, disable_inverted, disable_negative): New
11398 procedures.
11399 ("bad numbers"): New set of tests.
11400
cee62dbd
PA
114012017-11-07 Pedro Alves <palves@redhat.com>
11402
11403 * gdb.cp/ena-dis-br-range.exp: Add tests.
11404
cc638e86
PA
114052017-11-07 Pedro Alves <palves@redhat.com>
11406
11407 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11408
d0fe4701
XR
114092017-11-07 Xavier Roirand <roirand@adacore.com>
11410 Pedro Alves <palves@redhat.com>
11411
11412 * gdb.base/ena-dis-br.exp: Add reference to
11413 gdb.cp/ena-dis-br-range.exp.
11414 * gdb.cp/ena-dis-br-range.exp: New file.
11415 * gdb.cp/ena-dis-br-range.cc: New file.
11416
46f67f80
PA
114172017-11-06 Pedro Alves <palves@redhat.com>
11418
11419 * gdb.base/attach-non-pgrp-leader.c: New.
11420 * gdb.base/attach-non-pgrp-leader.exp: New.
11421
726e1356
PA
114222017-11-06 Pedro Alves <palves@redhat.com>
11423
11424 * configure.ac: No longer check for termio.h and sgtty.h.
11425 * configure: Regenerate.
11426 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11427 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11428 Remove termio and sgtty code.
11429
50ab6ace
YQ
114302017-11-03 Yao Qi <yao.qi@linaro.org>
11431
11432 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11433 in GDB is disabled.
11434
8e68731c
YQ
114352017-11-03 Yao Qi <yao.qi@linaro.org>
11436
11437 * gdb.python/py-thrhandle.exp: Skip it if python is not
11438 enabled.
11439
3a87ae65
SM
114402017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11441
11442 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11443 as a breakpoint command.
11444
484d8d36
MD
114452017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11446
11447 PR python/21213
11448 * gdb.python/py-infthread.exp: Test calling
11449 InferiorThread.inferior () multiple times in a row.
11450
4a27f119
KS
114512017-10-27 Keith Seitz <keiths@redhat.com>
11452
11453 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11454 Test "info break" for every inlined function breakpoint.
11455
bb11dd58
YQ
114562017-10-27 Yao Qi <yao.qi@linaro.org>
11457
11458 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11459
a43f3893
PF
114602017-10-26 Patrick Frants <osscontribute@gmail.com>
11461
11462 * gdb.cp/classes.exp (test_static_members): Test printing
11463 Outer::instance.
11464 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11465 (Inner::instance, Outer::instance): New.
11466
792ccf00
PA
114672017-10-24 Pedro Alves <palves@redhat.com>
11468
11469 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11470 extra console" test in two stages.
11471
eb2bfbad
PA
114722017-10-24 Pedro Alves <palves@redhat.com>
11473
11474 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11475
1f75a651
PA
114762017-10-24 Pedro Alves <palves@redhat.com>
11477
11478 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11479 loop.
11480
779990d9
PA
114812017-10-24 Pedro Alves <palves@redhat.com>
11482
11483 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11484 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11485
ad9b8f5d
PA
114862017-10-24 Pedro Alves <palves@redhat.com>
11487
11488 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11489 parameter and handle it. Don't output read value in test name.
11490
fee6da6e
PA
114912017-10-24 Pedro Alves <palves@redhat.com>
11492
11493 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11494 custom test name.
11495
10389c2c
PA
114962017-10-24 Pedro Alves <palves@redhat.com>
11497
11498 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11499 include the unstable output directory name in the test's name.
11500 (initial_setup_simple) <'set args'>: Use custom test name.
11501
a80e65a9
PA
115022017-10-24 Pedro Alves <palves@redhat.com>
11503
11504 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11505 with explicit test name.
11506
15763a09
PA
115072017-10-20 Pedro Alves <palves@redhat.com>
11508
11509 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11510 'wait -i'. Use gdb_assert and remote_close.
11511
49a4ce2e
AB
115122017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11513
11514 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11515 number from variable rather than hard-coded.
11516
a75868f5
PA
115172017-10-19 Pedro Alves <palves@redhat.com>
11518
11519 * gdb.base/long-inferior-output.c: New file.
11520 * gdb.base/long-inferior-output.exp: New file.
11521
c8ba13ad
KS
115222017-11-18 Keith Seitz <keiths@redhat.com>
11523
11524 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11525 method.
11526 (main): Call it.
11527 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11528 Add additional user-defined conversion operator tests.
11529
b27de576
PA
115302017-10-17 Pedro Alves <palves@redhat.com>
11531
11532 * boards/native-stdio-gdbserver.exp: Load "local-board".
11533
8484c955
PA
115342017-10-17 Pedro Alves <palves@redhat.com>
11535
11536 * gdb.base/quit-live.c: New file.
11537 * gdb.base/quit-live.exp: New file.
11538
83d5a34d
KS
115392017-10-16 Keith Seitz <keiths@redhat.com>
11540
11541 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11542 (class_with_protected_typedef, class_with_private_typedef)
11543 (struct_with_public_typedef, struct_with_protected_typedef)
11544 (struct_with_private_typedef): New classes/structs.
11545 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11546 typedefs and access specifiers.
11547
739b3f1d
PA
115482017-10-16 Pedro Alves <palves@redhat.com>
11549 Simon Marchi <simon.marchi@polymtl.ca>
11550
11551 * README (Local vs Remote vs Native): New section.
11552 * boards/local-board.exp: New file, with bits factored out from
11553 ...
11554 * boards/native-extended-gdbserver.exp: ... here. Load
11555 "local-board".
11556 * boards/native-gdbserver.exp: Load "local-board".
11557 (${board}_spawn, ${board}_exec): Delete.
11558 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11559 ...
11560 * boards/stdio-gdbserver-base.exp: ... this new file.
11561 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11562 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11563 procedure.
11564 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11565 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11566 stdio_gdbserver_command.
11567 (${board}_get_remote_address, ${board}_get_comm_port)
11568 (${board}_download, ${board}_upload): Delete.
11569 (get_target_remote_pipe_cmd): New.
11570
fe68b953
SM
115712017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11572
11573 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11574 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11575 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11576 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11577 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11578 remove with_test_prefix.
11579
300b6685
PA
115802017-10-13 Pedro Alves <palves@redhat.com>
11581
11582 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11583 * gdb.base/annota1.exp: Use it instead of is_remote.
11584 * gdb.base/annota3.exp: Use it instead of is_remote.
11585 * gdb.cp/annota2.exp: Use it instead of is_remote.
11586 * gdb.cp/annota3.exp: Use it instead of is_remote.
11587 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11588
50500caf
PA
115892017-10-13 Pedro Alves <palves@redhat.com>
11590
11591 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11592 (test_num_test_vars, run_and_count_vars, find_env)
11593 (test_set_unset_env, test_inherit_env_var): New procedures.
11594 (top level): Use them.
11595
dad0c6d2
PA
115962017-10-13 Pedro Alves <palves@redhat.com>
11597
11598 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11599 also skip on stub-like targets.
11600
8b0553c1
PA
116012017-10-13 Pedro Alves <palves@redhat.com>
11602
11603 PR gdb/22293
11604 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11605 (top level): Move some tests to ...
11606 (test_not_found): ... this new procedure.
11607 (top level): Call it.
11608
7594f623
PA
116092017-10-13 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11612 expect different "info terminal" output if testing with a
11613 non-native target.
11614
ebe3b402
PA
116152017-10-13 Pedro Alves <palves@redhat.com>
11616 Simon Marchi <simon.marchi@polymtl.ca>
11617
11618 PR python/12966
11619 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11620
42f1b161
PA
116212017-10-13 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11624 already.
11625
8d6ef72b
PA
116262017-10-13 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11629 is_remote.
11630
d7bcd5b8
PA
116312017-10-13 Pedro Alves <palves@redhat.com>
11632
11633 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11634 is_remote.
11635
df479dc6
PA
116362017-10-13 Pedro Alves <palves@redhat.com>
11637
11638 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11639 is set.
11640 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11641 instead of is_remote.
11642
23fb630a
PA
116432017-10-13 Pedro Alves <palves@redhat.com>
11644
11645 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11646 (top level): Add comment.
11647
cc77b1dc
PA
116482017-10-13 Pedro Alves <palves@redhat.com>
11649
11650 * gdb.base/remote.exp (top level): Fix comment typo and add
11651 missing return.
11652
27c9e813
PA
116532017-10-13 Pedro Alves <palves@redhat.com>
11654 Simon Marchi <simon.marchi@polymtl.ca>
11655
11656 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11657 calls and add comments. Skip test if use_gdb_stub is set.
11658 (top level): Use "set cwd" command instead of "cd" command.
11659
5e830d98
PA
116602017-10-13 Pedro Alves <palves@redhat.com>
11661
11662 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11663 is_remote target check.
11664
f5ca0032
PA
116652017-10-13 Pedro Alves <palves@redhat.com>
11666
11667 * gdb.base/scope.exp: Use build_executable + clean_restart +
11668 gdb_file_cmd instead of prepare_for_testing and no longer skip
11669 "before run" tests on is_remote target boards. Update comments.
11670 * boards/native-extended-gdbserver.exp
11671 (extended_gdbserver_load_last_file): New, factored out from ...
11672 (gdb_load): ... this. Move further below and add comment.
11673 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11674
8aed1c0d
PA
116752017-10-12 Pedro Alves <palves@redhat.com>
11676
11677 * gdb.base/attach.exp: Remove references to gdb64.
11678 * gdb.base/dbx.exp: Remove references to gdb64.
11679
cfa34c87
SM
116802017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11681 Pedro Alves <palves@redhat.com>
11682
11683 * gdb.base/label.exp: Remove is_remote target check.
11684
9192b7de
PA
116852017-10-12 Pedro Alves <palves@redhat.com>
11686
11687 * gdb.base/auvx.exp (coredir): Update comment.
11688 (top level) <core_works>: Use "set cwd" command instead of "cd"
11689 command.
11690
6bf0052d
PA
116912017-10-12 Pedro Alves <palves@redhat.com>
11692 Simon Marchi <simon.marchi@polymtl.ca>
11693
11694 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11695 target boards.
11696
e48ef82d
PA
116972017-10-12 Pedro Alves <palves@redhat.com>
11698 Simon Marchi <simon.marchi@polymtl.ca>
11699
11700 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11701 Instead skip if there's any gdb_protocol set.
11702
8d7aea57
SM
117032017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11704 Pedro Alves <palves@redhat.com>
11705
11706 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11707
30440677
PA
117082017-10-12 Pedro Alves <palves@redhat.com>
11709 Simon Marchi <simon.marchi@polymtl.ca>
11710
11711 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11712 instead of on dejagnu remote boards.
11713
4e04f045 117142017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11715 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11716
11717 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11718 checks. Use build_executable + clean_restart instead of
11719 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11720 of enabling non-stop after starting gdb.
11721
871a186e
PA
117222017-10-12 Pedro Alves <palves@redhat.com>
11723
11724 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11725 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11726 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11727 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11728
56d704da
AK
117292017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11730
11731 * gdb.arch/arc-tdesc-cpu.exp: New file.
11732 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11733
2f20e312
SM
117342017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11735
11736 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11737
65630365
PA
117382017-10-10 Pedro Alves <palves@redhat.com>
11739
11740 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11741 expect CLI output.
11742
bf469271
PA
117432017-10-10 Pedro Alves <palves@redhat.com>
11744
11745 * lib/selftest-support.exp (selftest_setup): Update for
11746 captured_command_loop's prototype change.
11747
777a42f1
PA
117482017-10-09 Pedro Alves <palves@redhat.com>
11749
11750 Test both arch1=>arch2 and arch2=>arch1.
11751
11752 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11753 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11754 factored out to...
11755 (append_arch1_options, append_arch2_options, append_arch_options)
11756 (build_executables): New procedures.
11757 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11758 local.
11759 (top level): Add new 'first_arch' testing axis.
11760
cbd2b4e3
PA
117612017-10-09 Pedro Alves <palves@redhat.com>
11762
11763 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11764 (barrier): New.
11765 (thread_start, all_started): New functions.
11766 (main): Spawn new thread and wait until it is scheduled.
11767 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11768 option.
11769 (do_test): Add 'selected_thread' parameter. Run to all_started
11770 instead of main. Explicitly set the breakpoint at main. Switch
11771 to the SELECTED_THREAD thread.
11772 (top level): Test handling the exec event with either the main
11773 thread or the second thread selected.
11774
5c9e4427
PA
117752017-10-09 Pedro Alves <palves@redhat.com>
11776
11777 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11778 logic. Move STOP marker after the value checks.
11779 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11780 regexp.
11781
b3b7c423
SL
117822017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11783
11784 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11785
3b4b2f16
UW
117862017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11787
11788 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11789 integer-to-dfp conversion.
11790 * gdb.base/dfp-test.exp: Likewise.
11791
5cd63fda
PA
117922017-10-04 Pedro Alves <palves@redhat.com>
11793
11794 * gdb.multi/hangout.c: Include <unistd.h>.
11795 (hangout_loop): New function.
11796 (main): Call alarm. Call hangout_loop in a loop.
11797 * gdb.multi/hello.c: Include <unistd.h>.
11798 (hello_loop): New function.
11799 (main): Call alarm. Call hangout_loop in a loop.
11800 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11801 inferior with the other selected.
11802
4c71c105
SM
118032017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11804
11805 * gdb.mi/list-thread-groups-available.exp: New file.
11806 * gdb.mi/list-thread-groups-available.c: New file.
11807
bc3b087d
SDJ
118082017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11809
11810 * gdb.base/set-cwd.exp: Make it available on
11811 native-extended-gdbserver.
11812
d092c5a2
SDJ
118132017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11814
11815 * gdb.base/set-cwd.c: New file.
11816 * gdb.base/set-cwd.exp: Likewise.
11817
45320ffa
TT
118182017-10-02 Tom Tromey <tom@tromey.com>
11819
11820 PR rust/22236:
11821 * gdb.rust/simple.rs (main): New variable "fslice".
11822 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11823
b3e3859b
TT
118242017-10-02 Tom Tromey <tom@tromey.com>
11825
11826 * gdb.rust/simple.exp: Test ptype of a slice.
11827
01af5e0d
TT
118282017-10-02 Tom Tromey <tom@tromey.com>
11829
11830 * gdb.rust/simple.exp: Test index of slice.
11831
a9bbfbd8
TT
118322017-09-27 Tom Tromey <tom@tromey.com>
11833
11834 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11835
df8899e5
TP
118362017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11837 Pedro Alves <palves@redhat.com>
11838
11839 * gdb.base/compare-sections.exp (get value of read-only section): Read
11840 as unsigned value.
11841 (corrupt read-only section): Likewise and don't set written if patching
11842 failed.
11843
757bf54b
KB
118442017-09-21 Kevin Buettner <kevinb@redhat.com>
11845
11846 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11847 files.
11848
06871ae8
PA
118492017-09-20 Pedro Alves <palves@redhat.com>
11850
11851 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11852 symbol names in gdb's output.
11853 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11854
e5f25bc5
PA
118552017-09-20 Pedro Alves <palves@redhat.com>
11856
11857 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11858 Rename to ...
11859 (test_list_ambiguous_symbol): ... this and add a symbol name
11860 parameter. Adjust.
11861 (test_list_ambiguous_function): Reimplement on top of
11862 test_list_ambiguous_symbol and also test listing ambiguous
11863 variables.
11864 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11865 (ambiguous_fun): ... this.
11866 (ambiguous_var): New.
11867 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11868 (ambiguous_fun): ... this.
11869 (ambiguous_var): New.
11870
4e5a4f58
JB
118712017-09-19 John Baldwin <jhb@FreeBSD.org>
11872
11873 * gdb.base/starti.c: New file.
11874 * gdb.base/starti.exp: New file.
11875 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11876
26e53f3e
PA
118772017-09-14 Pedro Alves <palves@redhat.com>
11878
11879 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11880 (top level): Use it instead of runto.
11881
cb791d59
TT
118822017-09-11 Tom Tromey <tom@tromey.com>
11883
11884 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11885
7c96f8c1
TT
118862017-09-11 Tom Tromey <tom@tromey.com>
11887
11888 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11889 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11890
469412dd
CW
118912017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11892
11893 * gdb.fortran/printing-types.exp: New file.
11894 * gdb.fortran/printing-types.exp: New file.
11895
e0f86435
BH
118962017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11897
11898 * gdb.fortran/vla-ptype.exp: Fix typos.
11899 * gdb.fortran/vla-value.exp: Same.
11900
9e9af4be
BH
119012017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11902
11903 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11904 * gdb.mi/mi-var-child-f.exp: Likewise.
11905 * gdb.mi/mi-vla-fortran.exp: Likewise.
11906
a5ad232b 119072017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11908 Christoph Weinmann <christoph.t.weinmann@intel.com>
11909 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11910
11911 * gdb.fortran/ptr-indentation.f90: New file.
11912 * gdb.fortran/ptr-indentation.exp: New file.
11913
5aec60eb
TT
119142017-09-05 Tom Tromey <tom@tromey.com>
11915
11916 PR gdb/22010:
11917 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11918
8f8f8152
TP
119192017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11920
11921 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11922
fbd1b771
JK
119232017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11924
11925 * gdb.threads/tls-nodebug-pie.c: New file.
11926 * gdb.threads/tls-nodebug-pie.exp: New file.
11927
5eb5f850
TT
119282017-09-05 Tom Tromey <tom@tromey.com>
11929
11930 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11931 for rust.
11932
ae780a21
SM
119332017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11934
11935 * gdb.multi/multi-arch-exec.exp: Test with different
11936 "follow-exec-mode" settings.
11937 (do_test): New procedure.
11938
3693fdb3
PA
119392017-09-04 Pedro Alves <palves@redhat.com>
11940
11941 * gdb.base/func-static.c (S::method const, S::method volatile)
11942 (S::method volatile const): New methods.
11943 (c_s, v_s, cv_s): New instances.
11944 (main): Call method() on them.
11945 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11946 (cannot_resolve): New procedure.
11947 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11948 print-quote-unquoted columns.
11949 (do_test): Test printing each scope too.
11950
e68cb8e0
PA
119512017-09-04 Pedro Alves <palves@redhat.com>
11952
11953 * gdb.base/local-static.exp: Also test with
11954 class::method::variable wholly quoted.
11955 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11956
858be34c
PA
119572017-09-04 Pedro Alves <palves@redhat.com>
11958
11959 * gdb.base/local-static.c: New.
11960 * gdb.base/local-static.cc: New.
11961 * gdb.base/local-static.exp: New.
11962
46a4882b
PA
119632017-09-04 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.asm/asm-source.exp: Add casts to int.
11966 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11967 (dataglobal64_1, dataglobal64_2): New globals.
11968 * gdb.base/nodebug.exp: Test different expressions involving the
11969 new globals, with print, whatis and ptype. Add casts to int.
11970 * gdb.base/solib-display.exp: Add casts to int.
11971 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11972 * gdb.cp/m-static.exp: Add cast to int.
11973 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11974 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11975 tls variable with no debug info without a cast. Test with a cast
11976 to int too.
11977 * gdb.trace/entry-values.exp: Add casts.
11978
2c5a2be1
PA
119792017-09-04 Pedro Alves <palves@redhat.com>
11980
11981 * gdb.base/nodebug.exp: Test that ptype's error about functions
11982 with unknown return type includes the function name too.
11983
7022349d
PA
119842017-09-04 Pedro Alves <palves@redhat.com>
11985
11986 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11987 return type of munmap in infcall.
11988 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11989 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11990 type of ftell in infcall.
11991 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11992 type of getpid in infcall.
11993 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11994 infcall.
11995 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11996 Bail on failure to extract the pid.
11997 * gdb.base/nodebug.c: #include <stdint.h>.
11998 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11999 New functions.
12000 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12001 Change expected output of print/whatis/ptype with functions with
12002 no debug info. Test all supported languages. Call
12003 test_call_promotion.
12004 * gdb.compile/compile.exp: Adjust expected output to expect
12005 warning.
12006 * gdb.threads/siginfo-threads.exp: Likewise.
12007
54990598
PA
120082017-09-04 Pedro Alves <palves@redhat.com>
12009
12010 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12011 "prototypes". Test calling float functions via prototyped and
12012 unprototyped function pointers.
12013 (perform_all_tests): New parameter "prototypes". Pass it down.
12014 (top level): Pass down "prototypes" parameter to
12015 perform_all_tests.
12016
34d16ea2
SM
120172017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12018
12019 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12020 Test with nested loops.
12021
9521ecda
SM
120222017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12023
12024 * gdb.base/commands.exp: Call the new procedures.
12025 (loop_break_test, loop_continue_test): New procedures.
12026
80a65e9b
SM
120272017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12028
12029 * gdb.base/commands.exp: Call new procedure.
12030 (define_if_without_arg_test): New procedure.
12031
e439fa14
PA
120322017-09-04 Pedro Alves <palves@redhat.com>
12033
12034 * gdb.base/list-ambiguous.exp: New file.
12035 * gdb.base/list-ambiguous0.c: New file.
12036 * gdb.base/list-ambiguous1.c: New file.
12037 * gdb.base/list.exp (test_list_range): Adjust expected output.
12038
0a2dde4a
SDJ
120392017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12040
12041 * gdb.base/share-env-with-gdbserver.c: New file.
12042 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12043
5e89eb3a
SM
120442017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12045
12046 * gdb.base/commands.exp (gdbvar_simple_if_test,
12047 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12048 progvar_simple_if_test, progvar_simple_while_test,
12049 progvar_complex_if_while_test, user_defined_command_test,
12050 user_defined_command_args_eval,
12051 user_defined_command_args_stack_test,
12052 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12053 temporary_breakpoint_commands,
12054 gdb_test_no_prompt, redefine_hook_test,
12055 redefine_backtrace_test): Remove "global gdb_prompt".
12056
fd437cbc
SM
120572017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12058
12059 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12060 New proc, call it from toplevel.
12061
87215ad1
SDJ
120622017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12063
12064 PR remote/21852
12065 * gdb.server/normal.c: New file, copied from gdb.base.
12066 * gdb.server/run-without-local-binary.exp: New file.
12067
58afddc6
WP
120682017-08-07 Weimin Pan <weimin.pan@oracle.com>
12069
12070 * gdb.arch/sparc64-adi.exp: New file.
12071 * gdb.arch/sparc64-adi.c: New file.
12072
5277199a
PA
120732017-08-22 Pedro Alves <palves@redhat.com>
12074
12075 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12076 (top level): Add "list all overloads" tests.
12077
14278e1f
TT
120782017-08-22 Tom Tromey <tom@tromey.com>
12079
12080 * gdb.gdb/xfullpath.exp: Remove.
12081
bf223d3e
PA
120822017-08-21 Pedro Alves <palves@redhat.com>
12083
12084 PR gdb/19487
12085 * gdb.base/symbol-alias.c: New.
12086 * gdb.base/symbol-alias2.c: New.
12087 * gdb.base/symbol-alias.exp: New.
12088
c973d0aa
PA
120892017-08-21 Pedro Alves <palves@redhat.com>
12090
12091 * gdb.base/dfp-test.c
12092 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12093 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12094 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12095 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12096 * gdb.base/whatis-ptype-typedefs.c: New.
12097 * gdb.base/whatis-ptype-typedefs.exp: New.
12098 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12099 (an_int, an_int_type, an_int_type2): New globals.
12100 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12101 involving typedefs and cast expressions.
12102 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12103 (lookup_typedefs_function): New.
12104 (typedefs_pretty_printers_dict): New.
12105 (top level): Register lookup_typedefs_function in
12106 gdb.pretty_printers.
12107
6d580b63
YQ
121082017-08-18 Yao Qi <yao.qi@linaro.org>
12109
12110 * gdb.server/unittest.exp: New.
12111
206726fb
SDJ
121122017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12113
12114 PR gdb/21954
12115 * gdb.base/environ.exp: Add test to check if 'unset environment'
12116 works.
12117
bf0ec4c2
AA
121182017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12119
12120 * lib/gdb.exp (universal_compile_options): New caching proc.
12121 (gdb_compile): Suppress GCC's coloring of messages.
12122
d6382fff
TT
121232017-08-14 Tom Tromey <tom@tromey.com>
12124
12125 PR gdb/21675:
12126 * gdb.base/printcmds.exp (test_radices): New function.
12127 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12128 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12129 * lib/gdb.exp (get_integer_valueof): Use p/d.
12130
c2c2dd9f
SM
121312017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12132
12133 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12134 characters.
12135
fdffd6f4
TT
121362017-08-05 Tom Tromey <tom@tromey.com>
12137
12138 * gdb.rust/simple.exp: Allow String to appear in a different
12139 namespace.
12140
27d41eac
YQ
121412017-07-26 Yao Qi <yao.qi@linaro.org>
12142
12143 * gdb.gdb/unittest.exp: Invoke command
12144 "maintenance check xml-descriptions".
12145
031ed05d
AA
121462017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12147
12148 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12149 calling context.
12150 (hex128): Drop erroneous calculation of parameters.
12151
dcd27ddf
SM
121522017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12153
12154 * gdb.python/py-unwind.exp: Disable stack protection when
12155 building test file.
12156
47e77640
PA
121572017-07-20 Pedro Alves <palves@redhat.com>
12158
12159 * gdb.base/default.exp (set language): Adjust expected output.
12160
62d2a18a
PA
121612017-07-20 Pedro Alves <palves@redhat.com>
12162
12163 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12164 (test_minsym): ... this, and make static.
12165 (get_pck__foo__bar__minsym): Rename to ...
12166 (get_test_minsym): ... this.
12167 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12168 symbol names and comments.
12169 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12170 (get_test_minsym): ... this.
12171 (pck__foo__bar__minsym__2): Rename to ...
12172 (test_minsym): ... this.
12173 (main): Adjust.
12174
c45ec17c
PA
121752017-07-17 Pedro Alves <palves@redhat.com>
12176
12177 * gdb.base/completion.exp: Adjust expected output.
12178 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12179 the completer works.
12180
c6756f62
PA
121812017-07-17 Pedro Alves <palves@redhat.com>
12182
12183 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12184
5bd68487
AB
121852017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12186
12187 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12188
8880f2a9
TT
121892017-07-14 Tom Tromey <tom@tromey.com>
12190
12191 PR rust/21764:
12192 * gdb.rust/simple.exp: Add tests.
12193
65547233
TT
121942017-07-14 Tom Tromey <tom@tromey.com>
12195
12196 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12197
8f14146e
PA
121982017-07-14 Pedro Alves <palves@redhat.com>
12199
12200 * gdb.linespec/base/one/thefile.cc (z1): New function.
12201 * gdb.linespec/base/two/thefile.cc (z2): New function.
12202 * gdb.linespec/linespec.exp: Add tests.
12203
b4365d02
AB
122042017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12205
12206 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12207 to mi_create_breakpoint.
12208
5d2cbaa5
AB
122092017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12210
12211 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12212 mi_create_breakpoint.
12213
11cb5716
IB
122142017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12215
12216 * gdb.dlang/demangle.exp: Update for demangling changes.
12217
03278692
TT
122182017-07-09 Tom Tromey <tom@tromey.com>
12219
12220 * gdb.dwarf2/shortpiece.exp: New file.
12221
33c5cd75
DB
122222017-07-06 David Blaikie <dblaikie@gmail.com>
12223
12224 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12225 built from fissiont-multi-cu{1,2}.c.
12226 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12227 except putting 'main' and 'func' in separate CUs in the same DWO file.
12228 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12229 test.
12230 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12231 test.
12232
8455d262
PA
122332017-07-06 Pedro Alves <palves@redhat.com>
12234
12235 * gdb.python/py-unwind.exp: Test flushregs.
12236
dc4bde35
SDJ
122372017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12238
12239 PR cli/21688
12240 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12241 tests for alias commands and trailing whitespace.
12242
51ed89aa
SDJ
122432017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12244
12245 PR cli/21688
12246 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12247 procedure. Call it.
12248
eb17d413
PA
122492017-06-29 Pedro Alves <palves@redhat.com>
12250
12251 * gdb.base/printcmds.exp: Add tests.
12252
41664b45
DG
122532017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12254
12255 PR gdb/21337
12256 * gdb.base/reread-readsym.exp: New file.
12257 * gdb.base/reread-readsym.c: New file.
12258
75312ae3
KB
122592017-06-21 Kevin Buettner <kevinb@redhat.com>
12260
12261 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12262 subpattern.
12263
66953522
PB
122642017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12265
12266 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12267 extended mnemonic.
12268 * gdb.arch/powerpc-power9.s: Likewise.
12269
5524b525
AA
122702017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12271
12272 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12273 on 32-bit x86 targets. Exploit is_*_target macros where
12274 appropriate.
12275
03c8af18
AA
122762017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12277
12278 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12279 register pieces.
12280
3bf31011
AA
122812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12282
12283 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12284 located in one or more DWARF pieces.
12285
805acca0
AA
122862017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12287
12288 * lib/gdb.exp (get_endianness): New proc.
12289 * gdb.arch/aarch64-fp.exp: Use it.
12290 * gdb.arch/altivec-regs.exp: Likewise.
12291 * gdb.arch/e500-regs.exp: Likewise.
12292 * gdb.arch/vsx-regs.exp: Likewise.
12293 * gdb.base/dump.exp: Likewise.
12294 * gdb.base/funcargs.exp: Likewise.
12295 * gdb.base/gnu_vector.exp: Likewise.
12296 * gdb.dwarf2/formdata16.exp: Likewise.
12297 * gdb.dwarf2/implptrpiece.exp: Likewise.
12298 * gdb.dwarf2/nonvar-access.exp: Likewise.
12299 * gdb.python/py-inferior.exp: Likewise.
12300 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12301
e9352324
AA
123022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12303
12304 PR gdb/21226
12305 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12306 stack value pieces are taken from the LSB end.
12307
d5d1163e
AA
123082017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12309
12310 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12311 variable at nonzero offset.
12312
0567c986
AA
123132017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12314
12315 * gdb.dwarf2/var-access.c: New file.
12316 * gdb.dwarf2/var-access.exp: New test.
12317 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12318
973e9aab
TT
123192017-06-12 Tom Tromey <tom@tromey.com>
12320
12321 * gdb.dwarf2/formdata16.exp: Add tests.
12322
d9109c80
TT
123232017-06-12 Tom Tromey <tom@tromey.com>
12324
12325 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12326
30a25466
TT
123272017-06-12 Tom Tromey <tom@tromey.com>
12328
12329 PR exp/16225:
12330 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12331 * gdb.arch/vsx-regs.exp: Update tests.
12332 * gdb.arch/s390-vregs.exp (hex128): New proc.
12333 Update test.
12334 * gdb.arch/altivec-regs.exp: Update tests.
12335
aefd8b33
SDJ
123362017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12337
12338 * gdb.base/startup-with-shell.c: New file.
12339 * gdb.base/startup-with-shell.exp: Likewise.
12340
2090129c
SDJ
123412017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12342
12343 * gdb.server/non-existing-program.exp: Update regex in order to
12344 reflect the fact that gdbserver is now using fork_inferior (with a
12345 shell) to startup the inferior.
12346
8e86a419
SM
123472017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12348
12349 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12350 support function calls from GDB.
12351
e6cf65f2
TT
123522017-05-21 Tom Tromey <tom@tromey.com>
12353
12354 PR rust/21466:
12355 * gdb.rust/unsized.exp: New file.
12356 * gdb.rust/unsized.rs: New file.
12357
43cc5389
TT
123582017-05-19 Tom Tromey <tom@tromey.com>
12359
12360 PR rust/21484:
12361 * gdb.rust/watch.exp: New file.
12362 * gdb.rust/watch.rs: New file.
12363
ec8df234
TT
123642017-05-18 Tom Tromey <tom@tromey.com>
12365
12366 * gdb.rust/simple.exp: Allow Box to be qualified.
12367
3e3e7fae
TP
123682017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12369
12370 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12371
59cc050d
PA
123722017-05-18 Pedro Alves <palves@redhat.com>
12373
12374 * gdb.base/fileio.c (test_write, test_read, test_close)
12375 (test_fstat): Don't print 'ret' in the fail path.
12376
c8f6abd1
PA
123772017-05-18 Pedro Alves <palves@redhat.com>
12378
12379 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12380 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12381 (test_system, test_rename, test_unlink, test_time): Change
12382 prototypes.
12383 * gdb.base/fileio.exp (stop_msg): Adjust.
12384
d2a03b77
PA
123852017-05-18 Pedro Alves <palves@redhat.com>
12386
12387 * gdb.base/fileio.c (null_str): New global.
12388 (test_stat): Use it.
12389 * gdb.base/fileio.exp: Remove nowarnings.
12390
0d5c6999
YQ
123912017-05-17 Yao Qi <yao.qi@linaro.org>
12392
12393 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12394
21873064
YQ
123952017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12396
12397 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12398 argument command.
12399 (top-level): Invoke test_set_inferior_tty.
12400
d512d31c
PA
124012017-05-04 Pedro Alves <palves@redhat.com>
12402
12403 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12404 Add parens to print call for Python 3.
12405
90cef2ed
KS
124062017-05-03 Keith Seitz <keiths@redhat.com>
12407
12408 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12409 (main): Call it.
12410
14f819c8
TW
124112017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12412
12413 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12414 to prev and next.
12415
913aeadd
TW
124162017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12417
12418 * gdb.python/py-record-btrace.exp: Remove test for
12419 gdb.BtraceInstruction.error.
12420
a3be24ad
TW
124212017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12422
12423 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12424
ae20e79a
TW
124252017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12426
12427 * gdb.python/py-record-btrace-threads.c: New file.
12428 * gdb.python/py-record-btrace-threads.exp: New file.
12429
45ce1b47
SDJ
124302017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12431
12432 PR testsuite/8595
12433 * gdb.base/environ.exp: Make test available in all architectures.
12434 Move bits related to "info program" testing to
12435 gdb.base/info-program.exp. Rewrite tests to use the two new
12436 procedures mentione below.
12437 (test_set_show_env_var) New procedure.
12438 (test_set_show_env_var_equal): Likewise.
12439 * gdb.base/info-program.exp: New file.
12440
e15c3eb4
KS
124412017-04-27 Keith Seitz <keiths@redhat.com>
12442
12443 * gdb.cp/oranking.cc (test15): New function.
12444 (main): Call test15 and declare additional variables for testing.
12445 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12446 "p foo101('abc')" tests.
12447 Add tests for cv qualifier overloads.
12448 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12449 "lvalue reference overload" test.
12450 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12451 "print value of f1 on Child&& in f2" test.
12452
3a3fd0fd
PA
124532017-04-19 Pedro Alves <palves@redhat.com>
12454
12455 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12456 procedure.
12457 (top level): Call it.
12458 * lib/gdb.exp (gdb_define_cmd): New procedure.
12459
53375380
PA
124602017-04-12 Pedro Alves <palves@redhat.com>
12461
12462 PR gdb/21323
12463 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12464 (wchar): New global.
12465 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12466 (do_test_wide_char, wide_char_types_no_program, top level): Add
12467 wchar_t testing.
12468
53e710ac
PA
124692017-04-12 Pedro Alves <palves@redhat.com>
12470
12471 PR c++/21323
12472 * gdb.cp/wide_char_types.c: New file.
12473 * gdb.cp/wide_char_types.exp: New file.
12474
0ad9d8c7
SDJ
124752017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12476
12477 PR gdb/21352
12478 * gdb.trace/tsv.exp: Add test for "tsave -r".
12479
b1b45502
IB
124802017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12481
12482 * gdb.dlang/watch-loc.c: New file.
12483 * gdb.dlang/watch-loc.exp: New file.
12484
ec13808e
JK
124852017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12486
12487 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12488
fe5f7374
AK
124892017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12490
12491 * gdb.arch/arc-analyze-prologue.S: New file.
12492 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12493
eea78757
AK
124942017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12495
12496 * gdb.arch/arc-decode-insn.S: New file.
12497 * gdb.arch/arc-decode-insn.exp: Likewise.
12498
5badf10a
IR
124992017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12500
12501 PR tdep/20928
12502 * gdb.arch/sparc64-regs.exp: New file.
12503 * gdb.arch/sparc64-regs.S: Likewise.
12504
cee59b3f
TW
125052017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12506
12507 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12508 and memory view on Python 3.
12509
c0f55cc6
AV
125102017-03-20 Artemiy Volkov <artemiyv@acm.org>
12511 Keith Seitz <keiths@redhat.com>
12512
12513 PR gdb/14441
12514 * gdb.cp/demangle.exp: Add rvalue reference tests.
12515 * gdb.cp/rvalue-ref-casts.cc: New file.
12516 * gdb.cp/rvalue-ref-casts.exp: New file.
12517 * gdb.cp/rvalue-ref-overload.cc: New file.
12518 * gdb.cp/rvalue-ref-overload.exp: New file.
12519 * gdb.cp/rvalue-ref-params.cc: New file.
12520 * gdb.cp/rvalue-ref-params.exp: New file.
12521 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12522 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12523 * gdb.cp/rvalue-ref-types.cc: New file.
12524 * gdb.cp/rvalue-ref-types.exp: New file.
12525 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12526 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12527
51457a05
MAL
125282017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12529
12530 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12531 New procedure.
12532
5b291c04
MAL
125332017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12534
12535 * lib/mi-support.exp (mi_gdb_test): Add additional message
12536 for unexpected output.
12537
59a56148
AA
125382017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12539
12540 * gdb.base/examine-backward.c (Barrier): New character array
12541 constant, to ensure that TestStrings is preceded by a string
12542 terminator.
12543
7942e96e
AA
125442017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12545
12546 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12547 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12548 and implicit pointer into such a location.
12549
6ebac3fb
DE
125502017-03-16 Doug Evans <dje@google.com>
12551
12552 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12553
ec3b243d
TP
125542017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12555
12556 * gdb.cp/m-static.exp: Fix expectation for prototype of
12557 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12558
125592017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12560
12561 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12562 * gdb.guile/scm-lazy-string.c: New file.
12563 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12564 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12565 for pointer, array, typedef lazy strings.
12566
2cc36e25 125672017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12568
12569 PR python/17728, python/18439, python/18779
12570 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12571 * gdb.python/py-lazy-string.c (pointer): New typedef.
12572 (main): New locals ptr, array, typedef_ptr.
12573 * gdb.python/py-value.exp: Move lazy string tests to ...
12574 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12575 array, typedef lazy strings.
ec3b243d 12576
0efcde63
AK
125772017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12578
12579 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12580 Add optional 'test' parameter.
12581
7978d7c3
SM
125822017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12583
12584 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12585 Skip for versions of DejaGnu < 1.5.
12586
896c0c1e
SM
125872017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12588
12589 * lib/gdb.exp (dejagnu_version): New proc.
12590 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12591 Use dejagnu_version.
12592
5f4d1085
KS
125932017-03-10 Keith Seitz <keiths@redhat.com>
12594
12595 PR c++/8128
12596 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12597 type from destructor regexps.
12598 Add a branch which actually passes the test.
12599 Adjust "ptype t5i" test names.
12600
1de05205
PA
126012017-03-08 Pedro Alves <palves@redhat.com>
12602
12603 * gdb.base/step-over-exit.exp: Add explicit test message.
12604
c65d6b55
PA
126052017-03-08 Pedro Alves <palves@redhat.com>
12606
12607 PR gdb/18360
12608 * gdb.threads/interrupt-while-step-over.c: New file.
12609 * gdb.threads/interrupt-while-step-over.exp: New file.
12610
2e86a283
PA
126112017-03-08 Pedro Alves <palves@redhat.com>
12612
12613 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12614 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12615
25dcbff6
PA
126162017-03-08 Pedro Alves <palves@redhat.com>
12617
12618 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12619 PKRU as not supported as a PASS.
12620
dc9366eb
PA
126212017-03-08 Pedro Alves <palves@redhat.com>
12622
12623 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12624 prefix instead of $binfile1/$binfile2.
12625 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12626 in test message.
12627 * gdb.python/py-completion.exp: Use "load python file" as test
12628 messages instead of unstable path names.
12629
6e5d74e7
PA
126302017-03-08 Pedro Alves <palves@redhat.com>
12631 Jan Kratochvil <jan.kratochvil@redhat.com>
12632
12633 PR cli/21218
12634 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12635 New proc.
12636 (top level): Call it.
12637
9753a2f6
PA
126382017-03-08 Pedro Alves <palves@redhat.com>
12639
12640 PR tui/21216
12641 * gdb.tui/tui-nl-filtered-output.exp: New file.
12642
1a4dd9dd
PA
126432017-03-08 Pedro Alves <palves@redhat.com>
12644
12645 * gdb.base/completion.exp: Move TUI completion tests to ...
12646 * gdb.tui/completion.exp: ... this new file.
12647
7cbbff33
PA
126482017-03-08 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.base/tui-disasm-long-lines.c,
12651 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12652 gdb.base/tui-layout.exp: Move to ...
12653 * gdb.tui/: ... this new directory.
12654
5f6fd321
PA
126552017-03-07 Pedro Alves <palves@redhat.com>
12656
12657 * gdb.base/tui-layout.c: New file.
12658 * gdb.base/tui-layout.exp: New file.
12659
44959fa8
PA
126602017-03-07 Pedro Alves <palves@redhat.com>
12661
12662 * gdb.base/tui-layout.c: Rename to ...
12663 * gdb.base/tui-disasm-long-lines.c: ... this.
12664 * gdb.base/tui-layout.exp: Rename to ...
12665 * gdb.base/tui-disasm-long-lines.exp: ... this.
12666
f8c4e718
PA
126672017-03-07 Pedro Alves <palves@redhat.com>
12668
12669 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12670
6dbb839a 126712017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12672
12673 * i386-mpx-call.c: New file.
12674 * i386-mpx-call.exp: New file.
12675
65b48a81
PB
126762017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12677
12678 * gdb.arch/powerpc-power.exp: Delete test.
12679 * gdb.arch/powerpc-power.s: Likewise.
12680 * gdb.disasm/disassembler-options.exp: New test.
12681 * gdb.arch/powerpc-altivec.exp: Likewise.
12682 * gdb.arch/powerpc-altivec.s: Likewise.
12683 * gdb.arch/powerpc-altivec2.exp: Likewise.
12684 * gdb.arch/powerpc-altivec2.s: Likewise.
12685 * gdb.arch/powerpc-altivec3.exp: Likewise.
12686 * gdb.arch/powerpc-altivec3.s: Likewise.
12687 * gdb.arch/powerpc-power7.exp: Likewise.
12688 * gdb.arch/powerpc-power7.s: Likewise.
12689 * gdb.arch/powerpc-power8.exp: Likewise.
12690 * gdb.arch/powerpc-power8.s: Likewise.
12691 * gdb.arch/powerpc-power9.exp: Likewise.
12692 * gdb.arch/powerpc-power9.s: Likewise.
12693 * gdb.arch/powerpc-vsx.exp: Likewise.
12694 * gdb.arch/powerpc-vsx.s: Likewise.
12695 * gdb.arch/powerpc-vsx2.exp: Likewise.
12696 * gdb.arch/powerpc-vsx2.s: Likewise.
12697 * gdb.arch/powerpc-vsx3.exp: Likewise.
12698 * gdb.arch/powerpc-vsx3.s: Likewise.
12699 * gdb.arch/arm-disassembler-options.exp: Likewise.
12700 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12701 * gdb.arch/s390-disassembler-options.exp: Likewise.
12702
17cd4947
LM
127032017-02-23 Luis Machado <lgustavo@codesourcery.com>
12704
12705 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12706 (check_supported_features): ... this. Changed return type to void.
12707 (supports_rdseed): New static global.
12708 (rdseed): Check supports_rdseed.
12709 (initialize): Call check_supported_features.
12710
2039d74e
EBM
127112017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12712
12713 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12714 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12715 and lqarx/stqcx.
12716 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12717 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12718
a51d7ecf
EBM
127192017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12720
12721 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12722 uppercase.
12723
0224619f
JK
127242017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12725
12726 * gdb.dwarf2/formdata16.c: New file.
12727 * gdb.dwarf2/formdata16.exp: New file.
12728 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12729
216f72a1
JK
127302017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12731
12732 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12733 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12734 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12735 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12736 DW_AT_GNU_*.
12737
43988095
JK
127382017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12739
12740 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12741
99e8a4f9
SDJ
127422017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12743
12744 PR gdb/21164
12745 * gdb.base/maint.exp: Add testcases for when the commands do
12746 not have arguments.
12747
b58a8c0c
TP
127482017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12749
12750 * gdb.cp/chained-calls.exp: Use p instead of P.
12751
4e746bb6
TW
127522017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12753
12754 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12755 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12756
3f77c769
TT
127572017-02-14 Tom Tromey <tom@tromey.com>
12758
12759 PR python/13598:
12760 * gdb.python/py-events.exp: Add before_prompt event tests.
12761
075beec0
AA
127622017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12763
12764 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12765
bf5f525c
LM
127662017-02-13 Luis Machado <lgustavo@codesourcery.com>
12767
12768 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12769 (main): Call my_unique_function_name.
12770 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12771 completion of patterns with a single match.
12772 Add missing -re switches to gdb_test_multiple calls.
12773
13a66184
LM
127742017-02-13 Luis Machado <lgustavo@codesourcery.com>
12775
12776 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12777 return if core file is not recognized.
12778
26a06916
SM
127792017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12780
12781 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12782 and extra UIs.
12783
b761ca9e
SM
127842017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12785
12786 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12787 proc_with_prefix.
12788
b964bee0
TT
127892017-02-10 Tom Tromey <tom@tromey.com>
12790
12791 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12792
18da0c51
MG
127932017-02-10 Martin Galvan <martingalvan@sourceware.org>
12794
12795 PR gdb/21122
12796 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12797
604c4576
JG
127982017-02-08 Jerome Guitton <guitton@adacore.com>
12799
12800 * gdb.base/define.exp: Add test for command abbreviations
12801 in define.
12802
20b477a7
LM
128032017-02-06 Luis Machado <lgustavo@codesourcery.com>
12804
12805 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12806 * gdb.reverse/insn-reverse-x86.c: New file.
12807
3f7b46f2
IR
128082017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12809
12810 PR tdep/20936
12811 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12812
f0fd41c1
TT
128132017-02-03 Tom Tromey <tom@tromey.com>
12814
12815 PR rust/21097:
12816 * gdb.rust/simple.exp: Add new tests.
12817
5be5dbf0
PA
128182017-02-02 Pedro Alves <palves@redhat.com>
12819
12820 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12821 tests.
12822
7346ef59
AA
128232017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12824
12825 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12826 taking a 2-byte value out of a 4-byte DWARF implicit value on
12827 big-endian targets.
12828 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12829 logic. Add test cases for DW_OP_implicit.
12830
787f0025
MM
128312017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12832
12833 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12834
68777c29
MM
128352017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12836
12837 * gdb.btrace/enable.exp: Call gdb_exit before
12838 skip_gdbserver_tests.
12839
0a1c7e28
MM
128402017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12841
12842 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12843 GDBFLAGS.
12844
b5ac99b0
MM
128452017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12846
12847 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12848 the test is skipped.
12849 * gdb.btrace/data.exp: Likewise.
12850 * gdb.btrace/delta.exp: Likewise.
12851 * gdb.btrace/dlopen.exp: Likewise.
12852 * gdb.btrace/enable-running.exp: Likewise.
12853 * gdb.btrace/enable.exp: Likewise.
12854 * gdb.btrace/exception.exp: Likewise.
12855 * gdb.btrace/function_call_history.exp: Likewise.
12856 * gdb.btrace/gcore.exp: Likewise.
12857 * gdb.btrace/instruction_history.exp: Likewise.
12858 * gdb.btrace/multi-thread-step.exp: Likewise.
12859 * gdb.btrace/nohist.exp: Likewise.
12860 * gdb.btrace/non-stop.exp: Likewise.
12861 * gdb.btrace/reconnect.exp: Likewise.
12862 * gdb.btrace/record_goto-step.exp: Likewise.
12863 * gdb.btrace/record_goto.exp: Likewise.
12864 * gdb.btrace/rn-dl-bind.exp: Likewise.
12865 * gdb.btrace/segv.exp: Likewise.
12866 * gdb.btrace/step.exp: Likewise.
12867 * gdb.btrace/stepi.exp: Likewise.
12868 * gdb.btrace/tailcall-only.exp: Likewise.
12869 * gdb.btrace/tailcall.exp: Likewise.
12870 * gdb.btrace/tsx.exp: Likewise.
12871 * gdb.btrace/unknown_functions.exp: Likewise.
12872 * gdb.btrace/vdso.exp: Likewise.
12873
cd4007e4
MM
128742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12875
12876 * gdb.btrace/enable-running.c: New.
12877 * gdb.btrace/enable-running.exp: New.
12878
2735833d
WT
128792017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12880
12881 * gdb.arch/amd64-gs_base.c: New file.
12882 * gdb.arch/amd64-gs_base.exp: New file.
12883
b51e1e94
LM
128842017-01-26 Luis Machado <lgustavo@codesourcery.com>
12885
12886 * lib/memory.exp: Remove spurious empty newlines.
12887
72ca0410
SM
128882017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12889
12890 * gdb.python/py-bad-printers.exp: Load python file using "source".
12891 * gdb.python/py-events.exp: Likewise.
12892 * gdb.python/py-evsignal.exp: Likewise.
12893 * gdb.python/py-evthreads.exp: Likewise.
12894 * gdb.python/py-frame-args.exp: Likewise.
12895 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12896 * gdb.python/py-framefilter-mi.exp: Likewise.
12897 * gdb.python/py-framefilter.exp: Likewise.
12898 * gdb.python/py-mi.exp: Likewise.
12899 * gdb.python/py-pp-maint.exp: Likewise.
12900 * gdb.python/py-pp-registration.exp: Likewise.
12901 * gdb.python/py-prettyprint.exp: Likewise.
12902 (run_lang_tests): Likewise.
12903 * gdb.python/py-typeprint.exp: Likewise.
12904
e309aa65
LM
129052017-01-26 Luis Machado <lgustavo@codesourcery.com>
12906
12907 * lib/memory.exp: New file.
12908 * lib/gdb.exp: Load memory.exp.
12909 * gdb.base/memattr.exp (delete_memory): Move proc to
12910 lib/memory.exp and rename to delete_memory_regions.
12911 Replace delete_memory with delete_memory_regions.
12912 Cleanup memory regions before tests.
12913 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12914 before tests.
12915
515aff23
LM
129162017-01-26 Luis Machado <lgustavo@codesourcery.com>
12917
12918 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12919 files.
12920 (initialize): New function conditionally defined.
12921 (testcases): Move within conditional block.
12922 (main): Call initialize.
12923 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12924 of gdb.reverse/insn-reverse.c.
12925 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12926 gdb.reverse/insn-reverse.c.
12927
d8b49cf0
YQ
129282017-01-26 Yao Qi <yao.qi@linaro.org>
12929
12930 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12931 disassemble on address 0.
12932
f13a9a0c
YQ
129332017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12934 Yao Qi <yao.qi@linaro.org>
12935
12936 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12937 * gdb.dwarf2/implptr-64bit.S: Remove.
12938 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12939 variables in caller's context. Add DW_OP_implicit_value.
12940
5ac95241
YQ
129412017-01-25 Yao Qi <yao.qi@linaro.org>
12942
12943 * lib/dwarf.exp (Dwarf::_location): Handle
12944 DW_OP_GNU_implicit_pointer with proper size.
12945
23e82930
LM
129462017-01-20 Luis Machado <lgustavo@codesourcery.com>
12947
12948 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12949 and add untested calls.
12950
d334ae25
LM
129512017-01-20 Luis Machado <lgustavo@codesourcery.com>
12952
12953 * gdb.python/python.exp: Check line number against what GDB thinks
12954 the line number is for func1.
12955
f5e6296e
IB
129562017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12957
12958 * gdb.dlang/debug-expr.exp: New file.
12959
5b362f04
LM
129602016-12-23 Luis Machado <lgustavo@codesourcery.com>
12961
12962 Fix test names for the following files:
12963
12964 * gdb.ada/exec_changed.exp
12965 * gdb.ada/info_types.exp
12966 * gdb.arch/aarch64-atomic-inst.exp
12967 * gdb.arch/aarch64-fp.exp
12968 * gdb.arch/altivec-abi.exp
12969 * gdb.arch/altivec-regs.exp
12970 * gdb.arch/amd64-byte.exp
12971 * gdb.arch/amd64-disp-step.exp
12972 * gdb.arch/amd64-dword.exp
12973 * gdb.arch/amd64-entry-value-inline.exp
12974 * gdb.arch/amd64-entry-value-param.exp
12975 * gdb.arch/amd64-entry-value-paramref.exp
12976 * gdb.arch/amd64-entry-value.exp
12977 * gdb.arch/amd64-i386-address.exp
12978 * gdb.arch/amd64-invalid-stack-middle.exp
12979 * gdb.arch/amd64-invalid-stack-top.exp
12980 * gdb.arch/amd64-optimout-repeat.exp
12981 * gdb.arch/amd64-prologue-skip.exp
12982 * gdb.arch/amd64-prologue-xmm.exp
12983 * gdb.arch/amd64-stap-special-operands.exp
12984 * gdb.arch/amd64-stap-wrong-subexp.exp
12985 * gdb.arch/amd64-tailcall-cxx.exp
12986 * gdb.arch/amd64-tailcall-noret.exp
12987 * gdb.arch/amd64-tailcall-ret.exp
12988 * gdb.arch/amd64-tailcall-self.exp
12989 * gdb.arch/amd64-word.exp
12990 * gdb.arch/arm-bl-branch-dest.exp
12991 * gdb.arch/arm-disp-step.exp
12992 * gdb.arch/arm-neon.exp
12993 * gdb.arch/arm-single-step-kernel-helper.exp
12994 * gdb.arch/avr-flash-qualifier.exp
12995 * gdb.arch/disp-step-insn-reloc.exp
12996 * gdb.arch/e500-abi.exp
12997 * gdb.arch/e500-regs.exp
12998 * gdb.arch/ftrace-insn-reloc.exp
12999 * gdb.arch/i386-avx512.exp
13000 * gdb.arch/i386-bp_permanent.exp
13001 * gdb.arch/i386-byte.exp
13002 * gdb.arch/i386-cfi-notcurrent.exp
13003 * gdb.arch/i386-disp-step.exp
13004 * gdb.arch/i386-dr3-watch.exp
13005 * gdb.arch/i386-float.exp
13006 * gdb.arch/i386-gnu-cfi.exp
13007 * gdb.arch/i386-mpx-map.exp
13008 * gdb.arch/i386-mpx-sigsegv.exp
13009 * gdb.arch/i386-mpx-simple_segv.exp
13010 * gdb.arch/i386-mpx.exp
13011 * gdb.arch/i386-permbkpt.exp
13012 * gdb.arch/i386-prologue.exp
13013 * gdb.arch/i386-signal.exp
13014 * gdb.arch/i386-size-overlap.exp
13015 * gdb.arch/i386-unwind.exp
13016 * gdb.arch/i386-word.exp
13017 * gdb.arch/mips-fcr.exp
13018 * gdb.arch/powerpc-d128-regs.exp
13019 * gdb.arch/powerpc-stackless.exp
13020 * gdb.arch/ppc64-atomic-inst.exp
13021 * gdb.arch/s390-stackless.exp
13022 * gdb.arch/s390-tdbregs.exp
13023 * gdb.arch/s390-vregs.exp
13024 * gdb.arch/sparc-sysstep.exp
13025 * gdb.arch/thumb-bx-pc.exp
13026 * gdb.arch/thumb-singlestep.exp
13027 * gdb.arch/thumb2-it.exp
13028 * gdb.arch/vsx-regs.exp
13029 * gdb.asm/asm-source.exp
13030 * gdb.base/a2-run.exp
13031 * gdb.base/advance.exp
13032 * gdb.base/all-bin.exp
13033 * gdb.base/anon.exp
13034 * gdb.base/args.exp
13035 * gdb.base/arithmet.exp
13036 * gdb.base/async-shell.exp
13037 * gdb.base/async.exp
13038 * gdb.base/attach-pie-noexec.exp
13039 * gdb.base/attach-twice.exp
13040 * gdb.base/auto-load.exp
13041 * gdb.base/bang.exp
13042 * gdb.base/bitfields.exp
13043 * gdb.base/break-always.exp
13044 * gdb.base/break-caller-line.exp
13045 * gdb.base/break-entry.exp
13046 * gdb.base/break-inline.exp
13047 * gdb.base/break-on-linker-gcd-function.exp
13048 * gdb.base/break-probes.exp
13049 * gdb.base/break.exp
13050 * gdb.base/breakpoint-shadow.exp
13051 * gdb.base/call-ar-st.exp
13052 * gdb.base/call-sc.exp
13053 * gdb.base/call-signal-resume.exp
13054 * gdb.base/call-strs.exp
13055 * gdb.base/callfuncs.exp
13056 * gdb.base/catch-fork-static.exp
13057 * gdb.base/catch-gdb-caused-signals.exp
13058 * gdb.base/catch-load.exp
13059 * gdb.base/catch-signal-fork.exp
13060 * gdb.base/catch-signal.exp
13061 * gdb.base/catch-syscall.exp
13062 * gdb.base/charset.exp
13063 * gdb.base/checkpoint.exp
13064 * gdb.base/chng-syms.exp
13065 * gdb.base/code-expr.exp
13066 * gdb.base/code_elim.exp
13067 * gdb.base/commands.exp
13068 * gdb.base/completion.exp
13069 * gdb.base/complex.exp
13070 * gdb.base/cond-expr.exp
13071 * gdb.base/condbreak.exp
13072 * gdb.base/consecutive.exp
13073 * gdb.base/continue-all-already-running.exp
13074 * gdb.base/coredump-filter.exp
13075 * gdb.base/corefile.exp
13076 * gdb.base/dbx.exp
13077 * gdb.base/debug-expr.exp
13078 * gdb.base/define.exp
13079 * gdb.base/del.exp
13080 * gdb.base/disabled-location.exp
13081 * gdb.base/disasm-end-cu.exp
13082 * gdb.base/disasm-optim.exp
13083 * gdb.base/display.exp
13084 * gdb.base/duplicate-bp.exp
13085 * gdb.base/ena-dis-br.exp
13086 * gdb.base/ending-run.exp
13087 * gdb.base/enumval.exp
13088 * gdb.base/environ.exp
13089 * gdb.base/eu-strip-infcall.exp
13090 * gdb.base/eval-avoid-side-effects.exp
13091 * gdb.base/eval-skip.exp
13092 * gdb.base/exitsignal.exp
13093 * gdb.base/expand-psymtabs.exp
13094 * gdb.base/filesym.exp
13095 * gdb.base/find-unmapped.exp
13096 * gdb.base/finish.exp
13097 * gdb.base/float.exp
13098 * gdb.base/foll-exec-mode.exp
13099 * gdb.base/foll-exec.exp
13100 * gdb.base/foll-fork.exp
13101 * gdb.base/fortran-sym-case.exp
13102 * gdb.base/freebpcmd.exp
13103 * gdb.base/func-ptr.exp
13104 * gdb.base/func-ptrs.exp
13105 * gdb.base/funcargs.exp
13106 * gdb.base/gcore-buffer-overflow.exp
13107 * gdb.base/gcore-relro-pie.exp
13108 * gdb.base/gcore-relro.exp
13109 * gdb.base/gcore.exp
13110 * gdb.base/gdb1090.exp
13111 * gdb.base/gdb11530.exp
13112 * gdb.base/gdb11531.exp
13113 * gdb.base/gdb1821.exp
13114 * gdb.base/gdbindex-stabs.exp
13115 * gdb.base/gdbvars.exp
13116 * gdb.base/hbreak.exp
13117 * gdb.base/hbreak2.exp
13118 * gdb.base/included.exp
13119 * gdb.base/infcall-input.exp
13120 * gdb.base/inferior-died.exp
13121 * gdb.base/infnan.exp
13122 * gdb.base/info-macros.exp
13123 * gdb.base/info-os.exp
13124 * gdb.base/info-proc.exp
13125 * gdb.base/info-shared.exp
13126 * gdb.base/info-target.exp
13127 * gdb.base/infoline.exp
13128 * gdb.base/interp.exp
13129 * gdb.base/interrupt.exp
13130 * gdb.base/jit-reader.exp
13131 * gdb.base/jit-simple.exp
13132 * gdb.base/kill-after-signal.exp
13133 * gdb.base/kill-detach-inferiors-cmd.exp
13134 * gdb.base/label.exp
13135 * gdb.base/langs.exp
13136 * gdb.base/ldbl_e308.exp
13137 * gdb.base/line-symtabs.exp
13138 * gdb.base/linespecs.exp
13139 * gdb.base/list.exp
13140 * gdb.base/long_long.exp
13141 * gdb.base/longest-types.exp
13142 * gdb.base/maint.exp
13143 * gdb.base/max-value-size.exp
13144 * gdb.base/memattr.exp
13145 * gdb.base/mips_pro.exp
13146 * gdb.base/morestack.exp
13147 * gdb.base/moribund-step.exp
13148 * gdb.base/multi-forks.exp
13149 * gdb.base/nested-addr.exp
13150 * gdb.base/nextoverexit.exp
13151 * gdb.base/noreturn-finish.exp
13152 * gdb.base/noreturn-return.exp
13153 * gdb.base/nostdlib.exp
13154 * gdb.base/offsets.exp
13155 * gdb.base/opaque.exp
13156 * gdb.base/pc-fp.exp
13157 * gdb.base/permissions.exp
13158 * gdb.base/print-symbol-loading.exp
13159 * gdb.base/prologue-include.exp
13160 * gdb.base/psymtab.exp
13161 * gdb.base/ptype.exp
13162 * gdb.base/random-signal.exp
13163 * gdb.base/randomize.exp
13164 * gdb.base/range-stepping.exp
13165 * gdb.base/readline-ask.exp
13166 * gdb.base/recpar.exp
13167 * gdb.base/recurse.exp
13168 * gdb.base/relational.exp
13169 * gdb.base/restore.exp
13170 * gdb.base/return-nodebug.exp
13171 * gdb.base/return.exp
13172 * gdb.base/run-after-attach.exp
13173 * gdb.base/save-bp.exp
13174 * gdb.base/scope.exp
13175 * gdb.base/sect-cmd.exp
13176 * gdb.base/set-lang-auto.exp
13177 * gdb.base/set-noassign.exp
13178 * gdb.base/setvar.exp
13179 * gdb.base/sigall.exp
13180 * gdb.base/sigbpt.exp
13181 * gdb.base/siginfo-addr.exp
13182 * gdb.base/siginfo-infcall.exp
13183 * gdb.base/siginfo-obj.exp
13184 * gdb.base/siginfo.exp
13185 * gdb.base/signals-state-child.exp
13186 * gdb.base/signest.exp
13187 * gdb.base/sigstep.exp
13188 * gdb.base/sizeof.exp
13189 * gdb.base/skip.exp
13190 * gdb.base/solib-corrupted.exp
13191 * gdb.base/solib-nodir.exp
13192 * gdb.base/solib-search.exp
13193 * gdb.base/stack-checking.exp
13194 * gdb.base/stale-infcall.exp
13195 * gdb.base/stap-probe.exp
13196 * gdb.base/start.exp
13197 * gdb.base/step-break.exp
13198 * gdb.base/step-bt.exp
13199 * gdb.base/step-line.exp
13200 * gdb.base/step-over-exit.exp
13201 * gdb.base/step-over-syscall.exp
13202 * gdb.base/step-resume-infcall.exp
13203 * gdb.base/step-test.exp
13204 * gdb.base/store.exp
13205 * gdb.base/structs3.exp
13206 * gdb.base/sym-file.exp
13207 * gdb.base/symbol-without-target_section.exp
13208 * gdb.base/term.exp
13209 * gdb.base/testenv.exp
13210 * gdb.base/ui-redirect.exp
13211 * gdb.base/until.exp
13212 * gdb.base/unwindonsignal.exp
13213 * gdb.base/value-double-free.exp
13214 * gdb.base/vla-datatypes.exp
13215 * gdb.base/vla-ptr.exp
13216 * gdb.base/vla-sideeffect.exp
13217 * gdb.base/volatile.exp
13218 * gdb.base/watch-cond-infcall.exp
13219 * gdb.base/watch-cond.exp
13220 * gdb.base/watch-non-mem.exp
13221 * gdb.base/watch-read.exp
13222 * gdb.base/watch-vfork.exp
13223 * gdb.base/watchpoint-cond-gone.exp
13224 * gdb.base/watchpoint-delete.exp
13225 * gdb.base/watchpoint-hw-hit-once.exp
13226 * gdb.base/watchpoint-hw.exp
13227 * gdb.base/watchpoint-stops-at-right-insn.exp
13228 * gdb.base/watchpoints.exp
13229 * gdb.base/wchar.exp
13230 * gdb.base/whatis-exp.exp
13231 * gdb.btrace/buffer-size.exp
13232 * gdb.btrace/data.exp
13233 * gdb.btrace/delta.exp
13234 * gdb.btrace/dlopen.exp
13235 * gdb.btrace/enable.exp
13236 * gdb.btrace/exception.exp
13237 * gdb.btrace/function_call_history.exp
13238 * gdb.btrace/gcore.exp
13239 * gdb.btrace/instruction_history.exp
13240 * gdb.btrace/nohist.exp
13241 * gdb.btrace/reconnect.exp
13242 * gdb.btrace/record_goto-step.exp
13243 * gdb.btrace/record_goto.exp
13244 * gdb.btrace/rn-dl-bind.exp
13245 * gdb.btrace/segv.exp
13246 * gdb.btrace/step.exp
13247 * gdb.btrace/stepi.exp
13248 * gdb.btrace/tailcall-only.exp
13249 * gdb.btrace/tailcall.exp
13250 * gdb.btrace/tsx.exp
13251 * gdb.btrace/unknown_functions.exp
13252 * gdb.btrace/vdso.exp
13253 * gdb.compile/compile-ifunc.exp
13254 * gdb.compile/compile-ops.exp
13255 * gdb.compile/compile-print.exp
13256 * gdb.compile/compile-setjmp.exp
13257 * gdb.cp/abstract-origin.exp
13258 * gdb.cp/ambiguous.exp
13259 * gdb.cp/annota2.exp
13260 * gdb.cp/annota3.exp
13261 * gdb.cp/anon-ns.exp
13262 * gdb.cp/anon-struct.exp
13263 * gdb.cp/anon-union.exp
13264 * gdb.cp/arg-reference.exp
13265 * gdb.cp/baseenum.exp
13266 * gdb.cp/bool.exp
13267 * gdb.cp/breakpoint.exp
13268 * gdb.cp/bs15503.exp
13269 * gdb.cp/call-c.exp
13270 * gdb.cp/casts.exp
13271 * gdb.cp/chained-calls.exp
13272 * gdb.cp/class2.exp
13273 * gdb.cp/classes.exp
13274 * gdb.cp/cmpd-minsyms.exp
13275 * gdb.cp/converts.exp
13276 * gdb.cp/cp-relocate.exp
13277 * gdb.cp/cpcompletion.exp
13278 * gdb.cp/cpexprs.exp
13279 * gdb.cp/cplabel.exp
13280 * gdb.cp/cplusfuncs.exp
13281 * gdb.cp/cpsizeof.exp
13282 * gdb.cp/ctti.exp
13283 * gdb.cp/derivation.exp
13284 * gdb.cp/destrprint.exp
13285 * gdb.cp/dispcxx.exp
13286 * gdb.cp/enum-class.exp
13287 * gdb.cp/exception.exp
13288 * gdb.cp/exceptprint.exp
13289 * gdb.cp/expand-psymtabs-cxx.exp
13290 * gdb.cp/expand-sals.exp
13291 * gdb.cp/extern-c.exp
13292 * gdb.cp/filename.exp
13293 * gdb.cp/formatted-ref.exp
13294 * gdb.cp/fpointer.exp
13295 * gdb.cp/gdb1355.exp
13296 * gdb.cp/gdb2495.exp
13297 * gdb.cp/hang.exp
13298 * gdb.cp/impl-this.exp
13299 * gdb.cp/infcall-dlopen.exp
13300 * gdb.cp/inherit.exp
13301 * gdb.cp/iostream.exp
13302 * gdb.cp/koenig.exp
13303 * gdb.cp/local.exp
13304 * gdb.cp/m-data.exp
13305 * gdb.cp/m-static.exp
13306 * gdb.cp/mb-ctor.exp
13307 * gdb.cp/mb-inline.exp
13308 * gdb.cp/mb-templates.exp
13309 * gdb.cp/member-name.exp
13310 * gdb.cp/member-ptr.exp
13311 * gdb.cp/meth-typedefs.exp
13312 * gdb.cp/method.exp
13313 * gdb.cp/method2.exp
13314 * gdb.cp/minsym-fallback.exp
13315 * gdb.cp/misc.exp
13316 * gdb.cp/namelessclass.exp
13317 * gdb.cp/namespace-enum.exp
13318 * gdb.cp/namespace-nested-import.exp
13319 * gdb.cp/namespace.exp
13320 * gdb.cp/nextoverthrow.exp
13321 * gdb.cp/no-dmgl-verbose.exp
13322 * gdb.cp/non-trivial-retval.exp
13323 * gdb.cp/noparam.exp
13324 * gdb.cp/nsdecl.exp
13325 * gdb.cp/nsimport.exp
13326 * gdb.cp/nsnested.exp
13327 * gdb.cp/nsnoimports.exp
13328 * gdb.cp/nsrecurs.exp
13329 * gdb.cp/nsstress.exp
13330 * gdb.cp/nsusing.exp
13331 * gdb.cp/operator.exp
13332 * gdb.cp/oranking.exp
13333 * gdb.cp/overload-const.exp
13334 * gdb.cp/overload.exp
13335 * gdb.cp/ovldbreak.exp
13336 * gdb.cp/ovsrch.exp
13337 * gdb.cp/paren-type.exp
13338 * gdb.cp/parse-lang.exp
13339 * gdb.cp/pass-by-ref.exp
13340 * gdb.cp/pr-1023.exp
13341 * gdb.cp/pr-1210.exp
13342 * gdb.cp/pr-574.exp
13343 * gdb.cp/pr10687.exp
13344 * gdb.cp/pr12028.exp
13345 * gdb.cp/pr17132.exp
13346 * gdb.cp/pr17494.exp
13347 * gdb.cp/pr9067.exp
13348 * gdb.cp/pr9167.exp
13349 * gdb.cp/pr9631.exp
13350 * gdb.cp/printmethod.exp
13351 * gdb.cp/psmang.exp
13352 * gdb.cp/psymtab-parameter.exp
13353 * gdb.cp/ptype-cv-cp.exp
13354 * gdb.cp/ptype-flags.exp
13355 * gdb.cp/re-set-overloaded.exp
13356 * gdb.cp/ref-types.exp
13357 * gdb.cp/rtti.exp
13358 * gdb.cp/scope-err.exp
13359 * gdb.cp/shadow.exp
13360 * gdb.cp/smartp.exp
13361 * gdb.cp/static-method.exp
13362 * gdb.cp/static-print-quit.exp
13363 * gdb.cp/temargs.exp
13364 * gdb.cp/templates.exp
13365 * gdb.cp/try_catch.exp
13366 * gdb.cp/typedef-operator.exp
13367 * gdb.cp/typeid.exp
13368 * gdb.cp/userdef.exp
13369 * gdb.cp/using-crash.exp
13370 * gdb.cp/var-tag.exp
13371 * gdb.cp/virtbase.exp
13372 * gdb.cp/virtfunc.exp
13373 * gdb.cp/virtfunc2.exp
13374 * gdb.cp/vla-cxx.exp
13375 * gdb.disasm/t01_mov.exp
13376 * gdb.disasm/t02_mova.exp
13377 * gdb.disasm/t03_add.exp
13378 * gdb.disasm/t04_sub.exp
13379 * gdb.disasm/t05_cmp.exp
13380 * gdb.disasm/t06_ari2.exp
13381 * gdb.disasm/t07_ari3.exp
13382 * gdb.disasm/t08_or.exp
13383 * gdb.disasm/t09_xor.exp
13384 * gdb.disasm/t10_and.exp
13385 * gdb.disasm/t11_logs.exp
13386 * gdb.disasm/t12_bit.exp
13387 * gdb.disasm/t13_otr.exp
13388 * gdb.dlang/circular.exp
13389 * gdb.dwarf2/arr-stride.exp
13390 * gdb.dwarf2/arr-subrange.exp
13391 * gdb.dwarf2/atomic-type.exp
13392 * gdb.dwarf2/bad-regnum.exp
13393 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13394 * gdb.dwarf2/callframecfa.exp
13395 * gdb.dwarf2/clztest.exp
13396 * gdb.dwarf2/corrupt.exp
13397 * gdb.dwarf2/data-loc.exp
13398 * gdb.dwarf2/dup-psym.exp
13399 * gdb.dwarf2/dw2-anon-mptr.exp
13400 * gdb.dwarf2/dw2-anonymous-func.exp
13401 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13402 * gdb.dwarf2/dw2-bad-unresolved.exp
13403 * gdb.dwarf2/dw2-basic.exp
13404 * gdb.dwarf2/dw2-canonicalize-type.exp
13405 * gdb.dwarf2/dw2-case-insensitive.exp
13406 * gdb.dwarf2/dw2-common-block.exp
13407 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13408 * gdb.dwarf2/dw2-compressed.exp
13409 * gdb.dwarf2/dw2-const.exp
13410 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13411 * gdb.dwarf2/dw2-cu-size.exp
13412 * gdb.dwarf2/dw2-dup-frame.exp
13413 * gdb.dwarf2/dw2-entry-value.exp
13414 * gdb.dwarf2/dw2-icycle.exp
13415 * gdb.dwarf2/dw2-ifort-parameter.exp
13416 * gdb.dwarf2/dw2-inline-break.exp
13417 * gdb.dwarf2/dw2-inline-param.exp
13418 * gdb.dwarf2/dw2-intercu.exp
13419 * gdb.dwarf2/dw2-intermix.exp
13420 * gdb.dwarf2/dw2-lexical-block-bare.exp
13421 * gdb.dwarf2/dw2-linkage-name-trust.exp
13422 * gdb.dwarf2/dw2-minsym-in-cu.exp
13423 * gdb.dwarf2/dw2-noloc.exp
13424 * gdb.dwarf2/dw2-op-call.exp
13425 * gdb.dwarf2/dw2-op-out-param.exp
13426 * gdb.dwarf2/dw2-opt-structptr.exp
13427 * gdb.dwarf2/dw2-param-error.exp
13428 * gdb.dwarf2/dw2-producer.exp
13429 * gdb.dwarf2/dw2-ranges-base.exp
13430 * gdb.dwarf2/dw2-ref-missing-frame.exp
13431 * gdb.dwarf2/dw2-reg-undefined.exp
13432 * gdb.dwarf2/dw2-regno-invalid.exp
13433 * gdb.dwarf2/dw2-restore.exp
13434 * gdb.dwarf2/dw2-restrict.exp
13435 * gdb.dwarf2/dw2-single-line-discriminators.exp
13436 * gdb.dwarf2/dw2-strp.exp
13437 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13438 * gdb.dwarf2/dw2-unresolved.exp
13439 * gdb.dwarf2/dw2-var-zero-addr.exp
13440 * gdb.dwarf2/dw4-sig-types.exp
13441 * gdb.dwarf2/dwz.exp
13442 * gdb.dwarf2/dynarr-ptr.exp
13443 * gdb.dwarf2/enum-type.exp
13444 * gdb.dwarf2/gdb-index.exp
13445 * gdb.dwarf2/implptr-64bit.exp
13446 * gdb.dwarf2/implptr-optimized-out.exp
13447 * gdb.dwarf2/implptr.exp
13448 * gdb.dwarf2/implref-array.exp
13449 * gdb.dwarf2/implref-const.exp
13450 * gdb.dwarf2/implref-global.exp
13451 * gdb.dwarf2/implref-struct.exp
13452 * gdb.dwarf2/mac-fileno.exp
13453 * gdb.dwarf2/main-subprogram.exp
13454 * gdb.dwarf2/member-ptr-forwardref.exp
13455 * gdb.dwarf2/method-ptr.exp
13456 * gdb.dwarf2/missing-sig-type.exp
13457 * gdb.dwarf2/nonvar-access.exp
13458 * gdb.dwarf2/opaque-type-lookup.exp
13459 * gdb.dwarf2/pieces-optimized-out.exp
13460 * gdb.dwarf2/pieces.exp
13461 * gdb.dwarf2/pr10770.exp
13462 * gdb.dwarf2/pr13961.exp
13463 * gdb.dwarf2/staticvirtual.exp
13464 * gdb.dwarf2/subrange.exp
13465 * gdb.dwarf2/symtab-producer.exp
13466 * gdb.dwarf2/trace-crash.exp
13467 * gdb.dwarf2/typeddwarf.exp
13468 * gdb.dwarf2/valop.exp
13469 * gdb.dwarf2/watch-notconst.exp
13470 * gdb.fortran/array-element.exp
13471 * gdb.fortran/charset.exp
13472 * gdb.fortran/common-block.exp
13473 * gdb.fortran/complex.exp
13474 * gdb.fortran/derived-type-function.exp
13475 * gdb.fortran/derived-type.exp
13476 * gdb.fortran/logical.exp
13477 * gdb.fortran/module.exp
13478 * gdb.fortran/multi-dim.exp
13479 * gdb.fortran/nested-funcs.exp
13480 * gdb.fortran/print-formatted.exp
13481 * gdb.fortran/subarray.exp
13482 * gdb.fortran/vla-alloc-assoc.exp
13483 * gdb.fortran/vla-datatypes.exp
13484 * gdb.fortran/vla-history.exp
13485 * gdb.fortran/vla-ptr-info.exp
13486 * gdb.fortran/vla-ptype-sub.exp
13487 * gdb.fortran/vla-ptype.exp
13488 * gdb.fortran/vla-sizeof.exp
13489 * gdb.fortran/vla-type.exp
13490 * gdb.fortran/vla-value-sub-arbitrary.exp
13491 * gdb.fortran/vla-value-sub-finish.exp
13492 * gdb.fortran/vla-value-sub.exp
13493 * gdb.fortran/vla-value.exp
13494 * gdb.fortran/whatis_type.exp
13495 * gdb.go/chan.exp
13496 * gdb.go/handcall.exp
13497 * gdb.go/hello.exp
13498 * gdb.go/integers.exp
13499 * gdb.go/methods.exp
13500 * gdb.go/package.exp
13501 * gdb.go/strings.exp
13502 * gdb.go/types.exp
13503 * gdb.go/unsafe.exp
13504 * gdb.guile/scm-arch.exp
13505 * gdb.guile/scm-block.exp
13506 * gdb.guile/scm-breakpoint.exp
13507 * gdb.guile/scm-cmd.exp
13508 * gdb.guile/scm-disasm.exp
13509 * gdb.guile/scm-equal.exp
13510 * gdb.guile/scm-frame-args.exp
13511 * gdb.guile/scm-frame-inline.exp
13512 * gdb.guile/scm-frame.exp
13513 * gdb.guile/scm-iterator.exp
13514 * gdb.guile/scm-math.exp
13515 * gdb.guile/scm-objfile.exp
13516 * gdb.guile/scm-ports.exp
13517 * gdb.guile/scm-symbol.exp
13518 * gdb.guile/scm-symtab.exp
13519 * gdb.guile/scm-value-cc.exp
13520 * gdb.guile/types-module.exp
13521 * gdb.linespec/break-ask.exp
13522 * gdb.linespec/cpexplicit.exp
13523 * gdb.linespec/explicit.exp
13524 * gdb.linespec/keywords.exp
13525 * gdb.linespec/linespec.exp
13526 * gdb.linespec/ls-dollar.exp
13527 * gdb.linespec/ls-errs.exp
13528 * gdb.linespec/skip-two.exp
13529 * gdb.linespec/thread.exp
13530 * gdb.mi/mi-async.exp
13531 * gdb.mi/mi-basics.exp
13532 * gdb.mi/mi-break.exp
13533 * gdb.mi/mi-catch-load.exp
13534 * gdb.mi/mi-cli.exp
13535 * gdb.mi/mi-cmd-param-changed.exp
13536 * gdb.mi/mi-console.exp
13537 * gdb.mi/mi-detach.exp
13538 * gdb.mi/mi-disassemble.exp
13539 * gdb.mi/mi-eval.exp
13540 * gdb.mi/mi-file-transfer.exp
13541 * gdb.mi/mi-file.exp
13542 * gdb.mi/mi-fill-memory.exp
13543 * gdb.mi/mi-inheritance-syntax-error.exp
13544 * gdb.mi/mi-linespec-err-cp.exp
13545 * gdb.mi/mi-logging.exp
13546 * gdb.mi/mi-memory-changed.exp
13547 * gdb.mi/mi-read-memory.exp
13548 * gdb.mi/mi-record-changed.exp
13549 * gdb.mi/mi-reg-undefined.exp
13550 * gdb.mi/mi-regs.exp
13551 * gdb.mi/mi-return.exp
13552 * gdb.mi/mi-reverse.exp
13553 * gdb.mi/mi-simplerun.exp
13554 * gdb.mi/mi-solib.exp
13555 * gdb.mi/mi-stack.exp
13556 * gdb.mi/mi-stepi.exp
13557 * gdb.mi/mi-syn-frame.exp
13558 * gdb.mi/mi-until.exp
13559 * gdb.mi/mi-var-block.exp
13560 * gdb.mi/mi-var-child.exp
13561 * gdb.mi/mi-var-cmd.exp
13562 * gdb.mi/mi-var-cp.exp
13563 * gdb.mi/mi-var-display.exp
13564 * gdb.mi/mi-var-invalidate.exp
13565 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13566 * gdb.mi/mi-vla-fortran.exp
13567 * gdb.mi/mi-watch.exp
13568 * gdb.mi/mi2-var-child.exp
13569 * gdb.mi/user-selected-context-sync.exp
13570 * gdb.modula2/unbounded-array.exp
13571 * gdb.multi/dummy-frame-restore.exp
13572 * gdb.multi/multi-arch-exec.exp
13573 * gdb.multi/multi-arch.exp
13574 * gdb.multi/tids.exp
13575 * gdb.multi/watchpoint-multi.exp
13576 * gdb.opencl/callfuncs.exp
13577 * gdb.opencl/convs_casts.exp
13578 * gdb.opencl/datatypes.exp
13579 * gdb.opencl/operators.exp
13580 * gdb.opencl/vec_comps.exp
13581 * gdb.opt/clobbered-registers-O2.exp
13582 * gdb.opt/inline-break.exp
13583 * gdb.opt/inline-bt.exp
13584 * gdb.opt/inline-cmds.exp
13585 * gdb.opt/inline-locals.exp
13586 * gdb.pascal/case-insensitive-symbols.exp
13587 * gdb.pascal/floats.exp
13588 * gdb.pascal/gdb11492.exp
13589 * gdb.python/lib-types.exp
13590 * gdb.python/py-arch.exp
13591 * gdb.python/py-as-string.exp
13592 * gdb.python/py-bad-printers.exp
13593 * gdb.python/py-block.exp
13594 * gdb.python/py-breakpoint-create-fail.exp
13595 * gdb.python/py-breakpoint.exp
13596 * gdb.python/py-caller-is.exp
13597 * gdb.python/py-cmd.exp
13598 * gdb.python/py-explore-cc.exp
13599 * gdb.python/py-explore.exp
13600 * gdb.python/py-finish-breakpoint.exp
13601 * gdb.python/py-finish-breakpoint2.exp
13602 * gdb.python/py-frame-args.exp
13603 * gdb.python/py-frame-inline.exp
13604 * gdb.python/py-frame.exp
13605 * gdb.python/py-framefilter-mi.exp
13606 * gdb.python/py-infthread.exp
13607 * gdb.python/py-lazy-string.exp
13608 * gdb.python/py-linetable.exp
13609 * gdb.python/py-mi-events.exp
13610 * gdb.python/py-mi-objfile.exp
13611 * gdb.python/py-mi.exp
13612 * gdb.python/py-objfile.exp
13613 * gdb.python/py-pp-integral.exp
13614 * gdb.python/py-pp-maint.exp
13615 * gdb.python/py-pp-re-notag.exp
13616 * gdb.python/py-pp-registration.exp
13617 * gdb.python/py-recurse-unwind.exp
13618 * gdb.python/py-strfns.exp
13619 * gdb.python/py-symbol.exp
13620 * gdb.python/py-symtab.exp
13621 * gdb.python/py-sync-interp.exp
13622 * gdb.python/py-typeprint.exp
13623 * gdb.python/py-unwind-maint.exp
13624 * gdb.python/py-unwind.exp
13625 * gdb.python/py-value-cc.exp
13626 * gdb.python/py-xmethods.exp
13627 * gdb.reverse/amd64-tailcall-reverse.exp
13628 * gdb.reverse/break-precsave.exp
13629 * gdb.reverse/break-reverse.exp
13630 * gdb.reverse/consecutive-precsave.exp
13631 * gdb.reverse/consecutive-reverse.exp
13632 * gdb.reverse/finish-precsave.exp
13633 * gdb.reverse/finish-reverse-bkpt.exp
13634 * gdb.reverse/finish-reverse.exp
13635 * gdb.reverse/fstatat-reverse.exp
13636 * gdb.reverse/getresuid-reverse.exp
13637 * gdb.reverse/i386-precsave.exp
13638 * gdb.reverse/i386-reverse.exp
13639 * gdb.reverse/i386-sse-reverse.exp
13640 * gdb.reverse/i387-env-reverse.exp
13641 * gdb.reverse/i387-stack-reverse.exp
13642 * gdb.reverse/insn-reverse.exp
13643 * gdb.reverse/machinestate-precsave.exp
13644 * gdb.reverse/machinestate.exp
13645 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13646 * gdb.reverse/pipe-reverse.exp
13647 * gdb.reverse/readv-reverse.exp
13648 * gdb.reverse/recvmsg-reverse.exp
13649 * gdb.reverse/rerun-prec.exp
13650 * gdb.reverse/s390-mvcle.exp
13651 * gdb.reverse/step-precsave.exp
13652 * gdb.reverse/step-reverse.exp
13653 * gdb.reverse/time-reverse.exp
13654 * gdb.reverse/until-precsave.exp
13655 * gdb.reverse/until-reverse.exp
13656 * gdb.reverse/waitpid-reverse.exp
13657 * gdb.reverse/watch-precsave.exp
13658 * gdb.reverse/watch-reverse.exp
13659 * gdb.rust/generics.exp
13660 * gdb.rust/methods.exp
13661 * gdb.rust/modules.exp
13662 * gdb.rust/simple.exp
13663 * gdb.server/connect-with-no-symbol-file.exp
13664 * gdb.server/ext-attach.exp
13665 * gdb.server/ext-restart.exp
13666 * gdb.server/ext-wrapper.exp
13667 * gdb.server/file-transfer.exp
13668 * gdb.server/server-exec-info.exp
13669 * gdb.server/server-kill.exp
13670 * gdb.server/server-mon.exp
13671 * gdb.server/wrapper.exp
13672 * gdb.stabs/exclfwd.exp
13673 * gdb.stabs/gdb11479.exp
13674 * gdb.threads/clone-new-thread-event.exp
13675 * gdb.threads/corethreads.exp
13676 * gdb.threads/current-lwp-dead.exp
13677 * gdb.threads/dlopen-libpthread.exp
13678 * gdb.threads/gcore-thread.exp
13679 * gdb.threads/sigstep-threads.exp
13680 * gdb.threads/watchpoint-fork.exp
13681 * gdb.trace/actions-changed.exp
13682 * gdb.trace/backtrace.exp
13683 * gdb.trace/change-loc.exp
13684 * gdb.trace/circ.exp
13685 * gdb.trace/collection.exp
13686 * gdb.trace/disconnected-tracing.exp
13687 * gdb.trace/ftrace.exp
13688 * gdb.trace/mi-trace-frame-collected.exp
13689 * gdb.trace/mi-trace-unavailable.exp
13690 * gdb.trace/mi-traceframe-changed.exp
13691 * gdb.trace/mi-tsv-changed.exp
13692 * gdb.trace/no-attach-trace.exp
13693 * gdb.trace/passc-dyn.exp
13694 * gdb.trace/qtro.exp
13695 * gdb.trace/range-stepping.exp
13696 * gdb.trace/read-memory.exp
13697 * gdb.trace/save-trace.exp
13698 * gdb.trace/signal.exp
13699 * gdb.trace/status-stop.exp
13700 * gdb.trace/tfile.exp
13701 * gdb.trace/trace-break.exp
13702 * gdb.trace/trace-buffer-size.exp
13703 * gdb.trace/trace-condition.exp
13704 * gdb.trace/tracefile-pseudo-reg.exp
13705 * gdb.trace/tstatus.exp
13706 * gdb.trace/unavailable.exp
13707 * gdb.trace/while-dyn.exp
13708 * gdb.trace/while-stepping.exp
13709
34c41c68
DE
137102016-12-22 Doug Evans <xdje42@gmail.com>
13711
13712 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13713 and msymbols.
13714
16e69324
YQ
137152016-12-19 Yao Qi <yao.qi@linaro.org>
13716
13717 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13718 (test_with_self): Don't call do_steps_and_nexts, and remove
13719 code about stepping into xmalloc.
13720
f94f411b
YQ
137212016-12-09 Yao Qi <yao.qi@linaro.org>
13722
13723 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13724
137252016-12-09 Yao Qi <yao.qi@linaro.org>
13726
13727 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13728
f1b5deee
PA
137292016-12-09 Pedro Alves <palves@redhat.com>
13730
13731 * gdb.base/all-architectures-0.exp: New file.
13732 * gdb.base/all-architectures-1.exp: New file.
13733 * gdb.base/all-architectures-2.exp: New file.
13734 * gdb.base/all-architectures-3.exp: New file.
13735 * gdb.base/all-architectures-4.exp: New file.
13736 * gdb.base/all-architectures-5.exp: New file.
13737 * gdb.base/all-architectures-6.exp: New file.
13738 * gdb.base/all-architectures-7.exp: New file.
13739 * gdb.base/all-architectures.exp.in: New file.
13740
364ca42e
YQ
137412016-12-09 Yao Qi <yao.qi@linaro.org>
13742
13743 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13744
107c2d62
LM
137452016-12-02 Luis Machado <lgustavo@codesourcery.com>
13746
13747 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13748 possible.
13749 Remove useless pattern-matching code.
13750
df3ee9ca
PA
137512016-12-02 Pedro Alves <palves@redhat.com>
13752
13753 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13754 procedure.
13755 (top level): Call it.
13756
ec835369
PA
137572016-12-02 Pedro Alves <palves@redhat.com>
13758
13759 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13760 New procedure.
13761 (top level): Call it.
13762
01770bbd
PA
137632016-12-02 Pedro Alves <palves@redhat.com>
13764
13765 PR cli/20559
13766 * gdb.base/commands.exp (user_defined_command_args_eval): New
13767 procedure.
13768 (top level): Call it.
13769
008459ea
LM
137702016-12-02 Luis Machado <lgustavo@codesourcery.com>
13771
13772 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13773 timeout handling.
13774
0c1b455e
TT
137752016-12-02 Tom Tromey <tom@tromey.com>
13776
13777 * gdb.dwarf2/main-subprogram.c: New file.
13778 * gdb.dwarf2/main-subprogram.exp: New file.
13779
018572b8
LM
137802016-12-01 Luis Machado <lgustavo@codesourcery.com>
13781
13782 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13783 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13784 gdb_test_no_output for a couple of cases.
13785 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13786
84c93cd5
LM
137872016-12-01 Luis Machado <lgustavo@codesourcery.com>
13788
13789 Fix test names and standardize compilation error messages throughout
13790 the following files:
13791
13792 * gdb.ada/start.exp
13793 * gdb.arch/alpha-step.exp
13794 * gdb.arch/e500-prologue.exp
13795 * gdb.arch/ftrace-insn-reloc.exp
13796 * gdb.arch/gdb1291.exp
13797 * gdb.arch/gdb1431.exp
13798 * gdb.arch/gdb1558.exp
13799 * gdb.arch/i386-dr3-watch.exp
13800 * gdb.arch/i386-sse-stack-align.exp
13801 * gdb.arch/ia64-breakpoint-shadow.exp
13802 * gdb.arch/pa-nullify.exp
13803 * gdb.arch/powerpc-aix-prologue.exp
13804 * gdb.arch/thumb-bx-pc.exp
13805 * gdb.base/annota1.exp
13806 * gdb.base/annota3.exp
13807 * gdb.base/arrayidx.exp
13808 * gdb.base/assign.exp
13809 * gdb.base/attach.exp
13810 * gdb.base/auxv.exp
13811 * gdb.base/bang.exp
13812 * gdb.base/bfp-test.exp
13813 * gdb.base/bigcore.exp
13814 * gdb.base/bitfields2.exp
13815 * gdb.base/break-fun-addr.exp
13816 * gdb.base/break-probes.exp
13817 * gdb.base/call-rt-st.exp
13818 * gdb.base/callexit.exp
13819 * gdb.base/catch-fork-kill.exp
13820 * gdb.base/charset.exp
13821 * gdb.base/checkpoint.exp
13822 * gdb.base/comprdebug.exp
13823 * gdb.base/constvars.exp
13824 * gdb.base/coredump-filter.exp
13825 * gdb.base/cursal.exp
13826 * gdb.base/cvexpr.exp
13827 * gdb.base/detach.exp
13828 * gdb.base/display.exp
13829 * gdb.base/dmsym.exp
13830 * gdb.base/dprintf-pending.exp
13831 * gdb.base/dso2dso.exp
13832 * gdb.base/dtrace-probe.exp
13833 * gdb.base/dump.exp
13834 * gdb.base/enum_cond.exp
13835 * gdb.base/exe-lock.exp
13836 * gdb.base/exec-invalid-sysroot.exp
13837 * gdb.base/execl-update-breakpoints.exp
13838 * gdb.base/exprs.exp
13839 * gdb.base/fileio.exp
13840 * gdb.base/find.exp
13841 * gdb.base/finish.exp
13842 * gdb.base/fixsection.exp
13843 * gdb.base/foll-vfork.exp
13844 * gdb.base/frame-args.exp
13845 * gdb.base/gcore.exp
13846 * gdb.base/gdb1250.exp
13847 * gdb.base/global-var-nested-by-dso.exp
13848 * gdb.base/gnu-ifunc.exp
13849 * gdb.base/hashline1.exp
13850 * gdb.base/hashline2.exp
13851 * gdb.base/hashline3.exp
13852 * gdb.base/hbreak-in-shr-unsupported.exp
13853 * gdb.base/huge.exp
13854 * gdb.base/infcall-input.exp
13855 * gdb.base/info-fun.exp
13856 * gdb.base/info-shared.exp
13857 * gdb.base/jit-simple.exp
13858 * gdb.base/jit-so.exp
13859 * gdb.base/jit.exp
13860 * gdb.base/jump.exp
13861 * gdb.base/label.exp
13862 * gdb.base/lineinc.exp
13863 * gdb.base/logical.exp
13864 * gdb.base/longjmp.exp
13865 * gdb.base/macscp.exp
13866 * gdb.base/miscexprs.exp
13867 * gdb.base/new-ui-echo.exp
13868 * gdb.base/new-ui-pending-input.exp
13869 * gdb.base/new-ui.exp
13870 * gdb.base/nodebug.exp
13871 * gdb.base/nofield.exp
13872 * gdb.base/offsets.exp
13873 * gdb.base/overlays.exp
13874 * gdb.base/pending.exp
13875 * gdb.base/pointers.exp
13876 * gdb.base/pr11022.exp
13877 * gdb.base/printcmds.exp
13878 * gdb.base/prologue.exp
13879 * gdb.base/ptr-typedef.exp
13880 * gdb.base/realname-expand.exp
13881 * gdb.base/relativedebug.exp
13882 * gdb.base/relocate.exp
13883 * gdb.base/remote.exp
13884 * gdb.base/reread.exp
13885 * gdb.base/return2.exp
13886 * gdb.base/savedregs.exp
13887 * gdb.base/sep.exp
13888 * gdb.base/sepdebug.exp
13889 * gdb.base/sepsymtab.exp
13890 * gdb.base/set-inferior-tty.exp
13891 * gdb.base/setshow.exp
13892 * gdb.base/shlib-call.exp
13893 * gdb.base/sigaltstack.exp
13894 * gdb.base/siginfo-addr.exp
13895 * gdb.base/signals.exp
13896 * gdb.base/signull.exp
13897 * gdb.base/sigrepeat.exp
13898 * gdb.base/so-impl-ld.exp
13899 * gdb.base/solib-display.exp
13900 * gdb.base/solib-overlap.exp
13901 * gdb.base/solib-search.exp
13902 * gdb.base/solib-symbol.exp
13903 * gdb.base/structs.exp
13904 * gdb.base/structs2.exp
13905 * gdb.base/symtab-search-order.exp
13906 * gdb.base/twice.exp
13907 * gdb.base/unload.exp
13908 * gdb.base/varargs.exp
13909 * gdb.base/watchpoint-solib.exp
13910 * gdb.base/watchpoint.exp
13911 * gdb.base/whatis.exp
13912 * gdb.base/wrong_frame_bt_full.exp
13913 * gdb.btrace/dlopen.exp
13914 * gdb.cell/ea-standalone.exp
13915 * gdb.cell/ea-test.exp
13916 * gdb.cp/dispcxx.exp
13917 * gdb.cp/gdb2384.exp
13918 * gdb.cp/method2.exp
13919 * gdb.cp/nextoverthrow.exp
13920 * gdb.cp/pr10728.exp
13921 * gdb.disasm/am33.exp
13922 * gdb.disasm/h8300s.exp
13923 * gdb.disasm/mn10300.exp
13924 * gdb.disasm/sh3.exp
13925 * gdb.dwarf2/dw2-dir-file-name.exp
13926 * gdb.fortran/complex.exp
13927 * gdb.fortran/library-module.exp
13928 * gdb.guile/scm-pretty-print.exp
13929 * gdb.guile/scm-symbol.exp
13930 * gdb.guile/scm-type.exp
13931 * gdb.guile/scm-value.exp
13932 * gdb.linespec/linespec.exp
13933 * gdb.mi/gdb701.exp
13934 * gdb.mi/gdb792.exp
13935 * gdb.mi/mi-breakpoint-changed.exp
13936 * gdb.mi/mi-dprintf-pending.exp
13937 * gdb.mi/mi-dprintf.exp
13938 * gdb.mi/mi-exit-code.exp
13939 * gdb.mi/mi-pending.exp
13940 * gdb.mi/mi-solib.exp
13941 * gdb.mi/new-ui-mi-sync.exp
13942 * gdb.mi/pr11022.exp
13943 * gdb.mi/user-selected-context-sync.exp
13944 * gdb.opt/solib-intra-step.exp
13945 * gdb.python/py-events.exp
13946 * gdb.python/py-finish-breakpoint.exp
13947 * gdb.python/py-mi.exp
13948 * gdb.python/py-prettyprint.exp
13949 * gdb.python/py-shared.exp
13950 * gdb.python/py-symbol.exp
13951 * gdb.python/py-template.exp
13952 * gdb.python/py-type.exp
13953 * gdb.python/py-value.exp
13954 * gdb.reverse/solib-precsave.exp
13955 * gdb.reverse/solib-reverse.exp
13956 * gdb.server/solib-list.exp
13957 * gdb.stabs/weird.exp
13958 * gdb.threads/reconnect-signal.exp
13959 * gdb.threads/stepi-random-signal.exp
13960 * gdb.trace/actions.exp
13961 * gdb.trace/ax.exp
13962 * gdb.trace/backtrace.exp
13963 * gdb.trace/change-loc.exp
13964 * gdb.trace/deltrace.exp
13965 * gdb.trace/ftrace-lock.exp
13966 * gdb.trace/ftrace.exp
13967 * gdb.trace/infotrace.exp
13968 * gdb.trace/mi-tracepoint-changed.exp
13969 * gdb.trace/packetlen.exp
13970 * gdb.trace/passcount.exp
13971 * gdb.trace/pending.exp
13972 * gdb.trace/range-stepping.exp
13973 * gdb.trace/report.exp
13974 * gdb.trace/stap-trace.exp
13975 * gdb.trace/tfind.exp
13976 * gdb.trace/trace-break.exp
13977 * gdb.trace/trace-condition.exp
13978 * gdb.trace/trace-enable-disable.exp
13979 * gdb.trace/trace-mt.exp
13980 * gdb.trace/tracecmd.exp
13981 * gdb.trace/tspeed.exp
13982 * gdb.trace/tsv.exp
13983 * lib/perftest.exp
13984
fb9feb35
LM
139852016-12-01 Luis Machado <lgustavo@codesourcery.com>
13986
13987 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13988 with gdb_test_no_output.
13989 Use command as test name.
13990
cd2ddb6c
LM
139912016-12-01 Luis Machado <lgustavo@codesourcery.com>
13992
13993 Fix test names starting with uppercase throughout the files.
13994
13995 * gdb.ada/assign_1.exp
13996 * gdb.ada/boolean_expr.exp
13997 * gdb.base/arrayidx.exp
13998 * gdb.base/del.exp
13999 * gdb.base/gcore-buffer-overflow.exp
14000 * gdb.base/testenv.exp
14001 * gdb.compile/compile.exp
14002 * gdb.python/py-framefilter-invalidarg.exp
14003 * gdb.python/py-framefilter.exp
14004
bb95117e
LM
140052016-12-01 Luis Machado <lgustavo@codesourcery.com>
14006
14007 Fix test names starting with uppercase throughout the files.
14008
14009 * gdb.ada/array_return.exp
14010 * gdb.ada/expr_delims.exp
14011 * gdb.ada/mi_dyn_arr.exp
14012 * gdb.ada/mi_interface.exp
14013 * gdb.ada/mi_var_array.exp
14014 * gdb.ada/watch_arg.exp
14015 * gdb.arch/alpha-step.exp
14016 * gdb.arch/altivec-regs.exp
14017 * gdb.arch/e500-regs.exp
14018 * gdb.arch/powerpc-d128-regs.exp
14019 * gdb.base/arrayidx.exp
14020 * gdb.base/break.exp
14021 * gdb.base/checkpoint.exp
14022 * gdb.base/debug-expr.exp
14023 * gdb.base/dmsym.exp
14024 * gdb.base/radix.exp
14025 * gdb.base/sepdebug.exp
14026 * gdb.base/testenv.exp
14027 * gdb.base/watch_thread_num.exp
14028 * gdb.base/watchpoint-cond-gone.exp
14029 * gdb.cell/break.exp
14030 * gdb.cell/ea-cache.exp
14031 * gdb.compile/compile.exp
14032 * gdb.cp/gdb2495.exp
14033 * gdb.gdb/selftest.exp
14034 * gdb.gdb/xfullpath.exp
14035 * gdb.go/hello.exp
14036 * gdb.go/integers.exp
14037 * gdb.objc/basicclass.exp
14038 * gdb.pascal/hello.exp
14039 * gdb.pascal/integers.exp
14040 * gdb.python/py-breakpoint.exp
14041 * gdb.python/py-cmd.exp
14042 * gdb.python/py-linetable.exp
14043 * gdb.python/py-xmethods.exp
14044 * gdb.python/python.exp
14045 * gdb.reverse/consecutive-precsave.exp
14046 * gdb.reverse/finish-precsave.exp
14047 * gdb.reverse/i386-precsave.exp
14048 * gdb.reverse/machinestate-precsave.exp
14049 * gdb.reverse/sigall-precsave.exp
14050 * gdb.reverse/solib-precsave.exp
14051 * gdb.reverse/step-precsave.exp
14052 * gdb.reverse/until-precsave.exp
14053 * gdb.reverse/watch-precsave.exp
14054 * gdb.threads/leader-exit.exp
14055 * gdb.threads/pthreads.exp
14056 * gdb.threads/wp-replication.exp
14057 * gdb.trace/actions.exp
14058 * gdb.trace/mi-tsv-changed.exp
14059 * gdb.trace/tsv.exp
14060
de97fdd4
LM
140612016-12-01 Luis Machado <lgustavo@codesourcery.com>
14062
14063 Fix test names starting with uppercase throughout the files.
14064
14065 * gdb.arch/i386-bp_permanent.exp
14066 * gdb.arch/i386-gnu-cfi.exp
14067 * gdb.base/disasm-end-cu.exp
14068 * gdb.base/macscp.exp
14069 * gdb.base/pending.exp
14070 * gdb.base/watch_thread_num.exp
14071 * gdb.cp/exception.exp
14072 * gdb.cp/gdb2495.exp
14073 * gdb.cp/local.exp
14074 * gdb.python/py-evsignal.exp
14075 * gdb.python/python.exp
14076 * gdb.trace/tracecmd.exp
14077
9f058c10
LM
140782016-12-01 Luis Machado <lgustavo@codesourcery.com>
14079
14080 Fix test names starting with uppercase throughout the files.
14081
14082 * gdb.base/charset.exp
14083 * gdb.base/eval.exp
14084 * gdb.base/multi-forks.exp
14085 * gdb.guile/scm-progspace.exp
14086 * gdb.opencl/datatypes.exp
14087 * gdb.python/py-block.exp
14088 * gdb.python/py-function.exp
14089 * gdb.python/py-symbol.exp
14090 * gdb.python/py-symtab.exp
14091 * gdb.python/py-xmethods.exp
14092 * gdb.reverse/break-precsave.exp
14093 * gdb.reverse/break-reverse.exp
14094 * gdb.reverse/consecutive-precsave.exp
14095 * gdb.reverse/consecutive-reverse.exp
14096 * gdb.reverse/finish-precsave.exp
14097 * gdb.reverse/finish-reverse-bkpt.exp
14098 * gdb.reverse/finish-reverse.exp
14099 * gdb.reverse/fstatat-reverse.exp
14100 * gdb.reverse/getresuid-reverse.exp
14101 * gdb.reverse/i386-precsave.exp
14102 * gdb.reverse/i386-reverse.exp
14103 * gdb.reverse/i386-sse-reverse.exp
14104 * gdb.reverse/i387-stack-reverse.exp
14105 * gdb.reverse/insn-reverse.exp
14106 * gdb.reverse/machinestate-precsave.exp
14107 * gdb.reverse/machinestate.exp
14108 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14109 * gdb.reverse/pipe-reverse.exp
14110 * gdb.reverse/readv-reverse.exp
14111 * gdb.reverse/recvmsg-reverse.exp
14112 * gdb.reverse/rerun-prec.exp
14113 * gdb.reverse/s390-mvcle.exp
14114 * gdb.reverse/sigall-precsave.exp
14115 * gdb.reverse/sigall-reverse.exp
14116 * gdb.reverse/solib-precsave.exp
14117 * gdb.reverse/solib-reverse.exp
14118 * gdb.reverse/step-precsave.exp
14119 * gdb.reverse/step-reverse.exp
14120 * gdb.reverse/time-reverse.exp
14121 * gdb.reverse/until-precsave.exp
14122 * gdb.reverse/until-reverse.exp
14123 * gdb.reverse/waitpid-reverse.exp
14124 * gdb.reverse/watch-precsave.exp
14125 * gdb.reverse/watch-reverse.exp
14126
cdc7edd7
LM
141272016-12-01 Luis Machado <lgustavo@codesourcery.com>
14128
14129 Fix test names starting with uppercase throughout the files.
14130
14131 * gdb.arch/i386-mpx-simple_segv.exp
14132 * gdb.arch/i386-mpx.exp
14133 * gdb.arch/i386-permbkpt.exp
14134 * gdb.arch/pa-nullify.exp
14135 * gdb.arch/powerpc-d128-regs.exp
14136 * gdb.arch/vsx-regs.exp
14137 * gdb.base/bfp-test.exp
14138 * gdb.base/break.exp
14139 * gdb.base/breakpoint-shadow.exp
14140 * gdb.base/callfuncs.exp
14141 * gdb.base/charset.exp
14142 * gdb.base/commands.exp
14143 * gdb.base/completion.exp
14144 * gdb.base/dfp-test.exp
14145 * gdb.base/echo.exp
14146 * gdb.base/ending-run.exp
14147 * gdb.base/eval.exp
14148 * gdb.base/expand-psymtabs.exp
14149 * gdb.base/float128.exp
14150 * gdb.base/floatn.exp
14151 * gdb.base/foll-exec-mode.exp
14152 * gdb.base/gdb1056.exp
14153 * gdb.base/gdb11531.exp
14154 * gdb.base/kill-after-signal.exp
14155 * gdb.base/multi-forks.exp
14156 * gdb.base/overlays.exp
14157 * gdb.base/pending.exp
14158 * gdb.base/sepdebug.exp
14159 * gdb.base/testenv.exp
14160 * gdb.base/valgrind-db-attach.exp
14161 * gdb.base/watch_thread_num.exp
14162 * gdb.base/watchpoint-cond-gone.exp
14163 * gdb.base/watchpoint.exp
14164 * gdb.base/watchpoints.exp
14165 * gdb.cp/arg-reference.exp
14166 * gdb.cp/baseenum.exp
14167 * gdb.cp/operator.exp
14168 * gdb.cp/shadow.exp
14169 * gdb.dwarf2/dw2-op-out-param.exp
14170 * gdb.dwarf2/dw2-reg-undefined.exp
14171 * gdb.go/chan.exp
14172 * gdb.go/hello.exp
14173 * gdb.go/integers.exp
14174 * gdb.go/methods.exp
14175 * gdb.go/package.exp
14176 * gdb.guile/scm-parameter.exp
14177 * gdb.guile/scm-progspace.exp
14178 * gdb.guile/scm-value.exp
14179 * gdb.mi/mi-pending.exp
14180 * gdb.mi/user-selected-context-sync.exp
14181 * gdb.multi/multi-attach.exp
14182 * gdb.multi/tids.exp
14183 * gdb.opt/clobbered-registers-O2.exp
14184 * gdb.pascal/floats.exp
14185 * gdb.pascal/integers.exp
14186 * gdb.python/py-block.exp
14187 * gdb.python/py-events.exp
14188 * gdb.python/py-parameter.exp
14189 * gdb.python/py-symbol.exp
14190 * gdb.python/py-symtab.exp
14191 * gdb.python/py-type.exp
14192 * gdb.python/py-value.exp
14193 * gdb.python/py-xmethods.exp
14194 * gdb.python/python.exp
14195 * gdb.reverse/break-precsave.exp
14196 * gdb.reverse/consecutive-precsave.exp
14197 * gdb.reverse/finish-precsave.exp
14198 * gdb.reverse/i386-precsave.exp
14199 * gdb.reverse/machinestate-precsave.exp
14200 * gdb.reverse/sigall-precsave.exp
14201 * gdb.reverse/solib-precsave.exp
14202 * gdb.reverse/step-precsave.exp
14203 * gdb.reverse/until-precsave.exp
14204 * gdb.reverse/watch-precsave.exp
14205 * gdb.server/ext-attach.exp
14206 * gdb.server/ext-restart.exp
14207 * gdb.server/ext-run.exp
14208 * gdb.server/ext-wrapper.exp
14209 * gdb.stabs/gdb11479.exp
14210 * gdb.stabs/weird.exp
14211 * gdb.threads/attach-many-short-lived-threads.exp
14212 * gdb.threads/kill.exp
14213 * gdb.threads/watchpoint-fork.exp
14214
bc6c7af4
LM
142152016-12-01 Luis Machado <lgustavo@codesourcery.com>
14216
14217 Fix test names starting with uppercase throughout all the files below.
14218
14219 * gdb.ada/array_return.exp
14220 * gdb.ada/catch_ex.exp
14221 * gdb.ada/info_exc.exp
14222 * gdb.ada/mi_catch_ex.exp
14223 * gdb.ada/mi_dyn_arr.exp
14224 * gdb.ada/mi_ex_cond.exp
14225 * gdb.ada/mi_exc_info.exp
14226 * gdb.ada/mi_interface.exp
14227 * gdb.ada/mi_task_arg.exp
14228 * gdb.ada/mi_task_info.exp
14229 * gdb.ada/mi_var_array.exp
14230 * gdb.arch/alpha-step.exp
14231 * gdb.arch/amd64-disp-step.exp
14232 * gdb.arch/arm-disp-step.exp
14233 * gdb.arch/disp-step-insn-reloc.exp
14234 * gdb.arch/e500-prologue.exp
14235 * gdb.arch/ftrace-insn-reloc.exp
14236 * gdb.arch/gdb1558.exp
14237 * gdb.arch/i386-bp_permanent.exp
14238 * gdb.arch/i386-disp-step.exp
14239 * gdb.arch/i386-float.exp
14240 * gdb.arch/i386-gnu-cfi.exp
14241 * gdb.arch/ia64-breakpoint-shadow.exp
14242 * gdb.arch/mips16-thunks.exp
14243 * gdb.arch/pa-nullify.exp
14244 * gdb.arch/powerpc-aix-prologue.exp
14245 * gdb.arch/powerpc-power.exp
14246 * gdb.arch/ppc-dfp.exp
14247 * gdb.arch/s390-tdbregs.exp
14248 * gdb.arch/spu-info.exp
14249 * gdb.arch/spu-ls.exp
14250 * gdb.arch/thumb-bx-pc.exp
14251 * gdb.base/advance.exp
14252 * gdb.base/annota-input-while-running.exp
14253 * gdb.base/arrayidx.exp
14254 * gdb.base/asmlabel.exp
14255 * gdb.base/async.exp
14256 * gdb.base/attach-wait-input.exp
14257 * gdb.base/auto-connect-native-target.exp
14258 * gdb.base/batch-preserve-term-settings.exp
14259 * gdb.base/bfp-test.exp
14260 * gdb.base/bigcore.exp
14261 * gdb.base/bp-permanent.exp
14262 * gdb.base/break-always.exp
14263 * gdb.base/break-fun-addr.exp
14264 * gdb.base/break-idempotent.exp
14265 * gdb.base/break-main-file-remove-fail.exp
14266 * gdb.base/break-probes.exp
14267 * gdb.base/break-unload-file.exp
14268 * gdb.base/break.exp
14269 * gdb.base/call-ar-st.exp
14270 * gdb.base/call-rt-st.exp
14271 * gdb.base/call-sc.exp
14272 * gdb.base/call-signal-resume.exp
14273 * gdb.base/call-strs.exp
14274 * gdb.base/callexit.exp
14275 * gdb.base/callfuncs.exp
14276 * gdb.base/catch-gdb-caused-signals.exp
14277 * gdb.base/catch-signal-siginfo-cond.exp
14278 * gdb.base/catch-syscall.exp
14279 * gdb.base/compare-sections.exp
14280 * gdb.base/cond-eval-mode.exp
14281 * gdb.base/condbreak-call-false.exp
14282 * gdb.base/consecutive-step-over.exp
14283 * gdb.base/cursal.exp
14284 * gdb.base/disabled-location.exp
14285 * gdb.base/disasm-end-cu.exp
14286 * gdb.base/display.exp
14287 * gdb.base/double-prompt-target-event-error.exp
14288 * gdb.base/dprintf-bp-same-addr.exp
14289 * gdb.base/dprintf-detach.exp
14290 * gdb.base/dprintf-next.exp
14291 * gdb.base/dprintf-non-stop.exp
14292 * gdb.base/dprintf-pending.exp
14293 * gdb.base/dso2dso.exp
14294 * gdb.base/ending-run.exp
14295 * gdb.base/enum_cond.exp
14296 * gdb.base/examine-backward.exp
14297 * gdb.base/exe-lock.exp
14298 * gdb.base/exec-invalid-sysroot.exp
14299 * gdb.base/execl-update-breakpoints.exp
14300 * gdb.base/execution-termios.exp
14301 * gdb.base/fileio.exp
14302 * gdb.base/fixsection.exp
14303 * gdb.base/foll-exec-mode.exp
14304 * gdb.base/foll-exec.exp
14305 * gdb.base/fork-running-state.exp
14306 * gdb.base/frame-args.exp
14307 * gdb.base/fullpath-expand.exp
14308 * gdb.base/func-ptr.exp
14309 * gdb.base/gcore-relro-pie.exp
14310 * gdb.base/gdb1090.exp
14311 * gdb.base/gdb1555.exp
14312 * gdb.base/global-var-nested-by-dso.exp
14313 * gdb.base/gnu-ifunc.exp
14314 * gdb.base/hbreak-in-shr-unsupported.exp
14315 * gdb.base/hbreak-unmapped.exp
14316 * gdb.base/hook-stop.exp
14317 * gdb.base/infcall-input.exp
14318 * gdb.base/info-fun.exp
14319 * gdb.base/info-shared.exp
14320 * gdb.base/interrupt-noterm.exp
14321 * gdb.base/jit-so.exp
14322 * gdb.base/jit.exp
14323 * gdb.base/line-symtabs.exp
14324 * gdb.base/list.exp
14325 * gdb.base/longjmp.exp
14326 * gdb.base/macscp.exp
14327 * gdb.base/max-value-size.exp
14328 * gdb.base/nodebug.exp
14329 * gdb.base/nofield.exp
14330 * gdb.base/overlays.exp
14331 * gdb.base/paginate-after-ctrl-c-running.exp
14332 * gdb.base/paginate-bg-execution.exp
14333 * gdb.base/paginate-inferior-exit.exp
14334 * gdb.base/pending.exp
14335 * gdb.base/pr11022.exp
14336 * gdb.base/printcmds.exp
14337 * gdb.base/ptr-typedef.exp
14338 * gdb.base/ptype.exp
14339 * gdb.base/randomize.exp
14340 * gdb.base/range-stepping.exp
14341 * gdb.base/realname-expand.exp
14342 * gdb.base/relativedebug.exp
14343 * gdb.base/remote.exp
14344 * gdb.base/savedregs.exp
14345 * gdb.base/sepdebug.exp
14346 * gdb.base/set-noassign.exp
14347 * gdb.base/shlib-call.exp
14348 * gdb.base/shreloc.exp
14349 * gdb.base/sigaltstack.exp
14350 * gdb.base/sigbpt.exp
14351 * gdb.base/siginfo-addr.exp
14352 * gdb.base/siginfo-obj.exp
14353 * gdb.base/siginfo-thread.exp
14354 * gdb.base/signest.exp
14355 * gdb.base/signull.exp
14356 * gdb.base/sigrepeat.exp
14357 * gdb.base/skip.exp
14358 * gdb.base/so-impl-ld.exp
14359 * gdb.base/solib-corrupted.exp
14360 * gdb.base/solib-disc.exp
14361 * gdb.base/solib-display.exp
14362 * gdb.base/solib-overlap.exp
14363 * gdb.base/solib-search.exp
14364 * gdb.base/solib-symbol.exp
14365 * gdb.base/source-execution.exp
14366 * gdb.base/sss-bp-on-user-bp-2.exp
14367 * gdb.base/sss-bp-on-user-bp.exp
14368 * gdb.base/stack-checking.exp
14369 * gdb.base/stale-infcall.exp
14370 * gdb.base/step-break.exp
14371 * gdb.base/step-line.exp
14372 * gdb.base/step-over-exit.exp
14373 * gdb.base/step-test.exp
14374 * gdb.base/structs.exp
14375 * gdb.base/sym-file.exp
14376 * gdb.base/symtab-search-order.exp
14377 * gdb.base/term.exp
14378 * gdb.base/type-opaque.exp
14379 * gdb.base/unload.exp
14380 * gdb.base/until-nodebug.exp
14381 * gdb.base/until.exp
14382 * gdb.base/unwindonsignal.exp
14383 * gdb.base/watch-cond.exp
14384 * gdb.base/watch-non-mem.exp
14385 * gdb.base/watch_thread_num.exp
14386 * gdb.base/watchpoint-reuse-slot.exp
14387 * gdb.base/watchpoint-solib.exp
14388 * gdb.base/watchpoint.exp
14389 * gdb.btrace/dlopen.exp
14390 * gdb.cell/arch.exp
14391 * gdb.cell/break.exp
14392 * gdb.cell/bt.exp
14393 * gdb.cell/core.exp
14394 * gdb.cell/data.exp
14395 * gdb.cell/dwarfaddr.exp
14396 * gdb.cell/ea-cache.exp
14397 * gdb.cell/ea-standalone.exp
14398 * gdb.cell/ea-test.exp
14399 * gdb.cell/f-regs.exp
14400 * gdb.cell/fork.exp
14401 * gdb.cell/gcore.exp
14402 * gdb.cell/mem-access.exp
14403 * gdb.cell/ptype.exp
14404 * gdb.cell/registers.exp
14405 * gdb.cell/sizeof.exp
14406 * gdb.cell/solib-symbol.exp
14407 * gdb.cell/solib.exp
14408 * gdb.compile/compile-tls.exp
14409 * gdb.cp/exception.exp
14410 * gdb.cp/gdb2495.exp
14411 * gdb.cp/local.exp
14412 * gdb.cp/mb-inline.exp
14413 * gdb.cp/mb-templates.exp
14414 * gdb.cp/pr10687.exp
14415 * gdb.cp/pr9167.exp
14416 * gdb.cp/scope-err.exp
14417 * gdb.cp/templates.exp
14418 * gdb.cp/virtfunc.exp
14419 * gdb.dwarf2/dw2-dir-file-name.exp
14420 * gdb.dwarf2/dw2-single-line-discriminators.exp
14421 * gdb.fortran/complex.exp
14422 * gdb.fortran/library-module.exp
14423 * gdb.guile/guile.exp
14424 * gdb.guile/scm-cmd.exp
14425 * gdb.guile/scm-frame-inline.exp
14426 * gdb.guile/scm-objfile.exp
14427 * gdb.guile/scm-pretty-print.exp
14428 * gdb.guile/scm-symbol.exp
14429 * gdb.guile/scm-type.exp
14430 * gdb.guile/scm-value.exp
14431 * gdb.linespec/keywords.exp
14432 * gdb.linespec/ls-errs.exp
14433 * gdb.linespec/macro-relative.exp
14434 * gdb.linespec/thread.exp
14435 * gdb.mi/mi-breakpoint-changed.exp
14436 * gdb.mi/mi-dprintf-pending.exp
14437 * gdb.mi/mi-fullname-deleted.exp
14438 * gdb.mi/mi-logging.exp
14439 * gdb.mi/mi-pending.exp
14440 * gdb.mi/mi-solib.exp
14441 * gdb.mi/new-ui-mi-sync.exp
14442 * gdb.mi/user-selected-context-sync.exp
14443 * gdb.multi/dummy-frame-restore.exp
14444 * gdb.multi/multi-arch-exec.exp
14445 * gdb.multi/remove-inferiors.exp
14446 * gdb.multi/watchpoint-multi-exit.exp
14447 * gdb.opt/solib-intra-step.exp
14448 * gdb.perf/backtrace.exp
14449 * gdb.perf/single-step.exp
14450 * gdb.perf/skip-command.exp
14451 * gdb.perf/skip-prologue.exp
14452 * gdb.perf/solib.exp
14453 * gdb.python/lib-types.exp
14454 * gdb.python/py-as-string.exp
14455 * gdb.python/py-bad-printers.exp
14456 * gdb.python/py-block.exp
14457 * gdb.python/py-breakpoint.exp
14458 * gdb.python/py-cmd.exp
14459 * gdb.python/py-events.exp
14460 * gdb.python/py-evthreads.exp
14461 * gdb.python/py-finish-breakpoint.exp
14462 * gdb.python/py-finish-breakpoint2.exp
14463 * gdb.python/py-frame-inline.exp
14464 * gdb.python/py-frame.exp
14465 * gdb.python/py-inferior.exp
14466 * gdb.python/py-infthread.exp
14467 * gdb.python/py-mi.exp
14468 * gdb.python/py-objfile.exp
14469 * gdb.python/py-pp-maint.exp
14470 * gdb.python/py-pp-registration.exp
14471 * gdb.python/py-prettyprint.exp
14472 * gdb.python/py-recurse-unwind.exp
14473 * gdb.python/py-shared.exp
14474 * gdb.python/py-symbol.exp
14475 * gdb.python/py-symtab.exp
14476 * gdb.python/py-template.exp
14477 * gdb.python/py-type.exp
14478 * gdb.python/py-unwind-maint.exp
14479 * gdb.python/py-unwind.exp
14480 * gdb.python/py-value.exp
14481 * gdb.python/python.exp
14482 * gdb.reverse/finish-reverse-bkpt.exp
14483 * gdb.reverse/insn-reverse.exp
14484 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14485 * gdb.reverse/solib-precsave.exp
14486 * gdb.reverse/solib-reverse.exp
14487 * gdb.stabs/gdb11479.exp
14488 * gdb.stabs/weird.exp
14489 * gdb.threads/fork-child-threads.exp
14490 * gdb.threads/fork-plus-threads.exp
14491 * gdb.threads/fork-thread-pending.exp
14492 * gdb.threads/forking-threads-plus-breakpoint.exp
14493 * gdb.threads/hand-call-in-threads.exp
14494 * gdb.threads/interrupted-hand-call.exp
14495 * gdb.threads/linux-dp.exp
14496 * gdb.threads/local-watch-wrong-thread.exp
14497 * gdb.threads/next-while-other-thread-longjmps.exp
14498 * gdb.threads/non-ldr-exit.exp
14499 * gdb.threads/pending-step.exp
14500 * gdb.threads/print-threads.exp
14501 * gdb.threads/process-dies-while-detaching.exp
14502 * gdb.threads/process-dies-while-handling-bp.exp
14503 * gdb.threads/pthreads.exp
14504 * gdb.threads/queue-signal.exp
14505 * gdb.threads/reconnect-signal.exp
14506 * gdb.threads/signal-command-handle-nopass.exp
14507 * gdb.threads/signal-command-multiple-signals-pending.exp
14508 * gdb.threads/signal-delivered-right-thread.exp
14509 * gdb.threads/signal-sigtrap.exp
14510 * gdb.threads/sigthread.exp
14511 * gdb.threads/staticthreads.exp
14512 * gdb.threads/stepi-random-signal.exp
14513 * gdb.threads/thread-unwindonsignal.exp
14514 * gdb.threads/thread_check.exp
14515 * gdb.threads/thread_events.exp
14516 * gdb.threads/tid-reuse.exp
14517 * gdb.threads/tls-nodebug.exp
14518 * gdb.threads/tls-shared.exp
14519 * gdb.threads/tls-so_extern.exp
14520 * gdb.threads/tls.exp
14521 * gdb.threads/wp-replication.exp
14522 * gdb.trace/actions-changed.exp
14523 * gdb.trace/actions.exp
14524 * gdb.trace/backtrace.exp
14525 * gdb.trace/change-loc.exp
14526 * gdb.trace/collection.exp
14527 * gdb.trace/deltrace.exp
14528 * gdb.trace/disconnected-tracing.exp
14529 * gdb.trace/entry-values.exp
14530 * gdb.trace/ftrace-lock.exp
14531 * gdb.trace/ftrace.exp
14532 * gdb.trace/infotrace.exp
14533 * gdb.trace/mi-trace-frame-collected.exp
14534 * gdb.trace/mi-trace-unavailable.exp
14535 * gdb.trace/mi-traceframe-changed.exp
14536 * gdb.trace/mi-tracepoint-changed.exp
14537 * gdb.trace/mi-tsv-changed.exp
14538 * gdb.trace/no-attach-trace.exp
14539 * gdb.trace/packetlen.exp
14540 * gdb.trace/passc-dyn.exp
14541 * gdb.trace/passcount.exp
14542 * gdb.trace/pending.exp
14543 * gdb.trace/pr16508.exp
14544 * gdb.trace/qtro.exp
14545 * gdb.trace/range-stepping.exp
14546 * gdb.trace/read-memory.exp
14547 * gdb.trace/report.exp
14548 * gdb.trace/save-trace.exp
14549 * gdb.trace/signal.exp
14550 * gdb.trace/stap-trace.exp
14551 * gdb.trace/status-stop.exp
14552 * gdb.trace/strace.exp
14553 * gdb.trace/tfile.exp
14554 * gdb.trace/tfind.exp
14555 * gdb.trace/trace-break.exp
14556 * gdb.trace/trace-condition.exp
14557 * gdb.trace/trace-enable-disable.exp
14558 * gdb.trace/trace-mt.exp
14559 * gdb.trace/tracecmd.exp
14560 * gdb.trace/tracefile-pseudo-reg.exp
14561 * gdb.trace/tspeed.exp
14562 * gdb.trace/tstatus.exp
14563 * gdb.trace/tsv.exp
14564 * gdb.trace/unavailable.exp
14565 * gdb.trace/while-dyn.exp
14566 * gdb.trace/while-stepping.exp
14567 * lib/gdb-guile.exp
14568 * lib/gdb.exp
14569 * lib/mi-support.exp
14570 * lib/pascal.exp
14571 * lib/perftest.exp
14572 * lib/prelink-support.exp
14573 * lib/selftest-support.exp
14574
ad02e4fe
SM
145752016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14576
14577 * Makefile.in: Include disable-implicit-rules.mk.
14578
22347e55
AA
145792016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14580
14581 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14582 non-byte-aligned bit fields.
14583
da5b30da
AA
145842016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14585
14586 PR gdb/12616
14587 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14588 respects the DW_AT_data_bit_offset attribute.
14589
b593ecca
SM
145902016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14591
14592 * gdb.base/default.exp: Fix output of "set language".
14593
3b165252
SM
145942016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14595
14596 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14597 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14598 make.
14599 * configure.ac: Remove checks for the make program.
14600 * configure: Re-generate.
14601
1a2f3d7f
KB
146022016-11-16 Kevin Buettner <kevinb@redhat.com>
14603
14604 * gdb.python/py-recurse-unwind.c (main): Add loop.
14605 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14606 to read_register() and gdb.parse_and_eval(). Make each code
14607 call a separate case that can be individually tested.
14608 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14609 proc. Call cont_and_backtrace for each of the code paths that
14610 we want to test in the unwinder.
14611
b7f38fda
AA
146122016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14613
14614 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14615 the definition of struct S.
14616
1f8db343
CM
146172016-11-11 Catherine Moore <clm@codesourcery.com>
14618
14619 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14620
fad0c9fb
PA
146212016-11-09 Pedro Alves <palves@redhat.com>
14622
14623 * gdb.base/commands.exp (runto_or_return): New procedure.
14624 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14625 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14626 (progvar_simple_while_test, progvar_complex_if_while_test)
14627 (if_while_breakpoint_command_test)
14628 (infrun_breakpoint_command_test, breakpoint_command_test)
14629 (user_defined_command_test, watchpoint_command_test)
14630 (test_command_prompt_position, redefine_hook_test)
14631 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14632 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14633 multi_line_input and multi_line. Remove gdb_expect and
14634 gdb_stop_suppressing_tests uses.
14635 * lib/gdb.exp (valnum_re): New global.
14636 (multi_line_input): New procedure.
14637
8354c62c
SM
146382016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14639
14640 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14641 Remove.
14642 (test_setup): Define with proc_with_prefix.
14643 (test_cli_inferior): Likewise.
14644 (test_cli_thread): Likewise.
14645 (test_cli_frame): Likewise.
14646 (test_cli_select_frame): Likewise.
14647 (test_cli_up_down): Likewise.
14648 (test_mi_thread_select): Likewise.
14649 (test_mi_stack_select_frame): Likewise.
14650 (test_cli_in_mi_inferior): Likewise.
14651 (test_cli_in_mi_thread): Likewise.
14652 (test_cli_in_mi_frame): Likewise.
14653 (top level): Do not use with_test_prefix_procname.
14654
64f367a2
PA
146552016-11-09 Pedro Alves <palves@redhat.com>
14656
14657 * gdb.base/commands.exp (gdbvar_simple_if_test)
14658 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14659 (progvar_simple_if_test, progvar_simple_while_test)
14660 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14661 (infrun_breakpoint_command_test, breakpoint_command_test)
14662 (user_defined_command_test, watchpoint_command_test)
14663 (test_command_prompt_position, deprecated_command_test)
14664 (bp_deleted_in_command, temporary_breakpoint_commands)
14665 (stray_arg0_test, source_file_with_indented_comment)
14666 (recursive_source_test, if_commands_test)
14667 (error_clears_commands_left, redefine_hook_test)
14668 (redefine_backtrace_test): Use proc_with_prefix.
14669 * lib/gdb.exp (proc_with_prefix): New proc.
14670
0bb65f1e
AA
146712016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14672
14673 * gdb.base/tui-layout.c: New file.
14674 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14675 disassembly window contains very long lines.
14676
7353f247
TT
146772016-11-08 Tom Tromey <tom@tromey.com>
14678
14679 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14680 depend on Python 2.
14681
30a7bb83
TT
146822016-11-08 Tom Tromey <tom@tromey.com>
14683
14684 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14685 New method.
14686
cdf5a07c
MG
146872016-10-29 Manish Goregaokar <manish@mozilla.com>
14688
2806dc7e 14689 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14690
51a789c3
MG
146912016-10-27 Manish Goregaokar <manish@mozilla.com>
14692
2806dc7e
PA
14693 * gdb.rust/simple.rs: Add test for univariant enums without
14694 discriminants and for encoded struct-like enums.
51a789c3 14695
f610ab6d
PA
146962016-10-28 Pedro Alves <palves@redhat.com>
14697
14698 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14699 gdb_test_multiple, tighten regexps and match symtabs and line
14700 tables incrementally.
14701
b129b0ca
LM
147022016-10-28 Luis Machado <lgustavo@codesourcery.com>
14703
14704 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14705 general.
14706
ecf45d2c
SL
147072016-10-25 Luis Machado <lgustavo@codesourcery.com>
14708
14709 * gdb.base/exec-invalid-sysroot.exp: New file.
14710
b8d38ee4
JK
147112016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14712
14713 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14714
f90fd8c2
JK
147152016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14716
14717 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14718
2d2476aa
MR
147192016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14720
2806dc7e
PA
14721 * gdb.base/killed-outside.exp: Remove $options from a call to
14722 `prepare_for_testing'.
2d2476aa 14723
e42b25a0
SM
147242016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14725
14726 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14727 Change test message.
14728
3ccdb432
SM
147292016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14730
14731 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14732 Update comment.
14733
5bad3170
SM
147342016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14735
14736 * gdb.trace/mi-trace-save.exp: New file.
14737
5ad9dba7
YQ
147382016-10-13 Yao Qi <yao.qi@linaro.org>
14739
14740 * gdb.base/code_elim.exp (get_var_address): Remove.
14741 * gdb.base/relocate.exp: Likewise.
14742 * gdb.base/shreloc.exp: Likewise.
14743 * lib/gdb.exp (get_var_address): New.
14744
62df7e21
YQ
147452016-10-13 Yao Qi <yao.qi@linaro.org>
14746
14747 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14748 floating point tests if $skip_float_test is false.
14749
4dac951e
LM
147502016-10-12 Luis Machado <lgustavo@codesourcery.com>
14751
14752 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14753 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14754 argc values.
14755 Add 1 to argc so we guarantee distinct initial/modified argc values.
14756
8f1a8fc4
JK
147572016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14758
14759 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14760
16c85b5d
JK
147612016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14762
14763 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14764 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14765 * gdb.arch/vsx-regs.exp: Likewise.
14766
1d0e042a
YQ
147672016-10-07 Yao Qi <yao.qi@linaro.org>
14768
14769 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14770
68dadef5
MM
147712016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14772
14773 * gdb.python/python.exp: Test decode_line("*0").
14774
33fa2c6e
DE
147752016-10-06 Doug Evans <dje@google.com>
14776
14777 * gdb.python/py-value.exp (test_value_creation): Add test for large
14778 unsigned 64-bit value.
14779
9c37b5ae
TT
147802016-10-06 Tom Tromey <tom@tromey.com>
14781
14782 * gdb.compile/compile.exp: Change java tests to rust.
14783 * gdb.base/setshow.exp: Change java tests to rust.
14784 * gdb.base/default.exp: Remove java from language list.
14785 * README (Examples): Update language example.
14786 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14787 test.
14788 * lib/gdb.exp (skip_java_tests): Remove.
14789 * lib/java.exp: Remove.
14790 * gdb.java: Remove.
14791
78b86327
MR
147922016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14793
14794 * gdb.arch/mips-fcr.exp: New test.
14795 * gdb.arch/mips-fcr.c: Source for the new test.
14796
7470adbb
MR
147972016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14798
14799 * gdb.base/solib-disc.exp: Use `standard_output_file'
14800 throughout.
14801
4a556533
PA
148022016-10-06 Pedro Alves <palves@redhat.com>
14803
14804 * gdb.base/jit-simple-dl.c: New file.
14805 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14806 * gdb.base/jit-simple.c: ... this.
14807 * gdb.base/jit-simple.exp (jit_run): Delete.
14808 (build_jit): New proc.
14809 (jit_test_reread): Recompile either the main program or the shared
14810 library, depending on what is being tested. Skip changing address
14811 if caller wants to. Compare before/after addresses. If testing
14812 standalone, explicitly load the binary. Test "maint info
14813 breakpoints".
14814 (top level): Add "standalone vs shared lib" and "change address"
14815 vs "same address" axes.
14816
5a122fbc
PA
148172016-10-06 Pedro Alves <palves@redhat.com>
14818
14819 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14820 call.
14821 (jit_run): Delete.
14822 (jit_test_reread): Use with_test_prefix. Reload the main binary
14823 explicitly. Compare the before/after addresses of the JIT
14824 descriptor.
14825
ee8da4b8
DE
148262016-08-15 Doug Evans <dje@google.com>
14827
14828 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14829 for single bitfields is bool.
14830 * gdb.xml/tdesc-regs.exp: Ditto.
14831
f389f6fe
JK
148322016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14833
14834 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14835
fdebf1a4
YQ
148362016-10-05 Yao Qi <yao.qi@linaro.org>
14837
14838 * lib/gdb.exp (support_complex_tests): Return zero if
14839 gdb_skip_float_test return true.
14840
9c36d954 148412016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14842 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14843
14844 PR gdb/20487
14845 * gdb.mi/user-selected-context-sync.exp: New file.
14846 * gdb.mi/user-selected-context-sync.c: New file.
14847
4034d0ff 148482016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14849 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14850
14851 PR gdb/20487
14852 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14853 =thread-select-event check.
14854
a4297203
PB
148552016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14856
14857 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14858 the compulsory L operand changes.
14859 * gdb.arch/powerpc-power.s: Likewise.
14860
bb805577
JK
148612016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14862
14863 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14864 * gdb.base/jit-attach-pie.c: New file.
14865 * gdb.base/jit-attach-pie.exp: New file.
14866
6d61dee5
PA
148672016-09-28 Pedro Alves <palves@redhat.com>
14868
14869 * gdb.base/infcall-input.c: New file.
14870 * gdb.base/infcall-input.exp: New file.
14871
f73842fc
YQ
148722016-09-22 Yao Qi <yao.qi@linaro.org>
14873
14874 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14875 (gdb_exit): Rename it to ...
14876 (gdbserver_gdb_exit): ... Close GDBserver.
14877 (gdb_exit): New proc, call gdbserver_gdb_exit.
14878 (mi_gdb_exit): Likewise.
14879
90681dab
YQ
148802016-09-22 Yao Qi <yao.qi@linaro.org>
14881
14882 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14883 path.
14884 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14885 Remove duplication.
14886
9c211fd8
YQ
148872016-09-22 Yao Qi <yao.qi@linaro.org>
14888
14889 * lib/gdbserver-support.exp: Check the existence of
14890 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14891
ad0a504f
AK
148922016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14893
14894 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14895
36cf1806
TT
148962016-09-21 Tom Tromey <tom@tromey.com>
14897
14898 PR gdb/20604:
14899 * gdb.base/quit.exp: New file.
14900
74172ecf
SM
149012016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14902
14903 * .gitignore: New file.
14904
3d0ec882
MR
149052016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14906
14907 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14908 throughout.
14909
8193adea
AA
149102016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14911
14912 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14913
d41a5c09
JK
149142016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14915
14916 * gdb.cp/casts.cc (decltype): Move it ...
14917 (main): ... with its call to ...
14918 * gdb.cp/casts03.cc: ... a new file.
14919 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14920
d2dfe700
JK
149212016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14922
14923 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14924
e2a92b16
PB
149252016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14926
14927 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14928 and sync up the test with tests in gas/testsuite/gas/ppc.
14929 * gdb.arch/powerpc-power.exp: Likewise.
14930
49b4de64
JK
149312016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14932
14933 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14934
2c29df25
SDJ
149352016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14936 Jan Kratochvil <jan.kratochvil@redhat.com>
14937
14938 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14939 make m1's definition to be different from m2's. Use 'dummy' as an
14940 argument for probe 'two'.
14941
cc3c2846
JB
149422016-09-10 Jon Beniston <jon@beniston.com>
14943
14944 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14945 for sim target.
14946
e1b2624a
AA
149472016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14948
14949 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14950 variable declaration.
14951 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14952 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14953 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14954 received HWCAP as its argument.
14955
4295e285
PA
149562016-09-06 Pedro Alves <palves@redhat.com>
14957
14958 * gdb.base/new-ui-pending-input.c: New file.
14959 * gdb.base/new-ui-pending-input.exp: New file.
14960 * gdb.exp (clear_gdb_spawn_id): New procedure.
14961 (with_spawn_id): Check whether gdb_spawn_id exists before
14962 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14963 on exit.
14964
00d5215e
UW
149652016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14966
14967 * gdb.base/float128.c: New file.
14968 * gdb.base/float128.exp: Likewise.
14969 * gdb.base/floatn.c: Likewise.
14970 * gdb.base/floatn.exp: Likewise.
14971
a9ff5f12
UW
149722016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14973
14974 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14975
f245535c
PA
149762016-09-05 Pedro Alves <palves@redhat.com>
14977
14978 PR backtrace/19927
14979 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14980 unwinders are immediately called as side effect of "source" or
14981 "disable unwinder" commands.
14982 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14983
ae9cf263
YQ
149842016-09-02 Yao Qi <yao.qi@linaro.org>
14985
14986 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14987 is true and $type is "float" or "double".
14988
27aba047
YQ
149892016-09-02 Yao Qi <yao.qi@linaro.org>
14990
14991 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14992 true.
14993 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14994 * gdb.base/call-rt-st.exp: Likewise.
14995 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14996 return value instead of gdb,skip_float_test.
14997 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14998 (do_function_calls): Use its return value instead of
14999 gdb,skip_float_test.
15000 * gdb.base/finish.exp: Likewise.
15001 * gdb.base/funcargs.exp: Likewise.
15002 * gdb.base/return.exp: Likewise.
15003 * gdb.base/return2.exp: Likewise.
15004 * gdb.base/varargs.exp: Likewise.
15005 * lib/gdb.exp (gdb_skip_float_test): Change it to
15006 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15007
5af962df
AA
150082016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15009
15010 * gdb.multi/tids.exp: Test "thread apply all".
15011
7fac6910
JK
150122016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15013
15014 * gdb.base/default.exp (tty): Remove.
15015
bb1fe4ac
KB
150162016-08-24 Kevin Buettner <kevinb@redhat.com>
15017
2806dc7e
PA
15018 * gdb.python/py-recurse-unwind.c: New file.
15019 * gdb.python/py-recurse-unwind.py: New file.
15020 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15021
0a1ddfa6
SM
150222016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15023
15024 * gdb.base/set-inferior-tty.exp: New file.
15025 * gdb.base/set-inferior-tty.c: New file.
15026
d9de1fe3
PA
150272016-08-23 Pedro Alves <palves@redhat.com>
15028
15029 PR gdb/20494
15030 * gdb.base/new-ui-echo.c: New file.
15031 * gdb.base/new-ui-echo.exp: New file.
15032
e9d9abd7
YQ
150332016-08-23 Yao Qi <yao.qi@linaro.org>
15034
15035 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15036 gdbserver_spawn.
15037 * gdb.server/connect-without-multi-process.exp (do_test):
15038 Likewise.
15039
3589529e
YQ
150402016-08-23 Yao Qi <yao.qi@linaro.org>
15041
15042 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15043 standalone_txt. Delete gdb_txt and standalone_txt on host
15044 and target. Spawn the binary on target. Copy files from
15045 target to host.
15046
6bb90213
PA
150472016-08-22 Pedro Alves <palves@redhat.com>
15048
15049 PR gdb/20505
15050 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15051 with_test_prefix. Factor out bits to ...
15052 (test_no_vdso): ... this new procedure.
15053
20c2c024
CL
150542016-08-19 Carl Love <cel@us.ibm.com>
15055
15056 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15057 maintaining separate logic for constructing the output path.
15058 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15059 * gdb.arch/ppc-dfp.exp: Likewise.
15060 * gdb.arch/ppc-fp.exp: Likewise.
15061 * gdb.arch/vsx-regs.exp: Likewise.
15062 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15063 binprefix for generating the additional binary files.
15064
0646e07d
PA
150652016-08-19 Pedro Alves <palves@redhat.com>
15066
15067 * gdb.trace/mi-trace-frame-collected.exp
15068 (test_trace_frame_collected): On x32, expect two registers.
15069
46da9242
CL
150702016-08-18 Carl Love <cel@us.ibm.com>
15071
15072 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15073 and sync up the test with tests in gas/testsuite/gas/ppc.
15074 * gdb.arch/powerpc-power.exp: Likewise.
15075
eb2332d7
SM
150762016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15077
15078 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15079 expected error message.
15080
63c61e04
SM
150812016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15082
15083 * gdb.multi/remove-inferiors.exp: New file.
15084 * gdb.multi/remove-inferiors.c: New file.
15085
7b17065f
YQ
150862016-08-12 Yao Qi <yao.qi@linaro.org>
15087
15088 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15089 argument list.
15090
01d3dedf
PA
150912016-08-10 Pedro Alves <palves@redhat.com>
15092
15093 PR gdb/19187
15094 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15095 setup_kfails.
15096
3eb7562a
PA
150972016-08-09 Pedro Alves <palves@redhat.com>
15098 Simon Marchi <simon.marchi@ericsson.com>
15099
15100 PR gdb/20418
15101 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15102 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15103
80614914
PA
151042016-08-09 Pedro Alves <palves@redhat.com>
15105
15106 PR mi/20431
15107 * gdb.mi/mi-cmd-error.exp: New file.
15108
f348d89a
PA
151092016-08-09 Pedro Alves <palves@redhat.com>
15110
15111 PR gdb/18653
15112 * gdb.base/signals-state-child.c: New file.
15113 * gdb.base/signals-state-child.exp: New file.
15114 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15115
e5ca03b4
PA
151162016-08-09 Pedro Alves <palves@redhat.com>
15117
15118 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15119
282a0691
TT
151202016-08-03 Tom Tromey <tom@tromey.com>
15121
15122 PR python/18565:
15123 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15124
41bfcd63
YQ
151252016-08-01 Yao Qi <yao.qi@linaro.org>
15126
15127 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15128 variable mode to "multi-process" if $multi_process is 1, otherwise
15129 set it to "single-process".
15130
e3465b24
YQ
151312016-08-01 Yao Qi <yao.qi@linaro.org>
15132
15133 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15134 * gdb.cp/cpexprs.exp: Likewise.
15135 * gdb.cp/m-static.exp: Likewise.
15136
0b31a4bc
TT
151372016-07-26 Tom Tromey <tom@tromey.com>
15138
15139 PR python/20190:
15140 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15141 test.
15142
e0461dbb
MM
151432016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15144
15145 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15146 selecting assembly source files.
15147 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15148 assembly source files.
15149 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15150 assembly source files.
15151 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15152 selecting assembly source files.
15153
8194e927
SM
151542016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15155
15156 * gdb.base/new-ui.exp (do_test_invalid_args): New
15157 procedure.
15158
c0272db5
TW
151592016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15160
15161 * gdb.btrace/reconnect.c: New file.
15162 * gdb.btrace/reconnect.exp: New file.
15163
e3487908
GKB
151642016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15165
15166 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15167 to test_catch_syscall_group.
15168 (test_catch_syscall_group): New.
15169
12df5c00
TT
151702016-07-21 Tom Tromey <tom@tromey.com>
15171
15172 * gdb.rust/simple.rs (main): Use empty struct expression.
15173 * gdb.rust/simple.exp: Add tests for empty struct expression.
15174
bae62ee2
YQ
151752016-07-21 Yao Qi <yao.qi@linaro.org>
15176
15177 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15178 if gdb_skip_xml_test is true on some targets.
15179
b1b53fb3
YQ
151802016-07-21 Yao Qi <yao.qi@linaro.org>
15181
15182 * gdb.server/solib-list.exp: Unset last_loaded_file.
15183
027d97f8
JK
151842016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15185
15186 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15187 "step into captured_main (args)".
15188
7674d381
JK
151892016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15190
15191 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15192
72b5d099
JK
151932016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15194
15195 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15196
1f960ced
PA
151972016-07-19 Pedro Alves <palves@redhat.com>
15198
15199 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15200 * gdb.opt/inline-bt.exp: Likewise.
15201 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15202 additional_flags=-Winline.
15203 * gdb.opt/inline-locals.exp: Likewise.
15204 * gdb.opt/inline-markers.c (ATTR): Define.
15205 (inlined_fn): Use it.
15206
f25827c1
YQ
152072016-07-19 Yao Qi <yao.qi@linaro.org>
15208
15209 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15210 (test_with_self): Remove some code. Remove argument executable.
15211 (top-level): Use do_self_tests.
15212
37539ebe
DB
152132016-07-15 Zachary Welch <zwelch@codesourcery.com>
15214 Don Breazeal <donb@codesourcery.com>
15215
15216 * gdb.base/maint.exp: Escape paths used in regular expressions.
15217 * gdb.stabs/weird.exp: Likewise.
15218
dac790e1
TT
152192016-07-13 Tom Tromey <tom@tromey.com>
15220
15221 PR python/15620, PR python/18620:
15222 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15223 (test_bkpt_events): New procs.
15224
93daf339
TT
152252016-07-13 Tom Tromey <tom@tromey.com>
15226
15227 PR python/17698:
15228 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15229 test.
15230 (test_watchpoints): Likewise.
15231 (test_bkpt_pending): New proc.
15232
6571a381
TT
152332016-07-13 Tom Tromey <tom@tromey.com>
15234
15235 PR cli/18053:
15236 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15237 completion test.
15238
e8732474
JK
152392016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15240
15241 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15242 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15243 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15244 f_label.
15245 (g): Rename g_end_lbl to g_label.
15246 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15247 low_pc and high_pc.
15248 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15249
e0f3fd7c
TT
152502016-07-12 Tom Tromey <tom@tromey.com>
15251
15252 PR python/19293:
15253 * gdb.python/py-unwind-maint.exp: Update tests.
15254
3cfe46b6
YQ
152552016-07-12 Yao Qi <yao.qi@linaro.org>
15256
15257 * lib/selftest-support.exp (selftest_setup): Match the output
15258 when captured_main is inlined.
15259
4f19a0e6
WT
152602016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15261
15262 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15263 New variables.
15264 (print this%a, print this%b, print this): New tests.
15265 * gdb.fortran/derived-types.f90 (this): New object and
15266 initialization.
15267
986cf455
SM
152682016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15269
15270 * gdb.ada/arraydim.exp: Remove extra directory level in build
15271 directory.
15272
f0464b23
SM
152732016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15274
15275 * lib/ada.exp: Remove extra directory level in build directory.
15276 * gdb.ada/cond_lang.exp: Likewise.
15277 * gdb.ada/exec_changed.exp: Likewise.
15278 * gdb.ada/lang_switch.exp: Likewise.
15279
42d94011
MG
152802016-07-06 Manish Goregaokar <manish@mozilla.com>
15281
2806dc7e
PA
15282 * simple.rs: Add test for raw pointer subscripting.
15283 * simple.exp: Add test expectations.
42d94011 15284
647c264c
YQ
152852016-07-05 Yao Qi <yao.qi@linaro.org>
15286
15287 * gdb.mi/mi-reverse.exp: Match =record-started output.
15288
20aa2c60
PA
152892016-07-01 Pedro Alves <palves@redhat.com>
15290
15291 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15292 procedure.
15293 (jit_reader_test): Test the jit reader's unwinder.
15294 * gdb.base/jithost.c (jit_function_00_code): New global.
15295 (main): Use memcpy to fill in the mmapped code, instead of poking
15296 bytes manually here.
15297 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15298 value.
15299 (read_debug_info): Save the function's range.
15300 (read_sp): New function.
15301 (unwind_frame): Use it. Also unwind RBP.
15302 (get_frame_id): Use read_sp.
15303 (gdb_init_reader): Use calloc instead of malloc.
15304 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15305 parameter. Use gdb_test_multiple.
15306
ced2dffb
PA
153072016-07-01 Pedro Alves <palves@redhat.com>
15308 Antoine Tremblay <antoine.tremblay@ericsson.com>
15309
15310 * gdb.threads/process-dies-while-detaching.c: New file.
15311 * gdb.threads/process-dies-while-detaching.exp: New file.
15312
63000888
PA
153132016-07-01 Pedro Alves <palves@redhat.com>
15314
15315 * gdb.multi/watchpoint-multi-exit.c: New file.
15316 * gdb.multi/watchpoint-multi-exit.exp: New file.
15317
038d4868
PA
153182016-06-30 Pedro Alves <palves@redhat.com>
15319
15320 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15321 unset inferior_spawn_id.
15322
994e9c83
PA
153232016-06-30 Pedro Alves <palves@redhat.com>
15324
15325 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15326 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15327
e5653468
YQ
153282016-06-29 Yao Qi <yao.qi@linaro.org>
15329
15330 * gdb.base/return.c: Add copyright header.
15331
803b47e5
TT
153322016-06-29 Tom Tromey <tom@tromey.com>
15333
15334 PR python/20129:
15335 * gdb.python/py-framefilter.exp: Add tests for setting priority
15336 and disabling of non-existent frame filter.
15337
28244707
YQ
153382016-06-29 Yao Qi <yao.qi@linaro.org>
15339
15340 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15341 0x0f07ff.
15342
a31d2f06
YQ
153432016-06-28 Yao Qi <yao.qi@linaro.org>
15344
15345 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15346 triplets. Start gdb, execute catch syscall, and continue. Check
15347 gdb's output to determine catch syscall is supported.
15348
921d8f54
MG
153492016-06-27 Manish Goregaokar <manish@mozilla.com>
15350
25d49b86
PA
15351 * gdb.rust/simple.rs: Add test for returning unit in a function.
15352 * gdb.rust/simple.exp: Add expectation for functions returning
15353 unit.
921d8f54 15354
f4952523
PMR
153552016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15356
15357 * gdb.python/py-breakpoint-create-fail.c,
15358 gdb.python/py-breakpoint-create-fail.exp,
15359 gdb.python/py-breakpoint-create-fail.py: New testcase.
15360
fccb08f8
MG
153612016-06-25 Manish Goregaokar <manish@mozilla.com>
15362
15363 PR gdb/20239
15364 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15365 * gdb.rust/simple.exp: Add test expectations for new NonZero
15366 tests.
fccb08f8 15367
6b850546
DT
153682016-06-24 David Taylor <dtaylor@emc.com>
15369
15370 * gdb.base/offsets.exp: New file.
15371 * gdb.base/offsets.c: New file.
15372
17621150
TT
153732016-06-23 Tom Tromey <tom@tromey.com>
15374
15375 PR gdb/16483:
15376 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15377 before any filters are loaded.
15378
04d59df6
WT
153792016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15380
15381 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15382 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15383 structs.
15384 * gdb.fortran/derived-type-function.exp: New file.
15385 * gdb.fortran/derived-type-function.f90: New file.
15386
15387
ac69f786
PA
153882016-06-21 Pedro Alves <palves@redhat.com>
15389
15390 * gdb.base/new-ui.exp: New file.
15391 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15392 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15393 (with_spawn_id): New procedure.
15394
49940788
PA
153952016-06-21 Pedro Alves <palves@redhat.com>
15396
15397 * gdb.mi/mi-exec-run.exp: New file.
15398
ef274d26
PA
153992016-06-21 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15402 breakpoint command's output on the main UI.
15403 (test_break): New procedure, factored out from calls in the top
15404 level.
15405 (top level): Use foreach_with_prefix to test MI as main UI and as
15406 separate UI.
15407
468afe6c
PA
154082016-06-21 Pedro Alves <palves@redhat.com>
15409
15410 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15411 (test_awatch_creation_and_listing)
15412 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15413 Remove 'type' parameter.
15414 (test_watchpoint_all): New parameter mi_mode. Remove
15415 with_test_prefix.
15416 (top level): Use foreach_with_prefix, and add main/separate UI MI
15417 testing axis.
15418
51f77c37
PA
154192016-06-21 Pedro Alves <palves@redhat.com>
15420
15421 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15422 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15423 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15424 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15425 (gdb_main_spawn_id, mi_spawn_id): Declare and
15426 comment.
15427 (mi_create_inferior_pty): New procedure,
15428 factored out from default_mi_gdb_start.
15429 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15430 procedures.
15431 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15432 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15433 Use mi_create_inferior_pty.
15434 (mi_gdb_start): Use eval to pass down args list.
15435
8980e177
PA
154362016-06-21 Pedro Alves <palves@redhat.com>
15437
15438 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15439 * gdb.opt/inline-cmds.exp: Add MI tests.
15440
f38d3ad1
PA
154412016-06-21 Pedro Alves <palves@redhat.com>
15442
15443 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15444
45db7c09
PA
154452016-06-21 Pedro Alves <palves@redhat.com>
15446
15447 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15448 (top level): Use it instead of mi_execute_to.
15449
5a069ab3
PA
154502016-06-21 Pedro Alves <palves@redhat.com>
15451
15452 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15453 (cont_handler_str): New.
15454 (signal_stop_handler): Set stop_handler_str instead of printing to
15455 stdout.
15456 (continue_handler): Set cont_handler_str instead of printing to
15457 stdout.
15458 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15459 mi_send_resuming_command. Print stop_handler_str and
15460 cont_handler_str instead of expecting the python events print
15461 directly.
15462
2838cc1d
SD
154632016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15464
15465 * gdb.base/jit-reader.exp: New file.
15466 * gdb.base/jithost.c: New file.
15467 * gdb.base/jithost.h: New file.
15468 * gdb.base/jitreader.c : New file.
15469 * gdb.base/jit-protocol.h: New file.
15470
21a77091
YQ
154712016-06-17 Yao Qi <yao.qi@linaro.org>
15472
15473 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15474 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15475 and detach-on-fork. Adjust tests.
15476 (top level): Invoke break_cond_on_syscall with combinations of
15477 syscall, follow-fork-mode and detach-on-fork.
15478
f50bf8e5
YQ
154792016-06-17 Yao Qi <yao.qi@linaro.org>
15480
15481 * gdb.base/step-over-exit.c: New.
15482 * gdb.base/step-over-exit.exp: New.
15483
a28d8e50
YTL
154842016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15485
15486 * gdb.base/float.exp: Add target check for nds32*-*-*.
15487 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15488
cad8e26d
AB
154892016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15490
15491 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15492 for unsupported target features.
15493 * gdb.base/call-rt-st.exp: Likewise.
15494 * gdb.base/call-sc.exp: Likewise.
15495 * gdb.base/call-signal-resume.exp: Likewise.
15496 * gdb.base/call-strs.exp: Likewise.
15497 * gdb.base/callexit.exp: Likewise.
15498 * gdb.base/callfuncs.exp: Likewise.
15499 * gdb.base/nodebug.exp: Likewise.
15500 * gdb.base/printcmds.exp: Likewise.
15501 * gdb.base/ptype.exp: Likewise.
15502 * gdb.base/structs.exp: Likewise.
15503 * gdb.base/unwindonsignal.exp: Likewise.
15504 * gdb.cp/gdb2495.exp: Likewise.
15505 * gdb.cp/templates.exp: Likewise.
15506 * gdb.cp/virtfunc.exp: Likewise.
15507 * gdb.threads/hand-call-in-threads.exp: Likewise.
15508 * gdb.threads/interrupted-hand-call.exp: Likewise.
15509 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15510
347dc102
TT
155112016-06-10 Tom Tromey <tom@tromey.com>
15512
15513 PR rust/20110:
15514 * gdb.rust/expr.exp: Add test for integer constant larger than
15515 i32.
15516
5e13cf25
BH
155172016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15518
15519 * gdb.fortran/nested-funcs.exp: New.
15520 * gdb.fortran/nested-funcs.f90: New.
15521
bb556f1f
TK
155222016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15523
15524 * gdb.base/examine-backward.c: New file.
15525 * gdb.base/examine-backward.exp: New file.
15526
38b022b4
SM
155272016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15528
15529 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15530 matching.
15531
1b40ec05
TT
155322016-06-02 Tom Tromey <tom@tromey.com>
15533
15534 PR python/18984:
15535 * gdb.python/py-shared.exp: Add solib_name test.
15536
193bd378
SM
155372016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15538
15539 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15540
3326303b
MG
155412016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15542
15543 PR c++/19893
15544 * gdb.dwarf2/implref.exp: Rename to...
15545 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15546 * gdb.dwarf2/implref-array.c: New file.
15547 * gdb.dwarf2/implref-array.exp: Likewise.
15548 * gdb.dwarf2/implref-global.c: Likewise.
15549 * gdb.dwarf2/implref-global.exp: Likewise.
15550 * gdb.dwarf2/implref-struct.c: Likewise.
15551 * gdb.dwarf2/implref-struct.exp: Likewise.
15552
825c8ef2
AT
155532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15554
15555 * gdb.trace/trace-condition.exp: Add 64bit tests.
15556
2320162a
AT
155572016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15558
15559 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15560 bits types.
15561 (main): Adapt to 8 to 64 bits types.
15562 * gdb.trace/trace-condition.exp: Add new tests.
15563
a7818233
AT
155642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15565
15566 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15567
0d336466
AT
155682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15569
15570 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15571 Move condition tests...
15572 * gdb.trace/trace-condition.exp: Here.
15573
7faeb45a
AT
155742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15575
15576 * gdb.trace/trace-condition.exp: Add counter-case tests.
15577
e385593e
JK
155782016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15579
15580 PR c++/15231
15581 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15582 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15583
744608cc
PA
155842016-05-27 Pedro Alves <palves@redhat.com>
15585
15586 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15587 New procedure.
15588 (top level): Call it, and bail out of DejaGnu is known to be bad.
15589
ac775bf4
AB
155902016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15591
15592 * gdb.base/whatis.c: Extend the test case.
15593 * gdb.base/whatis.exp: Add additional tests.
15594
2bbad2ea
BH
155952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15596
15597* gdb.fortran/type.f90: Add pointer variable.
15598* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15599
8b70175d
BH
156002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15601
15602 * gdb.fortran/vla-type.exp: Fix testcase name.
15603
86d8a848
BH
156042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15605
15606 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15607
e188eb36
BH
156082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15609
15610 * gdb.fortran/type.f90: Add nested structures.
15611 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15612 * gdb.fortran/derived-type.exp: Adapt expected output.
15613 * gdb.fortran/vla-type.exp: Adapt expected output.
15614
9b2db1fd
BH
156152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15616
15617 * gdb.fortran/whatis_type.exp: Adapt expected output.
15618
72b17055
BH
156192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15620
15621 * gdb.fortran/print_type.exp: Fix expected output.
15622 * gdb.fortran/whatis_type.exp: Fix expected output.
15623
3cd81d8d
BH
156242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15625
15626 * gdb.fortran/whatis_type.exp: Use multi_line.
15627
ddae9462
TT
156282016-05-24 Tom Tromey <tom@tromey.com>
15629
15630 PR python/17386:
15631 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15632 use value as an index.
15633
1957f6b8
TT
156342016-05-23 Tom Tromey <tom@tromey.com>
15635
15636 PR python/17981:
15637 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15638 no-breakpoint case.
15639
026a9174
PA
156402016-05-24 Pedro Alves <palves@redhat.com>
15641
15642 PR gdb/19828
15643 * gdb.threads/clone-attach-detach.c: New file.
15644 * gdb.threads/clone-attach-detach.exp: New file.
15645
e70a7231
FR
156462016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15647
15648 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15649
0f6ed0e0
TT
156502016-05-23 Tom Tromey <tom@tromey.com>
15651
15652 PR python/19438, PR python/18393:
15653 * gdb.python/py-progspace.exp: Add "dir" test.
15654 * gdb.python/py-objfile.exp: Add "dir" test.
15655
ffd19d61
YQ
156562016-05-23 Yao Qi <yao.qi@linaro.org>
15657
15658 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15659 * gdb.arch/thumb2-it.exp: Likewise.
15660
9e8f9b05
SM
156612016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15662
15663 * gdb.mi/mi-threads-interrupt.c: New file.
15664 * gdb.mi/mi-threads-interrupt.exp: New file.
15665
61c6156d
SM
156662016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15667
15668 PR gdb/18077
15669 * gdb.mi/mi-async-run.exp: New file.
15670 * gdb.mi/mi-async-run.c: New file.
15671
67218854
TT
156722016-05-17 Tom Tromey <tom@tromey.com>
15673 Manish Goregaokar <manishsmail@gmail.com>
15674
15675 * lib/rust-support.exp: New file.
15676 * lib/gdb.exp (skip_rust_tests): New proc.
15677 (build_executable_from_specs): Handle rust.
15678 * lib/future.exp (gdb_find_rustc): New proc.
15679 (gdb_default_target_compile): Handle rust.
15680 * gdb.rust/expr.exp: New file.
15681 * gdb.rust/generics.exp: New file.
15682 * gdb.rust/generics.rs: New file.
15683 * gdb.rust/methods.exp: New file.
15684 * gdb.rust/methods.rs: New file.
15685 * gdb.rust/modules.exp: New file.
15686 * gdb.rust/modules.rs: New file.
15687 * gdb.rust/simple.exp: New file.
15688 * gdb.rust/simple.rs: New file.
15689
c44af4eb
TT
156902016-05-17 Tom Tromey <tom@tromey.com>
15691
15692 * gdb.base/default.exp (set language): Add rust.
15693
dcd1f979
TT
156942016-05-17 Tom Tromey <tom@tromey.com>
15695
15696 * gdb.gdb/unittest.exp: New file.
15697
155b7f57
YQ
156982016-05-16 Yao Qi <yao.qi@linaro.org>
15699
15700 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15701 shell_prompt. Update shell_prompt_re.
15702
8ddd5a6c
DE
157032016-05-12 Doug Evans <dje@google.com>
15704
15705 PR symtab/19999
15706 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15707 $options when building executable.
15708 * gdb.dwarf2/fission-loclists-pie.S: New file.
15709 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15710
02e370d9
SM
157112016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15712
15713 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15714 of [is_remote target],
15715
8929ad8b
SM
157162016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15717
15718 * lib/gdb.exp (use_gdb_stub): New procedure.
15719
6c447423
DE
157202016-05-03 Yunlian Jiang <yunlian@google.com>
15721 Doug Evans <dje@google.com>
15722
15723 PR symtab/19914
15724 * gdb.dwarf2/dwp-sepdebug.c: New file.
15725 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15726
444e826c
SM
157272016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15728
15729 * gdb.base/detach.exp: Remove is_remote check.
15730
740feeaa
SM
157312016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15732
15733 * gdb.base/annota-input-while-running.exp: Don't check for
15734 [is_remote target]. Enable annotations after running to main.
15735 Remove unused "set test..." line.
15736
9080ac9d
SM
157372016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15738
15739 * gdb.trace/trace-enable-disable.exp: New file.
15740 * gdb.trace/trace-enable-disable.c: New file.
15741
952ebca5
SM
157422016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15743
15744 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15745 use it in info sharedlibrary test.
15746 * gdb.trace/ftrace-lock.exp: Likewise.
15747 * gdb.trace/ftrace.exp: Likewise.
15748 * gdb.trace/range-stepping.exp: Likewise.
15749 * gdb.trace/trace-break.exp: Likewise.
15750 * gdb.trace/trace-condition.exp: Likewise.
15751 * gdb.trace/trace-mt.exp: Likewise.
15752
d9019901
SM
157532016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15754
15755 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15756 (gdb_load_shlib): ... this.
15757 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15758 gdb_load_shlib.
15759 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15760 * gdb.base/ctxobj.exp: Likewise.
15761 * gdb.base/dprintf-pending.exp: Likewise.
15762 * gdb.base/dso2dso.exp: Likewise.
15763 * gdb.base/fixsection.exp: Likewise.
15764 * gdb.base/gcore-relro.exp: Likewise.
15765 * gdb.base/gdb1555.exp: Likewise.
15766 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15767 * gdb.base/gnu-ifunc.exp: Likewise.
15768 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15769 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15770 * gdb.base/pending.exp: Likewise.
15771 * gdb.base/print-file-var.exp: Likewise.
15772 * gdb.base/print-symbol-loading.exp: Likewise.
15773 * gdb.base/shlib-call.exp: Likewise.
15774 * gdb.base/shreloc.exp: Likewise.
15775 * gdb.base/so-impl-ld.exp: Likewise.
15776 * gdb.base/solib-disc.exp: Likewise.
15777 * gdb.base/solib-nodir.exp: Likewise.
15778 * gdb.base/solib-overlap.exp: Likewise.
15779 * gdb.base/solib-symbol.exp: Likewise.
15780 * gdb.base/solib-weak.exp (do_test): Likewise.
15781 * gdb.base/sym-file.exp: Likewise.
15782 * gdb.base/symtab-search-order.exp: Likewise.
15783 * gdb.base/type-opaque.exp: Likewise.
15784 * gdb.base/unload.exp: Likewise.
15785 * gdb.base/watchpoint-solib.exp: Likewise.
15786 * gdb.compile/compile.exp: Likewise.
15787 * gdb.cp/gdb2384.exp: Likewise.
15788 * gdb.cp/infcall-dlopen.exp: Likewise.
15789 * gdb.cp/re-set-overloaded.exp: Likewise.
15790 * gdb.fortran/library-module.exp: Likewise.
15791 * gdb.opt/solib-intra-step.exp: Likewise.
15792 * gdb.python/py-finish-breakpoint.exp: Likewise.
15793 * gdb.python/py-shared.exp: Likewise.
15794 * gdb.reverse/solib-precsave.exp: Likewise.
15795 * gdb.reverse/solib-reverse.exp: Likewise.
15796 * gdb.server/solib-list.exp: Likewise.
15797 * gdb.threads/dlopen-libpthread.exp: Likewise.
15798 * gdb.threads/tls-shared.exp: Likewise.
15799 * gdb.threads/tls-so_extern.exp: Likewise.
15800 * gdb.trace/change-loc.exp: Likewise.
15801 * gdb.trace/ftrace-lock.exp: Likewise.
15802 * gdb.trace/ftrace.exp: Likewise.
15803 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15804 * gdb.trace/pending.exp: Likewise.
15805 * gdb.trace/range-stepping.exp: Likewise.
15806 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15807 (strace_info_marker): Likewise.
15808 (strace_probe_marker): Likewise.
15809 (strace_trace_on_same_addr): Likewise.
15810 (strace_trace_on_diff_addr): Likewise.
15811 * gdb.trace/trace-break.exp: Likewise.
15812 * gdb.trace/trace-condition.exp: Likewise.
15813 * gdb.trace/trace-mt.exp: Likewise.
15814
fca4cfd9
SM
158152016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15816
15817 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15818 result of gdb_remote_download.
15819 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15820 * gdb.base/dso2dso.exp: Likewise.
15821 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15822 * gdb.base/print-file-var.exp: Likewise.
15823 * gdb.base/shlib-call.exp: Likewise.
15824 * gdb.base/shreloc.exp: Likewise.
15825 * gdb.base/solib-overlap.exp: Likewise.
15826 * gdb.base/solib-weak.exp (do_test): Likewise.
15827 * gdb.base/unload.exp: Likewise.
15828
11cf4ffb
YQ
158292016-04-27 Yao Qi <yao.qi@linaro.org>
15830
15831 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15832 exists.
15833
3e2e34f8
KB
158342016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15835
15836 * vla-type.exp: Print structure from toplevel.
15837
8f07e298
BH
158382016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15839
15840 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15841 of dynamic types.
15842 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15843 of dynamic types.
15844
9920b434
BH
158452016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15846
15847 * gdb.fortran/vla-type.f90: New file.
15848 * gdb.fortran/vla-type.exp: New file.
15849
f3abeff5
YQ
158502016-04-25 Yao Qi <yao.qi@linaro.org>
15851
15852 * gdb.base/branch-to-self.c: New file.
15853 * gdb.base/branch-to-self.exp: New file.
15854
0a5d52f0
YQ
158552016-04-22 Yao Qi <yao.qi@linaro.org>
15856
15857 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15858 more after $hex.
15859
495346f6
YQ
158602016-04-22 Yao Qi <yao.qi@linaro.org>
15861
15862 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15863 * gdb.base/annota3.exp: Likewise.
15864
4a7e075c
YQ
158652016-04-22 Yao Qi <yao.qi@linaro.org>
15866
15867 * gdb.reverse/step-precsave.exp: Do one step and test program
15868 stops in "callee" and do multiple steps until program goes out
15869 of "callee".
15870 * gdb.reverse/step-reverse.exp: Likewise.
15871
5b061e98
YQ
158722016-04-22 Yao Qi <yao.qi@linaro.org>
15873
15874 * gdb.trace/signal.exp: Also pass if
15875 $tracepoint_hits($i) > $iterations.
15876
5c5dc57f
YQ
158772016-04-22 Yao Qi <yao.qi@linaro.org>
15878
15879 * gdb.trace/signal.c: New file.
15880 * gdb.trace/signal.exp: New file.
15881
a55411b9
DE
158822016-04-19 Doug Evans <xdje42@gmail.com>
15883
15884 * gdb.base/bad-file.exp: New file.
15885
a22df60a
MG
158862016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15887
15888 * gdb.dwarf2/implref.exp: New file.
15889
0c13f7e5
BH
158902016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15891
15892 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15893 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15894 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15895 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15896 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15897 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15898 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15899 * lib/fortran.exp (fortran_int4): New procedure.
15900 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15901 (fortran_logical4): Likewise.
15902
9b9b09e9
BH
159032016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15904
15905 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15906
a14d1f4d
BH
159072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15908
15909 * lib/compiler.c: Add Intel specific preprocessor macros.
15910 * lib/compiler.cc: Likewise.
25d49b86 15911
7d49b1d0
LM
159122016-04-13 Luis Machado <lgustavo@codesourcery.com>
15913
15914 * gdb.server/connect-with-no-symbol-file.c: New file.
15915 * gdb.server/connect-with-no-symbol-file.exp: New file.
15916
8392fa22
SM
159172016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15918
15919 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15920
8c4c4aeb
SM
159212016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15922
15923 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15924 standard output directory.
15925
45e3745e
AT
159262016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15927
15928 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15929
e26b7e41
MM
159302016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15931
15932 * gdb.btrace/instruction_history.c (loop): Add declaration.
15933
8ce09462
AT
159342016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15935
15936 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15937
2e88a1ea
SM
159382016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15939
15940 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15941 parentheses to print.
15942 (continue_handler): Likewise.
15943
f48e22e3
SM
159442016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15945
15946 * gdb.server/solib-list.exp: Remove is_remote check.
15947 Pass shlib= to gdb_compile. Don't link shared library with
15948 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15949 Run binary filename through "readlink -f" on the target.
15950
096be756
PA
159512016-04-08 Pedro Alves <palves@redhat.com>
15952
15953 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15954 interpreter filename as argument to gdbserver_spawn.
15955 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15956 Return empty if $last_loaded_file does not exist.
15957
06500533
JK
159582016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15959
15960 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15961 * gdb.base/jit-main.c: Use exit after usage.
15962
2d35e871
JK
159632016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15964
15965 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15966 GDBHISTSIZE prior to the tests.
15967 * gdb.base/gdbinit-history.exp: Likewise.
15968
159692016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15970
15971 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15972 instead of build_executable. Use gdb_load_shlibs.
15973
c8064e7e
YQ
159742016-04-07 Yao Qi <yao.qi@linaro.org>
15975
15976 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15977 Execute "si" command.
15978
bde47561
YQ
159792016-04-07 Yao Qi <yao.qi@linaro.org>
15980
15981 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15982 number instead of the comments on some line.
15983
b16f8a3b
DB
159842016-04-06 Don Breazeal <donb@codesourcery.com>
15985
15986 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15987 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15988
c2f901df
SM
159892016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15990
15991 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15992 standard_output_file. Remove unused binfile variable.
15993
ac17fda0
CU
159942016-04-05 Catalin Udma <catalin.udma@freescale.com>
15995
15996 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15997 * gdb.python/py-mi-objfile.exp: Match "list main" output
15998 in console format.
15999
03a8c4df
SM
160002016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16001
16002 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16003 absolute.
16004
6e774b13
SM
160052016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16006
16007 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16008 absolute.
16009 * gdb.trace/ftrace.exp: Likewise.
16010 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16011 targets as well.
16012 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16013 (gdb_load_shlibs): Copy libraries to test directory when testing
16014 natively. Only set solib-search-path if testing remotely.
16015 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16016
7817ea46
SM
160172016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16018
16019 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16020 gdb_download. Use it even if the target is not remote.
16021 * gdb.base/jit.exp (compile_jit_test): Likewise.
16022 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16023 output directory if the destination board is local, otherwise use
16024 the standard remote_download from DejaGnu.
16025 (gdb_download): Remove.
16026 (gdb_load_shlibs): Use gdb_remote_download instead of
16027 gdb_download.
16028 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16029 Use gdb_remote_download instead of gdb_download. Use it even if
16030 the target is not remote.
16031 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16032 instead of gdb_download.
16033
7beb7f68
SM
160342016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16035
16036 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16037 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16038 run.
16039
cc63428a
AV
160402016-04-01 Artemiy Volkov <artemiyv@acm.org>
16041
16042 PR gdb/19820
16043 * gdb.base/printcmds.exp: Add artificial arrays tests.
16044
64cdf930
PA
160452016-03-31 Pedro Alves <palves@redhat.com>
16046
16047 PR gdb/19858
16048 * gdb.base/jit-main.c: Include unistd.h.
16049 (ATTACH): Define to 0 if not already defined.
16050 (wait_for_gdb, mypid): New globals.
16051 (WAIT_FOR_GDB): New macro.
16052 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16053 some breakpoint locations.
16054 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16055 New procedures.
16056 (one_jit_test): Add REATTACH parameter, and handle it. Use
16057 continue_to_test_location.
16058 (top level): Test attach, and adjusts calls to one_jit_test.
16059
40dea8cb
PA
160602016-03-31 Pedro Alves <palves@redhat.com>
16061
16062 PR gdb/19858
16063 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16064 BINSUFFIX parameter, and handle it.
16065 (top level): Adjust calls compile_jit_test.
16066
e7ea3ec7
CU
160672016-03-31 Catalin Udma <catalin.udma@freescale.com>
16068
16069 PR python/19743
16070 * gdb.python/py-mi-events-gdb.py: New file.
16071 * gdb.python/py-mi-events.c: New file.
16072 * gdb.python/py-mi-events.exp: New file.
16073
e6359af3
YQ
160742016-03-30 Yao Qi <yao.qi@linaro.org>
16075
16076 * gdb.reverse/until-precsave.exp: Match function name only.
16077 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16078 Move malloc to a condition block.
16079 * gdb.reverse/until-reverse.exp: Match function name only.
16080
a4105d04
MK
160812016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16082
16083 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16084 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16085 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16086 variable for GPR 0 instead of assuming it is register 0.
16087 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16088 * lib/trace-support.exp: Add s390 registers.
16089
bfa6adb9
YQ
160902016-03-29 Yao Qi <yao.qi@linaro.org>
16091
16092 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16093
1e6697ea
YQ
160942016-03-24 Yao Qi <yao.qi@linaro.org>
16095
16096 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16097 test message.
16098
64bcd522
AA
160992016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16100
16101 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16102 maintaining separate logic for constructing the output path.
16103
7868401b
DB
161042016-03-16 Don Breazeal <donb@codesourcery.com>
16105
16106 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16107 Retry fork and waitpid on interrupted system call errors.
16108 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16109 Use with_timeout_factor to increase timeout by factor of 10.
16110
1cafadb4
DB
161112016-03-15 Don Breazeal <donb@codesourcery.com>
16112
16113 * gdb.cp/scope-err.cc: New test program.
16114 * gdb.cp/scope-err.exp: New test script.
16115 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16116 lines and "set breakpoint here" comment.
16117 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16118 Fixed some whitespace and format issues.
16119 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16120 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16121
81516450
DE
161222016-03-15 Doug Evans <dje@google.com>
16123
16124 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16125 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16126 All callers updated. Add tests for enums, mixed flags register.
16127
aa52b601
DE
161282016-03-15 Doug Evans <dje@google.com>
16129
16130 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16131 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16132
fa4ff313
SM
161332016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16134
16135 * gdb.base/default.exp: Add $_as_string to the list of expected
16136 convenience functions.
16137
f2403c39
AB
161382016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16139
16140 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16141
f2f3ccb9
SM
161422016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16143
16144 * gdb.python/py-as-string.exp: New file.
16145 * gdb.python/py-as-string.c: New file.
16146
00dbd492
PA
161472016-03-09 Pedro Alves <palves@redhat.com>
16148
16149 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16150 signal" -> "Thread NN received signal" output change.
16151 * gdb.threads/ia64-sigill.exp: Likewise.
16152 * gdb.threads/linux-dp.exp: Likewise.
16153 * gdb.threads/manythreads.exp: Likewise.
16154 * gdb.threads/pending-step.exp: Likewise.
16155 * gdb.threads/print-threads.exp: Likewise.
16156 * gdb.threads/sigstep-threads.exp: Likewise.
16157 * gdb.threads/staticthreads.exp: Likewise.
16158 * gdb.threads/tls.exp: Likewise.
16159
1e6697ea
YQ
161602016-03-09 Pedro Alves <palves@redhat.com>
16161
16162 * gdb.base/command-line-input.exp: New file.
16163
b04fd3be
MK
161642016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16165
16166 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16167 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16168 * gdb.trace/pending.exp: Accept leading dot before function name.
16169 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16170 * lib/trace-support.exp: Set registers for ppc.
16171
98fa59e9
MK
161722016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16173
16174 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16175 use it for disassembly; accept .main in addition to main in backtrace.
16176
f77198c8
MK
161772016-03-09 Wei-cheng Wang <cole945@gmail.com>
16178 Marcin Kościelnicki <koriakin@0x04.net>
16179
16180 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16181 (gdb_recursion_test_ptr): New global variable.
16182 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16183 gdb_recursion_test.
16184 (gdb_c_test): Ditto.
16185
ba84e0da
MK
161862016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16187
16188 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16189 ordering.
16190
4366d36e
MK
161912016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16192
16193 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16194 (bar): Add bar_start_lbl label.
16195 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16196 of foo/bar for emitting DWARF and tracing.
16197
5eb264df
SDJ
161982016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16199
16200 * analyze-racy-logs.py: Set executable bit.
16201
fb6a751f
SDJ
162022016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16203
16204 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16205 (CHECK_TARGET_TMP): Likewise.
16206 (check-single-racy): New rule.
16207 (check-parallel-racy): Likewise.
16208 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16209 (do-check-parallel-racy): New rule.
16210 (check-racy/%.exp): Likewise.
16211 * README (Racy testcases): New section.
16212 * analyze-racy-logs.py: New file.
16213
bdf7e230
DE
162142016-03-03 Doug Evans <dje@google.com>
16215
16216 * gdb.base/skip.exp: Use with_test_prefix.
16217
4719d415
YQ
162182016-03-03 Yao Qi <yao.qi@linaro.org>
16219
16220 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16221 Invoke step_over_syscall "clone" and break_cond_on_syscall
16222 "clone".
16223 * gdb.base/step-over-clone.c: New file.
16224
ea507862
YQ
162252016-03-03 Yao Qi <yao.qi@linaro.org>
16226
16227 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16228 code format.
16229
8fc8cbda
YQ
162302016-03-03 Yao Qi <yao.qi@linaro.org>
16231
16232 * gdb.base/disp-step-fork.c: Rename to ...
16233 * gdb.base/step-over-fork.c: ... it. New file.
16234 * gdb.base/disp-step-vfork.c: Rename to ...
16235 * gdb.base/step-over-vfork.c: ... it. New file.
16236 * gdb.base/disp-step-syscall.exp: Rename to ...
16237 * gdb.base/step-over-syscall.exp: ... it. New file.
16238 (disp_step_cross_syscall): Rename to ...
16239 (step_over_syscall): ... it.
16240
92fa70b0
YQ
162412016-03-03 Yao Qi <yao.qi@linaro.org>
16242
16243 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16244 If target supports condition evaluation on target, invoke
16245 break_cond_on_syscall for fork and vfork.
16246
e197ad3c
YQ
162472016-03-03 Yao Qi <yao.qi@linaro.org>
16248
16249 * gdb.base/disp-step-syscall.exp: Don't invoke
16250 support_displaced_stepping.
16251 (disp_step_cross_syscall): Test with displaced stepping off and
16252 on if supported.
16253
0b47da9f
YQ
162542016-03-03 Yao Qi <yao.qi@linaro.org>
16255
16256 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16257 proc.
16258 (setup): New proc.
16259 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16260 and setup.
16261
065ab6dc
BH
162622016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16263
16264 * gdb.fortran/vla-history.exp: Remove breakpoint.
16265
07e448ad 162662016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16267
25d49b86
PA
16268 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16269 exceeds timeout.
07e448ad 16270
9ac2d526 162712016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16272
25d49b86
PA
16273 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16274 breakpoint.
9ac2d526 16275
17807369
BH
162762016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16277
16278 * gdb.mi/vla.f90: Nullify pointer after declaration.
16279
86e501af
PA
162802016-03-01 Pedro Alves <palves@redhat.com>
16281
16282 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16283
1e903e32
PA
162842016-03-01 Pedro Alves <palves@redhat.com>
16285
16286 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16287 before anything else.
16288 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16289 _GNU_SOURCE here.
16290 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16291 before anything else.
16292 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16293
6ccb54e2
PA
162942016-03-01 Pedro Alves <palves@redhat.com>
16295
16296 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16297
30ca9da1
YQ
162982016-03-01 Yao Qi <yao.qi@linaro.org>
16299
16300 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16301 prepare_for_testing.
16302
dc856b38
YQ
163032016-03-01 Yao Qi <yao.qi@linaro.org>
16304
16305 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16306
4a932159
AA
163072016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16308
16309 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16310 manually constructing the output path.
16311
f2489477
AA
163122016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16313
16314 * gdb.arch/s390-stackless.S: New.
16315 * gdb.arch/s390-stackless.exp: New.
16316
38899f16
IB
163172016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16318
16319 * gdb.dlang/circular.c: New file.
16320 * gdb.dlang/circular.exp: New file.
16321
9fde51ed
YQ
163222016-02-26 Yao Qi <yao.qi@linaro.org>
16323
16324 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16325 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16326 (testcases): Update.
16327
ce90fefe
YQ
163282016-02-26 Yao Qi <yao.qi@linaro.org>
16329
16330 * gdb.reverse/aarch64.c: Rename to ...
16331 * gdb.reverse/insn-reverse.c: ... it.
16332 * gdb.reverse/aarch64.exp: Rename to ...
16333 * gdb.reverse/insn-reverse.exp: ... it.
16334
3263bceb
YQ
163352016-02-26 Yao Qi <yao.qi@linaro.org>
16336
16337 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16338 (testcase_ftype): New.
16339 (testcases): New array.
16340 (n_testcases): New.
16341 (main): Call each element in testcases.
16342 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16343 (read_testcase): New.
16344 Do the tests in a loop.
16345
6cb59ff1
YQ
163462016-02-25 Yao Qi <yao.qi@linaro.org>
16347
16348 * gdb.base/branches.c: Remove.
16349
ae91f625
MK
163502016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16351
16352 PR gdb/13808
16353 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16354
678b48b7
MK
163552016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16356
16357 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16358
7337a6f2
MK
163592016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16360
16361 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16362 change x86_64 call_insn to 'callq'.
16363
861ca91f
AT
163642016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16365
16366 * gdb.trace/tfile-avx.c: Move to...
16367 * gdb.trace/tracefile-pseudo-reg.c: Here.
16368 * gdb.trace/tfile-avx.exp: Move to...
16369 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16370
bf74e428
GB
163712016-02-24 Gary Benson <gbenson@redhat.com>
16372
16373 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16374 message on attach.
16375
cce0e923
DE
163762016-02-23 Doug Evans <dje@google.com>
16377
16378 * gdb.base/skip.c (test_skip): New function.
16379 (end_test_skip_file_and_function): New function.
16380 (test_skip_file_and_function): New function.
16381 * gdb.base/skip1.c (test_skip): New function.
16382 (skip1_test_skip_file_and_function): New function.
16383 * gdb.base/skip.exp: Add tests for new skip options.
16384 * gdb.base/skip-solib.exp: Update expected output.
16385 * gdb.perf/skip-command.cc: New file.
16386 * gdb.perf/skip-command.exp: New file.
16387 * gdb.perf/skip-command.py: New file.
16388
4000e47e
MK
163892016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16390
16391 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16392 info registers pattern.
16393
24f75ead
IB
163942016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16395
16396 * lib/future.exp: Add D support.
16397 (gdb_find_gdc): New proc.
16398 (gdb_default_target_compile): Add D support.
16399
fbb7bcbe
WW
164002016-02-18 Wei-cheng Wang <cole945@gmail.com>
16401
16402 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16403 user+system time.
16404 (trace_speed_test): Determine the iteration count for a time
16405 between 15..30 seconds.
16406
012b3a21
WT
164072016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16408
16409 * gdb.arch/i386-mpx-sigsegv.c: New file.
16410 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16411 * gdb.arch/i386-mpx-simple_segv.c: New file.
16412 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16413
2d5189bd
YQ
164142016-02-18 Yao Qi <yao.qi@linaro.org>
16415
16416 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16417 Don't call setup_kfail.
16418
40fb20d0
YQ
164192016-02-18 Yao Qi <yao.qi@linaro.org>
16420
16421 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16422 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16423
21b1f8d2
DE
164242016-02-16 Doug Evans <dje@google.com>
16425
16426 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16427 * gdb.base/skip1.c: Ditto.
16428 * gdb.base/skip.exp: Whitespace cleanup.
16429
4041ed77
DB
164302016-02-16 Don Breazeal <donb@codesourcery.com>
16431
16432 PR remote/19496
16433 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16434 Remove kfail for PR remote/19496.
16435
c4ef31bf
SM
164362016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16437
16438 * lib/gdb.exp (standard_temp_file): Return a path specific to
16439 the runtest invocation.
16440
266b65b3
SM
164412016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16442
16443 * gdb.trace/save-trace.exp: Change relative path to be in the
16444 standard output directory.
16445
a7a0a6a9
JK
164462016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16447
16448 * gdb.arch/i386-prologue.c: Add missing prototypes.
16449
c99dbb42
JK
164502016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16451
16452 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16453 * gdb.arch/i386-prologue.exp: Likewise.
16454 * gdb.arch/i386-size.exp: Likewise.
16455
aa480355
SM
164562016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16457
16458 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16459 define object file path.
16460 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16461 file path.
16462 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16463 standard_output_file to define binfile.
16464
ba881f50
JK
164652016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16466
16467 Fix compatibility with recent gfortran-5.3.1.
16468 * gdb.fortran/vla-history.exp (print vla1 allocated)
16469 (print vla2 allocated, print $2, print $3): Remove
16470 (print $4): Rename to ...
16471 (print $2): ... here.
16472 (print $9): Rename to ...
16473 (print $5): ... here.
16474 (print $10): Rename to ...
16475 (print $6): ... here.
16476 * gdb.fortran/vla.f90: Add pvla initialization.
16477
e9fb005c
JK
164782016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16479
16480 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16481 New test.
16482 * gdb.fortran/vla-value-sub.exp: Likewise.
16483
e44e00ff
MK
164842016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16485
16486 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16487
97e94151
SM
164882016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16489
16490 * i386-biarch-core.exp: Define corefile using
16491 standard_output_file.
16492
01113bc1
YQ
164932016-02-12 Yao Qi <yao.qi@linaro.org>
16494
16495 * gdb.arch/arm-single-step-kernel-helper.c: New.
16496 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16497
33b4777c
MM
164982016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16499
16500 * gdb.btrace/tailcall-only.exp: New.
16501 * gdb.btrace/tailcall-only.c: New.
16502 * gdb.btrace/x86_64-tailcall-only.S: New.
16503 * gdb.btrace/i686-tailcall-only.S: New.
16504
acc23c11
PA
165052016-02-11 Pedro Alves <palves@redhat.com>
16506
16507 * README (Parallel testing): Add missing double quotes.
16508
e352bf0a
PA
165092016-02-11 Pedro Alves <palves@redhat.com>
16510
16511 * README (Parallel testing): New section.
16512 (GDB_PARALLEL): Rewrite.
16513 (FORCE_PARALLEL): Document.
16514
9f5fed78
MK
165152016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16516
16517 * gdb.trace/tfile-avx.c: New test.
16518 * gdb.trace/tfile-avx.exp: New test.
16519
9ef9e6a6
KS
165202016-02-09 Keith Seitz <keiths@redhat.com>
16521
16522 PR breakpoints/19546
16523 * gdb.base/infcall-exec.c: New file.
16524 * gdb.base/infcall-exec2.c: New file.
16525 * gdb.base/infcall-exec.exp: New file.
16526
a96e36da
KS
165272016-02-09 Keith Seitz <keiths@redhat.com>
16528
16529 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16530 (toplevel): Call test_bkpt_address.
16531
9f61929f
KS
165322016-02-09 Keith Seitz <keiths@redhat.com>
16533
16534 PR python/19506
16535 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16536 (toplevel): Call test_bkpt_address.
16537
1e94266c
SM
165382016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16539
16540 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16541 to AC_OUTPUT.
16542 * configure: Regenerate.
16543
2a7f3dff
PA
165442016-02-09 Pedro Alves <palves@redhat.com>
16545
16546 PR breakpoints/19548
16547 * gdb.base/execl-update-breakpoints.c (some_function): New
16548 function.
16549 (main): Call it.
16550 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16551 Tighten expected GDB output.
16552
2151ccc5
SM
165532016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16554
16555 * Makefile.in (ALL_SUBDIRS): Remove.
16556 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16557 (distclean maintainer-clean realclean): Likewise.
16558 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16559 * configure: Regenerate.
16560 * gdb.ada/Makefile.in: Delete.
16561 * gdb.arch/Makefile.in: Likewise.
16562 * gdb.asm/Makefile.in: Likewise.
16563 * gdb.base/Makefile.in: Likewise.
16564 * gdb.btrace/Makefile.in: Likewise.
16565 * gdb.cell/Makefile.in: Likewise.
16566 * gdb.compile/Makefile.in: Likewise.
16567 * gdb.cp/Makefile.in: Likewise.
16568 * gdb.disasm/Makefile.in: Likewise.
16569 * gdb.dlang/Makefile.in: Likewise.
16570 * gdb.dwarf2/Makefile.in: Likewise.
16571 * gdb.fortran/Makefile.in: Likewise.
16572 * gdb.gdb/Makefile.in: Likewise.
16573 * gdb.go/Makefile.in: Likewise.
16574 * gdb.guile/Makefile.in: Likewise.
16575 * gdb.java/Makefile.in: Likewise.
16576 * gdb.linespec/Makefile.in: Likewise.
16577 * gdb.mi/Makefile.in: Likewise.
16578 * gdb.modula2/Makefile.in: Likewise.
16579 * gdb.multi/Makefile.in: Likewise.
16580 * gdb.objc/Makefile.in: Likewise.
16581 * gdb.opencl/Makefile.in: Likewise.
16582 * gdb.opt/Makefile.in: Likewise.
16583 * gdb.pascal/Makefile.in: Likewise.
16584 * gdb.perf/Makefile.in: Likewise.
16585 * gdb.python/Makefile.in: Likewise.
16586 * gdb.reverse/Makefile.in: Likewise.
16587 * gdb.server/Makefile.in: Likewise.
16588 * gdb.stabs/Makefile.in: Likewise.
16589 * gdb.threads/Makefile.in: Likewise.
16590 * gdb.trace/Makefile.in: Likewise.
16591 * gdb.xml/Makefile.in: Likewise.
16592 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16593 GDB_PARALLEL.
16594 (standard_output_file): Remove check for GDB_PARALLEL, always
16595 return path in outputs/$subdir/$testname.
16596
437277d4
SM
165972016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16598
16599 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16600 (site.exp): Assign abs_srcdir to tcl's srcdir.
16601
31d913c7
YQ
166022016-02-04 Yao Qi <yao.qi@linaro.org>
16603
16604 * gdb.base/foll-exec-mode.c: Include limits.h.
16605 (main): Add parameters argc and argv. Get directory from
16606 argv[0].
16607 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16608 compilation.
16609 * gdb.base/foll-exec.c: Include limits.h.
16610 (main): Add parameters argc and argv.
16611 Get directory from argv[0].
16612 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16613 Adjust tests on the number of lines as source code changed.
16614 * gdb.base/foll-vfork-exit.c: Include limits.h.
16615 (main): Add one line of statement before vfork.
16616 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16617 (main): Add parameters argc and argv. Get directory from
16618 argv[0].
16619 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16620 (setup_gdb): Set tbreak to skip some source lines.
16621 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16622 (main): Add parameters argc and argv. Get directory from
16623 argv[0].
16624 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16625 compilation.
16626 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16627 (main): Add parameters argc and argv. Get directory from
16628 argv[0].
16629 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16630 compilation.
16631
9482b9fb
DE
166322016-02-01 Doug Evans <dje@google.com>
16633
16634 * gdb.base/skip.exp: Clean up multiple references to same test name.
16635
6b2e4f10
PA
166362016-02-01 Pedro Alves <palves@redhat.com>
16637
ccb6afd6 16638 PR remote/19496
6b2e4f10
PA
16639 * gdb.threads/forking-threads-plus-breakpoint.exp
16640 (displaced_stepping_supported): New global.
16641 (probe_displaced_stepping_support): New procedure.
16642 (do_test): Add 'displaced' parameter, and use it.
16643 (top level): Check for displaced stepping support. Add displaced
16644 stepping on/off testing axis.
16645
37a8db1a
AB
166462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16647
16648 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16649 pointer. Don't perform further tests on the unassociated pointer
16650 if the first test fails.
16651
5fdf6324
AB
166522016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16653
16654 * gdb.base/max-value-size.c: New file.
16655 * gdb.base/max-value-size.exp: New file.
16656 * gdb.base/huge.exp: Disable max-value-size for this test.
16657
935c6144
IB
166582016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16659
16660 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16661
7fe8399d
YQ
166622016-01-28 Yao Qi <yao.qi@linaro.org>
16663
16664 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16665
a2077e25
PA
166662016-01-25 Pedro Alves <palves@redhat.com>
16667
16668 PR threads/19461
16669 * gdb.base/fork-running-state.c: New file.
16670 * gdb.base/fork-running-state.exp: New file.
16671
1d2736d4
PA
166722016-01-25 Pedro Alves <palves@redhat.com>
16673
16674 PR gdb/19494
16675 * gdb.base/catch-fork-kill.c: New file.
16676 * gdb.base/catch-fork-kill.exp: New file.
16677
f1da4b11
PA
166782016-01-25 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16681 Delete, moved to lib/gdb.exp.
16682 * gdb.threads/forking-threads-plus-breakpoint.exp
16683 (foreach_with_prefix): Likewise.
16684 * gdb.threads/process-dies-while-handling-bp.exp
16685 (foreach_with_prefix): Likewise.
16686 * lib/gdb.exp (foreach_with_prefix): New procedure.
16687
45f38546
MK
166882016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16689
16690 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16691 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16692
dc29a1ce
MK
166932016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16694
16695 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16696 endian targets.
16697
092127d7
JK
166982016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16699 Pedro Alves <palves@redhat.com>
16700
16701 Fix testsuite compatibility with Guile.
16702 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16703 number.
16704
31d765d3
JK
167052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16706
16707 Fix testsuite compatibility with Guile.
16708 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16709 (thread 1): New test for backtrace through signal handler.
16710
1ac78c04
YQ
167112016-01-22 Yao Qi <yao.qi@linaro.org>
16712
16713 PR testsuite/19491
16714 * gdb.base/multi-forks.c: Include
16715 ../lib/unbuffer_output.c
16716 (main): Call gdb_unbuffer_output.
16717
4f5946a8
DE
167182016-01-21 Doug Evans <dje@google.com>
16719
16720 * lib/ada.exp (gdb_compile_ada): Fix typo.
16721
305e13e6
JB
167222016-01-21 Joel Brobecker <brobecker@adacore.com>
16723
16724 * gdb.base/break-fun-addr.exp: New file.
16725 * gdb.base/break-fun-addr1.c: New file.
16726 * gdb.base/break-fun-addr2.c: New file.
16727
5f5dfff6
SM
167282016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16729
16730 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16731 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16732 enum flag values.
16733
fd356fa2
AA
167342016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16735
16736 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16737 when GDB can not set the vector return value. Add more comments
16738 for clarification.
16739
9df22175
AT
167402016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16741
16742 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16743 command.
16744
41d1845e
SM
167452016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16746
16747 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16748
01ac6840
SM
167492016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16750
16751 * Makefile.in (check-single): Pass --status to runtest.
16752 (check/%.exp): Likewise.
16753
167542016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16755
16756 * Makefile.in (check-parallel): Propagate return code from make
16757 do-check-parallel.
16758
bd0a71fa
MK
167592016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16760
16761 * gdb.trace/ftrace.exp: Fix expected message on continue.
16762 * gdb.trace/pending.exp: Fix expected message on continue.
16763 * gdb.trace/trace-break.exp: Fix expected message on continue.
16764
8bcbad33
SM
167652016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16766
16767 * lib/gdb.exp (gdb_test): Remove unused global references.
16768
f303dbd6
PA
167692016-01-18 Pedro Alves <palves@redhat.com>
16770
16771 * gdb.base/async-shell.exp: Adjust expected output.
16772 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16773 * gdb.base/siginfo-thread.exp: Adjust expected output.
16774 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16775 * gdb.java/jnpe.exp: Adjust expected output.
16776 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16777 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16778 * gdb.threads/leader-exit.exp: Adjust expected output.
16779 * gdb.threads/manythreads.exp: Adjust expected output.
16780 * gdb.threads/pthreads.exp: Adjust expected output.
16781 * gdb.threads/schedlock.exp: Adjust expected output.
16782 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16783 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16784 expected output.
16785 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16786 output.
16787 * gdb.threads/sigthread.exp: Adjust expected output.
16788 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16789
b2789696
YQ
167902016-01-18 Yao Qi <yao.qi@linaro.org>
16791
16792 * gdb.guile/scm-section-script.c: Replace @progbits with
16793 %progbits.
16794 * gdb.python/py-section-script.c: Likewise.
16795
71ef29a8
PA
167962016-01-15 Pedro Alves <palves@redhat.com>
16797
16798 * gdb.multi/tids.exp: Test star wildcard ranges.
16799
3f5b7598
PA
168002016-01-15 Pedro Alves <palves@redhat.com>
16801
16802 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16803 command from "thread apply" invocation.
16804 (thr_apply_info_thr_invalid): Default the expected output to the
16805 input tid list.
16806 (top level): Add tests that use convenience variables. Add tests
16807 for "thread apply" with a valid TID list, but missing the command.
16808
663f6d42
PA
168092016-01-13 Pedro Alves <palves@redhat.com>
16810
16811 * gdb.base/default.exp: Expect $_gthread as well.
16812 * gdb.multi/tids.exp: Test $_gthread.
16813 * gdb.threads/thread-specific.exp: Test $_gthread.
16814
c84f6bbf
PA
168152016-01-13 Pedro Alves <palves@redhat.com>
16816
16817 * gdb.multi/tids.exp: Test "info threads -gid".
16818
22a02324
PA
168192016-01-13 Pedro Alves <palves@redhat.com>
16820
16821 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16822 Breakpoint.thread.
16823 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16824
5d5658a1
PA
168252016-01-07 Pedro Alves <palves@redhat.com>
16826
16827 * gdb.base/break.exp: Adjust to output changes.
16828 * gdb.base/hbreak2.exp: Likewise.
16829 * gdb.base/sepdebug.exp: Likewise.
16830 * gdb.base/watch_thread_num.exp: Likewise.
16831 * gdb.linespec/keywords.exp: Likewise.
16832 * gdb.multi/info-threads.exp: Likewise.
16833 * gdb.threads/thread-find.exp: Likewise.
16834 * gdb.multi/tids.c: New file.
16835 * gdb.multi/tids.exp: New file.
16836
84654457
PA
168372016-01-13 Pedro Alves <palves@redhat.com>
16838
16839 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16840
e3940304
PA
168412016-01-13 Pedro Alves <palves@redhat.com>
16842
16843 * gdb.base/default.exp: Expect $_inferior as well.
16844 * gdb.multi/base.exp: Test $_inferior.
16845
a911d87a
PA
168462016-01-13 Pedro Alves <palves@redhat.com>
16847
16848 PR breakpoints/19388
16849 * gdb.base/catch-signal-siginfo-cond.c: New file.
16850 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16851
82075af2
JS
168522016-01-12 Josh Stone <jistone@redhat.com>
16853 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16854
16855 * gdb.base/catch-syscall.c (do_execve): New variable.
16856 (main): Conditionally trigger an execve.
16857 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16858 (test_catch_syscall_execve): New, check entry/return across execve.
16859 (do_syscall_tests): Call test_catch_syscall_execve.
16860
e46eeedd
PA
168612016-01-12 Pedro Alves <palves@redhat.com>
16862
16863 * gdb.base/random-signal.exp (do_test): New procedure, with body
16864 of testcase moved in.
16865
01d8c27e
JK
168662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16867 Pedro Alves <palves@redhat.com>
16868
16869 * gdb.base/funcargs.exp (finish from indirectly called function):
16870 Reintroduce the case for 'First'.
16871
9a706302
JK
168722016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16873 Pedro Alves <palves@redhat.com>
16874
16875 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16876 (tcatch_vfork_then_child_follow_exec)
16877 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16878 identification.
16879
c0ecb95f
JK
168802016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16881
16882 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16883 and repeats to unlimited.
16884 * gdb.python/py-value.exp: Likewise.
16885 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16886 and repeats to unlimited.
16887
6cfc1fcb
JK
168882016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16889
16890 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16891 and reordering the functions.
16892 * gdb.multi/hangout.c: Likewise.
16893 * gdb.multi/hello.c: Likewise.
16894
582a1b00
SM
168952016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16896
16897 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16898 absolute.
16899 (SingleStatisticTestResult.report): Use dict.keys instead of
16900 dict.iterkeys.
16901
79bc59cb
PA
169022016-01-06 Pedro Alves <palves@redhat.com>
16903
16904 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16905
43368e1d
MM
169062016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16907
16908 * gdb.btrace/dlopen.exp: New.
16909 * gdb.btrace/dlopen.c: New.
16910 * gdb.btrace/dlopen-dso.c: New.
16911
79fad5b8
SL
169122015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16913
16914 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16915 PATTERN argument is optional.
16916
ab8314b3
JB
169172015-12-24 Joel Brobecker <brobecker@adacore.com>
16918
16919 * lib/ada.exp (target_compile_ada_from_dir): New function.
16920 (gdb_compile_ada): Reimplement avoiding the use of project files.
16921 * gdb.ada/gnat_ada.gpr: Delete.
16922 * gdb.ada/cond_lang.exp: Adjust test to make path before
16923 filename optional.
16924 * gdb.ada/small_reg_param.exp: Likewise.
16925
fe33faff
SM
169262015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16927
16928 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16929
6d265cb4
TP
169302015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16931
16932 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16933 case.
16934
10125099
SM
169352015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16936
16937 * gdb.base/break.exp: Remove dead code.
16938 * gdb.base/sepdebug.exp: Likewise.
16939
3ca22649
SM
169402015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16941
16942 * gdb.asm/asm-source.exp: Remove HP-UX references.
16943 * gdb.base/annota1.exp: Likewise.
16944 * gdb.base/annota3.exp: Likewise.
16945 * gdb.base/attach.exp: Likewise.
16946 * gdb.base/bigcore.exp: Likewise.
16947 * gdb.base/break.exp: Likewise.
16948 * gdb.base/call-ar-st.exp: Likewise.
16949 * gdb.base/callfuncs.exp: Likewise.
16950 * gdb.base/catch-fork-static.exp: Likewise.
16951 * gdb.base/display.exp: Likewise.
16952 * gdb.base/foll-exec-mode.exp: Likewise.
16953 * gdb.base/foll-exec.exp: Likewise.
16954 * gdb.base/foll-fork.exp: Likewise.
16955 * gdb.base/foll-vfork.exp: Likewise.
16956 * gdb.base/funcargs.exp: Likewise.
16957 * gdb.base/hbreak2.exp: Likewise.
16958 * gdb.base/inferior-died.exp: Likewise.
16959 * gdb.base/interrupt.exp: Likewise.
16960 * gdb.base/multi-forks.exp: Likewise.
16961 * gdb.base/nodebug.exp: Likewise.
16962 * gdb.base/sepdebug.exp: Likewise.
16963 * gdb.base/solib1.c: Likewise.
16964 * gdb.base/step-test.exp: Likewise.
16965 * gdb.mi/non-stop.c: Likewise.
16966 * gdb.mi/pthreads.c: Likewise.
16967 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16968 * gdb.threads/pthreads.c: Likewise.
16969 * gdb.threads/staticthreads.exp: Likewise.
16970 * lib/future.exp: Likewise.
16971 * lib/gdb.exp: Likewise.
16972 * gdb.base/so-indr-cl.c: Remove.
16973 * gdb.base/so-indr-cl.exp: Likewise.
16974 * gdb.base/solib.c: Likewise.
16975 * gdb.base/solib.exp: Likewise.
16976 * gdb.base/solib2.c: Likewise.
16977
b6304613
SM
169782015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16979
16980 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16981 * gdb.base/call-ar-st.exp: Likewise.
16982 * gdb.base/callfuncs.exp: Likewise.
16983 * gdb.base/condbreak.exp: Likewise.
16984 * gdb.base/constvars.exp: Likewise.
16985 * gdb.base/hbreak2.exp: Likewise.
16986 * gdb.base/langs.exp: Likewise.
16987 * gdb.base/list.exp: Likewise.
16988 * gdb.base/long_long.exp: Likewise.
16989 * gdb.base/ptype.exp: Likewise.
16990 * gdb.base/scope.exp: Likewise.
16991 * gdb.base/signals.exp: Likewise.
16992 * gdb.base/so-impl-ld.exp: Likewise.
16993 * gdb.base/varargs.exp: Likewise.
16994 * gdb.base/volatile.exp: Likewise.
16995 * gdb.base/whatis.exp: Likewise.
16996 * gdb.cp/cplusfuncs.exp: Likewise.
16997 * gdb.cp/inherit.exp: Likewise.
16998 * gdb.cp/local.exp: Likewise.
16999 * gdb.cp/member-ptr.exp: Likewise.
17000 * gdb.cp/method.exp: Likewise.
17001 * gdb.cp/overload.exp: Likewise.
17002 * gdb.cp/templates.exp: Likewise.
17003 * gdb.stabs/weird.exp: Likewise.
17004 * lib/compiler.c: Likewise.
17005 * lib/compiler.cc: Likewise.
17006 * lib/cp-support.exp: Likewise.
17007 * lib/gdb.exp: Likewise.
17008
bf401b07
SM
170092015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17010
17011 * configure.ac: Remove HP-UX case.
17012 * configure: Regenerate.
17013
aff9c0f8
SM
170142015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17015
17016 * lib/gdb.exp (gdb_compile): Add function doc.
17017
a6904d5a
PA
170182015-12-17 Pedro Alves <palves@redhat.com>
17019
17020 PR threads/19354
17021 * gdb.multi/info-threads.exp: New file.
17022
a22279dd
YQ
170232015-12-15 Yao Qi <yao.qi@linaro.org>
17024
17025 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17026 is aarch64*-*-*.
17027
0588c796
SL
170282015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17029
17030 * gdb.base/history-duplicates.exp: Skip if no readline support.
17031
5d978e17
SL
170322015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17033
17034 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17035
7e763b86
SL
170362015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17037
17038 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17039
87a3a92c
SL
170402015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17041
17042 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17043 ctrl-C if nointerrupts target property is set.
17044 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17045 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17046 * gdb.base/paginate-bg-execution.exp: Likewise.
17047 * gdb.base/paginate-execution-startup.exp: Likewise.
17048 * gdb.base/random-signal.exp: Likewise.
17049 * gdb.base/range-stepping.exp: Likewise.
17050 * gdb.cp/annota2.exp: Likewise.
17051 * gdb.cp/annota3.exp: Likewise.
17052 * gdb.gdb/selftest.exp: Likewise.
17053 * gdb.threads/continue-pending-status.exp: Likewise.
17054 * gdb.threads/leader-exit.exp: Likewise.
17055 * gdb.threads/manythreads.exp: Likewise.
17056 * gdb.threads/pthreads.exp: Likewise.
17057 * gdb.threads/schedlock.exp: Likewise.
17058 * gdb.threads/sigthread.exp: Likewise.
17059
a8f077dc
DB
170602015-12-11 Don Breazeal <donb@codesourcery.com>
17061
17062 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17063 remote.
17064 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17065 * gdb.base/foll-exec.exp (main): Enable for target remote.
17066 * gdb.base/foll-fork.exp (main): Likewise.
17067 * gdb.base/foll-vfork.exp (main): Likewise.
17068 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17069 (proc continue_to_exit_bp_loc): Use clean_restart.
17070 * gdb.base/pie-execl.exp (main): Disable for target remote.
17071 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17072 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17073 * gdb.threads/execl.exp (main): Likewise.
17074 * gdb.threads/fork-child-threads.exp (main): Likewise.
17075 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17076 remote.
17077 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17078 remote.
17079 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17080 pid.tid style ptids, instead of just tid.
17081 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17082 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17083 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17084 ptids, instead of just tid.
17085
3b2464a8
AB
170862015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17087
17088 * gdb.base/list.exp (test_list_forward): Add end of file error
17089 test.
17090 (test_repeat_list_command): Add end of file error test.
17091 (test_list_backwards): Add beginning of file error test.
17092
a0def019
AB
170932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17094
17095 * gdb.base/list.exp (test_list_invalid_args): New function,
17096 defined, and called.
17097
5c000dff
AB
170982015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17099
17100 * gdb.base/list.exp (test_list): Make test names unique.
17101
f1637ebe
YQ
171022015-12-11 Yao Qi <yao.qi@linaro.org>
17103
17104 * gdb.base/coremaker2.c: Remove.
17105
36d6fc0a
PA
171062015-12-10 Pedro Alves <palves@redhat.com>
17107
17108 * gdb.multi/base.exp: Remove stale "spaces" references.
17109
762f7747
PA
171102015-12-10 Pedro Alves <palves@redhat.com>
17111
17112 * gdb.multi/base.exp: Don't use nowarnings.
17113 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17114 * gdb.multi/hangout.c: Include stdio.h.
17115 * gdb.multi/hello.c: Include stdlib.h.
17116 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17117 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17118 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17119
28d2bfb9
AB
171202015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17121
17122 * gdb.dwarf2/dw2-ranges-base.c: New file.
17123 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17124 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17125 support additional line table, and debug ranges generation.
17126 (Dwarf::ranges): New function, generate .debug_ranges.
17127 (Dwarf::lines): Support generating simple line table programs.
17128 (Dwarf::assemble): Initialise new namespace variables.
17129
5fc2beac
KB
171302015-12-09 Kevin Buettner <kevinb@redhat.com>
17131
17132 * gdb.base/async.exp (proc test_background): Add case for
17133 asynchronous execution not supported.
17134
1c35a88f
LM
171352015-12-09 Luis Machado <lgustavo@codesourcery.com>
17136
17137 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17138 format and change test names to make them unique.
17139
b593e3d9
RK
171402015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17141 Pedro Alves <pedro@redhat.com>
17142
17143 PR gdb/18702
17144 Add checking of floatformats setup on x86_64 hosts.
17145 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17146 (smallval, bigval): New labels/constants.
17147 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17148 float" after loading bigval and smallval.
17149
d72413e6
PMR
171502015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17151
17152 * gdb.ada/fun_overload_menu.exp: New testcase.
17153 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17154
ece66d65
JS
171552015-12-04 Josh Stone <jistone@redhat.com>
17156
17157 * gdb.base/catch-fork-static.exp: New.
17158
41d0efca
YQ
171592015-12-03 Yao Qi <yao.qi@linaro.org>
17160
17161 * gdb.base/sizeof.c: Don't include stdio.h and
17162 ../lib/unbuffer_output.c.
17163 (main): New variable 'size' and 'value'. Remove printf and
17164 gdb_unbuffer_output. Assign return value to size and value.
17165 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17166 at the beginning.
17167 (check_sizeof): Check the result by printing variable 'size'.
17168 (check_valueof): Check the result by printing variable 'value'.
17169
99fd02d9
YQ
171702015-12-01 Yao Qi <yao.qi@linaro.org>
17171
17172 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17173 for aarch64*-*-linux* target.
17174
f2faf941
PA
171752015-11-30 Pedro Alves <palves@redhat.com>
17176
17177 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17178
04bf20c5
PA
171792015-11-30 Pedro Alves <palves@redhat.com>
17180
17181 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17182 Handle non-stop mode vCont replies.
17183
09df4675
PA
171842015-11-30 Pedro Alves <palves@redhat.com>
17185
17186 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17187 prepare_for_testing. Start gdb with "set non-stop on" appended to
17188 GDBFLAGS. Lax expected stop output.
17189
58b584af
YQ
171902015-11-27 Yao Qi <yao.qi@linaro.org>
17191
17192 * gdb.arch/arm-neon.exp: New.
17193 * gdb.arch/arm-neon.c: New.
17194
dfcb77a8
YQ
171952015-11-27 Yao Qi <yao.qi@linaro.org>
17196
17197 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17198
88e8ec1b
YQ
171992015-11-27 Yao Qi <yao.qi@linaro.org>
17200
17201 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17202 frames-invalid annotation.
17203
bfde72c2
YQ
172042015-11-27 Yao Qi <yao.qi@linaro.org>
17205
17206 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17207
f6512a69
SM
172082015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17209
17210 * gdb.threads/names.exp: New file.
17211 * gdb.threads/names.c: New file.
17212 * README: Mention gdb,no_thread_names.
17213
46a3515b
MM
172142015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17215
17216 PR 19297
17217 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17218 support" error.
17219
62147a22
PA
172202015-11-24 Pedro Alves <palves@redhat.com>
17221
17222 PR 17539
17223 * gdb.base/display.exp: Expect displays to be sorted in ascending
17224 order. Use multi_line.
17225 * gdb.base/solib-display.exp: Likewise.
17226
2f341b6e
PA
172272015-11-24 Pedro Alves <palves@redhat.com>
17228
17229 PR 17539
25d49b86
PA
17230 * gdb.base/display.exp: Expect displays to be sorted in ascending
17231 order. Use multi_line.
17232 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17233
7e0aa6aa
PA
172342015-11-24 Pedro Alves <palves@redhat.com>
17235
17236 PR 17539
17237 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17238 threads in ascending order.
17239 * gdb.base/foll-fork.exp: Likewise.
17240 * gdb.base/foll-vfork.exp: Likewise.
17241 * gdb.base/multi-forks.exp: Likewise.
17242 * gdb.mi/mi-nonstop.exp: Likewise.
17243 * gdb.mi/mi-nsintrall.exp: Likewise.
17244 * gdb.multi/base.exp: Likewise.
17245 * gdb.multi/multi-arch.exp: Likewise.
17246 * gdb.python/py-inferior.exp: Likewise.
17247 * gdb.threads/break-while-running.exp: Likewise.
17248 * gdb.threads/execl.exp: Likewise.
17249 * gdb.threads/gcore-thread.exp: Likewise.
17250 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17251 * gdb.threads/kill.exp: Likewise.
17252 * gdb.threads/linux-dp.exp: Likewise.
17253 * gdb.threads/multiple-step-overs.exp: Likewise.
17254 * gdb.threads/next-bp-other-thread.exp: Likewise.
17255 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17256 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17257 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17258 * gdb.threads/thread-find.exp: Likewise.
17259 * gdb.threads/tls.exp: Likewise.
17260 * lib/mi-support.exp (mi_reverse_list): Delete.
17261 (mi_check_thread_states): No longer reverse list.
17262
2cc57ad8
PA
172632015-11-24 Pedro Alves <palves@redhat.com>
17264
17265 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17266 use lowercase.
17267
c93e8391
SM
172682015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17269
17270 * gdb.trace/actions.c: Include trace-common.h.
17271 (main): Add a location for a fast tracepoint.
17272 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17273 the normal tracepoints.
17274 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17275
045ccf91
SM
172762015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17277
17278 * save-trace.exp: Factor out code to these...
17279 (gdb_save_tracepoints): New.
17280 (gdb_load_tracepoints): New.
17281 (do_save_load_test): New.
17282
5506f9f6
KB
172832015-11-23 Kevin Buettner <kevinb@redhat.com>
17284
17285 * gdb.base/asmlabel.exp: New test.
17286 * gdb.base/asmlabel.c: New test case.
17287
16c3b12f
JB
172882015-11-23 Joel Brobecker <brobecker@adacore.com>
17289
17290 * gdb.base/wrong_frame_bt_full-main.c: New file.
17291 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17292 * gdb.base/wrong_frame_bt_full.exp: New file.
17293
155bfbd3
JB
172942015-11-23 Joel Brobecker <brobecker@adacore.com>
17295
17296 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17297
bb097445
JM
172982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17299
206853a0 17300 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17301 pstate register when comparing registers values in
17302 sparc64-*-linux-gnu targets to avoid spurious differences.
17303
9c88ed8f
JM
173042015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17305
206853a0 17306 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17307
96161e25
SL
173082015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17309
17310 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17311 as type argument to gdb_compile.
17312 * gdb.base/nested-subp2.exp: Likewise.
17313 * gdb.base/nested-subp3.exp: Likewise.
17314
340c2830
DV
173152015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17316
17317 * lib/dwarf.exp (_note): Fix left shift of negative value.
17318 * gdb.trace/trace-condition.exp: Likewise.
17319
c1862d0f
YQ
173202015-11-13 Yao Qi <yao.qi@linaro.org>
17321
17322 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17323 comments about d10v.
17324 (test_scalar_returns): Likewise.
17325 * gdb.base/d10v.ld: Remove.
17326 * gdb.base/overlays.exp: Remove the target triplet checking for
17327 d10v-*-*.
17328 * gdb.base/structs.exp (test_struct_returns): Remove the
17329 comments about d10v.
17330 (test_struct_calls): Likewise.
17331
77ae9c19
YQ
173322015-11-13 Yao Qi <yao.qi@linaro.org>
17333
17334 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17335 * gdb.base/gnu_vector.c: Don't include stdio.h.
17336 (main): Don't print res and call add_some_intvecs.
17337
430e004e
MK
173382015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17339
17340 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17341 macro.
17342 (func5): Removed.
17343 (func4): Use FAST_TRACEPOINT_LABEL.
17344 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17345 macro.
17346 (func): Removed.
17347 (thread_function): Use FAST_TRACEPOINT_LABEL.
17348 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17349 (func): Remove.
17350 (marker): Use FAST_TRACEPOINT_LABEL.
17351 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17352 (pendfunc1): Remove.
17353 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17354 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17355 (foo): Remove.
17356 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17357 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17358 macro.
17359 (func): Remove.
17360 (marker): Use FAST_TRACEPOINT_LABEL.
17361 * gdb.trace/trace-common.h: New header.
17362 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17363 macro.
17364 (func): Remove.
17365 (marker): Use FAST_TRACEPOINT_LABEL.
17366 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17367 (func): Remove.
17368 (thread_function): Use FAST_TRACEPOINT_LABEL.
17369
6e7675a7
MK
173702015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17371
17372 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17373 in front.
17374 * gdb.trace/change-loc.exp: Use global pcreg definition.
17375 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17376 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17377 in front.
17378 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17379 * gdb.trace/pending.exp: Likewise.
17380 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17381 * gdb.trace/trace-break.exp: Likewise.
17382 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17383 in front.
17384 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17385 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17386 in front.
17387 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17388
dddc0e16
JB
173892015-11-09 Joel Brobecker <brobecker@adacore.com>
17390
17391 * gdb.ada/fin_fun_out: New testcase.
17392
c6f0b406
KB
173932015-11-07 Kevin Buettner <kevinb@redhat.com>
17394
17395 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17396 value associated with DW_AT_byte_size.
17397 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17398 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17399 DW_AT_upper_bound.
17400
f01dcfd9
KB
174012015-11-07 Kevin Buettner <kevinb@redhat.com>
17402
17403 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17404 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17405 version.
17406 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17407 gdb.dwarf2/dw2-canonicalize-type.exp,
17408 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17409 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17410 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17411 provided by gdb_target_symbol_prefix_flags_asm.
17412 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17413 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17414 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17415 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17416 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17417 macros where needed). Use this macro for symbols which require
17418 the prefix provided by SYMBOL_PREFIX.
17419
2223449a
KB
174202015-11-05 Kevin Buettner <kevinb@redhat.com>
17421
17422 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17423 New procs.
17424 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17425 representing expressions, of more than one list element.
17426 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17427 to prepend linker symbol prefix to f.
17428 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17429 table_1 and table_2.
17430 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17431 Likewise, for f and g.
17432 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17433 for ptr.
17434 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17435 for main.
17436 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17437 table_1_ptr and table_2_ptr.
17438
6f2f1a3a
JK
174392015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17440 Joel Brobecker <brobecker@adacore.com>
17441
17442 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17443
566c56c9
MK
174442015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17445
17446 * gdb.reverse/s390-mvcle.c: New test.
17447 * gdb.reverse/s390-mvcle.exp: New file.
17448 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17449
d5f0636b
MK
174502015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17451
17452 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17453
7ad8b86c
MK
174542015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17455
17456 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17457 reaching marker2.
17458 * gdb.reverse/getresuid-reverse.exp: Likewise.
17459 * gdb.reverse/pipe-reverse.exp: Likewise.
17460 * gdb.reverse/readv-reverse.exp: Likewise.
17461 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17462 * gdb.reverse/time-reverse.exp: Likewise.
17463 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17464
4081c0f1
YQ
174652015-10-30 Yao Qi <yao.qi@linaro.org>
17466
17467 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17468 (empty_cycle): Remove.
17469 (main): Don't call empty_cycle. Don't use watch_count_done.
17470 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17471 empty_cycle. Rewrite the code counting HW watchpoints.
17472
452b4ba5
MK
174732015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17474
17475 * gdb.reverse/fstatat-reverse.c: New test.
17476 * gdb.reverse/fstatat-reverse.exp: New file.
17477 * gdb.reverse/getresuid-reverse.c: New test.
17478 * gdb.reverse/getresuid-reverse.exp: New file.
17479 * gdb.reverse/pipe-reverse.c: New test.
17480 * gdb.reverse/pipe-reverse.exp: New file.
17481 * gdb.reverse/readv-reverse.c: New test.
17482 * gdb.reverse/readv-reverse.exp: New file.
17483 * gdb.reverse/recvmsg-reverse.c: New test.
17484 * gdb.reverse/recvmsg-reverse.exp: New file.
17485 * gdb.reverse/time-reverse.c: New test.
17486 * gdb.reverse/time-reverse.exp: New file.
17487 * gdb.reverse/waitpid-reverse.c: New test.
17488 * gdb.reverse/waitpid-reverse.exp: New file.
17489
5e2e7507
JK
174902015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17491
17492 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17493
0fde2c53
DE
174942015-10-26 Doug Evans <dje@google.com>
17495
17496 PR symtab/17391
17497 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17498 * gdb.dwarf2/bad-regnum.c: New file.
17499 * gdb.dwarf2/bad-regnum.exp: New file.
17500
1a70ae97
DE
175012015-10-26 Doug Evans <dje@google.com>
17502
17503 PR python/18938
17504 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17505 file.
17506
27dc26ab
JK
175072015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17508
17509 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17510 for a change by "Mention language in compile error message".
17511
bed91f4d
SM
175122015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17513
17514 PR python/18073
17515 * gdb.python/py-type.c (C::a_method): New.
17516 (C::a_const_method): New.
17517 (C::a_static_method): New.
17518 (a_function): New.
17519 * gdb.python/py-type.exp (test_fields): Test getting fields
17520 from function and method.
17521
3f2f83dd
KB
175222015-10-21 Keven Boell <keven.boell@intel.com>
17523
17524 * gdb.fortran/vla-alloc-assoc.exp: New file.
17525 * gdb.fortran/vla-datatypes.exp: New file.
17526 * gdb.fortran/vla-datatypes.f90: New file.
17527 * gdb.fortran/vla-history.exp: New file.
17528 * gdb.fortran/vla-ptype-sub.exp: New file.
17529 * gdb.fortran/vla-ptype.exp: New file.
17530 * gdb.fortran/vla-sizeof.exp: New file.
17531 * gdb.fortran/vla-sub.f90: New file.
17532 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17533 * gdb.fortran/vla-value-sub-finish.exp: New file.
17534 * gdb.fortran/vla-value-sub.exp: New file.
17535 * gdb.fortran/vla-value.exp: New file.
17536 * gdb.fortran/vla-ptr-info.exp: New file.
17537 * gdb.mi/mi-vla-fortran.exp: New file.
17538 * gdb.mi/vla.f90: New file.
17539
27145d50
SL
175402015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17541
17542 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17543 of hardwired timeout value.
17544
5f3ff4f8
JK
175452015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17546 Pedro Alves <palves@redhat.com>
17547
17548 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17549 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17550
bfd09d20
JS
175512015-10-19 Josh Stone <jistone@redhat.com>
17552
17553 * gdb.base/catch-syscall.c: Include <sched.h>.
17554 (unknown_syscall): New variable.
17555 (main): Trigger a vfork and an unknown syscall.
17556 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17557 (unknown_syscall_number): Likewise.
17558 (check_call_to_syscall): Accept an optional syscall pattern.
17559 (check_return_from_syscall): Likewise.
17560 (check_continue): Likewise.
17561 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17562 (test_catch_syscall_skipping_return): New test toggling off 'catch
17563 syscall' to step over the syscall return, then toggling back on.
17564 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17565 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17566 (do_syscall_tests): Call test_catch_syscall_without_args and
17567 test_catch_syscall_mid_vfork.
17568 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17569 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17570
b32b93c6
AS
175712015-10-19 Andrew Stubbs <ams@codesourcery.com>
17572
17573 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17574 print g_vE): Add new pass patterns.
17575 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17576 print various symbol names for vptr fields.
17577
9d622bda
AB
175782015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17579
17580 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17581 results.
17582
0fd8ac1c
YQ
175832015-10-12 Yao Qi <yao.qi@linaro.org>
17584
17585 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17586
34240514
YQ
175872015-10-12 Yao Qi <yao.qi@linaro.org>
17588
17589 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17590 is aarch64*-*-linux*.
17591
8240f442
YQ
175922015-10-12 Yao Qi <yao.qi@linaro.org>
17593
17594 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17595 (can_relocate_bcond_true): ... it.
17596 (can_relocate_bcond_false): New function.
17597 (foo): Likewise.
17598 (can_relocate_bl): Likewise.
17599 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17600 can_relocate_bl.
17601
2520f728
PMR
176022015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17603
17604 * gdb.base/nested-addr.c: New file.
17605 * gdb.base/nested-addr.exp: New testcase.
17606
abcef95a
MM
176072015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17608
17609 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17610 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17611 its output. Ignore the output of "record goto begin" and instead
17612 check that GDB is replaying.
17613
145e3ddb
PA
176142015-10-09 Pedro Alves <palves@redhat.com>
17615
17616 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17617 (top level): Use it in the run with no args test.
17618
d5d8c4e1
IB
176192015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17620
17621 * gdb.dlang/properties.exp: New file.
17622
06e635ef
SL
176232015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17624
17625 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17626 whether or not address 0x1000 is mapped on the target.
17627
e019fd1d
SM
176282015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17629
17630 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17631 build.
17632
77ba2a67
MM
176332015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17634
17635 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17636 instruction-history test.
17637
c60eb31f
DE
176382015-09-28 Doug Evans <dje@google.com>
17639
17640 * gdb.base/gcore.c (array_func): Add reference to static_array.
17641
9a3c8263
SM
176422015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17643
17644 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17645 source line.
17646
9720e656
SL
176472015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17648
17649 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17650 short or char as base type.
17651
938d3bf2
SL
176522015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17653
17654 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17655 to allow any size enum.
17656
e6c2c623
PMR
176572015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17658
17659 * gdb.ada/array_ptr_renaming.exp: New testcase.
17660 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17661 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17662
06da0f77
PL
176632015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17664
17665 * gdb.trace/ftrace-lock.c: New file.
17666 * gdb.trace/ftrace-lock.exp: New file.
17667
4f51c22a
PL
176682015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17669
17670 * gdb.arch/insn-reloc.c: New file.
17671 * gdb.arch/ftrace-insn-reloc.exp: New file.
17672
7041adf4
PL
176732015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17674
17675 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17676 instruction.
17677 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17678 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17679 * gdb.trace/range-stepping.c: Likewise.
17680 * gdb.trace/trace-break.c: Likewise.
17681 * gdb.trace/trace-mt.c (thread_function): Likewise.
17682 * gdb.trace/ftrace.c (marker): Likewise.
17683 * gdb.trace/trace-condition.c (marker): Likewise.
17684 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17685 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17686 is_aarch64_target.
17687
015d2e7e
DE
176882015-09-18 Doug Evans <xdje42@gmail.com>
17689
17690 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17691 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17692
26b188a2
SL
176932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17694
17695 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17696 the breakpoint.
17697
79dc332b
SL
176982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17699
17700 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17701 the pending breakpoint. Remove timeout override for "Run till
17702 MI pending breakpoint on pendfunc3 on thread 2" test.
17703
f57929f2
SL
177042015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17705
17706 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17707 filename pattern.
17708
3f469b17
SL
177092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17710
17711 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17712 in breakpoint filename pattern.
17713
515b89b3
SL
177142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17715
7800dbe4
SL
17716 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17717
177182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17719
515b89b3
SL
17720 * gdb.linespec/explicit.exp: Check for readline support for
17721 tab-completion tests. Fix obvious typo.
17722
d2939ba2
MM
177232015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17724
17725 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17726 and replay.
17727
cbb55fa7
MM
177282015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17729
17730 * gdb.btrace/non-stop.c: New.
17731 * gdb.btrace/non-stop.exp: New.
17732
43691ca1
PL
177332015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17734 Yao Qi <yao.qi@linaro.org>
17735
17736 * gdb.trace/trace-condition.c: New file.
17737 * gdb.trace/trace-condition.exp: New file.
17738
d78908cf
WW
177392015-09-16 Wei-cheng Wang <cole945@gmail.com>
17740
17741 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17742 for testing bytecode compilation.
17743
1ed415e2
PA
177442015-09-16 Pedro Alves <palves@redhat.com>
17745 Sandra Loosemore <sandra@codesourcery.com>
17746
17747 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17748 (SECONDS): Redefine.
17749 (main): Call pthread_kill and alarm early.
17750 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17751 support.
17752 (test): If the target can't hardware step and doesn't support
17753 displaced stepping, increase the timeout.
17754
d136eff5
PA
177552015-09-16 Pedro Alves <palves@redhat.com>
17756
17757 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17758 (enable_debug): New procedures.
17759 (test): Use them. Bail out if waiting for threads fails.
17760 (top level): Bail out if a test fails.
17761
991f019c
YQ
177622015-09-16 Yao Qi <yao.qi@linaro.org>
17763
17764 * gdb.asm/asm-source.exp: Set asm-arch for
17765 aarch64*-*-* target.
17766 * gdb.asm/aarch64.inc: New file.
17767
bfca584f
PMR
177682015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17769
17770 * gdb.ada/array_of_variable_length.exp: New testcase.
17771 * gdb.ada/array_of_variable_length/foo.adb: New file.
17772 * gdb.ada/array_of_variable_length/pck.adb: New file.
17773 * gdb.ada/array_of_variable_length/pck.ads: New file.
17774
b326e587
DE
177752015-09-15 Doug Evans <dje@google.com>
17776
17777 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17778 of function static local variable.
17779
5382cfab
PW
177802015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17781
17782 * gdb.threads/tls-so_extern.exp: New test file.
17783 * gdb.threads/tls-so_extern.c: New test file.
17784 * gdb.threads/tls-so_extern_main.c: New test file.
17785
141c5cc4
JK
177862015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17787
17788 * gdb.opt/solib-intra-step-lib.c: New file.
17789 * gdb.opt/solib-intra-step-main.c: New file.
17790 * gdb.opt/solib-intra-step.exp: New file.
17791
d15dcecd
PA
177922015-09-15 Pedro Alves <palves@redhat.com>
17793
17794 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17795 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17796
4c2f2a79
PA
177972015-09-14 Pedro Alves <palves@redhat.com>
17798
17799 * gdb.base/hook-stop-continue.c: Delete.
17800 * gdb.base/hook-stop-continue.exp: Delete.
17801 * gdb.base/hook-stop-frame.c: Delete.
17802 * gdb.base/hook-stop-frame.exp: Delete.
17803 * gdb.base/hook-stop.c: New file.
17804 * gdb.base/hook-stop.exp: New file.
17805
919e6dbe
PMR
178062015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17807
17808 * gdb.ada/access_to_packed_array.exp: New testcase.
17809 * gdb.ada/access_to_packed_array/foo.adb: New file.
17810 * gdb.ada/access_to_packed_array/pack.adb: New file.
17811 * gdb.ada/access_to_packed_array/pack.ads: New file.
17812
157280a4
MM
178132015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17814
17815 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17816 buffer size test.
17817
2fd33e94
DB
178182015-09-11 Don Breazeal <donb@codesourcery.com>
17819
17820 * gdb.base/foll-exec.c: Add copyright header. Fix
17821 formatting issues.
17822 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17823 (do_exec_tests): Use clean_restart in place of zap_session,
17824 and for test initialization. Fix formatting issues. Use
17825 fail in place of perror.
17826 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17827 an expect statement to match an expression with output from
17828 the program under debug.
17829 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17830 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17831 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17832 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17833 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17834
e70b6e8e
DE
178352015-09-09 Doug Evans <dje@google.com>
17836
17837 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17838
7a551a51
DE
178392015-09-09 Doug Evans <dje@google.com>
17840
17841 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17842
4c666f84
DE
178432015-09-09 Doug Evans <dje@google.com>
17844
17845 * gdb.base/savedregs.exp: Fix typo.
17846
243a9253
PA
178472015-09-09 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17850
c0fa8fbd
SL
178512015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17852
17853 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17854 command actually switches threads. Give up on remaining
17855 tests if target fails to stop at breakpoint.
17856
cd7c1778
PMR
178572015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17858
17859 * gdb.ada/funcall_char.exp: New testcase.
17860 * gdb.ada/funcall_char/foo.adb: New file.
17861
dc5c8746
PMR
178622015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17863
17864 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17865 expected outputs. Add two testcases for completing ambiguous
17866 functions.
17867 * gdb.ada/complete/aux_pck.adb: New file.
17868 * gdb.ada/complete/aux_pck.ads: New file.
17869 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17870 Ambiguous_Func functions.
17871 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17872 * gdb.ada/complete/pck.adb: Likewise.
17873
4e83a1e7
UW
178742015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17875
17876 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17877 failures to run the test program under GDB.
17878
8ce74153
LM
178792015-08-26 Luis Machado <lgustavo@codesourcery.com>
17880
17881 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17882 to C.
17883
e9756d52
PP
178842015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17885
17886 * gdb.base/run-after-attach.exp: New test file.
17887 * gdb.base/run-after-attach.c: New test file.
17888
8d37573b
DB
178892015-08-26 Don Breazeal <donb@codesourcery.com>
17890
17891 * gdb.base/foll-exec-2.c: New test program.
17892 * gdb.base/foll-exec-2.exp: New test.
17893
63e43d3a
PMR
178942015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17895
17896 * gdb.base/nested-subp1.exp: New file.
17897 * gdb.base/nested-subp1.c: New file.
17898 * gdb.base/nested-subp2.exp: New file.
17899 * gdb.base/nested-subp2.c: New file.
17900 * gdb.base/nested-subp3.exp: New file.
17901 * gdb.base/nested-subp3.c: New file.
17902
3d40fbb5
PA
179032015-08-24 Pedro Alves <palves@redhat.com>
17904
17905 * gdb.server/connect-without-multi-process.c: New file.
17906 * gdb.server/connect-without-multi-process.exp: New file.
17907
4422ac93
LM
179082015-08-24 Luis Machado <lgustavo@codesourcery.com>
17909
17910 * gdb.opt/inline-markers.c: Make z int.
17911
91dddb86
LM
179122015-08-24 Luis Machado <lgustavo@codesourcery.com>
17913
17914 * gdb.opt/inline-markers.c: Make z volatile.
17915
a48847ee
LM
179162015-08-24 Luis Machado <lgustavo@codesourcery.com>
17917
17918 * gdb.opt/inline-bt.c: New volatile global z.
17919 * gdb.opt/inline-cmds.c: Likewise.
17920 * gdb.opt/inline-locals.c: Likewise.
17921 * gdb.opt/inline-markers.c: New extern global z.
17922 (marker): Use z.
17923 (inline_fn): Likewise.
17924
0ebbc52b
PA
179252015-08-24 Pedro Alves <palves@redhat.com>
17926
17927 * config/m32r-stub.exp: Remove file.
17928 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17929 * gdb.base/call-rt-st.exp: Likewise.
17930 * gdb.base/call-strs.exp: Likewise.
17931 * gdb.base/default.exp: Remove references to h8300-*-hms and
17932 *-*-udi*.
17933 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17934
77c365df
AA
179352015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17936
17937 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17938 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17939 and "return" use KFAIL when GDB can not read/write the vector
17940 return value.
17941
4313b8c0
GB
179422015-08-21 Gary Benson <gbenson@redhat.com>
17943
17944 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17945
0e433b32
PA
179462015-08-20 Pedro Alves <palves@redhat.com>
17947
17948 * gdb.server/solib-list.exp: No longer expect an interior stop in
17949 non-stop mode.
17950
221e1a37
PA
179512015-08-20 Pedro Alves <palves@redhat.com>
17952
17953 * gdb.server/connect-stopped-target.c: New file.
17954 * gdb.server/connect-stopped-target.exp: New file.
17955
40e3ad0e
PA
179562015-08-20 Pedro Alves <palves@redhat.com>
17957
17958 * gdb.dwarf2/comp-unit-lang.exp: New file.
17959 * gdb.dwarf2/comp-unit-lang.c: New file.
17960
af39b327
PMR
179612015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17962
17963 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17964 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17965
7d45c7c3 179662015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17967
7d45c7c3
KB
17968 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17969 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17970
4d6cceb4
DE
179712015-08-18 Doug Evans <dje@google.com>
17972 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17973
17974 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17975 skip_python_tests. New arg prompt_regexp.
17976 (skip_python_tests): New function.
17977 * lib/mi-support.exp (mi_skip_python_tests): New function.
17978 * gdb.python/py-mi-objfile-gdb.py: New file.
17979 * gdb.python/py-mi-objfile.c: New file.
17980 * gdb.python/py-mi-objfile.exp: New file.
17981
ad89c2aa
KS
179822015-08-17 Keith Seitz <keiths@redhat.com>
17983
17984 * gdb.linespec/explicit.exp: Move strace test from here ...
17985 * gdb.trace/strace.exp: ... to here.
17986
e3ae3c43
PP
179872015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17988
17989 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17990 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17991
604b2636
DE
179922015-08-14 Doug Evans <xdje42@gmail.com>
17993
17994 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17995 inferior before selecting a new file.
17996
6ff0ba5f
DE
179972015-08-14 Doug Evans <xdje42@gmail.com>
17998
17999 * gdb.mi/mi-disassemble.exp: Update.
18000 * gdb.base/disasm-optim.S: New file.
18001 * gdb.base/disasm-optim.c: New file.
18002 * gdb.base/disasm-optim.h: New file.
18003 * gdb.base/disasm-optim.exp: New file.
18004
9ca98f92
KS
180052015-08-14 Keith Seitz <keiths@redhat.com>
18006
18007 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18008 "evaluated-by".
18009
52bbc560
JB
180102015-08-13 Joel Brobecker <brobecker@adacore.com>
18011
18012 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18013
5d8c3ed3
PMR
180142015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18015
18016 * gdb.ada/fun_renaming.exp: New testcase.
18017 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18018 * gdb.ada/fun_renaming/pack.adb: New file.
18019 * gdb.ada/fun_renaming/pack.ads: New file.
18020
ea8812bc
KS
180212015-08-12 Keith Seitz <keiths@redhat.com>
18022
18023 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18024 gdb_get_line_number.
18025
4dafcdeb
JB
180262015-08-12 Joel Brobecker <brobecker@adacore.com>
18027
18028 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18029 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18030 gdb.base/dso2dso.exp: New files.
18031
5ba32597
SDJ
180322015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18033 Pedro Alves <palves@redhat.com>
18034 Keith Seitz <keiths@redhat.com>
18035
18036 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18037 GDBFLAGS.
18038
b6dafabf
PP
180392015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18040
18041 * gdb.base/gdbhistsize-history.exp
18042 (test_histsize_history_setting): Use save_vars.
18043 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18044 Use save_vars.
18045 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18046 * gdb.base/readline.exp: Use save_vars.
18047
abe8e607
PP
180482015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18049
18050 * lib/gdb.exp (save_vars): New proc.
18051
629500fa
KS
180522015-08-11 Keith Seitz <keiths@redhat.com>
18053
18054 * gdb.base/help.exp: Update help_breakpoint_text.
18055
eb8c4e2e
KS
180562015-08-11 Keith Seitz <keiths@redhat.com>
18057
18058 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18059 (at toplevel): Call test_explicit_breakpoints.
18060 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18061 breakpoints.
18062 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18063 breakpoint conditions, "-cond".
18064
87f0e720
KS
180652015-08-11 Keith Seitz <keiths@redhat.com>
18066
18067 * gdb.linespec/3explicit.c: New file.
18068 * gdb.linespec/cpexplicit.cc: New file.
18069 * gdb.linespec/cpexplicit.exp: New file.
18070 * gdb.linespec/explicit.c: New file.
18071 * gdb.linespec/explicit.exp: New file.
18072 * gdb.linespec/explicit2.c: New file.
18073 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18074 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18075 before using in the matching pattern.
18076 Clarify that `prefix' is a regular expression.
18077
f00aae0f
KS
180782015-08-11 Keith Seitz <keiths@redhat.com>
18079
18080 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18081 test.
18082 Add tests for missing ",FMT" and ",".
18083
e27852be
DE
180842015-08-10 Doug Evans <dje@google.com>
18085 Keith Seitz <keiths@redhat.com>
18086
18087 PR gdb/17960
18088 * gdb.base/completion.exp: Add location completer tests.
18089
7f03bd92
PA
180902015-08-07 Pedro Alves <palves@redhat.com>
18091
18092 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18093 tests here.
18094 (top level): Run do_test with and without displaced stepping.
18095
3fc8eb30
PA
180962015-08-07 Pedro Alves <palves@redhat.com>
18097
18098 * gdb.base/valgrind-disp-step.c: New file.
18099 * gdb.base/valgrind-disp-step.exp: New file.
18100
d4569d7b
PA
181012015-08-07 Pedro Alves <palves@redhat.com>
18102
18103 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18104 Delete function.
18105 (main): Add alarm. Run an infinite loop instead of calling
18106 wait_threads.
18107 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18108 comment.
18109 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18110 Delete function.
18111 (main): Add alarm. Run an infinite loop instead of calling
18112 wait_threads.
18113 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18114 comment.
18115
e1316e60
PA
181162015-08-07 Pedro Alves <palves@redhat.com>
18117
18118 * gdb.base/checkpoint-ns.exp: New file.
18119 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18120 standard_testfile.
18121
da8c46d2
MM
181222015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18123
18124 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18125 * gdb.btrace/instruction_history.exp: Update.
18126 * gdb.btrace/tsx.exp: New.
18127 * gdb.btrace/tsx.c: New.
18128
de1c2c52
PA
181292015-08-06 Pedro Alves <palves@redhat.com>
18130
18131 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18132 increase timeout.
18133 * gdb.reverse/until-precsave.exp: Bump timeouts.
18134
782e0bf4
PA
181352015-08-06 Pedro Alves <palves@redhat.com>
18136
18137 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18138
83e97ed0
PA
181392015-08-06 Pedro Alves <palves@redhat.com>
18140
18141 PR gdb/18749
18142 * gdb.threads/process-dies-while-handling-bp.c: New file.
18143 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18144
863d01bd
PA
181452015-08-06 Pedro Alves <palves@redhat.com>
18146
18147 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18148 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18149
0a39bb32
PA
181502015-08-05 Pedro Alves <palves@redhat.com>
18151
18152 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18153 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18154
ee2d2b10
SL
181552015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18156
18157 * gdb.base/bp-permanent.exp: Report test as unsupported if
18158 the target cannot stop at the permanent breakpoint.
18159
4e1bdb00
DE
181602015-08-03 Doug Evans <dje@google.com>
18161
18162 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18163 10000.
18164
3d338901
DE
181652015-08-03 Doug Evans <dje@google.com>
18166
18167 * Makefile.in (workers/%.worker, build-perf): New rule.
18168 (GDB_PERFTEST_MODE): New variable.
18169 (check-perf): Use it.
18170 (clean): Clean up gdb.perf parallel build subdirs.
18171 * lib/build-piece.exp: New file.
18172 * lib/gdb.exp (make_gdb_parallel_path): New function
18173 (standard_output_file, standard_temp_file): Call it.
18174 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18175 of $GDB_PARALLEL.
18176 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18177
af061d3e
DE
181782015-08-03 Doug Evans <dje@google.com>
18179
8e1afc81 18180 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18181 (LOG_FILE_NAME): New global.
18182 (TextReporter.__init__): Initialize self.txt_sum.
18183 (TextReporter.report): Add support for multiple data-points.
18184 Move report to perftest.sum, put raw data in perftest.log.
18185 (TextReporter.start): Open sum and log files.
18186 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18187 * gdb.perf/lib/perftest/testresult.py
18188 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18189
2c8c5d37
PA
181902015-07-31 Pedro Alves <palves@redhat.com>
18191
18192 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18193 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18194 kill_wait_spawned_process instead of explicit "kill -9".
18195 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18196 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18197 kill_wait_spawned_process.
18198 * gdb.base/attach-twice.exp: Likewise.
18199 * gdb.base/attach.exp: Likewise.
18200 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18201 gdb_test_multiple.
18202 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18203 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18204 kill_wait_spawned_process.
18205 * gdb.base/valgrind-infcall.exp: Likewise.
18206 * gdb.multi/multi-attach.exp: Likewise.
18207 * gdb.python/py-prompt.exp: Likewise.
18208 * gdb.python/py-sync-interp.exp: Likewise.
18209 * gdb.server/ext-attach.exp: Likewise.
18210 * gdb.threads/attach-into-signal.exp (corefunc): Use
18211 spawn_wait_for_attach, spawn_id_get_pid and
18212 kill_wait_spawned_process.
18213 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18214 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18215 spawn_id_get_pid and kill_wait_spawned_process.
18216 * gdb.threads/attach-stopped.exp (corefunc): Use
18217 spawn_wait_for_attach, spawn_id_get_pid and
18218 kill_wait_spawned_process.
18219 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18220 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18221 kill_wait_spawned_process instead of explicit "kill -9".
18222 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18223 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18224 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18225 processes. Don't map cygwin/windows pids here. Now returns a
18226 spawn id list.
18227
032a0fca
SL
182282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18229
18230 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18231 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18232 correct patch.
18233
61a934ca
SL
182342015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18235
18236 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18237
4bc4d428
SL
182382015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18239
18240 Reapply:
18241 2014-05-21 Mark Wielaard <mjw@redhat.com>
18242
18243 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18244
998d452a
PA
182452015-07-30 Pedro Alves <palves@redhat.com>
18246
18247 * linux-low.c (handle_extended_wait): Set the child's last
18248 reported status to TARGET_WAITKIND_STOPPED.
18249
69dde7dc
PA
182502015-07-30 Pedro Alves <palves@redhat.com>
18251
18252 PR threads/18600
18253 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18254 only shows inferior 1.
18255
4dd63d48
PA
182562015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18257 Pedro Alves <palves@redhat.com>
18258
18259 PR threads/18600
18260 * gdb.threads/fork-plus-threads.c: New file.
18261 * gdb.threads/fork-plus-threads.exp: New file.
18262
d618e4c5
PP
182632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18264
18265 * gdb.base/batch-preserve-term-settings.exp
18266 (test_terminal_settings_preserved_after_cli_exit): Use
18267 send_quit_command.
18268
1eef6428
PA
182692015-07-29 Pedro Alves <palves@redhat.com>
18270 Don Breazeal <donb@codesourcery.com>
18271
18272 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18273 output from both inferior_spawn_id and gdb_spawn_id.
18274
7da5b897
SDJ
182752015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18276
18277 * gdb.threads/attach-into-signal.exp (corefunc): Use
18278 with_test_prefix on nested loops, uniquefying the test messages.
18279
dac804df
SDJ
182802015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18281
18282 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18283 commit.
18284
06265e53
PP
182852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18286
18287 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18288 New proc.
18289 (test_terminal_settings_preserved_after_sigterm): New test.
18290
18206ca3
PP
182912015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18292
18293 * gdb.base/batch-preserve-term-settings.exp
18294 (test_terminal_settings_preserved_after_cli_exit): New test.
18295
90074d11
PP
182962015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18297
18298 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18299 manipulation of saved_gdbflags.
18300 (test_terminal_settings_preserved): Remove global declaration of
18301 the unused variable pagination_prompt. Remove manipulation of
18302 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18303 GDBFLAGS.
18304
eb1a7902
PA
183052015-07-29 Pedro Alves <palves@redhat.com>
18306
18307 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18308
8b75dd3b
PA
183092015-07-29 Pedro Alves <palves@redhat.com>
18310
18311 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18312 at the top.
18313
dedad4e3
PA
183142015-07-29 Pedro Alves <palves@redhat.com>
18315
18316 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18317 (main): Call gdb_unbuffer_output.
18318 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18319 (main): Call gdb_unbuffer_output.
18320 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18321 (main): Call gdb_unbuffer_output.
18322 * gdb.base/call-strs.exp: Adjust to step over the
18323 gdb_unbuffer_output call.
18324 * gdb.base/catch-gdb-caused-signals.c: Include
18325 "../lib/unbuffer_output.c".
18326 (main): Call gdb_unbuffer_output.
18327 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18328 (main): Call gdb_unbuffer_output.
18329 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18330 (main): Call gdb_unbuffer_output.
18331 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18332 (main): Call gdb_unbuffer_output.
18333 * gdb.base/shlib-call.exp: Adjust to step over the
18334 gdb_unbuffer_output call.
18335 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18336 (main): Call gdb_unbuffer_output.
18337 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18338 (main): Call gdb_unbuffer_output.
18339 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18340 (main): Rename to ...
18341 (test): ... this.
18342 (main): Reimplement.
18343 * gdb.base/varargs.exp: Run to test instead of to main.
18344 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18345 (main): Call gdb_unbuffer_output.
18346
58789a91
PA
183472015-07-29 Pedro Alves <palves@redhat.com>
18348
18349 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18350 factore out from mi_continue_dprintf. For call-style dprintfs,
18351 expect dprintf output out of $inferior_spawn_id.
18352 (mi_continue_dprintf): Use mi_expect_dprintf.
18353 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18354 (main): Call gdb_unbuffer_output.
18355
e8376742
PA
183562015-07-29 Pedro Alves <palves@redhat.com>
18357
18358 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18359 (default_mi_gdb_start): Set inferior_spawn_id instead of
18360 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18361 gdb_spawn_id.
18362 (mi_gdb_test): Always expect inferior output from both
18363 $inferior_spawn_id and $gdb_spawn_id.
18364
08280010
PA
183652015-07-29 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18368 send_inferior and $inferior_spawn_id.
18369
4d30e432
PA
183702015-07-29 Pedro Alves <palves@redhat.com>
18371
18372 * gdb.gdb/complaints.exp (test_initial_complaints)
18373 (test_serial_complaints, test_short_complaints): Use
18374 gdb_test_stdio.
18375 (test_empty_complaint): Handle $inferior_spawn_id !=
18376 $gdb_spawn_id.
18377
0d30a335
PA
183782015-07-29 Pedro Alves <palves@redhat.com>
18379
18380 * gdb.base/varargs.exp: Use gdb_test_stdio.
18381
39413b29
PA
183822015-07-29 Pedro Alves <palves@redhat.com>
18383
18384 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18385
7cb000a9
PA
183862015-07-29 Pedro Alves <palves@redhat.com>
18387
18388 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18389
d7b8ac82
PA
183902015-07-29 Pedro Alves <palves@redhat.com>
18391
18392 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18393 parameter into two new parameters, "inf_result" and "gdb_result".
18394 Expect inferior output and gdb output from $inferior_spawn_id and
18395 $gdb_spawn_id, respectively. Adjust all callers.
18396
789c3a0c
PA
183972015-07-29 Pedro Alves <palves@redhat.com>
18398
18399 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18400 of gdb_test_sequence.
18401
77e760c3
PA
184022015-07-29 Pedro Alves <palves@redhat.com>
18403
18404 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18405 (saw_spurious_output): Expect inferior output from
18406 $inferior_spawn_id. Use gdb_test_stdio.
18407
8396d2cd
PA
184082015-07-29 Pedro Alves <palves@redhat.com>
18409
18410 * gdb.base/dprintf.exp: Use standard_testfile. Change
18411 prepare_for_testing call.
18412 (srcfile): Don't set.
18413 (restart): New procedure.
18414 (test_dprintf): New procecure, use to continue over dprintfs.
18415 (test_call, test_agent): New procedures, tests moved here.
18416 Restart gdb and recreate dprintfs. Adjust expected output.
18417
2051d61f
PA
184182015-07-29 Pedro Alves <palves@redhat.com>
18419
18420 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18421
452397af
PA
184222015-07-29 Pedro Alves <palves@redhat.com>
18423
18424 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18425
8aed9555
PA
184262015-07-29 Pedro Alves <palves@redhat.com>
18427
18428 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18429 gdb_test_stdio.
18430
188a61b4
PA
184312015-07-29 Pedro Alves <palves@redhat.com>
18432
18433 * lib/gdb.exp (gdb_test_stdio): New procedure.
18434
12264a45
PA
184352015-07-29 Pedro Alves <palves@redhat.com>
18436
18437 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18438
23ffc893
PA
184392015-07-29 Pedro Alves <palves@redhat.com>
18440
18441 * gdb.base/call-signal-resume.exp: Remove check for
18442 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18443 * gdb.base/unwindonsignal.exp: Likewise.
18444 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18445 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18446
65566918
PA
184472015-07-29 Pedro Alves <palves@redhat.com>
18448
18449 * gdb.base/siginfo-addr.c (pass): New function.
18450 (handler): Call it iff si_addr is correct.
18451 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18452 Set a breakpoint at "pass" and continue to it.
18453
d60a9221
SDJ
184542015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18455
18456 * gdb.python/py-objfile.exp: Make some tests have unique names.
18457 * gdb.python/py-pp-registration.exp: Likewise.
18458
bde40b8f
PA
184592015-07-28 Pedro Alves <palves@redhat.com>
18460
18461 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18462
13e1dec8
SM
184632015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18464
18465 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18466
da33c9a7
SM
184672015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18468
18469 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18470
077836f7
PP
184712015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18472
18473 * gdb.base/gdb-sigterm-2.exp: New test.
18474
b8cc7b2e
DE
184752015-07-25 Doug Evans <xdje42@gmail.com>
18476
18477 Revert:
18478 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18479 (workers/%.worker, build-perf): New rule.
18480 (GDB_PERFTEST_MODE): New variable.
18481 (check-perf): Use it.
18482 (clean): Clean up gdb.perf parallel build subdirs.
18483 * lib/build-piece.exp: New file.
18484 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18485 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18486 name.
18487 (standard_temp_file): Ditto.
18488 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18489 of $GDB_PARALLEL.
18490
c8bd4544
DE
184912015-07-24 Doug Evans <dje@google.com>
18492
18493 * gdb.perf/lib/perftest/utils.py: New file.
18494 * gdb.perf/gm-hello.cc: New file.
18495 * gdb.perf/gm-pervasive-typedef.cc: New file.
18496 * gdb.perf/gm-pervasive-typedef.h: New file.
18497 * gdb.perf/gm-std.cc: New file.
18498 * gdb.perf/gm-std.h: New file.
18499 * gdb.perf/gm-use-cerr.cc: New file.
18500 * gdb.perf/gm-utils.h: New file.
18501 * gdb.perf/gmonster-null-lookup.py: New file.
18502 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18503 * gdb.perf/gmonster-print-cerr.py: New file.
18504 * gdb.perf/gmonster-ptype-string.py: New file.
18505 * gdb.perf/gmonster-runto-main.py: New file.
18506 * gdb.perf/gmonster-select-file.py: New file.
18507 * gdb.perf/gmonster1-null-lookup.exp: New file.
18508 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18509 * gdb.perf/gmonster1-print-cerr.exp: New file.
18510 * gdb.perf/gmonster1-ptype-string.exp: New file.
18511 * gdb.perf/gmonster1-runto-main.exp: New file.
18512 * gdb.perf/gmonster1-select-file.exp: New file.
18513 * gdb.perf/gmonster1.cc: New file.
18514 * gdb.perf/gmonster1.exp: New file.
18515 * gdb.perf/gmonster2-null-lookup.exp: New file.
18516 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18517 * gdb.perf/gmonster2-print-cerr.exp: New file.
18518 * gdb.perf/gmonster2-ptype-string.exp: New file.
18519 * gdb.perf/gmonster2-runto-main.exp: New file.
18520 * gdb.perf/gmonster2-select-file.exp: New file.
18521 * gdb.perf/gmonster2.cc: New file.
18522 * gdb.perf/gmonster2.exp: New file.
18523
6eab34f3
DE
185242015-07-24 Doug Evans <dje@google.com>
18525
18526 * gdb.perf/README: New file.
18527 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18528 * lib/gen-perf-test.exp: New file.
18529
63738bfd
DE
185302015-07-24 Doug Evans <dje@google.com>
18531
18532 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18533 (PerfTest::startup): New function.
18534 (PerfTest::run): Return result of calling body.
18535 (PerfTest::assemble): Rewrite.
18536 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18537 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18538 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18539 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18540 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18541
7b606f95
DE
185422015-07-24 Doug Evans <dje@google.com>
18543
18544 * lib/gdb.exp (clean_restart): Make executable optional.
18545
a97b16b8
DE
185462015-07-24 Doug Evans <dje@google.com>
18547
18548 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18549 compiler_info references.
18550 * gdb.cp/temargs.exp: Ditto.
18551 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18552 (get_compiler_info): Early exit if already computed. Set compiler_info
18553 to "unknown" if there was a problem.
18554 (test_compiler_info): Add function comment. Call get_compiler_info.
18555
35baa57f
DE
185562015-07-24 Doug Evans <dje@google.com>
18557
18558 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18559 (workers/%.worker, build-perf): New rule.
18560 (GDB_PERFTEST_MODE): New variable.
18561 (check-perf): Use it.
18562 (clean): Clean up gdb.perf parallel build subdirs.
18563 * lib/build-piece.exp: New file.
18564 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18565 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18566 name.
18567 (standard_temp_file): Ditto.
18568 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18569 of $GDB_PARALLEL.
18570
6ebea266
DE
185712015-07-24 Doug Evans <dje@google.com>
18572
18573 * lib/future.exp (gdb_default_target_compile): New option
18574 "early_flags".
18575 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18576 --as-needed.
18577
1e76a7e9
SDJ
185782015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18579
18580 * gdb.base/catch-syscall.exp: Call gdb_exit before
18581 gdb_skip_xml_test.
18582
5068630a
PA
185832015-07-24 Pedro Alves <palves@redhat.com>
18584
18585 * gdb.python/py-events.exp: Accept output between the stop event
18586 and the prompt.
18587 * gdb.python/py-evsignal.exp: Likewise.
18588 * gdb.python/py-evthreads.exp: Likewise.
18589
77598427
PA
185902015-07-24 Pedro Alves <palves@redhat.com>
18591
18592 PR gdb/18717
18593 * gdb.threads/non-ldr-exit.c: New file.
18594 * gdb.threads/non-ldr-exit.exp: New file.
18595
11e6c98f
YQ
185962015-07-24 Yao Qi <yao.qi@linaro.org>
18597
18598 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18599 restarting process.
18600
51aee833
YQ
186012015-07-24 Yao Qi <yao.qi@linaro.org>
18602
18603 * gdb.server/ext-restart.exp: New file.
18604
8cfe207c
YQ
186052015-07-24 Yao Qi <yao.qi@linaro.org>
18606
18607 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18608 argument options.
18609 * gdb.server/ext-wrapper.exp: New file.
18610
cc12ce38
DE
186112015-07-23 Doug Evans <dje@google.com>
18612
18613 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18614 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18615
d0d84780
PMR
186162015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18617
18618 * gdb.ada/var_arr_typedef.exp: New testcase.
18619 * gdb.ada/var_arr_typedef/pack.adb: New file.
18620 * gdb.ada/var_arr_typedef/pack.ads: New file.
18621 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18622
8b558f79
JB
186232015-07-20 Joel Brobecker <brobecker@adacore.com>
18624
18625 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18626
775a3298
JK
186272015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18628
18629 * gdb.arch/i386-biarch-core.exp: Replace istarget
18630 by "complete set gnutarget". Remove expectation for the "core-file"
18631 command.
18632
db1ff28b
JK
186332015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18634
18635 Revert the previous commit:
18636 Tests for validate symbol file using build-id.
18637
0a94970d
JK
186382015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18639
18640 Tests for validate symbol file using build-id.
18641 * gdb.base/solib-mismatch-lib.c: New file.
18642 * gdb.base/solib-mismatch-libmod.c: New file.
18643 * gdb.base/solib-mismatch.c: New file.
18644 * gdb.base/solib-mismatch.exp: New file.
18645
03346981
SL
186462015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18647
18648 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18649 nios2-*-linux*.
18650 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18651 * gdb.base/siginfo.exp: Likewise.
18652 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18653
42422cc7
PL
186542015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18655
18656 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18657 Move it to ...
18658 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18659 ... here.
18660 * gdb.trace/range-stepping.exp: Check that the target supports
18661 range stepping.
18662
cfa68bae
JK
186632015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18664
18665 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18666
8ffdba26
PA
186672015-07-14 Pedro Alves <palves@redhat.com>
18668
18669 * gdb.base/killed-outside.exp: New file.
18670 * gdb.base/killed-outside.c: New file.
18671
218a5a11
JK
186722015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18673
18674 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18675 (n at main): New.
18676 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18677
e03ed3c6
AA
186782015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18679
18680 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18681 infcall tests instead of setting up for KFAIL.
18682
485668e5
MM
186832015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18684
18685 * gdb.btrace/record_goto-step.exp: New.
18686
08464196
JK
186872015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18688
18689 PR compile/18484
18690 * gdb.compile/compile.c (struct struct_type): Add volatile to
18691 selffield's type.
18692 * gdb.compile/compile.exp
18693 (compile code struct_object.selffield = &struct_object): Skip further
18694 struct_object tests if this one xfails.
18695
bcf5c1d9
RC
186962015-07-08 Robert O'Callahan <robert@ocallahan.org>
18697
18698 PR exp/18617
18699 * gdb.trace/ax.exp: Add test.
18700
4931af25
YQ
187012015-07-07 Yao Qi <yao.qi@linaro.org>
18702
18703 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18704 instead of istarget "aarch64*-*-*".
18705 * gdb.arch/aarch64-fp.exp: Likewise.
18706 * gdb.base/float.exp: Likewise.
18707 * gdb.reverse/aarch64.exp: Likewise.
18708 * lib/gdb.exp (is_aarch64_target): New proc.
18709
9fcf688e
YQ
187102015-07-07 Yao Qi <yao.qi@linaro.org>
18711
18712 * lib/gdb.exp (is_aarch32_target): New proc.
18713 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18714 instead of "istarget "arm*-*-*"".
18715 * gdb.arch/arm-disp-step.exp: Likewise.
18716 * gdb.arch/thumb-bx-pc.exp: Likewise.
18717 * gdb.arch/thumb-prologue.exp: Likewise.
18718 * gdb.arch/thumb-singlestep.exp: Likewise.
18719 * gdb.base/disp-step-syscall.exp: Likewise.
18720 * gdb.base/float.exp: Likewise.
18721
fbd8d50d
YQ
187222015-07-07 Yao Qi <yao.qi@linaro.org>
18723
18724 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18725 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18726
71be1fdc
YQ
187272015-07-07 Yao Qi <yao.qi@linaro.org>
18728
18729 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18730 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18731 if it exists.
18732 * gdb.multi/multi-arch.exp: Likewise.
18733
3e221d36
SM
187342015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18735
18736 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18737 print.
18738
d441430b
YQ
187392015-07-07 Yao Qi <yao.qi@linaro.org>
18740
18741 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18742
06f810bd
MG
187432015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18744
18745 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18746 '[' and ']' characters.
18747
5e61e7c0
IB
187482015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18749
18750 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18751
28bf096c
PA
187522015-06-29 Pedro Alves <palves@redhat.com>
18753
18754 PR threads/18127
18755 * gdb.threads/hand-call-new-thread.c: New file.
18756 * gdb.threads/hand-call-new-thread.c: New file.
18757
ee93cd5e
KS
187582015-06-26 Keith Seitz <keiths@redhat.com>
18759 Doug Evans <dje@google.com>
18760
18761 PR 16253
18762 * gdb.cp/var-tag-2.cc: New file.
18763 * gdb.cp/var-tag-3.cc: New file.
18764 * gdb.cp/var-tag-4.cc: New file.
18765 * gdb.cp/var-tag.cc: New file.
18766 * gdb.cp/var-tag.exp: New file.
18767
fc637f04
PP
187682015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18769
18770 * gdb.base/history-duplicates.exp: New test.
18771
2e52ae68
PP
187722015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18773
18774 * gdb.base/completion.exp: Test the completion of the "focus"
18775 command.
18776
6e22494e
JK
187772015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18778
18779 * gdb.arch/amd64-prologue-skip.S: New file.
18780 * gdb.arch/amd64-prologue-skip.exp: New file.
18781
bf7b9cd9
SM
187822015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18783
18784 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18785 is_address_zero_readable check.
18786
201e8dfd
PB
187872015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18788
18789 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18790 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18791
5cd867b4
YQ
187922015-06-24 Yao Qi <yao.qi@linaro.org>
18793
18794 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18795 linux targets.
18796
4d7be007
YQ
187972015-06-24 Yao Qi <yao.qi@linaro.org>
18798
18799 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18800 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18801 * gdb.base/siginfo-thread.exp: Likewise.
18802
07fcd301
YQ
188032015-06-22 Yao Qi <yao.qi@linaro.org>
18804
18805 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18806
52042a00
YQ
188072015-06-22 Yao Qi <yao.qi@linaro.org>
18808
18809 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18810 aarch64*-*-*.
18811 (skip_hw_watchpoint_tests): Likewise.
18812
74bd41ce
PP
188132015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18814
18815 * gdb.base/gdbinit-history.exp: Test the interaction between
18816 setting GDBHISTSIZE and setting the history size via .gdbinit.
18817
bc460514
PP
188182015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18819
18820 PR gdb/16999
18821 * gdb.base/gdbhistsize-history.exp: New test.
18822
b58c513b
PP
188232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18824
18825 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18826 with GDBHISTSIZE.
18827 * gdb.base/readline.exp: Likewise.
18828
92046791
YQ
188292015-06-17 Yao Qi <yao.qi@linaro.org>
18830
18831 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18832 line.
18833
2093d2d3
PP
188342015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18835
18836 * gdb.base/gdbinit-history.exp: Add test case to check that
18837 an unlimited history file does not get truncated on exit.
18838
e6c693af
AA
188392015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18840
18841 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18842 (VECTOR): New macro. Use it...
18843 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18844 ...for these typedefs.
18845 (int8, char1, int1, double1): New typedefs.
18846 (struct just_int2, struct two_int2): New structures.
18847 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18848 (add_structvecs, add_singlevecs): New functions.
18849 (main): Call add_some_intvecs twice.
18850 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18851 the compile and exit upon failure. Try compiling for the "native"
18852 architecture. Test inferior function calls with vector arguments
18853 and vector return value handling with "finish" and "return".
18854
c74f7d1c
JT
188552015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18856
18857 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18858 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18859 PE file.
18860 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18861
98aa42ee
AT
188622015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18863
18864 PR breakpoints/16465
18865 * gdb.mi/mi-dprintf-pending.c: New file.
18866 * gdb.mi/mi-dprintf-pending.exp: New test.
18867 * gdb.mi/mi-dprintf-pendshr.c: New file.
18868
7d73c23c 188692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18870 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18871
18872 * gdb.arch/i386-mpx-map.c: New file.
18873 * gdb.arch/i386-mpx-map.exp: New File.
18874
188752015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18876
18877 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18878 * gdb.arch/i386-mpx.exp: Indentation fixed.
18879
188802015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18881
18882 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18883 function and improved indentation.
18884 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18885 gdb_test_multiple. Added additional tests to skip the test.
18886
188872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18888
18889 * gdb.arch/i386-avx512.c: Change path in include file.
18890 * gdb.arch/i386-avx512.exp: Change include dir path
18891 compilation flag.
18892 * gdb.arch/i386-mpx.c: Change path in include file.
18893 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18894 flag.
18895
d5eba19a
JK
188962015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18897
18898 * gdb.compile/compile-print.exp (compile print *vararray@3)
18899 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18900
7f361056
JK
189012015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18902
18903 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18904 (do not keep jit in memory): ... this.
18905 (expect 5): Change it to ...
18906 (expect no 5): ... this.
18907
3b462ec2
SM
189082015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18909
18910 PR gdb/15564
18911 * gdb.mi/mi-detach.exp: New file.
18912
e0619de6
JK
189132015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18914
18915 PR symtab/18392
18916 * gdb.arch/amd64-tailcall-self.S: New file.
18917 * gdb.arch/amd64-tailcall-self.c: New file.
18918 * gdb.arch/amd64-tailcall-self.exp: New file.
18919
e970cb34
DB
189202015-05-28 Don Breazeal <donb@codesourcery.com>
18921
18922 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18923 tests for remote targets by checking is_target_gdbserver.
18924
b2e2f908
DE
189252015-05-27 Doug Evans <dje@google.com>
18926
18927 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18928 * gdb.dwarf2/opaque-type-lookup.c: New file.
18929 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18930
82c7be31
DE
189312015-05-26 Doug Evans <dje@google.com>
18932
18933 * gdb.cp/iostream.cc: New file.
18934 * gdb.cp/iostream.exp: New file.
18935
b4f54984
DE
189362015-05-26 Doug Evans <dje@google.com>
18937
18938 * gdb.dwarf2/dw2-op-call.exp: Update.
18939 * gdb.dwarf2/dw4-sig-types.exp: Update.
18940 * gdb.dwarf2/implptr.exp: Update.
18941 * gdb.mi/mi-cmd-param-changed.exp: Update.
18942
4ea6efe9
DE
189432015-05-26 Doug Evans <dje@google.com>
18944
18945 * gdb.python/py-lazy-string.c: New file.
18946 * gdb.python/py-lazy-string.exp: New file.
18947 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18948 (main): Update. Add estring3.
18949 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18950 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18951
f6bb7db3
YQ
189522015-05-26 Omair Javaid <omair.javaid@linaro.org>
18953 Yao Qi <yao.qi@linaro.org>
18954
18955 * gdb.reverse/aarch64.c: New.
18956 * gdb.reverse/aarch64.exp: New.
18957
a81bfbd0
OJ
189582015-05-26 Omair Javaid <omair.javaid@linaro.org>
18959
25d49b86
PA
18960 * lib/gdb.exp (supports_process_record): Return true for
18961 aarch64*-linux*.
a81bfbd0
OJ
18962 (supports_reverse): Likewise.
18963
158bf1b4
PP
189642015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18965
18966 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18967 Use with_test_prefix.
18968
a0145030
AB
189692015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18970
18971 * gdb.base/completion.exp: Add test for completion of layout
18972 names.
18973
ebe3b578
AB
189742015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18975
18976 * lib/gdb.exp (skip_tui_tests): New proc.
18977 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18978
84204ed7
PA
189792015-05-19 Pedro Alves <palves@redhat.com>
18980
18981 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18982 Save the whole env array instead of just HOME. Unset HISTSIZE in
18983 the environment while testing. Restore whole environment
18984 afterwards.
18985
37442ce1
DE
189862015-05-16 Doug Evans <xdje42@gmail.com>
18987
18988 * gdb.guile/scm-ports.c: New file.
18989 * gdb.guile/scm-ports.exp: Add memory port tests.
18990
36de76f9
JK
189912015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18992
18993 * gdb.compile/compile-print.c: New file.
18994 * gdb.compile/compile-print.exp: New file.
18995
3a9558c4
JK
189962015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18997
18998 * gdb.compile/compile-ops.exp: Cast param to void.
18999 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19000 (compile code struct_object.selffield = &struct_object): Add xfail.
19001
aa715135
JG
190022015-05-15 Joel Brobecker <brobecker@adacore.com>
19003
19004 * gdb.ada/arr_enum_with_gap: New testcase.
19005
931e5bc3
JG
190062015-05-15 Joel Brobecker <brobecker@adacore.com>
19007
19008 * gdb.ada/byte_packed_arr: New testcase.
19009
9cd4d857
JB
190102015-05-15 Joel Brobecker <brobecker@adacore.com>
19011
19012 * gdb.ada/pckd_neg: New testcase.
19013
ebfd00d2
PP
190142015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19015
19016 PR gdb/17820
19017 * gdb.base/gdbinit-history.exp: New test.
19018 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19019 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19020
4c082a81
SC
190212015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19022
19023 * gdb.python/py-xmethods.cc: Enhance test case.
19024 * gdb.python/py-xmethods.exp: New tests.
19025 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19026 function.
19027 (B_indexoper): Likewise.
19028 (global_dm_list) : Add new xmethod worker functions.
19029
f7797074
SDJ
190302015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19031
19032 * gdb.base/coredump-filter.exp: Correctly unset
19033 "coredump_var_addr" array.
19034
a4674e4e
PA
190352015-05-08 Pedro Alves <palves@redhat.com>
19036
19037 * gdb.server/non-existing-program.exp: Unset spawn_id.
19038
df2eb078
SC
190392015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19040
19041 PR python/18291
19042 * gdb.python/py-xmethods.exp: Add tests.
19043
422349a3
YQ
190442015-05-08 Yao Qi <yao.qi@linaro.org>
19045
19046 PR gdb/18208
19047 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19048 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19049 function set_coredump_filter, and remove remote_exec call.
19050 Remove argument ipid. Callers update.
19051 (top level): Don't get inferior's PID.
19052
63fc80ce
AA
190532015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19054
19055 * gdb.base/watch_thread_num.exp: Skip test on targets without
19056 access watchpoints.
19057
80ad801e
PA
190582015-05-06 Pedro Alves <palves@redhat.com>
19059
19060 PR server/18081
19061 * gdb.server/non-existing-program.exp: New file.
19062
0fa7fe50
JB
190632015-05-05 Joel Brobecker <brobecker@adacore.com>
19064
19065 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19066
3ea89b92
PMR
190672015-05-05 Joel Brobecker <brobecker@adacore.com>
19068
19069 * gdb.ada/out_of_line_in_inlined: New testcase.
19070
87b8eff0
JB
190712015-05-05 Joel Brobecker <brobecker@adacore.com>
19072
19073 * gdb.ada/var_rec_arr: New testcase.
19074
5fccc635
YQ
190752015-04-30 Yao Qi <yao.qi@linaro.org>
19076
19077 * gdb.base/break-idempotent.exp: If
19078 skip_hw_watchpoint_multi_tests returns true, skip the tests
19079 on "rwatch" and "awatch".
19080
42d38f42
YQ
190812015-04-30 Yao Qi <yao.qi@linaro.org>
19082
19083 * gdb.base/relativedebug.exp: Invoke gdb command
19084 "info sharedlibrary", and if libc.so doesn't have debug info,
19085 skip the test.
19086
2ce1cdbf
DE
190872015-04-29 Doug Evans <dje@google.com>
19088
19089 * gdb.python/py-xmethods.exp: Add ptype tests.
19090 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19091 get_result_type method.
19092
f24a38c5
LM
190932015-04-29 Luis Machado <lgustavo@codesourcery.com>
19094
19095 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19096 the target does not support hardware watchpoints.
19097
ecbf2b3c
LM
190982015-04-29 Luis Machado <lgustavo@codesourcery.com>
19099
19100 * gdb.base/break-always.exp: Abort testing if writing to memory
19101 causes an error.
19102
34f5f757
DE
191032015-04-28 Doug Evans <dje@google.com>
19104
19105 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19106 * gdb.python/py-pp-registration.exp: ... here. New file.
19107 * gdb.python/py-pp-registration.c: New file.
19108 * gdb.python/py-pp-registration.py: New file.
19109
69b4374a
DE
191102015-04-28 Doug Evans <dje@google.com>
19111
19112 * gdb.python/py-bad-printers.c: New file.
19113 * gdb.python/py-bad-printers.py: New file.
19114 * gdb.python/py-bad-printers.exp: New file.
19115
59fb7612
SS
191162015-04-28 Sasha Smundak <asmundak@google.com>
19117
19118 * gdb.python/py-type.exp: New test.
19119
2631b16a
AW
191202015-04-28 Andy Wingo <wingo@igalia.com>
19121
19122 * gdb.python/py-parameter.exp:
19123 * gdb.guile/scm-parameter.exp: Escape the path that we are
19124 matching against, as it might contain characters that are special
19125 to regular expressions.
19126
460efde1
JB
191272015-04-27 Joel Brobecker <brobecker@adacore.com>
19128
19129 * gdb.ada/rec_comp: New testcase.
19130
2d369d8e
SDJ
191312015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19132
19133 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19134 before using it.
19135
cf75d6c3
AB
191362015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19137
19138 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19139 new tests for verilog output.
19140
8dbe7ca5
YQ
191412015-04-24 Yao Qi <yao.qi@linaro.org>
19142
19143 * boards/remote-gdbserver-on-localhost.exp: New file.
19144
4ef9fb2f
PA
191452015-04-23 Pedro Alves <palves@redhat.com>
19146
19147 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19148 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19149 "end of file", remove $inferior_spawn_id from the indirect list.
19150
0a803169
PA
191512015-04-23 Pedro Alves <palves@redhat.com>
19152
19153 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19154
749ef8f8
PA
191552015-04-23 Pedro Alves <palves@redhat.com>
19156
19157 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19158 on $any_spawn_id instead of only on $gdb_spawn_id.
19159
8aae4344
PM
191602015-04-21 Pierre Muller <muller@sourceware.org>
19161
19162 PR pascal/17815
19163 * lib/pascal.exp (gpc_compile): Add new option "class".
19164 (fpc_compile): Likewise.
19165 * gdb.pascal/case-insensitive-symbols.pas: New file.
19166 * gdb.pascal/case-insensitive-symbols.exp: New file.
19167
1586c8fb
GB
191682015-04-20 Gary Benson <gbenson@redhat.com>
19169
19170 * gdb.base/attach.exp: Fix three extended remote failures.
19171
1b6e6f5c
GB
191722015-04-17 Gary Benson <gbenson@redhat.com>
19173
19174 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19175 the main executable over the remote protocol.
19176
e797481d
PA
191772015-04-16 Pedro Alves <palves@redhat.com>
19178
19179 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19180 a new gdbserver if gdbserver_reconnect_p is set.
19181
1ca99c42
PA
191822015-04-16 Pedro Alves <palves@redhat.com>
19183
19184 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19185 is set, don't exit gdbserver.
19186
af9fd6f8
AA
191872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19188
19189 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19190 appropriate .insn, such that an older assembler can be used.
19191 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19192 the z/Architecture instruction set on 31-bit targets as well.
19193
04ff1e61
AA
191942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19195
19196 * gdb.go/handcall.exp: Remove all logic related to the first
19197 breakpoint and rely on go_runto_main instead.
19198 * gdb.go/strings.exp: Likewise.
19199 * gdb.go/unsafe.exp: Likewise.
19200 * gdb.go/hello.exp: Likewise. Also rename the remaining
19201 breakpoint marker to "breakpoint 1".
19202 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19203 * gdb.go/strings.go: Likewise.
19204 * gdb.go/unsafe.go: Likewise.
19205 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19206 "set breakpoint 2 here" and rename the remaining breakpoint marker
19207 to "breakpoint 1".
19208
40d2f8d6
SM
192092015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19210
19211 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19212 if itertools.imap is not present.
19213 * gdb.python/py-objfile.exp: Add parentheses.
19214 * gdb.python/py-type.exp: Same.
19215 * gdb.python/py-unwind-maint.py: Same.
19216
8cbc97c6
YQ
192172015-04-15 Yao Qi <yao.qi@linaro.org>
19218
19219 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19220 of ":$ptr_size" and set its form explicitly.
19221
45fd756c
YQ
192222015-04-15 Pedro Alves <palves@redhat.com>
19223 Yao Qi <yao.qi@linaro.org>
19224
19225 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19226 timeout by factor of 4.
19227 (test_regular_watch): Likewise.
19228 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19229 * gdb.reverse/sigall-reverse.exp: Likewise.
19230 * gdb.reverse/until-precsave.exp: Likewise.
19231 * lib/gdb.exp (with_timeout_factor): New proc.
19232 (gdb_expect): Move some code to ...
19233 (get_largest_timeout): ... here. New procedure.
19234
9e811bc3
LM
192352015-04-14 Luis Machado <lgustavo@codesourcery.com>
19236
19237 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19238
0ff6fcb2
LM
192392015-04-13 Luis Machado <lgustavo@codesourcery.com>
19240
19241 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19242 to write to the .text section.
19243
7578d5f7
LM
192442015-04-13 Luis Machado <lgustavo@codesourcery.com>
19245
19246 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19247 Handle the case of targets that do not provide PID information.
19248
2efe15c4
YQ
192492015-04-13 Yao Qi <yao.qi@linaro.org>
19250
19251 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19252 and use expect instead of gdb_expect.
19253
8cd8f2f8
SDJ
192542015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19255
19256 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19257 "coredump_var_addr" to avoid naming conflict with other testcases.
19258
9ee41772
PA
192592015-04-10 Pedro Alves <palves@redhat.com>
19260
19261 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19262 gdb_test_sequence and gdb_assert.
19263
07473109
PA
192642015-04-10 Pedro Alves <palves@redhat.com>
19265
19266 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19267 test messages that don't include the breakpoint address.
19268
de3db44c
YQ
192692015-04-10 Yao Qi <yao.qi@linaro.org>
19270
19271 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19272 false for some offset and width combinations which aren't
19273 supported by linux kernel.
19274
c79d856c
PA
192752015-04-10 Pedro Alves <palves@redhat.com>
19276
19277 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19278 procedure, factored out from ...
19279 (top level): ... here. Add "set displaced-stepping" testing axis.
19280 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19281 parameter "displaced". Use it.
19282 (top level): Use foreach and add "set displaced-stepping" testing
19283 axis.
19284
ebc90b50
PA
192852015-04-10 Pedro Alves <palves@redhat.com>
19286
19287 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19288 Remove comment.
19289 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19290 both the address of the instruction that triggers the watchpoint
19291 and the address of the instruction immediately after, and use
19292 those addresses for the test. Fix comment.
19293
8f572e5c
PA
192942015-04-10 Pedro Alves <palves@redhat.com>
19295
19296 * gdb.base/sigstep.exp (breakpoint_to_handler)
19297 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19298 Test "backtrace" in handler.
19299 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19300 (top level): Add new "displaced" test axis to
19301 breakpoint_to_handler, breakpoint_to_handler_entry and
19302 breakpoint_over_handler.
19303
8d707a12
PA
193042015-04-10 Pedro Alves <palves@redhat.com>
19305
19306 PR gdb/18216
19307 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19308
ef713951
YQ
193092015-04-10 Yao Qi <yao.qi@linaro.org>
19310
19311 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19312 (test_add_rn_pc): New function.
19313 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19314 (top level): Invoke test_add_rn_pc.
19315
906d60cf
PA
193162015-04-10 Pedro Alves <palves@redhat.com>
19317
19318 PR gdb/13858
19319 * gdb.base/step-over-no-symbols.exp: New file.
19320
f2983cc3
AW
193212015-04-09 Andy Wingo <wingo@igalia.com>
19322
19323 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19324 after the Python tests.
19325
6d62641c
SDJ
193262015-04-08 Keith Seitz <keiths@redhat.com>
19327
19328 PR python/16699
19329 * gdb.python/py-completion.exp: New tests for completion.
19330 * gdb.python/py-completion.py (CompleteLimit1): New class.
19331 (CompleteLimit2): Likewise.
19332 (CompleteLimit3): Likewise.
19333 (CompleteLimit4): Likewise.
19334 (CompleteLimit5): Likewise.
19335 (CompleteLimit6): Likewise.
19336 (CompleteLimit7): Likewise.
19337
f3770638
PA
193382015-04-08 Pedro Alves <palves@redhat.com>
19339
19340 PR gdb/18214
19341 PR gdb/18216
19342 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19343 function.
19344 (main): Install it as SIGUSR1 handler.
19345 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19346 parameter. Always use "setup" as prefix. Toggle "set
19347 displaced-stepping" off/on depending on global. Don't switch to
19348 thread 1 here.
19349 (top level): Add displaced stepping "off/on" test axis. Update
19350 "setup" calls. Wrap each subtest with with_test_prefix. Test
19351 continuing with a queued signal in each thread.
19352
4496bed7
PA
193532015-04-08 Pedro Alves <palves@redhat.com>
19354
19355 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19356 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19357 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19358 Return early if running to main fails.
19359 * gdb.trace/while-stepping.exp: Likewise.
19360
b97fde92
PA
193612015-04-07 Pedro Alves <palves@redhat.com>
19362
19363 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19364 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19365 interact with inferior program.
19366
f71c18e7
PA
193672015-04-07 Pedro Alves <palves@redhat.com>
19368
19369 * lib/gdb.exp (inferior_spawn_id): New global.
19370 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19371 spawn id after processing the user code.
19372 (default_gdb_start): Set inferior_spawn_id.
19373 (send_inferior): New procedure.
19374 * lib/gdbserver-support.exp (gdbserver_start): Set
19375 inferior_spawn_id.
19376 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19377
6423214f
PA
193782015-04-07 Pedro Alves <palves@redhat.com>
19379
19380 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19381 * lib/gdbserver-support.exp (gdbserver_start): Make
19382 $server_spawn_id global.
19383 (gdbserver_start): Don't wait for gdbserver's spawn id with
19384 expect_background.
19385 (close_gdbserver): New procedure.
19386 (gdb_exit): Rename the default version and reimplement.
19387
71c0ee8c
PA
193882015-04-07 Pedro Alves <palves@redhat.com>
19389
72f4393d 19390 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19391 append the substituted item, not the original item.
19392
203bc29b
PA
193932015-04-07 Pedro Alves <palves@redhat.com>
19394
19395 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19396 gdb_expect.
19397
508a3ddf
PA
193982015-04-07 Pedro Alves <palves@redhat.com>
19399
19400 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19401 output appearing once only.
19402
9f6dbe2b
PA
194032015-04-07 Pedro Alves <palves@redhat.com>
19404
19405 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19406 that doesn't expect anything. Return early if running to main
19407 fails.
19408
337532fa
YQ
194092015-04-07 Yao Qi <yao.qi@linaro.org>
19410
19411 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19412 (child_function): Call alarm.
19413 (main): Move call to alarm into the loop.
19414 * gdb.threads/non-stop-fair-events.exp: Build program with
19415 -DTIMEOUT=$timeout.
19416
01b622d4
DE
194172015-04-06 Doug Evans <xdje42@gmail.com>
19418
19419 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19420 Fix dest parameter to board_info.
19421 (fpc_compile): Ditto.
19422 (gdb_compile_pascal): Rename dest arg to destfile.
19423
961f4160
PMR
194242015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19425
19426 * gdb.ada/funcall_ref.exp: New file.
19427 * gdb.ada/funcall_ref/foo.adb: New file.
19428
cafda597
YQ
194292015-04-02 Yao Qi <yao.qi@linaro.org>
19430
19431 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19432 is remote.
19433
fed040c6
GB
194342015-04-02 Gary Benson <gbenson@redhat.com>
19435
19436 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19437
d11916aa
SS
194382015-04-01 Sasha Smundak <asmundak@google.com>
19439
19440 * gdb.python/py-unwind-maint.c: New file.
19441 * gdb.python/py-unwind-maint.exp: New test.
19442 * gdb.python/py-unwind-maint.py: New file.
19443 * gdb.python/py-unwind.c: New file.
19444 * gdb.python/py-unwind.exp: New test.
19445 * gdb.python/py-unwind.py: New test.
19446
a1471180
PA
194472015-04-01 Pedro Alves <palves@redhat.com>
19448
19449 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19450 to fail instead of non-existent $test.
19451
0bbeccb1
PA
194522015-04-01 Pedro Alves <palves@redhat.com>
19453
19454 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19455 GDBFLAGS if not empty.
19456
3c724c8c
PMR
194572015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19458
19459 * gdb.ada/complete.exp: Remove "multi_line".
19460 * gdb.ada/info_exc.exp: Remove "multi_line".
19461 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19462 * gdb.ada/ptype_field.exp: Remove "multi_line".
19463 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19464 * gdb.ada/tagged.exp: Remove "multi_line".
19465 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19466 [multi_line ...]
19467 * gdb.btrace/delta.exp: Likewise.
19468 * gdb.btrace/exception.exp: Likewise.
19469 * gdb.btrace/function_call_history.exp: Likewise.
19470 * gdb.btrace/instruction_history.exp: Likewise.
19471 * gdb.btrace/nohist.exp: Likewise.
19472 * gdb.btrace/record_goto.exp: Likewise.
19473 * gdb.btrace/segv.exp: Likewise.
19474 * gdb.btrace/stepi.exp: Likewise.
19475 * gdb.btrace/tailcall.exp: Likewise.
19476 * gdb.btrace/unknown_functions.exp: Likewise.
19477 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19478 * lib/gdb.exp: Add the "multi_line" helper.
19479
4eec2deb
PA
194802015-04-01 Pedro Alves <palves@redhat.com>
19481
19482 * gdb.threads/tid-reuse.c: New file.
19483 * gdb.threads/tid-reuse.exp: New file.
19484
df8411da
SDJ
194852015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19486
19487 PR corefiles/16092
19488 * gdb.base/coredump-filter.c: New file.
19489 * gdb.base/coredump-filter.exp: Likewise.
19490
6ef37366
PM
194912015-03-27 Petr Machata <pmachata@redhat.com>
19492
19493 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19494 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19495 (Dwarf::assemble): Initialize them.
19496 (Dwarf::lines): New function.
19497
7ec911b0
JT
194982015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19499
19500 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19501 SYMBOL_PREFIX for x86_64-*-cygwin.
19502
ff908ebf
AW
195032015-03-26 Andy Wingo <wingo@igalia.com>
19504
19505 PR symtab/18148
19506 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19507 const_value but not a location.
19508 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19509 location defined in non-main CUs are visible.
19510
6d5f0679
YQ
195112015-03-26 Yao Qi <yao.qi@linaro.org>
19512
19513 PR testsuite/18139
19514 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19515 Add a line number entry for the same line.
19516 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19517 Add a line number entry for the same line.
19518
2898689b
YQ
195192015-03-26 Yao Qi <yao.qi@linaro.org>
19520
19521 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19522 .int 0.
19523 (func): Likewise. Add .Lfunc_1 label.
19524 Use .Lfunc_1 label.
19525 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19526 .int 0.
19527 (func): Likewise.
19528 Use .Lfunc_1 label.
19529
85180498
YQ
195302015-03-26 Yao Qi <yao.qi@linaro.org>
19531
19532 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19533 Call gdb_compile instead to compile each .s files without debug
19534 information.
19535
8aa08a8d
YQ
195362015-03-26 Yao Qi <yao.qi@linaro.org>
19537
19538 * gdb.base/savedregs.exp (process_saved_regs): Make
19539 "Saved registers:" optional in the pattern.
19540
66849923
MM
195412015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19542
19543 * gdb.btrace/next.exp: Merged into step.exp.
19544 * gdb.btrace/finish.exp: Merged into step.exp.
19545 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19546 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19547 "record goto" and checking the exact replay position.
19548 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19549 check for "Recording format" in "info record" output.
19550 * gdb.btrace/record_goto.exp: Choose test file based on target.
19551 * gdb.btrace/x86-record_goto.S: Renamed into ...
19552 * gdb.btrace/x86_64-record_goto.S: ... this.
19553 * gdb.btrace/i686-record_goto.S: New.
19554 * gdb.btrace/x86-tailcall.S: Renamed into ...
19555 * gdb.btrace/x86_64-tailcall.S: ... this.
19556 * gdb.btrace/i686-tailcall.S: New.
19557 * gdb.btrace/x86-tailcall.c: Renamed into ...
19558 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19559 separate statements. Update test.
19560 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19561 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19562 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19563 * gdb.btrace/tailcall.exp: Choose test file based on target.
19564 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19565
11cc1b74
MM
195662015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19567
19568 * gdb.btrace/exception.exp: Increase BTS buffer size.
19569
a25d8bf9
PA
195702015-03-24 Pedro Alves <palves@redhat.com>
19571
19572 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19573
856e7dd6
PA
195742015-03-24 Pedro Alves <palves@redhat.com>
19575
19576 * gdb.threads/schedlock.exp (test_step): No longer expect that
19577 "set scheduler-locking step" with "next" over a function call runs
19578 threads unlocked.
19579
ad235a41
AT
195802015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19581
19582 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19583
15630549
AT
195842015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19585
19586 PR breakpoints/16466
19587 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19588 * gdb.mi/mi-pending.c (thread_func): New function.
19589 (int main): Add threading support required.
19590 * gdb.mi/mi-pending.exp: Add tests for this issue.
19591 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19592 (pendfunc2): Remove stdio dependency.
19593 * gdb.mi/mi-pendshr2.c: New file.
19594
693dca06
KS
195952015-03-23 Keith Seitz <keiths@redhat.com>
19596
19597 * gdb.linespec/keywords.c: New file.
19598 * gdb.linespec/keywords.exp: New file.
19599
7e993ebf
KS
196002015-03-23 Keith Seitz <keiths@redhat.com>
19601
19602 PR gdb/18021
19603 * gdb.dwarf2/staticvirtual.exp: New test.
19604
bc23328c
JK
196052015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19606
19607 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19608 * README: Remove HP-UX and gdb.hp.
19609 (configuration):
19610 * configure: Regenerate.
19611 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19612 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19613 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19614 gdb.hp/gdb.defects/Makefile.
19615 * gdb.hp/Makefile.in: File deleted.
19616 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19617 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19618 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19619 * gdb.hp/gdb.aCC/run.c: File deleted.
19620 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19621 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19622 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19623 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19624 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19625 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19626 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19627 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19628 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19629 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19630 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19631 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19632 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19633 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19634 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19635 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19636 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19637 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19638 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19639 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19640 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19641 * gdb.hp/gdb.compat/average.c: File deleted.
19642 * gdb.hp/gdb.compat/sum.c: File deleted.
19643 * gdb.hp/gdb.compat/xdb.c: File deleted.
19644 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19645 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19646 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19647 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19648 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19649 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19650 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19651 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19652 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19653 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19654 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19655 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19656 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19657 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19658 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19659 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19660 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19661 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19662 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19663 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19664 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19665 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19666 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19667 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19668 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19669 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19670 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19671 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19672 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19673 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19674 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19675 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19676 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19677 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19678 * gdb.hp/tools/odump: File deleted.
19679
8bf3b159
PA
196802015-03-19 Pedro Alves <palves@redhat.com>
19681
19682 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19683 (saw_thread_3): New globals.
19684 (top level): Increment them when an event for the corresponding
19685 thread is seen.
19686 (no thread starvation): New test.
19687
eb54c8bf
PA
196882015-03-19 Pedro Alves <palves@redhat.com>
19689
19690 * gdb.threads/continue-pending-status.c: New file.
19691 * gdb.threads/continue-pending-status.exp: New file.
19692
32d2e5d6
PA
196932015-03-18 Pedro Alves <palves@redhat.com>
19694
19695 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19696 Use gdb_is_target_remote instead of is_remote. Use
19697 gdb_test_multiple instead of gdb_expect. Exit early if
19698 gdb_test_multiple hits its internal matches. Tighten stepi tests
19699 expected output. Fail on exit with any signal, instead of just
19700 SIGILL.
19701
f68f11b7
YQ
197022015-03-18 Yao Qi <yao.qi@linaro.org>
19703
19704 PR tdep/18107
19705 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19706 variable.
19707 * gdb.base/catch-syscall.exp: Don't skip it on
19708 aarch64*-*-linux* target. Remove elements in all_syscalls.
19709 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19710 target.
19711 (setup_all_syscalls): New proc.
19712
ca5fd19b
YQ
197132015-03-16 Yao Qi <yao.qi@linaro.org>
19714
19715 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19716 (top level): Skip tests if valid_addr_p returns false for
19717 $cmd1 or $cmd2.
19718
85642ba0
AW
197192015-03-11 Andy Wingo <wingo@igalia.com>
19720
19721 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19722
e03f9645
YQ
197232015-03-11 Yao Qi <yao.qi@linaro.org>
19724
19725 * gdb.base/catch-syscall.exp: Fix typo in comments.
19726
5d0962b2
YQ
197272015-03-11 Yao Qi <yao.qi@linaro.org>
19728
19729 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19730
b2df3cef
PA
197312015-03-09 Pedro Alves <palves@redhat.com>
19732
19733 * dg-extract-results.py: Delete.
19734
ef878e53
PA
197352015-03-09 Pedro Alves <palves@redhat.com>
19736
19737 Merge dg-extract-results.sh from GCC upstream (r218843).
19738
19739 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19740 * dg-extract-results.sh: Use --text with grep to avoid issues with
19741 binary files. Fall back to cat -v, if that doesn't work.
19742
9494d219
PA
197432015-03-05 Pedro Alves <palves@redhat.com>
19744
19745 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19746
a8d9763a
SM
197472015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19748
19749 * lib/mi-support.exp (mi_expect_interrupt): Accept
19750 alternative event for when in all-stop mode.
19751
be9957b8
PA
197522015-03-04 Pedro Alves <palves@redhat.com>
19753
19754 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19755
d57be0f4 197562015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19757
19758 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19759
c214c7cf
AA
197602015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19761
19762 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19763 regexps for GDB's current line display, accept a hex address
19764 preceding the line number.
19765
6d74a497
AA
197662015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19767
19768 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19769 the 'arch1' variable for "s390*-linux*" targets.
19770
511aee7c
PA
197712015-03-04 Pedro Alves <palves@redhat.com>
19772
19773 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19774 (main): Pass missing retval argument to pthread_join call.
19775
95e50b27
PA
197762015-03-02 Pedro Alves <palves@redhat.com>
19777
19778 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19779 (top level): Call do_test with non-stop as well.
19780
28054d69
PA
197812015-03-02 Pedro Alves <palves@redhat.com>
19782
19783 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19784 -1.
19785
4fa5d7b4
AA
197862015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19787
19788 * gdb.arch/s390-vregs.exp: New test.
19789 * gdb.arch/s390-vregs.S: New file.
19790
97c18565
PA
197912015-02-27 Pedro Alves <palves@redhat.com>
19792
19793 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19794 call to catch_command_errors.
19795 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19796 catch_command_errors.
19797
a37bfa30
PA
197982015-02-27 Pedro Alves <palves@redhat.com>
19799
19800 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19801 "true" for boolean result.
19802 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19803 prototype of main.
19804
6f98576f
PA
198052015-02-27 Pedro Alves <palves@redhat.com>
19806
19807 * lib/unbuffer_output.c: New file.
19808 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19809 (main): Call gdb_unbuffer_output.
19810
eba5ab56
YQ
198112015-02-27 Yao Qi <yao.qi@linaro.org>
19812
19813 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19814 target.
19815
0def5aaa
DE
198162015-02-26 Doug Evans <dje@google.com>
19817
19818 * gdb.cp/class2.cc (Dbase, D): New classes.
19819 (main): New local delta.
19820 * gdb.cp/class2.exp: Test printing delta.
19821 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19822 (dynbar): New global.
19823 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19824
081a1c2c
JK
198252015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19826
19827 * gdb.compile/compile-ifunc.c: New file.
19828 * gdb.compile/compile-ifunc.exp: New file.
19829
2f41223f
AT
198302015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19831
19832 * gdb.base/structs.exp: Check for correct struct on finish.
19833
03eddd80
YQ
198342015-02-26 Yao Qi <yao.qi@linaro.org>
19835
19836 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19837 is zero.
19838
80c57053
JK
198392015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19840
19841 * gdb.arch/cordic.ko.bz2: New file.
19842 * gdb.arch/cordic.ko.debug.bz2: New file.
19843 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19844
21613c12
YQ
198452015-02-25 Yao Qi <yao.qi@linaro.org>
19846
19847 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19848 aarch64*-*-* target.
19849
d8b901ed
PA
198502015-02-23 Pedro Alves <palves@redhat.com>
19851
19852 * lib/gdb.exp (delete_breakpoints): Rewrite using
19853 gdb_test_multiple.
19854
e5b85ead
PA
198552015-02-23 Pedro Alves <palves@redhat.com>
19856
19857 * gdb.base/info-os.c: Include stdlib.h.
19858
85c3a371
DE
198592015-02-22 Doug Evans <xdje42@gmail.com>
19860
19861 PR symtab/17855
19862 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19863 is read after symbols have been re-read.
19864 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19865 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19866
96553a0c
DE
198672015-02-21 Doug Evans <dje@google.com>
19868
19869 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19870
97a0c697
JK
198712015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19872
19873 PR corefiles/17808
19874 * gdb.arch/i386-biarch-core.core.bz2: New file.
19875 * gdb.arch/i386-biarch-core.exp: New file.
19876
a47cd6e9
PA
198772015-02-21 Pedro Alves <palves@redhat.com>
19878
19879 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19880 runto_main fails.
19881
c5facdc4
PA
198822015-02-20 Pedro Alves <palves@redhat.com>
19883
19884 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19885 info probes.
19886
2db9a427
PA
198872015-02-20 Pedro Alves <palves@redhat.com>
19888
19889 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19890
60fb7e9e
PA
198912015-02-20 Pedro Alves <palves@redhat.com>
19892
19893 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19894 clean_restart before gdb_target_supports_trace.
19895
5c5019c2
PA
198962015-02-20 Pedro Alves <palves@redhat.com>
19897
19898 PR threads/18006
19899 * gdb.threads/clone-thread_db.c: New file.
19900 * gdb.threads/clone-thread_db.exp: New file.
19901
c9587f88
AT
199022015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19903
19904 PR breakpoints/16812
19905 * gdb.base/catch-gdb-caused-signals.c: New file.
19906 * gdb.base/catch-gdb-caused-signals.exp: New file.
19907
f6a88844
JM
199082015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19909
19910 * configure: Regenerated.
19911 * configure.ac: Use GDB_AC_TRANSFORM.
19912 * aclocal.m4: sinclude ../transform.m4.
19913
497c491b
JM
199142015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19915
19916 * lib/dtrace.exp: New file.
19917 * gdb.base/dtrace-probe.exp: Likewise.
19918 * gdb.base/dtrace-probe.d: Likewise.
19919 * gdb.base/dtrace-probe.c: Likewise.
19920 * lib/pdtrace.in: Likewise.
19921 * configure.ac: Output variables with the transformed names of
19922 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19923 * configure: Regenerated.
19924
03e98035
JM
199252015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19926
19927 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19928 expected message when trying to access $_probe_* convenience
19929 variables while not on a probe.
19930
63cc30e9
JK
199312015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19932
19933 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19934
0703599a
PA
199352015-02-11 Pedro Alves <pedro@codesourcery.com>
19936
19937 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19938 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19939
7e60a48e
DE
199402015-02-10 Doug Evans <xdje42@gmail.com>
19941
19942 * lib/gdb.exp (gdb_load): Always return a result.
19943
01b088bc
PA
199442015-02-10 Pedro Alves <palves@redhat.com>
19945
19946 * gdb.threads/signal-sigtrap.c: New file.
19947 * gdb.threads/signal-sigtrap.exp: New file.
19948
b05ec7a5
AT
199492015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19950
19951 * gdb.trace/no-attach-trace.c: New file.
19952 * gdb.trace/no-attach-trace.exp: New file.
19953
a2c2acaf
MW
199542015-02-09 Mark Wielaard <mjw@redhat.com>
19955
19956 * gdb.dwarf2/atomic.c: New file.
19957 * gdb.dwarf2/atomic-type.exp: Likewise.
19958
31fd9caa
MM
199592015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19960
19961 * gdb.btrace/buffer-size.exp: Update "info record" output.
19962 * gdb.btrace/delta.exp: Update "info record" output.
19963 * gdb.btrace/enable.exp: Update "info record" output.
19964 * gdb.btrace/finish.exp: Update "info record" output.
19965 * gdb.btrace/instruction_history.exp: Update "info record" output.
19966 * gdb.btrace/next.exp: Update "info record" output.
19967 * gdb.btrace/nexti.exp: Update "info record" output.
19968 * gdb.btrace/step.exp: Update "info record" output.
19969 * gdb.btrace/stepi.exp: Update "info record" output.
19970 * gdb.btrace/nohist.exp: Update "info record" output.
19971
d33501a5
MM
199722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19973
19974 * gdb.btrace/buffer-size: New.
19975
f4abbc16
MM
199762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19977
19978 * gdb.btrace/delta.exp: Update "info record" output.
19979 * gdb.btrace/enable.exp: Update "info record" output.
19980 * gdb.btrace/finish.exp: Update "info record" output.
19981 * gdb.btrace/instruction_history.exp: Update "info record" output.
19982 * gdb.btrace/next.exp: Update "info record" output.
19983 * gdb.btrace/nexti.exp: Update "info record" output.
19984 * gdb.btrace/step.exp: Update "info record" output.
19985 * gdb.btrace/stepi.exp: Update "info record" output.
19986 * gdb.btrace/nohist.exp: Update "info record" output.
19987
b9d61307
SM
199882015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19989
19990 PR gdb/15678
19991 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19992
e584fdbc
PA
199932015-02-06 Pedro Alves <palves@redhat.com>
19994
19995 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19996 macro.
19997 (seconds_left, again): New globals.
19998 (main): Wait seconds_left in a 1-second sleep loop instead of
19999 sleeping 180 seconds. If 'again' is set, reset the seconds
20000 counter.
20001 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20002 'again' in the inferior before detaching. Print the seconds left.
20003 (options): New global.
20004 (top level): Build program with -DTIMEOUT=$timeout.
20005
77f41761
PA
200062015-02-06 Pedro Alves <palves@redhat.com>
20007
20008 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20009 determine how many seconds to pass to 'alarm'.
20010 * gdb.base/gdb-sigterm.exp (top level): Build program with
20011 -DTIMEOUT=$timeout.
20012 (do_test): Return success/failure indication. Add more verbose
20013 logging. Don't fail if 200 single steps are seen. Instead, fail
20014 when the test times out.
20015 (passes): New global.
20016 (top level): Break the testing loop if testing fails on any
20017 iteration. Use gdb_assert.
20018
b9394193
DB
200192015-02-04 Don Breazeal <donb@codesourcery.com>
20020
20021 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20022 and initialize them.
20023 (ipc_cleanup): New function.
20024 (main): Don't declare shmid, semid, and msqid. Add a call to
20025 atexit so that we call ipc_cleanup on exit.
20026
42d9e528
PA
200272015-02-04 Pedro Alves <palves@redhat.com>
20028
20029 * boards/native-extended-gdbserver.exp: Remove any target variant
20030 specifications from the board name before clearing the isremote
20031 flag from board_info.
20032
ae6ae975
DE
200332015-01-31 Doug Evans <xdje42@gmail.com>
20034
20035 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20036
cfb069a8
GB
200372015-01-31 Gary Benson <gbenson@redhat.com>
20038
20039 * gdb.base/completion.exp: Disable completion limiting for
20040 existing tests. Add new tests to check completion limiting.
20041 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20042
5dd31d79
DE
200432015-01-31 Doug Evans <xdje42@gmail.com>
20044
20045 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20046
9f050062
DE
200472015-01-31 Doug Evans <xdje42@gmail.com>
20048
20049 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20050 entries. Duplicate file section script entries.
20051 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20052 inlined entries. Add test for safe-path rejection.
20053 * gdb.python/py-section-script.c: Add duplicate inlined section script
20054 entries. Duplicate file section script entries.
20055 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20056 inlined entries. Add test for safe-path rejection.
20057
df25ebbd
JB
200582015-01-29 Joel Brobecker <brobecker@adacore.com>
20059
20060 * gdb.ada/disc_arr_bound: New testcase.
20061
4a0ca9ec
JB
200622015-01-29 Joel Brobecker <brobecker@adacore.com>
20063
20064 * gdb.ada/mi_var_array: New testcase.
20065
3a8b707a
DE
200662015-01-27 Doug Evans <dje@google.com>
20067
20068 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20069 Add test for objfile.filename, objfile.username after objfile
20070 has been unloaded.
20071
f8313f6e
JB
200722015-01-26 Joel Brobecker <brobecker@adacore.com>
20073
20074 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20075 the second test to print the name attribute of value
20076 returned by the call to gdb.lookup_type, and adjust
20077 the expected output accordingly.
20078
37bc665e
MW
200792015-01-25 Mark Wielaard <mjw@redhat.com>
20080
20081 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20082 * gdb.base/disp-step-fork.c: Include unistd.h.
20083 * gdb.base/siginfo-obj.c: Include stdio.h.
20084 * gdb.base/siginfo-thread.c: Likewise.
20085 * gdb.mi/non-stop.c: Include unistd.h.
20086 * gdb.mi/nsthrexec.c: Include stdio.h.
20087 * gdb.mi/pthreads.c: Include unistd.h.
20088 * gdb.modula2/unbounded1.c (main): Declare returns int.
20089 * gdb.reverse/consecutive-reverse.c: Likewise.
20090 * gdb.threads/create-fail.c: Include unistd.h.
20091 * gdb.threads/killed.c: Likewise.
20092 * gdb.threads/linux-dp.c: Likewise.
20093 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20094 * gdb.threads/non-ldr-exc-2.c: Likewise.
20095 * gdb.threads/non-ldr-exc-3.c: Likewise.
20096 * gdb.threads/non-ldr-exc-4.c: Likewise.
20097 * gdb.threads/pthreads.c: Include unistd.h.
20098 (main): Declare returns int.
20099 * gdb.threads/tls-main.c (foo): New declaration.
20100 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20101
f7e5394d
SM
201022015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20103
20104 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20105 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20106
743649fd
MW
201072015-01-15 Mark Wielaard <mjw@redhat.com>
20108
20109 * gdb.base/noreturn-return.c: New file.
20110 * gdb.base/noreturn-return.exp: New file.
20111 * gdb.base/noreturn-finish.c: New file.
20112 * gdb.base/noreturn-finish.exp: New file.
20113
198297aa
PA
201142015-01-23 Pedro Alves <palves@redhat.com>
20115
20116 * gdb.threads/continue-pending-after-query.c: New file.
20117 * gdb.threads/continue-pending-after-query.exp: New file.
20118
717cf30c
AG
201192015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20120 Simon Marchi <simon.marchi@ericsson.com>
20121
20122 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20123 * gdb.base/valgrind-db-attach.exp: Same.
20124 * gdb.base/valgrind-infcall.exp: Same.
20125 * lib/mi-support.exp (default_mi_gdb_start): Same.
20126 * lib/prompt.exp (default_prompt_gdb_start): Same.
20127 * lib/gdb.exp (default_gdb_spawn): Same.
20128 (gdb_interact): New.
20129
20130
4b62a76e
JK
201312015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20132
20133 * gdb.compile/compile.exp (pointer to jit function): New test.
20134
b4cdae6f
WW
201352015-01-17 Wei-cheng Wang <cole945@gmail.com>
20136
20137 * lib/gdb.exp (supports_process_record): Return true for
20138 powerpc*-*-linux*.
20139 (supports_reverse): Likewise.
20140
d221e7ef
DB
201412015-01-15 Don Breazeal <donb@codesourcery.com>
20142
20143 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20144 instead of checking whether the target board is remote and
20145 use spawn_wait_for_attach instead of exec/sleep.
20146 * gdb.base/attach-twice.exp: Likewise.
20147
bafffb51
JB
201482015-01-15 Joel Brobecker <brobecker@adacore.com>
20149
20150 * gdb.ada/var_arr_attrs: New testcase.
20151
5589af0e
PA
201522015-01-14 Pedro Alves <palves@redhat.com>
20153 Joel Brobecker <brobecker@adacore.com>
20154
20155 PR gdb/17525
20156 * gdb.base/bp-cmds-execution-x-script.c: New file.
20157 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20158 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20159
6c400b59
PA
201602015-01-14 Pedro Alves <palves@redhat.com>
20161
20162 PR cli/17828
20163 * gdb.base/batch-preserve-term-settings.c: New file.
20164 * gdb.base/batch-preserve-term-settings.exp: New file.
20165
e02c96a7
DE
201662015-01-13 Doug Evans <dje@google.com>
20167
20168 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20169 binary.
20170
576fd14c
JB
201712015-01-13 Joel Brobecker <brobecker@adacore.com>
20172
20173 * Makefile.in (clean mostlyclean): Do not delete *.py.
20174
04dccad0
JB
201752015-01-13 Joel Brobecker <brobecker@adacore.com>
20176
20177 * gdb.python/py-lookup-type.exp: New file.
20178
3d230f71
PA
201792015-01-12 Pedro Alves <palves@redhat.com>
20180
20181 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20182 restore GDBFLAGS before returning.
20183
7e67715d
JK
201842015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20185
20186 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20187 is_amd64_regs_target and is_x86_like_target.
20188
f2e0d4b4
DE
201892015-01-11 Doug Evans <xdje42@gmail.com>
20190
20191 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20192 is given without an explicit form.
20193 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20194 attributes.
20195 * gdb.dwarf/corrupt.exp: Ditto.
20196 * gdb.dwarf2/enum-type.exp: Ditto.
20197 * gdb.trace/entry-values.exp: Ditto.
20198 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20199
439250fb
DE
202002015-01-11 Doug Evans <xdje42@gmail.com>
20201
20202 PR gdb/15830
20203 * gdb.base/maint.exp: Remove references to "maint demangle".
20204 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20205 Add tests for explicitly specifying language to demangle.
20206 * gdb.dlang/demangle.exp: Ditto.
20207
ede9f622
PA
202082015-01-09 Pedro Alves <palves@redhat.com>
20209
20210 * gdb.threads/non-stop-fair-events.c: New file.
20211 * gdb.threads/non-stop-fair-events.exp: New file.
20212
a7b796db
PA
202132015-01-09 Pedro Alves <palves@redhat.com>
20214
20215 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20216 the global scope. Set a breakpoint after all threads are started
20217 rather than stepping over two source lines. Expect the prompt.
20218 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20219 global.
20220 (NUM): Now 15.
20221 (main): Use threads_started_barrier to wait for all threads to
20222 start. Main thread no longer calls thread_function. Exit after
20223 180 seconds.
20224 (loop): New function.
20225 (thread_function): Wait on threads_started_barrier barrier. Call
20226 'loop' at each iteration.
20227 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20228 threads have started, instead of hardcoding number of "next"
20229 steps. Use an access watchpoint instead of a write watchpoint.
20230
9665ffdd
PA
202312015-01-09 Pedro Alves <palves@redhat.com>
20232
20233 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20234 (thread_func): Wait on barrier.
20235 (main): Wait for all threads to start before stopping GDB.
20236 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20237 global.
20238 (thread1_func, thread2_func): Wait on barrier.
20239 (main): Wait for all threads to start before stopping GDB.
20240 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20241 New global.
20242 (thread1_func, thread2_func): Wait on barrier.
20243 (main): Wait for all threads to start before stopping GDB.
20244
c945a99f
PA
202452015-01-09 Pedro Alves <palves@redhat.com>
20246
20247 * gdb.threads/attach-many-short-lived-threads.c: New file.
20248 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20249
c1a747c1
PA
202502014-01-09 Pedro Alves <palves@redhat.com>
20251
20252 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20253 instead of to thread 2.
20254 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20255 Add barrier around each pthread_create call instead of around all
20256 calls.
20257 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20258 Set a break on thread_function and have the child threads hit it
20259 one at at a time.
20260
60b3033e
PA
202612015-01-09 Pedro Alves <palves@redhat.com>
20262
20263 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20264 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20265 false.
20266 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20267 checking whether the target board is remote.
20268 * gdb.multi/multi-attach.exp: Likewise.
20269 * gdb.python/py-sync-interp.exp: Likewise.
20270 * gdb.server/ext-attach.exp: Likewise.
20271 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20272 tests that need to attach, instead of checking whether the target
20273 board is remote at the top of the file.
20274
acc018ac
YQ
202752015-01-08 Yao Qi <yao@codesourcery.com>
20276
20277 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20278
50a18af8
JK
202792015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20280
20281 Fix testcase compilation.
20282 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20283
8503d6e1
JB
202842015-01-06 Joel Brobecker <brobecker@adacore.com>
20285
20286 * gdb.python/py-type.exp: Add a couple test about empty
20287 array creation, and negative-length array creation.
20288
cc73dbcc
DE
202892015-01-02 Doug Evans <xdje42@gmail.com>
20290
20291 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20292
0300bbc7
DE
202932015-01-02 Doug Evans <dje@google.com>
20294
20295 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20296
9d85a0ec
YQ
202972014-12-29 Yao Qi <yao@codesourcery.com>
20298
20299 * gdb.trace/entry-values.exp: Update comments. Rename variable
20300 bar_call_foo to returned_from_foo.
20301
87186c6a
MMN
203022014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20303
20304 PR gdb/17394
20305 * gdb.linespec/break-asm-file.c: New file.
20306 * gdb.linespec/break-asm-file.exp: New file.
20307 * gdb.linespec/break-asm-file0.s: New file.
20308 * gdb.linespec/break-asm-file1.s: New file.
20309
1bab7383
YQ
203102014-12-18 Nigel Stephens <nigel@mips.com>
20311 Maciej W. Rozycki <macro@codesourcery.com>
20312
20313 * gdb.base/float.exp: Handle the new output from "info float" on
20314 MIPS targets.
20315
1bc1068a
JK
203162014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20317
20318 Fix MinGW compilation.
20319 * gdb.compile/compile-ops.exp: Update untested message if
20320 !skip_compile_feature_tests.
20321 * gdb.compile/compile-setjmp.exp: Likewise.
20322 * gdb.compile/compile-tls.exp: Likewise.
20323 * gdb.compile/compile.exp: Likewise.
20324 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20325 supported on this host".
20326
b6615d10
DE
203272014-12-16 Doug Evans <xdje42@gmail.com>
20328
20329 * boards/stabs.exp: New file.
20330
25dda427
AA
203312014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20332
20333 * gdb.base/completion.exp: Adjust to format changes of "maint
20334 print user-registers".
20335
bf330350
CU
203362014-12-16 Catalin Udma <catalin.udma@freescale.com>
20337
20338 PR server/17457
20339 * gdb.arch/aarch64-fp.c: New file.
20340 * gdb.arch/aarch64-fp.exp: New file.
20341
395cf596
SDJ
203422014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20343
20344 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20345 r210637, r210913, r211666, r215400, r215817).
20346
20347 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20348 * dg-extract-results.py: New file.
20349 * dg-extract-results.sh: Use it if the environment seems
20350 suitable.
20351
20352 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20353
20354 * dg-extract-results.py (parse_run): Handle warnings that
20355 are printed before a test harness is run.
20356
20357 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20358
20359 * dg-extract-results.py (Named): Remove __cmp__ method.
20360 (output_variation): Use a key to sort variation.harnesses.
20361
20362 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20363
20364 * dg-extract-results.py: For Python 3, force sys.stdout to
20365 handle surrogate escape sequences.
20366 (safe_open): New function.
20367 (output_segment, main): Use it.
20368
20369 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20370
20371 * dg-extract-results.py (Prog.result_re): Include options
20372 in test name.
20373
20374 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20375
20376 * dg-extract-results.py (output_variation): Always sort if
20377 do_sum.
20378
e882ef3c
SM
203792014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20380
20381 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20382 as long as we get pagination notifications.
20383
4992aa20
JM
203842014-12-15 Jason Merrill <jason@redhat.com>
20385
20386 * Makefile.in (check-gdb.%): Restore.
20387 * README: Mention it.
20388
c1b5a1a6
JB
203892014-12-13 Joel Brobecker <brobecker@adacore.com>
20390
20391 * gdb.ada/str_uninit: New testcase.
20392
5537b577
JK
203932014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20394
20395 PR symtab/17642
20396 * gdb.base/vla-stub-define.c: New file.
20397 * gdb.base/vla-stub.c: New file.
20398 * gdb.base/vla-stub.exp: New file.
20399
bb2ec1b3
TT
204002014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20401 Jan Kratochvil <jan.kratochvil@redhat.com>
20402 Tom Tromey <tromey@redhat.com>
20403
20404 * configure.ac: Add gdb.compile/.
20405 * configure: Regenerate.
20406 * gdb.compile/Makefile.in: New file.
20407 * gdb.compile/compile-ops.exp: New file.
20408 * gdb.compile/compile-ops.c: New file.
20409 * gdb.compile/compile-tls.c: New file.
20410 * gdb.compile/compile-tls.exp: New file.
20411 * gdb.compile/compile-constvar.S: New file.
20412 * gdb.compile/compile-constvar.c: New file.
20413 * gdb.compile/compile-mod.c: New file.
20414 * gdb.compile/compile-nodebug.c: New file.
20415 * gdb.compile/compile-setjmp-mod.c: New file.
20416 * gdb.compile/compile-setjmp.c: New file.
20417 * gdb.compile/compile-setjmp.exp: New file.
20418 * gdb.compile/compile-shlib.c: New file.
20419 * gdb.compile/compile.c: New file.
20420 * gdb.compile/compile.exp: New file.
20421 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20422
4ff709eb
TT
204232014-12-12 Tom Tromey <tromey@redhat.com>
20424
20425 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20426 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20427
6dddd6a5
DE
204282014-12-12 Doug Evans <dje@google.com>
20429
20430 * lib/gdb-python.exp (get_python_valueof): New function.
20431 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20432
71c24708
AA
204332014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20434
20435 * gdb.base/completion.exp: Add test for completion of "info
20436 registers ".
20437
3e29f34a
MR
204382014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20439
20440 * gdb.base/func-ptrs.c: New file.
20441 * gdb.base/func-ptrs.exp: New file.
20442
fc126975
SM
204432014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20444
20445 PR breakpoints/17012
20446 * gdb.base/dprintf-detach.c: New file.
20447 * gdb.base/dprintf-detach.exp: New file.
20448
0a46d518
SM
204492014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20450
20451 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20452 * lib/gdb.exp (target_is_gdbserver): New procedure.
20453
a0be3e44
DE
204542014-12-08 Doug Evans <dje@google.com>
20455
20456 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20457
df1b803a
YQ
204582014-12-05 Yao Qi <yao@codesourcery.com>
20459
20460 * gdb.guile/scm-error.exp: Remove the third argument to
20461 gdb_remote_download.
20462 * gdb.guile/scm-frame-args.exp: Likewise.
20463 * gdb.guile/scm-section-script.exp: Likewise.
20464
ddb9f679
YQ
204652014-12-05 Yao Qi <yao@codesourcery.com>
20466
20467 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20468
86e4ed39
DE
204692014-12-04 Doug Evans <dje@google.com>
20470
20471 * gdb.python/py-objfile.exp: Add tests for
20472 objfile.add_separate_debug_file.
20473
7c50a931
DE
204742014-12-04 Doug Evans <dje@google.com>
20475
20476 * lib/gdb.exp (get_build_id): New function.
20477 (build_id_debug_filename_get): Rewrite to use it.
20478 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20479
621661e3
MR
204802014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20481
20482 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20483 `method(long)', not just 0x0.
20484 * gdb.cp/nsalias.exp: Align code labels to 4.
20485 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20486 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20487 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20488 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20489 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20490 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20491
29f0c3b7
DE
204922014-12-02 Doug Evans <dje@google.com>
20493
e1e061e7 20494 PR symtab/17602
29f0c3b7 20495 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20496 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20497 * gdb.cp/anon-ns.exp: Update.
20498
162078c8
NB
204992014-12-02 Nick Bull <nicholaspbull@gmail.com>
20500
20501 * gdb.python/py-events.py (inferior_call_handler): New.
20502 (register_changed_handler, memory_changed_handler): New.
20503 (test_events.invoke): Register new handlers.
20504 * gdb.python/py-events.exp: Add tests for inferior call,
20505 memory_changed and register_changed events.
20506
fdb09caf
AA
205072014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20508
20509 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20510 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20511 if the linker doesn't understand this.
20512
55cfb2c4
SM
205132014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20514
20515 * gdb.python/python.exp: Change expected reply to help().
20516
9e8cd6df
YQ
205172014-12-01 Yao Qi <yao@codesourcery.com>
20518
20519 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20520 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20521 * configure: Re-generated.
20522
6c659fc2
SC
205232014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20524
20525 * gdb.cp/chained-calls.cc: New file.
20526 * gdb.cp/chained-calls.exp: New file.
20527 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20528
d7fc3181
SM
205292014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20530
20531 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20532 * gdb.dwarf2/symtab-producer.exp: Same.
20533 * gdb.gdb/python-interrupts.exp: Same.
20534 * gdb.gdb/python-selftest.exp: Same.
20535 * gdb.python/py-linetable.exp: Same.
20536 * gdb.python/py-type.exp: Same.
20537 * gdb.python/py-value-cc.exp: Same.
20538 * gdb.python/py-value.exp: Same.
20539
10e79639
YQ
205402014-11-28 Yao Qi <yao@codesourcery.com>
20541
20542 * gdb.base/break-probes.exp: Match library name prefixed with
20543 sysroot.
20544
f28a0564
SM
205452014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20546
20547 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20548 test expected output. Add parentheses for the call to print.
20549 Remove L suffix from integers.
20550
3fe1ce1d
DE
205512014-11-26 Doug Evans <dje@google.com>
20552
20553 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20554
84429e27
YQ
205552014-11-22 Yao Qi <yao@codesourcery.com>
20556
20557 * gdb.trace/entry-values.c: Remove asms.
20558 (foo): Add foo_label.
20559 (bar): Add bar_label.
20560 * gdb.trace/entry-values.exp: Remove code computing foo's
20561 length and bar's length.
20562 (Dwarf::assemble): Invoke function_range for bar and use
20563 MACRO_AT_func for foo.
20564
26741859
YQ
205652014-11-22 Yao Qi <yao@codesourcery.com>
20566
20567 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20568 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20569 Use .Lgcc43_procstart instead of gcc43.
20570
45e44d27
JB
205712014-11-21 Joel Brobecker <brobecker@adacore.com>
20572
20573 * gdb.ada/n_arr_bound: New testcase.
20574
458c8db8
SDJ
205752014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20576
20577 PR breakpoints/10737
20578 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20579 test_catch_syscall_multi_arch.
20580 (test_catch_syscall_multi_arch): New function.
20581
43f3e411
DE
205822014-11-20 Doug Evans <xdje42@gmail.com>
20583
20584 * gdb.base/maint.exp: Update expected output.
20585
0d7b2549
AA
205862014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20587
20588 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20589 4-byte instruction on S390.
20590
8908fca5
JB
205912014-11-19 Joel Brobecker <brobecker@adacore.com>
20592
20593 * gdb.ada/arr_arr: New testcase.
20594
4a46959e
JB
205952014-11-19 Joel Brobecker <brobecker@adacore.com>
20596
20597 * gdb.ada/pkd_arr_elem: New Testcase.
20598
470e2f4e
LM
205992014-11-18 Luis Machado <lgustavo@codesourcery.com>
20600
20601 * gdb.reverse/break-precsave: Expect completion message for
20602 core file reads.
20603 * gdb.reverse/consecutive-precsave.exp: Likewise.
20604 * gdb.reverse/finish-precsave.exp: Likewise.
20605 * gdb.reverse/i386-precsave.exp: Likewise.
20606 * gdb.reverse/machinestate-precsave.exp: Likewise.
20607 * gdb.reverse/sigall-precsave.exp: Likewise.
20608 * gdb.reverse/solib-precsave.exp: Likewise.
20609 * gdb.reverse/step-precsave.exp: Likewise.
20610 * gdb.reverse/until-precsave.exp: Likewise.
20611 * gdb.reverse/watch-precsave.exp: Likewise.
20612
a267f3ad
AA
206132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20614
20615 * gdb.base/bp-permanent.c: Include unistd.h.
20616 * gdb.python/py-framefilter-mi.c (main): Add return type.
20617 * gdb.python/py-framefilter.c (main): Likewise.
20618 * gdb.trace/actions-changed.c (main): Likewise.
20619
12084a9a
AA
206202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20621
20622 * gdb.mi/until.c: Add eye-catchers.
20623 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20624 line numbers.
20625
dc7e1a77
AA
206262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20627
20628 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20629 function header variants in break1.c.
20630 * gdb.base/ena-dis-br.exp: Likewise.
20631 * gdb.base/hbreak2.exp: Likewise.
20632 * gdb.reverse/until-precsave.exp: Drop references to removed
20633 non-prototype function header variants in ur1.c.
20634 * gdb.reverse/until-reverse.exp: Likewise.
20635
41c77605
PM
206362014-11-17 Petr Machata <pmachata@redhat.com>
20637
20638 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20639 ${_cu_offset_size} bytes abbrev offset.
20640
34248c3a
DE
206412014-11-15 Doug Evans <xdje42@gmail.com>
20642
20643 PR symtab/17559
20644 * gdb.base/line-symtabs.exp: New file.
20645 * gdb.base/line-symtabs.c: New file.
20646 * gdb.base/line-symtabs.h: New file.
20647
646da059
YQ
206482014-11-14 Yao Qi <yao@codesourcery.com>
20649
20650 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20651 (func): Add label func_label.
20652 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20653 Replace low_pc and high_pc with MACRO_AT_range.
20654 Replace name, low_pc and high_pc with MACRO_AT_func.
20655
9301ebe6
YQ
206562014-11-14 Yao Qi <yao@codesourcery.com>
20657
20658 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20659 Replace name, low_pc and high_pc with MACRO_AT_func.
20660
f166b542
YQ
206612014-11-14 Yao Qi <yao@codesourcery.com>
20662
20663 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20664 produce debug information.
20665 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20666
0f6e71e3
YQ
206672014-11-14 Yao Qi <yao@codesourcery.com>
20668
20669 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20670 object and get function length.
20671 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20672 with MACRO_AT_func.
20673 (top-level): Replace gdb_compile and clean_restart with
20674 prepare_for_testing.
20675 * gdb.dwarf2/main.c (main): Add label main_label.
20676
876c4df9
YQ
206772014-11-14 Yao Qi <yao@codesourcery.com>
20678
20679 * lib/dwarf.exp (function_range): New procedure.
20680 (Dwarf::_handle_macro_at_func): New procedure.
20681 (Dwarf::_handle_macro_at_range): New procedure.
20682 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20683
02ad9cf1
YQ
206842014-11-14 Yao Qi <yao@codesourcery.com>
20685
20686 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20687 (_handle_attribute): New procedure.
20688
a59add0c
AA
206892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20690
20691 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20692 * gdb.base/call-sc.c (zed): Likewise.
20693 * gdb.base/checkpoint.c (main): Likewise.
20694 * gdb.base/dump.c (main): Likewise.
20695 * gdb.base/gcore.c (main): Likewise.
20696 * gdb.base/huge.c (main): Likewise.
20697 * gdb.base/multi-forks.c (main): Likewise.
20698 * gdb.base/pr10179-a.c (main): Likewise.
20699 * gdb.base/savedregs.c (main): Likewise.
20700 * gdb.base/sigaltstack.c (main): Likewise.
20701 * gdb.base/siginfo.c (main): Likewise.
20702 * gdb.base/structs.c (zed): Likewise.
20703 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20704 * gdb.mi/mi-syn-frame.c (main): Likewise.
20705 * gdb.mi/until.c (foo, main): Likewise.
20706 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20707 * gdb.base/solib-weak.c (foo): Declare.
20708 * gdb.base/attach-twice.c: Include stdio.h.
20709 * gdb.base/weaklib1.c: Likewise.
20710 * gdb.base/weaklib2.c: Likewise.
20711 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20712 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20713 unistd.h.
20714 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20715 * gdb.mi/mi-exit-code.c: Likewise.
20716 * gdb.base/break-interp-lib.c: Include string.h.
20717 * gdb.base/coremaker.c: Likewise.
20718 * gdb.base/testenv.c: Likewise.
20719 * gdb.python/py-finish-breakpoint.c: Likewise.
20720 * gdb.base/inferior-died.c: Include sys/wait.h.
20721 * gdb.base/fileio.c: Include time.h.
20722 * gdb.base/async-shell.c: Include unistd.h.
20723 * gdb.base/dprintf-non-stop.c: Likewise.
20724 * gdb.base/info-os.c: Likewise.
20725 * gdb.mi/mi-console.c: Likewise.
20726 * gdb.mi/watch-nonstop.c: Likewise.
20727 * gdb.python/py-events.c: Likewise.
20728 * gdb.base/async.c (baz): Move up before its invocation.
20729 * gdb.base/code_elim2.c (my_global_func): Likewise.
20730 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20731 * gdb.base/advance.c (func2): Likewise.
20732
3b5d5997
AA
207332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20734
20735 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20736 variant.
20737 * gdb.base/annota3.c: Likewise.
20738 * gdb.base/async.c: Likewise.
20739 * gdb.base/average.c: Likewise.
20740 * gdb.base/call-ar-st.c: Likewise.
20741 * gdb.base/call-rt-st.c: Likewise.
20742 * gdb.base/call-sc.c: Likewise.
20743 * gdb.base/call-strs.c: Likewise.
20744 * gdb.base/ending-run.c: Likewise.
20745 * gdb.base/execd-prog.c: Likewise.
20746 * gdb.base/exprs.c: Likewise.
20747 * gdb.base/foll-exec.c: Likewise.
20748 * gdb.base/foll-fork.c: Likewise.
20749 * gdb.base/foll-vfork.c: Likewise.
20750 * gdb.base/funcargs.c: Likewise.
20751 * gdb.base/gcore.c: Likewise.
20752 * gdb.base/jump.c: Likewise.
20753 * gdb.base/langs0.c: Likewise.
20754 * gdb.base/langs1.c: Likewise.
20755 * gdb.base/langs2.c: Likewise.
20756 * gdb.base/mips_pro.c: Likewise.
20757 * gdb.base/nodebug.c: Likewise.
20758 * gdb.base/opaque0.c: Likewise.
20759 * gdb.base/opaque1.c: Likewise.
20760 * gdb.base/recurse.c: Likewise.
20761 * gdb.base/run.c: Likewise.
20762 * gdb.base/scope0.c: Likewise.
20763 * gdb.base/scope1.c: Likewise.
20764 * gdb.base/setshow.c: Likewise.
20765 * gdb.base/setvar.c: Likewise.
20766 * gdb.base/shmain.c: Likewise.
20767 * gdb.base/shr1.c: Likewise.
20768 * gdb.base/shr2.c: Likewise.
20769 * gdb.base/sigall.c: Likewise.
20770 * gdb.base/signals.c: Likewise.
20771 * gdb.base/so-indr-cl.c: Likewise.
20772 * gdb.base/solib2.c: Likewise.
20773 * gdb.base/structs.c: Likewise.
20774 * gdb.base/sum.c: Likewise.
20775 * gdb.base/vforked-prog.c: Likewise.
20776 * gdb.base/watchpoint.c: Likewise.
20777 * gdb.reverse/shr2.c: Likewise.
20778 * gdb.reverse/until-reverse.c: Likewise.
20779 * gdb.reverse/ur1.c: Likewise.
20780 * gdb.reverse/watch-reverse.c: Likewise.
20781
066a77c5
AA
207822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20783
20784 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20785 variant.
20786 * gdb.base/sepdebug.exp: Drop references to removed code.
20787
4f204ea5
AA
207882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20789
20790 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20791 variant. Preserve original line numbering.
20792 * gdb.base/list1.c: Likewise.
20793
3b377a3a
AA
207942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20795
20796 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20797 variant.
20798 * gdb.base/break1.c: Likewise.
20799 * gdb.base/break.exp: Drop references to removed code.
20800
e444df73
AA
208012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20802
20803 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20804 variant.
20805
8008f2a7
AA
208062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20807
20808 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20809
a5a06887
AA
208102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20811
20812 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20813 logic into perform_all_tests() and invoke it with and without
20814 function header prototypes.
20815 (do_function_calls): Remove conditional XFAIL for PR 5318.
20816 (rerun_and_prepare): Remove duplicate code.
20817 (perform_all_tests): New. Main logic moved here.
20818
44dba9b9
AA
208192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20820
20821 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20822 code guarded by #ifdef NO_PROTOTYPES.
20823 (t_double_many_args): Likewise.
20824 (DEF_FUNC_MANY_ARGS_1): Likewise.
20825 (DEF_FUNC_VALUES_1): Likewise.
20826 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20827 guarded by #ifdef PROTOTYPES.
20828
d1fbcd56
AA
208292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20830
20831 * gdb.mi/mi-console.c: Add eye-catcher.
20832 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20833 instead of literal line number.
20834
b0e59b8f
AA
208352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20836
20837 * gdb.base/shr2.c: Add eye-catcher.
20838 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20839 line number.
20840
78f98cca
AA
208412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20842
20843 * gdb.base/jump.c: Add eye-catchers.
20844 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20845 numbers.
20846
58fa2af0
AA
208472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20848
20849 * gdb.base/execd-prog.c: Add eye-catchers.
20850 * gdb.base/foll-exec.c: Likewise.
20851 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20852 line numbers.
20853
04e5059b
AA
208542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20855
20856 * gdb.base/ending-run.c: Add eye-catchers.
20857 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20858 literal line numbers.
20859
dbfdb174
AA
208602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20861
20862 * gdb.base/call-rt-st.c: Add eye-catchers.
20863 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20864 literal line numbers.
20865
888a2ade
AA
208662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20867
20868 * gdb.base/call-ar-st.c: Add eye-catchers.
20869 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20870 literal line numbers.
20871
6acc2dde
AA
208722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20873
20874 * gdb.base/average.c: Add eye-catchers.
20875 * gdb.base/sum.c: Likewise.
20876 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20877 regexps dynamically.
20878
9ecfcd1d
AA
208792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20880
20881 * gdb.base/solib1.c: Add eye-catchers.
20882 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20883 literal line numbers.
20884
78708b7c
PA
208852014-11-12 Pedro Alves <palves@redhat.com>
20886
20887 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20888 leader has exited.
20889
af48d08f
PA
208902014-11-12 Pedro Alves <palves@redhat.com>
20891
20892 * gdb.arch/i386-bp_permanent.c: New file.
20893 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20894 (srcfile): Set to i386-bp_permanent.c.
20895 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20896 that stepi does not execute the 'leave' instruction, instead of
20897 testing it does execute.
20898 * gdb.base/bp-permanent.c: New file.
20899 * gdb.base/bp-permanent.exp: New file.
20900
af3768e9
DE
209012014-11-10 Doug Evans <xdje42@gmail.com>
20902
20903 PR symtab/17564
20904 * gdb.base/symtab-search-order.exp: New file.
20905 * gdb.base/symtab-search-order.c: New file.
20906 * gdb.base/symtab-search-order-1.c: New file.
20907 * gdb.base/symtab-search-order-shlib-1.c: New file.
20908
9de00a4a
PA
209092014-11-07 Pedro Alves <palves@redhat.com>
20910
20911 PR gdb/17511
20912 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20913 i?86-*-linux*.
20914
e0f52461
SC
209152014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20916
20917 PR c++/17494
20918 * gdb.cp/pr17494.cc: New file.
20919 * gdb.cp/pr17494.exp: New file.
20920
6ce8c980
YQ
209212014-11-02 Yao Qi <yao@codesourcery.com>
20922
20923 * gdb.python/python.exp: Get working directory and match the
20924 output of "set extended-prompt \\w " with it.
20925
02be9a71
DE
209262014-10-30 Doug Evans <dje@google.com>
20927
20928 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20929 in objfiles.
20930 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20931 in progspaces.
20932
3bdff46b
LM
209332014-10-30 Janis Johnson <janisjo@codesourcery.com>
20934
20935 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20936 * gdb.base/realname-expand.exp: Likewise.
20937 * gdb.linespec/macro-relative.exp: Likewise.
20938
ab917dfb
PA
209392014-10-29 Pedro Alves <palves@redhat.com>
20940
20941 PR gdb/17408
20942 * gdb.threads/schedlock.c (some_function): New function.
20943 (call_function): New global.
20944 (MAYBE_CALL_SOME_FUNCTION): New macro.
20945 (thread_function): Call it.
20946 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20947 and use it instead of a global counter. Adjust all callers.
20948 (get_current_thread): Use "find current thread" for test message
20949 here rather than having all callers pass down the same string.
20950 (goto_loop): New procedure, factored out from ...
20951 (my_continue): ... this.
20952 (step_ten_loops): Change parameter from test message to command to
20953 use. Adjust.
20954 (list_count): Delete global.
20955 (check_result): New procedure, factored out from duplicate top
20956 level code.
20957 (continue tests): Wrap in with_test_prefix.
20958 (test_step): New procedure, factored out from duplicate top level
20959 code.
20960 (top level): Test "step" in combination with all scheduler-locking
20961 modes. Test "next" in combination with all scheduler-locking
20962 modes, and in combination with stepping over a function call or
20963 not.
20964 * gdb.threads/next-bp-other-thread.c: New file.
20965 * gdb.threads/next-bp-other-thread.exp: New file.
20966
d3d4baed
PA
209672014-10-29 Pedro Alves <palves@redhat.com>
20968
20969 PR python/17372
20970 * gdb.python/python.exp: Test a multi-line command that spawns
20971 interactive Python.
20972 * gdb.base/multi-line-starts-subshell.exp: New file.
20973
563e8d85
YQ
209742014-10-29 Yao Qi <yao@codesourcery.com>
20975
20976 * gdb.base/fileio.exp: Make directories on host.
20977
0ea4d52e
YQ
209782014-10-29 Yao Qi <yao@codesourcery.com>
20979
20980 * gdb.base/fileio.c (test_write): Close the file.
20981
7f5ef605
PA
209822014-10-28 Pedro Alves <palves@redhat.com>
20983
20984 PR gdb/12623
20985 * gdb.base/sigstep.c (no_handler): New global.
20986 (main): If 'no_handler is true, set the signal handlers to
20987 SIG_IGN.
20988 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20989 with_sw_watch and no_handler parameters. Handle them.
20990 (top level) <stepping over handler when stopped at a breakpoint
20991 test>: Add a test axis for testing with a software watchpoint, and
20992 another for testing with the signal handler set to SIG_IGN.
20993 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20994 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20995
abbdbd03
PA
209962014-10-28 Pedro Alves <palves@redhat.com>
20997
20998 PR gdb/17511
20999 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21000 * gdb.base/sigstep.exp (other_handler_location): New global.
21001 (advance): Support stepping into the signal handler, and running
21002 commands while in the handler.
21003 (in_handler_map): New global.
21004 (top level): In the advance test, add combinations for getting
21005 into the handler with stepping commands, and for running commands
21006 in the handler. Add comment descripting the advancei tests.
21007
1df4399f
PA
210082014-10-28 Pedro Alves <palves@redhat.com>
21009
21010 * gdb.base/sigstep.exp: Use build_executable instead of
21011 prepare_for_testing.
21012 (top level): Move code that starts GDB, runs to main and creates a
21013 display to ...
21014 (restart): ... this new procedure.
21015 (top level): Move backtrace from signal handler test to ...
21016 (validate_backtrace): ... this new procedure.
21017 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21018 with_test_prefix. Always restart GDB.
21019 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21020 with_test_prefix. Always restart GDB. No need to delete
21021 breakpoints after the test.
21022 (test_skip_handler): Remove prefix parameter.
21023 (skip_over_handler, breakpoint_to_handler)
21024 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21025 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21026 restart GDB. No need to delete breakpoints after the test.
21027 (top level): Use foreach to call the test procedures with
21028 different commands.
21029
a5b6e449
PA
210302014-10-28 Pedro Alves <palves@redhat.com>
21031
21032 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21033 instead of GNATS numbers.
21034 * gdb.base/sigbpt.exp: Likewise.
21035 * gdb.base/siginfo.exp: Likewise.
21036 * gdb.base/sigstep.exp: Likewise.
21037
e5f8a7cc
PA
210382014-10-27 Pedro Alves <palves@redhat.com>
21039
21040 * gdb.base/sigstep.c (dummy): New global.
21041 (main): Issue a couple writes to the new global.
21042 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21043 procedures.
21044 (skip_over_handler): Use test_skip_handler.
21045 (top level): Call skip_over_handler for stepi and nexti too.
21046 (breakpoint_over_handler): Use test_skip_handler.
21047 (top level): Call breakpoint_over_handler for stepi and nexti too.
21048
763905a3
YQ
210492014-10-27 Yao Qi <yao@codesourcery.com>
21050
21051 * gdb.trace/tfile.c (adjust_function_address)
21052 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21053 function descriptor.
21054
6f259a23
DB
210552014-10-24 Don Breazeal <donb@codesourcery.com>
21056
21057 * gdb.base/foll-fork.exp (test_follow_fork,
21058 catch_fork_child_follow): Check for updated fork messages emitted
21059 from infrun.c.
21060 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21061 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21062 vfork_and_exec_child_follow_through_step): Check for updated vfork
21063 messages emitted from infrun.c.
21064
09dd9a69
PA
210652014-10-24 Pedro Alves <palves@redhat.com>
21066
21067 * gdb.base/corefile.exp: Remove references to ultrix.
21068 * gdb.base/interrupt.exp: Likewise.
21069 * gdb.base/whatis.exp: Likewise.
21070 * gdb.gdb/selftest.exp: Likewise.
21071 * gdb.threads/manythreads.exp: Likewise.
21072 * gdb.threads/print-threads.exp: Likewise.
21073 * gdb.threads/pthreads.exp:: Likewise.
21074 * gdb.threads/schedlock.exp: Likewise.
21075
3433cfa5
SC
210762014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21077
21078 * gdb.cp/non-trivial-retval.cc: Add a test case.
21079 * gdb.cp/non-trivial-retval.exp: Add a test.
21080
092f880b
YQ
210812014-10-20 Yao Qi <yao@codesourcery.com>
21082
21083 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21084 * gdb.python/py-objfile-script-gdb.py: New file.
21085 * gdb.python/py-objfile-script.exp: Update reference to
21086 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21087 of remote_download. Remove the dest file.
21088
acbdb7f3
YQ
210892014-10-20 Yao Qi <yao@codesourcery.com>
21090
21091 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21092 * gdb.base/step-line.exp: Likewise.
21093 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21094 * gdb.dwarf2/dw2-basic.exp: Likewise.
21095 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21096 * gdb.dwarf2/dw2-filename.exp: Likewise.
21097 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21098 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21099 * gdb.dwarf2/dw2-producer.exp: Likewise.
21100 * gdb.dwarf2/mac-fileno.exp: Likewise.
21101 * gdb.python/py-frame-args.exp: Likewise.
21102 * gdb.python/py-framefilter.exp: Likewise.
21103 * gdb.python/py-mi.exp: Likewise.
21104 * gdb.python/py-objfile-script.exp: Likewise
21105 * gdb.python/py-pp-integral.exp: Likewise.
21106 * gdb.python/py-pp-re-notag.exp: Likewise.
21107 * gdb.python/py-prettyprint.exp: Likewise.
21108 * gdb.python/py-section-script.exp: Likewise.
21109 * gdb.python/py-typeprint.exp: Likewise.
21110 * gdb.python/py-xmethods.exp: Likewise.
21111 * gdb.stabs/weird.exp: Likewise.
21112 * gdb.xml/tdesc-regs.exp: Likewise.
21113
bd286a29
KCY
211142014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21115
21116 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21117 (out_cu): Use addr_len for the size of addresses.
21118 (out_line): Likewise. Size DW_LNE_set_address instruction
21119 according to addr_len.
21120 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21121 (FUNC): Add START_INSNS to definition.
21122
673dc4a0
YQ
211232014-10-18 Yao Qi <yao@codesourcery.com>
21124
21125 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21126 gdb_has_argv0 return true.
21127 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21128 check [target_info exists noargs], check [gdb_has_argv0]
21129 instead.
21130 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21131 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21132 procedures.
21133
4ffbba72
DE
211342014-10-17 Doug Evans <dje@google.com>
21135
21136 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21137 event.
21138 * gdb.python/py-events.py: Add clear_objfiles event.
21139
d096d8c1
DE
211402014-10-17 Doug Evans <dje@google.com>
21141
21142 * gdb.python/py-objfile.exp: Test progspace attribute.
21143
a80db015
LM
211442014-10-17 Luis Machado <lgustavo@codesourcery.com>
21145
21146 * gdb.guile/scm-breakpoint.exp: Do not assume any
21147 directory separators when matching source file paths.
21148 * gdb.python/py-breakpoint.exp: Likewise.
21149 * gdb.reverse/break-precsave.exp: Likewise.
21150 * gdb.reverse/break-reverse.exp: Likewise.
21151 * gdb.reverse/consecutive-precsave.exp: Likewise.
21152 * gdb.reverse/finish-precsave.exp: Likewise.
21153 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21154 * gdb.reverse/finish-reverse.exp: Likewise.
21155 * gdb.reverse/i386-precsave.exp: Likewise.
21156 * gdb.reverse/i387-env-reverse.exp: Likewise.
21157 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21158 * gdb.reverse/machinestate-precsave.exp: Likewise.
21159 * gdb.reverse/machinestate.exp: Likewise.
21160 * gdb.reverse/sigall-precsave.exp: Likewise.
21161 * gdb.reverse/solib-precsave.exp: Likewise.
21162 * gdb.reverse/step-precsave.exp: Likewise.
21163 * gdb.reverse/until-precsave.exp: Likewise.
21164 * gdb.reverse/watch-precsave.exp: Likewise.
21165 * gdb.reverse/watch-reverse.exp: Likewise.
21166
b22089ab
YQ
211672014-10-17 Yao Qi <yao@codesourcery.com>
21168
21169 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21170 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21171
6c4486e6
PA
211722014-10-17 Pedro Alves <palves@redhat.com>
21173
21174 PR gdb/17471
21175 * gdb.base/bg-execution-repeat.c: New file.
21176 * gdb.base/bg-execution-repeat.exp: New file.
21177
0ff33695
PA
211782014-10-17 Pedro Alves <palves@redhat.com>
21179
21180 PR gdb/17300
21181 * gdb.base/continue-all-already-running.c: New file.
21182 * gdb.base/continue-all-already-running.exp: New file.
21183
6fdebc3d
PA
211842014-10-17 Pedro Alves <palves@redhat.com>
21185
21186 PR gdb/17472
21187 * gdb.base/annota-input-while-running.c: New file.
21188 * gdb.base/annota-input-while-running.exp: New file.
21189
32a8097b
PA
211902014-10-17 Pedro Alves <palves@redhat.com>
21191
21192 * gdb.base/callfuncs.exp: emove references to osf.
21193 * gdb.base/sigall.exp: Likewise.
21194 * gdb.gdb/selftest.exp: Likewise.
21195 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21196 * gdb.mi/non-stop.c: Likewise.
21197 * gdb.mi/pthreads.c: Likewise.
21198 * gdb.reverse/sigall-precsave.exp: Likewise.
21199 * gdb.reverse/sigall-reverse.exp: Likewise.
21200 * gdb.threads/pthreads.c: Likewise.
21201 * gdb.threads/pthreads.exp: Likewise.
21202
7a3517ff
YQ
212032014-10-17 Yao Qi <yao@codesourcery.com>
21204
21205 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21206 check 'target_info exists noargs'.
21207 (test_command_prompt_position): Likewise.
21208 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21209 Remove "set args".
21210 (progvar_simple_while_test): Likewise.
21211 (progvar_complex_if_while_test): Likewise.
21212 (if_while_breakpoint_command_test): Likewise.
21213 (infrun_breakpoint_command_test): Likewise.
21214 (breakpoint_command_test): Likewise.
21215 (watchpoint_command_test): Likewise.
21216 (bp_deleted_in_command_test): Likewise.
21217 (temporary_breakpoint_commands): Likewise.
21218
bb99c472
YQ
212192014-10-16 Yao Qi <yao@codesourcery.com>
21220
21221 * gdb.base/remotetimeout.exp: Remove noargs checking.
21222
7c16b83e
PA
212232014-10-15 Pedro Alves <palves@redhat.com>
21224
21225 PR breakpoints/9649
21226 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21227 * gdb.base/breakpoint-in-ro-region.exp
21228 (probe_target_hardware_step): New procedure.
21229 (top level): Probe hardware stepping and hardware breakpoint
21230 support. Test stepping through a read-only region, with both
21231 "breakpoint auto-hw" on and off and both "always-inserted" on and
21232 off.
21233
35a49624
IB
212342014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21235
21236 * gdb.dlang/demangle.exp: Update for demangling changes.
21237
2d1c107c
SC
212382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21239
21240 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21241 * gdb.cp/non-trivial-retval.exp: Add new tests.
21242
778811d5
SC
212432014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21244
21245 PR c++/13403
21246 PR c++/15154
21247 * gdb.cp/non-trivial-retval.cc: New file.
21248 * gdb.cp/non-trivial-retval.exp: New file.
21249
10c5f0a8
YQ
212502014-10-15 Yao Qi <yao@codesourcery.com>
21251
21252 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21253 remote host.
21254
65d7b369
YQ
212552014-10-15 Yao Qi <yao@codesourcery.com>
21256
21257 * gdb.python/py-symbol.exp: Match file base name if host is
21258 remote, otherwise match file name with dir name.
21259 * gdb.python/py-symtab.exp: Likewise.
21260 * gdb.python/python.exp: Likewise.
21261
46dc1394
YQ
212622014-10-15 Yao Qi <yao@codesourcery.com>
21263
21264 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21265 pattern.
21266 * gdb.python/py-symtab.exp: Likewise.
21267 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21268 locationn.
21269
c40cc657
JB
212702014-10-14 Joel Brobecker <brobecker@adacore.com>
21271
21272 * gdb.ada/addr_arith: New testcase.
21273
2abf49e1
MR
212742014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21275
21276 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21277 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21278 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21279 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21280
f7088df3
SDJ
212812014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21282
21283 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21284 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21285 * gdb.arch/stap-eval-lang-ada.exp: New file.
21286
4dc06805
YQ
212872014-10-14 Yao Qi <yao@codesourcery.com>
21288
21289 * gdb.mi/mi-var-child.c (nothing1): New function.
21290 (nothing2): New function.
21291 (do_children_tests): Set function pointers by nothing1 and
21292 nothing2.
21293 * gdb.mi/mi-var-child.exp: Step over new added statements.
21294 Update test to match the new output.
21295 * gdb.mi/var-cmd.c (nothing1): New function.
21296 (nothing2): New function.
21297 (do_children_tests): Set function pointers by nothing1 and
21298 nothing2.
21299 * gdb.mi/mi-var-display.exp: Update test to match output.
21300 Step to the line specified by $line_dct_nothing.
21301 Increase the number of lines to step.
21302
46a93de2
YQ
213032014-10-14 Yao Qi <yao@codesourcery.com>
21304
21305 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21306 tests.
21307 * gdb.mi/mi2-var-child.exp: Likewise.
21308
14ea52ee
DE
213092014-10-13 Doug Evans <dje@google.com>
21310
21311 * gdb.python/py-objfile.exp: Change name of file name test.
21312
e5c6e92b
DE
213132014-10-13 Doug Evans <dje@google.com>
21314
21315 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21316 from the start of the CU.
21317
c780cc2f
JK
213182014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21319 Yao Qi <yao@codesourcery.com>
21320
21321 Fix "save breakpoints" for "catch" command.
21322 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21323 Remove -nonewline. Match also the added "main" line.
21324
99894e11
JK
213252014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21326
21327 Fix "save breakpoints" for "disable $bpnum" command.
21328 * gdb.base/save-bp.c (main): Add label.
21329 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21330
6e1ac5a3
JK
213312014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21332
21333 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21334
754dd2b0
YQ
213352014-10-11 Yao Qi <yao@codesourcery.com>
21336
21337 * gdb.server/server-kill.exp: Execute command
21338 "set remote trace-status-packet on" before "tstatus".
21339
f90183d7
YQ
213402014-10-11 Yao Qi <yao@codesourcery.com>
21341
21342 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21343 (main): Call getppid.
21344 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21345 and continue to it. Read variable "server_pid".
21346
bf40a607
YQ
213472014-10-11 Yao Qi <yao@codesourcery.com>
21348
21349 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21350
052ca370
YQ
213512014-10-11 Yao Qi <yao@codesourcery.com>
21352
21353 * gdb.threads/thread-find.exp: Don't execute command
21354 "info threads".
21355 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21356 * gdb.threads/linux-dp.exp: Don't check the condition
21357 $threads_created equals to zero.
21358
3831839c
PA
213592014-10-10 Pedro Alves <palves@redhat.com>
21360
21361 * gdb.base/bigcore.exp: Remove references to IRIX.
21362 * gdb.base/funcargs.exp: Likewise.
21363 * gdb.base/interrupt.exp: Likewise.
21364 * gdb.base/mips_pro.exp: Likewise.
21365 * gdb.base/nodebug.exp: Likewise.
21366 * gdb.base/setvar.exp: Likewise.
21367 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21368
8b9a549d
PA
213692014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21370 Pedro Alves <palves@redhat.com>
21371
21372 PR symtab/14466
21373 * gdb.base/vdso-warning.c: New file.
21374 * gdb.base/vdso-warning.exp: New file.
21375
d48ba5e8
DE
213762014-10-02 Doug Evans <dje@google.com>
21377
21378 * gdb.base/structs.c (main): Don't run forever.
21379
2278c276
PA
213802014-10-02 Pedro Alves <palves@redhat.com>
21381
21382 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21383 (top level) <stop threads 1, stop threads 2>: Use it.
21384
b57bacec
PA
213852014-10-02 Pedro Alves <palves@redhat.com>
21386
21387 * gdb.threads/break-while-running.exp (test): Add new
21388 'update_thread_list' argument. Skip "info threads" if false.
21389 (top level): Add new 'update_thread_list' axis.
21390
13fd3ff3
PA
213912014-10-02 Pedro Alves <palves@redhat.com>
21392
21393 PR breakpoints/17431
21394 * gdb.base/execl-update-breakpoints.c: New file.
21395 * gdb.base/execl-update-breakpoints.exp: New file.
21396
0fec99e8
PA
213972014-10-01 Pedro Alves <palves@redhat.com>
21398
21399 * gdb.base/breakpoint-in-ro-region.c: New file.
21400 * gdb.base/breakpoint-in-ro-region.exp: New file.
21401
2ddf4301
SM
214022014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21403
21404 * gdb.mi/mi-exit-code.exp: New file.
21405 * gdb.mi/mi-exit-code.c: New file.
21406
6a5f3f43
YQ
214072014-09-30 Yao Qi <yao@codesourcery.com>
21408
21409 * lib/prelink-support.exp (build_executable_own_libs): Error if
21410 the target isn't native.
21411
345bcc73
YQ
214122014-09-30 Yao Qi <yao@codesourcery.com>
21413
21414 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21415 false.
21416
a25a5a45
PA
214172014-09-22 Pedro Alves <palves@redhat.com>
21418
21419 * gdb.threads/break-while-running.exp: New file.
21420 * gdb.threads/break-while-running.c: New file.
21421
00ba3162
YQ
214222014-09-19 Yao Qi <yao@codesourcery.com>
21423
21424 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21425 Invoke test. Restart GDB with --readnow and invoke test again.
21426
c3b7b696
YQ
214272014-09-19 Yao Qi <yao@codesourcery.com>
21428
21429 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21430 proc set_breakpoint_on_gcd_function. Invoke
21431 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21432 invoke set_breakpoint_on_gcd_function again.
21433
2b4fd423
DE
214342014-09-18 Doug Evans <dje@google.com>
21435
21436 * gdb.dwarf2/symtab-producer.exp: New file.
21437
a5947601
SDJ
214382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21439
21440 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21441 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21442 * gdb.base/global-var-nested-by-dso.c: Likewise.
21443 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21444
91c19059
SDJ
214452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21446 Pedro Alves <palves@redhat.com>
21447
21448 * gdb.base/watch-bitfields.exp: Pass string other than test file
21449 name to prepare_for_testing.
21450 (watch): New procedure.
21451 (expect_watchpoint): Use with_test_prefix.
21452 (top level): Factor out tests to ...
21453 (test_watch_location, test_regular_watch): ... these new
21454 procedures, and use with_test_prefix and gdb_continue_to_end.
21455
bb9d5f81
PP
214562014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21457
21458 PR breakpoints/12526
21459 * gdb.base/watch-bitfields.exp: New file.
21460 * gdb.base/watch-bitfields.c: New file.
21461
635856f5
PA
214622014-09-16 Pedro Alves <palves@redhat.com>
21463
21464 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21465 software and hardware addresses, not software address against
21466 itself.
21467
7280ceea
PA
214682014-09-16 Pedro Alves <palves@redhat.com>
21469
21470 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21471 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21472
428b16bd
PA
214732014-09-16 Pedro Alves <palves@redhat.com>
21474
21475 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21476 files.
21477 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21478 "*-*-vxworks*" throughout.
21479 * gdb.base/break.exp: Likewise.
21480 * gdb.base/default.exp: Likewise.
21481 * gdb.base/scope.exp: Likewise.
21482 * gdb.base/sepdebug.exp: Likewise.
21483 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21484 throughout.
21485 * gdb.base/run.c: Likewise.
21486 * gdb.base/sepdebug.c: Likewise.
21487 * gdb.hp/gdb.aCC/run.c: Likewise.
21488 * gdb.reverse/until-reverse.c: Likewise.
21489 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21490
666d413c
YQ
214912014-09-16 Yao Qi <yao@codesourcery.com>
21492
21493 * boards/local-remote-host-native.exp: New file.
21494
57cbd724
DE
214952014-09-14 Doug Evans <xdje42@gmail.com>
21496
21497 * gdb.threads/queue-signal.c (thread_count): New variable.
21498 (thread_count_mutex, thread_count_condvar): New variables.
21499 (incr_thread_count, wait_all_threads_running): New functions.
21500 (main): Wait for all threads to be in their thread functions.
21501
81219e53
DE
215022014-09-13 Doug Evans <xdje42@gmail.com>
21503
21504 * gdb.threads/queue-signal.c: New file.
21505 * gdb.threads/queue-signal.exp: New file.
21506
3714cea7
DE
215072014-09-13 Doug Evans <xdje42@gmail.com>
21508
21509 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21510 be consistent with what default_gdb_init uses.
21511 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21512 the plain text of the prompt. Add some logging printfs.
21513 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21514
fa43b1d7
PA
215152014-09-12 Pedro Alves <palves@redhat.com>
21516
21517 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21518 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21519 * gdb.arch/i386-size-overlap.exp: Likewise.
21520 * gdb.arch/i386-size.exp: Likewise.
21521 * gdb.arch/i386-unwind.exp: Likewise.
21522 * gdb.base/a2-run.exp: Likewise.
21523 * gdb.base/break.exp: Likewise.
21524 * gdb.base/charset.exp: Likewise.
21525 * gdb.base/chng-syms.exp: Likewise.
21526 * gdb.base/commands.exp: Likewise.
21527 * gdb.base/dbx.exp: Likewise.
21528 * gdb.base/find.exp: Likewise.
21529 * gdb.base/funcargs.exp: Likewise.
21530 * gdb.base/jit-simple.exp: Likewise.
21531 * gdb.base/reread.exp: Likewise.
21532 * gdb.base/sepdebug.exp: Likewise.
21533 * gdb.base/step-bt.exp: Likewise.
21534 * gdb.cp/mb-inline.exp: Likewise.
21535 * gdb.cp/mb-templates.exp: Likewise.
21536 * gdb.objc/basicclass.exp: Likewise.
21537 * gdb.threads/killed.exp: Likewise.
21538
9d9bf2df
EBM
215392014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21540
21541 PR tdep/17379
21542 * gdb.arch/powerpc-stackless.S: New file.
21543 * gdb.arch/powerpc-stackless.exp: New file.
21544
1cf2f1b0
JK
215452014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21546
21547 * gdb.base/attach.c: Include unistd.h.
21548 (main): Call alarm. Add label postloop.
21549 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21550 gdb_breakpoint, gdb_continue_to_breakpoint.
21551 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21552
98880d46
PA
215532014-09-11 Pedro Alves <palves@redhat.com>
21554
21555 PR gdb/17347
21556 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21557 * gdb.base/attach.exp (test_command_line_attach_run): New
21558 procedure.
21559 (top level): Call it.
21560
4c92ff2c
PA
215612014-09-11 Pedro Alves <palves@redhat.com>
21562
21563 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21564 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21565 (do_command_attach_tests): Use spawn_wait_for_attach.
21566 * gdb.base/solib-overlap.exp: Likewise.
21567 * gdb.multi/multi-attach.exp: Likewise.
21568 * gdb.python/py-prompt.exp: Likewise.
21569 * gdb.python/py-sync-interp.exp: Likewise.
21570 * gdb.server/ext-attach.exp: Likewise.
21571
3adc1a7d
GKB
215722014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21573
21574 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21575 command in testcase. Simplify testcase.
21576
96334934
JB
215772014-09-10 Joel Brobecker <brobecker@adacore.com>
21578
21579 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21580
eb479039
JB
215812014-09-10 Joel Brobecker <brobecker@adacore.com>
21582
21583 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21584
deede10c
JB
215852014-09-10 Joel Brobecker <brobecker@adacore.com>
21586
21587 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21588
7828a5f5
JB
215892014-09-10 Joel Brobecker <brobecker@adacore.com>
21590
21591 * gdb.dwarf2/dynarr-ptr.c: New file.
21592 * gdb.dwarf2/dynarr-ptr.exp: New file.
21593
33aeebcf
MR
215942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21595
21596 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21597 of 30 rather than hardcoding 120 for a slow test case. Take the
21598 `gdb,timeout' target setting into account for this calculation.
21599 Don't extend the timeout for the test cases that don't need it.
21600
7b415901
MR
216012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21602
21603 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21604 a factor of 2 for a slow test case. Take the `gdb,timeout'
21605 target setting into account for this calculation.
21606 * gdb.reverse/until-precsave.exp: Increase the timeout by
21607 a factor of 15 and 3 respectively rather than adding 120
21608 for a pair of slow test cases. Take the `gdb,timeout'
21609 target setting into account for this calculation.
21610
4a40f85a
MR
216112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21612
21613 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21614 timeout, don't pass one down to gdb_expect.
21615 (gdb_expect): Rework timeout selection.
21616
09635af7
MR
216172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21618
21619 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21620 exception on timeout.
21621 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21622 (gdbserver_start_extended): Catch any `gdbserver_start' error
21623 exceptions.
21624 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21625 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21626 `gdbserver_gdb_load' error exceptions.
21627
2bdd10b7
MR
216282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21629
21630 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21631 120 on waiting for the TCP socket to open.
21632
316935f0
DE
216332014-09-09 Doug Evans <xdje42@gmail.com>
21634
21635 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21636 _caller_matches, _any_caller_is, _any_caller_matches.
21637
83740597
DE
216382014-09-09 Doug Evans <xdje42@gmail.com>
21639
21640 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21641
4c122fc3
YQ
216422014-09-09 Yao Qi <yao@codesourcery.com>
21643
21644 * gdb.mi/mi-var-display.exp: Set print symbol off.
21645
a9f116cb
GKB
216462014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21647
21648 PR gdb/17035
21649 * gdb.base/commands.exp: Add tests to verify user-defined
21650 commands with empty bodies.
21651 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21652 python commands in `show user command`.
21653 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21654 scheme commands in `show user command`.
21655
c75bd3a2
JK
216562014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21657
21658 PR python/17355
21659 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21660 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21661 * gdb.python/py-framefilter-invalidarg.exp: New file.
21662 * gdb.python/py-framefilter-invalidarg.py: New file.
21663
faa42425
DE
216642014-09-06 Doug Evans <xdje42@gmail.com>
21665
21666 PR 15276
21667 * gdb.python/py-caller-is.c: New file.
21668 * gdb.python/py-caller-is.exp: New file.
21669
474ca4f6
SDJ
216702014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21671
21672 PR gdb/17235
21673 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21674 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21675
eb0b0463
SDJ
216762014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21677
21678 PR fortran/17237
21679 * gdb.fortran/print-formatted.exp: New file.
21680 * gdb.fortran/print-formatted.f90: Likewise.
21681
5f3b99cf
SS
216822014-09-03 Sasha Smundak <asmundak@google.com>
21683
21684 * gdb.python/py-frame.exp: Test Frame.read_register.
21685
7d793aa9
SDJ
216862014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21687
21688 PR python/16699
21689 * gdb.python/py-completion.exp: New file.
21690 * gdb.python/py-completion.py: Likewise.
21691
fb0576e9
DE
216922014-08-28 Doug Evans <dje@google.com>
21693
21694 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21695 eax,etc. are live with values set by gdb and thus the compiler can't
21696 use them.
21697 * gdb.arch/i386-pseudo.c (main): Ditto.
21698
ee92b0dd
DE
216992014-08-27 Doug Evans <dje@google.com>
21700
21701 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21702
6649db35
DE
217032014-08-25 Doug Evans <dje@google.com>
21704
21705 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21706 (main): Ditto.
21707
564b7600
DE
217082014-08-25 Doug Evans <dje@google.com>
21709
21710 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21711
3881fb67
YQ
217122014-08-24 Yao Qi <yao@codesourcery.com>
21713
21714 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21715 symbol off.
21716 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21717
a05a36a5
DE
217182014-08-22 Doug Evans <dje@google.com>
21719
21720 PR 17276
21721 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21722 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21723 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21724
7c343b48
YQ
217252014-08-22 Yao Qi <yao@codesourcery.com>
21726
21727 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21728 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21729 * gdb.python/python.exp: Likewise. Use .py file on the host
21730 instead of the build.
21731
22fd09ae
JK
217322014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21733
21734 * gdb.threads/gcore-stale-thread.c: New file.
21735 * gdb.threads/gcore-stale-thread.exp: New file.
21736
a8454a7c
PA
217372014-08-21 Pedro Alves <palves@redhat.com>
21738
21739 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21740 * gdb.base/gcore-relro-pie.exp: Likewise.
21741 * gdb.base/gcore-relro.exp: Likewise.
21742 * gdb.base/gcore.exp: Likewise.
21743 * gdb.base/print-symbol-loading.exp: Likewise.
21744 * gdb.threads/gcore-thread.exp: Likewise.
21745 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21746
2a31c623
PA
217472014-08-20 Pedro Alves <palves@redhat.com>
21748 Jan Kratochvil <jan.kratochvil@redhat.com>
21749
21750 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21751 configure.
21752 (EXPECT): Handle READ1 being set.
21753 (all): Depend on EXTRA_RULES.
21754 (check-read1, expect-read1, read1.so, read1): New rules.
21755 * README (Testsuite Parameters): Document the READ1 make variable.
21756 (Race detection): New section.
21757 * configure: Regenerate.
21758 * configure.ac: If build==host==target, and running under a
21759 GNU/glibc system, add read1 to the extra Makefile rules.
21760 (EXTRA_RULES): AC_SUBST it.
21761 * lib/read1.c: New file.
21762
d36430db
JB
217632014-08-20 Joel Brobecker <brobecker@adacore.com>
21764
21765 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21766 the handling of variables declared as a typedef to an array
21767 which a DW_AT_data_location attribute.
21768
9a0dc9e3
PA
217692014-08-19 Andrew Burgess <aburgess@broadcom.com>
21770 Pedro Alves <palves@redhat.com>
21771
21772 PR symtab/14604
21773 PR symtab/14605
21774 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21775 gdb_test.
21776
0718a8da
PA
217772014-08-19 Pedro Alves <palves@redhat.com>
21778
21779 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21780
13b448cd
YQ
217812014-08-19 Yao Qi <yao@codesourcery.com>
21782
21783 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21784 right line.
21785
1cbf5077
DB
217862014-08-18 David Blaikie <dblaikie@gmail.com>
21787
21788 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21789
bf0fae19
JB
217902014-08-18 Joel Brobecker <brobecker@adacore.com>
21791
21792 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21793 attribute in array range.
21794
3c8c5dcc
JB
217952014-08-18 Joel Brobecker <brobecker@adacore.com>
21796
21797 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21798
e66d4446
SC
217992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21800
21801 PR c++/17132
21802 * gdb.cp/pr17132.cc: New file.
21803 * gdb.cp/pr17132.exp: New file.
21804
940df408
SC
218052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21806
21807 * gdb.python/py-xmethods.py (A_getarrayind)
21808 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21809 Use 'print' with function call syntax.
21810 (E_method_matcher.match): Fix tab vs space indentation mixup.
21811
ebcc6c3a
YQ
218122014-08-15 Yao Qi <yao@codesourcery.com>
21813
21814 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21815 false.
21816
775e0f04
YQ
218172014-08-15 Yao Qi <yao@codesourcery.com>
21818
21819 * gdb.cp/casts.exp: Set print symbol off.
21820 * gdb.cp/class2.exp: Likewise.
21821 * gdb.cp/overload.exp: Likewise.
21822 * gdb.cp/templates.exp: Likewise.
21823
d769e349
DE
218242014-08-11 Doug Evans <dje@google.com>
21825
21826 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21827 (test_load_shlib): Update.
21828
20c6f1e1
YQ
218292014-08-09 Yao Qi <yao@codesourcery.com>
21830
21831 * gdb.base/display.exp: Invoke is_address_zero_readable.
21832 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21833 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21834 * gdb.base/hbreak-unmapped.exp: Return if
21835 is_address_zero_readable returns true.
21836 * gdb.base/signest.exp: Likewise.
21837 * gdb.base/signull.exp: Likewise.
21838 * gdb.base/sigbpt.exp: Likewise.
21839 * gdb.guile/scm-disasm.exp: Do the test if
21840 is_address_zero_readable returns false.
21841 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21842 * gdb.python/py-arch.exp: Likewise.
21843 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21844 * lib/gdb.exp (is_address_zero_readable): New proc.
21845
5792e8e3
YQ
218462014-08-09 Yao Qi <yao@codesourcery.com>
21847
21848 PR testsuite/13443
21849 * gdb.mi/mi-var-display.exp: Make test messages unique.
21850
3cecbbbe
TT
218512014-08-04 Tom Tromey <tromey@redhat.com>
21852
21853 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21854 target 0".
21855
00b51ff5
TT
218562014-08-04 Tom Tromey <tromey@redhat.com>
21857
21858 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21859 "target_resume".
21860
6908c509
JB
218612014-08-01 Joel Brobecker <brobecker@adacore.com>
21862
21863 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21864 inner_vla_struct_object_size.
21865 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21866 as xfail.
21867
cc6563d2
PA
218682014-07-30 Pedro Alves <palves@redhat.com>
21869
21870 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21871 comment.
21872
7e09a223
YQ
218732014-07-29 Yao Qi <yao@codesourcery.com>
21874
21875 PR gdb/17206
21876 * gdb.base/until-nodebug.exp: New.
21877
7ebdbe92
DE
218782014-07-28 Doug Evans <xdje42@gmail.com>
21879
21880 PR guile/17203
21881 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21882 previously existing parameter, and previously ambiguously spelled
21883 parameter.
21884
fdb1adc6
WN
218852014-07-28 Will Newton <will.newton@linaro.org>
21886
21887 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21888
186fcde0
DE
218892014-07-26 Ludovic Courtès <ludo@gnu.org>
21890 Doug Evans <xdje42@gmail.com>
21891
21892 PR guile/17146
21893 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21894
70509625
PA
218952014-07-25 Pedro Alves <palves@redhat.com>
21896
21897 * gdb.threads/signal-command-handle-nopass.c: New file.
21898 * gdb.threads/signal-command-handle-nopass.exp: New file.
21899 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21900 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21901 * gdb.threads/signal-delivered-right-thread.c: New file.
21902 * gdb.threads/signal-delivered-right-thread.exp: New file.
21903
c3f814a1
PA
219042014-07-25 Pedro Alves <palves@redhat.com>
21905
21906 * gdb.base/double-prompt-target-event-error.exp
21907 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21908 match.
21909 (cancel_pagination_in_target_event): Rework double prompt
21910 detection.
21911 * gdb.base/paginate-after-ctrl-c-running.exp
21912 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21913 <return>' match.
21914 * gdb.base/paginate-bg-execution.exp
21915 (test_bg_execution_pagination_return)
21916 (test_bg_execution_pagination_cancel): Remove '-notransfer
21917 <return>' matches.
21918 * gdb.base/paginate-execution-startup.exp
21919 (test_fg_execution_pagination_return)
21920 (test_fg_execution_pagination_cancel): Remove '-notransfer
21921 <return>' matches.
21922 * gdb.base/paginate-inferior-exit.exp
21923 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21924 match.
21925 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21926 * lib/gdb.exp (pagination_prompt): Run text through
21927 string_to_regexp.
21928 (gdb_test_multiple): Match $pagination_prompt instead of
21929 "<return>".
21930 (string_to_regexp): Move to lib/gdb-utils.exp.
21931
e214cf6c
JK
219322014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21933
21934 * gdb.arch/amd64-entry-value-paramref.S: New file.
21935 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21936 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21937 * gdb.arch/amd64-optimout-repeat.S: New file.
21938 * gdb.arch/amd64-optimout-repeat.c: New file.
21939 * gdb.arch/amd64-optimout-repeat.exp: New file.
21940
17d0c5c8
JK
219412014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21942
21943 PR gdb/17170
21944 * gdb.base/statistics.exp: New file.
21945
b8b8facf
DE
219462014-07-17 Doug Evans <dje@google.com>
21947
74b49205 21948 PR gdb/17170
b8b8facf
DE
21949 * gdb.base/maint.exp: Update testing of per-command stats.
21950
1b5d0ab3
PA
219512014-07-16 Pedro Alves <palves@redhat.com>
21952
21953 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21954 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21955 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21956 (tfile_write_buf): New functions.
21957 (add_memory_block): Rewrite using the above.
21958 (adjust_function_address): New function.
21959 (FUNCTION_ADDRESS): New macro.
21960 (write_basic_trace_file): Remove short_x local, and use
21961 tfile_write_16. Change type of func_addr local to unsigned long
21962 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21963 here. Cast argument of add_memory_block to char pointer.
21964 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21965 (main): Remove parameters.
21966 * gdb.trace/tfile.exp: Remove nowarnings.
21967
4d974e88
SM
219682014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21969
21970 * gdb.base/debug-expr.exp: Test string evaluation with
21971 "debug expression" on.
21972
41e99568
PA
219732014-07-15 Pedro Alves <palves@redhat.com>
21974
21975 * gdb.base/reread.exp: Use clean_restart.
21976
487d9753
PL
219772014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21978
21979 * gdb.arch/avr-flash-qualifer.c: New.
21980 * gdb.arch/avr-flash-qualifer.exp: New.
21981
cc1c52ad
PA
219822014-07-14 Pedro Alves <palves@redhat.com>
21983
21984 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21985 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21986
1e973570
PA
219872014-07-14 Pedro Alves <palves@redhat.com>
21988
21989 * gdb.base/double-prompt-target-event-error.c: New file.
21990 * gdb.base/double-prompt-target-event-error.exp: New file.
21991
93d6eb10
PA
219922014-07-14 Pedro Alves <palves@redhat.com>
21993
21994 PR gdb/17072
21995 * gdb.base/paginate-inferior-exit.c: New file.
21996 * gdb.base/paginate-inferior-exit.exp: New file.
21997
0017922d
PA
219982014-07-14 Pedro Alves <palves@redhat.com>
21999
22000 PR gdb/17072
22001 * gdb.base/paginate-bg-execution.c: New file.
22002 * gdb.base/paginate-bg-execution.exp: New file.
22003
94696ad3
PA
220042014-07-14 Pedro Alves <palves@redhat.com>
22005
22006 PR gdb/17072
22007 * gdb.base/paginate-execution-startup.c: New file.
22008 * gdb.base/paginate-execution-startup.exp: New file.
22009 * lib/gdb.exp (pagination_prompt): New global.
22010 (default_gdb_spawn): New procedure, factored out from
22011 default_gdb_spawn.
22012 (default_gdb_start): Adjust to call default_gdb_spawn.
22013 (gdb_spawn): New procedure.
22014
bd293940
PA
220152014-07-14 Pedro Alves <palves@redhat.com>
22016
22017 * lib/gdb.exp (gdb_assert): New procedure.
22018 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22019
c933f875
PA
220202014-07-14 Pedro Alves <palves@redhat.com>
22021
22022 * gdb.base/execution-termios.c: New file.
22023 * gdb.base/execution-termios.exp: New file.
22024
d98b7a16
TT
220252014-07-14 Tom Tromey <tromey@redhat.com>
22026
22027 * gdb.cp/vla-cxx.cc: New file.
22028 * gdb.cp/vla-cxx.exp: New file.
22029
548740d6
TT
220302014-07-14 Tom Tromey <tromey@redhat.com>
22031
22032 * gdb.reverse/rerun-prec.c: New file.
22033 * gdb.reverse/rerun-prec.exp: New file.
22034
a25eb028
MR
220352014-07-12 Maciej W. Rozycki <macro@mips.com>
22036 Maciej W. Rozycki <macro@codesourcery.com>
22037
22038 * lib/gdb-utils.exp: New file.
22039 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22040 inline `gdb_init_command' processing.
22041 (gdb_start_cmd): Likewise.
22042 * lib/mi-support.exp (mi_run_cmd): Likewise.
22043 * README: Document `gdb_init_command' and `gdb_init_commands'.
22044
218c2655
JK
220452014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22046
22047 Fix false FAIL running under a very long directory name.
22048 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22049 and "set print elements 10000". Twice.
22050
5401fde3
YQ
220512014-07-11 Yao Qi <yao@codesourcery.com>
22052
22053 * gdb.base/exprs.exp: "set print symbol off".
22054
e76126e8
PA
220552014-07-11 Pedro Alves <palves@redhat.com>
22056
22057 * gdb.threads/kill.c: New file.
22058 * gdb.threads/kill.exp: New file.
22059
2d6f0de6
YQ
220602014-07-10 Yao Qi <yao@codesourcery.com>
22061
22062 * gdb.trace/tfile.c (write_basic_trace_file)
22063 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22064 address written to trace file.
22065
7180e04a
PA
220662014-07-09 Pedro Alves <palves@redhat.com>
22067
22068 * gdb.base/attach-wait-input.exp: New file.
22069 * gdb.base/attach-wait-input.c: New file.
22070
9a9a7608
AB
220712014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22072
22073 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22074 setting up test structures.
22075 (main): Call new test function.
22076 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22077 test function, continue into test function and walk test
22078 structures.
22079
161ac41e
YQ
220802014-07-02 Yao Qi <yao@codesourcery.com>
22081
22082 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22083 'bar_start' at the beginning of functions 'foo' and 'bar'
22084 respectively.
22085 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22086 instead of 'foo' and 'bar'.
22087
1f267ae3
MM
220882014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22089
22090 * gdb.btrace/segv.exp: New.
22091 * gdb.btrace/segv.c: New.
22092
2b239efb
LM
220932014-07-02 Luis Machado <lgustavo@codesourcery.com>
22094
22095 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22096 instruction.
22097
cf363f18
MW
220982014-06-30 Mark Wielaard <mjw@redhat.com>
22099
22100 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22101 vulture, vilify, villar): New volatile array constants.
22102 (vindictive, vegetation): New const volatile array constants.
22103 * gdb.base/volatile.exp: Test volatile and const volatile array
22104 types.
22105
aebf9d24
AA
221062014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22107
22108 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22109 target lacks support for awatch, rwatch, or hbreak.
22110
b67a2c6f
YQ
221112014-06-27 Yao Qi <yao@codesourcery.com>
22112
22113 * gdb.multi/dummy-frame-restore.exp: New.
22114 * gdb.multi/dummy-frame-restore.c: New.
22115
aef92902
MM
221162014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22117
22118 * gdb.btrace/gcore.exp: New.
22119
8e9db26e
PA
221202014-06-23 Pedro Alves <palves@redhat.com>
22121
22122 * gdb.base/watchpoint-reuse-slot.c: New file.
22123 * gdb.base/watchpoint-reuse-slot.exp: New file.
22124
70afc5b7
SC
221252014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22126
22127 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22128 progspace's filename in 'info', 'enable' and 'disable' command
22129 tests.
22130
b972bd9c
JK
221312014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22132
22133 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22134 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22135 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22136
125f8a3d
GB
221372014-06-20 Gary Benson <gbenson@redhat.com>
22138
22139 * gdb.arch/i386-avx.exp: Fix include file location.
22140 * gdb.arch/i386-sse.exp: Likewise.
22141
3ed9baed
IB
221422014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22143
22144 * gdb.dlang/expression.exp: New file.
22145
034f788c
PA
221462014-06-19 Pedro Alves <palves@redhat.com>
22147
22148 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22149 out from ...
22150 (top level): ... here. Iterate running tests under different
22151 scheduler-locking settings.
22152
45371d0c
LM
221532014-06-18 Luis Machado <lgustavo@codesourcery.com>
22154
22155 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22156 to DW_FORM_addr and use non-zero addresses.
22157
5d376983
SC
221582014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22159
22160 PR gdb/17017
22161 * gdb.python/py-xmethods.cc: Add global function call counters and
22162 increment them in their respective functions. Remove "cout"
22163 statements.
22164 * gdb.python/py-xmethods.exp: Make tests check the global function
22165 call counters instead of depending on inferior IO.
22166
a1aa2221
LM
221672014-06-18 Don Breazeal <donb@codesourcery.com>
22168
22169 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22170 Deleted procedure.
22171 (explicit_fork_parent_follow): Deleted procedure.
22172 (explicit_fork_child_follow): Deleted procedure.
22173 (test_follow_fork): New procedure.
22174 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22175 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22176 procedure calls.
22177
0fc05997
YQ
221782014-06-17 Yao Qi <yao@codesourcery.com>
22179
22180 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22181 CP1252.
22182
70795c52
LM
221832014-06-17 Luis Machado <lgustavo@codesourcery.com>
22184
22185 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22186 Initialize ptr and S explicitly.
22187 (skip_type_update_when_not_use_rtti_test): Likewise.
22188
6be47f0c
KS
221892014-06-16 Keith Seitz <keiths@redhat.com>
22190
22191 PR mi/15863
22192 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22193 the inferior is started.
22194
d03de421
PA
221952014-06-16 Pedro Alves <palves@redhat.com>
22196
22197 * gdb.base/break-main-file-remove-fail.c: New file.
22198 * gdb.base/break-main-file-remove-fail.exp: New file.
22199 * gdb.base/break-unload-file.exp: Use build_executable instead of
22200 prepare_for_testing.
22201 (test_break): New parameter "initial_load". Handle it.
22202 (top level): Add initial_load cmdline/file axis.
22203
f9579b99
TT
222042014-06-12 Tom Tromey <tromey@redhat.com>
22205
22206 * gdb.base/completion.exp: Don't use directory name in test.
22207
3657956b
GB
222082014-06-09 Gary Benson <gbenson@redhat.com>
22209
22210 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22211 separate the always-available ANSI-standard signals from the
22212 signals that require checking.
22213 (main): Likewise.
22214 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22215 Likewise.
22216 (main): Likewise.
22217
4186eb54
KS
222182014-06-07 Keith Seitz <keiths@redhat.com>
22219
22220 Revert:
22221 PR c++/16253
22222 * gdb.cp/var-tag.cc: New file.
22223 * gdb.cp/var-tag.exp: New file.
22224 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22225 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22226 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22227 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22228
25326a28 222292014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22230
22231 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22232
829155c9
PA
222332014-06-06 Pedro Alves <palves@redhat.com>
22234
22235 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22236 in target debug output instead of looking at RSP packets,
22237 disabling the test on any target that uses hardware stepping.
22238 Update comments.
22239
61c8d22e
PA
222402014-06-06 Pedro Alves <palves@redhat.com>
22241
22242 * gdb.base/break-unload-file.exp: Fix typo.
22243
d9a47287
YQ
222442014-06-06 Yao Qi <yao@codesourcery.com>
22245
22246 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22247 from "jit_function" to "^jit_function".
22248
e5e01dbf
YQ
222492014-06-06 Yao Qi <yao@codesourcery.com>
22250
22251 * gdb.base/async.c (foo): Add one statement.
22252 * gdb.base/async.exp: Get the next instruction address and
22253 match the output of "nexti" by instruction address. Match
22254 the hex address in the output of "finish".
22255
73ba372c
GB
222562014-06-06 Gary Benson <gbenson@redhat.com>
22257
22258 * gdb.base/call-signals.c: Remove preprocessor conditionals
22259 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22260 SIGSEGV and SIGTERM.
22261 * gdb.base/sigall.c: Likewise.
22262 * gdb.base/unwindonsignal.c: Likewise.
22263 * gdb.reverse/sigall-reverse.c: Likewise.
22264
831517df
YQ
222652014-06-06 Yao Qi <yao@codesourcery.com>
22266
22267 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22268 readable, skip the test.
22269
b8b91e98
YQ
222702014-06-06 Yao Qi <yao@codesourcery.com>
22271
22272 * gdb.threads/staticthreads.c (thread_function): Move the line
22273 setting breakpoint on forward.
22274 * gdb.threads/staticthreads.exp: Update comments.
22275
fb934770
LC
222762014-06-05 Ludovic Courtès <ludo@gnu.org>
22277
22278 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22279 "history-append! type error".
22280
6ef284bd
SM
222812014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22282
22283 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22284 erroneous dprintf expected input.
22285
a872e241
DE
222862014-06-04 Doug Evans <xdje42@gmail.com>
22287
22288 * gdb.guile/scm-generics.exp: Delete.
22289
16f691fb
DE
222902014-06-04 Doug Evans <xdje42@gmail.com>
22291
22292 * gdb.guile/scm-breakpoint.exp: Update.
22293 Add tests for breakpoint registration.
22294
012370f6
TT
222952014-06-04 Tom Tromey <tromey@redhat.com>
22296
22297 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22298 VLA-in-union.
22299 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22300 inner_vla_struct, vla_union types. Initialize objects of those
22301 types and compute their sizes.
22302
9f5a4cef
HZ
223032014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22304 Hui Zhu <hui@codesourcery.com>
22305
22306 * gdb.base/fileio.exp: Add test for shell not available as well as
22307 available.
22308 * gdb.base/fileio.c (test_system): Check for shell twice.
22309
90a45c4d
YQ
223102014-06-04 Yao Qi <yao@codesourcery.com>
22311
22312 * gdb.base/auto-connect-native-target.exp: Remove redundant
22313 space from the regexp pattern.
22314
70017e41
YQ
223152014-06-04 Yao Qi <yao@codesourcery.com>
22316
22317 * gdb.base/default.exp: Replace "child" with "native" in
22318 regexp pattern.
22319
883964a7
SC
223202014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22321
22322 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22323 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22324 * gdb.python/py-xmethods.py: Python script supporting the
22325 new testcase and tests.
22326
ef370185
JB
223272014-06-03 Joel Brobecker <brobecker@adacore.com>
22328 Pedro Alves <palves@redhat.com>
22329
22330 PR breakpoints/17000
22331 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22332 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22333
1e2ccb61
BM
223342014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22335
22336 * gdb.base/subst.exp: Add tests to verify partial path matching
22337 output.
22338
c6ec5ab2
PA
223392014-06-03 Pedro Alves <palves@redhat.com>
22340
22341 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22342 target that doesn't use software single-stepping.
22343
835c559f
PA
223442014-06-03 Pedro Alves <palves@redhat.com>
22345
22346 PR breakpoints/17000
22347 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22348 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22349
06eb1586
DE
223502014-06-02 Doug Evans <xdje42@gmail.com>
22351
22352 * gdb.guile/scm-parameter.exp: New file.
22353
e698b8c4
DE
223542014-06-02 Doug Evans <xdje42@gmail.com>
22355
22356 * gdb.guile/scm-cmd.c: New file.
22357 * gdb.guile/scm-cmd.exp: New file.
22358
ded03782
DE
223592014-06-02 Doug Evans <xdje42@gmail.com>
22360
22361 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22362 pretty-printer lookup.
22363 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22364 (make-pp_s-printer): Call it.
22365 (make-pretty-printer-from-dict): New function.
22366 (lookup-pretty-printer-maker-from-dict): New function.
22367 (*pretty-printer*): Simplify.
22368 (make-objfile-pp_s-printer): New function.
22369 (install-objfile-pretty-printers!): New function.
22370 (make-progspace-pp_s-printer): New function.
22371 (install-progspace-pretty-printers!): New function.
22372 * gdb.guile/scm-progspace.c: New file.
22373 * gdb.guile/scm-progspace.exp: New file.
22374
41fac0cf
PA
223752014-06-02 Pedro Alves <palves@redhat.com>
22376
22377 * gdb.base/dprintf-bp-same-addr.c: New file.
22378 * gdb.base/dprintf-bp-same-addr.exp: New file.
22379
96ae5695
EBM
223802014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22381
22382 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22383 * gdb.arch/powerpc-power.s: Likewise.
22384
da02b3a8
JB
223852014-06-02 Joel Brobecker <brobecker@adacore.com>
22386
22387 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22388
c72b2e7b
YQ
223892014-06-01 Yao Qi <yao@codesourcery.com>
22390
22391 * gdb.base/watchpoint.exp (test_watch_location): Check null
22392 pointer can be dereferenced. If not, do the test, otherwise
22393 skip it.
22394
53e8a631
AB
223952014-05-30 Andrew Burgess <aburgess@broadcom.com>
22396
22397 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22398 results.
22399 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22400
938f0e2f
AB
224012014-05-30 Andrew Burgess <aburgess@broadcom.com>
22402
22403 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22404 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22405 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22406 * gdb.arch/amd64-invalid-stack-top.c: New file.
22407 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22408
9ba6657a
PA
224092014-05-30 Pedro Alves <palves@redhat.com>
22410
22411 PR breakpoints/17000
22412 * gdb.base/sss-bp-on-user-bp.c: New file.
22413 * gdb.base/sss-bp-on-user-bp.exp: New file.
22414
522c09bf
DB
224152014-05-30 David Blaikie <dblaikie@gmail.com>
22416
22417 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22418 gnu_inline semantics via attribute.
22419 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22420 source explicitly specifies the required semantics.
22421
bf4ef81e
MR
224222014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22423
22424 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22425
329ea579
PA
224262014-05-29 Pedro Alves <palves@redhat.com>
22427 Tom Tromey <tromey@redhat.com>
22428
22429 * gdb.base/async-shell.exp: Don't enable target-async.
22430 * gdb.base/async.exp
22431 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22432 parameter. Adjust.
22433 (top level): Don't test with "target-async".
22434 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22435 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22436 * gdb.base/inferior-died.exp: Don't enable target-async.
22437 * gdb.base/interrupt-noterm.exp: Likewise.
22438 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22439 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22440 * gdb.mi/mi-nonstop.exp: Likewise.
22441 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22442 * gdb.mi/mi-nsintrall.exp: Likewise.
22443 * gdb.mi/mi-nsmoribund.exp: Likewise.
22444 * gdb.mi/mi-nsthrexec.exp: Likewise.
22445 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22446 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22447 * gdb.python/py-evsignal.exp: Don't enable target-async.
22448 * gdb.python/py-evthreads.exp: Likewise.
22449 * gdb.python/py-prompt.exp: Likewise.
22450 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22451 * gdb.server/solib-list.exp: Don't enable target-async.
22452 * gdb.threads/thread-specific-bp.exp: Likewise.
22453 * lib/mi-support.exp: Adjust to use mi-async.
22454
fd664c91
PA
224552014-05-29 Pedro Alves <palves@redhat.com>
22456
22457 PR gdb/13860
22458 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22459 reason, even in sync mode.
22460
251bde03
PA
224612014-05-29 Pedro Alves <palves@redhat.com>
22462 Hui Zhu <hui@codesourcery.com>
22463
22464 PR PR15693
22465 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22466 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22467 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22468 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22469
7f3c0343
JB
224702014-05-28 Joel Brobecker <brobecker@adacore.com>
22471
22472 * config/monitor.exp (gdb_target_monitor): Replace use of
22473 "set remotebaud" by "set serial baud".
22474
b2715b27
AW
224752014-05-26 Andy Wingo <wingo@igalia.com>
22476
22477 * gdb.guile/scm-breakpoint.exp:
22478 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22479 properties instead of gdb-object-properties.
22480
498a4489
YQ
224812014-05-26 Yao Qi <yao@codesourcery.com>
22482
22483 * gdb.server/no-thread-db.exp: Specify source file name
22484 explicitly when setting a breakpoint.
22485
589fdceb
MM
224862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22487
22488 * gdb.btrace/vdso.c: New.
22489 * gdb.btrace/vdso.exp: New.
22490
e9089e05
MM
224912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22492
22493 * gdb.base/gcore.exp (capture_command_output): Move ...
22494 * lib/gdb.exp (capture_command_output): ... here.
22495
67b5c0c1
MM
224962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22497
22498 * gdb.btrace/data.exp: Test memory access during btrace replay.
22499
a2199296
SM
225002014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22501
22502 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22503
17b2616c
PA
225042014-05-21 Pedro Alves <palves@redhat.com>
22505
22506 PR gdb/13860
22507 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22508 (top level): Test that output related to execution commands is
22509 sent to the console with CLI commands, but not with MI commands.
22510 Test that breakpoint events are always mirrored to the console.
22511 Also expect the new source line to be output after a "next" in
22512 async mode too. Make it a pass/fail test.
22513 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22514 output.
22515 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22516
5166082f
PA
225172014-05-21 Pedro Alves <palves@redhat.com>
22518
22519 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22520 Use them to test variations of "list" after reaching a breakpoint.
22521 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22522 Test "list" with listsize 10 after reaching a breakpoint.
22523 * gdb.python/python.exp (decode_line current location line
22524 number): Adjust expected line number.
22525
2f25d70f
SM
225262014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22527
22528 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22529 behavior for $args, pass it directly to "run".
22530
ff604a67
MR
225312014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22532
22533 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22534 30000 to 65536.
22535
6a3cb8e8
PA
225362014-05-21 Pedro Alves <palves@redhat.com>
22537
22538 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22539 auto-connect-native-target off".
22540 * gdb.base/auto-connect-native-target.c: New file.
22541 * gdb.base/auto-connect-native-target.exp: New file.
22542
4ebfc96e
PA
225432014-05-21 Pedro Alves <palves@redhat.com>
22544
22545 * gdb.base/default.exp: Test "target native" instead of "target
22546 child".
22547
36d46afb
MW
225482014-05-21 Mark Wielaard <mjw@redhat.com>
22549
22550 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22551
5876f503
JK
225522014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22553
22554 Fix TLS access for -static -pthread.
22555 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22556 <HAVE_TLS> (thread_function, main): Initialize it.
22557 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22558 Add clean_restart.
22559 <$have_tls != "">: Check TLSVAR.
22560
0256a6ac
PA
225612014-05-21 Pedro Alves <palves@redhat.com>
22562
22563 * gdb.base/dcache-line-read-error.c: New.
22564 * gdb.base/dcache-line-read-error.exp: New.
22565
936d2992
PA
225662014-05-20 Pedro Alves <palves@redhat.com>
22567
22568 * gdb.base/compare-sections.c: New file.
22569 * gdb.base/compare-sections.exp: New file.
22570
802e8e6d
PA
225712014-05-20 Pedro Alves <palves@redhat.com>
22572
22573 * gdb.base/break-idempotent.c: New file.
22574 * gdb.base/break-idempotent.exp: New file.
22575
e59fa00f
MM
225762014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22577
22578 * gdb.btrace/nohist.exp: New.
22579
8b696e31
YQ
225802014-05-20 Yao Qi <yao@codesourcery.com>
22581
22582 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22583 gdb.reverse directory and gdb_reverse_timeout exists in board
22584 setting.
22585 * README: Document gdb_reverse_timeout.
22586
73c9764f
YQ
225872014-05-20 Yao Qi <yao@codesourcery.com>
22588
22589 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22590 'test_file_name'. Treat args as a string instead of a list.
22591 (gdb_init): Rename argument 'args' by 'test_file_name'.
22592
f1f4348a
JK
225932014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22594
22595 * gdb.arch/powerpc-power.exp: New file.
22596 * gdb.arch/powerpc-power.s: New file.
22597
0dbe70ce
DE
225982014-05-16 Doug Evans <dje@google.com>
22599
22600 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22601 * gdb.base/completion.exp: Check that all expected files exist
22602 before doing file completion.
0dbe70ce 22603
8d551b02
DE
226042014-05-16 Doug Evans <dje@google.com>
22605
22606 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22607 Update.
22608 (do_syscall_tests_without_xml): Update.
22609
73eb7709
PA
226102014-05-16 Pedro Alves <palves@redhat.com>
22611
22612 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22613 instead of "unknown output after running".
22614
3fae92fc
YQ
226152014-05-16 Yao Qi <yao@codesourcery.com>
22616
22617 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22618 file1.txt from host at the end.
22619 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22620
c2b2ccc5
DE
226212014-05-15 Doug Evans <dje@google.com>
22622
22623 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22624 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22625 loading file. Add test for TU lookup.
22626
8c217a4b
SM
226272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22628
22629 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22630 calling "-exec-arguments" or "set args" before running the
22631 inferior.
22632
3deb39c6
SM
226332014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22634
22635 * lib/mi-support.exp (mi_expect_stop): Expect message for
22636 inferiors that exit with non-zero exit code.
22637
71a79f8c
YQ
226382014-05-14 Yao Qi <yao@codesourcery.com>
22639
22640 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22641 match absolute path on remote host.
22642 (test_file_list_exec_source_files): Remove "/" from the
22643 pattern.
22644
f23fcd46
YQ
226452014-05-14 Yao Qi <yao@codesourcery.com>
22646
22647 * boards/local-remote-host-notty.exp (${board}_file): New
22648 proc.
22649
9404b58f
KM
226502014-05-07 Kyle McMartin <kyle@redhat.com>
22651
22652 Pushed by Joel Brobecker <brobecker@adacore.com>.
22653 * gdb.arch/aarch64-atomic-inst.c: New file.
22654 * gdb.arch/aarch64-atomic-inst.exp: New file.
22655
5e45f04c
YQ
226562014-05-07 Yao Qi <yao@codesourcery.com>
22657
22658 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22659 in current context" too.
22660
c888a17d
KS
226612014-05-05 Keith Seitz <keiths@redhat.com>
22662
22663 * gdb.linespec/ls-dollar.exp: Add test for linespec
22664 file:convenience_variable.
22665
290a839c
YQ
226662014-05-05 Yao Qi <yao@codesourcery.com>
22667
22668 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22669 traceframes into tfile and ctf trace files. Read data from
22670 trace file and test collected data.
22671 (gdb_collect_locals_test): Likewise.
22672 (gdb_unavailable_registers_test): Likewise.
22673 (gdb_unavailable_floats): Likewise.
22674 (gdb_collect_globals_test): Likewise.
22675 (top-level): Append "ctf" to trace_file_targets if GDB
22676 supports.
22677
b5262cd0
YQ
226782014-05-05 Yao Qi <yao@codesourcery.com>
22679
22680 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22681 code to ...
22682 (gdb_collect_args_test_1): ... it. New proc.
22683 (gdb_collect_locals_test): Move some code to ...
22684 (gdb_collect_locals_test_1): ... it. New proc.
22685 (gdb_unavailable_registers_test): Move some code to ...
22686 (gdb_unavailable_registers_test_1): ... it. New proc.
22687 (gdb_unavailable_floats): Move some code to ...
22688 (gdb_unavailable_floats_1): ... it. New proc.
22689
30a1e6cc
SDJ
226902014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22691
22692 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22693 probes to test for bitness recognition.
22694 * gdb.arch/amd64-stap-optional-prefix.exp
22695 (test_probe_value_without_reg): New procedure.
22696 Add code to test for different kinds of bitness.
22697
f33da99a
SDJ
226982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22699
22700 PR breakpoints/16889
22701 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22702 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22703
5b80f00d
PA
227042014-05-01 Pedro Alves <palves@redhat.com>
22705
22706 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22707 gdb_file_cmd if no file is specified.
22708 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22709 last_loaded_file to set the remote exec-file.
22710
f8c2a73c
PA
227112014-05-01 Pedro Alves <palves@redhat.com>
22712
22713 * boards/local-remote-host.exp: New file.
22714
be6e8ac7
PA
227152014-05-01 Pedro Alves <palves@redhat.com>
22716
22717 * boards/local-remote-host.exp: Rename to ...
22718 * boards/local-remote-host-notty.exp: ... this.
22719
cac0dc8f
JB
227202014-04-28 Joel Brobecker <brobecker@adacore.com>
22721
22722 * gdb.ada/dyn_arrayidx: New testcase.
22723
9730e6cc
YQ
227242014-04-26 Yao Qi <yao@codesourcery.com>
22725
22726 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22727 and compute the length of function main. Save it in
22728 $main_length.
22729 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22730 (top-level): Use gdb_compile to compile objects into
22731 executable and restart GDB. Remove invocation to
22732 prepare_for_testing.
22733
7ae1a6a6
PA
227342014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22735 Pedro Alves <palves@redhat.com>
22736
22737 PR server/16255
22738 * gdb.multi/multi-attach.c: New file.
22739 * gdb.multi/multi-attach.exp: New file.
22740
4082afcc
PA
227412014-04-25 Pedro Alves <palves@redhat.com>
22742
22743 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22744 user.
22745 (top level): Test that "set remote conditional-breakpoints-packet
22746 off" works as intended.
22747 * gdb.base/dprintf.exp: Test that "set remote
22748 breakpoint-commands-packet off" works as intended.
22749 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22750 New function.
22751 (top level): Call it.
22752 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22753 remote fast-tracepoints-packet off" works as intended.
22754 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22755 * lib/gdb.exp (gdb_is_target_remote): ... here.
22756
2abc3f8d
DB
227572014-04-24 David Blaikie <dblaikie@gmail.com>
22758
22759 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22760 ensure clang would not discard them.
22761 * gdb.base/gdbvars.c: Ditto.
22762 * gdb.base/memattr.c: Ditto.
22763 * gdb.base/whatis.c: Ditto.
22764 * gdb.python/py-prettyprint.c: Ditto.
22765 * gdb.trace/actions.c: Ditto.
22766 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22767 ensure clang would not discard it.
22768
bfd39632
DB
227692014-04-24 David Blaikie <dblaikie@gmail.com>
22770
22771 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22772 clang to emit the full definition of type required by the test
22773 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22774
22842ff6
DB
227752014-04-24 David Blaikie <dblaikie@gmail.com>
22776
22777 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22778 coax Clang into emitting the definition of the type.
22779 * gdb.cp/pr10728-x.h (y): Ditto.
22780 * gdb.cp/pr10728-y.cc (y): Ditto.
22781
c2e827ad
DB
227822014-04-24 David Blaikie <dblaikie@gmail.com>
22783
22784 * gdb.base/label.exp: XFAIL label related tests under Clang.
22785 * gdb.cp/cplabel.exp: Ditto.
22786 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22787 under Clang those using labels.
22788
4c2d33e7
YQ
227892014-04-25 Yao Qi <yao@codesourcery.com>
22790
22791 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22792 double_label.
22793 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22794 partial_label and double_label.
22795
56083b99
DB
227962014-04-24 David Blaikie <dblaikie@gmail.com>
22797
22798 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22799
25d4e99d
DB
228002014-04-24 David Blaikie <dblaikie@gmail.com>
22801
22802 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22803 of the function to work across GCC and Clang.
22804 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22805 pointer types (const void ** const V void **).
22806
01f9f808
MS
228072014-04-24 Michael Sturm <michael.sturm@mintel.com>
22808 Walfred Tedeschi <walfred.tedeschi@intel.com>
22809
22810 * Makefile.in (EXECUTABLES): Added i386-avx512.
22811 * gdb.arch/i386-avx512.c: New file.
22812 * gdb.arch/i386-avx512.exp: Likewise.
22813
4b48d439
KS
228142014-04-23 Keith Seitz <keiths@redhat.com>
22815
22816 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22817 (mi_make_breakpoint_table): New procedure.
22818 (mi_create_breakpoint): Use mi_make_breakpoint
22819 and return the result.
22820 (mi_make_breakpoint): New procedure.
22821 (mi_build_kv_pairs): New procedure.
22822
22823 * gdb.mi/mi-break.exp: Remove unused globals,
22824 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22825 All callers updated.
22826 * gdb.mi/mi-dprintf.exp: Use variable to track command
22827 number.
22828 Update all callers of mi_create_breakpoint and use
22829 mi_make_breakpoint_table.
22830 Remove any unused global variables.
22831 * gdb.mi/mi-nonstop.exp: Likewise.
22832 * gdb.mi/mi-nsintrall.exp: Likewise.
22833 * gdb.mi/mi-nsmoribund.exp: Likewise.
22834 * gdb.mi/mi-nsthrexec.exp: Likewise.
22835 * gdb.mi/mi-reverse.exp: Likewise.
22836 * gdb.mi/mi-simplerun.exp: Likewise.
22837 * gdb.mi/mi-stepn.exp: Likewise.
22838 * gdb.mi/mi-syn-frame.exp: Likewise.
22839 * gdb.mi/mi-until.exp: Likewise.
22840 * gdb.mi/mi-var-cp.exp: Likewise.
22841 * gdb.mi/mi-var-display.exp: Likewise.
22842 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22843 * gdb.mi/mi2-var-child.exp: Likewise.
22844 * gdb.mi/mi-vla-c99.exp: Likewise.
22845 * lib/mi-support.exp: Likewise.
22846
22847 From Ian Lance Taylor <iant@cygnus.com>:
22848 * lib/gdb.exp (parse_args): New procedure.
22849
08351840
PA
228502014-04-23 Pedro Alves <palves@redhat.com>
22851
22852 * gdb.base/break-unload-file.c: New file.
22853 * gdb.base/break-unload-file.exp: New file.
22854 * gdb.base/sym-file-lib.c (baz): New function.
22855 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22856 field.
22857 (load): Store the segment's mapped size.
22858 (unload): New function.
22859 (unload_shlib): New function.
22860 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22861 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22862 set a breakpoint at baz, and call it.
22863 * gdb.base/sym-file.exp: New tests for stale breakpoint
22864 instructions.
22865
076855f9
PA
228662014-04-23 Pedro Alves <palves@redhat.com>
22867
22868 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22869 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22870 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22871 * gdb.base/hbreak-unmapped.c: New file.
22872 * gdb.base/hbreak-unmapped.exp: New file.
22873 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22874 * lib/gdb.exp (gdb_is_target_remote): ... here.
22875
483805cf
PA
228762014-04-22 Pedro Alves <palves@redhat.com>
22877
22878 * gdb.base/consecutive-step-over.c: New file.
22879 * gdb.base/consecutive-step-over.exp: New file.
22880
06d97543
PA
228812014-04-22 Pedro Alves <palves@redhat.com>
22882
22883 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22884 instead of send_gdb/gdb_expect.
22885
b4429ea2
YQ
228862014-04-22 Yao Qi <yao@codesourcery.com>
22887
22888 * lib/trace-support.exp (generate_tracefile): New procedure.
22889 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22890 return 0.
22891 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22892 if generate_tracefile returns 1.
22893
51d48146
PA
228942014-04-18 Tom Tromey <palves@redhat.com>
22895 Pedro alves <tromey@redhat.com>
22896
22897 PR backtrace/15558
22898 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22899 with a backtrace limit.
22900 * gdb.python/py-frame-inline.exp: Test running to an inline
22901 function with a backtrace limit, and printing the newest frame.
22902 * gdb.python/py-frame-inline.c (main): Call f.
22903
bd1dce5f
MS
229042014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22905
22906 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22907
40d1a503
MS
229082014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22909
22910 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22911 Drop prefix from unsupported source file path.
22912
389b98f7
YQ
229132014-04-17 Yao Qi <yao@codesourcery.com>
22914
22915 * lib/gdb.exp (with_target_charset): New proc.
22916 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22917 with_target_charset.
22918 (test_print_strings): Likewise.
22919 (test_repeat_bytes): Likewise.
22920 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22921 for some tests.
22922
22869d73
KS
229232014-04-16 Keith Seitz <keiths@redhat.com>
22924
22925 PR gdb/15827
22926 * gdb.dwarf2/corrupt.c: New file.
22927 * gdb.dwarf2/corrupt.exp: New file.
22928
c4f87ca6
KS
229292014-04-16 Keith Seitz <keiths@redhat.com>
22930
22931 PR c++/16597
22932 * gdb.cp/namelessclass.cc: New file.
22933 * gdb.cp/namelessclass.exp: New file.
22934 * gdb.cp/namelessclass.S: New file.
22935
ab19de87
DE
229362014-04-16 Doug Evans <dje@google.com>
22937
22938 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22939 Add comment.
22940 (gdbserver_default_get_comm_port): New function.
22941 (gdbserver_start): Check if board file provided
22942 "gdbserver,get_comm_port" and use it if so.
22943 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22944 (gdb,socketport): Set to "stdio".
22945 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22946 (stdio_gdbserver_template): Delete.
22947 (${board}_get_remote_address): Update.
22948 (${board}_build_remote_cmd): Delete.
22949 (${board}_get_comm_port): New function.
22950 (${board}_spawn): Update.
22951 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22952 Delete.
22953 (${board}_get_remote_address): Update.
22954 (${board}_get_comm_port): New function.
22955
fc98a809
AB
229562014-04-16 Andrew Burgess <aburgess@broadcom.com>
22957
22958 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22959 appearing in any order.
22960
87fd9e6e
DE
229612014-04-15 Doug Evans <dje@google.com>
22962
22963 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22964 uninitialized value of "description".
22965
099fc3ea
KS
229662014-04-15 Keith Seitz <keiths@redhat.com>
22967
22968 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22969 Remove unused globals.
22970 (test_running_the_program): Likewise.
22971 (test_controlled_execution): Likewise.
22972 (test_controlling_breakpoints): Likewise.
22973 (test_program_termination): Likewise.
22974
5da151d4
KS
229752014-04-15 Keith Seitz <keiths@redhat.com>
22976
22977 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22978 unused globals.
22979 (test_rbreak_creation_and_listing): Likewise.
22980 (test_ignore_count): Likewise.
22981 (test_error): Likewise.
22982
35e5d2f0
PA
229832014-04-15 Pedro Alves <palves@redhat.com>
22984
22985 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22986 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22987 sym-file-loader.c.
22988 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22989 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22990 to sym-file-loader.c.
22991 (struct library): Forward declare.
22992 (load_shlib, lookup_function): Change prototypes.
22993 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22994 (translate_offset): Remove declarations.
22995 (get_text_addr): New declaration.
22996 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22997 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22998 sym-file-loader.h.
22999 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23000 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23001 here from sym-file-loader.h.
23002 (struct library): New structure.
23003 (load_shlib, lookup_function): Change prototypes and adjust to
23004 work with a struct library.
23005 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23006 (translate_offset): Make static.
23007 (get_text_addr): New function.
23008 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23009
eb4c1710
PA
230102014-04-15 Pedro Alves <palves@redhat.com>
23011
23012 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23013
2d1baf52
PA
230142014-04-15 Pedro Alves <palves@redhat.com>
23015
23016 * gdb.base/sym-file-loader.c: Include <limits.h>.
23017 (SELF_LINK): New define.
23018 (get_origin): New function.
23019 (load_shlib): Use it.
23020 * gdb.base/sym-file.exp: Don't early return if the target is
23021 remote. Use runto_main, and issue fail is that fails. Use
23022 gdb_load_shlibs.
23023 (shlib_name): Delete.
23024 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23025
7dd6df01
PA
230262014-04-15 Pedro Alves <palves@redhat.com>
23027
23028 * gdb.base/sym-file.exp: Remove regex characters from test
23029 message. Don't refer to breakpoint numbers in test messages.
23030
b50c8614
KS
230312014-04-14 Keith Seitz <keiths@redhat.com>
23032
23033 PR c++/16253
23034 * gdb.cp/var-tag.cc: New file.
23035 * gdb.cp/var-tag.exp: New file.
23036 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23037 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23038 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23039 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23040
3d567982
TT
230412014-04-14 Tom Tromey <tromey@redhat.com>
23042
23043 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23044 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23045 type.
23046 * gdb.cp/enum-class.exp: New file.
23047 * gdb.cp/enum-class.cc: New file.
23048
0626fc76
TT
230492014-04-14 Tom Tromey <tromey@redhat.com>
23050
23051 * gdb.dwarf2/enum-type.exp: New file.
23052
dca325b3
SA
230532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23054
23055 * gdb.mi/mi-vla-c99.exp: New file.
23056 * gdb.mi/vla.c: New file.
23057
5854b38a
SA
230582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23059
23060 * gdb.base/vla-datatypes.c: New file.
23061 * gdb.base/vla-datatypes.exp: New file.
23062
463bb957
SA
230632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23064
23065 * gdb.base/vla-ptr.c: New file.
23066 * gdb.base/vla-ptr.exp: New file.
23067
3dd170be
SA
230682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23069
23070 * gdb.dwarf2/count.exp: New file.
23071
5ecaaa66
SA
230722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23073
23074 * gdb.base/vla-sideeffect.c: New file.
23075 * gdb.base/vla-sideeffect.exp: New file.
23076
41f1ada5
DB
230772014-04-14 David Blaikie <dblaikie@gmail.com>
23078
23079 * gdb.mi/non-stop.c: Add return value for non-void function return
23080 statement.
23081 * gdb.threads/staticthreads.c: Ditto.
23082
0be03e84
DE
230832014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23084 Doug Evans <xdje42@gmail.com>
23085
23086 * gdb.guile/scm-value.c: Improve test case.
23087 * gdb.guile/scm-value.exp: Add new test.
23088
f180a1fb
DB
230892014-04-11 David Blaikie <dblaikie@gmail.com>
23090
23091 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23092 override Clang's default.
23093
6b662e19
JB
230942014-04-11 Joel Brobecker <brobecker@adacore.com>
23095
23096 Revert the following changes (regressions):
23097
23098 * gdb.base/vla-sideeffect.c: New file.
23099 * gdb.base/vla-sideeffect.exp: New file.
23100
23101 * gdb.dwarf2/count.exp: New file.
23102
23103 * gdb.base/vla-multi.c: New file.
23104 * gdb.base/vla-multi.exp: New file.
23105
23106 * gdb.base/vla-ptr.c: New file.
23107 * gdb.base/vla-ptr.exp: New file.
23108
23109 * gdb.base/vla-datatypes.c: New file.
23110 * gdb.base/vla-datatypes.exp: New file.
23111
23112 * gdb.mi/mi-vla-c99.exp: New file.
23113 * gdb.mi/vla.c: New file.
23114
245a5f0b
KS
231152014-04-11 Keith Seitz <keiths@redhat.com>
23116
23117 PR c++/16675
23118 * gdb.cp/cpsizeof.exp: New file.
23119 * gdb.cp/cpsizeof.cc: New file.
23120
58a84dcf
SA
231212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23122
191a8a90
JB
23123 * gdb.mi/mi-vla-c99.exp: New file.
23124 * gdb.mi/vla.c: New file.
58a84dcf 23125
c8655f75
SA
231262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23127
23128 * gdb.base/vla-datatypes.c: New file.
23129 * gdb.base/vla-datatypes.exp: New file.
23130
024e13b4
SA
231312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23132
23133 * gdb.base/vla-ptr.c: New file.
23134 * gdb.base/vla-ptr.exp: New file.
23135
1a237e0e
SA
231362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23137
23138 * gdb.base/vla-multi.c: New file.
23139 * gdb.base/vla-multi.exp: New file.
23140
504f3432
SA
231412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23142
23143 * gdb.dwarf2/count.exp: New file.
23144
3bce8237
SA
231452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23146
191a8a90
JB
23147 * gdb.base/vla-sideeffect.c: New file.
23148 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23149
322f9c21
YQ
231502014-04-11 Yao Qi <yao@codesourcery.com>
23151
23152 * gdb.base/completion.exp: Check file exists before running tests
23153 on file completion.
23154
d708bcd1
PA
231552014-04-10 Pedro Alves <palves@redhat.com>
23156
23157 * gdb.base/cond-eval-mode.c: New file.
23158 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23159 prepare_for_testing to build the new file. Check result of
23160 runto_main.
23161 (test_break, test_watch): New procedures.
23162 (top level): Use them.
23163
ae1d2761
PM
231642014-04-08 Pierre Muller <muller@sourceware.org>
23165
23166 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23167 Ctrl-V use for mingw hosts.
23168
7af389b8
SC
231692014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23170
23171 * gdb.python/py-value.c: Improve test case.
23172 * gdb.python/py-value.exp: Add new test.
23173
5e703181
DE
231742014-04-07 David Blaikie <dblaikie@gmail.com>
23175
23176 * lib/compiler.c: Identify the clang compiler.
23177 * lib/compiler.cc: Ditto.
23178
9810b410
YQ
231792014-04-03 Yao Qi <yao@codesourcery.com>
23180
23181 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23182
98d1b8dc
AB
231832014-04-01 Anton Blanchard <anton@samba.org>
23184
23185 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23186 messages unique.
23187
3114cea1
AB
231882014-04-01 Anton Blanchard <anton@samba.org>
23189
23190 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23191 prepare_for_testing.
23192
62f7182c
AB
231932014-04-01 Anton Blanchard <anton@samba.org>
23194
23195 * gdb.arch/ppc64-atomic-inst.c: Remove.
23196 * gdb.arch/ppc64-atomic-inst.S: New file.
23197 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23198
770e7fc7
DE
231992014-03-31 Doug Evans <dje@google.com>
23200
23201 * gdb.base/print-symbol-loading-lib.c: New file.
23202 * gdb.base/print-symbol-loading-main.c: New file.
23203 * gdb.base/print-symbol-loading.exp: New file.
23204
46e2bafa
YQ
232052014-03-31 Yao Qi <yao@codesourcery.com>
23206
23207 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23208
8776cfe9
JB
232092014-03-28 Joel Brobecker <brobecker@adacore.com>
23210
23211 * gdb.ada/mi_dyn_arr: New testcase.
23212
5d1ef361
DE
232132014-03-27 Doug Evans <dje@google.com>
23214
23215 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23216
b5bee914
YQ
232172014-03-27 Yao Qi <yao@codesourcery.com>
23218
23219 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23220 if target is nios2-*-*.
23221
0d4d0e77
YQ
232222014-03-26 Yao Qi <yao@codesourcery.com>
23223
23224 * lib/gdb.exp (readline_is_used): New proc.
23225 * gdb.base/completion.exp: Move tests on command complete up.
23226 Skip the rest of tests if readline is not used.
23227 * gdb.ada/complete.exp: Skp the test if readline is not
23228 used.
23229 * gdb.base/filesym.exp: Likewise.
23230 * gdb.base/macscp.exp: Likewise.
23231 * gdb.base/readline-ask.exp: Likewise.
23232 * gdb.base/readline.exp: Likewise.
23233 * gdb.python/py-cmd.exp: Likewise.
23234 * gdb.trace/tfile.exp: Likewise.
23235
29361eee
YQ
232362014-03-26 Yao Qi <yao@codesourcery.com>
23237
23238 * gdb.base/macscp.exp: Fix code format issues.
23239
bc9a5525
UW
232402014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23241
23242 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23243 * gdb.asm/powerpc64le.inc: New file.
23244
d3839ede
PA
232452014-03-25 Pedro Alves <palves@redhat.com>
23246 Doug Evans <dje@google.com>
23247
23248 * gdb.base/source-execution.c: New file.
23249 * gdb.base/source-execution.exp: New file.
23250 * gdb.base/source-execution.gdb: New file.
23251
01672a57
DE
232522014-03-24 Doug Evans <dje@google.com>
23253
23254 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23255 using fission.
23256
88bbeca9
HZ
232572014-03-24 Hui Zhu <hui@codesourcery.com>
23258 Pedro Alves <palves@redhat.com>
23259
23260 PR breakpoints/16101
23261 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23262 test pass/fail messages. Detect missing support for dprintf when
23263 breakpoints are actually inserted.
23264 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23265 breakpoints are actually inserted.
23266 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23267 fails.
23268
d2348791
JK
232692014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23270
23271 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23272
feef67ab
DE
232732014-03-22 Doug Evans <xdje42@gmail.com>
23274
23275 * gdb.python/python.exp (python not supported): Verify multi-line
23276 python command issues an error.
25d743f9 23277 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23278 guile command issues an error.
feef67ab 23279
ecebef6a
MR
232802014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23281
23282 * gdb.threads/thread-specific.exp: Handle the lack of usable
23283 $this_breakpoint and $this_thread.
23284
ccdd1909
HZ
232852014-03-21 Hui Zhu <hui@codesourcery.com>
23286
23287 * gdb.base/attach.exp (do_command_attach_tests): New.
23288
beb460e8
PA
232892014-03-20 Tom Tromey <tromey@redhat.com>
23290 Pedro Alves <palves@redhat.com>
23291
23292 PR cli/15718
23293 * gdb.base/condbreak-call-false.c: New file.
23294 * gdb.base/condbreak-call-false.exp: New file.
23295
40acf43a
PA
232962014-03-20 Pedro Alves <palves@redhat.com>
23297
23298 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23299 Delete.
23300 (block_signals, unblock_signals): Delete.
23301 (child_function_2, main): Remove references to deleted variable
23302 and functions.
23303
9f5e1e02
PA
233042014-03-20 Pedro Alves <palves@redhat.com>
23305
23306 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23307 Use pthread_kill to signal thread 2.
23308 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23309 Adjust to make the test send itself a signal rather than using the
23310 host's "kill" command.
23311
99619bea
PA
233122014-03-20 Pedro Alves <palves@redhat.com>
23313
23314 * gdb.threads/multiple-step-overs.c: New file.
23315 * gdb.threads/multiple-step-overs.exp: New file.
23316 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23317 Adjust expected infrun debug output.
23318
2adfaa28
PA
233192014-03-20 Pedro Alves <palves@redhat.com>
23320
23321 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23322 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23323
31e77af2
PA
233242014-03-20 Pedro Alves <palves@redhat.com>
23325
23326 PR breakpoints/7143
23327 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23328 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23329 of gdb_test_multiple.
23330 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23331 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23332
b9f437de
PA
233332014-03-20 Pedro Alves <palves@redhat.com>
23334
23335 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23336 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23337
05adc73e
PA
233382014-03-19 Pedro Alves <palves@redhat.com>
23339
23340 * gdb.base/async.exp: Remove early return.
23341
6048b950
PA
233422014-03-19 Pedro Alves <palves@redhat.com>
23343
23344 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23345
8bcfb00a
PA
233462014-03-19 Pedro Alves <palves@redhat.com>
23347
23348 * gdb.base/async.exp (test_background): Expect \r\n after
23349 "completed." in the fail pattern.
23350
884e37dc
PA
233512014-03-19 Pedro Alves <palves@redhat.com>
23352
23353 * gdb.base/async.exp (test_background): New procedure.
23354 Use it for all background execution command tests.
23355
148e57e2
PA
233562014-03-19 Pedro Alves <palves@redhat.com>
23357
23358 * gdb.base/async.exp: Use prepare_for_testing.
23359
f48088c7
PA
233602014-03-19 Pedro Alves <palves@redhat.com>
23361
23362 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23363 the same line.
23364
e2f6c966
PA
233652014-03-19 Pedro Alves <palves@redhat.com>
23366
23367 * gdb.base/async.c (main): Add "jump here" and "until here" line
23368 marker comments.
23369 * gdb.base/async.exp (jump_here): New global.
23370 (jump& test): Use it.
23371 (until_here): New global.
23372 (until& test): Use it.
23373
c30568d4
PA
233742014-03-19 Pedro Alves <palves@redhat.com>
23375
23376 * gdb.base/async.exp: Don't frob gdb_protocol.
23377
0172b6a7
DE
233782014-03-18 Doug Evans <xdje42@gmail.com>
23379
23380 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23381 Fix spelling of exec-done-display.
23382
06c868a8
JK
233832014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23384
23385 PR gdb/15358
23386 * gdb.base/gdb-sigterm.c: New file.
23387 * gdb.base/gdb-sigterm.exp: New file.
23388
0c7e1a46
PA
233892014-03-18 Pedro Alves <palves@redhat.com>
23390
23391 PR gdb/13860
23392 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23393 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23394 solib-event.
23395
f7c77d93
JB
233962014-03-17 Joel Brobecker <brobecker@adacore.com>
23397
23398 * gdb.ada/pckd_arr_ren: New testcase.
23399
5a1e8c7a
DE
234002014-03-13 Doug Evans <xdje42@gmail.com>
23401
23402 PR guile/16612
23403 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23404 collect after discarding symbols.
23405
350e1a76
DE
234062014-03-13 Ludovic Courtès <ludo@gnu.org>
23407 Doug Evans <xdje42@gmail.com>
23408
23409 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23410 to history survives a gc.
23411
a69900ae
PA
234122014-03-13 Pedro Alves <palves@redhat.com>
23413
23414 * gdb.base/default.exp: Don't test "target procfs".
23415
5db9f0bd
PA
234162014-03-13 Pedro Alves <palves@redhat.com>
23417
23418 * gdb.base/default.exp: Update "target child" and "target procfs"
23419 tests to not expect "Unix".
23420
b3ccfe11
TT
234212014-03-12 Tom Tromey <tromey@redhat.com>
23422
23423 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23424 New procs. Add target-async tests.
23425 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23426 Add target-async tests.
23427
646f4417
AA
234282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23429
23430 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23431 'func_start' and 'func_end' for the beginning and end of the
23432 function code, respectively.
23433 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23434 'func_end' instead of 'func' and 'main'.
23435
288c211f
AA
234362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23437
23438 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23439 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23440 generate the debug info assembler source.
23441
e0c0f156
AA
234422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23443
23444 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23445 * gdb.dwarf2/arr-subrange.exp: Likewise.
23446 * gdb.dwarf2/dwz.exp: Likewise.
23447 * gdb.dwarf2/method-ptr.exp: Likewise.
23448 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23449 * gdb.dwarf2/subrange.exp: Likewise.
23450 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23451 * gdb.dwarf2/implptrpiece.exp: Likewise.
23452 * gdb.dwarf2/nostaticblock.exp: Likewise.
23453
0e5c4555
AA
234542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23455
23456 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23457 directory to absolute path name arguments.
23458
5ec18f2b
JG
234592014-03-10 Joel Brobecker <brobecker@adacore.com>
23460
23461 * gdb.ada/tagged_access: New testcase.
23462
847fc4f2
MM
234632014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23464
23465 * gdb.btrace/data.exp: Update expected output.
23466
cc3da688
YQ
234672014-03-06 Yao Qi <yao@codesourcery.com>
23468
23469 * gdb.trace/pr16508.exp: New file.
23470
0f26cec1
PA
234712014-03-05 Pedro Alves <palves@redhat.com>
23472
23473 PR gdb/16575
23474 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23475 procedure.
23476 (top level): Adjust to use it. Add tests that exercise breakpoint
23477 interaction with the code-cache.
23478
7a5a839f
LC
234792014-02-26 Ludovic Courtès <ludo@gnu.org>
23480
23481 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23482 test for 'history-append!'.
23483
31aa7e4e
JB
234842014-02-26 Joel Brobecker <brobecker@adacore.com>
23485
23486 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23487 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23488 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23489 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23490 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23491 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23492
1b588015
JB
234932014-02-26 Joel Brobecker <brobecker@adacore.com>
23494
23495 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23496 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23497 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23498
55426c9d
JB
234992014-02-26 Joel Brobecker <brobecker@adacore.com>
23500
23501 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23502
dc53a7ad
JB
235032014-02-26 Joel Brobecker <brobecker@adacore.com>
23504
23505 * gdb.dwarf2/arr-stride.c: New file.
23506 * gdb.dwarf2/arr-stride.exp: New file.
23507
12ab52e9
PA
235082014-02-26 Pedro Alves <palves@redhat.com>
23509
23510 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23511 that won't ever trigger. Make sure that GDB reports the correct
23512 breakpoint that caused the stop.
23513
849c862e
JK
235142014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23515
23516 PR gdb/16626
23517 * gdb.base/auto-load-script: New file.
23518 * gdb.base/auto-load.c: New file.
23519 * gdb.base/auto-load.exp: New file.
23520
71b7d793
JK
23521 PR gdb/16626
23522 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23523
e2f0d509
JK
235242014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23525
23526 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23527 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23528
50cc37c8
DE
235292014-02-24 Doug Evans <dje@google.com>
23530
23531 * lib/gdb.exp (run_on_host): Log error output if program fails.
23532
ea4758f2
PA
235332014-02-21 Pedro Alves <palves@redhat.com>
23534
23535 * gdb.threads/step-after-sr-lock.c: Rename to ...
23536 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23537 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23538 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23539 ... this.
23540
d7b30f67
SDJ
235412014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23542
23543 PR tdep/16397
23544 * gdb.arch/amd64-stap-special-operands.exp: New file.
23545 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23546 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23547 * gdb.arch/amd64-stap-triplet.S: Likewise.
23548 * gdb.arch/amd64-stap-triplet.c: Likewise.
23549
83deb43f
JB
235502014-02-20 Joel Brobecker <brobecker@adacore.com>
23551
23552 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23553 in .section pseudo-op.
23554
adde2bff
DE
235552014-02-20 lin zuojian <manjian2006@gmail.com>
23556 Joel Brobecker <brobecker@adacore.com>
23557 Doug Evans <xdje42@gmail.com>
23558
23559 PR symtab/16581
23560 * gdb.dwarf2/dw2-icycle.S: New file.
23561 * gdb.dwarf2/dw2-icycle.c: New file.
23562 * gdb.dwarf2/dw2-icycle.exp: New file.
23563
f7bd0f78
SC
235642014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23565
23566 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23567 operations on gdb.Value objects.
23568 * gdb.python/py-value-cc.exp: Add new test to test operations on
23569 gdb.Value objects.
23570
c17ef0d5
DE
235712014-02-18 Doug Evans <dje@google.com>
23572
23573 * Makefile.in (TESTS): New variable.
23574 (expanded_tests, expanded_tests_or_none): New variables
23575 (check-single): Pass $(expanded_tests_or_none) to runtest.
23576 (check-parallel): Only run tests in $(TESTS) if non-empty.
23577 (check/no-matching-tests-found): New rule.
23578 * README: Document TESTS makefile variable.
23579
5dd3176f
DE
235802014-02-18 Doug Evans <dje@google.com>
23581
23582 * Makefile.in (check-parallel): rm -rf outputs temp.
23583
0b10be4f
JK
235842014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23585
23586 Fix "ERROR: no fileid for" in the testsuite.
23587 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23588
85f224e7
DE
235892014-02-12 Doug Evans <dje@google.com>
23590
23591 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23592 (MISCELLANEOUS): New variable.
23593 (clean): rm -rf $(MISCELLANEOUS).
23594 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23595 dwp live in the same directory as symlinks, with each symlink pointed
23596 to a differently named file in a different directory.
23597
149b30ff
DE
235982014-02-11 Doug Evans <dje@google.com>
23599
23600 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23601 of Tcl file commands.
23602
1dfdac32
MK
236032014-02-10 Mark Kettenis <kettenis@gnu.org>
23604
23605 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23606 "kill -SIGUSR1 -1".
23607
aa4fb036
JB
236082014-02-10 Joel Brobecker <brobecker@adacore.com>
23609
23610 * gdb.ada/tick_length_array_enum_idx: New testcase.
23611
ed3ef339
DE
236122014-02-10 Doug Evans <xdje42@gmail.com>
23613
23614 * configure.ac (AC_OUTPUT): Add gdb.guile.
23615 * configure: Regenerate.
23616 * lib/gdb-guile.exp: New file.
23617 * lib/gdb.exp (get_target_charset): New function.
23618 * gdb.base/help.exp: Update expected output from "apropos apropos".
23619 * gdb.guile/Makefile.in: New file.
23620 * gdb.guile/guile.exp: New file.
23621 * gdb.guile/scm-arch.c: New file.
23622 * gdb.guile/scm-arch.exp: New file.
23623 * gdb.guile/scm-block.c: New file.
23624 * gdb.guile/scm-block.exp: New file.
23625 * gdb.guile/scm-breakpoint.c: New file.
23626 * gdb.guile/scm-breakpoint.exp: New file.
23627 * gdb.guile/scm-disasm.c: New file.
23628 * gdb.guile/scm-disasm.exp: New file.
23629 * gdb.guile/scm-equal.c: New file.
23630 * gdb.guile/scm-equal.exp: New file.
23631 * gdb.guile/scm-error.exp: New file.
23632 * gdb.guile/scm-error.scm: New file.
23633 * gdb.guile/scm-frame-args.c: New file.
23634 * gdb.guile/scm-frame-args.exp: New file.
23635 * gdb.guile/scm-frame-args.scm: New file.
23636 * gdb.guile/scm-frame-inline.c: New file.
23637 * gdb.guile/scm-frame-inline.exp: New file.
23638 * gdb.guile/scm-frame.c: New file.
23639 * gdb.guile/scm-frame.exp: New file.
23640 * gdb.guile/scm-generics.exp: New file.
23641 * gdb.guile/scm-gsmob.exp: New file.
23642 * gdb.guile/scm-iterator.c: New file.
23643 * gdb.guile/scm-iterator.exp: New file.
23644 * gdb.guile/scm-math.c: New file.
23645 * gdb.guile/scm-math.exp: New file.
23646 * gdb.guile/scm-objfile-script-gdb.in: New file.
23647 * gdb.guile/scm-objfile-script.c: New file.
23648 * gdb.guile/scm-objfile-script.exp: New file.
23649 * gdb.guile/scm-objfile.c: New file.
23650 * gdb.guile/scm-objfile.exp: New file.
23651 * gdb.guile/scm-ports.exp: New file.
23652 * gdb.guile/scm-pretty-print.c: New file.
23653 * gdb.guile/scm-pretty-print.exp: New file.
23654 * gdb.guile/scm-pretty-print.scm: New file.
23655 * gdb.guile/scm-section-script.c: New file.
23656 * gdb.guile/scm-section-script.exp: New file.
23657 * gdb.guile/scm-section-script.scm: New file.
23658 * gdb.guile/scm-symbol.c: New file.
23659 * gdb.guile/scm-symbol.exp: New file.
23660 * gdb.guile/scm-symtab-2.c: New file.
23661 * gdb.guile/scm-symtab.c: New file.
23662 * gdb.guile/scm-symtab.exp: New file.
23663 * gdb.guile/scm-type.c: New file.
23664 * gdb.guile/scm-type.exp: New file.
23665 * gdb.guile/scm-value-cc.cc: New file.
23666 * gdb.guile/scm-value-cc.exp: New file.
23667 * gdb.guile/scm-value.c: New file.
23668 * gdb.guile/scm-value.exp: New file.
23669 * gdb.guile/source2.scm: New file.
23670 * gdb.guile/types-module.cc: New file.
23671 * gdb.guile/types-module.exp: New file.
23672
7026a7c1
YQ
236732014-02-10 Yao Qi <yao@codesourcery.com>
23674
23675 PR testsuite/16543
23676 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23677 * configure: Regenerated.
23678 * Makefile.in: New file.
23679
6c466447
AS
236802014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23681
23682 * gdb.python/py-framefilter.exp: Fix typo.
23683
6e854735
YQ
236842014-02-08 Yao Qi <yao@codesourcery.com>
23685
23686 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23687 that no =breakpoint-modified is emitted when breakpoints are
23688 modified through MI commands.
23689
d137e6dc
PA
236902014-02-07 Pedro Alves <pedro@codesourcery.com>
23691 Pedro Alves <palves@redhat.com>
23692
23693 * gdb.threads/step-after-sr-lock.c: New file.
23694 * gdb.threads/step-after-sr-lock.exp: New file.
23695
b5ee5a50
PA
236962014-02-07 Pedro Alves <palves@redhat.com>
23697
23698 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23699
3c77faf3
JK
237002014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23701
23702 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23703 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23704
6dddc817
DE
237052014-02-06 Doug Evans <xdje42@gmail.com>
23706
23707 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23708 output.
23709
23710 * gdb.gdb/python-interrupts.exp: New file.
23711
de7b2893
YQ
237122014-02-05 Yao Qi <yao@codesourcery.com>
23713
23714 * gdb.trace/report.exp (use_collected_data): Test the output
23715 of "info threads" and "info inferiors".
23716
66d032ac
YQ
237172014-02-05 Yao Qi <yao@codesourcery.com>
23718
23719 Revert this patch:
23720
23721 2013-05-24 Yao Qi <yao@codesourcery.com>
23722
23723 * gdb.trace/tfile.exp: Test inferior and thread.
23724
591a12a1
UW
237252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23726
23727 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23728 on a function.
23729 * gdb.base/step-bt.c: Call hello via function pointer to make
23730 sure its first instruction is executed on powerpc64le-linux.
23731
0ff3e01f
UW
237322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23733
23734 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23735
084ee545
UW
237362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23737
23738 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23739 of the test patterns for use on little-endian systems.
23740
6ed14ff3
UW
237412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23742
23743 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23744 (decimal_vector): Fix for little-endian.
23745
401e27fd
JM
237462014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23747
23748 * gdb.arch/sparc-sysstep.exp: New file.
23749 * gdb.arch/sparc-sysstep.c: Likewise.
23750
23751 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23752
8b924729
EBM
237532014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23754
23755 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23756
fb151210
JB
237572014-01-23 Tom Tromey <tromey@redhat.com>
23758
23759 * gdb.ada/array_char_idx: New testcase.
23760
0740f8d8
TT
237612014-01-23 Tom Tromey <tromey@redhat.com>
23762
23763 PR python/16487:
23764 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23765 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23766 classes.
23767
21909fa1
TT
237682014-01-23 Tom Tromey <tromey@redhat.com>
23769
23770 PR python/16491:
23771 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23772 string from an inferior frame.
23773 * gdb.python/py-framefilter-mi.exp: Update.
23774
87ce2a04
DE
237752014-01-22 Doug Evans <dje@google.com>
23776
23777 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23778
237b092b
AA
237792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23780
23781 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23782
d674a709
AA
237832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23784
23785 * gdb.trace/entry-values.exp: Remove excess space character from
23786 regex patterns. Handle s390 call instruction.
23787
20fa3390
AA
237882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23789
23790 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23791 define "*_start" label. Make "name" static.
23792 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23793 ${name} by references to ${name}_start.
23794
78466714
AA
237952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23796
23797 * gdb.base/info-macros.exp: Remove "debug" from the compile
23798 options.
23799
ec9f644a
IB
238002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23801
23802 * gdb.dlang/demangle.exp: New file.
23803
94b1b47e
IB
238042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23805
23806 * gdb.dlang/primitive-types.exp: New file.
23807
7f420862
IB
238082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23809
23810 * configure.ac: Create gdb.dlang/Makefile.
23811 * configure: Regenerate.
23812 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23813 * gdb.dlang/Makefile.in: New file.
23814 * lib/d-support.exp: New file.
23815 * lib/gdb.exp (skip_d_tests): New proc.
23816
52834460
MM
238172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23818
23819 * gdb.btrace/delta.exp: Check reverse stepi.
23820 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23821 * gdb.btrace/finish.exp: New.
23822 * gdb.btrace/next.exp: New.
23823 * gdb.btrace/nexti.exp: New.
23824 * gdb.btrace/record_goto.c: Add comments.
23825 * gdb.btrace/step.exp: New.
23826 * gdb.btrace/stepi.exp: New.
23827 * gdb.btrace/multi-thread-step.c: New.
23828 * gdb.btrace/multi-thread-step.exp: New.
23829 * gdb.btrace/rn-dl-bind.c: New.
23830 * gdb.btrace/rn-dl-bind.exp: New.
23831 * gdb.btrace/data.c: New.
23832 * gdb.btrace/data.exp: New.
23833 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23834
6e07b1d2
MM
238352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23836
23837 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23838 * gdb.btrace/exception.exp: Update.
23839 * gdb.btrace/instruction_history.exp: Update.
23840 * gdb.btrace/record_goto.exp: Update.
23841 * gdb.btrace/tailcall.exp: Update.
23842 * gdb.btrace/unknown_functions.exp: Update.
23843 * gdb.btrace/delta.exp: New.
23844
0b722aec
MM
238452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23846
23847 * gdb.btrace/record_goto.exp: Add backtrace test.
23848 * gdb.btrace/tailcall.exp: Add backtrace test.
23849
066ce621
MM
238502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23851
23852 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23853 * gdb.btrace/record_goto.c: New.
23854 * gdb.btrace/record_goto.exp: New.
23855 * gdb.btrace/x86-record_goto.S: New.
23856
0688d04e
MM
238572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23858
23859 * gdb.btrace/function_call_history.exp: Update tests.
23860 * gdb.btrace/instruction_history.exp: Update tests.
23861
8710b709
MM
238622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23863
23864 * gdb.btrace/function_call_history.exp: Fix expected field
23865 order for "record function-call-history".
23866 Add new tests for "record function-call-history /c".
23867 * gdb.btrace/exception.cc: New.
23868 * gdb.btrace/exception.exp: New.
23869 * gdb.btrace/tailcall.exp: New.
23870 * gdb.btrace/x86-tailcall.S: New.
23871 * gdb.btrace/x86-tailcall.c: New.
23872 * gdb.btrace/unknown_functions.c: New.
23873 * gdb.btrace/unknown_functions.exp: New.
23874 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23875
5de9129b
MM
238762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23877
23878 * gdb.btrace/instruction_history.exp: Update.
23879 * gdb.btrace/function_call_history.exp: Update.
23880
23a7fe75
MM
238812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23882
23883 * gdb.btrace/function_call_history.exp: Fix expected function
23884 trace.
23885 * gdb.btrace/instruction_history.exp: Initialize traced.
23886 Remove traced_functions.
23887
724c7dd8
MM
238882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23889
23890 * gdb.btrace/function_call_history.exp: Update
23891 * gdb.btrace/instruction_history.exp: Update.
23892
6d78d93b
MM
238932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23894
23895 * gdb.btrace/enable.exp: Update expected text.
23896
93a360cc
OJ
238972014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23898
23899 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23900 bytes.
23901
3772b53f
MR
239022014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23903
23904 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23905
596662fa
OJ
239062014-01-15 Omair Javaid <omair.javaid@linaro.org>
23907
23908 * lib/gdb.exp (supports_process_record): Return true for
23909 arm*-linux*. (supports_reverse): Likewise.
23910
b5b08fb4
SC
239112014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23912
23913 PR python/15464
23914 PR python/16113
23915 * gdb.python/py-type.c: Enhance test case.
23916 * gdb.python/py-value-cc.cc: Likewise
23917 * gdb.python/py-type.exp: Add new tests.
23918 * gdb.python/py-value-cc.exp: Likewise
23919
52d7fb13
AA
239202014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23921 Pedro Alves <palves@redhat.com>
23922
23923 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23924 Make "name" extern.
23925 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23926 references to ${name}_start by references to ${name}.
23927
a2cd8cfe
JB
239282014-01-10 Joel Brobecker <brobecker@adacore.com>
23929
23930 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23931
4e23fced
JB
239322014-01-10 Joel Brobecker <brobecker@adacore.com>
23933
23934 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23935
c6a9e42c
PA
239362014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23937 Pedro Alves <palves@redhat.com>
23938
23939 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23940 mi_gdb_target_load.
c6a9e42c 23941
b7ea362b
PA
239422014-01-08 Pedro Alves <palves@redhat.com>
23943
23944 * gdb.threads/reconnect-signal.c: New file.
23945 * gdb.threads/reconnect-signal.exp: New file.
23946
5e3f4fab
EBM
239472014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23948
23949 * gdb.base/source-dir.exp: New file.
23950
79301218
JB
239512014-01-07 Joel Brobecker <brobecker@adacore.com>
23952
23953 * gdb.ada/mi_interface: New testcase.
23954
8e355c5d
JB
239552014-01-07 Joel Brobecker <brobecker@adacore.com>
23956
23957 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23958 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23959 gdb.ada/pp-rec-component/pck.ads: New files.
23960
c0d48811
JB
239612014-01-07 Joel Brobecker <brobecker@adacore.com>
23962
23963 * gdb.python/py-pp-integral.c: New file.
23964 * gdb.python/py-pp-integral.py: New file.
23965 * gdb.python/py-pp-integral.exp: New file.
23966
17b609c3 23967For older changes see ChangeLog-1993-2013.
c906108c 23968\f
8d8cb839
EZ
23969;; Local Variables:
23970;; mode: change-log
23971;; left-margin: 8
23972;; fill-column: 74
23973;; version-control: never
23974;; End:
902f2ccb 23975
3666a048 23976 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23977 Copying and distribution of this file, with or without modification,
23978 are permitted provided the copyright notice and this notice are preserved.