gdb/fortran: handle dynamic types within arrays and structures
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0a703a4c
AB
12021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
4 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
5
30ab3586
AB
62021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.cp/rvalue-ref-params.cc (f3): New function.
9 (f4): New function.
10 (global_int): New global variable.
11 (global_float): Likeiwse.
12 (main): Call both new functions.
13 * gdb.cp/rvalue-ref-params.exp: Add new tests.
14
56d467f4
CT
152021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
16
17 * gdb.dwarf2/fission-relative-dwo.c: New file.
18 * gdb.dwarf2/fission-relative-dwo.exp: New file.
19
61dee722
AB
202021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * gdb.dwarf2/fission-absolute-dwo.c: New file.
23 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
24 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
25 instead of build_executable_from_fission_assembler.
26 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
27 * gdb.dwarf2/fission-loclists.exp: Likewise.
28
29 * gdb.dwarf2/fission-multi-cu.S: Delete file.
30 * gdb.dwarf2/fission-multi-cu.c: New file based on old
31 fission-multi-cu1.c and fission-multi-cu2.c files.
32 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
33 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
34 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
35 * gdb.dwarf2/fission-reread.exp: Likewise.
36 * lib/dwarf.exp (extract_dwo_information): New proc.
37 (strip_dwo_information): New proc.
38 (build_executable_and_dwo_files): New proc.
39 (build_executable_from_fission_assembler): Delete.
40 (Dwarf::_debug_addr_index): New variable.
41 (Dwarf::_cu_is_fission): New variable.
42 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
43 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
44 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
45 if this is a fission CU.
46 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
47 (Dwarf::debug_addr_label): New proc.
48 (Dwarf::cu): Initialise _cu_is_fission.
49 (Dwarf::tu): Likewise.
50 (Dwarf::assemble): Initialise _debug_addr_index.
51
1fd999d9
AB
522021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
53
54 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
55
79c02443
AB
562021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
57
58 * gdb.python/py-parameter.exp: Add test for reading data-directory
59 using gdb.parameter API.
60
340d00fb
TV
612021-04-06 Tom de Vries <tdevries@suse.de>
62
63 PR breakpoints/25884
64 * gdb.opt/inline-cmds.exp: Remove kfail.
65
043bcbaf
TV
662021-04-06 Tom de Vries <tdevries@suse.de>
67
68 PR testsuite/27691
69 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
70 file "".
71
ac628a06
EB
722021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
73
74 * lib/pdtrace.in: Fix obvious typo.
75
3f49d080
TT
762021-03-31 Tom Tromey <tromey@adacore.com>
77
78 * lib/dwarf.exp (Dwarf::_get_args): New proc.
79 (Dwarf::_location): Use it.
80
cfcbd506
TV
812021-03-31 Tom de Vries <tdevries@suse.de>
82
83 PR testsuite/27667
84 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
85
8a91fbdf
SM
862021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
87
88 PR gdb/27541
89 * gdb.base/index-cache-load-twice.exp: Remove.
90 * gdb.base/index-cache-load-twice.c: Remove.
91 * gdb.dwarf2/per-bfd-sharing.exp: New.
92 * gdb.dwarf2/per-bfd-sharing.c: New.
93
b953e703
TV
942021-03-30 Tom de Vries <tdevries@suse.de>
95
96 PR testsuite/27604
97 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
98
aa33ea68
TBA
992021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
100
101 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
102 the infinite loop to avoid a Clang bug.
103
99066782
WS
1042021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
105
106 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
107 names for uniqueness.
108 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
109 uniqueness.
110
b1f3973b
AB
1112021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
114 member.
115 (make_container): Initialise is_array_p.
116 * gdb.python/py-prettyprint.exp: Add new tests.
117 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
118 Check is_array_p and possibly return 'array'.
119
3c2dcf90
AB
1202021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
123 * gdb.cp/casts.exp: Give tests unique names.
124 * gdb.cp/filename.exp: Likewise.
125 * gdb.cp/gdb2495.exp: Likewise.
126 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
127 * gdb.cp/misc.exp: Rename test to make it unique.
128 * gdb.cp/nsnested.exp: Give tests unique names.
129 * gdb.cp/ovldbreak.exp: Likewise.
130 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
131 being tested. This also removes the duplicate test name.
132 * gdb.cp/ref-types.exp: Likewise.
133 * gdb.cp/temargs.exp: Likewise.
134
6b78370d
AB
1352021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
138 square brackets in test.
139
baecbb3d
AB
1402021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * gdb.cp/maint.exp (test_first_component): Run more tests with a
143 variable number of spaces, this removes the duplicate testing of
144 'operator ->' which existed before.
145
6e892297
AB
1462021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
147
148 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
149 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
150 duplicates, and also to avoid having a string inside parentheses
151 at the end of test names.
152
ac45a6ca
AB
1532021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
156 Avoid repeated uses of 'runto', and instread just progress once
157 through the test stopping at different breakpoints. Give comments
158 a capital letter and full stop. Give duplicate tests unique names.
159
323fd5b9
PA
1602021-03-25 Pedro Alves <pedro@palves.net>
161
162 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
163 "target_non_stop" parameter and use it.
164 (top level): Add "maint set target-non-stop on/off" testing axis.
165
ba3c61fc
AB
1662021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
169 gdb_test_multiple.
170
bf0aecce
LM
1712021-03-24 Luis Machado <luis.machado@linaro.org>
172
173 * gdb.arch/aarch64-mte.c: New file.
174 * gdb.arch/aarch64-mte.exp: New test.
175 * gdb.base/memtag.c: New file.
176 * gdb.base/memtag.exp: New test.
177 * lib/gdb.exp (supports_memtag): New function.
178
bef382e6
LM
1792021-03-24 Luis Machado <luis.machado@linaro.org>
180
181 * gdb.base/options.exp: Adjust for new print options.
182 * gdb.base/with.exp: Likewise.
183
702cf3f5
AB
1842021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
187 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
188
1e7fcccb
AB
1892021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
190
191 * gdb.dwarf2/dw2-using-debug-str.c: New file.
192 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
193 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
194 not .debug_string.
195
4829711b
TT
1962021-03-20 Tom Tromey <tom@tromey.com>
197
198 * gdb.base/maint.exp: Update "maint print statistics" output.
199
e0d6d274
KB
2002021-03-19 Kevin Buettner <kevinb@redhat.com>
201
202 * lib/gdbserver-support.exp (gdbserver_exit): Use the
203 "-nowait" flag when waiting for gdbserver to exit.
204
a088215a
SST
2052021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
206
207 * gdb.base/info-macros.exp: Append -fdebug-macro to
208 additional_flags for clang.
209 * gdb.base/macscp.exp: Likewise.
210 * gdb.base/style.exp: Likewise.
211 * gdb.linespec/macro-relative.exp: Likewise.
212
d0c99a23
SM
2132021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
214 Pedro Alves <pedro@palves.net>
215
216 * gdb.base/run-attach-while-running.exp: New.
217 * gdb.base/run-attach-while-running.c: New.
218
7807d76a
AB
2192021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 * gdb.python/py-framefilter-addr.c: New file.
222 * gdb.python/py-framefilter-addr.exp: New file.
223 * gdb.python/py-framefilter-addr.py: New file.
224
f302f9e2
AB
2252021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
228 Make use of $gdb_test_name instead of creating a separate $test
229 variable.
230 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
231 adding a '($name)' at the end of each test. This also catches the
232 one place where '($name)' was missing, and so caused a duplicate
233 test name.
234 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
235 duplicate test names based on the command being tested.
236 * gdb.threads/signal-command-multiple-signals-pending.exp:
237 Likewise.
238 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
239 avoid duplicate testnames when a test script uses this proc and
240 also gdb_compile_pthreads.
241 * lib/prelink-support.exp (build_executable_own_libs): Use
242 with_test_prefix to avoid duplicate test names when we call
243 build_executable twice.
244
6813ceb0
TT
2452021-03-15 Tom Tromey <tromey@adacore.com>
246
247 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
248
3b5c4de0
TT
2492021-03-15 Tom Tromey <tromey@adacore.com>
250
251 * gdb.ada/varsize_limit.exp: Add new test.
252 * gdb.ada/varsize_limit/vsizelim.adb: Update.
253
c04da66c
TT
2542021-03-15 Tom Tromey <tromey@adacore.com>
255
256 * gdb.ada/operator_call/twovecs.ads: New file.
257 * gdb.ada/operator_call/twovecs.adb: New file.
258 * gdb.ada/operator_call/opcall.adb: New file.
259 * gdb.ada/operator_call.exp: New file.
260
1ac74522
TT
2612021-03-15 Tom Tromey <tromey@adacore.com>
262
263 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
264 * gdb.ada/enums_overload/enums_overload.ads: New file.
265 * gdb.ada/enums_overload/enums_overload.adb: New file.
266 * gdb.ada/enums_overload.exp: New file.
267
207582c0
TT
2682021-03-15 Tom Tromey <tromey@adacore.com>
269
270 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
271 Declare.
272 * gdb.ada/assign_arr/target_wrapper.adb: New file.
273 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
274 Call Put.
275 * gdb.ada/assign_arr.exp: Update.
276
ba6a0ef3
AB
2772021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.python/py-auto-load-chaining-f1.c: New file.
280 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
281 * gdb.python/py-auto-load-chaining-f2.c: New file.
282 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
283 * gdb.python/py-auto-load-chaining.c: New file.
284 * gdb.python/py-auto-load-chaining.exp: New file.
285
7f99d636
AB
2862021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
287
288 * gdb.python/py-bad-printers.exp: Extend test names to make them
289 unique.
290 * gdb.python/py-events.exp: Likewise.
291 * gdb.python/py-finish-breakpoint2.exp: Likewise.
292 * gdb.python/py-frame-inline.exp: Likewise.
293 * gdb.python/py-frame.exp: Likewise.
294 * gdb.python/py-infthread.exp: Likewise.
295
323b848c
AB
2962021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
297
298 * gdb.python/py-value-cc.exp: Remove a duplicate test.
299
8a4efb36
AB
3002021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * gdb.python/lib-types.exp: Update the test to check the correct
303 python variable.
304
66bb1dd9
AB
3052021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * gdb.python/py-explore-cc.exp: Extend test names to make them
308 unique.
309
0125fabc
AB
3102021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
311
312 * gdb.python/py-lookup-type.exp: Remove duplicate test.
313
79d04157
AB
3142021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
315
316 * gdb.python/py-symtab.exp: Extend test names to make them
317 unique.
318
e3e48d8f
AB
3192021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
320
321 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
322 names unique.
323
2cb60e74
AB
3242021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
325
326 * gdb.python/py-block.exp: Give tests unique names.
327
8b12ded4
AB
3282021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
329
330 * gdb.python/py-pp-maint.exp: Extend test names to make them
331 unique.
332
93598ea4
AB
3332021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * gdb.python/py-explore.exp: Add with_test_prefix to make test
336 names unique.
337
f35d6971
AB
3382021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
341
22d3e7f6
AB
3422021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
343
344 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
345 names unique.
346
5fc5a1b8
AB
3472021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
350 test names unique.
351
e3141a4d
AB
3522021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
355 unique.
356
ccdc02ed
TT
3572021-03-09 Tom Tromey <tromey@adacore.com>
358
359 * gdb.base/cast-call.exp: New file.
360 * gdb.base/cast-call.c: New file.
361
fbb1aace
AB
3622021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
363
364 * gdb.gdb/python-helper.exp: New file.
365
611aa09d
FW
3662020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
367
368 * gdb.fortran/intrinsics.exp: Add LOC tests.
369
eef32f59
AB
3702021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.fortran/shape.exp: New file.
373 * gdb.fortran/shape.f90: New file.
374
7ba155b3
AB
3752021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.fortran/size.exp: New file.
378 * gdb.fortran/size.f90: New file.
379
e14816a8
AB
3802021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb.fortran/rank.exp: New file.
383 * gdb.fortran/rank.f90: New file.
384
d308ba78
TT
3852021-03-08 Tom Tromey <tom@tromey.com>
386
387 * gdb.fortran/debug-expr.exp: Update tests.
388
d182f279
TT
3892021-03-08 Tom Tromey <tom@tromey.com>
390
391 * gdb.base/debug-expr.exp: Update expected dump output.
392
a7308ce0
TT
3932021-03-06 Tom Tromey <tom@tromey.com>
394
395 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
396 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
397 * gdb.dwarf2/dwznolink.exp: New file.
398
b0a8c2ff
MW
3992021-03-05 Mark Wielaard <mark@klomp.org>
400
401 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
402
844be3f2
WP
4032021-03-06 Weimin Pan <weimin.pan@oracle.com>
404
405 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
406
82333781
MM
4072021-03-03 Markus Metzger <markus.t.metzger@intel.com>
408
409 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
410
32c52999
MM
4112021-03-03 Markus Metzger <markus.t.metzger@intel.com>
412
413 * gdb.btrace/non-stop.exp: Adjust expected source lines.
414
26ed1478
MM
4152021-03-03 Markus Metzger <markus.t.metzger@intel.com>
416
417 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
418
d2c5f24e
MM
4192021-03-03 Markus Metzger <markus.t.metzger@intel.com>
420
421 * gdb.btrace/exception.cc (main): Update test source.
422 * gdb.btrace/exception.exp: Update patterns.
423 * gdb.btrace/function_call_history.exp: Likewise.
424
c7c7253a
MM
4252021-03-03 Markus Metzger <markus.t.metzger@intel.com>
426
427 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
428
f0778fc1
MM
4292021-03-03 Markus Metzger <markus.t.metzger@intel.com>
430
431 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
432 reverse-continue to breakpoint.
433
e71dbd03
MM
4342021-03-03 Markus Metzger <markus.t.metzger@intel.com>
435
436 * gdb.btrace/delta.exp: Remove instruction-history and
437 function-call-history checks.
438
b93a3ed0
MM
4392021-03-03 Markus Metzger <markus.t.metzger@intel.com>
440
441 * README (Note): Add nopie_ldflag.
442 * lib/gdb.exp (gdb_compile): Extend nopie handling.
443
bbcdf9ab
TT
4442021-03-02 Tom Tromey <tromey@adacore.com>
445
446 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
447 encodings.
448
bb3a4efe
LS
4492021-02-27 Lancelot Six <lsix@lancelotix.com>
450
451 PR gdb/27393
452 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
453
454
573dc0cc
TT
4552021-02-26 Tom Tromey <tom@tromey.com>
456
457 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
458
f8218786
JV
4592021-02-26 Jan Vrany <jan.vrany@labware.com>
460
461 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
462 Remove trailing \n from expected output.
463
cb51b708
MM
4642021-02-26 Markus Metzger <markus.t.metzger@intel.com>
465
466 * lib/gdb.exp (use_gdb_stub): Extend comment.
467
64d38fdd
JM
4682021-02-25 Jan Matyas <jmatyas@codasip.com>
469
470 PR gdb/26819
471 * gdb.server/stop-reply-no-thread.exp: Add two test
472 scenarios that cover remote targets which do not have
473 the concept of threads.
474
d4ff3cbf
AB
4752021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
476
477 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
478
68337b8b
AB
4792021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
480
481 PR fortran/26155
482 * gdb.fortran/call-no-debug-func.f90: New file.
483 * gdb.fortran/call-no-debug-prog.f90: New file.
484 * gdb.fortran/call-no-debug.exp: New file.
485
faeb9f13
AB
4862021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
487
488 * gdb.fortran/associated.exp: New file.
489 * gdb.fortran/associated.f90: New file.
490
170f4b23
AB
4912021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
494
dd80d750
AB
4952021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
496
497 * gdb.base/sect-cmd.exp: Update expected results.
498
b91919ac
AB
4992021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
500
501 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
502 techniques. Enable the test for all targets.
503
02a79309
AB
5042021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * gdb.base/maint-info-sections.exp: Add new tests.
507 (check_maint_info_target_sections_output): New proc.
508
895b7b4e
AB
5092021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
510
511 * gdb.arch/riscv-default-tdesc.exp: New file.
512
bc3c0632
AB
5132021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
514
515 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
516
acde2092
AB
5172021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
518
519 * gdb.arch/i386-biarch-core.exp: Add target check.
520
7d2e5095
AKS
5212021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
522
523 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
524
96df3e28
AB
5252021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
526
527 * gdb.fortran/allocated.exp: New file.
528 * gdb.fortran/allocated.f90: New file.
529
a1670b72
AB
5302021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
531
532 * gdb.fortran/lbound-ubound.exp: Remove old comment.
533
bf3386f0
AB
5342021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.base/maint-info-sections.exp: Update expected output, and
537 add additional tests. Again.
538
4790db14
AB
5392021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
540
541 * gdb.base/maint-info-sections.exp: Update expected output, and
542 add additional tests.
543
f4be6772
AB
5442021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
545
546 * gdb.base/maint-info-sections.exp: New file, content is moved
547 from gdb.base/maint.exp and cleaned up to use latest testsuite
548 techniques.
549 * gdb.base/maint.exp: Tests moved out to
550 gdb.base/maint-info-sections.exp.
551
25ad1e83
SM
5522021-02-10 Simon Marchi <simon.marchi@efficios.com>
553
554 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
555 GDBFLAGS.
556
e92c8eb8
AB
5572021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.fortran/lbound-ubound.F90: New file.
560 * gdb.fortran/lbound-ubound.exp: New file.
561
ee4c3d88
TV
5622021-02-10 Tom de Vries <tdevries@suse.de>
563
564 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
565 "Restore saved setting of complaints".
566
cf2b2075
TV
5672021-02-09 Tom de Vries <tdevries@suse.de>
568
569 PR symtab/27341
570 * lib/gdb.exp (with_complaints): New proc, factored out of ...
571 (gdb_load_no_complaints): ... here.
572 * gdb.fortran/function-calls.exp: Add test-case.
573
b61f7811
HAQ
5742021-02-09 Abid Qadeer <abidh@codesourcery.com>
575
576 * gdb.threads/signal-command-handle-nopass.exp: Call
577 'standard_testfile' before using 'testfile'.
578 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
579 * gdb.threads/signal-delivered-right-thread.exp: Likewise
580 * gdb.threads/signal-sigtrap.exp: Likewise
581
3d4aae48
LM
5822021-02-08 Luis Machado <luis.machado@linaro.org>
583
584 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
585
4001d90d
TV
5862021-02-08 Tom de Vries <tdevries@suse.de>
587
588 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
589
29db1eb3
AB
5902021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
591
592 * gdb.python/tui-window-disabled.c: New file.
593 * gdb.python/tui-window-disabled.exp: New file.
594 * gdb.python/tui-window-disabled.py: New file.
595
e0c23e11
AB
5962021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
597
598 * gdb.python/tui-window.exp: Add new tests.
599 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
600 TestWindow object into global the_window.
601 <remote_title>: New method.
602 (delete_window_title): New function.
603
1cf23996
AB
6042021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
605
606 * gdb.tui/winheight.exp: Add more tests.
607
2708dbbd
AB
6082021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 * gdb.python/py-framefilter.exp: Update expected results.
611 * gdb.python/python.exp: Update expected results.
612
cd074e04
AB
6132021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
616 about bug in GDB, update expected results, and add more tests.
617
5fb97639
AB
6182021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
619
620 * gdb.tui/scroll.exp: New file.
621 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
622 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
623 remaining lines up.
624 (Term::check_region_contents): New proc.
625 (Term::check_box_contents): Use check_region_contents.
626
c0e56745
TV
6272021-02-06 Tom de Vries <tdevries@suse.de>
628
629 PR testsuite/26922
630 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
631 scrolling.
632
0e857c82
TV
6332021-02-05 Tom de Vries <tdevries@suse.de>
634
635 PR breakpoints/27313
636 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
637 rejected.
638
a22ec6e8
TV
6392021-02-05 Tom de Vries <tdevries@suse.de>
640
641 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
642 * gdb.fortran/mixed-lang-stack.exp: Same.
643
ae710496
TV
6442021-02-05 Tom de Vries <tdevries@suse.de>
645
646 PR exp/27265
647 * gdb.base/complex-parts.exp: Add tests.
648
d3b54e63
TV
6492021-02-05 Tom de Vries <tdevries@suse.de>
650
651 PR symtab/27307
652 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
653
3eccb1c8
SV
6542021-02-04 Shahab Vahedi <shahab@synopsys.com>
655
656 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
657
a71501e2
PA
6582021-02-03 Pedro Alves <pedro@palves.net>
659
660 * gdb.threads/detach-step-over.c: New file.
661 * gdb.threads/detach-step-over.exp: New file.
662
92234eb1
PA
6632021-02-03 Pedro Alves <pedro@palves.net>
664
665 * gdb.threads/attach-non-stop.c: New file.
666 * gdb.threads/attach-non-stop.exp: New file.
667
2e3773ff
LS
6682021-02-02 Lancelot SIX <lsix@lancelotsix.com>
669
670 * gdb.base/inferior-noarg.c: New test.
671 * gdb.base/inferior-noarg.exp: New test.
672
e0bd9202
SM
6732021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
674
675 * gdb.base/scope.exp: Use proc_with_prefix.
676
9307efbe
SM
6772021-02-02 Simon Marchi <simon.marchi@efficios.com>
678
679 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
680 table proc.
681 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
682 .debug_rnglists table without offset array.
683 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
684 .debug_loclists table without offset array.
685
2b0c7f41
SM
6862021-02-02 Simon Marchi <simon.marchi@efficios.com>
687
688 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
689 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
690 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
691 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
692 attribute
693
ecfda20d
SM
6942021-02-02 Simon Marchi <simon.marchi@efficios.com>
695
696 PR gdb/26813
697 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
698 (loclists): New proc.
699 * gdb.dwarf2/loclists-multiple-cus.c: New.
700 * gdb.dwarf2/loclists-multiple-cus.exp: New.
701 * gdb.dwarf2/loclists-sec-offset.c: New.
702 * gdb.dwarf2/loclists-sec-offset.exp: New.
703
6b0933da
SM
7042021-02-02 Simon Marchi <simon.marchi@efficios.com>
705
706 * lib/dwarf.exp (_location): Add parameters.
707 (_handle_DW_FORM): Adjust.
708
962effa7
SM
7092021-02-02 Simon Marchi <simon.marchi@efficios.com>
710
711 PR gdb/26813
712 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
713 (cu): Generate header for DWARF 5.
714 (rnglists): New proc.
715 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
716 * gdb.dwarf2/rnglists-sec-offset.exp: New.
717
2bd3e4b8
TV
7182021-02-02 Tom de Vries <tdevries@suse.de>
719
720 PR symtab/24620
721 * gdb.dwarf2/fission-reread.exp: Add test-case.
722
c39c8637
TV
7232021-02-01 Tom de Vries <tdevries@suse.de>
724
725 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
726 * gdb.dwarf2/fission-loclists-pie.S: Same.
727 * gdb.dwarf2/fission-loclists.S: Same.
728 * gdb.dwarf2/fission-multi-cu.S: Same.
729 * gdb.dwarf2/fission-reread.S: Same.
730 * gdb.dwarf2/fission-base.exp: Use DWO.
731 * gdb.dwarf2/fission-loclists-pie.exp: Same.
732 * gdb.dwarf2/fission-loclists.exp: Same.
733 * gdb.dwarf2/fission-multi-cu.exp: Same.
734 * gdb.dwarf2/fission-reread.exp: Same.
735
ebde6f2d
TV
7362021-01-29 Tom de Vries <tdevries@suse.de>
737
738 PR breakpoints/26063
739 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
740 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
741
620ec3ca
TV
7422021-01-29 Tom de Vries <tdevries@suse.de>
743
744 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
745
cdeba395
TV
7462021-01-28 Tom de Vries <tdevries@suse.de>
747
748 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
749 in the backtrace, and use that in the rest of the test instead of
750 hardcoded constant 3. Use "frame" instead of "up" for robustness.
751
c47b145e
TV
7522021-01-28 Tom de Vries <tdevries@suse.de>
753
754 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
755 * gdb.arch/i386-sse-stack-align.c: Same.
756 * gdb.arch/i386-sse-stack-align.exp: Same.
757
47918cca
AB
7582021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
759
760 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
761
2f985dd1
TV
7622021-01-28 Tom de Vries <tdevries@suse.de>
763
764 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
765
22efa3d3
TV
7662021-01-28 Tom de Vries <tdevries@suse.de>
767
768 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
769 "maint info line-table". Make PASS pattern more specific. Make
770 FAIL pattern work for -m32.
771
59b59f08
LS
7722021-01-27 Lancelot SIX <lsix@lancelotsix.com>
773
774 PR gdb/27133
775 * gdb.base/ui-redirect.exp: Add test case that ensures that
776 redirecting both logging and debug does not cause gdb to crash.
777
778
807f647c
MM
7792021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
780
781 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
782
4ca40594
TV
7832021-01-26 Tom de Vries <tdevries@suse.de>
784
785 * gdb.threads/killed-outside.exp: Allow regular output.
786
d0021af3
TV
7872021-01-26 Tom de Vries <tdevries@suse.de>
788
789 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
790
9f6c202e
TV
7912021-01-25 Tom de Vries <tdevries@suse.de>
792
793 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
794 * lib/gdb.exp: Use gdb_load_no_complaints.
795
a625a8c9
TT
7962021-01-25 Tom Tromey <tromey@adacore.com>
797
798 * gdb.ada/fixed_points.exp: Add regression test.
799 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
800 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
801
19184910
TT
8022021-01-25 Tom Tromey <tromey@adacore.com>
803
804 * gdb.ada/local-enum.exp: Add enumerator resolution test.
805
acd6125f
TT
8062021-01-25 Tom Tromey <tromey@adacore.com>
807
808 * gdb.ada/local-enum.exp: New file.
809 * gdb.ada/local-enum/local.adb: New file.
810
1af4c9c4
TT
8112021-01-23 Tom Tromey <tom@tromey.com>
812
813 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
814
705646c0
BE
8152021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
816
817 * gdb.base/line65535.exp: Fix test expectation.
818
0ac85db5
SM
8192021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
820
821 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
822 suppression.
823 (default_gdb_exit): Likewise.
824 (default_gdb_spawn): Likewise.
825 (send_gdb): Likewise.
826 (gdb_expect): Likewise.
827 (gdb_expect_list): Likewise.
828 (default_gdb_init): Likewise.
829 (gdb_suppress_entire_file): Remove.
830 (gdb_suppress_tests): Remove.
831 (gdb_stop_suppressing_tests): Remove.
832 (gdb_clear_suppressed): Remove.
833 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
834 related to test suppression.
835 (default_mi_gdb_start): Likewise.
836 (mi_gdb_reinitialize_dir): Likewise.
837 (mi_gdb_test): Likewise.
838 (mi_run_cmd_full): Likewise.
839 (mi_runto_helper): Likewise.
840 (mi_execute_to): Likewise.
841 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
842 * gdb.base/bitfields.exp: Likewise.
843 * gdb.base/bitfields2.exp: Likewise.
844 * gdb.base/break.exp: Likewise.
845 * gdb.base/call-sc.exp: Likewise.
846 * gdb.base/callfuncs.exp: Likewise.
847 * gdb.base/dfp-test.exp: Likewise.
848 * gdb.base/endian.exp: Likewise.
849 * gdb.base/exprs.exp: Likewise.
850 * gdb.base/funcargs.exp: Likewise.
851 * gdb.base/hbreak2.exp: Likewise.
852 * gdb.base/recurse.exp: Likewise.
853 * gdb.base/scope.exp: Likewise.
854 * gdb.base/sepdebug.exp: Likewise.
855 * gdb.base/structs.exp: Likewise.
856 * gdb.base/until.exp: Likewise.
857 * gdb.cp/misc.exp: Likewise.
858
9d2d8a16
AB
8592021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
860
861 PR cli/25956
862 * gdb.base/style.exp (run_style_tests): Add version string test.
863 (test_startup_version_string): Use version style name.
864 * lib/gdb-utils.exp (style): Handle version style name.
865
e7b43072
AB
8662021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * gdb.base/style.exp (limited_style): New proc.
869 (clean_restart_and_disable): New proc.
870 (run_style_tests): New proc. Most of the old tests from this file
871 are now in this proc.
872 (test_startup_version_string): New proc. Reamining test from the
873 old file is in this proc.
874
2189c312
SM
8752021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
876
877 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
878 Adjust to "set debug remote" changes.
879
cd211c75
LM
8802021-01-21 Luis Machado <luis.machado@linaro.org>
881
882 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
883 message.
884
730af663
SM
8852021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
886
887 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
888
325d39e4
HD
8892021-01-21 Hannes Domani <ssbssa@yahoo.de>
890
891 PR python/19151
892 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
893
c3e96aa7
SM
8942021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
895
896 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
897
6571ffc6
SM
8982021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
899
900 * lib/tuiterm.exp: Add links in comments.
901
7c794afd
TV
9022021-01-20 Tom de Vries <tdevries@suse.de>
903
904 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
905 offset.
906
1402665c
TV
9072021-01-20 Tom de Vries <tdevries@suse.de>
908
909 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
910
6f52fdf4
SDJ
9112021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
912
913 * gdb.arch/amd64-stap-expressions.S: New file.
914 * gdb.arch/amd64-stap-expressions.exp: New file.
915
14852123
TV
9162021-01-19 Tom de Vries <tdevries@suse.de>
917
918 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
919 sequence.
920
0c4e2c6c
TV
9212021-01-19 Tom de Vries <tdevries@suse.de>
922
923 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
924
02baa133
AB
9252021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.fortran/array-slices.exp (run_test): Avoid including
928 addresses in test names.
929
10f92414
TV
9302021-01-15 Tom de Vries <tdevries@suse.de>
931
932 PR testsuite/26997
933 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
934 when adding sizeof.
935
116d0cf1
TV
9362021-01-14 Tom de Vries <tdevries@suse.de>
937
938 PR testsuite/24590
939 * gdb.base/style.exp: Handle shorter argv in frame command output.
940
8f66807b
AB
9412021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
942
943 PR gdb/26819
944 * gdb.server/stop-reply-no-thread-multi.c: New file.
945 * gdb.server/stop-reply-no-thread-multi.exp: New file.
946
3f94e588
TV
9472021-01-12 Tom de Vries <tdevries@suse.de>
948
949 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
950 (main): Remove call to have_mpx.
951 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
952 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
953 (main): Remote call to have_mpx.
954 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
955 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
956 (main): Remove call to have_mpx.
957 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
958 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
959 (main): Remove call to have_mpx.
960 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
961 * gdb.arch/i386-mpx.c (have_mpx): Remove.
962 (main): Remote call to have_mpx.
963 * gdb.arch/i386-mpx.exp: Use have_mpx.
964 * lib/gdb.exp (have_mpx): New proc.
965
5291fe3c
SP
9662021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
967
968 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
969
18bfb505
TV
9702021-01-12 Tom de Vries <tdevries@suse.de>
971
972 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
973
ce38f5ed
AB
9742021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
975
976 * gdb.fortran/debug-expr.exp: Add new tests.
977
7c654b71
AB
9782021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
979
980 * gdb.fortran/dot-ops.exp: Add new tests.
981
10dadadc
TV
9822021-01-11 Tom de Vries <tdevries@suse.de>
983
984 PR testsuite/26968
985 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
986 Move insn setting $eax to before probe point.
987
66beed02
TT
9882021-01-09 Tom Tromey <tom@tromey.com>
989
990 * gdb.trace/ax.exp: Do not require an "ext".
991
8fc48b79
TT
9922021-01-08 Tom Tromey <tromey@adacore.com>
993
994 * gdb.ada/voidctx/pck.adb: New file.
995 * gdb.ada/voidctx/pck.ads: New file.
996 * gdb.ada/voidctx/voidctx.adb: New file.
997 * gdb.ada/voidctx.exp: New file.
998
6abd4cf2
SM
9992021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1000
1001 PR gdb/27157
1002 * gdb.base/empty-host-env-vars.exp: New test.
1003
d00f0868
AB
10042021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1005
1006 * gdb.base/completion.exp: Add a new test.
1007
3c8c6de2
AB
10082021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1009
1010 * gdb.fortran/intvar-dynamic-types.exp: New file.
1011 * gdb.fortran/intvar-dynamic-types.f90: New file.
1012
e3436813
AB
10132021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1014
1015 * gdb.fortran/intvar-array.exp: New file.
1016 * gdb.fortran/intvar-array.f90: New file.
1017
d4813f10
TT
10182021-01-07 Tom Tromey <tromey@adacore.com>
1019
1020 * gdb.ada/assign_arr.exp: Add 'others' test.
1021
b49180ac
TT
10222021-01-06 Tom Tromey <tromey@adacore.com>
1023
1024 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1025 (FP4_Type): New type.
1026 (FP4_Var): New variable.
1027 * gdb.ada/fixed_points/fixed_points.adb: Update.
1028 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1029
3c55062c
SM
10302021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1031
1032 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1033 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1034 Pass prompt containing debug print to gdb_test_sequence.
1035
e4ad960a
TV
10362021-01-04 Tom de Vries <tdevries@suse.de>
1037
1038 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1039
3ec3145c
SM
10402021-01-04 Simon Marchi <simon.marchi@efficios.com>
1041
1042
1043
8dc558a0
SM
10442021-01-04 Simon Marchi <simon.marchi@efficios.com>
1045
1046 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1047 * gdb.server/connect-without-multi-process.exp: Likewise.
1048 * gdb.server/exit-multiple-threads.exp: Likewise.
1049 * gdb.server/ext-attach.exp: Likewise.
1050 * gdb.server/ext-restart.exp: Likewise.
1051 * gdb.server/ext-run.exp: Likewise.
1052 * gdb.server/ext-wrapper.exp: Likewise.
1053 * gdb.server/multi-ui-errors.exp: Likewise.
1054 * gdb.server/no-thread-db.exp: Likewise.
1055 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1056 * gdb.server/run-without-local-binary.exp: Likewise.
1057 * gdb.server/server-kill.exp: Likewise.
1058 * gdb.server/server-run.exp: Likewise.
1059 * gdb.server/solib-list.exp: Likewise.
1060 * gdb.server/stop-reply-no-thread.exp: Likewise.
1061 * gdb.server/wrapper.exp: Likewise.
1062 * gdb.server/sysroot.exp: Increase timeout when testing the
1063 target: sysroot.
1064
d8387cc8
SM
10652021-01-04 Simon Marchi <simon.marchi@efficios.com>
1066
1067 * gdb.server/server-run.exp: Use clean_restart.
1068
5169ae34
SM
10692021-01-04 Simon Marchi <simon.marchi@efficios.com>
1070
1071 * gdb.server/ext-run.exp: Use clean_restart.
1072
7b0ff8a2
SM
10732021-01-04 Simon Marchi <simon.marchi@efficios.com>
1074
1075 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1076 instead of prepare_for_testing.
1077
a754fbdf
SM
10782021-01-04 Simon Marchi <simon.marchi@efficios.com>
1079
1080 * gdb.server/solib-list.exp: Use clean_restart.
1081
c5e71b33
TV
10822021-01-04 Tom de Vries <tdevries@suse.de>
1083
1084 * gdb.base/morestack.c: Remove printf.
1085 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1086
9b243007
TT
10872020-12-31 Tom Tromey <tom@tromey.com>
1088
1089 * gdb.rust/simple.exp: Update output for Rust 1.49.
1090
4ff509e7
BE
10912020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1092
1093 * gdb.cp/step-and-next-inline.exp: Fix test case.
1094
391750c3
SM
10952020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1096
1097 * gdb.python/py-frame-args.exp: De-duplicate test names.
1098
b7874836
AB
10992020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 PR gdb/27059
1102 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1103 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1104
e1ff6226
PW
11052020-12-21 Peter Waller <p@pwaller.net>
1106
1107 * gdb.base/style-interp-exec-mi.exp: New.
1108 * gdb.base/style-interp-exec-mi.c: New.
1109
ca01f1bf
SM
11102020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1111
1112 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1113 gdb_test. Use proc_with_prefix.
1114
0fe69a94
MM
11152020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1116
1117 * gdb.btrace/exception.exp: Build with nopie.
1118 * gdb.btrace/function_call_history.exp: Likewise.
1119 * gdb.btrace/unknown_functions.exp: Likewise.
1120
806e7575
MM
11212020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1122
1123 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1124
493d2172
MM
11252020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1126
1127 * gdb.python/py-record-btrace.exp: Make test names unique.
1128 * gdb.python/py-record-full.exp: Likewise.
1129
1a1c0afc
MM
11302020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1131
1132 * gdb.btrace/data.exp: Make test names unique.
1133 * gdb.btrace/delta.exp: Likewise.
1134 * gdb.btrace/enable.exp: Likewise.
1135 * gdb.btrace/function_call_history.exp: Likewise.
1136 * gdb.btrace/nohist.exp: Likewise.
1137 * gdb.btrace/non-stop.exp: Likewise.
1138 * gdb.btrace/rn-dl-bind.exp: Likewise.
1139 * gdb.btrace/step.exp: Likewise.
1140 * gdb.btrace/stepi.exp: Likewise.
1141 * gdb.btrace/tailcall.exp: Likewise.
1142
98d837f0
MM
11432020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1144
1145 * gdb.btrace/enable.exp: Update error message.
1146 * gdb.btrace/multi-inferior.exp: Likewise.
1147 * gdb.btrace/reconnect.exp: Likewise.
1148 * gdb.python/py-record-btrace.exp: Likewise.
1149 * gdb.python/py-record-full.exp: Likewise.
1150
c541fa7c
TV
11512020-12-20 Tom de Vries <tdevries@suse.de>
1152
1153 * lib/gdb.exp (save_target_board_info): New proc.
1154 (gdb_compile_shlib): Use save_target_board_info.
1155
60108e47
TV
11562020-12-19 Tom de Vries <tdevries@suse.de>
1157
1158 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1159 (supports_gnuc): New proc.
1160 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1161 test_compiler_info calls. Add unsupported message.
1162 * gdb.base/endianity.c: Use TEST_SSO.
1163
fa639f55
HD
11642020-12-19 Hannes Domani <ssbssa@yahoo.de>
1165
1166 PR exp/27070
1167 * gdb.python/compare-enum-type-a.c: New test.
1168 * gdb.python/compare-enum-type-b.c: New test.
1169 * gdb.python/compare-enum-type.exp: New file.
1170 * gdb.python/compare-enum-type.h: New test.
1171
4aea001f
HD
11722020-12-18 Hannes Domani <ssbssa@yahoo.de>
1173
1174 * gdb.python/py-format-string.exp: Add tests for address keyword.
1175
b3f9469b
HD
11762020-12-18 Hannes Domani <ssbssa@yahoo.de>
1177
1178 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1179
86ef42bd
TT
11802020-12-18 Tom Tromey <tromey@adacore.com>
1181
1182 * gdb.ada/fixed_points.exp: Also run with
1183 -fgnat-encodings=minimal. Update expected output.
1184
93df4a1d
SM
11852020-12-16 Simon Marchi <simon.marchi@efficios.com>
1186
1187 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1188 * gdb.base/continue-all-already-running.exp: Likewise.
1189 * gdb.base/moribund-step.exp: Likewise.
1190 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1191
592995fa
TV
11922020-12-16 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.base/batch-preserve-term-settings.exp:
1195
1e61189d
TV
11962020-12-16 Tom de Vries <tdevries@suse.de>
1197
1198 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1199 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1200
19007d95
LM
12012020-12-16 Luis Machado <luis.machado@linaro.org>
1202
1203 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1204 pointer-based memory accesses.
1205 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1206 hw watchpoint cases.
1207
a33fc9ae
RK
12082020-12-15 Rae Kim <rae.kim@gmail.com>
1209
1210 * gdb.base/document.exp: New test.
1211
0e5ad442
TT
12122020-12-15 Tom Tromey <tromey@adacore.com>
1213
1214 * gdb.base/style.exp: Add deprecation tests.
1215
60598dbd
SM
12162020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1217
1218 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1219
8cd6d968
MW
12202020-12-14 Mark Wielaard <mark@klomp.org>
1221
1222 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1223 specially, set attr_form_comment to the actual FORM string used.
1224
eab9267c
MW
12252020-12-14 Mark Wielaard <mark@klomp.org>
1226
1227 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1228 _constants(SPECIAL_expr) here, but set it...
1229 (Dwarf::cu): ...here based on _cu_version.
1230
2f413264
TV
12312020-12-14 Tom de Vries <tdevries@suse.de>
1232
1233 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1234 pass -fPIC.
1235 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1236 * gdb.base/break-probes.exp: Same.
1237 * gdb.base/ctxobj.exp: Same.
1238 * gdb.base/dso2dso.exp: Same.
1239 * gdb.base/global-var-nested-by-dso.exp: Same.
1240 * gdb.base/info-shared.exp: Same.
1241 * gdb.base/jit-reader-simple.exp: Same.
1242 * gdb.base/print-file-var.exp: Same.
1243 * gdb.base/skip-solib.exp: Same.
1244 * gdb.btrace/dlopen.exp: Same.
1245
18f1cb1f
TV
12462020-12-14 Tom de Vries <tdevries@suse.de>
1247
1248 PR testsuite/26963
1249 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1250
519155c9
TV
12512020-12-14 Tom de Vries <tdevries@suse.de>
1252
1253 PR testsuite/26962
1254 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1255 cast it to its declared type".
1256
153f6e6c
TV
12572020-12-14 Tom de Vries <tdevries@suse.de>
1258
1259 PR testsuite/26951
1260 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1261 shell prompt.
1262
86b44259
TT
12632020-12-14 Tom Tromey <tromey@adacore.com>
1264
1265 * gdb.ada/nested.exp: Add new tests.
1266 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1267
e26624c6
TT
12682020-12-14 Tom Tromey <tromey@adacore.com>
1269
1270 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1271
a3bdae4e
TT
12722020-12-14 Tom Tromey <tromey@adacore.com>
1273
1274 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1275
862fcbd8
TV
12762020-12-13 Tom de Vries <tdevries@suse.de>
1277
1278 PR testsuite/26953
1279 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1280 attribute support if compiler doesn't support it.
1281
a406a98e
TV
12822020-12-13 Tom de Vries <tdevries@suse.de>
1283
1284 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1285 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1286 source to shared lib. Add ada to options.
1287
5d7e6ed0
TV
12882020-12-13 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1291 calling gnatbind and gnatlink.
1292
ee9812a0
AB
12932020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1294
1295 * gdb.base/dcache-flush.c: New file.
1296 * gdb.base/dcache-flush.exp: New file.
1297
50a5f187
AB
12982020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1299
1300 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1301 commands.
1302 * gdb.base/killed-outside.exp: Likewise.
1303 * gdb.opt/inline-bt.exp: Likewise.
1304 * gdb.perf/gmonster-null-lookup.py: Likewise.
1305 * gdb.perf/gmonster-print-cerr.py: Likewise.
1306 * gdb.perf/gmonster-ptype-string.py: Likewise.
1307 * gdb.python/py-unwind.exp: Likewise.
1308
19c659f1
AB
13092020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1310
1311 * gdb.base/commands.exp: Update expected results.
1312
9ef6d4a1
AB
13132020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1314
1315 PR cli/15104
1316 * gdb.base/commands.exp: Add additional tests.
1317 * gdb.base/completion.exp: Add additional tests.
1318
1536146f
AB
13192020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1320
1321 * gdb.base/completion.exp: Add additional tests.
1322
346e7e19
TV
13232020-12-11 Tom de Vries <tdevries@suse.de>
1324
1325 PR testsuite/26991
1326 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1327 violations by setting bounds registers if the bounds are passed in the
1328 Bounds Table.
1329
9cd7a95a
TV
13302020-12-11 Tom de Vries <tdevries@suse.de>
1331
1332 PR testsuite/26954
1333 * gdb.base/float128.exp: Detect and handle no mpfr support.
1334
4483a8e7
SM
13352020-12-10 Simon Marchi <simon.marchi@efficios.com>
1336
1337 PR gdb/24694
1338 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1339 calls.
1340
10067028
TV
13412020-12-10 Tom de Vries <tdevries@suse.de>
1342
1343 PR testsuite/26947
1344 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1345 braces for tcl 8.5 and earlier.
1346
5b56203a
SM
13472020-12-09 Simon Marchi <simon.marchi@efficios.com>
1348
1349 PR 26875, PR 26901
1350 * gdb.base/flexible-array-member.c: New test.
1351 * gdb.base/flexible-array-member.exp: New test.
1352
b46551b2
TV
13532020-12-08 Tom de Vries <tdevries@suse.de>
1354
1355 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1356 using is_amd64_regs_target.
1357
8439f446
TV
13582020-12-08 Tom de Vries <tdevries@suse.de>
1359
1360 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1361 self_id.
1362
bc545da7
PA
13632020-12-07 Pedro Alves <pedro@palves.net>
1364
1365 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1366 'additional_flags' variable.
1367
1f58f6c2
TBA
13682020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1369
1370 * gdb.linespec/explicit.exp: Extend with a test to check completing
1371 '-' after seemingly complete options.
1372
5759831a
TBA
13732020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1374
1375 * gdb.linespec/keywords.exp: Add tests to check positional
1376 flexibility of "-force-condition".
1377
21e051b3
TBA
13782020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1379
1380 * gdb.base/bp-cmds-run-with-ex.c: New file.
1381 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1382 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1383 * gdb.gdb/python-interrupts.exp: Update the call to
1384 'catch_command_errors' with the new argument.
1385 * gdb.gdb/python-selftest.exp: Ditto.
1386
187b041e
SM
13872020-12-04 Simon Marchi <simon.marchi@efficios.com>
1388
1389 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1390 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1391 * gdb.threads/non-stop-fair-events.exp: Likewise.
1392
3b7a962d
SM
13932020-12-04 Simon Marchi <simon.marchi@efficios.com>
1394
1395 * gdb.threads/step-over-exec.exp: New.
1396 * gdb.threads/step-over-exec.c: New.
1397 * gdb.threads/step-over-exec-execd.c: New.
1398 * lib/my-syscalls.S: New.
1399 * lib/my-syscalls.h: New.
1400
e633b117
SM
14012020-12-04 Simon Marchi <simon.marchi@efficios.com>
1402
1403 * lib/dwarf.exp (declare_labels): Use name as text if text is
1404 not provided.
1405
67748e0f
TV
14062020-12-04 Tom de Vries <tdevries@suse.de>
1407
1408 PR testsuite/26990
1409 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1410 are unsupported.
1411
a8d13675
TV
14122020-12-04 Tom de Vries <tdevries@suse.de>
1413
1414 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1415 clause.
1416
f17727b3
TV
14172020-12-04 Tom de Vries <tdevries@suse.de>
1418
1419 * gdb.reverse/insn-reverse.exp: Fix count handling.
1420
a1499830
TV
14212020-12-04 Tom de Vries <tdevries@suse.de>
1422
1423 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1424 __x86_64__.
1425
9c027c2f
TV
14262020-12-04 Tom de Vries <tdevries@suse.de>
1427
1428 * gdb.reverse/insn-reverse.c (test_nr): New var.
1429 (usage, parse_args): New function.
1430 (main): Call parse_args. Only run test for test_nr.
1431 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1432 and bail out. Run subtests individually, using an inferior arg
1433 specifying the subtest.
1434
533b2ae0
AB
14352020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1436
1437 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1438
e4502042
AB
14392020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1440
1441 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1442 update test to use this.
1443
f55a9a37
SM
14442020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1445
1446 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1447
0a6155a0
SM
14482020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1449
1450 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1451 (do_test): Don't use with_test_prefix.
1452 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1453 (do_test): Don't use with_test_prefix.
1454 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1455 (do_test): Don't use with_test_prefix.
1456 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1457 (do_test): Don't use with_test_prefix.
1458
4d56d64a
SM
14592020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1460
1461 * gdb.threads/non-ldr-exit.exp: Fix comment.
1462
54e75f29
AB
14632020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1464
1465 * gdb.xml/maint-xml-dump-03.xml: New file.
1466
7ce05d21
TV
14672020-11-30 Tom de Vries <tdevries@suse.de>
1468
1469 PR symtab/26905
1470 * gdb.dwarf2/count.exp: Remove kfails.
1471
50757f95
TBA
14722020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1473
1474 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1475 indices.
1476
4afa9fd9
JB
14772020-11-24 Joel Brobecker <brobecker@adacore.com>
1478
1479 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1480 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1481 languages. Remove the associated setup_xfail.
1482
15a491af
SM
14832020-11-23 Simon Marchi <simon.marchi@efficios.com>
1484
1485 * lib/gdb.exp (gdb_assert): Show error message on error.
1486
891615f0
TV
14872020-11-23 Tom de Vries <tdevries@suse.de>
1488
1489 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1490 * gdb.ada/mod_from_name.exp: Same.
1491 * gdb.ada/pckd_arr_ren.exp: Same.
1492
19922582
SM
14932020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1494
1495 * gdb.base/template.exp: New.
1496 * gdb.base/template.c: New.
1497
117c628d
GB
14982020-11-22 Gary Benson <gbenson@redhat.com>
1499
1500 PR gdb/26905
1501 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1502 is defined using a DW_AT_count which references another DIE.
1503
da39d3ba
TV
15042020-11-21 Tom de Vries <tdevries@suse.de>
1505
1506 * gdb.base/vla-ptr.exp: Add XFAIL.
1507
a5c641b5
AB
15082020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1509
1510 * gdb.fortran/array-slices-bad.exp: New file.
1511 * gdb.fortran/array-slices-bad.f90: New file.
1512 * gdb.fortran/array-slices-sub-slices.exp: New file.
1513 * gdb.fortran/array-slices-sub-slices.f90: New file.
1514 * gdb.fortran/array-slices.exp: Rewrite tests.
1515 * gdb.fortran/array-slices.f90: Rewrite tests.
1516 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1517
a15a5258
AB
15182020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1519
1520 * gdb.base/completion.exp: Add new completion tests.
1521
7cb2893d
SM
15222020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1523
1524 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1525 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1526 * gdb.mi/mi-nsintrall.exp: Likewise.
1527 * gdb.mi/mi-nsmoribund.exp: Likewise.
1528 * gdb.mi/mi-nsthrexec.exp: Likewise.
1529 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1530
cf144ec8
SM
15312020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1532
1533 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1534 of perror.
1535
6b6a3e05
JM
15362020-11-18 Joseph Myers <joseph@codesourcery.com>
1537
1538 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1539 $arg.exe exists but $arg does not.
1540
811bdca0
GB
15412020-11-17 Gary Benson <gbenson@redhat.com>
1542
1543 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1544 __attribute__ ((used)).
1545
c72e3136
AB
15462020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1547
1548 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1549
037d7135
AB
15502020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1551
1552 * gdb.base/completion.exp: Add new tests.
1553
119e99bb
TT
15542020-11-16 Tom Tromey <tromey@adacore.com>
1555
1556 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1557 tests.
1558
b74dbc20
JB
15592020-11-15 Joel Brobecker <brobecker@adacore.com>
1560
1561 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1562 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1563 (main): Add reference to pck__fp1_var2.
1564 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1565
0a12719e
JB
15662020-11-15 Joel Brobecker <brobecker@adacore.com>
1567
1568 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1569
0c9150e4
JB
15702020-11-15 Joel Brobecker <brobecker@adacore.com>
1571
1572 * gdb.ada/fixed_points.exp: Add ptype tests.
1573 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1574
b26daff9
JB
15752020-11-15 Joel Brobecker <brobecker@adacore.com>
1576
1577 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1578
09584414
JB
15792020-11-15 Joel Brobecker <brobecker@adacore.com>
1580
1581 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1582 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1583 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1584 New files.
1585 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1586
1587 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1588 New files.
1589
9dd02fc0
AB
15902020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1591
1592 PR cli/26879
1593 * gdb.fortran/completion.exp: New file.
1594 * gdb.fortran/completion.f90: New file.
1595
5643c500
JM
15962020-11-12 Joseph Myers <joseph@codesourcery.com>
1597
1598 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1599 but $arg does not.
1600
7bea47f0
AB
16012020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * gdb.fortran/types.exp: Add more tests.
1604
1f2624a3
TT
16052020-11-12 Tom Tromey <tom@tromey.com>
1606
1607 PR rust/26799:
1608 * gdb.rust/traits.exp: Remove kfails.
1609
9e74f0ae
GB
16102020-11-12 Gary Benson <gbenson@redhat.com>
1611
1612 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1613 statement.
1614
acb994fa
SM
16152020-11-11 Simon Marchi <simon.marchi@efficios.com>
1616
1617 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1618 always-inserted" axis.
1619 (do_test): Add breakpoint_always_inserted parameter.
1620
95016fd2
TT
16212020-11-10 Tom Tromey <tromey@adacore.com>
1622
1623 * gdb.ada/bias.exp: Update.
1624 * gdb.ada/bias/bias.adb (X): Change value.
1625
83100a74
GB
16262020-11-10 Gary Benson <gbenson@redhat.com>
1627
1628 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1629 regexp fragment in parentheses to prevent false matching.
1630
6ff174a7
GB
16312020-11-10 Gary Benson <gbenson@redhat.com>
1632
1633 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1634
eb24648c
GB
16352020-11-10 Gary Benson <gbenson@redhat.com>
1636
1637 * gdb.cp/step-and-next-inline.exp: Only require
1638 -gstatement-frontiers when building with GCC.
1639 Only setup KFAIL's for GCC issues when using
1640 a GCC-built executable.
1641
86775fab
AB
16422020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1643
1644 * gdb.base/debug-expr.c: Add extra function to allow for an
1645 additional test.
1646 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1647 to this proc with gdb_test_debug_expr. Add an extra test.
1648 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1649 to this proc with gdb_test_debug_expr, give the tests names
1650 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1651 calls to this proc with gdb_test_debug_expr, give the tests names
1652 * gdb.fortran/debug-expr.exp: New file.
1653 * gdb.fortran/debug-expr.f90: New file.
1654 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1655
a1945bd4
SM
16562020-11-06 Simon Marchi <simon.marchi@efficios.com>
1657
1658 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1659 proceduresu.
1660 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1661 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1662 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1663 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1664 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1665 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1666 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1667 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1668
9c91c725
TT
16692020-11-04 Tom Tromey <tromey@adacore.com>
1670
1671 * gdb.ada/funcall_ref.exp: Update.
1672 * gdb.ada/var_rec_arr.exp: Update.
1673
8d9fd3a1
TT
16742020-11-04 Tom Tromey <tromey@adacore.com>
1675
1676 * gdb.ada/rec_ptype.exp: New file.
1677 * gdb.ada/rec_ptype/main.adb: New file.
1678 * gdb.ada/rec_ptype/p.ads: New file.
1679
d8f62e84
TT
16802020-11-04 Tom Tromey <tromey@adacore.com>
1681
1682 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1683 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1684 (PT_Full): New variable.
1685 * gdb.ada/tick_length_array_enum_idx/pck.adb
1686 (Full_PT): New type.
1687
7ff5b937
TT
16882020-11-04 Tom Tromey <tromey@adacore.com>
1689
1690 * gdb.ada/array_of_variant.exp: New file.
1691 * gdb.ada/array_of_variant/p.adb: New file.
1692 * gdb.ada/array_of_variant/pck.ads: New file.
1693 * gdb.ada/array_of_variant/pck.adb: New file.
1694
10f6a3ad
TT
16952020-11-04 Tom Tromey <tromey@adacore.com>
1696
1697 * gdb.ada/enum_idx_packed.exp: Add test.
1698 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1699 New variable.
1700 * gdb.ada/enum_idx_packed/pck.ads (Short)
1701 (Multi_Dimension, Multi_Dimension_Access): New types.
1702
b72795a8
TT
17032020-11-04 Tom Tromey <tromey@adacore.com>
1704
1705 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1706
24aa1b02
TT
17072020-11-04 Tom Tromey <tromey@adacore.com>
1708
1709 * gdb.ada/set_pckd_arr_elt.exp: Also test
1710 -fgnat-encodings=minimal. Add tests.
1711 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1712 Call Update_Small a second time.
1713 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1714 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1715 (Variant_Access): New types.
1716 (New_Variant): Declare.
1717
c9a28cbe
TT
17182020-11-04 Tom Tromey <tromey@adacore.com>
1719
1720 * gdb.ada/mod_from_name.exp: Test printing slice.
1721
57567375
TT
17222020-11-04 Tom Tromey <tromey@adacore.com>
1723
1724 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1725 values.
1726 * gdb.ada/access_to_unbounded_array.exp: Test different
1727 -fgnat-encodings values.
1728 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1729 values.
1730 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1731 values.
1732 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1733 values.
1734 * gdb.ada/array_of_variable_length.exp: Test different
1735 -fgnat-encodings values.
1736 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1737 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1738 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1739 change.
1740 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1741 values.
1742 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1743 * gdb.ada/out_of_line_in_inlined.exp: Test different
1744 -fgnat-encodings values.
1745 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1746 values.
1747 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1748 values.
1749 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1750 -fgnat-encodings values.
1751 * gdb.ada/variant_record_packed_array.exp: Test different
1752 -fgnat-encodings values.
1753
a7400e44
TT
17542020-11-04 Tom Tromey <tromey@adacore.com>
1755
1756 * gdb.ada/enum_idx_packed.exp: Add tests.
1757 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1758 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1759 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1760 declarations.
1761
c40907bf
TV
17622020-11-03 Tom de Vries <tdevries@suse.de>
1763
1764 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1765 terminator comments.
1766 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1767 terminator.
1768
f468977a
SM
17692020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1770
1771 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1772 integer format test with regexp.
1773
1c2bec19
GB
17742020-11-02 Gary Benson <gbenson@redhat.com>
1775
1776 * gdb.base/print-file-var.exp (test): Separate compiler and
1777 linker options, and build using build_executable_from_specs
1778 to accommodate this.
1779
6539a36d
GB
17802020-11-02 Gary Benson <gbenson@redhat.com>
1781
1782 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1783 for .c files compiled as C++ with Clang if any shared
1784 libraries are specified.
1785
7ea44a51
GB
17862020-11-02 Gary Benson <gbenson@redhat.com>
1787
1788 * lib/attributes.h: New header.
1789 * gdb.base/backtrace.c: Include the above. Replace
1790 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1791 * gdb.base/infcall-nested-structs.c: Likewise.
1792 * gdb.base/vla-optimized-out.c: Likewise.
1793
ab8f783d
TV
17942020-11-02 Tom de Vries <tdevries@suse.de>
1795
1796 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1797
d77c9224
JB
17982020-11-01 Joel Brobecker <brobecker@adacore.com>
1799
1800 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1801 System.Min_Int and System.Max_Int with smaller hardcoded
1802 constants.
1803
0e5b0dd0
SM
18042020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1805
1806 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1807 * configure: Re-generate.
1808
136821d9
SM
18092020-10-30 Simon Marchi <simon.marchi@efficios.com>
1810
1811 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1812 expected output.
1813
b78b3a29
TBA
18142020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1815
1816 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1817 behavior.
1818 * gdb.base/paginate-bg-execution.exp: Ditto.
1819 * gdb.base/paginate-inferior-exit.exp: Ditto.
1820 * gdb.base/double-prompt-target-event-error.c: Remove.
1821 * gdb.base/double-prompt-target-event-error.exp: Remove.
1822
cfaa8f76
TBA
18232020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1824
1825 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1826 inferiors' and 'detach inferiors' do not change the current
1827 inferior.
1828
0ad0e70c
TV
18292020-10-29 Tom de Vries <tdevries@suse.de>
1830
1831 * gdb.threads/tls.exp: Fix DUPLICATEs.
1832
99cc6b2a
TV
18332020-10-28 Tom de Vries <tdevries@suse.de>
1834
1835 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1836
efe9b873
TV
18372020-10-28 Tom de Vries <tdevries@suse.de>
1838
1839 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1840 * gdb.base/reread.exp: Same.
1841
6b68fd45
TV
18422020-10-28 Tom de Vries <tdevries@suse.de>
1843
1844 * lib/gdb.exp (readnow): Handle arg.
1845 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1846
32a5f98a
TV
18472020-10-28 Tom de Vries <tdevries@suse.de>
1848
1849 * gdb.base/relocate.exp: Update regexp for -readnow.
1850
f93b8760
TV
18512020-10-28 Tom de Vries <tdevries@suse.de>
1852
1853 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1854 -readnow.
1855
1b00ef06
TV
18562020-10-28 Tom de Vries <tdevries@suse.de>
1857
1858 PR symtab/26772
1859 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1860 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1861
364bb903
TV
18622020-10-28 Tom de Vries <tdevries@suse.de>
1863
1864 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1865 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1866 complaint during file command for -readnow.
1867
445a033f
TV
18682020-10-28 Tom de Vries <tdevries@suse.de>
1869
1870 * gdb.cp/nsalias.exp: Fix typo in test name.
1871
fdd67a42
TV
18722020-10-28 Tom de Vries <tdevries@suse.de>
1873
1874 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1875
706baf4c
TV
18762020-10-28 Tom de Vries <tdevries@suse.de>
1877
1878 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1879 -readnow.
1880
b448cca5
TV
18812020-10-27 Tom de Vries <tdevries@suse.de>
1882
1883 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1884
5868da03
TV
18852020-10-27 Tom de Vries <tdevries@suse.de>
1886
1887 * gdb.base/maint.exp: Update for -readnow.
1888
06db6ec3
TV
18892020-10-27 Tom de Vries <tdevries@suse.de>
1890
1891 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1892 -readnow.
1893
934a1764
GB
18942020-10-14 Gary Benson <gbenson@redhat.com>
1895
1896 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1897 "_vptr$Base" as correct, in addition to "_vptr.Base".
1898 (test_mixed): Likewise.
1899
0bf21fbd
GB
19002020-10-27 Gary Benson <gbenson@redhat.com>
1901
1902 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1903 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1904
b1d4d8d1
TBA
19052020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1906
1907 * gdb.base/condbreak.exp: Update the completion tests to
1908 consider the '-force' flag.
1909
bd24c5d6
TV
19102020-10-27 Tom de Vries <tdevries@suse.de>
1911
1912 * gdb.base/list-ambiguous-readnow.exp: New file.
1913
733d554a
TBA
19142020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1915
1916 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1917 the condition.
1918 * gdb.linespec/cpcompletion.exp: Update to consider the
1919 '-force-condition' keyword.
1920 * gdb.linespec/explicit.exp: Ditto.
1921 * lib/completion-support.exp: Ditto.
1922
b5fa468f
TBA
19232020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1924
1925 * gdb.base/condbreak-multi-context.cc: New file.
1926 * gdb.base/condbreak-multi-context.exp: New file.
1927
b3247276
TT
19282020-10-26 Tom Tromey <tom@tromey.com>
1929
1930 * lib/mi-support.exp (default_mi_gdb_start): Call
1931 gdb_stdin_log_init.
1932 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1933 subtract one from gdb_instances.
1934 (gdb_stdin_log_write): Flush in_file.
1935
1c47ec3e
TV
19362020-10-26 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1939
6390859c
TT
19402020-10-26 Tom Tromey <tromey@adacore.com>
1941
1942 * gdb.ada/unsigned_range/foo.adb: New file.
1943 * gdb.ada/unsigned_range/pack.adb: New file.
1944 * gdb.ada/unsigned_range/pack.ads: New file.
1945 * gdb.ada/unsigned_range.exp: New file.
1946
55c3ad88
TV
19472020-10-26 Tom de Vries <tdevries@suse.de>
1948
1949 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1950
1612c4bb
TV
19512020-10-26 Tom de Vries <tdevries@suse.de>
1952
1953 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1954 for CU.
1955 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1956
7d72802b
TV
19572020-10-23 Tom de Vries <tdevries@suse.de>
1958
1959 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1960 DW_FORM_string.
1961 (Dwarf::_default_form): New proc.
1962 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1963 guessed.
1964
9476b583
TV
19652020-10-23 Tom de Vries <tdevries@suse.de>
1966
1967 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1968 * gdb.dwarf2/atomic-type.exp: Same.
1969 * gdb.dwarf2/bad-regnum.exp: Same.
1970 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1971 * gdb.dwarf2/dw2-align.exp: Same.
1972 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1973 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1974 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1975 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1976 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1977 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1978 * gdb.dwarf2/enum-type.exp: Same.
1979 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1980 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1981 * gdb.dwarf2/main-subprogram.exp: Same.
1982 * gdb.dwarf2/missing-type-name.exp: Same.
1983 * gdb.dwarf2/nonvar-access.exp: Same.
1984 * gdb.dwarf2/typedef-void-finish.exp: Same.
1985 * gdb.dwarf2/var-access.exp: Same.
1986 * gdb.dwarf2/void-type.exp: Same.
1987
4a636814
SM
19882020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1989
1990 PR gdb/26693
1991 * gdb.dwarf2/template-specification-full-name.exp: New test.
1992
557fc257
LM
19932020-10-22 Luis Machado <luis.machado@linaro.org>
1994
1995 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1996 expected an offset from the function.
1997 * gdb.base/msym-bp.exp (test): Likewise.
1998
6b4c676c
AB
19992020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2000
2001 * gdb.fortran/array-slices.exp: Add a new test.
2002
98cec4f6
GB
20032020-10-21 Gary Benson <gbenson@redhat.com>
2004
2005 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2006 fullname test with Clang. Also expand comments generally.
2007
ae86f581
TV
20082020-10-20 Tom de Vries <tdevries@suse.de>
2009
2010 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2011
8c161360
TV
20122020-10-20 Tom de Vries <tdevries@suse.de>
2013
2014 * gdb.dwarf2/arr-stride.c: Remove.
2015 * gdb.dwarf2/arr-stride.exp: Use main.c.
2016 * gdb.dwarf2/arr-subrange.c: Remove.
2017 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2018 * gdb.dwarf2/bad-regnum.c: Remove.
2019 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2020 * gdb.dwarf2/corrupt.c: Remove.
2021 * gdb.dwarf2/corrupt.exp: Use main.c.
2022 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2023 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2024 * gdb.dwarf2/dw2-icycle.c: Remove.
2025 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2026 * gdb.dwarf2/formdata16.c: Remove.
2027 * gdb.dwarf2/formdata16.exp: Use main.c.
2028 * gdb.dwarf2/implptrconst.c: Remove.
2029 * gdb.dwarf2/implptrconst.exp: Use main.c.
2030 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2031 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2032 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2033 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2034
9c2412ec
TV
20352020-10-20 Tom de Vries <tdevries@suse.de>
2036
2037 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2038 file.
2039 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2040
0cd2ad78
TV
20412020-10-20 Tom de Vries <tdevries@suse.de>
2042
2043 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2044 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2045 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2046 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2047 * gdb.dwarf2/dw2-ranges.exp: Same.
2048 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2049 * gdb.dwarf2/var-access.exp: Same.
2050
22cc388e
TT
20512020-10-19 Tom Tromey <tromey@adacore.com>
2052
2053 PR tui/26719
2054 * gdb.tui/list.exp: Check source window contents after focus
2055 change.
2056
520596f2
TV
20572020-10-17 Tom de Vries <tdevries@suse.de>
2058
2059 PR symtab/26317
2060 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2061
d1c8a76d
TV
20622020-10-17 Tom de Vries <tdevries@suse.de>
2063
2064 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2065 as suffix.
2066 * gdb.dwarf2/atomic.c: Rename to ...
2067 * gdb.dwarf2/atomic-type.c: ... this.
2068 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2069 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2070 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2071 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2072 * gdb.dwarf2/fission-mix2.c: Rename to ...
2073 * gdb.dwarf2/fission-mix-2.c: ... this.
2074 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2075 standard_testfile.
2076 * gdb.dwarf2/ada-valprint-error.exp: Same.
2077 * gdb.dwarf2/arr-stride.exp: Same.
2078 * gdb.dwarf2/arr-subrange.exp: Same.
2079 * gdb.dwarf2/atomic-type.exp: Same.
2080 * gdb.dwarf2/bad-regnum.exp: Same.
2081 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2082 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2083 * gdb.dwarf2/clang-debug-names.exp: Same.
2084 * gdb.dwarf2/comp-unit-lang.exp: Same.
2085 * gdb.dwarf2/corrupt.exp: Same.
2086 * gdb.dwarf2/count.exp: Same.
2087 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2088 * gdb.dwarf2/data-loc.exp: Same.
2089 * gdb.dwarf2/dw2-align.exp: Same.
2090 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2091 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2092 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2093 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2094 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2095 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2096 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2097 * gdb.dwarf2/dw2-inline-param.exp: Same.
2098 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2099 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2100 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2101 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2102 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2103 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2104 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2105 * gdb.dwarf2/dw2-param-error.exp: Same.
2106 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2107 * gdb.dwarf2/dw2-ranges.exp: Same.
2108 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2109 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2110 * gdb.dwarf2/dw4-sig-types.exp: Same.
2111 * gdb.dwarf2/dynarr-ptr.exp: Same.
2112 * gdb.dwarf2/enum-type.exp: Same.
2113 * gdb.dwarf2/fission-mix.exp: Same.
2114 * gdb.dwarf2/formdata16.exp: Same.
2115 * gdb.dwarf2/implptrconst.exp: Same.
2116 * gdb.dwarf2/implptrpiece.exp: Same.
2117 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2118 * gdb.dwarf2/main-subprogram.exp: Same.
2119 * gdb.dwarf2/method-ptr.exp: Same.
2120 * gdb.dwarf2/missing-sig-type.exp: Same.
2121 * gdb.dwarf2/nonvar-access.exp: Same.
2122 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2123 * gdb.dwarf2/shortpiece.exp: Same.
2124 * gdb.dwarf2/staticvirtual.exp: Same.
2125 * gdb.dwarf2/subrange.exp: Same.
2126 * gdb.dwarf2/symtab-producer.exp: Same.
2127 * gdb.dwarf2/typedef-void-finish.exp: Same.
2128 * gdb.dwarf2/var-access.exp: Same.
2129 * gdb.dwarf2/variant.exp: Same.
2130 * gdb.dwarf2/void-type.exp: Same.
2131 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2132 dw2-ranges-main.c.
2133 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2134
472d09c1
TV
21352020-10-16 Tom de Vries <tdevries@suse.de>
2136
2137 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2138
afe75f6d
TV
21392020-10-16 Tom de Vries <tdevries@suse.de>
2140
2141 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2142
8c8bd0ba
TV
21432020-10-14 Tom de Vries <tdevries@suse.de>
2144
2145 PR testsuite/26732
2146 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2147 scenario 2.
2148 * gdb.ada/mi_catch_ex_hand.exp: Same.
2149
b75d55d4
PA
21502020-10-13 Pedro Alves <pedro@palves.net>
2151
2152 * lib/mi-support.exp (mi_clean_restart): New.
2153 (mi_run_to_main): Delete.
2154 All callers adjust to use mi_clean_restart / mi_runto_main.
2155
e777225b
PA
21562020-10-13 Pedro Alves <pedro@palves.net>
2157
2158 * config/monitor.exp: Use "list -q".
2159 * gdb.arch/gdb1558.exp: Use "break -q".
2160 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2161 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2162 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2163 * gdb.base/commands.exp: Use "break -q".
2164 * gdb.base/condbreak.exp: Use "break -q".
2165 * gdb.base/ctf-ptype.exp: Use "list -q".
2166 * gdb.base/define.exp: Use "break -q".
2167 * gdb.base/del.exp: Use "break -q".
2168 * gdb.base/fullname.exp: Use "break -q".
2169 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2170 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2171 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2172 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2173 "hbreak -q".
2174 * gdb.base/included.exp: Use "list -q".
2175 * gdb.base/label.exp: Use "break -q".
2176 * gdb.base/lineinc.exp: Use "break -q".
2177 * gdb.base/list.exp: Use "list -q".
2178 * gdb.base/macscp.exp: Use "list -q".
2179 * gdb.base/pending.exp: Use "break -q".
2180 * gdb.base/prologue-include.exp: Use "break -q".
2181 * gdb.base/ptype.exp: Use "list -q".
2182 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2183 * gdb.base/server-del-break.exp: Use "break -q".
2184 * gdb.base/style.exp: Use "break -q".
2185 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2186 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2187 * gdb.cp/exception.exp: Use "tbreak -q".
2188 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2189 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2190 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2191 * gdb.dwarf2/pr13961.exp: Use "break -q".
2192 * gdb.linespec/explicit.exp: Use "list -q".
2193 * gdb.linespec/linespec.exp: Use "break -q".
2194 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2195 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2196 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2197 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2198 * gdb.trace/change-loc.exp: Use "break -q".
2199 * gdb.trace/pending.exp: Use "break -q".
2200 * gdb.tui/basic.exp: Use "list -q".
2201 * gdb.tui/list-before.exp: Use "list -q".
2202 * gdb.tui/list.exp: Use "list -q".
2203 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2204
8abd8ee8
PA
22052020-10-13 Pedro Alves <pedro@palves.net>
2206
2207 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2208 saved breakpoints file.
2209 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2210 inspecting breakpoint list.
2211 * lib/gdb.exp (runto_main): Add "qualified" to options.
2212 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2213 and handle it.
2214 (mi_runto_main): Pass 1 as qualified argument.
2215
f71e6719
PA
22162020-10-13 Pedro Alves <pedro@palves.net>
2217
2218 * lib/mi-support.exp (mi_runto_main): New proc.
2219 (mi_run_to_main): Use it.
2220 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2221 * gdb.mi/mi-var-cmd.exp: Likewise.
2222 * gdb.mi/mi-var-invalidate.exp: Likewise.
2223 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2224 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2225 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2226 * gdb.mi/user-selected-context-sync.exp: Likewise.
2227 * gdb.opt/inline-cmds.exp: Likewise.
2228 * gdb.python/py-framefilter-mi.exp: Likewise.
2229 * gdb.python/py-mi.exp: Likewise.
2230
50441f0f
PA
22312020-10-13 Pedro Alves <pedro@palves.net>
2232
2233 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2234 "runto main".
2235 * gdb.ada/small_reg_param.exp: Likewise.
2236 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2237 * gdb.base/annota1.exp: Likewise.
2238 * gdb.base/anon.exp: Likewise.
2239 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2240 * gdb.base/dprintf-non-stop.exp: Likewise.
2241 * gdb.base/dprintf.exp: Likewise.
2242 * gdb.base/gdb11530.exp: Likewise.
2243 * gdb.base/gdb11531.exp: Likewise.
2244 * gdb.base/gnu_vector.exp: Likewise.
2245 * gdb.base/interrupt-noterm.exp: Likewise.
2246 * gdb.base/memattr.exp: Likewise.
2247 * gdb.base/step-over-syscall.exp: Likewise.
2248 * gdb.base/watch-cond-infcall.exp: Likewise.
2249 * gdb.base/watch-read.exp: Likewise.
2250 * gdb.base/watch-vfork.exp: Likewise.
2251 * gdb.base/watch_thread_num.exp: Likewise.
2252 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2253 * gdb.guile/scm-frame-inline.exp: Likewise.
2254 * gdb.linespec/explicit.exp: Likewise.
2255 * gdb.opt/inline-break.exp: Likewise.
2256 * gdb.python/py-frame-inline.exp: Likewise.
2257 * gdb.reverse/break-precsave.exp: Likewise.
2258 * gdb.reverse/break-reverse.exp: Likewise.
2259 * gdb.reverse/consecutive-precsave.exp: Likewise.
2260 * gdb.reverse/consecutive-reverse.exp: Likewise.
2261 * gdb.reverse/finish-precsave.exp: Likewise.
2262 * gdb.reverse/finish-reverse.exp: Likewise.
2263 * gdb.reverse/fstatat-reverse.exp: Likewise.
2264 * gdb.reverse/getresuid-reverse.exp: Likewise.
2265 * gdb.reverse/i386-precsave.exp: Likewise.
2266 * gdb.reverse/i386-reverse.exp: Likewise.
2267 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2268 * gdb.reverse/i387-env-reverse.exp: Likewise.
2269 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2270 * gdb.reverse/insn-reverse.exp: Likewise.
2271 * gdb.reverse/machinestate-precsave.exp: Likewise.
2272 * gdb.reverse/machinestate.exp: Likewise.
2273 * gdb.reverse/pipe-reverse.exp: Likewise.
2274 * gdb.reverse/readv-reverse.exp: Likewise.
2275 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2276 * gdb.reverse/rerun-prec.exp: Likewise.
2277 * gdb.reverse/s390-mvcle.exp: Likewise.
2278 * gdb.reverse/solib-precsave.exp: Likewise.
2279 * gdb.reverse/solib-reverse.exp: Likewise.
2280 * gdb.reverse/step-precsave.exp: Likewise.
2281 * gdb.reverse/step-reverse.exp: Likewise.
2282 * gdb.reverse/time-reverse.exp: Likewise.
2283 * gdb.reverse/until-precsave.exp: Likewise.
2284 * gdb.reverse/until-reverse.exp: Likewise.
2285 * gdb.reverse/waitpid-reverse.exp: Likewise.
2286 * gdb.reverse/watch-precsave.exp: Likewise.
2287 * gdb.reverse/watch-reverse.exp: Likewise.
2288 * gdb.threads/kill.exp: Likewise.
2289 * gdb.threads/tid-reuse.exp: Likewise.
2290
d3a07122
SM
22912020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2292
2293 PR gdb/26642
2294 * gdb.base/maint-target-async-off.c: New test.
2295 * gdb.base/maint-target-async-off.exp: New test.
2296
c65c6c42
AM
22972020-10-13 Alan Modra <amodra@gmail.com>
2298
2299 * gdb.arch/powerpc-altivec.s,
2300 * gdb.arch/powerpc-power7.s,
2301 * gdb.arch/powerpc-power8.s,
2302 * gdb.arch/powerpc-power9.s,
2303 * gdb.arch/powerpc-vsx.s,
2304 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2305 * gdb.arch/powerpc-altivec.exp,
2306 * gdb.arch/powerpc-power7.exp,
2307 * gdb.arch/powerpc-power8.exp,
2308 * gdb.arch/powerpc-power9.exp,
2309 * gdb.arch/powerpc-vsx.exp,
2310 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2311 disassembly of mfvsrd/mtvsrd.
2312
f4a0f710
AM
23132020-10-13 Alan Modra <amodra@gmail.com>
2314
2315 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2316 "target architecture" output.
2317 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2318 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2319 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2320 * gdb.arch/s390-disassembler-options.exp: Likewise.
2321
87a37e5e
PA
23222020-10-12 Pedro Alves <pedro@palves.net>
2323
2324 PR exp/26602
2325 PR c++/26550
2326 * gdb.cp/ambiguous.cc (marker1): Delete.
2327 (main): Initialize all the fields of the locals. Replace marker1
2328 call with a "set breakpoint here" marker.
2329 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2330 instead of running to marker1. Add tests printing all the
2331 variables and all the fields of the variables.
2332 (test_ambiguous): New proc, expecting the new GDB output when a
2333 field access is ambiguous. Change all "warning: X ambiguous"
2334 tests to use it.
2335
71e1b6b0
GB
23362020-10-12 Gary Benson <gbenson@redhat.com>
2337
2338 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2339 * gdb.base/msym-bp-2.c (foo): Likewise.
2340 * gdb.base/msym-lang.c (foo): Likewise.
2341 * gdb.base/msym-lang-main.c (foo): Likewise.
2342 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2343 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2344 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2345 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2346 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2347 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2348 * gdb.python/py-objfile.c (static_var): Likewise.
2349 * gdb.python/py-symbol.c (rr): Likewise.
2350 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2351 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2352
9370fd51
AB
23532020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2356 output of backtrace.
2357
7c184d33
TT
23582020-10-09 Tom Tromey <tromey@adacore.com>
2359
2360 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2361 (Rec): Add field. Fix range.
2362 * gdb.ada/scalar_storage.exp: Update.
2363
3d87245c
HD
23642020-10-09 Hannes Domani <ssbssa@yahoo.de>
2365
2366 PR exp/26714
2367 * gdb.base/printcmds.exp: Add tests for void results.
2368
f5c4b229
JV
23692020-10-09 Jan Vrany <jan.vrany@labware.com>
2370
2371 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2372 is emmited for both 'set directories' and 'directory' commands.
2373
b2701685
TT
23742020-10-08 Tom Tromey <tom@tromey.com>
2375
2376 * gdb.base/style.exp: Check that "main"'s name is styled.
2377
e86efb33
TT
23782020-10-07 Tom Tromey <tromey@adacore.com>
2379
2380 * gdb.base/find.exp: Rename some tests.
2381
30897591
GB
23822020-10-06 Gary Benson <gbenson@redhat.com>
2383
2384 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2385 * gdb.base/list1.c (unused): Likewise.
2386
ced4a4c1
GB
23872020-10-06 Gary Benson <gbenson@redhat.com>
2388
2389 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2390 __attribute__ ((used)).
2391 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2392
ed3bdac4
AB
23932020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2394
2395 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2396 make use of regions throughout.
2397 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2398 not {...}.
2399 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2400
cd096ec8
HD
24012020-10-05 Hannes Domani <ssbssa@yahoo.de>
2402
2403 * gdb.base/call-sc.c: Fix return struct on stack test case.
2404 * gdb.base/call-sc.exp: Likewise.
2405
3ee6f75d
GB
24062020-10-02 Gary Benson <gbenson@redhat.com>
2407
2408 * README: Fix "paralell".
2409
f65825ec
GB
24102020-09-30 Gary Benson <gbenson@redhat.com>
2411
2412 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2413 Convert directive to lowercase.
2414 (.Labbrev1_begin): Add missing label.
2415 (abbrev code 0x1): Remove DW_AT_stmt_list.
2416 (.Ldie_b): Likewise.
2417
5f278258
TT
24182020-09-27 Tom Tromey <tom@tromey.com>
2419
2420 * gdb.tui/new-layout.exp: Use with_test_prefix.
2421
8f9929bb
GR
24222020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2423
2424 PR python/26586
2425 * gdb.python/python.exp: add test cases for the from_tty
2426 argument to gdb.execute.
2427
c20c017b
GB
24282020-09-25 Gary Benson <gbenson@redhat.com>
2429
2430 * gdb.base/infcall-nested-structs.exp.tcl: Add
2431 additional_flags=-Wno-tautological-compare for C++
2432 tests when compiling using Clang.
2433
68d654af
GB
24342020-09-25 Gary Benson <gbenson@redhat.com>
2435
2436 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2437 for .c files.
2438
b551a89f
TT
24392020-09-24 Tom Tromey <tromey@adacore.com>
2440
2441 PR tui/26638:
2442 * gdb.tui/list.exp: Check output of "focus next".
2443
20a5fcbd
TT
24442020-09-23 Tom Tromey <tom@tromey.com>
2445
2446 * gdb.dwarf2/intbits.exp: New file.
2447 * gdb.dwarf2/intbits.c: New file.
2448
b167e53f
PA
24492020-09-20 Pedro Alves <pedro@palves.net>
2450
2451 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2452 spawn_id before calling remote_close. Close secondary MI channel.
2453
dbc49e9f
PA
24542020-09-20 Pedro Alves <pedro@palves.net>
2455
2456 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2457 fails.
2458
c8d5abea
AB
24592020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2460
2461 * gdb.fortran/array-slices.exp: Update expected results.
2462 * gdb.fortran/class-allocatable-array.exp: Likewise.
2463 * gdb.fortran/multi-dim.exp: Likewise.
2464 * gdb.fortran/vla-type.exp: Likewise.
2465 * gdb.mi/mi-vla-fortran.exp: Likewise.
2466
14f9473c
VC
24672020-09-18 Victor Collod <vcollod@nvidia.com>
2468
2469 PR gdb/26635
2470 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2471 compatible with i386, and move it to...
2472 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2473 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2474 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2475
e8ef12b9
PA
24762020-09-18 Pedro Alves <pedro@palves.net>
2477
2478 PR gdb/26631
2479 * gdb.multi/multi-target-thread-find.exp: New file.
2480
e11daf7a
PA
24812020-09-18 Pedro Alves <pedro@palves.net>
2482
2483 * gdb.multi/multi-target-continue.exp: New file, factored out from
2484 multi-target.exp.
2485 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2486 multi-target.exp.
2487 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2488 multi-target.exp.
2489 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2490 multi-target.exp.
2491 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2492 multi-target.exp.
2493 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2494 multi-target.exp.
2495 * gdb.multi/multi-target.exp: Delete.
2496
d0edc2b8
AB
24972020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2498
2499 * gdb.fortran/array-slices.exp: Add missing message data.
2500
7474326c
PA
25012020-09-17 Pedro Alves <pedro@palves.net>
2502
2503 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2504
dd23068d
PA
25052020-09-17 Pedro Alves <pedro@palves.net>
2506
2507 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2508 full prototype.
2509
0640a543
PA
25102020-09-17 Pedro Alves <pedro@palves.net>
2511
2512 * gdb.python/py-as-string.c: Add cast.
2513
ef0cdbc1
PA
25142020-09-17 Pedro Alves <pedro@palves.net>
2515
2516 * gdb.base/sizeof.c (fill): Add cast.
2517
3a5eeb8b
PA
25182020-09-17 Pedro Alves <pedro@palves.net>
2519
2520 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2521
a8129512
PA
25222020-09-17 Pedro Alves <pedro@palves.net>
2523
2524 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2525 linkage name.
2526 * gdb.base/prologue.exp: Use print /d.
2527 * gdb.base/symbol-alias.exp: Handle C++ output.
2528 * gdb.base/symbol-alias2.c: Handle C++ output.
2529 [__cplusplus] (func): Explicitly specify linkage name.
2530
a83cdcb6
PA
25312020-09-17 Pedro Alves <pedro@palves.net>
2532
2533 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2534 (struct my_key_t): ... this. Adjust all references.
2535 (struct value_t): Rename to ...
2536 (struct my_value_t): ... this. Adjust all references.
2537 (create_map, add_map_element, create_map_map)
2538 (add_map_map_element): Add casts.
2539
d4bcee5c
PA
25402020-09-17 Pedro Alves <pedro@palves.net>
2541
2542 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2543 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2544
81f90489
PA
25452020-09-17 Pedro Alves <pedro@palves.net>
2546
2547 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2548
0a229804
PA
25492020-09-17 Pedro Alves <pedro@palves.net>
2550
2551 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2552 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2553 (charfoo, intfoo): Define full prototype.
2554 * gdb.base/ptype1.c (charfoo): Define full prototype.
2555 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2556 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2557
c3e5138d
PA
25582020-09-17 Pedro Alves <pedro@palves.net>
2559
2560 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2561 Don't define.
2562 (utf_32_string): Compile for both C and C++.
2563 * gdb.base/charset.exp: Use "print /d".
2564
151fdbad
PA
25652020-09-17 Pedro Alves <pedro@palves.net>
2566
2567 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2568 (nullptr): Rename to ...
2569 (null_ptr): ... this.
2570 * gdb.base/watchpoint.exp: Adjust to rename.
2571
18a25b64
PA
25722020-09-17 Pedro Alves <pedro@palves.net>
2573
2574 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2575 (three_not_flag): Add casts.
2576
11fac337
PA
25772020-09-17 Pedro Alves <pedro@palves.net>
2578
2579 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2580 char array.
2581 (main): Add references to Barrier, TestStrings, TestStringsH and
2582 TestStringsW.
2583 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2584 and expect a full prototype in C++.
2585
52626c58
PA
25862020-09-17 Pedro Alves <pedro@palves.net>
2587
2588 * gdb.base/nested-addr.c (main): Add cast.
2589 * gdb.base/nested-addr.exp: Use "print /d".
2590
52bb0902
PA
25912020-09-17 Pedro Alves <pedro@palves.net>
2592
2593 * gdb.base/break.exp (func): New. Use it throughout when
2594 expecting a function name.
2595
73e18ac9
PA
25962020-09-17 Pedro Alves <pedro@palves.net>
2597
2598 * gdb.base/display.exp: Issue "set print asm-demangle on".
2599
c8b18808
PA
26002020-09-17 Pedro Alves <pedro@palves.net>
2601
2602 * gdb.base/find.c: Include <string.h>.
2603 (init_bufs): Add cast.
2604 * gdb.base/find.exp: Issue "set print asm-demangle on".
2605
fe830662
TT
26062020-09-16 Tom Tromey <tromey@adacore.com>
2607
2608 PR gdb/26598:
2609 * gdb.base/skipcxx.exp: New file.
2610 * gdb.base/skipcxx.cc: New file.
2611
945ff6e2
TV
26122020-09-16 Tom de Vries <tdevries@suse.de>
2613
2614 PR testsuite/26617
2615 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2616 WITH_DEBUG_SECTIONS is defined.
2617 (xstr, str): New macro.
2618 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2619 to get start and size of _Dmain.
2620 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2621 using additional_flags.
2622
da1df1db
TBA
26232020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2624
2625 * gdb.base/bp-cmds-sourced-script.c: New file.
2626 * gdb.base/bp-cmds-sourced-script.exp: New test.
2627 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2628
337882d4
TV
26292020-09-16 Tom de Vries <tdevries@suse.de>
2630
2631 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2632 get the gdb prompt after issuing "monitor exit".
2633
7361f908
TV
26342020-09-16 Tom de Vries <tdevries@suse.de>
2635
2636 PR testsuite/26624
2637 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2638
4d91ddd3
TV
26392020-09-16 Tom de Vries <tdevries@suse.de>
2640
2641 PR testsuite/26618
2642 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2643
08cc37dd
TT
26442020-09-15 Tom Tromey <tromey@adacore.com>
2645
2646 PR rust/26197:
2647 * lib/rust-support.exp (rust_llvm_version): New proc.
2648 * gdb.rust/simple.exp: Check rust_llvm_version.
2649
ee6372f2
TV
26502020-09-14 Tom de Vries <tdevries@suse.de>
2651
2652 * gdb.rust/traits.exp: Fix PATH warning.
2653
dc3a371e
PA
26542020-09-13 Pedro Alves <pedro@palves.net>
2655
2656 * gdb.base/catch-follow-exec.c (main): Add explicit return
2657 statement.
2658 * gdb.base/catch-signal.c (main): Likewise.
2659 * gdb.base/condbreak-call-false.c (main): Likewise.
2660 * gdb.base/consecutive.c (main): Add explicit return
2661 statement and return type.
2662 * gdb.base/cursal.c (main): Add explicit return statement.
2663 * gdb.base/cvexpr.c (main): Likewise.
2664 * gdb.base/display.c (main): Add explicit return statement and
2665 return type.
2666 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2667 * gdb.base/endianity.c (main): Likewise.
2668 * gdb.base/execd-prog.c (main): Likewise.
2669 * gdb.base/gdb1090.c (main): Likewise.
2670 * gdb.base/info_qt.c (main): Likewise.
2671 * gdb.base/lineinc.c (main): Likewise.
2672 * gdb.base/load-command.c (main): Likewise.
2673 * gdb.base/macscp1.c (main): Likewise.
2674 * gdb.base/pr10179-a.c (main): Likewise.
2675 * gdb.base/quit-live.c (main): Likewise.
2676 * gdb.base/scope0.c (main): Likewise.
2677 * gdb.base/settings.c (main): Likewise.
2678 * gdb.base/stack-checking.c (main): Return int.
2679 * gdb.base/varargs.c (main): Add explicit return statement.
2680 * gdb.cp/ambiguous.cc (main): Likewise.
2681 * gdb.cp/anon-struct.cc (main): Likewise.
2682 * gdb.cp/anon-union.cc (main): Likewise.
2683 * gdb.cp/bool.cc (main): Likewise.
2684 * gdb.cp/bs15503.cc (main): Likewise.
2685 * gdb.cp/cplusfuncs.cc (main): Likewise.
2686 * gdb.cp/cttiadd.cc (main): Likewise.
2687 * gdb.cp/extern-c.cc (main): Likewise.
2688 * gdb.cp/filename.cc (main): Likewise.
2689 * gdb.cp/formatted-ref.cc (main): Likewise.
2690 * gdb.cp/mb-ctor.cc (main): Likewise.
2691 * gdb.cp/member-ptr.cc (main): Likewise.
2692 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2693 * gdb.cp/overload-const.cc (main): Likewise.
2694 * gdb.cp/paren-type.cc (main): Likewise.
2695 * gdb.cp/parse-lang.cc (main): Likewise.
2696 * gdb.cp/pr-1023.cc (main): Likewise.
2697 * gdb.cp/psmang1.cc (main): Likewise.
2698 * gdb.cp/readnow-language.cc (main): Likewise.
2699 * gdb.cp/ref-params.cc (main): Likewise.
2700 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2701 * gdb.cp/virtbase2.cc (main): Likewise.
2702 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2703 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2704 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2705 * gdb.mi/mi-console.c (main): Likewise.
2706 * gdb.mi/mi-read-memory.c (main): Likewise.
2707 * gdb.modula2/multidim.c (main): Likewise.
2708 * gdb.opt/inline-small-func.c (main): Likewise.
2709 * gdb.python/py-rbreak.c (main): Likewise.
2710 * gdb.stabs/exclfwd1.c (main): Likewise.
2711 * gdb.trace/qtro.c (main): Likewise.
2712
af26601c
PA
27132020-09-13 Pedro Alves <pedro@palves.net>
2714
2715 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2716 instead of getenv.
2717
2f4b83cd
PA
27182020-09-13 Pedro Alves <pedro@palves.net>
2719
2720 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2721 instead of spawning GDB with remote_spawn.
2722 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2723 gdb_spawn instead of spawning GDB with remote_spawn.
2724
c49da0e4
PA
27252020-09-13 Pedro Alves <pedro@palves.net>
2726
2727 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2728 file and add calls to first and second.
2729 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2730 add call to f.
2731
6791b117
PA
27322020-09-13 Pedro Alves <pedro@palves.net>
2733
2734 * gdb.mi/mi-break-qualified.cc: New file.
2735 * gdb.mi/mi-break-qualified.exp: New file.
2736 * lib/mi-support.exp (mi_create_breakpoint_multi)
2737 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2738 procedures.
2739 (mi_create_breakpoint_1): New, factored out from
2740 mi_create_breakpoint.
2741
3b8d4c5c
PA
27422020-09-13 Pedro Alves <pedro@palves.net>
2743
2744 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2745 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2746 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2747 (register_class): Delete.
2748 (main): Don't call register_class.
2749
d5f96005
PA
27502020-09-13 Pedro Alves <pedro@palves.net>
2751
2752 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2753 (do_tests): Remove "calling method for small class" test.
2754 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2755 (register_class): Delete.
2756 (main): Don't call register_class.
2757 * gdb.cp/call-method-register.exp: New file, based on bits removed
2758 from classes.exp.
2759 * gdb.cp/call-method-register.cc: New file, based on bits removed
2760 from classes.cc.
2761
77f2120b
PA
27622020-09-13 Pedro Alves <pedro@palves.net>
2763
2764 * gdb.base/msym-bp-2.c: New.
2765 * gdb.base/msym-bp-shl-lib.c: New file.
2766 * gdb.base/msym-bp-shl-main-2.c: New file.
2767 * gdb.base/msym-bp-shl-main.c: New file.
2768 * gdb.base/msym-bp-shl.exp: New file.
2769 * gdb.base/msym-bp.c: New file.
2770 * gdb.base/msym-bp.exp: New file.
2771
32aea73e
JB
27722020-09-13 Joel Brobecker <brobecker@adacore.com>
2773
2774 * gdb.base/default.exp: Change $_gdb_major to 11.
2775
2a67f09d
FW
27762020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2777 Felix Willgerodt <Felix.Willgerodt@intel.com>
2778
2779 * x86-avx512bf16.c: New file.
2780 * x86-avx512bf16.exp: Likewise.
2781 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2782
ad570dd7
TV
27832020-09-11 Tom de Vries <tdevries@suse.de>
2784
2785 PR exp/26602
2786 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2787
a56f7391
TBA
27882020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2789
2790 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2791
918619e5
AM
27922020-09-10 Alan Modra <amodra@gmail.com>
2793
2794 PR 26597
2795 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2796
cac1e71d
TV
27972020-09-08 Tom de Vries <tdevries@suse.de>
2798
2799 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2800 after gdb_starti_cmd.
2801
c5cd900e
AKS
28022020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2803
2804 * lib/fortran.exp (fortran_complex8): New proc.
2805 (fortran_complex16): New proc.
2806 * gdb.fortran/complex.exp: Use routines from fortran.exp
2807 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2808 * gdb.fortran/vla-ptr-info.exp: Likewise.
2809
8f5c6526
TV
28102020-09-03 Tom de Vries <tdevries@suse.de>
2811
2812 PR breakpoint/26546
2813 * gdb.base/label-without-address.exp: Runto main first.
2814
02c6f3f1
TT
28152020-09-02 Tom Tromey <tromey@adacore.com>
2816
2817 * gdb.ada/mi_var_access.exp: Test children of access variable.
2818 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2819 * gdb.ada/mi_var_array.exp: Update.
2820
efe24f05
KB
28212020-08-31 Kevin Buettner <kevinb@redhat.com>
2822
2823 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2824 on docker w/ AUFS storage driver.
2825
973695d6
KB
28262020-08-31 Kevin Buettner <kevinb@redhat.com>
2827
2828 * gdb.base/corefile2.exp (renamed binfile): New tests.
2829
f3bd50f1
SM
28302020-08-31 Simon Marchi <simon.marchi@efficios.com>
2831
2832 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2833
22b9b4b0
SL
28342020-08-31 Simon Marchi <simon.marchi@efficios.com>
2835
2836 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2837 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2838
8efaf6b3
SM
28392020-08-31 Simon Marchi <simon.marchi@efficios.com>
2840
2841 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2842 output, printing a "not saved" value from history and printing a
2843 convenience variable created from a "not saved" value.
2844
e840f2e3
TV
28452020-08-31 Tom de Vries <tdevries@suse.de>
2846
2847 * gdb.base/eh_return.exp: Use nopie.
2848
8f57f343
PA
28492020-08-28 Pedro Alves <pedro@palves.net>
2850
2851 * gdb.base/advance-until-multiple-locations.exp
2852 (advance_overload, until_overload): Adjust to match the
2853 frame/function header instead of the source line text.
2854
626d2320
TV
28552020-08-28 Tom de Vries <tdevries@suse.de>
2856
2857 * gdb.base/label-without-address.c: New test.
2858 * gdb.base/label-without-address.exp: New file.
2859
df631783
PA
28602020-08-27 Pedro Alves <pedro@palves.net>
2861
2862 PR gdb/26523
2863 PR gdb/26524
2864 * gdb.base/advance-until-multiple-locations.cc: New.
2865 * gdb.base/advance-until-multiple-locations.exp: New.
2866
48b076bb
SM
28672020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2868
2869 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2870
c2015ce4
AB
28712020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2872
2873 * gdb.arch/amd64-byte.exp: Make test names unique, use
2874 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2875 * gdb.arch/amd64-dword.exp: Likewise.
2876 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2877 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2878 unique.
2879 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2880 * gdb.arch/amd64-word.exp: Make test names unique, use
2881 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2882 * gdb.arch/i386-byte.exp: Make test names unique, use
2883 gdb_breakpoint.
2884 * gdb.arch/i386-word.exp: Likewise.
2885
995d3a19
SV
28862020-08-25 Shahab Vahedi <shahab@synopsys.com>
2887
2888 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2889
8cac2b31
SM
28902020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2891
2892 PR gdb/26532
2893 * gdb.threads/stepi-random-signal.exp: Update pattern.
2894
2bc19622
SM
28952020-08-25 Simon Marchi <simon.marchi@efficios.com>
2896
2897 PR gdb/26532
2898 * gdb.base/ui-redirect.exp: Update pattern.
2899
b04aa1fc
GB
29002020-08-25 Gary Benson <gbenson@redhat.com>
2901
2902 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2903 when compiling with clang.
8571e9c8 2904 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2905
9f68b453
GB
29062020-08-25 Gary Benson <gbenson@redhat.com>
2907
2908 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2909 Add additional_flags=-Wno-inaccessible-base when compiling
2910 with GCC >= 10.1 or clang. Add additional_flags=-w when
2911 compiling with GCC < 10.
2912
3945d2d7
GM
29132020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2914
2915 PR m2/26372
fc5d6901
SM
2916 * gdb.modula2/multidim.c: New file.
2917 * gdb.modula2/multidim.exp: New file.
3945d2d7 2918
60122dbe
SM
29192020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2920
2921 * lib/gdb.exp (runto): Always emit fail on internal error.
2922
1eb8556f
SM
29232020-08-24 Simon Marchi <simon.marchi@efficios.com>
2924
2925 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2926 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2927 Likewise.
2928 * gdb.threads/stepi-random-signal.exp: Likewise.
2929
33bf4c5c
TBA
29302020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2931
2932 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2933 * gdb.trace/strace.exp: Ditto.
2934
c2fd7fae
AKS
29352020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2936
2937 * gdb.fortran/vla-type.exp: Skip commands not required for
2938 the Flang compiled binaries after prologue fix.
2939
326afb72
TT
29402020-08-17 Tom de Vries <tdevries@suse.de>
2941 Tom Tromey <tromey@adacore.com>
2942
2943 PR rust/26197:
2944 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2945
3ae7ab99
TT
29462020-08-17 Tom Tromey <tromey@adacore.com>
2947
2948 * gdb.ada/mi_var_access.exp: New file.
2949 * gdb.ada/mi_var_access/mi_access.adb: New file.
2950 * gdb.ada/mi_var_access/pck.adb: New file.
2951 * gdb.ada/mi_var_access/pck.ads: New file.
2952
f569c1c5
TV
29532020-08-16 Tom de Vries <tdevries@suse.de>
2954
2955 PR gdb/25350
2956 * gdb.base/eh_return.c: New test.
2957 * gdb.base/eh_return.exp: New file.
2958
3d11c30a
TV
29592020-08-15 Tom de Vries <tdevries@suse.de>
2960
2961 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2962 (mixed_func_1d_): Use fortran_charlen_t in decl.
2963
547ce8f0
TV
29642020-08-15 Tom de Vries <tdevries@suse.de>
2965
2966 PR backtrace/26390
2967 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2968 Update expected pattern.
2969
a54a7f13
PA
29702020-08-13 Pedro Alves <pedro@palves.net>
2971
2972 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2973 * gdb.fortran/library-module.exp: Likewise.
2974 * gdb.fortran/logical.exp: Likewise.
2975 * gdb.fortran/module.exp: Likewise.
2976 * gdb.fortran/print_type.exp: Likewise.
2977 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2978 * gdb.fortran/vla-datatypes.exp: Likewise.
2979 * gdb.fortran/vla-history.exp: Likewise.
2980 * gdb.fortran/vla-ptr-info.exp: Likewise.
2981 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2982 * gdb.fortran/vla-ptype.exp: Likewise.
2983 * gdb.fortran/vla-sizeof.exp: Likewise.
2984 * gdb.fortran/vla-type.exp: Likewise.
2985 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2986 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2987 * gdb.fortran/vla-value-sub.exp: Likewise.
2988 * gdb.fortran/vla-value.exp: Likewise.
2989
7a82e903
PA
29902020-08-13 Pedro Alves <pedro@palves.net>
2991
2992 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2993 * gdb.ada/access_to_packed_array.exp: Likewise.
2994 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2995 * gdb.ada/addr_arith.exp: Likewise.
2996 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2997 * gdb.ada/arr_arr.exp: Likewise.
2998 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2999 * gdb.ada/array_bounds.exp: Likewise.
3000 * gdb.ada/array_of_variable_length.exp: Likewise.
3001 * gdb.ada/array_ptr_renaming.exp: Likewise.
3002 * gdb.ada/array_subscript_addr.exp: Likewise.
3003 * gdb.ada/arraydim.exp: Likewise.
3004 * gdb.ada/arrayparam.exp: Likewise.
3005 * gdb.ada/arrayptr.exp: Likewise.
3006 * gdb.ada/assign_1.exp: Likewise.
3007 * gdb.ada/assign_arr.exp: Likewise.
3008 * gdb.ada/atomic_enum.exp: Likewise.
3009 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3010 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3011 * gdb.ada/bias.exp: Likewise.
3012 * gdb.ada/boolean_expr.exp: Likewise.
3013 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3014 * gdb.ada/bp_enum_homonym.exp: Likewise.
3015 * gdb.ada/bp_inlined_func.exp: Likewise.
3016 * gdb.ada/bp_on_var.exp: Likewise.
3017 * gdb.ada/bp_range_type.exp: Likewise.
3018 * gdb.ada/bp_reset.exp: Likewise.
3019 * gdb.ada/call_pn.exp: Likewise.
3020 * gdb.ada/catch_assert_if.exp: Likewise.
3021 * gdb.ada/catch_ex.exp: Likewise.
3022 * gdb.ada/catch_ex_std.exp: Likewise.
3023 * gdb.ada/char_enum.exp: Likewise.
3024 * gdb.ada/char_param.exp: Likewise.
3025 * gdb.ada/complete.exp: Likewise.
3026 * gdb.ada/cond_lang.exp: Likewise.
3027 * gdb.ada/convvar_comp.exp: Likewise.
3028 * gdb.ada/dgopt.exp: Likewise.
3029 * gdb.ada/disc_arr_bound.exp: Likewise.
3030 * gdb.ada/display_nested.exp: Likewise.
3031 * gdb.ada/dot_all.exp: Likewise.
3032 * gdb.ada/dyn_loc.exp: Likewise.
3033 * gdb.ada/dyn_stride.exp: Likewise.
3034 * gdb.ada/excep_handle.exp: Likewise.
3035 * gdb.ada/expr_delims.exp: Likewise.
3036 * gdb.ada/expr_with_funcall.exp: Likewise.
3037 * gdb.ada/exprs.exp: Likewise.
3038 * gdb.ada/fin_fun_out.exp: Likewise.
3039 * gdb.ada/fixed_cmp.exp: Likewise.
3040 * gdb.ada/formatted_ref.exp: Likewise.
3041 * gdb.ada/frame_arg_lang.exp: Likewise.
3042 * gdb.ada/frame_args.exp: Likewise.
3043 * gdb.ada/fullname_bp.exp: Likewise.
3044 * gdb.ada/fun_addr.exp: Likewise.
3045 * gdb.ada/fun_in_declare.exp: Likewise.
3046 * gdb.ada/fun_overload_menu.exp: Likewise.
3047 * gdb.ada/fun_renaming.exp: Likewise.
3048 * gdb.ada/funcall_char.exp: Likewise.
3049 * gdb.ada/funcall_param.exp: Likewise.
3050 * gdb.ada/funcall_ptr.exp: Likewise.
3051 * gdb.ada/funcall_ref.exp: Likewise.
3052 * gdb.ada/homonym.exp: Likewise.
3053 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3054 * gdb.ada/info_auto_lang.exp: Likewise.
3055 * gdb.ada/info_exc.exp: Likewise.
3056 * gdb.ada/info_types.exp: Likewise.
3057 * gdb.ada/int_deref.exp: Likewise.
3058 * gdb.ada/interface.exp: Likewise.
3059 * gdb.ada/iwide.exp: Likewise.
3060 * gdb.ada/lang_switch.exp: Likewise.
3061 * gdb.ada/length_cond.exp: Likewise.
3062 * gdb.ada/maint_with_ada.exp: Likewise.
3063 * gdb.ada/mi_catch_assert.exp: Likewise.
3064 * gdb.ada/mi_catch_ex.exp: Likewise.
3065 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3066 * gdb.ada/mi_dyn_arr.exp: Likewise.
3067 * gdb.ada/mi_ex_cond.exp: Likewise.
3068 * gdb.ada/mi_exc_info.exp: Likewise.
3069 * gdb.ada/mi_interface.exp: Likewise.
3070 * gdb.ada/mi_prot.exp: Likewise.
3071 * gdb.ada/mi_ref_changeable.exp: Likewise.
3072 * gdb.ada/mi_string_access.exp: Likewise.
3073 * gdb.ada/mi_task_arg.exp: Likewise.
3074 * gdb.ada/mi_task_info.exp: Likewise.
3075 * gdb.ada/mi_var_array.exp: Likewise.
3076 * gdb.ada/mi_var_union.exp: Likewise.
3077 * gdb.ada/mi_variant.exp: Likewise.
3078 * gdb.ada/minsyms.exp: Likewise.
3079 * gdb.ada/mod_from_name.exp: Likewise.
3080 * gdb.ada/nested.exp: Likewise.
3081 * gdb.ada/null_array.exp: Likewise.
3082 * gdb.ada/optim_drec.exp: Likewise.
3083 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3084 * gdb.ada/packed_array_assign.exp: Likewise.
3085 * gdb.ada/packed_tagged.exp: Likewise.
3086 * gdb.ada/pp-rec-component.exp: Likewise.
3087 * gdb.ada/print_chars.exp: Likewise.
3088 * gdb.ada/print_pc.exp: Likewise.
3089 * gdb.ada/ptr_typedef.exp: Likewise.
3090 * gdb.ada/ptype_arith_binop.exp: Likewise.
3091 * gdb.ada/ptype_array.exp: Likewise.
3092 * gdb.ada/ptype_field.exp: Likewise.
3093 * gdb.ada/ptype_tagged_param.exp: Likewise.
3094 * gdb.ada/ptype_union.exp: Likewise.
3095 * gdb.ada/py_range.exp: Likewise.
3096 * gdb.ada/py_taft.exp: Likewise.
3097 * gdb.ada/rdv_wait.exp: Likewise.
3098 * gdb.ada/rec_comp.exp: Likewise.
3099 * gdb.ada/rec_return.exp: Likewise.
3100 * gdb.ada/ref_param.exp: Likewise.
3101 * gdb.ada/ref_tick_size.exp: Likewise.
3102 * gdb.ada/rename_subscript_param.exp: Likewise.
3103 * gdb.ada/repeat_dyn.exp: Likewise.
3104 * gdb.ada/same_component_name.exp: Likewise.
3105 * gdb.ada/same_enum.exp: Likewise.
3106 * gdb.ada/scalar_storage.exp: Likewise.
3107 * gdb.ada/set_wstr.exp: Likewise.
3108 * gdb.ada/small_reg_param.exp: Likewise.
3109 * gdb.ada/str_binop_equal.exp: Likewise.
3110 * gdb.ada/str_ref_cmp.exp: Likewise.
3111 * gdb.ada/str_uninit.exp: Likewise.
3112 * gdb.ada/sub_variant.exp: Likewise.
3113 * gdb.ada/sym_print_name.exp: Likewise.
3114 * gdb.ada/taft_type.exp: Likewise.
3115 * gdb.ada/tagged.exp: Likewise.
3116 * gdb.ada/tagged_access.exp: Likewise.
3117 * gdb.ada/task_bp.exp: Likewise.
3118 * gdb.ada/task_switch_in_core.exp: Likewise.
3119 * gdb.ada/tasks.exp: Likewise.
3120 * gdb.ada/tick_last_segv.exp: Likewise.
3121 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3122 * gdb.ada/type_coercion.exp: Likewise.
3123 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3124 * gdb.ada/unchecked_union.exp: Likewise.
3125 * gdb.ada/uninitialized_vars.exp: Likewise.
3126 * gdb.ada/var_arr_attrs.exp: Likewise.
3127 * gdb.ada/var_arr_typedef.exp: Likewise.
3128 * gdb.ada/var_rec_arr.exp: Likewise.
3129 * gdb.ada/variant-record.exp: Likewise.
3130 * gdb.ada/variant.exp: Likewise.
3131 * gdb.ada/variant_record_packed_array.exp: Likewise.
3132 * gdb.ada/varsize_limit.exp: Likewise.
3133 * gdb.ada/whatis_array_val.exp: Likewise.
3134 * gdb.ada/widewide.exp: Likewise.
3135 * gdb.ada/win_fu_syms.exp: Likewise.
3136
31372020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3138
3139 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3140
10c381b5
AB
31412020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3142
3143 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3144 unset the array variable.
3145
8f34b746
TV
31462020-08-03 Tom de Vries <tdevries@suse.de>
3147
3148 PR symtab/26333
3149 * lib/dwarf.exp (DW_LNE_user): New proc.
3150 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3151 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3152
0245e136
KB
31532020-07-31 Kevin Buettner <kevinb@redhat.com>
3154
3155 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3156 to 'uintptr_t'
3157 (inttypes.h): Include.
3158
9ef1ec5d
KB
31592020-07-31 Kevin Buettner <kevinb@redhat.com>
3160
3161 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3162 (C5_24k): Delete.
3163 (C5_8k, C5_64k, C5_256k): New macros.
3164 (buf_ro): Allocate 256 KiB of initialized data.
3165
4c55e970
TBA
31662020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3167
3168 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3169 that attempt to overwrite an existing condition with a condition
3170 that fails parsing and also with a condition that parses fine
3171 but contains junk at the end.
3172
1e620590
TBA
31732020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3174
3175 * gdb.base/condbreak-bad.c: New test.
3176 * gdb.base/condbreak-bad.exp: New file.
3177
e12dcc50
TV
31782020-07-30 Tom de Vries <tdevries@suse.de>
3179
3180 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3181 out of ...
3182 (GDBInfoModuleSymbols::check_entry): ... here.
3183 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3184 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3185 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3186
6cc64caa
TV
31872020-07-30 Tom de Vries <tdevries@suse.de>
3188
3189 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3190 "__class_some_module_Number_t" optional.
3191
90fd07fc
TV
31922020-07-29 Tom de Vries <tdevries@suse.de>
3193
3194 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3195 multiple locations.
3196
f5c79e97
TV
31972020-07-29 Tom de Vries <tdevries@suse.de>
3198
3199 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3200 rather than function name.
3201
f75a0693
AB
32022020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3203
3204 PR symtab/26270:
3205 * gdb.cp/disasm-func-name.cc: New file.
3206 * gdb.cp/disasm-func-name.exp: New file.
3207
4888741a
TT
32082020-07-28 Tom Tromey <tromey@adacore.com>
3209
3210 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3211 'varval' location.
3212
43d5901d
AB
32132020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * gdb.python/py-unwind.py: Update to make use of a register
3216 descriptor.
3217
14fa8fb3
AB
32182020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3219
3220 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3221
e79eb02f
AB
32222020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3223
3224 PR fortran/23051
3225 PR fortran/26139
3226 * gdb.fortran/class-allocatable-array.exp: New file.
3227 * gdb.fortran/class-allocatable-array.f90: New file.
3228 * gdb.fortran/pointer-to-pointer.exp: New file.
3229 * gdb.fortran/pointer-to-pointer.f90: New file.
3230
876518dd
TV
32312020-07-25 Tom de Vries <tdevries@suse.de>
3232
3233 PR symtab/26243
3234 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3235 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3236
6dcfb80a
TV
32372020-07-24 Tom de Vries <tdevries@suse.de>
3238
3239 PR testsuite/26293
3240 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3241
e7bc9db8
PA
32422020-07-23 Pedro Alves <pedro@palves.net>
3243
3244 * gdb.server/server-kill.exp (prepare): New, factored out from the
3245 top level.
3246 (kill_server): New.
3247 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3248 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3249
78344df7
AB
32502020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3251
3252 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3253
25dfed24
SL
32542020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3255
3256 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3257 Initialize to empty string at top level.
3258 (gdb_wrapper_init): Revert check for file existence on build.
3259 Build the wrapper in its default place, not a build-specific
3260 location. When host == build, make the pathname absolute.
3261 (gdb_compile): Delete leftover declaration of
3262 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3263 string instead of uninitialized.
3264
7da515fd
KB
32652020-07-22 Kevin Buettner <kevinb@redhat.com>
3266
3267 * gdb.base/corefile2.exp: New file.
3268 * gdb.base/coremaker2.exp: New file.
3269
9c5ec5c2
KB
32702020-07-22 Kevin Buettner <kevinb@redhat.com>
3271
3272 * gdb.base/coredump-filter.exp: Add second
3273 non-Private-Shared-Anon-File test.
3274 (test_disasm): Rename binfile for test which is expected
3275 to fail.
3276
f9e233c9
KB
32772020-07-22 Kevin Buettner <kevinb@redhat.com>
3278
3279 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3280 data in core file".
3281 * gdb.base/coremaker.c (buf2ro): New global.
3282 (mmapdata): Add a read-only mmap mapping.
3283
94c265d7
KB
32842020-07-22 Kevin Buettner <kevinb@redhat.com>
3285
3286 PR corefiles/25631
3287 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3288 New test.
3289 * gdb.base/coremaker.c (buf3): New global.
3290 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3291 flags.
3292
32932020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3294
3295 * gdb.base/coremaker.c (filler_ro): New global constant.
3296
32fa152e
TT
32972020-07-22 Tom Tromey <tromey@adacore.com>
3298
3299 * gdb.ada/mi_prot.exp: New file.
3300 * gdb.ada/mi_prot/pkg.adb: New file.
3301 * gdb.ada/mi_prot/pkg.ads: New file.
3302 * gdb.ada/mi_prot/prot.adb: New file.
3303
c8474dc3
TBA
33042020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3305
3306 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3307 loads two JITers.
3308
baf8791e
AB
33092020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3310
3311 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3312
f7306dac
AB
33132020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3314
3315 * gdb.python/py-arch-reg-names.exp: Additional tests.
3316
6d3d6e4b
TV
33172020-07-21 Tom de Vries <tdevries@suse.de>
3318
3319 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3320 breakpoint locations".
3321 * gdb.reverse/solib-reverse.exp: Same.
3322
803d0592
TV
33232020-07-21 Tom de Vries <tdevries@suse.de>
3324
3325 * gdb.reverse/step-reverse.c (callee): Merge statements.
3326
e9bdc510
TV
33272020-07-21 Tom de Vries <tdevries@suse.de>
3328
3329 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3330 line numbers for some variables.
3331
f0f9e75a
TV
33322020-07-21 Tom de Vries <tdevries@suse.de>
3333
3334 * gdb.opt/inline-locals.c (init_array): New func.
3335 (func1): Use init_array.
3336 * gdb.opt/inline-locals.exp: Update pattern.
3337
bd460ecb
TV
33382020-07-21 Tom de Vries <tdevries@suse.de>
3339
3340 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3341 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3342
ae5369e7
LC
33432020-07-20 Ludovic Courtès <ludo@gnu.org>
3344
3345 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3346 * gdb.guile/types-module.exp: Remove "ERROR:" from
3347 regexps since Guile 3.0 no longer prints that.
3348
68cf161c
LC
33492020-07-20 Ludovic Courtès <ludo@gnu.org>
3350
3351 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3352 error regexp to match on Guile 2.2.
3353
c14b4913
GB
33542020-07-20 Gary Benson <gbenson@redhat.com>
3355
3356 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3357 with clang.
3358
b243ba58
TV
33592020-07-20 Tom de Vries <tdevries@suse.de>
3360
3361 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3362 (omp_set_lock_in_order): New function.
3363 (single_scope, multi_scope, nested_func, nested_parallel): Use
3364 omp_set_lock_in_order and omp_unset_lock.
3365 (main): Init and destroy lock and lock2.
3366
c06ad8b5
TV
33672020-07-20 Tom de Vries <tdevries@suse.de>
3368
3369 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3370
6e22f117
TV
33712020-07-20 Tom de Vries <tdevries@suse.de>
3372
3373 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3374
33176ea7
TV
33752020-07-17 Tom de Vries <tdevries@suse.de>
3376
3377 * gdb.base/valgrind-infcall-2.c: New test.
3378 * gdb.base/valgrind-infcall-2.exp: New file.
3379 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3380
90c3ec2d
TV
33812020-07-17 Tom de Vries <tdevries@suse.de>
3382
3383 * gdb.dlang/circular.c (found): Use found_label as label name.
3384 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3385 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3386 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3387 * gdb.dwarf2/ada-linkage-name.exp: Same.
3388 * gdb.dwarf2/arr-subrange.exp: Same.
3389 * gdb.dwarf2/atomic-type.exp: Same.
3390 * gdb.dwarf2/comp-unit-lang.exp: Same.
3391 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3392 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3393 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3394 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3395 * gdb.dwarf2/implptr-64bit.exp: Same.
3396 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3397 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3398 * gdb.dwarf2/imported-unit.exp: Same.
3399 * gdb.dwarf2/main-subprogram.exp: Same.
3400 * gdb.dwarf2/missing-type-name.exp: Same.
3401 * gdb.dwarf2/nonvar-access.exp: Same.
3402 * gdb.dwarf2/struct-with-sig.exp: Same.
3403 * gdb.dwarf2/typedef-void-finish.exp: Same.
3404 * gdb.dwarf2/void-type.exp: Same.
3405
10da644d
TV
34062020-07-17 Tom de Vries <tdevries@suse.de>
3407
3408 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3409 src parameter.
3410 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3411 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3412 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3413 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3414 * gdb.dwarf2/dwz.exp: Same.
3415 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3416 * gdb.dwarf2/implref-array.exp: Same.
3417 * gdb.dwarf2/implref-const.exp: Same.
3418 * gdb.dwarf2/implref-global.exp: Same.
3419 * gdb.dwarf2/implref-struct.exp: Same.
3420 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3421 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3422 * gdb.dwarf2/var-access.exp: Same.
3423 * gdb.dwarf2/varval.exp: Same.
3424 * gdb.trace/entry-values.exp: Same.
3425
315e6afc
TV
34262020-07-17 Tom de Vries <tdevries@suse.de>
3427
3428 * lib/dwarf.exp (Dwarf::extern): Remove.
3429 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3430 * gdb.dlang/circular.exp: Same.
3431 * gdb.dwarf2/comp-unit-lang.exp: Same.
3432 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3433 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3434 * gdb.dwarf2/dwz.exp: Same.
3435 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3436 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3437 * gdb.dwarf2/imported-unit.exp: Same.
3438 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3439
5597c940
SL
34402020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3441
3442 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3443 Use double quotes instead of single quotes.
3444
d0ce17d8
CT
34452020-07-16 Caroline Tice <cmtice@google.com>
3446
3447 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3448 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3449
853772cc
TV
34502020-07-16 Tom de Vries <tdevries@suse.de>
3451
3452 * lib/dwarf.exp (program): Initialize _line.
3453 (DW_LNE_end_sequence): Reinitialize _line.
3454 (DW_LNS_advance_line): Update _line.
3455 (line): New proc.
3456 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3457 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3458 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3459 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3460 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3461 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3462
fe07b572
AB
34632020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3464
3465 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3466 generic.
3467
52781cce
TV
34682020-07-15 Tom de Vries <tdevries@suse.de>
3469
3470 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3471 is_amd64_regs_target.
3472
3dcc261c
AB
34732020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3474
3475 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3476 * gdb.fortran/ptype-on-functions.f90: Likewise.
3477
054a0959
SM
34782020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3479
3480 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3481 values in documentation for addr_size to 4 and 8.
3482
ccb9eba6
AB
34832020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3484
3485 * gdb.arch/amd64-osabi.exp: Update.
3486 * gdb.arch/arm-disassembler-options.exp: Update.
3487 * gdb.arch/powerpc-disassembler-options.exp: Update.
3488 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3489 * gdb.arch/s390-disassembler-options.exp: Update.
3490 * gdb.base/all-architectures.exp.tcl: Update.
3491 * gdb.base/attach-pie-noexec.exp: Update.
3492 * gdb.base/catch-syscall.exp: Update.
3493 * gdb.xml/tdesc-arch.exp: Update.
3494
025a39a7
TV
34952020-07-14 Tom de Vries <tdevries@suse.de>
3496
3497 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3498 (local_gettid): ... this.
3499 (fn): Update.
3500
74e4b667
SL
35012020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3502
3503 * gdb.base/info_sources.exp: Skip directory match tests on
3504 remote hosts.
3505
f413dd74
GB
35062020-07-13 Gary Benson <gbenson@redhat.com>
3507
3508 * gdb.base/savedregs.exp (caller): Use parentheses to
3509 make expected expression evaluation ordering explicit.
3510
915771bb
GB
35112020-07-13 Gary Benson <gbenson@redhat.com>
3512
3513 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3514
2a122642
GB
35152020-07-13 Gary Benson <gbenson@redhat.com>
3516
3517 * gdb.base/bigcore.c (main): Use a volatile pointer when
3518 attempting to trigger a SIGSEGV.
3519 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3520 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3521 * gdb.base/savedregs.c (thrower): Likewise.
3522 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3523
3f00c730
GB
35242020-07-13 Gary Benson <gbenson@redhat.com>
3525
3526 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3527 defining and using VLA structure fields into...
3528 * gdb.base/vla-struct-fields.c: New file.
3529 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3530 tests into...
3531 * gdb.base/vla-struct-fields.exp: New file.
3532
963eeee4
TV
35332020-07-13 Tom de Vries <tdevries@suse.de>
3534
3535 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3536 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3537 * gdb.base/gold-gdb-index.exp: Same.
3538 * gdb.base/morestack.exp: Same.
3539
0ed35c9a
DX
35402020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3541
3542 PR rust/26121
3543 * gdb.rust/modules.rs: Prevent linker from discarding test
3544 symbol.
3545
4fdba23d
PA
35462020-07-10 Pedro Alves <pedro@palves.net>
3547
3548 PR gdb/26199
3549 * gdb.multi/multi-target.c (exit_thread): New.
3550 (thread_start): Break loop if EXIT_THREAD.
3551 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3552 (top level) Call test_no_resumed.
3553
15f3b077
TT
35542020-07-08 Tom Tromey <tromey@adacore.com>
3555
3556 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3557 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3558
9fc501fd
AB
35592020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3560
3561 PR python/22748
3562 * gdb.opt/inline-frame-tailcall.c: New file.
3563 * gdb.opt/inline-frame-tailcall.exp: New file.
3564 * gdb.python/py-unwind-inline.c: New file.
3565 * gdb.python/py-unwind-inline.exp: New file.
3566 * gdb.python/py-unwind-inline.py: New file.
3567
64cb3757
AB
35682020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3569
3570 * gdb.python/py-arch-reg-groups.exp: New file.
3571
0f767f94
AB
35722020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3573
3574 * gdb.python/py-arch-reg-names.exp: New file.
3575
87dbc774
AB
35762020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3577
3578 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3579 gdb.PendingFrame.architecture method.
3580
d8cc8af6
TV
35812020-07-06 Tom de Vries <tdevries@suse.de>
3582
3583 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3584
3c8ea5be
PA
35852020-07-03 Pedro Alves <palves@redhat.com>
3586
3587 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3588 explicitly write negative numbers.
3589 * gdb.base/structs2.exp: Adjust expected output.
3590
bf90c83a
PA
35912020-07-03 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/charset.c (init_string): Change all char parameters to
3594 unsigned char parameters.
3595
2eb82157
PA
35962020-07-03 Pedro Alves <palves@redhat.com>
3597
3598 * gdb.base/call-sc.exp (start_scalars_test): Use
3599 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3600 * gdb.base/overlays.c: Remove references to PARAMS.
3601 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3602 * gdb.base/reread.exp: Don't set 'prototypes' global.
3603 * gdb.base/structs.exp (start_structs_test): Use
3604 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3605 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3606 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3607 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3608 call.
3609 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3610
9adda7af
PA
36112020-07-03 Pedro Alves <palves@redhat.com>
3612
3613 * gdb.base/m32rovly.c: Delete.
3614 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3615
2a17c803
PW
36162020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3617
3618 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3619 of gdb_py_test_multiple.
3620 * gdb.python/py-cmd.exp: Likewise.
3621 * gdb.python/py-events.exp: Likewise.
3622 * gdb.python/py-function.exp: Likewise.
3623 * gdb.python/py-inferior.exp: Likewise.
3624 * gdb.python/py-infthread.exp: Likewise.
3625 * gdb.python/py-linetable.exp: Likewise.
3626 * gdb.python/py-parameter.exp: Likewise.
3627 * gdb.python/py-value.exp: Likewise.
3628
b011fe1a
TV
36292020-06-30 Tom de Vries <tdevries@suse.de>
3630
3631 PR testsuite/26175
3632 * lib/future.exp (gdb_default_target_compile): Detect and handle
3633 early_flags.
3634
df5b8876
SM
36352020-06-29 Simon Marchi <simon.marchi@efficios.com>
3636
3637 * boards/simavr.exp (gdb_load): Catch errors when closing
3638 previous connection. Close connection, wait for process and
3639 unset simavr_spawn_id on failure.
3640
a3ca48cd
TV
36412020-06-29 Tom de Vries <tdevries@suse.de>
3642
3643 * lib/gdb.exp (unknown): Make test-case unresolved.
3644
b0237c0e
TV
36452020-06-29 Tom de Vries <tdevries@suse.de>
3646
3647 PR gdb/25475
3648 * gdb.server/solib-list.exp: Verify that the symbol reload
3649 confirmation question is asked.
3650
c0b3b3bd
PW
36512020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3652
3653 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3654 have a input seq nr in each pass message.
fe4c3d43 3655 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3656 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3657 * gdb.python/python.exp: Make test names unique,
3658 use gdb_test_multiline instead of gdb_py_test_multiple,
3659 use $gdb_test_name.
3660 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3661
1776e3e5
NA
36622020-06-26 Nick Alcock <nick.alcock@oracle.com>
3663
3664 * configure.ac: Add --enable-libctf.
3665 * aclocal.m4: sinclude ../config/enable.m4.
3666 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3667 * lib/gdb.exp (skip_ctf_tests): Use it.
3668 * gdb.base/ctf-constvars.exp: Error message tweak.
3669 * gdb.base/ctf-ptype.exp: Likewise.
3670 * configure: Regenerate.
3671
f53b3eeb
GB
36722020-06-26 Gary Benson <gbenson@redhat.com>
3673
3674 * gdb.cp/try_catch.cc: Include string.h.
3675 (main): Replace comparison against string literal with
3676 strcmp, avoiding build failure with -Wstring-compare.
3677 Add "marker test-complete".
3678 * gdb.cp/try_catch.exp: Run the test to the above marker,
3679 then verify that the value of "test" is still true.
3680
6d74da72
AB
36812020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3682
3683 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3684
2e52d038
AB
36852020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3686
3687 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3688
3b9fce96
AB
36892020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3690
3691 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3692 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3693 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3694 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3695 * gdb.arch/riscv-tdesc-loading.exp: New file.
3696
ed69cbc8
AB
36972020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3698
3699 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3700
767a879e
AB
37012020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3702
3703 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3704 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3705 * gdb.arch/riscv-tdesc-regs.c: New file.
3706 * gdb.arch/riscv-tdesc-regs.exp: New file.
3707
221db974
PA
37082020-06-24 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.arch/amd64-entry-value-paramref.exp: Use
3711 prepare_for_testing_full and don't pass "c++" for the .S file
3712 build spec.
3713 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3714 $options, since it's an assembly file. Remove -Wno-deprecated.
3715 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3716 compiling C++ programs.
3717
331733cd
PA
37182020-06-24 Pedro Alves <palves@redhat.com>
3719
3720 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3721 Clang, add "-Wno-unknown-warning-option" to the options.
3722
caa7fd04
AB
37232020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3724
3725 * gdb.xml/tdesc-reload.c: New file.
3726 * gdb.xml/tdesc-reload.exp: New file.
3727 * gdb.xml/maint-xml-dump-01.xml: New file.
3728 * gdb.xml/maint-xml-dump-02.xml: New file.
3729 * gdb.xml/maint-xml-dump.exp: New file.
3730
bb8d1260
SL
37312020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3732
3733 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3734 Adjust for omitted commands when TUI is disabled.
3735
7e4b9c4c
GB
37362020-06-23 Gary Benson <gbenson@redhat.com>
3737 Pedro Alves <palves@redhat.com>
3738
3739 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3740 * gdb.cp/nsimport.cc: Likewise.
3741 * gdb.cp/nsnested.cc: Likewise.
3742 * gdb.cp/nsnoimports.cc: Likewise.
3743 * gdb.cp/nsusing.cc: Likewise.
3744 * gdb.cp/smartp.cc: Likewise.
3745 * gdb.python/py-pp-integral.c: Likewise.
3746 * gdb.python/py-pp-re-notag.c: Likewise.
3747
2e573c0a
GB
37482020-06-23 Gary Benson <gbenson@redhat.com>
3749
3750 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3751 * gdb.cp/nsimport.cc: Likewise.
3752 * gdb.cp/nsnested.cc: Likewise.
3753 * gdb.cp/nsnoimports.cc: Likewise.
3754 * gdb.cp/nsusing.cc: Likewise.
3755 * gdb.cp/smartp.cc: Likewise.
3756 * gdb.python/py-pp-integral.c: Likewise.
3757 * gdb.python/py-pp-re-notag.c: Likewise.
3758
746ebfe8
PW
37592020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3760
3761 * gdb.base/default-args.exp: New test.
3762 * gdb.base/default-args.c: New file.
3763 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3764 * gdb.base/default.exp: Update to new help text.
3765 * gdb.base/help.exp: Likewise.
3766 * gdb.base/page.exp: Likewise.
3767 * gdb.base/style.exp: Likewise.
3768 * gdb.guile/guile.exp: Likewise.
3769 * gdb.python/python.exp: Likewise.
3770
e822f2cd
SL
37712020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3772
3773 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3774 remote host. Fix search path syntax on Windows host.
3775
48e9cc84
PW
37762020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3777
3778 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3779 over 'exec-file-mismatch'.
3780 * gdb.base/attach.c: Mark should_exit volatile.
3781 * gdb.base/attach2.c: Likewise. Add a comment explaining
3782 why the sleep cannot be big.
3783 * gdb.base/attach3.c: New file.
3784
160f8a8f
SL
37852020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3786
3787 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3788 prefix optional.
3789
4d91c2a4
SL
37902020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3791
3792 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3793 for remote host.
3794
87f83f20
SL
37952020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3796 Hafiz Abid Qadeer <abidh@codesourcery.com>
3797
3798 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3799 file sent to remote host.
3800 (top level): Allow int32_t as type of 32-bit register.
3801
37ab8655
TV
38022020-06-19 Tom de Vries <tdevries@suse.de>
3803
3804 * lib/gdb.exp (gdb_note): New proc.
3805 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3806 (gdb_default_target_compile): ... here. Only call
3807 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3808 (use_gdb_compile): Change to array.
3809 (toplevel): Update sets of use_gdb_compile to specify language.
3810 Warn about default_target_compile override. Store dejagnu's version
3811 of default_target_compile in dejagnu_default_target_compile.
3812
a8a56685
TV
38132020-06-18 Tom de Vries <tdevries@suse.de>
3814
3815 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3816 (default_gdb_init): ... here.
3817
581bea2c
SL
38182020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3819
3820 Fix TUI support checks in gdb.tui tests.
3821
3822 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3823 just say UNSUPPORTED.
3824 * gdb.tui/corefile-run.exp: Likewise.
3825 * gdb.tui/empty.exp: Likewise.
3826 * gdb.tui/list-before.exp: Likewise.
3827 * gdb.tui/list.exp: Likewise.
3828 * gdb.tui/main.exp: Likewise.
3829 * gdb.tui/regs.exp: Likewise.
3830 * gdb.tui/resize.exp: Likewise.
3831 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3832 * gdb.tui/tui-layout-asm.exp: Likewise.
3833 * gdb.tui/tui-missing-src.exp: Likewise.
3834 * gdb.tui/winheight.exp: Likewise.
3835 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3836
05e682e3
SL
38372020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3838
3839 Fix TCL error in gdb.python/py-format-string.exp.
3840
3841 * gdb.python/py-format-string.exp: Move test for python support
3842 earlier, out of function body.
3843
efb763a5
SM
38442020-06-15 Simon Marchi <simon.marchi@efficios.com>
3845
3846 * gdb.base/index-cache-load-twice.c: New.
3847 * gdb.base/index-cache-load-twice.exp: New.
3848
43327b20
KS
38492020-06-17 Keith Seitz <keiths@redhat.com>
3850
99cf27cf 3851 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3852 when executing "gdb --configuration".
3853
081e778c
TV
38542020-06-17 Tom de Vries <tdevries@suse.de>
3855
3856 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3857 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3858 conditional on presence of gdb_tcl_unknown.
3859 (gdb_finish): Make override undo conditional on presence of
3860 gdb_tcl_unknown.
3861
d2d1ea20
TT
38622020-06-16 Tom Tromey <tom@tromey.com>
3863
3864 * gdb.python/tui-window.py (failwin): New function. Register it
3865 as a TUI window type.
3866 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3867
c802e8a7
GB
38682020-06-16 Gary Benson <gbenson@redhat.com>
3869
3870 * gdb.python/py-nested-maps.c (create_map): Add missing return
3871 value.
3872 (create_map_map): Likewise.
3873
ff08abb8
TBA
38742020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3875
3876 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3877 variable.
3878 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3879 and use the already-defined 'options' variable.
3880
a29d5112
AB
38812020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3882 Tom de Vries <tdevries@suse.de>
3883
3884 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3885 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3886 (gdb_setup_known_globals): New proc.
3887 (gdb_cleanup_globals): New proc.
3888 * lib/gdb.exp (load_lib): New override proc.
3889 (gdb_stdin_log_init): Set var in_file as persistent global.
3890 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3891 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3892 fpc_compiler as persistent global.
3893
8c74a764
TV
38942020-06-12 Tom de Vries <tdevries@suse.de>
3895
3896 * lib/tuiterm.exp (spawn): Rename to ...
3897 (tui_spawn): ... this.
3898 (toplevel): Move rename of spawn ...
3899 (gdb_init_tuiterm): ... here. New proc.
3900 (gdb_finish_tuiterm): New proc.
3901 * lib/gdb.exp (gdb_finish_hooks): New global var.
3902 (gdb_finish): Handle gdb_finish_hooks.
3903 (tuiterm_env): New proc.
3904 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3905 tuiterm_env.
3906 * gdb.tui/basic.exp: Same.
3907 * gdb.tui/corefile-run.exp: Same.
3908 * gdb.tui/empty.exp: Same.
3909 * gdb.tui/list-before.exp: Same.
3910 * gdb.tui/list.exp: Same.
3911 * gdb.tui/main.exp: Same.
3912 * gdb.tui/new-layout.exp: Same.
3913 * gdb.tui/regs.exp: Same.
3914 * gdb.tui/resize.exp: Same.
3915 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3916 * gdb.tui/tui-layout-asm.exp: Same.
3917 * gdb.tui/tui-missing-src.exp: Same.
3918 * gdb.tui/winheight.exp: Same.
3919
26783bce
TV
39202020-06-12 Tom de Vries <tdevries@suse.de>
3921
3922 PR testsuite/26110
3923 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3924 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3925
2b4e6a3f
TT
39262020-06-11 Tom Tromey <tom@tromey.com>
3927
3928 PR gdb/18318:
3929 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3930 floating point tests.
3931
2f33032a
KS
39322020-06-11 Keith Seitz <keiths@redhat.com>
3933
3934 PR gdb/21356
3935 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3936 vla_struct.
3937 Add new struct vla_typedef and union vla_typedef_union and
3938 corresponding instantiation objects.
3939 Initialize new objects.
3940 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3941 and vla_typedef_union_object.
3942 Fixup type for vla_struct_object.
3943
a8baf0a3
TV
39442020-06-11 Tom de Vries <tdevries@suse.de>
3945
3946 * lib/gdb.exp (with_override): New proc, factored out of ...
3947 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3948
7ab96794
TV
39492020-06-10 Tom de Vries <tdevries@suse.de>
3950
3951 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3952
cab5c3b7
SM
39532020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3954
3955 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3956 parameter, update callers.
3957
f8c41851
SM
39582020-06-04 Simon Marchi <simon.marchi@efficios.com>
3959
3960 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3961 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3962 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3963
1c07a73f
TV
39642020-06-04 Tom de Vries <tdevries@suse.de>
3965
3966 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3967
95146b5d
TV
39682020-06-04 Tom de Vries <tdevries@suse.de>
3969
3970 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3971 exp_continue.
3972
0cfcd4f0
TV
39732020-06-04 Tom de Vries <tdevries@suse.de>
3974
3975 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3976
f9b5d5ea
TV
39772020-06-03 Tom de Vries <tdevries@suse.de>
3978
3979 PR symtab/26046
3980 * gdb.cp/breakpoint-locs-2.cc: New test.
3981 * gdb.cp/breakpoint-locs.cc: New test.
3982 * gdb.cp/breakpoint-locs.exp: New file.
3983 * gdb.cp/breakpoint-locs.h: New test.
3984
5144dfba
TV
39852020-06-03 Tom de Vries <tdevries@suse.de>
3986
3987 PR testsuite/25609
3988 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3989 value of global verbose.
3990 * gdb.base/jit-elf.exp: Same.
3991 * gdb.base/jit-reader.exp: Same.
3992
621eacdf
TV
39932020-06-02 Tom de Vries <tdevries@suse.de>
3994
3995 * gdb.dwarf2/multidictionary.exp: Don't use
3996 gdb_spawn_with_cmdline_opts.
3997
1313c56e
AB
39982020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3999
4000 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4001 use_header case.
4002 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4003 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4004 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4005 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4006 * gdb.dwarf2/dw2-inline-header.c: New file.
4007 * gdb.dwarf2/dw2-inline-header.h: New file.
4008
f68f85b5
PA
40092020-05-30 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4012 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4013
678048e8
GB
40142020-05-29 Gary Benson <gbenson@redhat.com>
4015
4016 * gdb.compile/compile-cplus.exp (additional_flags): Also
4017 set when building with clang.
4018 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4019 when building with clang.
4020
9fcafd23
GB
40212020-05-29 Gary Benson <gbenson@redhat.com>
4022
4023 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4024 building with clang.
4025 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4026
735d5a07
GB
40272020-05-29 Gary Benson <gbenson@redhat.com>
4028
4029 * gdb.cp/koenig.exp (prepare_for_testing): Add
4030 additional_flags=-Wno-unused-comparison.
4031 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4032
4ad2c6a0
GB
40332020-05-28 Gary Benson <gbenson@redhat.com>
4034
4035 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4036 statement.
4037
09fe663e
GB
40382020-05-28 Gary Benson <gbenson@redhat.com>
4039
4040 * gdb.cp/classes.exp (prepare_for_testing): Add
4041 additional_flags=-Wno-deprecated-register.
4042 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4043 * gdb.cp/misc.exp: Likewise.
4044
cee00f17
GB
40452020-05-28 Gary Benson <gbenson@redhat.com>
4046
4047 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4048 (test_op_new::operator new): Add return statement.
4049 (test_op_new_array::operator new[]): Likewise.
4050
636edd00
PA
40512020-05-27 Pedro Alves <palves@redhat.com>
4052
4053 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4054 check. Use test_gdb_complete_unique instead of
4055 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4056 test_gdb_complete_multiple instead of
4057 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4058
c2b75043
LM
40592020-05-27 Luis Machado <luis.machado@linaro.org>
4060
4061 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4062 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4063 * gdb.arch/arm-disassembler-options.exp: Likewise.
4064 * gdb.arch/arm-disp-step.exp: Likewise.
4065 * gdb.arch/thumb-prologue.exp: Likewise.
4066 * gdb.base/async.exp: Likewise.
4067 * gdb.base/auxv.exp: Likewise.
4068 * gdb.base/complex-parts.exp: Likewise.
4069 * gdb.base/ena-dis-br.exp: Likewise.
4070 * gdb.base/foll-exec.exp: Likewise.
4071 * gdb.base/permissions.exp: Likewise.
4072 * gdb.base/relocate.exp: Likewise.
4073 * gdb.base/return2.exp: Likewise.
4074 * gdb.base/sigbpt.exp: Likewise.
4075 * gdb.base/siginfo-obj.exp: Likewise.
4076 * gdb.cp/converts.exp: Likewise.
4077 * gdb.cp/exceptprint.exp: Likewise.
4078 * gdb.cp/inherit.exp: Likewise.
4079 * gdb.cp/nsnoimports.exp: Likewise.
4080 * gdb.cp/virtbase2.exp: Likewise.
4081 * gdb.mi/mi-var-cmd.exp: Likewise.
4082 * gdb.mi/var-cmd.c: Likewise.
4083
53a47a3e
TT
40842020-05-26 Tom Tromey <tromey@adacore.com>
4085
4086 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4087
0bc2354b
TT
40882020-05-26 Tom Tromey <tromey@adacore.com>
4089
4090 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4091 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4092 type.
4093 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4094 variable.
4095
0db49895
CBG
40962020-05-26 Christian Biesinger <cbiesinger@google.com>
4097
4098 * Makefile.in: Use = instead of == for the test command
4099 for portability.
4100
40d22035
TV
41012020-05-26 Tom de Vries <tdevries@suse.de>
4102
4103 * gdb.base/gold-gdb-index-2.c: New test.
4104 * gdb.base/gold-gdb-index.c: New test.
4105 * gdb.base/gold-gdb-index.exp: New file.
4106 * gdb.base/gold-gdb-index.h: New test.
4107
043e2e02
TV
41082020-05-25 Tom de Vries <tdevries@suse.de>
4109
4110 * boards/gold-gdb-index.exp: New file.
4111
462f72c5
SM
41122020-05-25 Simon Marchi <simon.marchi@efficios.com>
4113
4114 * boards/simavr.exp: New file.
4115
6cf66e76
SM
41162020-05-25 Simon Marchi <simon.marchi@efficios.com>
4117
4118 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4119 * gdb.base/inferior-args.exp: New file.
4120 * gdb.base/inferior-args.c: New file.
4121
75d04512
SM
41222020-05-25 Simon Marchi <simon.marchi@efficios.com>
4123
4124 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4125 inferior_args. Pass it to gdb_reload.
4126 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4127 inferior_args.
4128 (gdb_reload): Add inferior_args argument.
4129 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4130 pass it to gdbserver_run.
4131 * boards/native-gdbserver.exp: Do not set noargs.
4132 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4133 inferior_args argument.
4134 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4135 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4136 * gdb.base/args.exp: Likewise.
4137
42cf1844
TV
41382020-05-25 Tom de Vries <tdevries@suse.de>
4139
4140 * lib/gdb.exp (exec_is_pie): Add comment.
4141
8f7d38ef
TV
41422020-05-25 Tom de Vries <tdevries@suse.de>
4143
4144 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4145 instead of $binfile in the untested message.
4146
465e1b0f
TV
41472020-05-25 Tom de Vries <tdevries@suse.de>
4148
4149 PR testsuite/26031
4150 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4151
3c5a0e02
TV
41522020-05-25 Tom de Vries <tdevries@suse.de>
4153
4154 * boards/gold.exp: New file.
4155
0a4f5f8c
TT
41562020-05-23 Tom Tromey <tom@tromey.com>
4157
4158 * gdb.base/style.exp: Remove completion styling test.
4159 * lib/gdb-utils.exp (style): Remove completion styles.
4160
eca1f90c
TT
41612020-05-23 Tom Tromey <tom@tromey.com>
4162
4163 * gdb.base/style.exp: Add completion styling test.
4164 * lib/gdb-utils.exp (style): Add completion styles.
4165
7c13f4e8
AB
41662020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4167
4168 * gdb.base/annota1.exp: Update expected results.
4169 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4170 test name.
4171 * gdb.cp/annota3.exp: Update expected results.
4172
41977d16
SM
41732020-05-20 Simon Marchi <simon.marchi@efficios.com>
4174
4175 PR gdb/26016
4176 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4177 against MAP_FAILED.
4178 * gdb.base/coremaker.c (mmapdata): Likewise.
4179 * gdb.base/jit-reader-host.c (main): Likewise.
4180 * gdb.base/sym-file-loader.c (load): Likewise.
4181 (load_shlib): Likewise.
4182
b4757f2e
TT
41832020-05-20 Tom Tromey <tromey@adacore.com>
4184
4185 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4186
9a0bacfb
TV
41872020-05-20 Tom de Vries <tdevries@suse.de>
4188
4189 PR symtab/25833
4190 * gdb.base/with-mf-inc.c: New test.
4191 * gdb.base/with-mf-main.c: New test.
4192 * gdb.base/with-mf.exp: New file.
4193
76571211
TT
41942020-05-19 Tom Tromey <tromey@adacore.com>
4195
4196 * gdb.rust/simple.exp: Restore missing test result.
4197
4cd9f3d5
TV
41982020-05-19 Tom de Vries <tdevries@suse.de>
4199
4200 * gdb.base/gdb-caching-proc.exp: Fix typo.
4201
7d874253
TT
42022020-05-19 Tom Tromey <tromey@adacore.com>
4203
4204 * gdb.rust/simple.exp: Add some test descriptions.
4205 (test_one_slice): Use with_test_prefix.
4206
1d727695
TV
42072020-05-18 Tom de Vries <tdevries@suse.de>
4208
4209 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4210
7f32a4d5
PA
42112020-05-17 Pedro Alves <palves@redhat.com>
4212
4213 PR gdb/25741
4214 * gdb.base/hw-sw-break-same-address.exp: New file.
4215
7cfd74cf
PA
42162020-05-16 Pedro Alves <palves@redhat.com>
4217
4218 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4219 LAST_LOADED_FILE accordingly.
4220
57b4f16e
PW
42212020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4222
4223 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4224
7c05caf7
PW
42252020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4226
4227 * gdb.base/help.exp: Test apropos and help for commands
4228 having aliases. Fixed comments not starting with an
4229 upper-case letter or not finishing with a dot.
4230
7aa1b46f
PW
42312020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4232
3b3aaacb
PW
4233 * gdb.base/alias.exp: Update help output check.
4234
57b4f16e 42352020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4236
7aa1b46f
PW
4237 * gdb.base/default.exp: Update output following fixes.
4238
0605465f
PW
42392020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4240
4241 * gdb.base/alias.exp: Test aliases starting with a prefix of
4242 another alias.
4243
86e4e63d
GB
42442020-05-15 Gary Benson <gbenson@redhat.com>
4245
4246 * gdb.base/info-os.c (main): Add return statement.
4247 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4248 * gdb.base/large-frame-2.c (func): Likewise.
4249 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4250 * gdb.base/pr10179-b.c (foo2): Likewise.
4251 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4252 * gdb.base/watch-cond.c (func): Likewise.
4253 * gdb.multi/goodbye.c (verylongfun): Likewise.
4254 * gdb.multi/hello.c (commonfun): Likewise.
4255 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4256 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4257 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4258 Likewise.
4259 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4260 * gdb.threads/interrupt-while-step-over.c (child_function):
4261 Likewise.
4262 * gdb.trace/actions-changed.c (end): Likewise.
4263
163df4df
GB
42642020-05-15 Gary Benson <gbenson@redhat.com>
4265
4266 * gdb.opencl/callfuncs.exp: Report when test skipped.
4267 * gdb.opencl/convs_casts.exp: Likewise.
4268 * gdb.opencl/datatypes.exp: Likewise.
4269 * gdb.opencl/operators.exp: Likewise.
4270 * gdb.opencl/vec_comps.exp: Likewise.
4271
6dbc505a
TV
42722020-05-15 Tom de Vries <tdevries@suse.de>
4273
4274 * gdb.base/align.exp.in: Rename to ...
4275 * gdb.base/align.exp.tcl: ... this.
4276 * gdb.base/align-c++.exp: Update.
4277 * gdb.base/align-c.exp: Update.
4278 * gdb.base/all-architectures.exp.in: Rename to ...
4279 * gdb.base/all-architectures.exp: ... this.
4280 * gdb.base/all-architectures-0.exp: Update.
4281 * gdb.base/all-architectures-1.exp: Update.
4282 * gdb.base/all-architectures-2.exp: Update.
4283 * gdb.base/all-architectures-3.exp: Update.
4284 * gdb.base/all-architectures-4.exp: Update.
4285 * gdb.base/all-architectures-5.exp: Update.
4286 * gdb.base/all-architectures-6.exp: Update.
4287 * gdb.base/all-architectures-7.exp: Update.
4288 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4289 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4290 * gdb.base/infcall-nested-structs-c++.exp: Update.
4291 * gdb.base/infcall-nested-structs-c.exp: Update.
4292 * gdb.base/info-types.exp.in: Rename to ...
4293 * gdb.base/info-types.exp.tcl: ... this.
4294 * gdb.base/info-types-c++.exp: Update.
4295 * gdb.base/info-types-c.exp: Update.
4296 * gdb.base/max-depth.exp.in: Rename to ...
4297 * gdb.base/max-depth.exp.tcl: ... this.
4298 * gdb.base/max-depth-c++.exp: Update.
4299 * gdb.base/max-depth-c.exp: Update.
4300 * gdb.cp/cpexprs.exp.in: Rename to ...
4301 * gdb.cp/cpexprs.exp.tcl: ... this.
4302 * gdb.cp/cpexprs-debug-types.exp: Update.
4303 * gdb.cp/cpexprs.exp: Update.
4304 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4305 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4306 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4307 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4308 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4309 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4310 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4311 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4312 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4313 * gdb.dwarf2/clang-debug-names.exp: Update.
4314
d1034d78
AB
43152020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4316
4317 * lib/check-test-names.exp: Remove code that prevents this file
4318 loading when tests are run in parallel.
4319
3c5c3649
PA
43202020-05-15 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.multi/multi-kill.exp (start_inferior): Remove
4323 'testpid' parameter. Refer to namespace variable directly.
4324 (testpid): Declare as namespace variable.
4325
272c36b8
PA
43262020-05-15 Pedro Alves <palves@redhat.com>
4327
4328 * gdb.multi/multi-kill.exp: Wrap in namespace.
4329 (start_inferior): Add TESTPID parameter. Use it instead of the
4330 testpid global.
4331 (top level): Define empty TESTPID array, and pass it down to
4332 start_inferior.
4333
02eba61a
TV
43342020-05-14 Tom de Vries <tdevries@suse.de>
4335
4336 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4337 output.
4338
971a3747
TV
43392020-05-14 Tom de Vries <tdevries@suse.de>
4340
4341 * gdb.base/align.exp: Split into ...
4342 * gdb.base/align.exp.in: ...
4343 * gdb.base/align-c++.exp: ...
4344 * gdb.base/align-c.exp: ... these.
4345 * gdb.base/infcall-nested-structs.exp: Split into ...
4346 * gdb.base/infcall-nested-structs.exp.in: ...
4347 * gdb.base/infcall-nested-structs-c++.exp: ...
4348 * gdb.base/infcall-nested-structs-c.exp: ... these.
4349 * gdb.base/info-types.exp: Split into ...
4350 * gdb.base/info-types.exp.in: ...
4351 * gdb.base/info-types-c++.exp: ...
4352 * gdb.base/info-types-c.exp: ... these.
4353 * gdb.base/max-depth.exp: Split into ...
4354 * gdb.base/max-depth.exp.in: ...
4355 * gdb.base/max-depth-c++.exp: ...
4356 * gdb.base/max-depth-c.exp: ... these.
4357 * gdb.cp/infcall-nodebug.exp: Split into ...
4358 * gdb.cp/infcall-nodebug.exp.in: ...
4359 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4360 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4361 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4362 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4363
a05575d3
TBA
43642020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4365 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.multi/multi-exit.c: New file.
4368 * gdb.multi/multi-exit.exp: New file.
4369 * gdb.multi/multi-kill.c: New file.
4370 * gdb.multi/multi-kill.exp: New file.
4371
6ad82919
TBA
43722020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4373
4374 * gdb.base/annota1.exp: Update the expected output.
4375 * gdb.cp/annota2.exp: Ditto.
4376
843f4d93
AB
43772020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4378
4379 * lib/check-test-names.exp: Disable when testing is being run in
4380 parallel.
4381
c7c66341
TV
43822020-05-12 Tom de Vries <tdevries@suse.de>
4383
4384 * gdb.base/jit-elf.exp: Fix string concat.
4385
1b59ca1c
TV
43862020-05-12 Tom de Vries <tdevries@suse.de>
4387
4388 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4389 messages.
4390
b4991d29
TV
43912020-05-12 Tom de Vries <tdevries@suse.de>
4392
4393 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4394
dbb0ab10
TV
43952020-05-12 Tom de Vries <tdevries@suse.de>
4396
4397 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4398 * gdb.ada/mi_catch_ex.exp: Same.
4399 * gdb.ada/mi_catch_ex_hand.exp: Same.
4400
7549fed8
TV
44012020-05-12 Tom de Vries <tdevries@suse.de>
4402
4403 * gdb.fortran/complex.exp: Use with_test_prefix.
4404
af2d5cd8
TV
44052020-05-12 Tom de Vries <tdevries@suse.de>
4406
4407 * gdb.trace/passcount.exp: Fix test-names.
4408
7c121311
TV
44092020-05-12 Tom de Vries <tdevries@suse.de>
4410
4411 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4412
c9f3b40e
TV
44132020-05-12 Tom de Vries <tdevries@suse.de>
4414
4415 * gdb.gdb/complaints.exp: Use with_test_prefix.
4416 * gdb.xml/tdesc-regs.exp: Same.
4417 * gdb.opt/inline-locals.exp: Fix test name.
4418
111b33f0
TV
44192020-05-12 Tom de Vries <tdevries@suse.de>
4420
4421 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4422 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4423 * gdb.dwarf2/implref-struct.exp: Same.
4424 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4425 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4426
ebf47080
SM
44272020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4428
4429 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4430
d30dcd12
AB
44312020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4432
4433 * lib/check-test-names.exp (all_test_names): New module variable.
4434 (counts): Add 'duplicates' field.
4435 (_check_duplicates): New procedure.
4436 (check): Also check for duplicates.
4437 (do_log_summary): Print duplicates count.
4438 (do_reset_vars): Reset counter for duplicate test names, and
4439 discard all know test names.
4440
34584c09
AB
44412020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4442
4443 * lib/gdb.exp: Include check-test-names.exp library.
4444 * lib/check-test-names.exp: New file.
4445
e0002117
TV
44462020-05-11 Tom de Vries <tdevries@suse.de>
4447
4448 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4449
53f539a3
KS
44502020-05-11 Keith Seitz <keiths@redhat.com>
4451
4452 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4453
113ee09a
TV
44542020-05-11 Tom de Vries <tdevries@suse.de>
4455
4456 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4457 * gdb.cp/cpexprs.exp.in: .. here.
4458 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4459 cpexprs.exp.
4460
ba3e70b0
KS
44612020-05-11 Keith Seitz <keiths@redhat.com>
4462
4463 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4464 test names.
4465 * gdb.ada/arrayptr.exp: Likewise.
4466 * gdb.ada/assign_arr.exp: Likewise.
4467 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4468 * gdb.ada/bp_on_var.exp: Likewise.
4469 * gdb.ada/call_pn.exp: Likewise.
4470 * gdb.ada/complete.exp: Likewise.
4471 * gdb.ada/fun_overload_menu.exp: Likewise.
4472 * gdb.ada/funcall_param.exp: Likewise.
4473 * gdb.ada/funcall_ref.exp: Likewise.
4474 * gdb.ada/packed_array_assign.exp: Likewise.
4475 * gdb.ada/same_component_name.exp: Likewise.
4476 * gdb.ada/type_coercion.exp: Likewise.
4477 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4478 * gdb.ada/variant_record_packed_array.exp: Likewise.
4479
3ee6bb11
TV
44802020-05-11 Tom de Vries <tdevries@suse.de>
4481
4482 PR symtab/25941
4483 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4484 out of ...
4485 * gdb.dwarf2/clang-debug-names.exp: ... here.
4486 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4487 clang-debug-names.exp.in.
4488 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4489 * gdb.dwarf2/clang-debug-names-2.c: New test.
4490
86cd6bc8
AKS
44912020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4492
4493 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4494 (fortran_runto_main): New Proc, fortran version of runto_main.
4495 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4496 * gdb.fortran/array-bounds.exp: Likewise.
4497 * gdb.fortran/array-slices.exp: Likewise.
4498 * gdb.fortran/block-data.exp: Likewise.
4499 * gdb.fortran/charset.exp: Likewise.
4500 * gdb.fortran/common-block.exp: Likewise.
4501 * gdb.fortran/complex.exp: Likewise.
4502 * gdb.fortran/derived-type-function.exp: Likewise.
4503 * gdb.fortran/derived-type.exp: Likewise.
4504 * gdb.fortran/info-modules.exp: Likewise.
4505 * gdb.fortran/info-types.exp: Likewise.
4506 * gdb.fortran/intrinsics.exp: Likewise.
4507 * gdb.fortran/library-module.exp: Likewise.
4508 * gdb.fortran/logical.exp: Likewise.
4509 * gdb.fortran/max-depth.exp: Likewise.
4510 * gdb.fortran/module.exp: Likewise.
4511 * gdb.fortran/multi-dim.exp: Likewise.
4512 * gdb.fortran/nested-funcs.exp: Likewise.
4513 * gdb.fortran/print-formatted.exp: Likewise.
4514 * gdb.fortran/print_type.exp: Likewise.
4515 * gdb.fortran/printing-types.exp: Likewise.
4516 * gdb.fortran/ptr-indentation.exp: Likewise.
4517 * gdb.fortran/ptype-on-functions.exp: Likewise.
4518 * gdb.fortran/subarray.exp: Likewise.
4519 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4520 * gdb.fortran/vla-datatypes.exp: Likewise.
4521 * gdb.fortran/vla-history.exp: Likewise.
4522 * gdb.fortran/vla-ptr-info.exp: Likewise.
4523 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4524 * gdb.fortran/vla-ptype.exp: Likewise.
4525 * gdb.fortran/vla-sizeof.exp: Likewise.
4526 * gdb.fortran/vla-type.exp: Likewise.
4527 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4528 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4529 * gdb.fortran/vla-value-sub.exp: Likewise.
4530 * gdb.fortran/vla-value.exp: Likewise.
4531 * gdb.fortran/whatis_type.exp: Likewise.
4532 * gdb.mi/mi-var-child-f.exp: Likewise.
4533
6dc55ce9 45342020-05-09 Tom de Vries <tdevries@suse.de>
4535
4536 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4537
283cb58c
TV
45382020-05-08 Tom de Vries <tdevries@suse.de>
4539
4540 * gdb.dwarf2/clang-debug-names.c: New test.
4541 * gdb.dwarf2/clang-debug-names.exp: New file.
4542
ac4a4f1c
SM
45432020-05-06 Simon Marchi <simon.marchi@efficios.com>
4544
4545 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4546 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4547
24fe640b
TV
45482020-05-06 Tom de Vries <tdevries@suse.de>
4549
4550 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4551 breakpoint is at a "recommended breakpoint location".
4552 * gdb.reverse/consecutive-reverse.exp: Same.
4553
0d8683a3
TV
45542020-05-06 Tom de Vries <tdevries@suse.de>
4555
4556 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4557 address.
4558
b8983c46
TV
45592020-05-06 Tom de Vries <tdevries@suse.de>
4560
4561 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4562
abf6d805
TV
45632020-05-06 Tom de Vries <tdevries@suse.de>
4564
4565 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4566 info for r.
4567
0fc2a808
TV
45682020-05-06 Tom de Vries <tdevries@suse.de>
4569
4570 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4571 necessary.
4572
873dd427
TV
45732020-05-06 Tom de Vries <tdevries@suse.de>
4574
4575 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4576 void.
4577
7c99e7e2
TV
45782020-05-06 Tom de Vries <tdevries@suse.de>
4579
4580 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4581 of ...
4582 * gdb.base/async.exp: ... here.
4583 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4584 "recommended breakpoint location".
4585
6173d6a6
TV
45862020-05-06 Tom de Vries <tdevries@suse.de>
4587
4588 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4589
6015a067
TV
45902020-05-04 Tom de Vries <tdevries@suse.de>
4591
4592 * gdb.base/async.exp: Check whether instruction addresses are a
4593 "recommended breakpoint location".
4594
3b6acaee
TT
45952020-05-03 Tom Tromey <tom@tromey.com>
4596
4597 * gdb.base/sepdebug.exp: Remove "catch" test.
4598 * gdb.base/break.exp: Remove "catch" test.
4599 * gdb.base/default.exp: Update expected output.
4600
5beb4d17
TV
46012020-05-02 Tom de Vries <tdevries@suse.de>
4602
4603 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4604 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4605 * gdb.arch/i386-mpx-map.exp: Same.
4606 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4607 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4608 * gdb.arch/i386-mpx.exp: Same.
4609
8caf140d
TV
46102020-05-02 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4613
693196cb
TV
46142020-05-01 Tom de Vries <tdevries@suse.de>
4615
4616 * gdb.ada/operator_bp.exp: Allow more than required amount of
4617 breakpoint.
4618
53ae0aa9
TV
46192020-05-01 Tom de Vries <tdevries@suse.de>
4620
4621 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4622
ee9d1e5f
HD
46232020-04-30 Hannes Domani <ssbssa@yahoo.de>
4624
4625 PR gdb/18706
4626 * gdb.cp/stub-array-size.cc: New test.
4627 * gdb.cp/stub-array-size.exp: New file.
4628 * gdb.cp/stub-array-size.h: New test.
4629 * gdb.cp/stub-array-size2.cc: New test.
4630
d5cf82c0
HD
46312020-04-30 Hannes Domani <ssbssa@yahoo.de>
4632
4633 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4634 output to the new format.
4635
42e165c3
SM
46362020-04-29 Simon Marchi <simon.marchi@efficios.com>
4637
4638 * gdb.base/break.exp: Use with_test_prefix.
4639
6e4e3fe1
TV
46402020-04-29 Tom de Vries <tdevries@suse.de>
4641
4642 * lib/gdb.exp (debug_types): New proc.
4643 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4644 * gdb.python/py-symtab.exp: Same.
4645
d642b692
HD
46462020-04-29 Hannes Domani <ssbssa@yahoo.de>
4647
4648 PR gdb/17320
4649 * gdb.base/pretty-array.c: New test.
4650 * gdb.base/pretty-array.exp: New file.
4651
ea90f227
TV
46522020-04-29 Tom de Vries <tdevries@suse.de>
4653
4654 PR symtab/25889
4655 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4656 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4657 and include cpexprs.exp.
4658
a65189c9
TV
46592020-04-28 Mark Williams <mark@myosotissp.com>
4660
4661 PR gdb/24480
4662 * dw4-toplevel-types.exp: Test for top level types.
4663 * dw4-toplevel-types.cc: Test for top level types.
4664
32d1f47a
TBA
46652020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4666
4667 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4668 (theads -> threads).
4669
56a4f5a1
TV
46702020-04-28 Tom de Vries <tdevries@suse.de>
4671
4672 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4673
0b2f8a3b
TV
46742020-04-28 Tom de Vries <tdevries@suse.de>
4675
4676 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4677
5390c717
TV
46782020-04-28 Tom de Vries <tdevries@suse.de>
4679
4680 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4681
15cd93d0
TV
46822020-04-28 Tom de Vries <tdevries@suse.de>
4683
4684 * gdb.dwarf2/main-foo.c: New test.
4685 * gdb.dwarf2/struct-with-sig.exp: New file.
4686
d472f0fb
TV
46872020-04-25 Tom de Vries <tdevries@suse.de>
4688
4689 * boards/debug-types.exp: New file.
4690
8d840e05
AB
46912020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4692
4693 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4694
bcfe6157
TT
46952020-04-24 Tom Tromey <tom@tromey.com>
4696
4697 PR symtab/12707:
4698 * gdb.python/py-symbol.exp: Update expected results for
4699 linkage_name test.
4700 * gdb.cp/print-demangle.exp: New file.
4701 * gdb.base/c-linkage-name.exp: Fix test.
4702 * gdb.guile/scm-symbol.exp: Update expected results for
4703 linkage_name test.
4704
f049a313
TT
47052020-04-24 Tom Tromey <tom@tromey.com>
4706
4707 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4708 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4709 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4710 assembler.
4711
7cf28874
TV
47122020-04-24 Tom de Vries <tdevries@suse.de>
4713
4714 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4715 C++.
4716
dac2fef7
TT
47172020-04-24 Tom Tromey <tromey@adacore.com>
4718
4719 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4720 values.
4721 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4722 values. Update test for minimal encodings.
4723 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4724 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4725 values. Update test for minimal encodings.
4726
1acda803
TT
47272020-04-24 Tom Tromey <tromey@adacore.com>
4728
4729 PR python/23662:
4730 * gdb.ada/variant.exp: Add Python checks.
4731 * gdb.rust/simple.exp: Add dynamic type checks.
4732
adfb9815
TT
47332020-04-24 Tom Tromey <tromey@adacore.com>
4734
4735 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4736 Make array type matching more lax.
4737 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4738 * gdb.ada/mi_variant.exp: New file.
4739 * gdb.ada/mi_variant/pck.ads: New file.
4740 * gdb.ada/mi_variant/pkg.adb: New file.
4741 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4742 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4743
7d79de9a
TT
47442020-04-24 Tom Tromey <tromey@adacore.com>
4745
4746 * gdb.ada/variant.exp: Add dynamic field offset tests.
4747 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4748 * gdb.ada/variant/pkg.adb: Add new variables.
4749
f8e89861
TT
47502020-04-24 Tom Tromey <tromey@adacore.com>
4751
4752 * gdb.ada/variant.exp: New file
4753 * gdb.ada/variant/pkg.adb: New file
4754 * gdb.ada/variant/pck.adb: New file
4755
86e887ae
TV
47562020-04-24 Tom de Vries <tdevries@suse.de>
4757
4758 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4759
88428775
TV
47602020-04-24 Tom de Vries <tdevries@suse.de>
4761
4762 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4763 flags.
4764
4e86f6e7
TV
47652020-04-24 Tom de Vries <tdevries@suse.de>
4766
4767 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4768
2016d3e6
TV
47692020-04-24 Tom de Vries <tdevries@suse.de>
4770
4771 * lib/gdb.exp (default_gdb_start): Handle eof.
4772 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4773 failure.
4774 * gdb.base/readnever.exp: Handle clean_restart failure.
4775
70bc38f5
TV
47762020-04-23 Tom de Vries <tdevries@suse.de>
4777
4778 * gdb.base/decl-before-def.exp: Run to main and print a again.
4779
de82891c
TV
47802020-04-23 Tom de Vries <tdevries@suse.de>
4781
4782 * gdb.base/decl-before-def-decl.c: New test.
4783 * gdb.base/decl-before-def-def.c: New test.
4784 * gdb.base/decl-before-def.exp: New file.
4785
96038148
TV
47862020-04-23 Tom de Vries <tdevries@suse.de>
4787
4788 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4789
54ac3df1
TV
47902020-04-22 Tom de Vries <tdevries@suse.de>
4791
4792 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4793 debug_info_offset.
4794 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4795 before $objsfile in the line line.
4796
714534e1
TV
47972020-04-22 Tom de Vries <tdevries@suse.de>
4798
4799 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4800
16a7dbf4
MS
48012020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4802
4803 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4804 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4805 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4806 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4807 * gdb.base/jit-protocol.h: Update definitions to match all usage
4808 contexts.
4809
48102020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4811
4812 * gdb.base: Rename all jit related test and source files.
4813
48142020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4815
4816 * gdb.base/jit-reader.exp: Relax register output check.
4817
317d2668
TV
48182020-04-22 Tom de Vries <tdevries@suse.de>
4819
4820 PR symtab/25764
4821 * gdb.base/psym-external-decl-2.c: New test.
4822 * gdb.base/psym-external-decl.c: New test.
4823 * gdb.base/psym-external-decl.exp: New file.
4824 * gdb.threads/tls.exp: Add PR25807 kfail.
4825
eea9e357
TV
48262020-04-22 Tom de Vries <tdevries@suse.de>
4827
4828 PR symtab/25801
4829 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4830 in "info source" output.
4831
3d5afab3
TV
48322020-04-22 Tom de Vries <tdevries@suse.de>
4833
4834 PR symtab/25700
4835 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4836 symtab for imported_unit.c.
4837
b32102f6
GB
48382020-04-21 Gary Benson <gbenson@redhat.com>
4839
4840 * gdb.base/advance.c (func): New argument, to match call site.
4841 (func2, func3): Add return statements.
4842
d43b7a2d
TBA
48432020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4844
4845 * gdb.multi/run-only-second-inf.c: New file.
4846 * gdb.multi/run-only-second-inf.exp: New file.
4847
d89edf9b
MM
48482020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4849
4850 * gdb.btrace/multi-inferior.c: New test.
4851 * gdb.btrace/multi-inferior.exp: New file.
4852
1a476b6d
MM
48532020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4854
4855 * gdb.btrace/enable-new-thread.c: New test.
4856 * gdb.btrace/enable-new-thread.exp: New file.
4857
4778a5f8
TV
48582020-04-21 Tom de Vries <tdevries@suse.de>
4859
4860 PR gdb/25471
4861 * gdb.threads/killed-outside.c: New test.
4862 * gdb.threads/killed-outside.exp: New file.
4863
9b2c992c
GB
48642020-04-20 Gary Benson <gbenson@redhat.com>
4865
4866 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4867 * gdb.base/nested-subp2.exp: Likewise.
4868 * gdb.base/nested-subp3.exp: Likewise.
4869
b5d1d6f7
GB
48702020-04-20 Gary Benson <gbenson@redhat.com>
4871
4872 * gdb.base/nested-subp1.exp: Disable test when using clang.
4873 * gdb.base/nested-subp2.exp: Likewise.
4874 * gdb.base/nested-subp3.exp: Likewise.
4875
25230285
GB
48762020-04-20 Gary Benson <gbenson@redhat.com>
4877
4878 * gdb.cp/exception.cc: Fix compilation error with clang.
4879
fa93cc8f
GB
48802020-04-20 Gary Benson <gbenson@redhat.com>
4881
809730f3 4882 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4883
e0c45f30
GB
48842020-04-20 Gary Benson <gbenson@redhat.com>
4885
4886 * gdb.base/jit-main.c: Fix compilation error with clang.
4887
4ddfec93
KR
48882020-04-17 Kamil Rytarowski <n54@gmx.com>
4889
4890 * gdb.base/attach-twice.c: Include "sys/types.h".
4891 (PTRACE_ATTACH): Add fallback definition.
4892 (main): Pass `0' to the 4th argument of `ptrace'.
4893
2bed205e
KR
48942020-04-17 Kamil Rytarowski <n54@gmx.com>
4895
4896 * gdb.base/fork-running-state.c: Include "signal.h".
4897
0743fc83
TT
48982020-04-17 Tom Tromey <tromey@adacore.com>
4899
4900 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4901 Update tests.
4902 * gdb.btrace/cpu.exp: Update tests.
4903 * gdb.base/maint.exp: Update tests.
4904 * gdb.base/default.exp: Update tests.
4905 * gdb.base/completion.exp: Update tests.
4906
efba5c23
TV
49072020-04-16 Tom de Vries <tdevries@suse.de>
4908
4909 PR symtab/25791
4910 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4911 (ensure_gdb_index): and factor out and move ...
4912 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4913 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4914
d191d716
TV
49152020-04-16 Tom de Vries <tdevries@suse.de>
4916
4917 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4918 loading exec.
4919
99f1bc6a
AB
49202020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4921
4922 * gdb.base/many-completions.exp: New file.
4923
194d088f
TV
49242020-04-14 Tom de Vries <tdevries@suse.de>
4925
4926 PR symtab/25718
4927 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4928
c1a66c06
TV
49292020-04-14 Tom de Vries <tdevries@suse.de>
4930
4931 PR symtab/25720
4932 * gdb.base/maint-expand-symbols-header-file.c: New test.
4933 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4934 * gdb.base/maint-expand-symbols-header-file.h: New test.
4935
21b0982c
AB
49362020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4937
4938 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4939 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4940 get_func_info.
4941 (get_func_info): Delete.
4942 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4943 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4944 * lib/dwarf.exp (get_func_info): New function.
4945
dd1cab06
TV
49462020-04-13 Tom de Vries <tdevries@suse.de>
4947
4948 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4949 to what find_gnatmake does.
4950
71ea2b6b
TV
49512020-04-10 Tom de Vries <tdevries@suse.de>
4952
4953 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4954 -readnow.
4955
bdfc1e8a
TV
49562020-04-10 Tom de Vries <tdevries@suse.de>
4957
4958 PR cli/25808
4959 * gdb.base/style.c: Add leading newlines.
4960 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4961 Check listing of main's one-line body.
4962
14ca8ecf
TV
49632020-04-08 Tom de Vries <tdevries@suse.de>
4964
4965 * lib/gdb.exp (psymtabs_p): New proc.
4966 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4967 importing unit" unsupported if there are no partial symbols.
4968
e21d048f
TV
49692020-04-08 Tom de Vries <tdevries@suse.de>
4970
4971 PR testsuite/25760
4972 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4973
25c11aca
TV
49742020-04-07 Tom de Vries <tdevries@suse.de>
4975
4976 PR symtab/25796
4977 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4978
5707e24b
TV
49792020-04-07 Tom de Vries <tdevries@suse.de>
4980
4981 * gdb.base/check-psymtab.c: New test.
4982 * gdb.base/check-psymtab.exp: New file.
4983
6ee448cc
TT
49842020-04-06 Tom Tromey <tromey@adacore.com>
4985
4986 * gdb.ada/variant-record/proc.adb: New file.
4987 * gdb.ada/variant-record/value.adb: New file.
4988 * gdb.ada/variant-record/value.s: New file.
4989 * gdb.ada/variant-record.exp: New file.
4990
9e7c9a03
HD
49912020-04-03 Hannes Domani <ssbssa@yahoo.de>
4992
4993 PR gdb/25325
4994 * gdb.cp/typed-enum.cc: New test.
4995 * gdb.cp/typed-enum.exp: New file.
4996
c90d28ac
AB
49972020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4998
4999 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5000 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5001 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5002 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5003 * gdb.opt/inline-small-func.c: New file.
5004 * gdb.opt/inline-small-func.exp: New file.
5005 * gdb.opt/inline-small-func.h: New file.
5006
34e9a9fa
AB
50072020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5008
5009 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5010 function.
5011
6a354911
AB
50122020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5013
5014 * lib/dwarf.exp (function_range): Allow compiler options to be
5015 specified.
5016
880d9777
TV
50172020-04-02 Tom de Vries <tdevries@suse.de>
5018
5019 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5020 __attribute__((always_inline)).
5021 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5022
f32682ea
TV
50232020-04-02 Tom de Vries <tdevries@suse.de>
5024
5025 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5026 (gdbserver_gdb_exit): ... here. Add timeout warning.
5027 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5028 (connect_target_extended_remote): Append new server_spawn_id to
5029 server_spawn_ids.
5030 (cleanup): New proc.
5031 (setup, <toplevel>): Call cleanup.
5032
d3214198
TV
50332020-04-02 Tom de Vries <tdevries@suse.de>
5034
5035 * gdb.base/main-psymtab.exp: New file.
5036
cc77ed24
TV
50372020-04-02 Tom de Vries <tdevries@suse.de>
5038
5039 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5040
3638a098
TT
50412020-04-01 Tom Tromey <tom@tromey.com>
5042
5043 * gdb.base/complex-parts.exp: Add type tests.
5044
c34e8714
TT
50452020-04-01 Tom Tromey <tom@tromey.com>
5046
5047 * gdb.base/complex-parts.exp: Add arithmetic tests.
5048
981c08ce
TT
50492020-04-01 Tom Tromey <tom@tromey.com>
5050
5051 * gdb.compile/compile.exp: Update.
5052 * gdb.compile/compile-cplus.exp: Update.
5053 * gdb.base/varargs.exp: Update.
5054 * gdb.base/floatn.exp: Update.
5055 * gdb.base/endianity.exp: Update.
5056 * gdb.base/callfuncs.exp (do_function_calls): Update.
5057 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5058 (complex_float_integral_args): Update.
5059 * gdb.base/complex.exp: Update.
5060 * gdb.base/complex-parts.exp: Update.
5061
3d1cfd43
TT
50622020-04-01 Tom Tromey <tromey@adacore.com>
5063
5064 * gdb.rust/union.rs: New file.
5065 * gdb.rust/union.exp: New file.
5066 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5067 (main): Update.
5068 * gdb.rust/simple.exp: Move union tests to union.exp.
5069
e033dfa9
TT
50702020-04-01 Tom Tromey <tromey@adacore.com>
5071
5072 * gdb.rust/simple.rs (main): Remove "y0".
5073
53cccef1
TBA
50742020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5075
5076 * gdb.multi/stop-all-on-exit.c: New test.
5077 * gdb.multi/stop-all-on-exit.exp: New file.
5078
60e22c1e
HD
50792020-04-01 Hannes Domani <ssbssa@yahoo.de>
5080
5081 PR gdb/24789
5082 * gdb.cp/misc.cc: Add integer reference variable.
5083 * gdb.cp/misc.exp: Add test.
5084
e139a727
TBA
50852020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5086
5087 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5088 scenario to cover execution until the end and also the case
5089
16b0db75
TV
50902020-03-31 Tom de Vries <tdevries@suse.de>
5091
5092 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5093 c. Use "maint info symtabs" to check symtab expansion.
5094
c0502da6
TV
50952020-03-30 Tom de Vries <tdevries@suse.de>
5096
5097 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5098 unsupported.
5099 (verify_psymtab_expanded): Move ...
5100 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5101 test.
5102 (readnow): New proc.
5103
5935fd15
AB
51042020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5105
5106 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5107 with $hex.
5108
1773be9e
TT
51092020-03-20 Tom Tromey <tromey@adacore.com>
5110
5111 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5112
70304be9
TT
51132020-03-20 Tom Tromey <tromey@adacore.com>
5114
5115 * gdb.ada/sub_variant/subv.adb: New file.
5116 * gdb.ada/sub_variant.exp: New file.
5117
0dd7b8f7
TV
51182020-03-20 Tom de Vries <tdevries@suse.de>
5119
5120 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5121 first break fails.
5122 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5123
cada5fc9
AB
51242020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5125
5126 * gdb.server/exit-multiple-threads.c: New file.
5127 * gdb.server/exit-multiple-threads.exp: New file.
5128
6b8c53f2
AB
51292020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5130
5131 * gdb.fortran/mixed-lang-stack.c: New file.
5132 * gdb.fortran/mixed-lang-stack.cpp: New file.
5133 * gdb.fortran/mixed-lang-stack.exp: New file.
5134 * gdb.fortran/mixed-lang-stack.f90: New file.
5135
19a2740f
AB
51362020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5137
5138 * gdb.linespec/cp-completion-aliases.cc: New file.
5139 * gdb.linespec/cp-completion-aliases.exp: New file.
5140
d8c8b848
TV
51412020-03-19 Tom de Vries <tdevries@suse.de>
5142
5143 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5144 more precise.
5145
a9933ccf
TV
51462020-03-18 Tom de Vries <tdevries@suse.de>
5147
5148 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5149 * gdb.dwarf2/break-inline-psymtab.c: New test.
5150 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5151
2f89101f
TV
51522020-03-16 Tom de Vries <tdevries@suse.de>
5153
5154 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5155 cache_verify and cache_verify_proc.
5156
6b9374f1
TV
51572020-03-15 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.server/solib-list.exp: Handle
5160 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5161
eaeaf44c
TV
51622020-03-15 Tom de Vries <tdevries@suse.de>
5163
5164 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5165 objfiles".
5166
3293bbaf
TT
51672020-03-14 Tom Tromey <tom@tromey.com>
5168
5169 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5170
ab44624c
TV
51712020-03-14 Tom de Vries <tdevries@suse.de>
5172
5173 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5174
54c43825
TV
51752020-03-14 Tom de Vries <tdevries@suse.de>
5176
5177 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5178 result in line-by-line fashion.
5179
2ac70237
TV
51802020-03-14 Tom de Vries <tdevries@suse.de>
5181
5182 * lib/gdb.exp (supports_statement_frontiers): New proc.
5183 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5184
09546b56
TV
51852020-03-14 Tom de Vries <tdevries@suse.de>
5186
5187 * gdb.base/printcmds.exp: Add missing quoting for "print
5188 teststring2".
5189
a1f6a07c
TT
51902020-03-13 Tom Tromey <tom@tromey.com>
5191
5192 * gdb.base/printcmds.exp (test_print_strings): Add regression
5193 test.
5194 * gdb.base/printcmds.c (charptr): New typedef.
5195 (teststring2): New global.
5196
1b83d09c
AB
51972020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5198
5199 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5200 full path in the test name.
5201 (test_ld): Add some with_test_prefix blocks to make test names
5202 unique.
5203
2d61316c
TV
52042020-03-13 Tom de Vries <tdevries@suse.de>
5205
5206 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5207
2e9145ac
TV
52082020-03-13 Tom de Vries <tdevries@suse.de>
5209
5210 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5211
96c7f873
TV
52122020-03-13 Tom de Vries <tdevries@suse.de>
5213
5214 PR symtab/25646
5215 * gdb.dwarf2/imported-unit.exp: Add test.
5216
49ba92c0
TV
52172020-03-13 Tom de Vries <tdevries@suse.de>
5218
5219 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5220 (var1, var2): New variable.
5221 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5222 matching symbols.
5223
301b21e0
TV
52242020-03-13 Tom de Vries <tdevries@suse.de>
5225
5226 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5227 (Term::command): Use prompt prefix.
5228 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5229 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5230 command_no_prompt_prefix instead of prefix.
5231 * gdb.tui/tui-layout-asm.exp: Same.
5232
3f512721
SM
52332020-03-12 Simon Marchi <simon.marchi@efficios.com>
5234
5235 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5236
40310f30
SM
52372020-03-12 Simon Marchi <simon.marchi@efficios.com>
5238
5239 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5240 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5241 on" while stepping over the test instruction, match printed
5242 message.
5243
09252140
TV
52442020-03-12 Tom de Vries <tdevries@suse.de>
5245
5246 * gdb.base/info-types.exp: Use exp_continue during matching of output
5247 of "info types".
5248
14e9c72c
TV
52492020-03-12 Tom de Vries <tdevries@suse.de>
5250
5251 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5252
e515d67e
TV
52532020-03-12 Tom de Vries <tdevries@suse.de>
5254
5255 * gdb.fortran/module.exp: Use exp_continue during matching of output
5256 of "info variable -n".
5257
307eafd8
TV
52582020-03-12 Tom de Vries <tdevries@suse.de>
5259
5260 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5261 gdb.dwarf2/dw2-ranges-base.c.
5262
9a2de3fc
TV
52632020-03-12 Tom de Vries <tdevries@suse.de>
5264
5265 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5266 in presence of GLIBC debuginfo.
5267
3217502e
TV
52682020-03-12 Tom de Vries <tdevries@suse.de>
5269
5270 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5271 $core.
5272
1281424c
TV
52732020-03-12 Tom de Vries <tdevries@suse.de>
5274
5275 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5276 more precise.
5277
038b97fc
SM
52782020-03-11 Simon Marchi <simon.marchi@efficios.com>
5279
5280 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5281 from Unix to Windows path.
5282
5308d1e7
TV
52832020-03-11 Tom de Vries <tdevries@suse.de>
5284
5285 * gdb.ada/minsyms.exp: Set language to ada.
5286
f870f78f
TV
52872020-03-11 Tom de Vries <tdevries@suse.de>
5288
5289 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5290
5a13315d
TV
52912020-03-11 Tom de Vries <tdevries@suse.de>
5292
5293 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5294
976862ed
TT
52952020-03-11 Tom Tromey <tromey@adacore.com>
5296
5297 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5298
7462c383
TV
52992020-03-11 Tom de Vries <tdevries@suse.de>
5300
5301 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5302
1c6c46a0
TV
53032020-03-11 Tom de Vries <tdevries@suse.de>
5304
5305 * gdb.base/break-interp.exp: Limit verbose scope.
5306
44f41bb7
TV
53072020-03-11 Tom de Vries <tdevries@suse.de>
5308
5309 * gdb.fortran/logical.f90: Define variable with character type.
5310 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5311
b76f3a42
TV
53122020-03-11 Tom de Vries <tdevries@suse.de>
5313
5314 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5315
1c33af77
TV
53162020-03-11 Tom de Vries <tdevries@suse.de>
5317
5318 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5319 symtabs.
5320
8c95582d
AB
53212020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5322 Bernd Edlinger <bernd.edlinger@hotmail.de>
5323
5324 * gdb.cp/step-and-next-inline.cc: New file.
5325 * gdb.cp/step-and-next-inline.exp: New file.
5326 * gdb.cp/step-and-next-inline.h: New file.
5327 * gdb.dwarf2/dw2-is-stmt.c: New file.
5328 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5329 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5330 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5331 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5332
cecf8547
AB
53332020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5334
5335 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5336 is-stmt flag in the line table.
5337
0ba678c9
TV
53382020-03-09 Tom de Vries <tdevries@suse.de>
5339
5340 * lib/gdb.exp (cached_file): Create cache dir.
5341
72fbdf83
TV
53422020-03-07 Tom de Vries <tdevries@suse.de>
5343
5344 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5345 * gdb.cp/rvalue-ref-params.exp: Same.
5346
436b5e99
TV
53472020-03-06 Tom de Vries <tdevries@suse.de>
5348
5349 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5350 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5351
09f2921c
TV
53522020-03-06 Tom de Vries <tdevries@suse.de>
5353
5354 * README: Fix "the the".
5355 * gdb.base/dprintf.exp: Same.
5356
50a3cc5d
TV
53572020-03-05 Tom de Vries <tdevries@suse.de>
5358
5359 * gdb.base/maint.exp: Update "main print statistics" expected output.
5360
0a709cba
AKS
53612020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5362
5363 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5364 (fortran_int8): Likewise.
5365 (fortran_real4): Likewise.
5366 (fortran_real8): Likewise.
5367 (fortran_complex4): Likewise.
5368 (fortran_logical4): Likewise.
5369 (fortran_character1): Likewise.
5370
5e5d66b6
AB
53712020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5372
5373 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5374 printed as true.
5375
7b973adc
SDJ
53762020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5377
5378 * gdb.base/printcmds.exp: Add test to verify printf of a
5379 variable holding an address.
5380
478e490a
TV
53812020-03-03 Tom de Vries <tdevries@suse.de>
5382
5383 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5384
1ef44e86
TV
53852020-03-03 Tom de Vries <tdevries@suse.de>
5386
5387 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5388 gdb_test_multiple call.
5389
b98cc2cf
TV
53902020-03-03 Tom de Vries <tdevries@suse.de>
5391
5392 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5393 gdb_test_multiple calls.
5394
63e163f2
AB
53952020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5396
5397 * gdb.base/default.exp: Remove test of 'set history filename'.
5398 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5399 filename to the empty string.
5400 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5401 and GDBHISTSIZE.
5402
24ed6739
AB
54032020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5404
5405 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5406 disabled.
5407
590003dc 54082020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5409 Tom de Vries <tdevries@suse.de>
590003dc
TV
5410
5411 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5412 -prompt prefix, before user_code argument. Add -lbl option likewise.
5413 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5414 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5415 argument.
5416 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5417 have "\r\n" at start-of-line, instead of at end-of-line.
5418
f5e46084
SM
54192020-02-28 Simon Marchi <simon.marchi@efficios.com>
5420
5421 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5422 libinproctrace.so.
5423
f7a7000d
LM
54242020-02-28 Luis Machado <luis.machado@linaro.org>
5425
5426 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5427 to "p/x".
5428
718e0816
LM
54292020-02-28 Luis Machado <luis.machado@linaro.org>
5430
5431 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5432 asm/ptrace.h and error.h.
5433
13c3a74a
TV
54342020-02-28 Tom de Vries <tdevries@suse.de>
5435
5436 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5437 (struct wrapper, do_something, mundane/symada__cS): Move ...
5438 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5439 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5440 Update "print symada__cS before partial symtab expansion" regexp.
5441 Update breakpoint location. Flush symbol cache after expansion.
5442
85d2d5bb
LM
54432020-02-28 Luis Machado <luis.machado@linaro.org>
5444
5445 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5446
3608f86c
TV
54472020-02-27 Tom de Vries <tdevries@suse.de>
5448
5449 * config/sid.exp: Remove unused globals.
5450 * gdb.base/attach.exp: Same.
5451 * gdb.base/catch-load.exp: Same.
5452 * gdb.base/dbx.exp: Same.
5453 * lib/gdb.exp: Same.
5454 * lib/mi-support.exp: Same.
5455 * lib/prompt.exp: Same.
5456
c8d4f6df
TV
54572020-02-27 Tom de Vries <tdevries@suse.de>
5458
5459 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5460 not set.
5461
0d79cdc4
AM
54622020-02-26 Aaron Merey <amerey@redhat.com>
5463
5464 * gdb.debuginfod: New directory for debuginfod tests.
5465 * gdb.debuginfod/main.c: New test file.
5466 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5467
0dce4280
TV
54682020-02-26 Tom de Vries <tdevries@suse.de>
5469
5470 PR gdb/25603
5471 * gdb.base/persistent-lang.cc: New test.
5472 * gdb.base/persistent-lang.exp: New file.
5473
9e80cfa1
AB
54742020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5475
5476 * gdb.fortran/derived-type-striding.exp: Add a new test.
5477 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5478 new test.
5479
2078dbb2
AB
54802020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5481
5482 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5483 names.
5484
70d49700
TV
54852020-02-25 Tom de Vries <tdevries@suse.de>
5486
5487 PR go/18926
5488 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5489
a88ef40d
TV
54902020-02-24 Tom de Vries <tdevries@suse.de>
5491
5492 PR gdb/25592
5493 * gdb.base/info-locals-unused-static-var.c: New test.
5494 * gdb.base/info-locals-unused-static-var.exp: New file.
5495
01b1af32
TT
54962020-02-22 Tom Tromey <tom@tromey.com>
5497
5498 * gdb.python/tui-window.exp: New file.
5499 * gdb.python/tui-window.py: New file.
5500
7c043ba6
TT
55012020-02-22 Tom Tromey <tom@tromey.com>
5502
5503 PR tui/17850:
5504 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5505 tests.
5506
c22fef7e
TT
55072020-02-22 Tom Tromey <tom@tromey.com>
5508
5509 * gdb.tui/new-layout.exp: Add sub-layout tests.
5510
ee325b61
TT
55112020-02-22 Tom Tromey <tom@tromey.com>
5512
5513 * gdb.tui/new-layout.exp: New file.
5514
3f0cbb04
TT
55152020-02-22 Tom Tromey <tom@tromey.com>
5516
5517 * gdb.rust/rust-style.rs: New file.
5518 * gdb.rust/rust-style.exp: New file.
5519 * gdb.base/style.exp: Test structure printing.
5520 * gdb.base/style.c (struct some_struct): New type.
5521 (enum etype): New type.
5522 (struct_value): New global.
5523
75525152
TV
55242020-02-21 Tom de Vries <tdevries@suse.de>
5525
5526 PR go/18926
5527 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5528 Remove blanket xfails. Use message argument for gdb_breakpoint.
5529 Make continuing to breakpoint test conditional on setting breakpoint.
5530 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5531 DW_AT_name attribute. Add xfail for GCC PR93866.
5532
bd360d30
AB
55332020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5534
5535 * gdb.dwarf2/cpp-linkage-name.c: New file.
5536 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5537
c7adb09f 55382020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5539
5540 * lib/gdb.exp (gdb_wrapper_init): Reset
5541 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5542 not exist.
5543
a9c79803
TV
55442020-02-20 Tom de Vries <tdevries@suse.de>
5545
5546 PR go/17018
5547 * gdb.go/hello.exp: Copy ...
5548 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5549 print of st to print value of global definition. Add xfail for GCC
5550 PR93844.
5551 * gdb.go/hello.exp: Remove printing of st before definition.
5552 * gdb.go/hello.go: Copy ...
5553 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5554 to st.
5555 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5556
d7445728
TV
55572020-02-20 Tom de Vries <tdevries@suse.de>
5558
5559 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5560 (gdb_simple_compile): Handle compile_flags go by using .go extension
5561 for source file.
5562 * gdb.go/chan.exp: Use support_go_compile.
5563 * gdb.go/handcall.exp: Same.
5564 * gdb.go/hello.exp: Same.
5565 * gdb.go/integers.exp: Same.
5566 * gdb.go/max-depth.exp: Same.
5567 * gdb.go/methods.exp: Same.
5568 * gdb.go/package.exp: Same.
5569 * gdb.go/strings.exp: Same.
5570 * gdb.go/types.exp: Same.
5571 * gdb.go/unsafe.exp: Same.
5572
c9c41e6d
TV
55732020-02-19 Tom de Vries <tdevries@suse.de>
5574
5575 * gdb.python/lib-types.exp: Make xfail more strict.
5576
f20ff837
TV
55772020-02-19 Tom de Vries <tdevries@suse.de>
5578
5579 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5580
08410482
DE
55812020-02-19 Doug Evans <dje@google.com>
5582
5583 PR rust/25535
5584 * gdb.rust/simple.exp: Add test.
5585 * gdb.rust/simple.rs: Add test.
5586
623563f7
TV
55872020-02-19 Tom de Vries <tdevries@suse.de>
5588
5589 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5590 output line-by-line.
5591
d3308cfd
TV
55922020-02-19 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5595
86cbc5dc
TV
55962020-02-19 Tom de Vries <tdevries@suse.de>
5597
5598 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5599 prelink.
5600
9db2b96b
TV
56012020-02-19 Tom de Vries <tdevries@suse.de>
5602
5603 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5604 (gdb_do_cache): Use gdb_do_cache_wrap.
5605 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5606
89e2fdc5
TV
56072020-02-19 Tom de Vries <tdevries@suse.de>
5608
5609 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5610 gdb_compile option.
5611
373d7ac0
SM
56122020-02-18 Simon Marchi <simon.marchi@efficios.com>
5613
5614 * gdb.base/printcmds.exp (test_print_enums): Update expected
5615 output.
5616
b29a2df0
SM
56172020-02-18 Simon Marchi <simon.marchi@efficios.com>
5618
5619 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5620 for "unknown".
5621
6740f0cc
SM
56222020-02-18 Simon Marchi <simon.marchi@efficios.com>
5623
5624 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5625 enumerator.
5626
edd45eb0
SM
56272020-02-18 Simon Marchi <simon.marchi@efficios.com>
5628
5629 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5630 FE_, add FE_NONE.
5631 (three): Update.
5632 (enum flag_enum_without_zero): New enum.
5633 (flag_enum_without_zero): New variable.
5634 (enum not_flag_enum): New enum.
5635 (three_not_flag): New variable.
5636 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5637 (test_print_enums): Add more tests for printing flag enums.
5638
d4295de4
TV
56392020-02-18 Tom de Vries <tdevries@suse.de>
5640
5641 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5642 (gdb_compile_ada): ... here.
5643 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5644 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5645
f251f505
TT
56462020-02-14 Tom Tromey <tom@tromey.com>
5647
5648 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5649 build directory.
5650 * boards/gdbserver-base.exp: Update path to gdbserver.
5651
8f432634
TV
56522020-02-13 Tom de Vries <tdevries@suse.de>
5653
5654 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5655
92b6eaf7
TV
56562020-02-13 Tom de Vries <tdevries@suse.de>
5657
5658 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5659 are missing.
5660
f3b0f7fe
TV
56612020-02-13 Tom de Vries <tdevries@suse.de>
5662
5663 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5664 call.
5665
f6be8713
SDJ
56662020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5667
5668 PR tui/25126
5669 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5670 * gdb.base/cached-source-file.c: New file.
5671 * gdb.base/cached-source-file.exp: New file.
5672
b2770d5e
TV
56732020-02-11 Tom de Vries <tdevries@suse.de>
5674
5675 PR testsuite/25488
5676 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5677
44f6938e
TV
56782020-02-10 Tom de Vries <tdevries@suse.de>
5679
5680 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5681
5f0e2eb7
MR
56822020-02-10 Maciej W. Rozycki <macro@wdc.com>
5683
5684 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5685 and $after_addr are both integers before making a comparison.
5686
46ce2b6f
TV
56872020-02-09 Tom de Vries <tdevries@suse.de>
5688
5689 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5690 command output and paste it into gdb.log. If any, paste catch message
5691 to gdb.log.
5692
5abbbe1d
TT
56932020-02-07 Tom Tromey <tromey@adacore.com>
5694
5695 PR breakpoints/24915:
5696 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5697
1d5d29e7
SV
56982020-02-06 Shahab Vahedi <shahab@synopsys.com>
5699
5700 * gdb.tui/tui-missing-src.exp: Add the "missing source
5701 file" test for the TUI.
5702
b0999b9b
AB
57032020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5704
5705 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5706 including a port number in the output.
5707
c3b149eb
AKS
57082020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5709
5710 * lib/fortran.exp (fortran_int4): Handle clang.
5711 (fortran_int8): Likewise.
5712 (fortran_real4): Likewise.
5713 (fortran_real8): Likewise.
5714 (fortran_complex4): Likewise.
5715 (fortran_logical4): Likewise.
5716 (fortran_character1): Likewise.
5717
f8dcc90b
TV
57182020-02-04 Tom de Vries <tdevries@suse.de>
5719
5720 * README (Race detection): Add note.
5721
f90ac7c2
TV
57222020-02-04 Tom de Vries <tdevries@suse.de>
5723
5724 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5725
780636ae
TV
57262020-02-04 Tom de Vries <tdevries@suse.de>
5727
5728 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5729
5d2e1193
RA
57302020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5731
5732 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5733 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5734 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5735 blttar, bnetarl.
5736 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5737 binary for blttar, bnetarl.
5738 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5739 wait instruction. Delete ldmx test.
5740 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5741
e409c542
AKS
57422020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5743
5744 * gdb.fortran/array-bounds-high.exp: New file.
5745 * gdb.fortran/array-bounds-high.f90: New file.
5746
b0029748
LD
57472020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5748
5749 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5750 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5751
195a8287
TV
57522020-02-01 Tom de Vries <tdevries@suse.de>
5753
5754 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5755
42330a68
AB
57562020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5757
5758 PR tui/9765
5759 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5760 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5761
b62a8028
LM
57622020-01-29 Luis Machado <luis.machado@linaro.org>
5763
5764 * gdb.arch/aarch64-brk-patterns.c: New source file.
5765 * gdb.arch/aarch64-brk-patterns.exp: New test.
5766
5f440116
TBA
57672020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5768
5769 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5770 GCC/Clang version.
5771 * gdb.cp/pass-by-ref.exp: Ditto.
5772
ee2a6fc6
TV
57732020-01-29 Tom de Vries <tdevries@suse.de>
5774
5775 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5776 * gdb.threads/watchpoint-fork-mt.c: Same.
5777 * gdb.threads/watchpoint-fork-parent.c: Same.
5778 * gdb.threads/watchpoint-fork-st.c: Same.
5779 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5780
16b10d6e
LM
57812020-01-27 Luis Machado <luis.machado@linaro.org>
5782
5783 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5784 sitting at a syscall instruction when we hit the syscall function's
5785 breakpoint.
5786 Check PC against one obtained with the x command.
5787 Validate syscall number.
5788 (step_over_syscall): Don't continue to the syscall instruction if
5789 we're already there.
5790
b1468492
PW
57912020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5792
5793 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5794
7ffa82e1
AB
57952020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5796
5797 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5798 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5799
3d92a3e3
AB
58002020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5801
5802 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5803 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5804
94a72be7
AB
58052020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5806
5807 * gdb.base/maint.exp: Update line table parsing test.
5808 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5809
53af73bf
PA
58102020-01-24 Pedro Alves <palves@redhat.com>
5811
5812 PR gdb/25410
5813 * gdb.multi/multi-re-run-1.c: New.
5814 * gdb.multi/multi-re-run-2.c: New.
5815 * gdb.multi/multi-re-run.exp: New.
5816
1ba1ac88
AB
58172020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5818
5819 PR gdb/23718
5820 * gdb.server/server-kill-python.exp: New file.
5821
f3364a6d
AB
58222020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5823
5824 * gdb.server/multi-ui-errors.c: New file.
5825 * gdb.server/multi-ui-errors.exp: New file.
5826
733d0a67
AB
58272020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5828
5829 PR tui/9765
5830 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5831
4f13c1c0
TT
58322020-01-19 Tom Tromey <tom@tromey.com>
5833
5834 * gdb.tui/main.exp: Add check for plain "file".
5835
40c94099
CB
58362020-01-16 Christian Biesinger <cbiesinger@google.com>
5837
5838 * lib/gdb.exp: Fix spelling error (seperatelly).
5839
ff47f4f0
TT
58402020-01-14 Tom Tromey <tom@tromey.com>
5841
5842 PR symtab/12535:
5843 * gdb.python/python.exp: Test decode_line with empty string
5844 argument.
5845
717c684d
BE
58462020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5847
5848 * gdb.base/skip-inline.exp: Extend test.
5849
44e4c775
AB
58502020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5851
5852 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5853 * gdb.dwarf2/dw2-bad-elf.c: New file.
5854 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5855
d93c6db7
AB
58562020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5857
5858 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5859 _line_saw_file.
5860
9a6d629c
AB
58612020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5862
5863 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5864 border.
5865
d9ebdab7
TBA
58662020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5867
5868 * gdb.multi/multi-target.exp (setup): Factor out "info
5869 connections" and "info inferiors" tests to ...
5870 (test_info_inferiors): ... this new procedure.
5871 (top level): Run new "info-inferiors" tests.
5872
f3c469b9
PA
58732020-01-10 Pedro Alves <palves@redhat.com>
5874
5875 * gdb.server/bkpt-other-inferior.exp: New file.
5876
121b3efd
PA
58772020-01-10 Pedro Alves <palves@redhat.com>
5878
5879 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5880 of "add-inferior".
5881 * gdb.base/quit-live.exp: Likewise.
5882 * gdb.base/remote-exec-file.exp: Likewise.
5883 * gdb.guile/scm-progspace.exp: Likewise.
5884 * gdb.linespec/linespec.exp: Likewise.
5885 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5886 * gdb.mi/user-selected-context-sync.exp: Likewise.
5887 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5888 "info inferiors" tests.
5889 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5890 "add-inferior".
5891 * gdb.multi/watchpoint-multi.exp: Likewise.
5892 * gdb.python/py-inferior.exp: Likewise.
5893 * gdb.server/extended-remote-restart.exp: Likewise.
5894 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5895 "info inferiors".
5896 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5897 * gdb.trace/report.exp: Likewise.
5898
1dadb1dd
PA
58992020-01-10 Pedro Alves <palves@redhat.com>
5900
5901 * gdb.multi/multi-target.c: New file.
5902 * gdb.multi/multi-target.exp: New file.
5903 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5904 mode requested, but remote does not support non-stop".
5905
78f2c40a
PA
59062020-01-10 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5909 disconnect before reconnecting.
5910
e7af6c70
TBA
59112020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5912 Pedro Alves <palves@redhat.com>
5913
5914 * gdb.server/connect-without-multi-process.exp: Also test
5915 continuing to end.
5916
acdf84a6
PA
59172020-01-10 Pedro Alves <palves@redhat.com>
5918
5919 * gdb.base/remote-exec-file.exp: New file.
5920
873657b9
PA
59212020-01-10 Pedro Alves <palves@redhat.com>
5922
5923 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5924 output.
5925 * gdb.threads/async.c: New.
5926 * gdb.threads/async.exp: New.
5927 * gdb.multi/tids-gid-reset.c: New.
5928 * gdb.multi/tids-gid-reset.exp: New.
5929
7f0ae84c
GB
59302020-01-10 George Barrett <bob@bob131.so>
5931
5932 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5933 to help in finding the image relocation offset.
5934 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5935 options in arguments.
5936 (stap_test_no_debuginfo): Likewise.
5937 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5938 test variants.
5939 (stap_test): Add null semaphore relocation test.
5940
47e9d49d
GB
59412020-01-10 George Barrett <bob@bob131.so>
5942
5943 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5944 * gdb.base/stap-probe.exp: Likewise.
5945 (stap_test): Pass argument as an additional flag.
5946 (stap_test_no_debuginfo): Likewise.
5947 (stap_test): Check `info probes stap' output for semaphore
5948 addresses if the test binary is supposed to have them.
5949
f5a7c406
AB
59502020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5951
5952 * gdb.tui/basic.exp: Add more scrolling tests.
5953
9ae6bf64
TT
59542020-01-09 Tom Tromey <tom@tromey.com>
5955
5956 PR tui/18932:
5957 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5958 meangingful value.
5959 (Term::command, Term::resize): Update.
5960 * gdb.tui/basic.exp: Add scrolling test.
5961
b2efe70c
AB
59622020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5963
5964 * gdb.tui/tui-layout-asm.exp: New file.
5965
3804da7e
AB
59662020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5967
5968 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5969
b40aa28f
AB
59702020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5973 (Term::enter_tui): Use Term::prepare_for_tui.
5974
63ffd7c9
AB
59752020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5976
5977 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5978 called.
5979
3be966f6
AB
59802020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5981
5982 * gdb.base/skip.exp: Fix race condition in test.
5983
153d79c4
AB
59842020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5985
5986 * gdb.base/backtrace.c: New file.
5987 * gdb.base/backtrace.exp: New file.
5988
f2302a34
AB
59892020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5990
5991 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5992
6ec1d75e
PW
59932020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5994
5995 * gdb.base/style.exp: Test that warnings are styled.
5996
c296cbe6
BE
59972019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5998
5999 * gdb.base/line65535.exp: New file.
6000 * gdb.base/line65535.c: New file.
6001
b28a729d
SM
60022019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6003
6004 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6005 * lib/gnat_debug_info_test.adb: New file.
6006 * gdb.ada/ptype_tagged_param.exp: Use
6007 gnat_runtime_has_debug_info, expect a different output if
6008 runtime does not have debug info.
6009
7f2d7a0d
SM
60102019-12-20 Simon Marchi <simon.marchi@efficios.com>
6011
6012 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6013 (another) quote in test name.
6014
f3bce483
SM
60152019-12-20 Simon Marchi <simon.marchi@efficios.com>
6016
6017 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6018 Add quote in test name.
6019
c855a912
TBA
60202019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6021
6022 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6023 directory instead.
6024 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6025 * gdb.cp/pass-by-ref-2.cc: New file.
6026 * gdb.cp/pass-by-ref-2.exp: New file.
6027
fc9d2d72
TT
60282019-12-20 Tom Tromey <tom@tromey.com>
6029
6030 * gdb.tui/list-before.exp: New file.
6031
77b97e00
TT
60322019-12-20 Tom Tromey <tom@tromey.com>
6033
6034 * gdb.tui/list.exp: Check for source on initial listing.
6035
f69656d0
TT
60362019-12-11 Tom Tromey <tromey@adacore.com>
6037
6038 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6039 Add crlf test.
6040
99a55965
SM
60412019-12-18 Simon Marchi <simon.marchi@efficios.com>
6042
6043 * gdb.base/default.exp: Update value of $_gdb_major.
6044
5024637f
BE
60452019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6046
6047 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6048
b63634be
BE
60492019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6050
6051 * gdb.base/skip.exp: Whitespace fix.
6052
45d73523
BE
60532019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6054
6055 * gdb.base/skip-inline.c: New file.
6056 * gdb.base/skip-inline.exp: New file.
6057
d043f8c8
SM
60582019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6059
6060 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6061 jit_function_00 to jit_function_stack_mangle.
6062 * gdb.base/jithost.c (jit_function_t): Rename to...
6063 (jit_function_stack_mangle_t): ... this.
6064 (jit_function_add_t): New typedef.
6065 (jit_function_00_code): Rename to...
6066 (jit_function_stack_mangle_code): ... this, make static.
6067 (jit_function_add_code): New.
6068 (main): Generate "add" function and call it. Adjust to changes
6069 in jithost_abi.
6070 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6071 (struct jithost_abi) <begin, end>: Remove fields.
6072 <object, function_stack_mangle, function_add>: New fields.
6073 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6074 code_end>: Remove fields.
6075 <func_stack_mangle>: New field.
6076 (read_debug_info): Adjust to renaming, create block for "add"
6077 function.
6078 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6079
873de05c
TT
60802019-12-11 Tom Tromey <tom@tromey.com>
6081
6082 * gdb.tui/resize.exp: Fix regexp.
6083 * gdb.tui/regs.exp: Fix regexps.
6084 * gdb.tui/main.exp: Fix regexp.
6085
3d979945
TT
60862019-12-11 Tom Tromey <tom@tromey.com>
6087
6088 * gdb.tui/resize.exp: Update.
6089 * gdb.tui/empty.exp (layouts): Update.
6090
2192a9d3
TT
60912019-12-11 Tom Tromey <tom@tromey.com>
6092
6093 * gdb.tui/regs.exp: Update.
6094 * gdb.tui/empty.exp (layouts): Update.
6095 * gdb.tui/basic.exp: Update.
6096 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6097
d8edc8b7
PW
60982019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6099
6100 * gdb.base/options.exp: Add -raw-values in the print completion list.
6101 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6102
4c12d936
KB
61032019-12-10 Kevin Buettner <kevinb@redhat.com>
6104
6105 * gdb.threads/omp-par-scope.c: New file.
6106 * gdb/threads/omp-par-scope.exp: New file.
6107
26b911fb
KB
61082019-12-10 Kevin Buettner <kevinb@redhat.com>
6109
bb47f919
KB
6110 * lib/gdb.exp (support_nested_function_tests): New proc.
6111
61122019-12-10 Kevin Buettner <kevinb@redhat.com>
6113
6114 * lib/gdb.exp (gdb_compile_openmp): New proc.
6115 (build_executable_from_specs): Add an "openmp" option.
6116 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6117
6c71eb7d
TT
61182019-12-10 Tom Tromey <tromey@adacore.com>
6119
6120 * gdb.ada/unchecked_union.exp: New file.
6121 * gdb.ada/unchecked_union/pck.adb: New file.
6122 * gdb.ada/unchecked_union/pck.ads: New file.
6123 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6124 * gdb-utils.exp (string_to_regexp): Also quote "?".
6125
bac7c5cf
GB
61262019-12-10 George Barrett <bob@bob131.so>
6127
6128 Test scripted probe breakpoints.
6129 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6130 * gdb.python/py-breakpoint.c (main): Likewise.
6131 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6132 specifier test.
6133 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6134
330f1d38
TBA
61352019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6136
6137 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6138 an rvalue parameter.
6139 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6140 parameter.
6141
b43315e2
AB
61422019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6143
6144 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6145 modules.
6146
54f73dad
AB
61472019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6148
6149 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6150 broken version of GCC.
6151
d57cbee9
AB
61522019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6153
6154 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6155 sym-info-cmds library.
6156 * gdb.fortran/info-types.exp: Likewise.
6157 * lib/sym-info-cmds.exp: New file.
6158
c14aab8c
TV
61592019-12-08 Tom de Vries <tdevries@suse.de>
6160
6161 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6162
aa2d5a42
KS
61632019-12-07 Keith Seitz <keiths@redhat.com>
6164
6165 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6166 * gdb.base/corefile-buildid-shlib.c: New file.
6167 * gdb.base/corefile-buildid.c: New file.
6168 * gdb.base/corefile-buildid.exp: New file.
6169
93e55f0a
TV
61702019-12-06 Tom de Vries <tdevries@suse.de>
6171
6172 * gdb.dwarf2/varval.exp: Add decl before def test.
6173
c7d12402
TBA
61742019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6175
6176 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6177
06acc08f
TBA
61782019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6179
6180 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6181 CV and reference conversion for overload resolution.
6182 * gdb.cp/rvalue-ref-overload.exp: Test it.
6183
e0fad1ea
PW
61842019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6185
6186 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6187 * gdb.base/frameapply.exp: Test faas without command.
6188
8d70a9f0
AB
61892019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6190
6191 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6192 Fortran tests.
6193 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6194 order.
6195
36c8fb93
AB
61962019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6197
6198 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6199 casting to type with no kind specified.
6200 (test_basic_parsing_of_type_kinds): Additional tests for types
6201 with no kind specified, and add tests for single/double
6202 precision/complex types.
6203
4139ff00
TT
62042019-12-04 Tom Tromey <tromey@adacore.com>
6205
6206 * gdb.base/endianity.c (struct other) <x>: New field.
6207 (main): Initialize it.
6208 * gdb.base/endianity.exp: Update.
6209
a05cf17a
TT
62102019-12-04 Tom Tromey <tromey@adacore.com>
6211
6212 * gdb.ada/scalar_storage/storage.adb: New file.
6213 * gdb.ada/scalar_storage/pck.adb: New file.
6214 * gdb.ada/scalar_storage/pck.ads: New file.
6215 * gdb.ada/scalar_storage.exp: New file.
6216
103a685e
TT
62172019-12-04 Tom Tromey <tromey@adacore.com>
6218
6219 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6220 (main): Initialize it.
6221 * gdb.base/endianity.exp: Update.
6222
c2512106
AB
62232019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6224
6225 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6226
293b38d6
AB
62272019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6228
6229 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6230 -symbol-info-module-functions and -symbol-info-module-variables.
6231
216a7e6b
AB
62322019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6233
6234 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6235
5bbd8269
AB
62362019-12-01 Richard Bunt <richard.bunt@arm.com>
6237 Andrew Burgess <andrew.burgess@embecosm.com>
6238
6239 * gdb.fortran/derived-type-striding.exp: New file.
6240 * gdb.fortran/derived-type-striding.f90: New file.
6241 * gdb.fortran/array-slices.exp: New file.
6242 * gdb.fortran/array-slices.f90: New file.
6243
be09caf1
PW
62442019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6245
6246 * gdb.base/define.exp: Test . in command names.
6247 * gdb.base/setshow.exp: Update test, as . is now part of
6248 command name.
6249
643c0cbe
PW
62502019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6251
6252 * gdb.base/define-prefix.exp: New file.
6253
dcdec678
AB
62542019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6255
6256 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6257 compile.
6258 (skip_btrace_pt_tests): Likewise.
6259
640ab947
AB
62602019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6261
6262 * gdb.fortran/info-modules.exp: Compile source files in correct
6263 order.
6264
d22670f0
KB
62652019-11-27 Kevin Buettner <kevinb@redhat.com>
6266
6267 * gdb.dwarf2/imported-unit.exp: New file.
6268 * gdb.dwarf2/imported-unit.c: New file.
6269
db5960b4
AB
62702019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6271
6272 * gdb.mi/mi-fortran-modules-2.f90: New file.
6273 * gdb.mi/mi-fortran-modules.exp: New file.
6274 * gdb.mi/mi-fortran-modules.f90: New file.
6275
7dc42066
AB
62762019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6277
6278 * gdb.mi/mi-sym-info-1.c: New file.
6279 * gdb.mi/mi-sym-info-2.c: New file.
6280 * gdb.mi/mi-sym-info.exp: New file.
6281
0dfeecca
TT
62822019-11-22 Tom Tromey <tromey@adacore.com>
6283
6284 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6285 * gdb.ada/tasks/foo.adb: Add another stopping location.
6286
34877895
PJ
62872019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6288
6289 * gdb.base/endianity.c: New test.
6290 * gdb.base/endianity.exp: New file.
6291
2e84f897
LD
62922019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6293
6294 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6295
65d1cd5f
TV
62962019-11-21 Tom de Vries <tdevries@suse.de>
6297
6298 PR gdb/24956
6299 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6300
4f22c3f4
SDJ
63012019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6302
6303 * gdb.python/py-progspace.exp: Add missing parentheses on some
6304 'print' commands.
6305
9f6ad286
TT
63062019-11-19 Tom Tromey <tom@tromey.com>
6307
6308 * gdb.tui/winheight.exp: New file.
6309
0b8dbf3f
AB
63102019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6311
6312 * gdb.base/ctf-whatis.c: Delete.
6313 * gdb.base/ctf-whatis.exp: Delete.
6314 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6315
f833b7a7
AB
63162019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6317
6318 * gdb.base/ctf-cvexpr.exp: Delete.
6319 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6320
30d0a636
AB
63212019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6322
6323 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6324 the compiler. Clean up header comment a little.
6325 * gdb.base/ctf-ptype.exp: Likewise.
6326 * gdb.base/ctf-whatis.exp: Likewise.
6327 * lib/gdb.exp (skip_ctf_tests): New proc.
6328
494409bb
SDJ
63292019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6330
6331 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6332 * gdb.tui/corefile-run.exp: New file.
6333
55708e99
TT
63342019-11-14 Tom Tromey <tromey@adacore.com>
6335
6336 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6337 regression tests.
6338
45e42163
TT
63392019-11-12 Tom Tromey <tom@tromey.com>
6340
6341 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6342 after any command. Expect prompt after WAIT_FOR is seen.
6343 (enter_tui): Enable resize messages.
6344 (command): Expect command in output.
6345 (get_line): Avoid error when cursor appears to be off-screen.
6346 (dump_screen): Include screen size in title.
6347 (_do_resize): New proc, from "resize".
6348 (resize): Rewrite. Do resize in two steps.
6349 * gdb.tui/empty.exp (layouts): Fix entries.
6350 (check_boxes): Remove xfail.
6351 (check_text): Dump screen on failure.
6352
086baaf1
AB
63532019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * gdb.python/py-symbol.exp: Add test for
6356 gdb.lookup_static_symbols.
6357
09ff83af
AB
63582019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6359
6360 * gdb.python/py-symbol.c: Declare and call function from new
6361 py-symbol-2.c file.
6362 * gdb.python/py-symbol.exp: Compile both source files, and add new
6363 tests for gdb.lookup_static_symbol.
6364 * gdb.python/py-symbol-2.c: New file.
6365
11af934b
TV
63662019-11-02 Tom de Vries <tdevries@suse.de>
6367
6368 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6369 * gdb.base/anon.exp: Same.
6370 * gdb.base/auto-connect-native-target.exp: Same.
6371 * gdb.base/call-ar-st.exp: Same.
6372 * gdb.base/catch-syscall.exp: Same.
6373 * gdb.base/commands.exp: Same.
6374 * gdb.base/default.exp: Same.
6375 * gdb.base/display.exp: Same.
6376 * gdb.base/float.exp: Same.
6377 * gdb.base/foll-fork.exp: Same.
6378 * gdb.base/help.exp: Same.
6379 * gdb.base/info-macros.exp: Same.
6380 * gdb.base/info-proc.exp: Same.
6381 * gdb.base/info-target.exp: Same.
6382 * gdb.base/long_long.exp: Same.
6383 * gdb.base/macscp.exp: Same.
6384 * gdb.base/memattr.exp: Same.
6385 * gdb.base/nofield.exp: Same.
6386 * gdb.base/pointers.exp: Same.
6387 * gdb.base/printcmds.exp: Same.
6388 * gdb.base/ptype.exp: Same.
6389 * gdb.base/restore.exp: Same.
6390 * gdb.base/return.exp: Same.
6391 * gdb.base/scope.exp: Same.
6392 * gdb.base/set-noassign.exp: Same.
6393 * gdb.base/setshow.exp: Same.
6394 * gdb.base/shlib-call.exp: Same.
6395 * gdb.base/signals.exp: Same.
6396 * gdb.base/sigstep.exp: Same.
6397 * gdb.base/skip.exp: Same.
6398 * gdb.base/solib-symbol.exp: Same.
6399 * gdb.base/stap-probe.exp: Same.
6400 * gdb.base/step-line.exp: Same.
6401 * gdb.base/step-test.exp: Same.
6402 * gdb.base/style.exp: Same.
6403 * gdb.base/varargs.exp: Same.
6404 * gdb.base/vla-datatypes.exp: Same.
6405 * gdb.base/vla-ptr.exp: Same.
6406 * gdb.base/vla-sideeffect.exp: Same.
6407 * gdb.base/volatile.exp: Same.
6408 * gdb.base/watch-cond-infcall.exp: Same.
6409 * gdb.base/watchpoint.exp: Same.
6410
e96ec2ba
TV
64112019-11-02 Tom de Vries <tdevries@suse.de>
6412
6413 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6414 * gdb.cp/cpexprs.exp: Same.
6415 * gdb.cp/except-multi-location.exp: Same.
6416 * gdb.cp/exceptprint.exp: Same.
6417 * gdb.cp/gdb2384.exp: Same.
6418 * gdb.cp/inherit.exp: Same.
6419 * gdb.cp/m-static.exp: Same.
6420 * gdb.cp/meth-typedefs.exp: Same.
6421 * gdb.cp/misc.exp: Same.
6422 * gdb.cp/namespace.exp: Same.
6423 * gdb.cp/non-trivial-retval.exp: Same.
6424 * gdb.cp/overload.exp: Same.
6425 * gdb.cp/pr17132.exp: Same.
6426 * gdb.cp/re-set-overloaded.exp: Same.
6427 * gdb.cp/rvalue-ref-types.exp: Same.
6428 * gdb.cp/templates.exp: Same.
6429
bd5766ec
LM
64302019-11-01 Luis Machado <luis.machado@linaro.org>
6431
6432 PR gdb/25124
6433
6434 * gdb.arch/pr25124.S: New file.
6435 * gdb.arch/pr25124.exp: New file.
6436
165f8965
AB
64372019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6438
6439 * gdb.fortran/info-modules.exp: Update expected results, and add
6440 additional tests for 'info module functinos', and 'info module
6441 variables'.
6442 * gdb.fortran/info-types.exp: Update expected results.
6443 * gdb.fortran/info-types.f90: Extend testcase with additional
6444 module variables and functions.
6445
59c35742
AB
64462019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6447
6448 * gdb.fortran/info-modules.exp: New file.
6449 * gdb.fortran/info-types.exp: Build with new file.
6450 * gdb.fortran/info-types.f90: Include and use new module.
6451 * gdb.fortran/info-types-2.f90: New file.
6452
f3fb2519
PW
64532019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6454
6455 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6456 * gdb.base/settings.exp: Test all settings types using
6457 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6458 that now verifies that the value of "maint show" is the same as
6459 returned by the settings functions. Test the type of the
6460 maintenance settings.
6461 * gdb.base/default.exp: Update show_conv_list.
6462
d1e36019
TV
64632019-10-31 Tom de Vries <tdevries@suse.de>
6464
6465 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6466 gdb_test.
6467 * gdb.arch/amd64-disp-step.exp: Same.
6468 * gdb.asm/asm-source.exp: Same.
6469 * gdb.btrace/buffer-size.exp: Same.
6470 * gdb.btrace/cpu.exp: Same.
6471 * gdb.btrace/enable.exp: Same.
6472 * gdb.dwarf2/count.exp: Same.
6473 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6474 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6475 * gdb.fortran/vla-datatypes.exp: Same.
6476 * gdb.fortran/vla-history.exp: Same.
6477 * gdb.fortran/vla-ptype.exp: Same.
6478 * gdb.fortran/vla-value.exp: Same.
6479 * gdb.fortran/whatis_type.exp: Same.
6480 * gdb.guile/guile.exp: Same.
6481 * gdb.multi/tids.exp: Same.
6482 * gdb.python/py-finish-breakpoint.exp: Same.
6483 * gdb.python/py-framefilter.exp: Same.
6484 * gdb.python/py-pp-registration.exp: Same.
6485 * gdb.python/py-xmethods.exp: Same.
6486 * gdb.python/python.exp: Same.
6487 * gdb.server/connect-with-no-symbol-file.exp: Same.
6488 * gdb.server/no-thread-db.exp: Same.
6489 * gdb.server/run-without-local-binary.exp: Same.
6490 * gdb.stabs/weird.exp: Same.
6491 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6492 * gdb.threads/thread-find.exp: Same.
6493 * gdb.threads/tls-shared.exp: Same.
6494 * gdb.threads/tls.exp: Same.
6495 * gdb.threads/wp-replication.exp: Same.
6496 * gdb.trace/ax.exp: Same.
6497 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6498
3d11e68e
TV
64992019-10-31 Tom de Vries <tdevries@suse.de>
6500
6501 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6502 * gdb.ada/array_subscript_addr.exp: Same.
6503 * gdb.ada/arrayidx.exp: Same.
6504 * gdb.ada/arrayparam.exp: Same.
6505 * gdb.ada/arrayptr.exp: Same.
6506 * gdb.ada/boolean_expr.exp: Same.
6507 * gdb.ada/call_pn.exp: Same.
6508 * gdb.ada/complete.exp: Same.
6509 * gdb.ada/fixed_cmp.exp: Same.
6510 * gdb.ada/fun_addr.exp: Same.
6511 * gdb.ada/funcall_param.exp: Same.
6512 * gdb.ada/interface.exp: Same.
6513 * gdb.ada/mod_from_name.exp: Same.
6514 * gdb.ada/null_array.exp: Same.
6515 * gdb.ada/packed_array.exp: Same.
6516 * gdb.ada/packed_tagged.exp: Same.
6517 * gdb.ada/print_chars.exp: Same.
6518 * gdb.ada/print_pc.exp: Same.
6519 * gdb.ada/ptype_arith_binop.exp: Same.
6520 * gdb.ada/ptype_field.exp: Same.
6521 * gdb.ada/ptype_tagged_param.exp: Same.
6522 * gdb.ada/rec_return.exp: Same.
6523 * gdb.ada/ref_tick_size.exp: Same.
6524 * gdb.ada/str_ref_cmp.exp: Same.
6525 * gdb.ada/taft_type.exp: Same.
6526 * gdb.ada/tagged.exp: Same.
6527 * gdb.ada/type_coercion.exp: Same.
6528 * gdb.ada/uninitialized_vars.exp: Same.
6529
60b6ede8
TV
65302019-10-30 Tom de Vries <tdevries@suse.de>
6531
6532 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6533
30baf67b
TV
65342019-10-26 Tom de Vries <tdevries@suse.de>
6535
6536 * gdb.base/bigcore.c: Fix typos in comments.
6537 * gdb.base/ctf-ptype.c: Same.
6538 * gdb.base/long_long.c: Same.
6539 * gdb.dwarf2/dw2-op-out-param.S: Same.
6540 * gdb.python/py-evthreads.c: Same.
6541 * gdb.reverse/i387-stack-reverse.c: Same.
6542 * gdb.trace/tfile.c: Same.
6543 * lib/compiler.c: Same.
6544 * lib/compiler.cc: Same.
6545
158da0d1
TV
65462019-10-25 Tom de Vries <tdevries@suse.de>
6547
6548 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6549 gdb_test_multiple calls.
6550 * gdb.reverse/sigall-reverse.exp: Same.
6551 * gdb.reverse/solib-precsave.exp: Same.
6552 * gdb.reverse/solib-reverse.exp: Same.
6553 * gdb.reverse/until-precsave.exp: Same.
6554 * gdb.reverse/until-reverse.exp: Same.
6555
4ccdfbec
TV
65562019-10-24 Tom de Vries <tdevries@suse.de>
6557
6558 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6559 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6560 kfail using -wrap pattern flag and convenience variable
6561 gdb_test_name.
6562
33d569b7
AB
65632019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6564
6565 * gdb.python/py-progspace.exp: Add tests for the
6566 Progspace.block_for_pc method.
6567
4d0b984b
TT
65682019-10-23 Tom Tromey <tom@tromey.com>
6569
6570 * configure: Rebuild.
6571 * aclocal.m4: Use m4_include, not sinclude.
6572
94cb3754
TV
65732019-10-21 Tom de Vries <tdevries@suse.de>
6574
6575 * gdb.base/infcall-nested-structs.c: Add
6576 __attribute__((noinline,noclone)) to all functions.
6577 (call_all): Add missing variable initialization. Simplify return value.
6578 (breakpt): Increment volatile variable, to prevent call from being
6579 optimized out.
6580 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6581
062f1fc1
TV
65822019-10-17 Tom de Vries <tdevries@suse.de>
6583
6584 * gdb.fortran/module.exp: Allow info variables to print info for files
6585 other than module.f90.
6586
0b54364d
AB
65872019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6588
6589 * gdb.fortran/module.exp: Extend with 'info variables' test.
6590
7ff5fae7
AB
65912019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6592
6593 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6594 F77_FOR_TARGET.
6595
d10eccaa
TV
65962019-10-16 Tom de Vries <tdevries@suse.de>
6597
6598 PR tdep/25096
6599 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6600
745ff14e
TV
66012019-10-16 Tom de Vries <tdevries@suse.de>
6602
6603 PR tdep/24104
6604 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6605 Add KFAIL for PR tdep/25096.
6606
03e1ab94
TV
66072019-10-16 Tom de Vries <tdevries@suse.de>
6608
6609 PR testsuite/25059
6610 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6611
b17fcc10
TV
66122019-10-16 Tom de Vries <tdevries@suse.de>
6613
6614 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6615 as signed.
6616
9223170f
SM
66172019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6618
6619 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6620 one instead of increasing timeout.
6621
d6e76313
TV
66222019-10-13 Tom de Vries <tdevries@suse.de>
6623
6624 PR record/25038
6625 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6626 * gdb.reverse/sigall-reverse.exp: Same.
6627 * gdb.reverse/solib-precsave.exp: Same.
6628 * gdb.reverse/solib-reverse.exp: Same.
6629 * gdb.reverse/step-precsave.exp: Same.
6630 * gdb.reverse/until-precsave.exp: Same.
6631 * gdb.reverse/until-reverse.exp: Same.
6632 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6633
6dfc0041
AA
66342019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6635
6636 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6637 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6638 (cmp_struct_05_01, cmp_struct_static_02_01)
6639 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6640 comparisons.
6641
abcf2cc8
TV
66422019-10-10 Tom de Vries <tdevries@suse.de>
6643
6644 PR testsuite/24888
6645 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6646 gnatlink.
6647
a50faaf6
TV
66482019-10-09 Tom de Vries <tdevries@suse.de>
6649
6650 PR testsuite/25048
6651 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6652
60ff3cd7
AB
66532019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6654
6655 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6656 exceptions due to missing debug information.
6657
dfee8566
TV
66582019-10-07 Tom de Vries <tdevries@suse.de>
6659
6660 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6661
3d63690a
AB
66622019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6663
6664 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6665 * gdb.base/annota1.exp: Update to use gdb_test_name.
6666
30d1f018
WP
66672019-10-07 Weimin Pan <weimin.pan@oracle.com>
6668
6669 * gdb.base/ctf-whatis.exp: New file.
6670 * gdb.base/ctf-whatis.c: New file.
6671 * gdb.base/ctf-ptype.exp: New file.
6672 * gdb.base/ctf-ptype.c: New file.
6673 * gdb.base/ctf-constvars.exp: New file.
6674 * gdb.base/ctf-constvars.c: New file.
6675 * gdb.base/ctf-cvexpr.exp: New file.
6676
4dbbb47c
TV
66772019-10-04 Tom de Vries <tdevries@suse.de>
6678
6679 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6680 for loop.
6681
77c2dba3
TT
66822019-10-03 Tom Tromey <tom@tromey.com>
6683
6684 PR rust/24976:
6685 * gdb.rust/simple.rs (Union2): New type.
6686 (main): Use Union2.
6687 * gdb.rust/simple.exp: Add test.
6688
179aed7f
AB
66892019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6690
6691 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6692 nested function prefix.
6693
0a4b0913
AB
66942019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6695 Richard Bunt <richard.bunt@arm.com>
6696 Andrew Burgess <andrew.burgess@embecosm.com>
6697
6698 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6699 nested functions.
6700 * gdb.fortran/nested-funcs.f90: Update expected results.
6701 * gdb.fortran/nested-funcs-2.exp: New file.
6702 * gdb.fortran/nested-funcs-2.f90: New file.
6703
082cce05
AB
67042019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6705
6706 * gdb.python/py-parameter.exp: Make test names unique.
6707 * gdb.python/py-template.exp: Likewise.
6708 * gdb.python/py-value.exp: Likewise.
6709
2b74ba5a
AB
67102019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6711
6712 * gdb.base/break-interp.exp: Reduce test name duplication.
6713 * gdb.base/call-sc.exp: Likewise.
6714 * gdb.base/callfuncs.exp: Likewise.
6715 * gdb.base/charset.exp: Likewise.
6716 * gdb.base/dump.exp: Likewise.
6717 * gdb.base/ena-dis-br.exp: Likewise.
6718 * gdb.base/relational.exp: Likewise.
6719 * gdb.base/step-over-syscall.exp: Likewise.
6720 * gdb.base/structs.exp: Likewise.
6721
58eb20d5
AB
67222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6723
6724 * gdb.linespec/explicit.exp: Make test names unique.
6725 * gdb.linespec/ls-errs.exp: Likewise.
6726
4d421147
AB
67272019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6728
6729 * gdb.reverse/break-precsave.exp: Make test names unique.
6730 * gdb.reverse/break-reverse.exp: Likewise.
6731 * gdb.reverse/finish-precsave.exp: Likewise.
6732 * gdb.reverse/finish-reverse.exp: Likewise.
6733 * gdb.reverse/machinestate-precsave.exp: Likewise.
6734 * gdb.reverse/machinestate.exp: Likewise.
6735 * gdb.reverse/readv-reverse.exp: Likewise.
6736 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6737 * gdb.reverse/sigall-precsave.exp: Likewise.
6738 * gdb.reverse/sigall-reverse.exp: Likewise.
6739 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6740 * gdb.reverse/watch-precsave.exp: Likewise.
6741 * gdb.reverse/watch-reverse.exp: Likewise.
6742
d8c06f22
AB
67432019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6744
6745 * gdb.threads/stop-with-handle.c: New file.
6746 * gdb.threads/stop-with-handle.exp: New file.
6747
3a56ed86
TV
67482019-10-03 Tom de Vries <tdevries@suse.de>
6749
6750 PR testsuite/25059
6751 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6752 directory" line to be missing.
6753
42275044
TV
67542019-10-03 Tom de Vries <tdevries@suse.de>
6755
6756 PR testsuite/25059
6757 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6758 type optional.
6759
9ef62df0
AA
67602019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6761
6762 * gdb.python/py-format-string.c (string.h): New include.
6763 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6764 the same value, for endianness-independence.
6765 * gdb.python/py-format-string.exp (default_regexp_dict)
6766 (test_pretty_structs, test_format): Adjust expected output to the
6767 changed initialization.
6768
37f6a7f4
TT
67692019-10-02 Tom Tromey <tromey@adacore.com>
6770
6771 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6772
1d58d6a2
PA
67732019-10-02 Pedro Alves <palves@redhat.com>
6774 Andrew Burgess <andrew.burgess@embecosm.com>
6775
6776 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6777 "print-file-var.h".
6778 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6779 (get_version_1): Print this_version_id and its address.
6780 Add extern "C" wrappers around interface functions.
6781 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6782 "print-file-var.h".
6783 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6784 (get_version_2): Print this_version_id and its address.
6785 Add extern "C" wrappers around interface functions.
6786 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6787 <stddef.h> and "print-file-var.h".
6788 Add extern "C" wrappers around interface functions.
6789 [VERSION_ID_MAIN] (this_version_id): Define.
6790 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6791 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6792 up extern "C" blocks.
6793 * gdb.base/print-file-var.exp (test): New, factored out from top
6794 level.
6795 (top level): Test all combinations of attribute hidden or not,
6796 dlopen or not, and this_version_id symbol in main file or not.
6797 Compile tests as both C++ and C, make test names unique.
6798
d770d56f
TT
67992019-10-01 Tom Tromey <tom@tromey.com>
6800
6801 * gdb.base/style.exp: Test "show logging filename".
6802
7f6aba03
TT
68032019-10-01 Tom Tromey <tom@tromey.com>
6804
6805 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6806 * gdb.base/style.exp: Add metadata style test.
6807
14309bb6
TT
68082019-10-01 Tom Tromey <tom@tromey.com>
6809
6810 * gdb.base/style.exp: Test "pwd".
6811
2a3c1174
PA
68122019-10-01 Tom Tromey <tom@tromey.com>
6813
6814 * gdb.base/style.exp: Update tests.
6815
53d666ec
AA
68162019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6817
6818 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6819 'six' to unsigned.
6820 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6821 'five'. Use an all-ones bit pattern for each.
6822 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6823 to its changed values.
6824
4a56a520
TT
68252019-09-30 Tom Tromey <tromey@adacore.com>
6826
6827 * gdb.rust/traits.rs: Disable all warnings.
6828
0df0352a
TV
68292019-09-29 Tom de Vries <tdevries@suse.de>
6830
aac66a4c 6831 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6832
73d9a918
TV
68332019-09-29 Tom de Vries <tdevries@suse.de>
6834
6835 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6836
060b3ab4
TV
68372019-09-27 Tom de Vries <tdevries@suse.de>
6838
6839 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6840
68f7d34d
TV
68412019-09-27 Tom de Vries <tdevries@suse.de>
6842
6843 PR record/23188
6844 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6845
5d63b30a
TT
68462019-09-26 Tom Tromey <tromey@adacore.com>
6847
6848 * gdb.ada/py_taft.exp: New file.
6849 * gdb.ada/py_taft/main.adb: New file.
6850 * gdb.ada/py_taft/pkg.adb: New file.
6851 * gdb.ada/py_taft/pkg.ads: New file.
6852
3d435220
TV
68532019-09-24 Tom de Vries <tdevries@suse.de>
6854
6855 PR gdb/24598
6856 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6857
77d03678
TV
68582019-09-22 Tom de Vries <tdevries@suse.de>
6859
6860 * gdb.base/restore.exp: Allow register variables to be optimized out at
6861 -O0.
6862
abf516c6
UW
68632019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6864
6865 * gdb.arch/spu-info.exp: Remove file.
6866 * gdb.arch/spu-info.c: Remove file.
6867 * gdb.arch/spu-ls.exp: Remove file.
6868 * gdb.arch/spu-ls.c: Remove file.
6869
6870 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6871 * gdb.asm/spu.inc: Remove file.
6872
6873 * gdb.base/dump.exp: Remove support for spu*-*-*.
6874 * gdb.base/stack-checking.exp: Likewise.
6875 * gdb.base/overlays.exp: Likewise.
6876 * gdb.base/ovlymgr.c: Likewise.
6877 * gdb.base/spu.ld: Remove file.
6878
6879 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6880 * gdb.cp/cpexprs.exp: Likewise.
6881 * gdb.cp/exception.exp: Likewise.
6882 * gdb.cp/gdb2495.exp: Likewise.
6883 * gdb.cp/mb-templates.exp: Likewise.
6884 * gdb.cp/pr9167.exp: Likewise.
6885 * gdb.cp/userdef.exp: Likewise.
6886
6887 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6888
6889 * gdb.cell: Remove directory.
6890 * lib/cell.exp: Remove file.
6891
e452e88f
TV
68922019-09-19 Tom de Vries <tdevries@suse.de>
6893
6894 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6895
8a625130
TV
68962019-09-19 Tom de Vries <tdevries@suse.de>
6897
6898 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6899
81dc3ab5
TV
69002019-09-19 Tom de Vries <tdevries@suse.de>
6901
6902 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6903 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6904 (gdb_target_cmd): ... here.
6905 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6906 value 2.
6907
b078f3ac
AB
69082019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6909
6910 * gdb.base/source-dir.exp: Avoid having directory names in test
6911 names.
6912
f1b620e9
MG
69132019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6914
6915 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6916 directory.
6917
67f3ed6a
AB
69182019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6919
6920 * gdb.base/list-missing-source.exp: New file.
6921
d1b70248
TV
69222019-09-14 Tom de Vries <tdevries@suse.de>
6923
6924 PR teststuite/24599
6925 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6926 * lib/ada.exp (gnatmake_version_at_least): New proc.
6927
5fabdcd6
AB
69282019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6929
6930 * gdb.base/maint.exp: Use exec_has_index_section.
6931
aa17805f
AB
69322019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6933
6934 * gdb.base/maint.exp: Add test for 'maint info sections'.
6935
25e5c209
TV
69362019-09-12 Tom de Vries <tdevries@suse.de>
6937
6938 * gdb.base/store.exp: Allow register variables to be optimized out at
6939 -O0.
6940
4993045d
PW
69412019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6942
6943 * gdb.ada/rdv_wait.exp: Update to new task names.
6944 * gdb.base/task_switch_in_core.exp: Likewise.
6945 * gdb.base/info_sources_base.c: Likewise.
6946
8a516164
TT
69472019-09-10 Tom Tromey <tromey@adacore.com>
6948
6949 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6950
aa391654
TT
69512019-09-10 Tom Tromey <tromey@adacore.com>
6952
6953 * gdb.ada/dgopt.exp: New file.
6954 * gdb.ada/dgopt/x.adb: New file.
6955
8634b462
TT
69562019-09-08 Tom Tromey <tom@tromey.com>
6957
6958 * gdb.tui/resize.exp: Remove setup_xfail.
6959 * gdb.tui/regs.exp: Remove setup_xfail.
6960 * gdb.tui/basic.exp: Remove setup_xfail.
6961
736b0f76
DB
69622019-09-06 David Blaikie <dblaikie@gmail.com>
6963
6964 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6965 * gdb.cp/cplabel.exp: Ditto.
6966 * gdb.linespec/ls-errs.exp: Ditto.
6967
30331a6c
TV
69682019-09-05 Tom de Vries <tdevries@suse.de>
6969
6970 * lib/gdb.exp (cmp_file_string): New proc.
6971 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6972 runto_main. Verify save breakpoints output.
6973
98b0ebab
PW
69742019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6975
6976 * gdb.base/info-var.exp: Test info variables without running
6977 to main, to avoid expect's buffer overflow.
6978
4e962e74
TT
69792019-09-03 Tom Tromey <tromey@adacore.com>
6980
6981 * gdb.ada/bias.exp: New file.
6982 * gdb.ada/bias/bias.adb: New file.
6983 * gdb.ada/print_chars.exp: Add regression test.
6984 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6985 (MC): New variable.
6986
2ea1a07a
SL
69872019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6988
6989 * gdb.base/argv0-symlink.exp: Run only on native target
6990 and local host.
6991
8077c50d
TV
69922019-08-29 Tom de Vries <tdevries@suse.de>
6993
6994 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6995 diverse debug info.
6996 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6997
48352473
TV
69982019-08-28 Tom de Vries <tdevries@suse.de>
6999
7000 * gdb.base/info-var.exp: Allow info variables to print info for files
7001 other than info-var-f1.c and info-var-f2.c.
7002
d8f27c60
AB
70032019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7004
7005 * gdb.fortran/info-types.exp: Add module.
7006 * gdb.fortran/info-types.f90: Update expected results.
7007
1f20c35e
AB
70082019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7009
7010 * gdb.fortran/info-types.exp: New file.
7011 * gdb.fortran/info-types.f90: New file.
7012 * lib/fortran.exp (fortran_character1): New proc.
7013
4acfdd20
AB
70142019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7015
7016 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7017 functions'. Reindent as needed.
7018 * gdb.base/info-var-f1.c: New file.
7019 * gdb.base/info-var-f2.c: New file.
7020 * gdb.base/info-var.exp: New file.
7021 * gdb.base/info-var.h: New file.
7022
5c31b358
TV
70232019-08-26 Tom de Vries <tdevries@suse.de>
7024
7025 PR c++/24852
7026 * gdb.cp/no-libstdcxx-probe.exp: New test.
7027
b694989f
TV
70282019-08-26 Tom de Vries <tdevries@suse.de>
7029
7030 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7031 * tests need to be skipped.
7032 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7033 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7034 mi_skip_libstdcxx_probe_tests.
7035
d9c4ba53
SDJ
70362019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7037
7038 * gdb.python/py-xmethods.exp: Use raw strings when passing
7039 arguments to SimpleXMethodMatcher.
7040
395fad09
TV
70412019-08-22 Tom de Vries <tdevries@suse.de>
7042
7043 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7044 more informative.
7045
26c957f1
PA
70462019-08-21 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.base/with.exp: Test "with" with no arguments.
7049
61f80d5d
TV
70502019-08-21 Tom de Vries <tdevries@suse.de>
7051
7052 * gdb.base/gdb-caching-proc.exp: Sort files.
7053
d7a11d13
TV
70542019-08-20 Tom de Vries <tdevries@suse.de>
7055
7056 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7057 compilation.
7058
34dafe9f
TV
70592019-08-16 Tom de Vries <tdevries@suse.de>
7060
7061 * gdb.base/compare-sections.exp ("after run to main"): Allow
7062 mismatched read-only sections for PIE executables.
7063
398fdd60
TT
70642019-08-16 Tom Tromey <tom@tromey.com>
7065
7066 * lib/tuiterm.exp (_csi_Z): New proc.
7067 * gdb.tui/basic.exp: Update window positions.
7068 * gdb.tui/empty.exp: Update window positions.
7069
d8f9e51c
SL
70702019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7071
7072 * gdb.base/examine-backward.exp: Correct regexp for
7073 "examine 3 bytes backward from ${address_zero}".
7074
3df505f6
TT
70752019-08-15 Tom Tromey <tom@tromey.com>
7076
7077 * gdb.tui/empty.exp: Enable resizing tests.
7078
272560b5
TT
70792019-08-15 Tom Tromey <tromey@adacore.com>
7080
7081 * gdb.ada/char_enum.exp: Add regression tests.
7082 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7083 and '0'.
7084 (Char, Gchar): Update.
7085 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7086
08235187
CB
70872019-08-15 Christian Biesinger <cbiesinger@google.com>
7088
7089 * gdb.python/python.exp: Expect a leading underscore on
7090 GdbOutput{,Error}File.
7091
22a2ab04
SL
70922019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7093
7094 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7095 Windows host.
7096
835b995b
SL
70972019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7098
7099 * gdb.base/batch-preserve-term-settings.exp
7100 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7101
97dd8e07
CB
71022019-08-15 Christian Biesinger <cbiesinger@google.com>
7103
7104 * lib/gdb.exp: When running on a mingw target, replace
7105 /x/ with x:/.
7106
75faf5c4
AH
71072019-08-14 Alan Hayward <alan.hayward@arm.com>
7108
7109 * gdb.arch/aarch64-prologue.c: New test.
7110 * gdb.arch/aarch64-prologue.exp: New file.
7111
abc6c00f
TV
71122019-08-13 Tom de Vries <tdevries@suse.de>
7113
7114 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7115 Thread.
7116
74c2c1f4
SL
71172019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7118
7119 * gdb.python/py-completion.exp: Download the .py file to the host
7120 and use its host pathname. Conditionalize tests that use
7121 tab completion and manipulate files on the build machine.
7122 * gdb.python/py-events.exp: Download the .py file to the host
7123 and use its host pathname.
7124 * gdb.python/py-evsignal.exp: Likewise.
7125 * gdb.python/py-evthreads.exp: Likewise.
7126 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7127 pathname syntax.
7128 * gdb.python/py-framefilter.exp: Download the .py file to the right
7129 place on the host. Match Windows pathname syntax.
7130 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7131 .py file to the host and use its host pathname.
7132 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7133 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7134 build pathname. Skip symlink test on Windows host. Add missing
7135 newline at end of file.
7136 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7137 and use its host pathname.
7138 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7139 * gdb.python/py-section-script.exp: Use host location of binfile
7140 on safe-path. Use correct path separator on Windows host.
7141 Reorder alternatives in gdb_test_multiple to prevent matching
7142 the wrong alternative on success.
7143 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7144
ca2589f3
PP
71452019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7146
7147 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7148 expect the GDB inferior to no longer immediately stop after
7149 being resumed with "signal SIGINT".
7150
020a839d
SL
71512019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7152
7153 * gdb.linespec/break-ask.exp: Generalize regexps to match
7154 Windows pathnames too.
7155
128d6509
TV
71562019-08-08 Tom de Vries <tdevries@suse.de>
7157
7158 PR testsuite/24862
7159 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7160
590042fc
PW
71612019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7162
7163 * gdb.base/style.exp: Update tests for help doc new invariants.
7164 * gdb.base/help.exp: Likewise.
7165
046bebe1
TT
71662019-08-06 Tom Tromey <tom@tromey.com>
7167
7168 * gdb.base/style.exp: Add disassemble test.
7169 * gdb.base/style.c (some_called_function): New function.
7170 (main): Use it.
7171
0b27c27d
CB
71722019-08-05 Christian Biesinger <cbiesinger@google.com>
7173
7174 * gdb.python/py-block.exp: Test dictionary access on blocks.
7175
580f1034
SM
71762019-08-05 Simon Marchi <simon.marchi@efficios.com>
7177
7178 PR gdb/24863
7179 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7180 -list-thread-groups --available test when running under
7181 check-read1.
7182
d86bd7cb
TV
71832019-08-05 Tom de Vries <tdevries@suse.de>
7184
7185 PR testsuite/24863
7186 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7187 * gdb.base/help.exp: Use with_read1_timeout_factor.
7188 * gdb.base/info-macros.exp: Same.
7189 * gdb.cp/nested-types.exp: Same.
7190
a80cf5d8
TV
71912019-08-05 Tom de Vries <tdevries@suse.de>
7192
7193 * lib/gdb.exp (version_at_least): Factor out of ...
7194 (tcl_version_at_least): ... here.
7195 (gdb_compile): Fail if pie results in non-PIE executable.
7196 (readelf_version, readelf_prints_pie): New proc.
7197 (exec_is_pie): Return -1 if unknown.
7198
d0962838
TV
71992019-08-05 Tom de Vries <tdevries@suse.de>
7200
7201 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7202
2252ff3d
SL
72032019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7204
7205 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7206
26655f53
SL
72072019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7208
7209 * lib/completion-support.exp (test_gdb_complete_none): Skip
7210 tab completion tests if no readline support.
7211 (test_gdb_complete_unique_re): Likewise.
7212 (test_gdb_complete_multiple): Likewise.
7213
db4dc13e
PW
72142019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7215
7216 * gdb.base/info_sources.exp: New file.
7217 * gdb.base/info_sources.c: New file.
7218 * gdb.base/info_sources_base.c: New file.
7219
0eba165a
PFC
72202019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7221
7222 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7223 prefix argument.
7224 (test_exit_status): Add prefix argument.
7225
59bd512b
TV
72262019-08-01 Tom de Vries <tdevries@suse.de>
7227
7228 PR testsuite/24863
7229 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7230 calling exp_continue for new thread and thread exited messages.
7231
2a3ad588
TV
72322019-08-01 Tom de Vries <tdevries@suse.de>
7233
7234 PR testsuite/24863
7235 * gdb.base/structs.exp: Fix check-read1 timeout using
7236 gdb_test_sequence.
7237 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7238
117eb594
TV
72392019-08-01 Tom de Vries <tdevries@suse.de>
7240
7241 PR testsuite/24863
7242 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7243 line.
7244
ed591340
TV
72452019-08-01 Tom de Vries <tdevries@suse.de>
7246
7247 PR testsuite/24863
7248 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7249
aa3b6533
TT
72502019-07-30 Tom Tromey <tromey@adacore.com>
7251
7252 * gdb.ada/display_nested.exp: New file.
7253 * gdb.ada/display_nested/foo.adb: New file.
7254 * gdb.ada/display_nested/pack.adb: New file.
7255 * gdb.ada/display_nested/pack.ads: New file.
7256
2906593f
CB
72572019-07-30 Christian Biesinger <cbiesinger@google.com>
7258
7259 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7260 namespace.
7261 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7262
0f575925
TV
72632019-07-30 Tom de Vries <tdevries@suse.de>
7264
7265 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7266 instead.
7267
b13057d9
TV
72682019-07-30 Tom de Vries <tdevries@suse.de>
7269
7270 PR testsuite/24834
7271 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7272 (exec_is_pie): New proc.
7273
5c4dde85
CB
72742019-07-29 Christian Biesinger <cbiesinger@google.com>
7275
7276 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7277
c620ed88
CB
72782019-07-29 Christian Biesinger <cbiesinger@google.com>
7279
7280 * gdb.python/py-objfile.c: Add global and static vars.
7281 * gdb.python/py-objfile.exp: Test new functions Objfile.
7282 lookup_global_symbol and lookup_static_symbol.
7283
3d235706
TT
72842019-07-29 Tom Tromey <tom@tromey.com>
7285
7286 * lib/tuiterm.exp (Term::_csi_@): New proc.
7287 (Term::_csi_X): Don't move cursor.
7288
c7e4c0a6
PW
72892019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7290
7291 * gdb.base/options.exp: Update backtrace - completion to
7292 new option -frame-info.
7293 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7294 Test new 'set print frame-info'. Test backtrace -frame-info
7295 overriding 'set print frame-info'.
7296 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7297 Test new 'set print frame-info'.
7298 Verify consistency of backtrace with and without filters, with and
7299 without -no-filters.
7300 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7301 default.
7302
de28a3b7
TV
73032019-07-29 Tom de Vries <tdevries@suse.de>
7304
7305 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7306 no arguments".
7307
507dd60e
TV
73082019-07-29 Tom de Vries <tdevries@suse.de>
7309
7310 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7311 is a substring of the first for "complete non-unique file name".
7312
5beafce9
TV
73132019-07-29 Tom de Vries <tdevries@suse.de>
7314
7315 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7316 with ".*".
7317
2d274232
TV
73182019-07-29 Tom de Vries <tdevries@suse.de>
7319
7320 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7321 Pass prompt_regexp parameter to gdb_test_multiple calls.
7322
9197cd8b
TV
73232019-07-29 Tom de Vries <tdevries@suse.de>
7324
7325 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7326 print registers" regexps.
9197cd8b 7327
b528dae0
TV
73282019-07-29 Tom de Vries <tdevries@suse.de>
7329
7330 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7331
d17725d7
TV
73322019-07-29 Tom de Vries <tdevries@suse.de>
7333
7334 PR gdb/24855
7335 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7336 (skip_python_tests_prompt): Add prompt_regexp argument to
7337 gdb_test_multiple calls.
7338
52b75bf1
TT
73392019-07-27 Tom Tromey <tom@tromey.com>
7340
7341 * gdb.tui/main.exp: New file.
7342
2b1d00c2
TT
73432019-07-27 Tom Tromey <tom@tromey.com>
7344
7345 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7346 optional.
7347 * gdb.tui/empty.exp: New file.
7348
ded631d5
TT
73492019-07-27 Tom Tromey <tom@tromey.com>
7350
7351 * lib/tuiterm.exp (spawn): New proc.
7352 (Term::resize): New proc.
7353 * gdb.tui/resize.exp: New file.
7354
58ac439d
TT
73552019-07-27 Tom Tromey <tom@tromey.com>
7356
7357 * gdb.tui/list.exp: New file.
7358
fe1f56ee
TT
73592019-07-27 Tom Tromey <tom@tromey.com>
7360
7361 * gdb.tui/regs.exp: New file.
7362
f790b310
TT
73632019-07-27 Tom Tromey <tom@tromey.com>
7364
7365 * gdb.tui/basic.exp: Add "layout split" test.
7366
d95fc6ee
TT
73672019-07-27 Tom Tromey <tom@tromey.com>
7368
7369 * gdb.tui/basic.exp: Add "layout asm" test.
7370
c3786b3a
TT
73712019-07-27 Tom Tromey <tom@tromey.com>
7372
7373 * lib/tuiterm.exp: New file.
7374 * gdb.tui/basic.exp: New file.
7375
98a617f8
KB
73762019-07-27 Kevin Buettner <kevinb@redhat.com>
7377
7378 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7379 Enable tests associated with this flag. Adjust regex
7380 referencing "foo_low" to now refer to "foo_cold" instead.
7381
5c076da4
KB
73822019-07-27 Kevin Buettner <kevinb@redhat.com>
7383
7384 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7385 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7386 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7387 foo_cold. Revise comments to match.
7388 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7389 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7390 were wrapped into this proc; Call do_test in loop from outermost
7391 level.
7392 (foo_low): Rename all occurrences to "foo_cold".
7393 (backtrace from baz): New test.
7394 (x2/i foo_cold): New test.
7395 (info line *foo_cold): New test.
7396
1512d3b7
TV
73972019-07-26 Tom de Vries <tdevries@suse.de>
7398
7399 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7400
297989a1
TV
74012019-07-25 Tom de Vries <tdevries@suse.de>
7402
7403 PR testsuite/24830
7404 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7405 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7406 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7407 (skip_libstdcxx_probe_tests): ... here.
7408 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7409
b3b965fb
TV
74102019-07-24 Tom de Vries <tdevries@suse.de>
7411
7412 PR testsuite/24807
7413 * gdb.objc/basicclass.m: Include stdio.h.
7414 * gdb.objc/nondebug.m: Same.
7415 * gdb.objc/objcdecode.m: Same.
7416
4625b4d0
TV
74172019-07-24 Tom de Vries <tdevries@suse.de>
7418
7419 PR testsuite/24612
7420 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7421 additional_flags.
7422
024a5840
TV
74232019-07-24 Tom de Vries <tdevries@suse.de>
7424
7425 PR testsuite/24831
7426 * gdb.multi/tids.exp: Update error messages for info threads.
7427
c76ddaa3
TV
74282019-07-24 Tom de Vries <tdevries@suse.de>
7429
7430 * gdb.base/info-types.exp: Allow info types to print info for more than
7431 one file.
7432
9a618ef6
TV
74332019-07-23 Tom de Vries <tdevries@suse.de>
7434
7435 PR testsuite/24842
7436 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7437 gdb_spawn_with_cmdline_opts.
7438
40eadf04
SP
74392019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7440
7441 * gdb.arch/arm-cmse-sgstubs.c: New test.
7442 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7443
5ba29434
TV
74442019-07-23 Tom de Vries <tdevries@suse.de>
7445
7446 PR testsuite/24711
7447 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7448 issuing next command.
7449
a8e9d247
AB
74502019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7451
7452 * gdb.ada/info_auto_lang.exp: Update expected results.
7453 * gdb.base/info-types.c: Add additional types to check.
7454 * gdb.base/info-types.exp: Update expected results.
7455
eb86c5e2
AB
74562019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7457
7458 * gdb.base/info-types.c: New file.
7459 * gdb.base/info-types.exp: New file.
7460
01e175fe
AB
74612019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7462
7463 * gdb.arch/riscv-bp-infcall.c: New file.
7464 * gdb.arch/riscv-bp-infcall.exp: New file.
7465
6b78c3f8
AB
74662019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7467
7468 PR breakpoints/24541
7469 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7470
da738167
TV
74712019-07-14 Tom de Vries <tdevries@suse.de>
7472
7473 PR testsuite/24760
7474 * gdb.objc/basicclass.exp: Fix unterminated string.
7475
0d4e84ed
AB
74762019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7477 Andrew Burgess <andrew.burgess@embecosm.com>
7478
7479 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7480 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7481 negative bounds.
7482 * gdb.fortran/vla-value.exp: Print elements of an array with
7483 negative bounds.
7484 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7485 testing.
7486
021d8588
AB
74872019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7488
7489 * gdb.base/options.exp (expect_string): Dequote strings in
7490 results.
7491 (test-string): Test strings with different quoting and reindent.
7492
f06f1252
TT
74932019-07-10 Tom Tromey <tromey@adacore.com>
7494
7495 * gdb.ada/mi_ex_cond.exp: Update expected results.
7496 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7497 * gdb.ada/mi_catch_ex.exp: Update expected results.
7498 * gdb.ada/mi_catch_assert.exp: Update expected results.
7499 * gdb.ada/catch_ex.exp (catch_exception_info)
7500 (catch_exception_entry, catch_assert_entry)
7501 (catch_unhandled_entry): Update.
7502 * gdb.ada/catch_assert_if.exp: Update expected results.
7503
b863685d
RB
75042019-07-10 Richard Bunt <richard.bunt@arm.com>
7505 Stephen Roberts <stephen.roberts@arm.com>
7506
7507 * gdb.base/define.exp: Restore original prompt.
7508
cb1e4e32
PA
75092019-07-09 Pedro Alves <palves@redhat.com>
7510
7511 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7512 breakpoints" output.
7513 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7514 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7515 throw" creates breakpoint.
7516 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7517 'type="catchpoint"'.
7518
b58a68fe
PA
75192019-07-09 Pedro Alves <palves@redhat.com>
7520
7521 PR c++/15468
7522 * gdb.cp/except-multi-location-lib.cc: New.
7523 * gdb.cp/except-multi-location-main.cc: New.
7524 * gdb.cp/except-multi-location.exp: New.
7525
0826779b
PW
75262019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7527
7528 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7529 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7530 argument and update callers.
7531
5b0e2db4
AB
75322019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7533
7534 * gdb.arch/amd64-break-on-asm-line.S: New file.
7535 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7536
1f6f6e21
PW
75372019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7538
7539 * gdb.base/printcmds.exp: Test printing C string and
7540 C wide string convenience vars without transiting via the inferior.
7541 Also make test names unique.
7542
ea142fbf
AH
75432019-07-08 Alan Hayward <alan.hayward@arm.com>
7544
5862c886 7545 PR breakpoints/25011
ea142fbf
AH
7546 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7547
213fd9fa
PA
75482019-07-04 Pedro Alves <palves@redhat.com>
7549
7550 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7551 body returned ok(0), break(3) or continue(4).
7552 * gdb.testsuite/foreach_with_prefix.exp: New file.
7553
2b40fda7
AH
75542019-07-04 Alan Hayward <alan.hayward@arm.com>
7555
7556 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7557
a26c8de0
PA
75582019-07-03 Pedro Alves <palves@redhat.com>
7559
7560 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7561 "return -code".
7562
5f4ba3e7
PA
75632019-07-03 Pedro Alves <palves@redhat.com>
7564
7565 PR cli/24732
7566 * gdb.base/shell.exp: Load completion-support.exp.
7567 Adjust expected error output. Add completion tests.
7568
a994424f
PA
75692019-07-03 Pedro Alves <palves@redhat.com>
7570
7571 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7572 string_to_regexp.
7573
3d9be6f5
PA
75742019-07-03 Pedro Alves <palves@redhat.com>
7575
7576 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7577 (expect_integer): Adjust to expect "-string".
7578 (expect_string): New.
7579 (all_options): Expect "-string".
7580 (test-flag, test-boolean): Adjust to expect "-string".
7581 (test-string): New proc.
7582 (top level): Call it.
7583
41fc454c
PA
75842019-07-03 Pedro Alves <palves@redhat.com>
7585
7586 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7587 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7588 the expected output in the success.
7589
b2b2a215
PA
75902019-07-03 Pedro Alves <palves@redhat.com>
7591
7592 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7593 Split one gdb_test_multiple call in two to avoid a race.
7594
fdbc9870
PA
75952019-07-03 Pedro Alves <palves@redhat.com>
7596
7597 * gdb.base/with.c: New file.
7598 * gdb.base/with.exp: New file.
7599
c6ac8931
PA
76002019-07-03 Pedro Alves <palves@redhat.com>
7601
7602 * gdb.base/settings.exp: Replace all references to "maint
7603 test-settings set" with references to "maint set test-settings",
7604 and all references to "maint test-settings show" with references
7605 to "maint show test-settings".
7606
970f9d09
PA
76072019-07-03 Pedro Alves <palves@redhat.com>
7608
7609 * gdb.base/settings.exp (test-string): Adjust expected out when
7610 testing "maint test-settings show filename"
7611
54d66006
PA
76122019-07-02 Pedro Alves <palves@redhat.com>
7613
7614 * gdb.base/options.exp (test-info-threads): New procedure.
7615 (top level): Call it.
7616
10d06d82
TT
76172019-06-28 Tom Tromey <tromey@adacore.com>
7618
7619 * gdb.dwarf2/ada-linkage-name.c: New file.
7620 * gdb.dwarf2/ada-linkage-name.exp: New file.
7621
3d507ff2
TT
76222019-06-27 Tom Tromey <tromey@adacore.com>
7623
d039f014 7624 PR c++/20020:
3d507ff2
TT
7625 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7626
8af58ffe
TV
76272019-06-26 Tom de Vries <tdevries@suse.de>
7628
7629 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7630
22e21752
TV
76312019-06-26 Tom de Vries <tdevries@suse.de>
7632
7633 * gdb.base/index-cache.exp: Add back missing debug option.
7634
b65b566c
PW
76352019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7636
7637 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7638
5c2c8c69
TV
76392019-06-25 Tom de Vries <tdevries@suse.de>
7640
7641 PR testsuite/24727
7642 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7643
164e3873
TV
76442019-06-24 Tom de Vries <tdevries@suse.de>
7645
7646 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7647
824eacee
TV
76482019-06-24 Tom de Vries <tdevries@suse.de>
7649
7650 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7651 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7652 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7653
385b97d3
TV
76542019-06-24 Tom de Vries <tdevries@suse.de>
7655
7656 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7657
c596f180
TV
76582019-06-21 Tom de Vries <tdevries@suse.de>
7659
7660 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7661
b13a7d03
TV
76622019-06-21 Tom de Vries <tdevries@suse.de>
7663
7664 PR testsuite/24518
7665 PR ada/24713
7666 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7667 index.
7668
899277ae
TT
76692019-06-19 Tom Tromey <tromey@adacore.com>
7670
7671 * gdb.ada/length_cond.exp: Add intro comment.
7672
680e1bee
TT
76732019-06-19 Tom Tromey <tromey@adacore.com>
7674
7675 * gdb.ada/length_cond.exp: New file.
7676 * gdb.ada/length_cond/length_cond.adb: New file.
7677 * gdb.ada/length_cond/pck.adb: New file.
7678 * gdb.ada/length_cond/pck.ads: New file.
7679
0ed4690a
TV
76802019-06-18 Tom de Vries <tdevries@suse.de>
7681
7682 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7683
d20ed5fd
TT
76842019-06-18 Tom Tromey <tromey@adacore.com>
7685
7686 * gdb.base/list0.h: Add comment explaining control character.
7687
86e04673
TV
76882019-06-18 Tom de Vries <tdevries@suse.de>
7689
7690 * boards/fission.exp: Break up long debug_flags line.
7691
c4973306
SM
76922019-06-16 Tom de Vries <tdevries@suse.de>
7693
7694 PR gdb/24445
7695 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7696 generated index.
7697
93cb9841
AB
76982019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7699
7700 PR gdb/24686
7701 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7702 improve detection of bug gdb/24541.
7703
399aaebd
SM
77042019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7705
7706 PR gdb/24669
7707 * gdb.base/index-cache.exp (uses_readnow,
7708 expecting_index_cache_use): Define global variable.
7709 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7710 expecting_index_cache_use.
7711
584a927c
AB
77122019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7713 Andrew Burgess <andrew.burgess@embecosm.com>
7714
7715 * gdb.fortran/pointers.f90: New file.
7716 * gdb.fortran/print_type.exp: New file.
7717 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7718 * gdb.fortran/vla-type.exp: Likewise.
7719 * gdb.fortran/vla-value.exp: Likewise.
7720 * gdb.mi/mi-vla-fortran.exp: Likewise.
7721
30056ea0
AB
77222019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7723
7724 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7725 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7726 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7727 as a stop reason.
7728
ec8e2b6d
AB
77292019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7730
7731 * gdb.base/annota1.exp: Update expected results.
7732 * gdb.cp/annota2.exp: Likewise.
7733 * gdb.cp/annota3.exp: Likewise.
7734
09e4c4e1
AB
77352019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7736
7737 * gdb.base/style-logging.exp: Remove path from test name.
7738
0735b091
TT
77392019-06-14 Tom Tromey <tromey@adacore.com>
7740
7741 PR gdb/24502:
7742 * gdb.base/style-logging.exp: New file.
7743
f5686554
TT
77442019-06-14 Tom Tromey <tromey@adacore.com>
7745
7746 * gdb.base/symfile-warn.exp: New file.
7747 * gdb.base/symfile-warn.c: New file.
7748
a0c1ffed
TT
77492019-06-14 Tom Tromey <tromey@adacore.com>
7750
7751 * gdb.base/annotate-symlink.exp: New file.
7752
f411722c
TT
77532019-06-14 Tom Tromey <tromey@adacore.com>
7754
7755 * gdb.ada/set_wstr.exp: Add reassignment test.
7756
4268ec18
TT
77572019-06-14 Tom Tromey <tromey@adacore.com>
7758
7759 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7760 'unchecked_access and 'unrestricted_access as well.
7761
9a9e394b
TT
77622019-06-14 Tom Tromey <tromey@adacore.com>
7763
7764 PR ada/24539:
7765 * gdb.ada/vla.exp: Update tests.
7766 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7767 pragma.
7768
4c048731
PA
77692019-06-13 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.base/settings.exp (test-integer): Test junk after
7772 "unlimited".
7773
6665660a
PA
77742019-06-13 Pedro Alves <palves@redhat.com>
7775
7776 * gdb.base/options.exp (test-thread-apply): New.
7777 (top level): Call it.
7778
5d707134
PA
77792019-06-13 Pedro Alves <palves@redhat.com>
7780
7781 * gdb.base/options.exp (test-frame-apply): New.
7782 (top level): Test print commands with different "frame apply"
7783 prefixes.
7784
e2a689da
PA
77852019-06-13 Pedro Alves <palves@redhat.com>
7786
e79be6e5 7787 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7788 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7789 'max_completions' parameter and handle it.
7790 (test_gdb_completion_offers_commands): New.
7791
90a1ef87
PA
77922019-06-13 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7795
d4c16835
PA
77962019-06-13 Pedro Alves <palves@redhat.com>
7797
7798 * gdb.base/options.exp (test-backtrace): New.
7799 (top level): Call it.
7800
2daf894e
PA
78012019-06-13 Pedro Alves <palves@redhat.com>
7802
7803 * gdb.guile/scm-frame-args.exp: Use "set print
7804 raw-frame-arguments" instead of "set print raw frame-arguments".
7805 * gdb.python/py-frame-args.exp: Likewise.
7806
e6ed716c
PA
78072019-06-13 Pedro Alves <palves@redhat.com>
7808
7809 * gdb.compile/compile.exp: Adjust expected output to option
7810 processing changes.
7811
7d8062de
PA
78122019-06-13 Pedro Alves <palves@redhat.com>
7813
7814 * gdb.base/options.exp: Build executable.
7815 (test-print): New procedure.
7816 (top level): Call it, once for "print" and another for "compile
7817 print".
7818
9d0faba9
PA
78192019-06-13 Pedro Alves <palves@redhat.com>
7820
7821 * gdb.base/options.c: New file.
7822 * gdb.base/options.exp: New file.
7823
dee7b4c8
PA
78242019-06-13 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7827 that "o" is ambiguous.
7828
dca0f6c0
PA
78292019-06-13 Pedro Alves <palves@redhat.com>
7830
7831 * gdb.base/settings.c: New file.
7832 * gdb.base/settings.exp: New file.
7833
ccf46844
PA
78342019-06-13 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.base/completion.exp: Fix comment typo.
7837
b9a3f842
PA
78382019-06-13 Pedro Alves <palves@redhat.com>
7839
7840 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7841 foo --1" test.
7842
d106773e
PA
78432019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7844
7845 * gdb.fortran/block-data.f: New.
7846 * gdb.fortran/block-data.exp: New.
7847
fea82da0
TV
78482019-06-11 Tom de Vries <tdevries@suse.de>
7849
7850 PR testsuite/24521
7851 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7852 message.
7853
8c2e74f1
TV
78542019-06-11 Tom de Vries <tdevries@suse.de>
7855
7856 PR testsuite/24521
7857 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7858
b49851c8
TV
78592019-06-11 Tom de Vries <tdevries@suse.de>
7860
7861 * boards/readnow.exp: New file.
7862
a7067863
AB
78632019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7864
7865 * gdb.fortran/vla-sizeof.exp: Update expected results.
7866
1a3da2cd
AB
78672019-06-06 Amos Bird <amosbird@gmail.com>
7868
7869 * gdb.base/annota1.exp (thread_switch): Add test for
7870 thread-exited annotation.
7871
3847a7bf
TT
78722019-06-06 Tom Tromey <tromey@adacore.com>
7873
7874 * gdb.base/maint.exp: Expect command started/finished output.
7875
0088ba59
AB
78762019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7877
7878 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7879 comment.
7880 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7881
312617a3
AB
78822019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7883
7884 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7885 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7886 * gdb.arch/riscv-unwind-long-insn.c: New file.
7887 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7888
e1f2e1a2
CB
78892019-06-04 Christian Biesinger <cbiesinger@google.com>
7890
d3238f7d 7891 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7892
206584bd
PW
78932019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7894
7895 * lib/gdb.exp (help_list_trailer): New regexp variable
7896 factorizing the help trailer message.
7897 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7898 arg to allow to better factorize various tests.
7899 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7900 (test_prefix_command_help): Use help_list_trailer.
7901 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7902 * gdb.guile/scm-cmd.exp: Likewise.
7903 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7904 * gdb.base/help.exp: Use test_user_defined_class_help.
7905 * gdb.base/style.exp: Add tests for styling of help and apropos.
7906 * lib/gdb-utils.exp (style): Add title and highlight styles.
7907
708dc93e
PW
79082019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7909
7910 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7911 $_shell_exitsignal.
7912 * gdb.base/default.exp: Update for new convenience variables.
7913
f49055a5
TT
79142019-05-29 Tom Tromey <tromey@adacore.com>
7915
7916 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7917 to "break complete ada" test case's regexp.
7918
4330d61d
TT
79192019-05-29 Tom Tromey <tromey@adacore.com>
7920
7921 PR c++/20020:
7922 * gdb.cp/constexpr-field.exp: New file.
7923 * gdb.cp/constexpr-field.cc: New file.
7924
000439d5
TT
79252019-05-29 Tom Tromey <tromey@adacore.com>
7926
7927 * gdb.base/finish.exp (finish_no_print): New proc.
7928 (finish_tests): Call it.
7929
5a01c34c
TV
79302019-05-24 Tom de Vries <tdevries@suse.de>
7931
7932 * gdb.dwarf2/gdb-add-index.exp: New file.
7933
18125b16
TT
79342019-05-22 Tom Tromey <tromey@adacore.com>
7935
7936 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7937 * gdb.base/style.exp: Use "style".
7938 * lib/gdb-utils.exp (style): New proc.
7939
af1a8d03
TV
79402019-05-22 Tom de Vries <tdevries@suse.de>
7941
7942 * gdb.base/align.exp: Require c++11.
7943
e7fe496b
TV
79442019-05-22 Tom de Vries <tdevries@suse.de>
7945
7946 PR testsuite/24586
7947 * gdb.python/py-mi-var-info-path-expression.exp: Call
7948 mi_skip_python_tests to check if python is supported.
7949
8fca4da0
AH
79502019-05-22 Alan Hayward <alan.hayward@arm.com>
7951
7952 * gdb.arch/aarch64-pauth.c: New test.
7953 * gdb.arch/aarch64-pauth.exp: New file.
7954
b7060614
AH
79552019-05-22 Alan Hayward <alan.hayward@arm.com>
7956
7957 * README (Re-running Tests Outside The Testsuite): New section.
7958
669d0468
TV
79592019-05-21 Tom de Vries <tdevries@suse.de>
7960
7961 * gdb.arch/amd64-eval.exp: Require c++11.
7962 * gdb.base/max-depth.exp: Same.
7963 * gdb.compile/compile-cplus-array-decay.exp: Same.
7964 * gdb.cp/meth-typedefs.exp: Same.
7965 * gdb.cp/subtypes.exp: Same.
7966 * gdb.cp/temargs.exp: Same.
7967
ce3ebcaa
AH
79682019-05-21 Alan Hayward <alan.hayward@arm.com>
7969
7970 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7971
34d11c68
AB
79722019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7973
7974 PR gdb/18644
7975 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7976 * gdb.fortran/printing-types.exp: Add new test.
7977 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7978 testing.
7979 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7980 setup_kfail call.
7981
87781e84
AH
79822019-05-17 Alan Hayward <alan.hayward@arm.com>
7983
7984 * README (Running the Testsuite): Change example.
7985 (Testsuite Parameters): Remove TRANSCRIPT.
7986 * lib/gdb.exp: Remove TRANSCRIPT check.
7987
b420b89e
AH
79882019-05-17 Alan Hayward <alan.hayward@arm.com>
7989
7990 * README (Testsuite Parameters): Add replay logging to
7991 GDBSERVER_DEBUG.
7992 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7993 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7994 as a comma separated list.
7995 (gdb_debug_init): Override procedure.
7996
408e9b8b
AH
79972019-05-17 Alan Hayward <alan.hayward@arm.com>
7998
7999 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8000 (gdb_write_cmd_file): New procedure.
8001 * lib/gdbserver-support.exp (gdbserver_start): Call
8002 gdbserver_write_cmd_file.
8003 (gdbserver_write_cmd_file): New procedure.
8004
f9e2e39d
AH
80052019-05-17 Alan Hayward <alan.hayward@arm.com>
8006
8007 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8008 (delete_breakpoints): Likewise.
8009 (gdb_run_cmd): Likewise.
8010 (gdb_start_cmd): Likewise.
8011 (gdb_starti_cmd): Likewise.
8012 (gdb_internal_error_resync): Likewise.
8013 (gdb_test_multiple): Likewise.
8014 (gdb_reinitialize_dir): Likewise.
8015 (default_gdb_exit): Likewise.
8016 (gdb_file_cmd): Mark kill as optional.
8017 (default_gdb_start): Call gdb_stdin_log_init.
8018 (send_gdb): Call gdb_stdin_log_write.
8019 (rerun_to_main): Mark Y as an answer.
8020 (gdb_stdin_log_init): New function.
8021 (gdb_stdin_log_write): Likewise.
8022
81f47ac2
AH
80232019-05-17 Alan Hayward <alan.hayward@arm.com>
8024
8025 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8026 * gdb.base/debug-expr.exp: Likewise.
8027 * gdb.base/foll-fork.exp: Likewise.
8028 * gdb.base/foll-vfork.exp: Likewise.
8029 * gdb.base/fork-print-inferior-events.exp: Likewise.
8030 * gdb.base/gdb-sigterm.exp: Likewise.
8031 * gdb.base/gdbinit-history.exp: Likewise.
8032 * gdb.base/osabi.exp: Likewise.
8033 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8034 * gdb.base/ui-redirect.exp: Likewise.
8035 * gdb.gdb/unittest.exp: Likewise.
8036 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8037 * gdb.mi/mi-watch.exp: Likewise.
8038 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8039 * gdb.mi/user-selected-context-sync.exp: Likewise.
8040 * gdb.python/python.exp: Disable debug test when debugging.
8041 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8042 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8043 Likewise.
8044 * gdb.threads/stepi-random-signal.exp: Likewise.
8045
29b52314
AH
80462019-05-17 Alan Hayward <alan.hayward@arm.com>
8047
8048 * Makefile.in: Pass through GDB_DEBUG.
8049 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8050 (gdb,debug): Add board setting.
8051 * lib/gdb.exp (default_gdb_start): Start debugging.
8052 (gdb_debug_enabled): New procedure.
8053 (gdb_debug_init): Likewise.
29b52314
AH
8054
80552019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8056
29b52314
AH
8057 * Makefile.in: Pass through GDB_DEBUG.
8058 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8059 (gdb,debug): Add board setting.
8060 * lib/gdb.exp (default_gdb_start): Start debugging.
8061 (gdb_debug_enabled): New procedure.
8062 (gdb_debug_init): Likewise.
29b52314 8063
ca1285d1
AH
80642019-05-17 Alan Hayward <alan.hayward@arm.com>
8065
8066 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8067
f3a09c80
AH
80682019-05-17 Alan Hayward <alan.hayward@arm.com>
8069
8070 * gdb.base/ui-redirect.exp: Test redirection.
8071
26648588
JV
80722019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8073
8074 * gdb.mi/mi-complete.exp: New file.
8075 * gdb.mi/mi-complete.cc: Likewise.
8076
14237686
AB
80772019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8078
8079 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8080 indexed and sliced arrays, and pointers to arrays.
8081
e7bd7fba
TT
80822019-05-14 Tom Tromey <tromey@adacore.com>
8083
8084 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8085 styling test.
8086
2764128d
TV
80872019-05-14 Tom de Vries <tdevries@suse.de>
8088
8089 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8090 selection entry encoding.
8091
71bed2db
TT
80922019-05-10 Tom Tromey <tromey@adacore.com>
8093
8094 * gdb.ada/info_exc.exp: Add "complete" test.
8095
63b667ad
TV
80962019-05-09 Tom de Vries <tdevries@suse.de>
8097
8098 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8099 CU-relative.
8100
9cfd2b89
TV
81012019-05-09 Tom de Vries <tdevries@suse.de>
8102
8103 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8104 CU-relative.
8105
2228ef77
XR
81062019-05-08 Joel Brobecker <brobecker@adacore.com>
8107
8108 * gdb.ada/frame_arg_lang.exp: New testcase.
8109 * gdb.ada/frame_arg_lang/bla.adb: New file.
8110 * gdb.ada/frame_arg_lang/pck.ads: New file.
8111 * gdb.ada/frame_arg_lang/pck.adb: New file.
8112 * gdb.ada/frame_arg_lang/foo.c: New file.
8113
80e55b13
TT
81142019-05-08 Tom Tromey <tromey@adacore.com>
8115
8116 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8117
9d3421af
TT
81182019-05-08 Tom Tromey <tromey@adacore.com>
8119
8120 * gdb.base/ptype-offsets.exp: Update tests.
8121
844333e2
TT
81222019-05-08 Tom Tromey <tromey@adacore.com>
8123
8124 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8125 cases.
8126 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8127 "short".
8128
988915ee
TT
81292019-05-08 Tom Tromey <tromey@adacore.com>
8130
8131 * gdb.ada/vla.exp: New file.
8132 * gdb.ada/vla/vla.adb: New file.
8133
7bd55dac
TV
81342019-05-07 Tom de Vries <tdevries@suse.de>
8135
8136 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8137
75f06e9d
TV
81382019-05-07 Tom de Vries <tdevries@suse.de>
8139
8140 PR testsuite/24522
8141 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8142 section.
8143
77e7aaa4
TV
81442019-05-07 Tom de Vries <tdevries@suse.de>
8145
8146 PR testsuite/24522
8147 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8148 .debug_aranges section.
8149
456ba0fa
TV
81502019-05-07 Tom de Vries <tdevries@suse.de>
8151
8152 PR testsuite/24159
8153 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8154
5a56d6a6
TV
81552019-05-06 Tom de Vries <tdevries@suse.de>
8156
8157 * lib/gdb.exp (exec_has_index_section): New proc.
8158 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8159 section.
8160
9d6d4be8
TV
81612019-05-04 Tom de Vries <tdevries@suse.de>
8162
8163 * boards/cc-with-debug-names.exp: New file.
8164
222a8d25
TT
81652019-05-03 Tom Tromey <tromey@adacore.com>
8166
8167 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8168 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8169 * gdb.ada/char_enum.exp: Add test.
8170
0fdfd794
TV
81712019-05-03 Tom de Vries <tdevries@suse.de>
8172
8173 * boards/cc-with-gdb-index.exp: New file.
8174
80062eb9
AB
81752019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8176
8177 * gdb.rust/simple.exp: Add new test case.
8178 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8179 (main): Initialise an instance of the new struct.
8180
4504bbde
TT
81812019-05-01 Tom Tromey <tromey@adacore.com>
8182
8183 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8184 record.
8185 (NPR): New variable.
8186 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8187 test.
8188
d48e62f4
TT
81892019-05-01 Tom Tromey <tromey@adacore.com>
8190
8191 * gdb.ada/packed_array_assign.exp: Add packed assignment
8192 regression test.
8193
f59f30f5
TV
81942019-05-01 Tom de Vries <tdevries@suse.de>
8195
8196 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8197
b70bfc54
TV
81982019-05-01 Tom de Vries <tdevries@suse.de>
8199
8200 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8201
15f18d14
AT
82022019-04-30 Ali Tamur <tamur@google.com>
8203
8204 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8205
2ff0a947
TT
82062019-04-30 Tom Tromey <tromey@adacore.com>
8207
8208 * lib/ada.exp (find_ada_tool): New proc.
8209 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8210 * gdb.ada/catch_ex_std.exp: New file.
8211 * gdb.ada/catch_ex_std/foo.adb: New file.
8212 * gdb.ada/catch_ex_std/some_package.adb: New file.
8213 * gdb.ada/catch_ex_std/some_package.ads: New file.
8214
a776957c
TT
82152019-04-30 Tom Tromey <tromey@adacore.com>
8216
8217 PR c++/24470:
8218 * gdb.cp/temargs.cc: Add test code from PR.
8219
bc68014d
AB
82202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8221
8222 * gdb.fortran/vla-datatypes.exp: Update expected results.
8223 * gdb.fortran/vla-ptype.exp: Likewise.
8224 * gdb.fortran/vla-type.exp: Likewise.
8225 * gdb.fortran/vla-value.exp: Likewise.
8226
f1fdc960
AB
82272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8228
8229 * gdb.fortran/ptr-indentation.exp: Update expected results.
8230 * gdb.fortran/ptype-on-functions.exp: Likewise.
8231 * gdb.fortran/vla-ptr-info.exp: Likewise.
8232 * gdb.fortran/vla-value.exp: Likewise.
8233
bf7a4de1
AB
82342019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8235
8236 * gdb.fortran/ptype-on-functions.exp: New file.
8237 * gdb.fortran/ptype-on-functions.f90: New file.
8238
bbe75b9d
AB
82392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8240
8241 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8242 case void string.
8243
1db455a7
AB
82442019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8245
8246 * gdb.fortran/complex.exp: Expand.
8247 * gdb.fortran/complex.f: Renamed to...
8248 * gdb.fortran/complex.f90: ...this, and extended to add more
8249 complex values.
8250
b6d03bb2
AB
82512019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8252
8253 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8254 MODULO, CMPLX.
8255
2e62ab40
AB
82562019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8257 Richard Bunt <richard.bunt@arm.com>
8258
8259 * gdb.base/max-depth.c: New file.
8260 * gdb.base/max-depth.exp: New file.
8261 * gdb.python/py-nested-maps.c: New file.
8262 * gdb.python/py-nested-maps.exp: New file.
8263 * gdb.python/py-nested-maps.py: New file.
8264 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8265 (test_all_common): Call test_max_depth.
8266 * gdb.fortran/max-depth.exp: New file.
8267 * gdb.fortran/max-depth.f90: New file.
8268 * gdb.go/max-depth.exp: New file.
8269 * gdb.go/max-depth.go: New file.
8270 * gdb.modula2/max-depth.exp: New file.
8271 * gdb.modula2/max-depth.c: New file.
8272 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8273
d2b584a5
TV
82742019-04-29 Tom de Vries <tdevries@suse.de>
8275
8276 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8277
136afab8
PW
82782019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8279
8280 * gdb.base/callexit.exp: Test may-call-functions off.
8281
725cbb63
KS
82822019-04-25 Keith Seitz <keiths@redhat.com>
8283
8284 PR c++/24367
8285 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8286 (another_incomplete_struct, test_incomplete): New definitions.
8287 (main): Use new definitions.
8288 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8289 functions.
8290
701adfb0
PA
82912019-04-25 Ali Tamur <tamur@google.com>
8292
8293 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8294
82433e3e
SDJ
82952019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8296
8297 PR corefiles/11608
8298 PR corefiles/18187
8299 * gdb.base/coredump-filter-build-id.exp: New file.
8300
dd06d4d6
AH
83012019-04-25 Alan Hayward <alan.hayward@arm.com>
8302
e79be6e5
SM
8303 * Makefile.in: Pass through GDBSERVER_DEBUG.
8304 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8305 (gdbserver,debug): Add board setting.
8306 * gdb.trace/tspeed.exp: Skip when debugging.
8307 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8308 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8309
1670072e
TT
83102019-04-24 Tom Tromey <tromey@adacore.com>
8311
8312 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8313 Rust.
8314
a59240a4
TT
83152019-04-24 Tom Tromey <tromey@adacore.com>
8316
8317 * gdb.arch/amd64-eval.exp: Test bitfield return.
8318 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8319 (class Foo) <return_bitfields>: New method.
8320 (main): Call it.
8321
b907456c
AB
83222019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8323
8324 * gdb.cp/many-args.cc: New file.
8325 * gdb.cp/many-args.exp: New file.
8326
5c565afd
TV
83272019-04-23 Tom de Vries <tdevries@suse.de>
8328
8329 PR gdb/24433
8330 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8331
ba22ff86
AH
83322019-04-23 Alan Hayward <alan.hayward@arm.com>
8333
8334 * gdb.trace/backtrace.exp: Use nopie flag.
8335 * gdb.trace/circ.exp: Likewise.
8336 * gdb.trace/collection.exp: Likewise.
8337 * gdb.trace/ftrace.exp: Likewise.
8338 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8339 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8340 * gdb.trace/qtro.exp: Likewise.
8341 * gdb.trace/read-memory.exp: Likewise.
8342 * gdb.trace/report.exp: Likewise.
8343 * gdb.trace/tfile.exp: Likewise.
8344 * gdb.trace/tfind.exp: Likewise.
8345 * gdb.trace/unavailable.exp: Likewise.
8346
7905fc35
PA
83472019-04-22 Pedro Alves <palves@redhat.com>
8348
8349 * gdb.base/solib-probes-nosharedlibrary.c,
8350 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8351
8ecb59f8
TT
83522019-04-19 Tom Tromey <tromey@adacore.com>
8353
8354 * gdb.ada/ptype_union.c: New file.
8355 * gdb.ada/ptype_union.exp: New file.
8356
62160ec9
TT
83572019-04-19 Tom Tromey <tromey@adacore.com>
8358
8359 PR symtab/24423:
8360 * gdb.base/list0.h (foo): Add a control-l character.
8361
36cd4ba5
TV
83622019-04-18 Tom de Vries <tdevries@suse.de>
8363
8364 PR gdb/24433
8365 * boards/local-board.exp: Set sysroot to "".
8366
b73715df
TV
83672019-04-18 Tom de Vries <tdevries@suse.de>
8368 Pedro Alves <palves@redhat.com>
8369
8370 PR gdb/24454
8371 * gdb.threads/vfork-follow-child-exec.c: New file.
8372 * gdb.threads/vfork-follow-child-exec.exp: New file.
8373 * gdb.threads/vfork-follow-child-exit.c: New file.
8374 * gdb.threads/vfork-follow-child-exit.exp: New file.
8375
4aa866af
LS
83762019-04-15 Leszek Swirski <leszeks@google.com>
8377
8378 * gdb.arch/amd64-eval.cc: New file.
8379 * gdb.arch/amd64-eval.exp: New file.
8380
e5a1a79a
AH
83812019-04-11 Alan Hayward <alan.hayward@arm.com>
8382
8383 * gdb.server/sysroot.c: New test.
8384 * gdb.server/sysroot.exp: New file.
8385 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8386 matching param.
8387
41077b66
AB
83882019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8389
8390 * gdb.base/align.exp: Extend test to cover structures containing
8391 only static fields.
8392
c30391f8
TV
83932019-04-11 Tom de Vries <tdevries@suse.de>
8394
8395 * boards/cc-with-dwz-m.exp: New file.
8396 * boards/cc-with-dwz.exp: New file.
8397 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8398
e242fd12
SM
83992019-04-09 Simon Marchi <simon.marchi@efficios.com>
8400
8401 * gdb.base/start-cpp.exp: New file.
8402 * gdb.base/start-cpp.cc: New file.
8403
2b0c8b01
KB
84042019-04-08 Kevin Buettner <kevinb@redhat.com>
8405
8406 * gdb.python/py-thrhandle.exp: Adjust tests to call
8407 thread_from_handle instead of thread_from_thread_handle.
8408
947210e5
KB
84092019-04-08 Kevin Buettner <kevinb@redhat.com>
8410
8411 * gdb.python/py-thrhandle.exp: Add tests for
8412 gdb.InferiorThread.handle.
8413
d7df6549
AB
84142019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8415
8416 * gdb.python/py-function.exp: Check calling helper function from
8417 all languages.
8418 * lib/gdb.exp (gdb_supported_languages): New proc.
8419
8bdc1658
AB
84202019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8421
8422 * gdb.base/complex-parts.c: New file.
8423 * gdb.base/complex-parts.exp: New file.
8424
05caa1d2
TT
84252019-04-01 Tom Tromey <tromey@adacore.com>
8426
8427 PR symtab/23331:
8428 * gdb.dwarf2/dw2-ranges-main.c: New file.
8429 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8430 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8431
7734102d
EZ
84322019-03-30 Simon Marchi <simark@simark.ca>
8433
8434 * gdb.base/default.exp: Add values for $_gdb_major and
8435 $_gdb_minor.
8436
188e1fa9
TT
84372019-03-29 Tom Tromey <tromey@adacore.com>
8438
8439 * gdb.base/help.exp: Tighten apropos regexp.
8440
2880242d
KS
84412019-03-29 Keith Seitz <keiths@redhat.com>
8442
8443 * gdb.fortran/array-bounds.exp: New file.
8444 * gdb.fortran/array-bounds.f90: New file.
8445
077cad8e
PW
84462019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8447
8448 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8449
80047cfc
PW
84502019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8451
8452 * gdb.multi/hello.c (main): Increase alarm timer.
8453
f489207e
SL
84542019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8455
8456 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8457 factor when no hardware watchpoint support.
8458
c92df149
AH
84592019-03-28 Alan Hayward <alan.hayward@arm.com>
8460 Pedro Alves <palves@redhat.com>
8461
8462 * boards/local-board.exp: set sysroot to /.
8463
933aebfa
AH
84642019-03-27 Alan Hayward <alan.hayward@arm.com>
8465
8466 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8467 in child.
8468
9f9aa852
AB
84692019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8470
8471 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8472 field.
8473 (make_container): Initialise new field.
8474 * gdb.python/py-prettyprint.exp: Add new tests.
8475 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8476 <display_hint>: New method.
8477
3714a195
AB
84782019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8479
8480 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8481 gdb_continue_to_breakpoint more throughout this test.
8482 (run_lang_tests) Supply unique test names, and use
8483 gdb_test_no_output.
8484
18c77628
AB
84852019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8486
8487 * gdb.base/finish-pretty.exp: Update expected results.
8488 * gdb.base/pretty-print.c: New file.
8489 * gdb.base/pretty-print.exp: New file.
8490
9a93502f
PA
84912019-03-25 Pedro Alves <palves@redhat.com>
8492
8493 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8494 move comments outside list. Append '-i "" eof' section.
8495
968aa7ae
AH
84962019-03-22 Alan Hayward <alan.hayward@arm.com>
8497
34a7f2a4 8498 PR testsuite/25016
968aa7ae
AH
8499 * README: Add pie options.
8500 * gdb.base/break-interp.exp: Ensure pie is disabled.
8501 * gdb.base/dump.exp: Likewise.
8502 * lib/gdb.exp (gdb_compile): Add pie option.
8503
4c7d57e7
TT
85042019-03-19 Tom Tromey <tromey@adacore.com>
8505
8506 * gdb.mi/mi2-cli-display.c: New file.
8507 * gdb.mi/mi2-cli-display.exp: New file.
8508
bff8c71f
TT
85092019-03-18 Joel Brobecker <brobecker@adacore.com>
8510 Tom Tromey <tromey@adacore.com>
8511
8512 * gdb.ada/ptype_array/pck.adb: New file.
8513 * gdb.ada/ptype_array/pck.ads: New file.
8514 * gdb.ada/ptype_array/foo.adb: New file.
8515 * gdb.ada/ptype_array.exp: New file.
8516
d085f989
TT
85172019-03-14 Tom Tromey <tromey@adacore.com>
8518
8519 * gdb.base/style.exp: Add "set style sources" test.
8520
b4be1b06
SM
85212019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8522
8523 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8524 * mi-breakpoint-multiple-locations.exp: ... this.
8525 (make_breakpoints_pattern): New proc.
8526 (do_test): Add mi_version parameter, test -break-insert,
8527 -break-info and =breakpoint-created.
8528
7cde5fc2
AB
85292019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8530
8531 * config/default.exp: Remove 'load_lib gdb.exp'.
8532 * config/monitor.exp: Likewise.
8533 * config/sid.exp: Likewise.
8534 * config/sim.exp: Likewise.
8535 * config/slite.exp: Likewise.
8536 * config/unix.exp: Likewise.
8537 * gdb.base/default.exp: Remove unhelpful comment.
8538
efbecbc1
AB
85392019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8540
8541 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8542
0841c79a
AB
85432019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8544
8545 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8546
4a270568
AB
85472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8548
8549 * gdb.fortran/type-kinds.exp: Update expected results.
8550
067630bd
AB
85512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8552
8553 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8554
3be47f7a
AB
85552019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8556
8557 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8558 function.
8559 (test_basic_parsing_of_type_kinds): Expand types tested.
8560 (test_parsing_invalid_type_kinds): New function.
8561
4d00f5d8
AB
85622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8563
8564 * gdb.fortran/intrinsics.exp: New file.
8565 * gdb.fortran/intrinsics.f90: New file.
8566 * gdb.fortran/type-kinds.exp: New file.
8567
c8f91604
AB
85682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8569
8570 * gdb.fortran/dot-ops.exp: New file.
8571
dd9f2c76
AB
85722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8573
8574 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8575 Check upper and lower case logical literals.
8576
84ec9724
AB
85772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8578
8579 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8580 Remove duplicate tests.
8581
c3734e09
AH
85822019-03-06 Alan Hayward <alan.hayward@arm.com>
8583
8584 * lib/gdb.exp (builtin_cd): rename of cd.
8585 (cd): Override builtin.
8586
aa3cfbda
RB
85872019-03-06 Richard Bunt <richard.bunt@arm.com>
8588
8589 * gdb.fortran/function-calls.exp: New file.
8590 * gdb.fortran/function-calls.f90: New test.
8591
7b63ad86
RB
85922019-03-04 Richard Bunt <richard.bunt@arm.com>
8593
8594 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8595 on user program standard output.
8596 * gdb.fortran/short-circuit-argument-list.f90: Record function
8597 calls.
8598
01abb042
AH
85992019-02-28 Alan Hayward <alan.hayward@arm.com>
8600
c3734e09
AH
8601 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8602 failure.
01abb042 8603
92137da0
RO
86042019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8605
8606 PR gdb/8527
8607 * gdb.base/interrupt-daemon-attach.c,
8608 gdb.base/interrupt-daemon-attach.exp: New test.
8609
5862844d
PA
86102019-02-27 Pedro Alves <palves@redhat.com>
8611
8612 * gdb.base/page.exp: Add tests for "set width/height -1".
8613
8ed25214
PA
86142019-02-27 Pedro Alves <palves@redhat.com>
8615
8616 * gdb.base/page.exp: Add tests for "set/show width/height" with
8617 "infinite" values.
8618
6c28e44a
TT
86192019-02-27 Tom Tromey <tromey@adacore.com>
8620
8621 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8622 2.4.
8623 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8624 workaround.
8625
bf9a735e
AB
86262019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8627
8628 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8629 tests for structs with static members.
8630
8791793c
TT
86312019-02-26 Tom Tromey <tromey@adacore.com>
8632
8633 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8634 ValueError, not TypeError.
8635
bc2a507e
KB
86362019-02-26 Kevin Buettner <kevinb@redhat.com>
8637
8638 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8639 call from main program.
8640
e0e7d3bd
JB
86412019-02-23 Joel Brobecker <brobecker@adacore.com>
8642
8643 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8644 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8645 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8646 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8647 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8648
9600246d
KS
86492019-02-22 Keith Seitz <keiths@redhat.com>
8650
8651 PR symtab/23853
8652 * gdb.base/symlink-sourcefile.c: New file.
8653 * gdb.base/symlink-sourcefile.exp: New file.
8654
0c95f9ed
TT
86552019-02-20 Tom Tromey <tom@tromey.com>
8656
8657 * gdb.base/info_qt.exp: Update.
8658
6caa91b6
SM
86592019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8660
8661 * gdb.base/source.exp: Move "error in sourced script" code to
8662 the end.
8663 * gdb.base/source-error.gdb: Move contents to
8664 source-error-1.gdb. Add new code to source source-error-1.gdb.
8665 * gdb.base/source-error-1.gdb: New file, from previous
8666 source-error.gdb.
8667
6506371f
TT
86682019-02-17 Tom Tromey <tom@tromey.com>
8669
8670 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8671 for macro styling.
8672 * gdb.base/style.c (SOME_MACRO): New macro.
8673
a0087920
TT
86742019-02-17 Tom Tromey <tom@tromey.com>
8675
8676 * gdb.base/style.exp: Add line-wrapping tests.
8677 * gdb.base/page.exp: Add test for quitting during pagination.
8678
a2cd4f14
JB
86792019-02-17 Joel Brobecker <brobecker@adacore.com>
8680
8681 * gdb.ada/big_packed_array: New testcase.
8682 * gdb.ada/homonym.exp: Fix incorrect expected output for
8683 "break <homonym__get_value>" test.
8684
9d70ffbc
WP
86852019-02-13 Weimin Pan <weimin.pan@oracle.com>
8686
8687 PR breakpoints/21870
8688 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8689 and prepare_for_testing. Add comment.
8690 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8691 redundant cleanup call. Clean up comment.
8692
01c7ae81
WP
86932019-02-12 Weimin Pan <weimin.pan@oracle.com>
8694
8695 PR breakpoints/21870
8696 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8697 * gdb.arch/aarch64-dbreg-contents.c: New file.
8698
aff29d1c
JB
86992019-02-10 Joel Brobecker <brobecker@adacore.com>
8700
8701 * gdb.ada/mi_ref_changeable: New testcase.
8702
df0da8a2
AH
87032019-02-07 Alan Hayward <alan.hayward@arm.com>
8704
8705 * gdb.base/attach.exp: Add double attach test.
8706
bd447abb
SM
87072019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8708
8709 * lib/gdb.exp (default_gdb_start): Don't match pagination
8710 prompt.
8711 (gdb_init): Set stty_init.
8712
1dbc40b9
TT
87132019-01-27 Tom Tromey <tom@tromey.com>
8714
8715 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8716 skip_python_tests.
8717
353229bf
AH
87182019-01-24 Alan Hayward <alan.hayward@arm.com>
8719
8720 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8721 New structure.
8722 (struct struct_static_02_02): Likewise.
8723 (struct struct_static_02_03): Likewise.
8724 (struct struct_static_02_04): Likewise.
8725 (struct struct_static_04_01): Likewise.
8726 (struct struct_static_04_02): Likewise.
8727 (struct struct_static_04_03): Likewise.
8728 (struct struct_static_04_04): Likewise.
8729 (struct struct_static_06_01): Likewise.
8730 (struct struct_static_06_02): Likewise.
8731 (struct struct_static_06_03): Likewise.
8732 (struct struct_static_06_04): Likewise.
8733 (cmp_struct_static_02_01): Likewise.
8734 (cmp_struct_static_02_02): Likewise.
8735 (cmp_struct_static_02_03): Likewise.
8736 (cmp_struct_static_02_04): Likewise.
8737 (cmp_struct_static_04_01): Likewise.
8738 (cmp_struct_static_04_02): Likewise.
8739 (cmp_struct_static_04_03): Likewise.
8740 (cmp_struct_static_04_04): Likewise.
8741 (cmp_struct_static_06_01): Likewise.
8742 (cmp_struct_static_06_02): Likewise.
8743 (cmp_struct_static_06_03): Likewise.
8744 (cmp_struct_static_06_04): Likewise.
8745 (call_all): Test new structs.
8746 * gdb.base/infcall-nested-structs.exp: Likewise.
8747
73021deb
AH
87482019-01-21 Alan Hayward <alan.hayward@arm.com>
8749 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8750
fc65c7db
AH
87512019-01-21 Alan Hayward <alan.hayward@arm.com>
8752 * gdb.base/stack-protector.c: New test.
8753 * gdb.base/stack-protector.exp: New file.
8754 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8755 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8756 option.
8757 (gdb_compile): Remove stack protector for GCC and prevent
8758 recursion.
8759
c24bdb02
KS
87602019-01-16 Keith Seitz <keiths@redhat.com>
8761
8762 PR gdb/23773
8763 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8764
6f072a10
PFC
87652019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8766
8767 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8768 aliases.
8769 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8770 tests.
8771 * gdb.arch/powerpc-vector-regs.c: New file.
8772 * gdb.arch/powerpc-vector-regs.exp: New file.
8773
a7b8d682
PFC
87742019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8775
8776 * gdb.arch/altivec-regs.exp: Fix the list passed to
8777 gdb_expect_list when testing "info vector".
8778
6eb6fb67
AB
87792019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8780
8781 * gdb.base/style.exp: Don't include path in testname.
8782
b56f80d8
KS
87832019-01-10 Keith Seitz <keiths@redhat.com>
8784
8785 PR gdb/23712
8786 PR symtab/23010
8787 * gdb.dwarf2/multidictionary.exp: New file.
8788
041be526
SM
87892019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8790
8791 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8792 (test_gnuv3_style_demangling): ... this.
8793 (test_lucid_style_demangling): Remove.
8794 (test_arm_style_demangling): Remove.
8795 (test_hp_style_demangling): Remove.
8796 (do_tests): Remove calls to the above.
8797
d820d0c3
AB
87982019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8799
8800 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8801 case.
8802
f097f5ad
TT
88032019-01-06 Tom Tromey <tom@tromey.com>
8804
8805 PR gdb/28155:
8806 * gdb.dwarf2/typedef-void-finish.exp: New file.
8807
2cd8cc0b
TT
88082018-12-28 Tom Tromey <tom@tromey.com>
8809 Simon Marchi <simark@simark.ca>
8810
8811 * gdb.base/jit-exec.exp: New file.
8812 * gdb.base/jit-exec.c: New file.
8813 * gdb.base/jit-execd.c: New file.
8814
35fb8261
TT
88152018-12-28 Tom Tromey <tom@tromey.com>
8816
8817 * gdb.base/style.exp: Update test to check for address styling.
8818
47fd17cd
TT
88192018-12-28 Tom Tromey <tom@tromey.com>
8820
8821 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8822 message.
8823
d47032b7
TT
88242018-12-28 Tom Tromey <tom@tromey.com>
8825
8826 * gdb.base/style.exp: Add test for version number styling.
8827
af79b68d
TT
88282018-12-28 Tom Tromey <tom@tromey.com>
8829
8830 * gdb.base/style.exp: Add test for print_address_symbolic.
8831
0bb296cb
TT
88322018-12-28 Tom Tromey <tom@tromey.com>
8833
8834 * gdb.base/style.exp: Add test for breakpoint setting.
8835
80ae2043
TT
88362018-12-28 Tom Tromey <tom@tromey.com>
8837
8838 * gdb.base/style.exp: Add test for variable names.
8839
cbe56571
TT
88402018-12-28 Tom Tromey <tom@tromey.com>
8841
8842 * gdb.base/style.exp: New file.
8843 * gdb.base/style.c: New file.
8844
9162a27c
TT
88452018-12-28 Tom Tromey <tom@tromey.com>
8846
8847 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8848 "dumb".
8849 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8850 the TERM environment variable.
8851
bc543c90
TT
88522018-12-27 Tom Tromey <tom@tromey.com>
8853
8854 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8855 pagination test.
8856
6f0ffe50
AB
88572018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8858
8859 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8860 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8861
b5a1e557
PW
88622018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8863
8864 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8865 Filename a.adb changed to bp_fun_addr.adb.
8866 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8867
6e8b1ab2
JV
88682018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8869
8870 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8871 non-PIE executables.
8872 * README: Mention the gdb,nopie_flag board setting.
8873 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8874 non-PIE executable.
8875 * gdb.arch/amd64-entry-value.exp: Likewise.
8876 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8877 * gdb.arch/i386-float.exp: Likewise.
8878 * gdb.arch/i386-signal.exp: Likewise.
8879 * gdb.mi/mi-reg-undefined.exp: Likewise.
8880
d00a27c5
PM
88812018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8882
8883 PR gdb/23974
8884 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8885
161d081c
PW
88862018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8887
8888 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8889 Update order of results accordingly.
8890
b001de23
AB
88912018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8892
8893 * gdb.base/annota1.exp: Update a test regexp.
8894
99e1a184
AB
88952018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8896
8897 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8898
7a81c1e2
PW
88992018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8900
8901 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8902 (reuse_time): Initialize to REUSE_TIME_CAP.
8903 (check_rc): New function.
8904 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8905 Check pthread_create rc.
8906 (spawner_thread_func): Check pthread_create and pthread_join rc.
8907
73e8dc90
PA
89082018-12-08 Pedro Alves <palves@redhat.com>
8909
8910 * gdb.base/list.exp (test_forward_search): Rename to ...
8911 (test_forward_reverse_search): ... this. Also test reverse-search
8912 and the forward-search alias.
8913
13f2ed32
AB
89142018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8915
8916 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8917 local timeout variable before return, and remove all local timeout
8918 variable entirely.
8919 (gdb_load): Likewise.
8920
64d27cfc
TV
89212018-12-01 Tom de Vries <tdevries@suse.de>
8922
8923 * gdb.base/gdb-caching-proc.exp: New file.
8924
f63c03b4
SDJ
89252018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8926
8927 * Makefile.in (TIMESTAMP): New variable.
8928 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8929 command.
8930 (check-single-racy): Likewise.
8931 (check/%.exp): Likewise.
8932 (check-racy/%.exp): Likewise.
8933 (workers/%.worker): Likewise.
8934 (build-perf): Likewise.
8935 (check-perf): Likewise.
8936 * README: Describe new "TS" and "TS_FORMAT" variables.
8937 * print-ts.py: New file.
8938
1c97054b
BF
89392018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8940
8941 PR python/23714
8942 * gdb.python/python.exp: Test command repetition after
8943 gdb.execute.
8944
1871a62d
AB
89452018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8946
8947 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8948 is correctly aligned.
8949
fb5e1ed9
PW
89502018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8951
8952 * gdb.ada/info_auto_lang.exp: New testcase.
8953 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8954 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8955 * gdb.ada/info_auto_lang/some_c.c: New file.
8956
43d397ca
PW
89572018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8958
8959 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8960 FUNC_lang language syntax.
8961
beddd671
PW
89622018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8963
8964 * gdb.base/info_minsym.c: New file.
8965 * gdb.base/info_minsym.exp: New file.
8966
73fc52c4
TT
89672018-11-19 Tom Tromey <tom@tromey.com>
8968
8969 PR rust/23625:
8970 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8971 * gdb.rust/expr.exp: Update expected output. Change one test.
8972
994b876a
TT
89732018-11-19 Tom Tromey <tom@tromey.com>
8974
8975 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8976
6769f276
PA
89772018-11-19 Pedro Alves <palves@redhat.com>
8978
8979 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8980 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8981 see the expected warning.
8982
38a72da0
AH
89832018-11-16 Alan Hayward <alan.hayward@arm.com>
8984
8985 PR gdb/22736:
8986 * gdb.cp/infcall-nodebug-lib.c: New test.
8987 * gdb.cp/infcall-nodebug-main.c: New test.
8988 * gdb.cp/infcall-nodebug.exp: New file.
8989
53a89d6e
SM
89902018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8991
8992 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8993 completer tests.
8994
9325300d
TV
89952018-11-09 Tom de Vries <tdevries@suse.de>
8996
8997 * gdb.base/msym-lang.c: New test.
8998 * gdb.base/msym-lang.exp: New file.
8999 * gdb.base/msym-lang-main.c: New test.
9000
20f0d60d
TT
90012018-11-08 Tom Tromey <tom@tromey.com>
9002
9003 PR gdb/23555:
9004 PR gdb/23838:
9005 * gdb.base/warning.exp: New file.
9006
b5420128
JB
90072018-11-08 Jan Beulich <jbeulich@suse.com>
9008
9009 * testsuite/gdb.arch/i386-avx512.c,
9010 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9011
cd115d61
AB
90122018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9013
9014 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9015 point hardware.
9016
35ee2dc2
AB
90172018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9018
9019 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9020 * gdb.dwarf2/missing-type-name.exp: New file.
9021
31aceee8
TV
90222018-11-06 Tom de Vries <tdevries@suse.de>
9023
9024 * gdb.base/many-headers.c: New test.
9025 * gdb.base/many-headers.exp: New file.
9026
109be305
JW
90272018-11-06 Jim Wilson <jimw@sifive.com>
9028
9029 * gdb.base/code_elim.exp: For riscv, set additional_flags
9030 to include -msmall-data-limit=0.
9031
e2b7af72
JB
90322018-11-01 Joel Brobecker <brobecker@adacore.com>
9033
9034 * gdb.ada/watch_minus_l: New testcase.
9035
cdcda965
SM
90362018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9037
9038 * gdb.arch/aix-sighandle.c: New file.
9039 * gdb.arch/aix-sighandle.exp: New file.
9040
92dcebf3
AB
90412018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9042
9043 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9044 registers being unions.
9045
68b9ac18
TV
90462018-10-31 Tom de Vries <tdevries@suse.de>
9047
9048 * lib/valgrind.exp: New file.
9049 (vgdb_start, vgdb_stop): New procs, factored out of ...
9050 * gdb.base/valgrind-bt.exp: ... here, ...
9051 * gdb.base/valgrind-disp-step.exp: ... here and ...
9052 * gdb.base/valgrind-infcall.exp: ... here.
9053
1443936e
TV
90542018-10-31 Tom de Vries <tdevries@suse.de>
9055
9056 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9057
eb77c9df
AB
90582018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9059
9060 * gdb.dwarf2/void-type.c: New file.
9061 * gdb.dwarf2/void-type.exp: New file.
9062
82b5e646
PW
90632018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9064
9065 * gdb.base/info_qt.c: New file.
9066 * gdb.base/info_qt.exp: New file.
9067
8d619c01
EBM
90682018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9069
9070 * gdb.arch/powerpc-htm-regs.c: New file.
9071 * gdb.arch/powerpc-htm-regs.exp: New file.
9072
f2cf6173
EBM
90732018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9074
9075 * gdb.arch/powerpc-tar.c: New file.
9076 * gdb.arch/powerpc-tar.exp: New file.
9077
7ca18ed6
EBM
90782018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9079
9080 * gdb.arch/powerpc-ppr-dscr.c: New file.
9081 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9082
bfcc0eba
TV
90832018-10-25 Tom de Vries <tdevries@suse.de>
9084
9085 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9086
fe1a5cad
TV
90872018-10-24 Tom de Vries <tdevries@suse.de>
9088
9089 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9090 longer exists error.
9091
a76dc3b7
TV
90922018-10-24 Tom de Vries <tdevries@suse.de>
9093
9094 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9095
4df46df7
TV
90962018-10-24 Tom de Vries <tdevries@suse.de>
9097
9098 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9099 --db-attach in valgrind.
9100
0dbfcfff
AB
91012018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9102
9103 * gdb.arch/riscv-reg-aliases.c: New file.
9104 * gdb.arch/riscv-reg-aliases.exp: New file.
9105
b04480b1
AH
91062018-10-19 Alan Hayward <alan.hayward@arm.com>
9107
9108 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9109
2c6ac8d7
AH
91102018-10-19 Alan Hayward <alan.hayward@arm.com>
9111
9112 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9113
2bc69f25
AH
91142018-10-19 Alan Hayward <alan.hayward@arm.com>
9115
9116 * gdb.cp/ovldbreak.exp: Fix regexps.
9117
1f1ae3a3
AH
91182018-10-19 Alan Hayward <alan.hayward@arm.com>
9119
9120 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9121
94c18618
SDJ
91222018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9123
9124 PR cli/23785
9125 * gdb.base/restore.exp: New test to check if "restore" with an
9126 invalid file doesn't segfault.
9127
812cd6eb
TV
91282018-10-18 Tom de Vries <tdevries@suse.de>
9129
9130 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9131 * gdb.ada/excep_handle.exp: Same.
9132 * gdb.ada/mi_string_access.exp: Same.
9133 * gdb.ada/mi_var_union.exp: Same.
9134 * gdb.arch/arc-analyze-prologue.exp: Same.
9135 * gdb.arch/arc-decode-insn.exp: Same.
9136 * gdb.base/readnever.exp: Same.
9137 * gdb.fortran/printing-types.exp: Same.
9138 * gdb.guile/scm-lazy-string.exp: Same.
9139
c4b90788
TV
91402018-10-16 Tom de Vries <tdevries@suse.de>
9141
9142 PR gdb/23730
9143 * gdb.base/catch-follow-exec.c: Add copyright notice.
9144 * gdb.base/catch-follow-exec.exp: Rewrite to use
9145 gdb_spawn_with_cmdline_opts. Require gdb-native.
9146
8bca2978
SL
91472018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9148
9149 * gdb.trace/actions-changed.exp: Check for arch support.
9150 * gdb.trace/actions.exp: Likewise.
9151 * gdb.trace/ax.exp: Likewise.
9152 * gdb.trace/backtrace.exp: Likewise.
9153 * gdb.trace/change-loc.exp: Likewise.
9154 * gdb.trace/deltrace.exp: Likewise.
9155 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9156 * gdb.trace/ftrace.exp: Likewise.
9157 * gdb.trace/infotrace.exp: Check for arch support.
9158 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9159 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9160 * gdb.trace/mi-tsv-changed.exp: Likewise.
9161 * gdb.trace/packetlen.exp: Likewise.
9162 * gdb.trace/passc-dyn.exp: Likewise.
9163 * gdb.trace/passcount.exp: Likewise.
9164 * gdb.trace/pending.exp: Likewise.
9165 * gdb.trace/range-stepping.exp: Check for shlib support.
9166 * gdb.trace/report.exp: Check for arch support.
9167 * gdb.trace/save-trace.exp: Likewise.
9168 * gdb.trace/signal.exp: Check for signal support.
9169 * gdb.trace/tfind.exp: Check for arch support.
9170 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9171 * gdb.trace/trace-common.h: Add comment.
9172 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9173 * gdb.trace/trace-enable-disable.exp: Likewise.
9174 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9175 * gdb.trace/tracecmd.exp: Check for arch support.
9176 * gdb.trace/tspeed.exp: Check for shlib and target support.
9177 * gdb.trace/tstatus.exp: Check for arch support.
9178 * gdb.trace/tsv.exp: Likewise.
9179 * gdb.trace/while-dyn.exp: Likewise.
9180 * gdb.trace/while-stepping.exp: Likewise.
9181 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9182
f9c49bff
SM
91832018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9184
9185 * gdb.trace/tspeed.exp: Remove nowarnings.
9186 (prepare_for_trace_test): Declare "global ipalib".
9187 * gdb.trace/tspeed.c: Include unistd.h.
9188 (main): Remove superfluous printf argument.
9189
d4330bde
SL
91902018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9191
9192 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9193 directory prefix on the filename.
9194
8ecfd7bd
SDJ
91952018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9196
9197 * gdb.gdb/unittest.exp: Update expected message informing that
9198 selftests have been disabled.
9199 * gdb.server/unittest.exp: Likewise.
9200
58bbcd02
TV
92012018-10-09 Tom de Vries <tdevries@suse.de>
9202
9203 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9204 with runto_main.
9205
9f6b697b
WP
92062018-10-08 Weimin Pan <weimin.pan@oracle.com>
9207
9208 PR c++/16841
9209 * gdb.cp/virtbase2.cc: New file.
9210 * gdb.cp/virtbase2.exp: New file.
9211
add5ded5
TT
92122018-10-06 Tom Tromey <tom@tromey.com>
9213
9214 PR python/19399:
9215 * gdb.python/py-inferior.exp: Add architecture test.
9216
f9e48344
TT
92172018-10-06 Tom Tromey <tom@tromey.com>
9218
9219 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9220 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9221
2a8be203
TT
92222018-10-06 Tom Tromey <tom@tromey.com>
9223
9224 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9225 of a "throw" catchpoint.
9226
e04caa70
SDJ
92272018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9228
9229 * gdb.base/info-proc.exp: Update string expected from "help info
9230 proc".
9231
5ca8c39f
TT
92322018-10-04 Tom Tromey <tom@tromey.com>
9233
9234 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9235 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9236 (test_initial_complaints, test_empty_complaints): Update.
9237 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9238
3453e7e4
TT
92392018-10-04 Tom Tromey <tom@tromey.com>
9240
9241 PR cli/19551:
9242 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9243 * lib/gdb.exp (gdb_file_cmd): Update.
9244 * gdb.stabs/weird.exp (print_weird_var): Update.
9245 * gdb.server/solib-list.exp: Update.
9246 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9247 * gdb.mi/mi-cli.exp: Update.
9248 * gdb.linespec/linespec.exp: Update.
9249 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9250 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9251 * gdb.cp/cp-relocate.exp: Update.
9252 * gdb.base/sym-file.exp: Update.
9253 * gdb.base/relocate.exp: Update.
9254 * gdb.base/readnever.exp: Update.
9255 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9256 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9257 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9258 * gdb.base/code_elim.exp: Update.
9259 * gdb.base/break-unload-file.exp (test_break): Update.
9260 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9261 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9262 Update.
9263 * gdb.base/attach.exp (do_attach_tests): Update.
9264 * gdb.base/sepdebug.exp: Update.
9265 * gdb.python/py-section-script.exp: Update.
9266
6afcf761
TT
92672018-10-04 Tom Tromey <tom@tromey.com>
9268
9269 PR cli/22234:
9270 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9271 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9272 output.
9273
fef1b293
TT
92742018-10-04 Tom Tromey <tom@tromey.com>
9275
9276 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9277 set width and height to 0.
9278 (test_command_line_attach_run): Use -quiet.
9279
ca98345e
SL
92802018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9281
9282 * lib/gdb.exp (skip_ifunc_tests): New.
9283 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9284 other compile failures.
9285 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9286
ff34e6ae
SM
92872018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9288
9289 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9290 is_amd64_regs_target.
9291
6bb8890e
AH
92922018-10-01 Alan Hayward <alan.hayward@arm.com>
9293
9294 * gdb.arch/aarch64-sighandler-regs.c: New test.
9295 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9296 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9297
224d30d3
MM
92982018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9299
9300 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9301 assembly.
9302
f67ffa6a
AB
93032018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9304
9305 * gdb.base/frame-selection.exp: New file.
9306 * gdb.base/frame-selection.c: New file.
9307
9fc3183f
AH
93082018-09-27 Alan Hayward <alan.hayward@arm.com>
9309
9310 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9311 pthread barrier.
9312 (main): Likewise.
9313
d354055e
AB
93142018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9315
9316 * gdb.base/large-frame-1.c: New file.
9317 * gdb.base/large-frame-2.c: New file.
9318 * gdb.base/large-frame.exp: New file.
9319 * gdb.base/large-frame.h: New file.
9320
db727370
JL
93212018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9322
9323 PR gdb/20948
9324 * gdb.base/write_mem.exp: New test.
9325 * gdb.base/write_mem.c: Likewise.
9326
ae778caf
TT
93272018-09-23 Tom Tromey <tom@tromey.com>
9328
9329 PR python/18852:
9330 * gdb.python/py-parameter.exp: Add test for parameter that throws
9331 on "set".
9332
fd3ba736
TT
93332018-09-23 Tom Tromey <tom@tromey.com>
9334
9335 PR python/17284:
9336 * gdb.python/py-template.exp (test_template_arg): Add test for
9337 negative template argument number.
9338
39a24317
TT
93392018-09-23 Tom Tromey <tom@tromey.com>
9340
9341 PR python/14062:
9342 * gdb.python/python.exp: Add test for post_event error.
9343
f5769a2c
TT
93442018-09-23 Tom Tromey <tom@tromey.com>
9345
9346 PR python/18170:
9347 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9348 convert pointers to int and long.
9349
1c1e54f6
TT
93502018-09-23 Tom Tromey <tom@tromey.com>
9351
9352 PR python/20126:
9353 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9354 signed-ness conversion tests.
9355
fb4fa946
TT
93562018-09-23 Tom Tromey <tom@tromey.com>
9357
9358 PR python/18352;
9359 * gdb.python/py-value.exp (test_float_conversion): New proc.
9360 Use it.
9361
a466edac
HAQ
93622018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9363
9364 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9365
4ee9b0c5
SL
93662018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9367
9368 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9369 no readline.
9370 * gdb.base/utf8-identifiers.exp: Likewise.
9371 * gdb.cp/cpcompletion.exp: Likewise.
9372 * gdb.linespec/cpcompletion.exp: Likewise.
9373 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9374 * gdb.linespec/cpls-ops.exp: Likewise.
9375
23be8da7
RB
93762018-09-19 Richard Bunt <richard.bunt@arm.com>
9377 Chris January <chris.january@arm.com>
9378
9379 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9380 * gdb.fortran/short-circuit-argument-list.exp: New file.
9381 * gdb.fortran/short-circuit-argument-list.f90: New test.
9382
5031d0ae
SDJ
93832018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9384
9385 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9386 "arch=" keyword when executing "-stack-list-frames".
9387
b4c0d1a4
SDJ
93882018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9389
9390 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9391 "arch=" keyword when executing "-stack-list-frames".
9392
7a6d2b45
SDJ
93932018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9394
9395 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9396 break ada".
9397
8588b356
SM
93982018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9399
9400 PR python/23669
9401 * gdb.python/python.exp: Test gdb.execute("show commands").
9402
65e65158
TT
94032018-09-16 Tom Tromey <tom@tromey.com>
9404
9405 * gdb.base/new-ui.exp (do_execution_tests): Update.
9406 * gdb.base/dbx.exp (test_breakpoints): Update.
9407
bf326452
AH
94082018-09-14 Alan Hayward <alan.hayward@arm.com>
9409
9410 * lib/gdb.exp (gdb_simple_compile): Add proc.
9411 (is_elf_target): Use gdb_simple_compile.
9412 (skip_altivec_tests): Likewise.
9413 (skip_vsx_tests): Likewise.
9414 (skip_tsx_tests): Likewise.
9415 (skip_btrace_tests): Likewise.
9416 (skip_btrace_pt_tests): Likewise.
9417 (gdb_can_simple_compile): Likewise.
9418 (gdb_has_argv0): Likewise.
9419 (gdb_target_symbol_prefix): Likewise.
9420 (target_supports_scheduler_locking): Likewise.
9421
2361b0fb
TT
94222018-09-13 Tom Tromey <tom@tromey.com>
9423
9424 * Makefile.in (TAGS): Recognize proc_with_prefix and
9425 gdb_caching_proc.
9426
0ae1a321
SM
94272018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9428
9429 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9430 method.
9431
a40bf0c2
SM
94322018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9433
9434 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9435 and a few other Inferior properties when the Inferior is no
9436 longer valid.
9437
4a3fe98f
TT
94382018-09-13 Tom Tromey <tom@tromey.com>
9439
9440 PR rust/23650:
9441 * gdb.rust/simple.exp: Add test for enum field access error.
9442
098b2108
TT
94432018-09-13 Tom Tromey <tom@tromey.com>
9444
9445 PR rust/23626:
9446 * gdb.rust/simple.rs (EmptyEnum): New type.
9447 (main): Use it.
9448 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9449
1256af7d
SM
94502018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9451
9452 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9453 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9454 * gdb.python/py-symtab.exp: Update test printing an objfile.
9455
4aa8e6c2
SM
94562018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9457
9458 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9459 object.
9460
c221b2f7
AH
94612018-09-12 Alan Hayward <alan.hayward@arm.com>
9462
9463 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9464 (support_complex_tests): Use gdb_can_simple_compile.
9465 (is_ilp32_target): Likewise.
9466 (is_lp64_target): Likewise.
9467 (is_64_target): Likewise.
9468 (is_amd64_regs_target): Likewise.
9469 (is_aarch32_target): Likewise.
9470 (gdb_int128_helper): Likewise.
9471
6f1107b5
JK
94722018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9473
9474 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9475
1f5d1570
JG
94762018-09-10 Jerome Guitton <guitton@adacore.com>
9477
9478 * gdb.ada/same_component_name: Add test for case of tagged record
9479 with variable-length fields.
9480
cc330e39
XR
94812018-09-10 Xavier Roirand <roirand@adacore.com>
9482
9483 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9484 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9485 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9486 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9487
b9c50e9a
XR
94882018-09-10 Xavier Roirand <roirand@adacore.com>
9489
9490 * gdb.ada/mi_string_access.exp: New testcase.
9491 * gdb.ada/mi_string_access/bar.adb: New file.
9492 * gdb.ada/mi_string_access/pck.adb: New file.
9493 * gdb.ada/mi_string_access/pck.asd: New file.
9494
2963898f
XR
94952018-09-10 Xavier Roirand <roirand@adacore.com>
9496
9497 * gdb.ada/mi_var_union.exp: New testcase.
9498 * gdb.ada/mi_var_union/bar.adb: New file.
9499 * gdb.ada/mi_var_union/pck.adb: New file.
9500 * gdb.ada/mi_var_union/pck.asd: New file.
9501
1aac008f
TT
95022018-09-08 Tom Tromey <tom@tromey.com>
9503
9504 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9505
332cf4c9
TT
95062018-09-08 Tom Tromey <tom@tromey.com>
9507
9508 PR python/16047:
9509 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9510 (register_pretty_printers): Register new printer.
9511 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9512 test.
9513 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9514 (an_int_type3): New global.
9515
424da6cf
JB
95162018-09-08 Joel Brobecker <brobecker@adacore.com>
9517
9518 * gdb.ada/expr_with_funcall: New testcase.
9519
2a62dfa9
JB
95202018-09-08 Joel Brobecker <brobecker@adacore.com>
9521
9522 * gdb.ada/packed_array_assign: New testcase.
9523
96b6697f
AB
95242018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9525
9526 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9527 names, and add test prefixes to make test names unique.
9528
e4a62c65
TV
95292018-09-05 Tom de Vries <tdevries@suse.de>
9530
9531 * gdb.dwarf2/varval.exp: Add test.
9532
dd083ee2
GB
95332018-09-04 Gary Benson <gbenson@redhat.com>
9534
9535 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9536 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9537
aef9346c
TT
95382018-08-31 Tom Tromey <tom@tromey.com>
9539
9540 * gdb.rust/simple.rs: Rename second variable "v".
9541
c67f2e15
AB
95422018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9543
9544 * gdb.base/funcargs.c (use_a): New function.
9545 (recurse): Call use_a.
9546
078a0207
KS
95472018-08-29 Keith Seitz <keiths@redhat.com>
9548
9549 * gdb.compile/compile-cplus-anonymous.cc: New file.
9550 * gdb.compile/compile-cplus-anonymous.exp: New file.
9551 * gdb.compile/compile-cplus-array-decay.cc: New file.
9552 * gdb.compile/compile-cplus-array-decay.exp: New file.
9553 * gdb.compile/compile-cplus-inherit.cc: New file.
9554 * gdb.compile/compile-cplus-inherit.exp: New file.
9555 * gdb.compile/compile-cplus-member.cc: New file.
9556 * gdb.compile/compile-cplus-member.exp: New file.
9557 * gdb.compile/compile-cplus-method.cc: New file.
9558 * gdb.compile/compile-cplus-method.exp: New file.
9559 * gdb.compile/compile-cplus-mod.c: "New" file.
9560 * gdb.compile/compile-cplus-namespace.cc: New file.
9561 * gdb.compile/compile-cplus-namespace.exp: New file.
9562 * gdb.compile/compile-cplus-nested.cc: New file.
9563 * gdb.compile/compile-cplus-nested.exp: New file.
9564 * gdb.compile/compile-cplus-print.c: "New" file.
9565 * gdb.compile/compile-cplus-print.exp: "New" file.
9566 * gdb.compile/compile-cplus-virtual.cc: New file.
9567 * gdb.compile/compile-cplus-virtual.exp: New file.
9568 * gdb.compile/compile-cplus.c: "New" file.
9569 * gdb.compile/compile-cplus.exp: "New" file.
9570 * lib/compile-support.exp: New file.
9571
b0f492b9
GB
95722018-08-16 Gary Benson <gbenson@redhat.com>
9573
9574 PR gdb/13000:
9575 * gdb.base/batch-exit-status.exp: New file.
9576 * gdb.base/batch-exit-status.good-commands: Likewise.
9577 * gdb.base/batch-exit-status.bad-commands: Likewise.
9578
36eb4c5f
AH
95792018-08-29 Alan Hayward <alan.hayward@arm.com>
9580
9581 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9582 (struct struct02): Likewise.
9583 (struct struct03): Likewise.
9584 (struct struct04): Likewise.
9585 (struct struct_01_01): New struct.
9586 (struct struct_01_02): Likewise.
9587 (struct struct_01_03): Likewise.
9588 (struct struct_01_04): Likewise.
9589 (struct struct_02_01): Likewise.
9590 (struct struct_02_02): Likewise.
9591 (struct struct_02_03): Likewise.
9592 (struct struct_02_04): Likewise.
9593 (struct struct_04_01): Likewise.
9594 (struct struct_04_02): Likewise.
9595 (struct struct_04_03): Likewise.
9596 (struct struct_04_04): Likewise.
9597 (struct struct_05_01): Likewise.
9598 (struct struct_05_02): Likewise.
9599 (struct struct_05_03): Likewise.
9600 (struct struct_05_04): Likewise.
9601 (cmp_struct01): Remove function.
9602 (cmp_struct02): Likewise.
9603 (cmp_struct03): Likewise.
9604 (cmp_struct04): Likewise.
9605 (cmp_struct_01_01): Add Function.
9606 (cmp_struct_01_02): Likewise.
9607 (cmp_struct_01_03): Likewise.
9608 (cmp_struct_01_04): Likewise.
9609 (cmp_struct_02_01): Likewise.
9610 (cmp_struct_02_02): Likewise.
9611 (cmp_struct_02_03): Likewise.
9612 (cmp_struct_02_04): Likewise.
9613 (cmp_struct_04_01): Likewise.
9614 (cmp_struct_04_02): Likewise.
9615 (cmp_struct_04_03): Likewise.
9616 (cmp_struct_04_04): Likewise.
9617 (cmp_struct_05_01): Likewise.
9618 (cmp_struct_05_02): Likewise.
9619 (cmp_struct_05_03): Likewise.
9620 (cmp_struct_05_04): Likewise.
9621 (call_all): Add new structs.
9622 * gdb.base/infcall-nested-structs.exp: Likewise.
9623
3bf9c013
JV
96242018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9625
9626 * gdb.python/py-framefilter-mi.exp: Update regexp to
9627 check for "arch" field in frame output.
9628
450d1e88
KB
96292018-08-23 Kevin Buettner <kevinb@redhat.com>
9630
9631 * gdb.dwarf2/dw2-ranges-func.c: New file.
9632 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9633
ae739fe7
SM
96342018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9635
9636 * gdb.base/term.exp: Compare terminal settings with values from
9637 the inferior.
9638 * gdb.base/term.c: Get and set terminal settings.
9639
6d52907e
JV
96402018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9641
9642 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9643 accommodate new "arch" field in frame output.
9644 * gdb.mi/mi-return.exp: Likewise.
9645 * gdb.mi/mi-stack.exp: Likewise.
9646 * gdb.mi/mi-syn-frame.exp: Likewise.
9647 * gdb.mi/user-selected-context-sync.exp: Likewise.
9648
be2d111a
MS
96492018-08-19 Michael Spang <spang@google.com>
9650
9651 PR gdb/11786
9652 * gdb.base/gcore-tls-pie.c: New file.
9653 * gdb.base/gcore-tls-pie.exp: New file.
9654
ae3a7c47
KB
96552018-08-18 Kevin Buettner <kevinb@redhat.com>
9656
9657 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9658 * gdb.dwarf2/varval.c: New file.
9659 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9660
2ecae92e
AH
96612018-08-17 Alan Hayward <alan.hayward@arm.com>
9662
9663 PR gdb/18931
9664 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9665
c1854f1d
KS
96662018-08-16 Keith Seitz <keiths@redhat.com>
9667
9668 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9669 tests expected to pass.
9670
26fb3983
JV
96712018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9672
9673 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9674 -data-disassemble -a.
9675 (test_disassembly_bogus_args): Likewise.
9676
67943c00
AB
96772018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9678
9679 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9680
5ff2bbae
AB
96812018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9682
9683 * gdb.base/vla-optimized-out.exp: Add new test.
9684
e5bbcd0f
AB
96852018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9686
9687 * gdb.base/vla-optimized-out-o3.exp: Delete.
9688 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9689 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9690 deleted tests.
9691
9d4a934c
AB
96922018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9693
9694 PR gdb/18050:
9695 * gdb.server/extended-remote-restart.c: New file.
9696 * gdb.server/extended-remote-restart.exp: New file.
9697
045cf012
SM
96982018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9699
9700 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9701 "set variable index = 42".
9702
87d6a7aa
SM
97032018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9704
9705 * boards/index-cache-gdb.exp: New file.
9706 * gdb.dwarf2/index-cache.exp: New file.
9707 * gdb.dwarf2/index-cache.c: New file.
9708 * gdb.base/maint.exp: Check if we are using the index cache.
9709
96d68bd4
RO
97102018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9711
9712 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9713 MAKEFLAGS.
9714
5a699617
RO
97152018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9716
9717 * dg-extract-results.sh: Move to toplevel contrib.
9718 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9719 * Makefile.in (check-parallel-racy): Likewise.
9720
5bd18990
AB
97212018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9722
9723 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9724 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9725 tests if the target supports scheduler locking.
9726
3fbbcf47
TV
97272018-08-04 Tom de Vries <tdevries@suse.de>
9728
9729 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9730
3e1d3d8c
TT
97312018-08-02 Tom Tromey <tom@tromey.com>
9732
9733 PR symtab/16842.
9734 * gdb.cp/temargs.exp: Test "info address" of a template
9735 parameter.
9736
5abe0f0c
JV
97372018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9738
9739 * gdb.python/py-mi-var-info-path-expression.c: New file.
9740 * gdb.python/py-mi-var-info-path-expression.py: New file.
9741 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9742
fb66cde8
SDJ
97432018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9744
9745 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9746 error after "cannot resolve name" string.
9747
c708f4d2
AB
97482018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9749
9750 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9751 started.
9752 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9753
37cc0cae
TV
97542018-07-28 Tom de Vries <tdevries@suse.de>
9755
9756 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9757
63b4ecf7
TV
97582018-07-26 Tom de Vries <tdevries@suse.de>
9759
9760 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9761
3c3bb058
AB
97622018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9763
9764 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9765 is visible.
9766
9e7f3bbb
TV
97672018-07-26 Tom de Vries <tdevries@suse.de>
9768
9769 PR breakpoints/23366
9770 * gdb.base/catch-follow-exec.c: New test.
9771 * gdb.base/catch-follow-exec.exp: New file.
9772
16f808ec
TV
97732018-07-25 Tom de Vries <tdevries@suse.de>
9774
9775 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9776 vla-optimized-out.c.
9777
d7154a8d
JV
97782018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9779
9780 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9781 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9782
232a0032
TV
97832018-07-20 Tom de Vries <tdevries@suse.de>
9784
9785 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9786 NOCLONE macro.
9787 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9788
fbb1d502
TV
97892018-07-19 Tom de Vries <tdevries@suse.de>
9790
9791 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9792 regular expression.
9793
42dc7699
TV
97942018-07-18 Tom de Vries <tdevries@suse.de>
9795
9796 * gdb.base/vla-optimized-out.c: New test.
9797 * gdb.base/vla-optimized-out.exp: New file.
9798
7f1f7e23
SDJ
97992018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9800
9801 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9802 message "No address associated with hostname" when gdbserver
9803 cannot resolve the hostname.
9804
5759ebb3
PW
98052018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9806
9807 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9808 Add some test prefixes to make tests unique.
9809
3606ccab
PW
98102018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9811
9812 * gdb.base/frameapply.c: New file.
9813 * gdb.base/frameapply.exp: New file.
9814
529c08b2
PW
98152018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9816
9817 * gdb.base/skip.exp: Update expected error message.
9818
c7ab0aef
SDJ
98192018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9820 Jan Kratochvil <jan.kratochvil@redhat.com>
9821 Paul Fertser <fercerpav@gmail.com>
9822 Tsutomu Seki <sekiriki@gmail.com>
9823
9824 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9825 parameter.
9826 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9827 by default.
9828 * boards/native-gdbserver.exp: Likewise.
9829 * gdb.server/run-without-local-binary.exp: Improve regexp used
9830 for detecting when a remote debugging connection succeeds.
9831 * gdb.server/server-connect.exp: New file.
9832 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9833 Do not prefix the port number with ":".
9834 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9835 support for detecting and using it. Add '$debughost_gdbserver'
9836 to the list of arguments used to start gdbserver. Handle case
9837 when gdbserver cannot resolve a network name.
9838
16ff70dd
SDJ
98392018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9840
9841 PR c++/23373
9842 * gdb.base/ptype-offsets.cc (struct static_member): New
9843 struct.
9844 (main) <stmember>: New variable.
9845 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9846 with a static member in it.
9847
3541979f
AB
98482018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9849
9850 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9851 watchpoints enabled and disabled.
9852
c8ad9b9a
AB
98532018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9854
9855 * gdb.base/examine-backward.exp: Still run tests around address
9856 0x0, even if address 0x0 is not readable. Update the pattern for
9857 matching address 0x0 in expected output.
9858
e0e5e971
AB
98592018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9860
9861 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9862 malloc/free.
9863
1ea5da02
TV
98642018-07-04 Tom de Vries <tdevries@suse.de>
9865
9866 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9867
471b9d15
MR
98682018-07-02 Maciej W. Rozycki <macro@mips.com>
9869
9870 PR tdep/8282
9871 * gdb.arch/mips-disassembler-options.exp: New test.
9872 * gdb.arch/mips-disassembler-options.s: New test source.
9873
75acb486
PA
98742018-06-29 Pedro Alves <palves@redhat.com>
9875
9876 * gdb.threads/names.exp: Adjust expected "info threads" output.
9877
cd2bb709
PA
98782018-06-29 Pedro Alves <palves@redhat.com>
9879
9880 * gdb.opt/inline-break.exp (line number, address): Add "info
9881 break" tests.
9882
991ff292
PA
98832018-06-29 Pedro Alves <palves@redhat.com>
9884
9885 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9886 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9887 number and address and running to them.
9888
356819b6 98892018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9890
9891 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9892
2512d7ef
JK
98932018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9894
9895 * lib/compiler.c: Remove executable permission flag.
9896
be1b6474
RB
98972018-06-28 Richard Bunt <richard.bunt@arm.com>
9898
9899 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9900 code.
9901 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9902
291f9a96
PT
99032018-06-28 Petr Tesarik <ptesarik@suse.cz>
9904
9905 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9906
ed6dfe51
PT
99072018-06-28 Petr Tesarik <ptesarik@suse.cz>
9908
9909 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9910 address argument is omitted.
9911
d4d429d5
PT
99122018-06-28 Petr Tesarik <ptesarik@suse.cz>
9913
9914 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9915
7ab6656f
OJ
99162018-06-27 Omair Javaid <omair.javaid@linaro.org>
9917
9918 PR gdb/21695
9919 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9920 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9921
a33ccfc7
TT
99222018-06-26 Tom Tromey <tom@tromey.com>
9923
9924 PR rust/22574:
9925 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9926 * gdb.rust/simple.rs (struct SimpleLayout): New.
9927
6d72d289
SM
99282018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9929
9930 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9931 "info registers" output.
9932
8363f9d5
RB
99332018-06-21 Richard Bunt <richard.bunt@arm.com>
9934
9935 * gdb.base/watchpoint-hw-attach.c: New test.
9936 * gdb.base/watchpoint-hw-attach.exp: New file.
9937
f00674fe
SM
99382018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9939
9940 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9941 through /bin/sh.
9942 * boards/dwarf4-gdb-index.exp: Likewise.
9943 * boards/fission-dwp.exp: Likewise.
9944
1d554008
UW
99452018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9946
9947 * gdb.base/float128.exp: Add comment and improved fail message
9948 to the failure case of "print large128" test.
9949
d0ac1c44
SM
99502018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9951
9952 * configure.ac: Remove AC_PREREQ.
9953 * configure: Re-generate.
9954
61b04dd0
PA
99552018-06-19 Pedro Alves <palves@redhat.com>
9956
9957 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9958 (func_extern_caller): New.
9959 (main): Call func_extern_caller.
9960 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9961 logic change.
9962
f63b508a
SM
99632018-06-18 Weimin Pan <weimin.pan@oracle.com>
9964
9965 PR gdb/16841
9966 * gdb.cp/typedef-base.cc: New file.
9967 * gdb.cp/typedef-base.exp: New file.
9968
0fe3a558
TV
99692018-06-18 Tom de Vries <tdevries@suse.de>
9970
9971 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9972
7010835a
AB
99732018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9974 Richard Bunt <Richard.Bunt@arm.com>
9975
9976 * gdb.threads/attach-slow-waitpid.c: New file.
9977 * gdb.threads/attach-slow-waitpid.exp: New file.
9978 * gdb.threads/slow-waitpid.c: New file.
9979
14897d65
PA
99802018-06-14 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/fork-running-state.c: Include <errno.h>.
9983 (exit_if_relative_exits): New.
9984 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9985 exits.
9986 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9987 child exits.
9988
5d9a0608
TV
99892018-06-14 Tom de Vries <tdevries@suse.de>
9990
9991 PR cli/22573
9992 * gdb.base/finish-pretty.c: New test.
9993 * gdb.base/finish-pretty.exp: New file.
9994
11ae5818
PA
99952018-06-14 Pedro Alves <palves@redhat.com>
9996
9997 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9998 gdb's expected startup output.
9999
1d39de44
PA
100002018-06-14 Pedro Alves <palves@redhat.com>
10001
10002 * lib/selftest-support.exp (selftest_setup): Remove inlined
10003 function handling.
10004
70ee0000
TV
100052018-06-14 Tom de Vries <tdevries@suse.de>
10006
10007 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10008 matching of breakpoint printing.
10009
11f4b608
TV
100102018-06-13 Tom de Vries <tdevries@suse.de>
10011
10012 PR testsuite/23269
10013 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10014 (fork_child): ... here, and ...
10015 (fork_parent): ... here.
10016
100172018-06-12 Tom de Vries <tdevries@suse.de>
10018
10019 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10020
9516f85a
AB
100212018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10022 Stephen Roberts <stephen.roberts@arm.com>
10023
10024 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10025 rewrite test to describe action performed, rather than possible
10026 failure.
10027
5045b3d7
GB
100282018-06-08 Gary Benson <gbenson@redhat.com>
10029
10030 * gdb.threads/check-libthread-db.exp: New file.
10031 * gdb.threads/check-libthread-db.c: Likewise.
10032
c61b06a1
TT
100332018-06-05 Tom Tromey <tom@tromey.com>
10034
10035 * gdb.base/default.exp: Update expected "show version" output.
10036
eb6af809
TT
100372018-06-05 Tom Tromey <tom@tromey.com>
10038
10039 PR cli/12326:
10040 * gdb.cp/static-print-quit.exp: Update.
10041 * lib/gdb.exp (pagination_prompt): Update.
10042 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10043 * gdb.python/python.exp: Update.
10044
178d6a63
JB
100452018-06-04 Joel Brobecker <brobecker@adacore.com>
10046
10047 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10048
8e817061
JB
100492018-06-01 Joel Brobecker <brobecker@adacore.com>
10050
10051 * gdb.ada/bp_fun_addr: New testcase.
10052
e86ca25f
TT
100532018-06-01 Tom Tromey <tom@tromey.com>
10054
10055 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10056 results.
10057 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10058 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10059 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10060 * gdb.base/maint.exp (maint_pass_if): Update.
10061
4b2dfa9d
MR
100622018-05-31 Maciej W. Rozycki <macro@mips.com>
10063
10064 * gdb.base/endian.exp: New test.
10065 * gdb.base/endian.c: New test source.
10066
45f25d6c
AB
100672018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10068
10069 PR gdb/23203
10070 * gdb.base/bt-selected-frame.c: New file.
10071 * gdb.base/bt-selected-frame.exp: New file.
10072 * lib/gdb.exp (get_current_frame_number): New function.
10073
d9f6d7f8
MR
100742018-05-24 Maciej W. Rozycki <macro@mips.com>
10075 Pedro Alves <palves@redhat.com>
10076
10077 * gdb.threads/tls-core.c: Include <stdlib.h>
10078 (thread_proc): Call `abort'.
10079 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10080 (tls_core_test): New procedure, bits factored out from ...
10081 (top level): ... here. Test both native cores and gcore cores.
10082
ff1cf532
TT
100832018-05-23 Tom Tromey <tom@tromey.com>
10084
10085 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10086
b98664d3
TT
100872018-05-23 Tom Tromey <tom@tromey.com>
10088
10089 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10090 symfile_complaints.
10091 (test_short_complaints): Likewise.
10092 (test_empty_complaints): Likewise.
10093 (test_initial_complaints): Update.
10094
4e9668d0
TT
100952018-05-23 Tom Tromey <tom@tromey.com>
10096
10097 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10098
43ba33c7
TT
100992018-05-23 Tom Tromey <tom@tromey.com>
10100
10101 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10102 (test_short_complaints): Update.
10103
035522c0
PA
101042018-05-22 Pedro Alves <palves@redhat.com>
10105
10106 * gdb.base/remote.exp: Only gdb_start after compiling the
10107 testcase. Issue "disconnect" before testing "set remote" command
10108 defaults. Issue clean_restart before running to main.
10109
cc0be08f
PA
101102018-05-22 Pedro Alves <palves@redhat.com>
10111
10112 * gdb.base/remote.exp: Adjust expected output of "show remote
10113 memory-write-packet-size". Add tests for "set remote
10114 memory-write-packet-size 0" and "set remote
10115 memory-write-packet-size fixed/limit".
10116
b1b60145
PA
101172018-05-22 Pedro Alves <palves@redhat.com>
10118
10119 PR gdb/22973
10120 * gdb.base/utf8-identifiers.c: New file.
10121 * gdb.base/utf8-identifiers.exp: New file.
10122
0ec848ad
PFC
101232018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10124
10125 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10126
2c3305f6
PFC
101272018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10128
10129 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10130
ce1e8424
TT
101312018-05-18 Tom Tromey <tom@tromey.com>
10132
10133 * gdb.base/ptype-offsets.exp: Update.
10134
ddfe970e
KS
101352018-05-17 Keith Seitz <keiths@redhat.com>
10136
10137 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10138 in expected breakpoint stop locations.
10139 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10140 move to proper scope to test variable values.
10141 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10142 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10143 New functions.
10144 (main): Call not_inline_func3.
10145 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10146 inline_func1, inline_func2, and inline_func3. Test that when each
10147 breakpoint is hit, GDB properly reports both the stop location
10148 and the backtrace. Repeat tests for temporary breakpoints.
10149
0726fcc6
MR
101502018-05-15 Maciej W. Rozycki <macro@mips.com>
10151
10152 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10153 rather then trying to access it in determining whether the PID
10154 of `gdbserver' could have been retrieved.
10155
8ee22052
AB
101562018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10157
10158 * gdb.arch/amd64-init-x87-values.S: New file.
10159 * gdb.arch/amd64-init-x87-values.exp: New file.
10160
7785df48
JK
101612018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10162
10163 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10164
56bcdbea
TT
101652018-05-04 Tom Tromey <tom@tromey.com>
10166
10167 PR python/22730:
10168 * gdb.python/python.exp: Test multi-line execute.
10169
a913fffb
TT
101702018-05-04 Tom Tromey <tom@tromey.com>
10171
10172 PR python/22731:
10173 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10174
7a2c85f2
TT
101752018-05-04 Tom Tromey <tom@tromey.com>
10176
10177 PR gdb/11750:
10178 * gdb.base/define.exp: Test defining a user command inside a user
10179 command.
10180 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10181
a3b60e45
JK
101822018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10183 Pedro Alves <palves@redhat.com>
10184
10185 PR breakpoints/19806 and support for PR external/20207.
10186 * gdb.base/watchpoint-unaligned.c: New file.
10187 * gdb.base/watchpoint-unaligned.exp: New file.
10188
45fe4a03
AB
101892018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10190
10191 * gdb.base/maint.exp: Make test names unique, use
10192 test_prefix_command_help to test 'help maint info', and remove
10193 repeated test of 'help maint'.
10194
9be2ae8f
TT
101952018-05-04 Tom Tromey <tom@tromey.com>
10196
10197 PR gdb/22619:
10198 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10199 behavior.
10200
11859c31
AB
102012018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10202
10203 * gdb.base/maint.exp: Process output from 'maint print registers'
10204 line at a time.
10205
089a9490
AB
102062018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10207
10208 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10209 timeout.
10210
9b0797e2
AB
102112018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10212
10213 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10214 filter pattern.
10215
f6ac5f3d
PA
102162018-05-02 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10219 to_log_command renames.
10220 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10221
77d3c63b
TT
102222018-05-02 Tom Tromey <tom@tromey.com>
10223
10224 * gdb.python/py-parameter.exp: Set test message.
10225
0489430a
TT
102262018-05-02 Tom Tromey <tom@tromey.com>
10227
10228 PR python/20084:
10229 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10230 PARAM_ZUINTEGER_UNLIMITED tests.
10231
1632f8ba
DR
102322018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10233
10234 PR rust/23124
10235 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10236 when casting.
10237
6d7bb824
TT
102382018-04-30 Tom Tromey <tom@tromey.com>
10239
10240 * gdb.python/py-type.exp: Check align attribute.
10241 * gdb.python/py-type.c: New "aligncheck" global.
10242
007e1530
TT
102432018-04-30 Tom Tromey <tom@tromey.com>
10244
10245 PR exp/17095:
10246 * gdb.dwarf2/dw2-align.exp: New file.
10247 * gdb.cp/align.exp: New file.
10248 * gdb.base/align.exp: New file.
10249 * lib/gdb.exp (gdb_int128_helper): New proc.
10250 (has_int128_c, has_int128_cxx): New caching procs.
10251
6873858b
TT
102522018-04-27 Tom Tromey <tom@tromey.com>
10253
10254 PR rust/22545:
10255 * gdb.rust/simple.exp: Add inclusive range tests.
10256
79188d8d
PA
102572018-04-26 Pedro Alves <palves@redhat.com>
10258
10259 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10260 ifunc breakpoint locations correctly of ifunc breakpoints set
10261 while the program resolves the ifunc.
10262
c7075ad5
PA
102632018-04-26 Pedro Alves <palves@redhat.com>
10264
10265 * gdb.base/gnu-ifunc-final.c: New file.
10266 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10267 * gdb.base/gnu-ifunc.exp (executable): Delete.
10268 (staticexecutable): Adjust.
10269 (lib_opts, exec_opts): Delete.
10270 (make_binsuffix, build, set-break): New procedures.
10271 (misc_tests): New, with tests factored out from the top level.
10272 (top level): Test different combinations of ifunc resolver name,
10273 resolver with and with debug info, and ifunc target with and
10274 without debug info. Wrap static tests with with_target_prefix.
10275
8388016d
PA
102762018-04-26 Pedro Alves <palves@redhat.com>
10277
10278 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10279 return type" warnings.
10280
249b5733
PA
102812018-04-25 Pedro Alves <palves@redhat.com>
10282
10283 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10284 killed".
10285 * gdb.base/kill-after-signal.exp: Likewise.
10286 * gdb.threads/kill.exp: Likewise.
10287
f67c0c91
SDJ
102882018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10289 Sergio Durigan Junior <sergiodj@redhat.com>
10290 Pedro Alves <palves@redhat.com>
10291
10292 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10293 regexps to expect for '[Inferior ... detached]' as well.
10294 * gdb.base/attach.exp: Likewise.
10295 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10296 "gdb_continue_to_end".
10297 (test_catch_syscall_with_wrong_args): Likewise.
10298 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10299 ']'. Don't set 'verbose' on.
10300 * gdb.base/foll-vfork.exp: Likewise.
10301 * gdb.base/fork-print-inferior-events.c: New file.
10302 * gdb.base/fork-print-inferior-events.exp: New file.
10303 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10304 '[Inferior ... has been killed]' message.
10305 * gdb.base/kill-after-signal.exp: Likewise.
10306 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10307 detach message.
10308 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10309 message.
10310 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10311 regexps to expect for '[Inferior ... detached]' as well.
10312 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10313
0a8ddac4
SM
103142018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10315
10316 PR gdb/23104
10317 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10318
701adfb0
PA
103192018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10320
10321 PR gdb/23095
10322 * gdb.base/break-probes.exp: Pass shlib_load to
10323 prepare_for_testing. Set normal_bp to r_debug_state if target is
10324 bsd.
10325
d27d16bf
RB
103262018-04-19 Richard Bunt <richard.bunt@arm.com>
10327
10328 * gdb.threads/multiple-successive-infcall.c: New test.
10329 * gdb.threads/multiple-successive-infcall.exp: New file.
10330
a037790e
TT
103312018-04-17 Tom Tromey <tom@tromey.com>
10332
10333 * gdb.rust/simple.rs (Union): New type.
10334 (main): New local "u".
10335 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10336
e3a91079
AA
103372018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10338
10339 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10340 number information in output of "whereis" command.
10341 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10342
b744723f
AA
103432018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10344
10345 * gdb.ada/info_types.exp: Adjust expected output to the line
10346 numbers now printed by "info var/func/type".
10347 * gdb.base/completion.exp: Likewise.
10348 * gdb.base/included.exp: Likewise.
10349 * gdb.cp/cp-relocate.exp: Likewise.
10350 * gdb.cp/cplusfuncs.exp: Likewise.
10351 * gdb.cp/namespace.exp: Likewise.
10352 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10353
4a4495d6
MM
103542018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10355
10356 * gdb.btrace/cpu.exp: New.
10357
1d509aa6
MM
103582018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10359
10360 * gdb.base/step-indirect-call-thunk.exp: New.
10361 * gdb.base/step-indirect-call-thunk.c: New.
10362 * gdb.reverse/step-indirect-call-thunk.exp: New.
10363 * gdb.reverse/step-indirect-call-thunk.c: New.
10364
6295b6da
SM
103652018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10366
10367 * gdb.base/pie-fork.c: New file.
10368 * gdb.base/pie-fork.exp: New file.
10369
50146e70
TT
103702018-04-11 Tom Tromey <tom@tromey.com>
10371
10372 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10373
f50d8a2e
PA
103742018-04-10 Pedro Alves <palves@redhat.com>
10375
10376 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10377 exits. Instead loop running forever.
10378 (fork_parent): Run forever too.
10379
a0be7a36
SM
103802018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10381
10382 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10383 mi_continue_to_line.
10384 * gdb.mi/mi-stack.c (callee4): Add comment.
10385
9b73db36
SM
103862018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10387
10388 * gdb.mi/mi-stack.exp: Fix indentation.
10389
c912f608
SM
103902018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10391
10392 PR gdb/22979
10393 * gdb.arch/amd64-osabi.exp: New file.
10394
26540402
SM
103952018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10396
10397 PR gdb/22980
10398 * gdb.base/osabi.exp: New file.
10399
121ad66c 104002018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10401
10402 * gdb.cp/static-typedef-print.exp: New file.
10403 * gdb.cp/static-typedef-print.cc: New file.
10404
3fcded8f
JB
104052018-03-27 Joel Brobecker <brobecker@adacore.com>
10406
10407 * gdb.ada/varsize_limit: New testcase.
10408
59cc4834
JB
104092018-03-27 Joel Brobecker <brobecker@adacore.com>
10410
10411 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10412
10413 * gdb.ada/notcplusplus: New testcase.
10414
10415 * gdb.base/c-linkage-name.c: New file.
10416 * gdb.base/c-linkage-name.exp: New testcase.
10417
4ca59a9f
TT
104182018-03-26 Tom Tromey <tom@tromey.com>
10419
10420 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10421 * gdb.python/py-framefilter.py (name_error): New global.
10422 (ErrorInName.function): Use name_error.
10423
978d6c75
TT
104242018-03-26 Tom Tromey <tom@tromey.com>
10425
10426 PR backtrace/15582:
10427 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10428
b7fee5a3
KS
104292018-03-23 Keith Seitz <keiths@redhat.com>
10430
10431 PR c++/22968
10432 * gdb.cp/subtypes.exp: New file.
10433 * gdb.cp/subtypes.h: New file.
10434 * gdb.cp/subtypes.cc: New file.
10435 * gdb.cp/subtypes-2.cc: New file.
10436
376be529
AB
104372018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10438
10439 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10440 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10441 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10442 -nostartfiles when compiling the test. Confirm that all registers
10443 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10444
066cfa98
AB
104452018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10446
10447 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10448 option, syntax was wrong anyway.
10449 * gdb.arch/arm-disp-step.exp: Likewise.
10450 * gdb.arch/sparc64-regs.exp: Likewise.
10451 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10452 option, syntax was wrong anyway, switch to use
10453 prepare_for_testing.
10454 * gdb.arch/i386-disp-step.exp: Likewise.
10455
079670b9
AA
104562018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10457
10458 * gdb.ada/exec_changed.exp: Replace "target_info exists
10459 use_gdb_stub" by "use_gdb_stub".
10460 * gdb.ada/start.exp: Likewise.
10461 * gdb.base/async-shell.exp: Likewise.
10462 * gdb.base/attach-pie-misread.exp: Likewise.
10463 * gdb.base/attach-wait-input.exp: Likewise.
10464 * gdb.base/break-entry.exp: Likewise.
10465 * gdb.base/break-interp.exp: Likewise.
10466 * gdb.base/dprintf-detach.exp: Likewise.
10467 * gdb.base/nostdlib.exp: Likewise.
10468 * gdb.base/solib-nodir.exp: Likewise.
10469 * gdb.base/statistics.exp: Likewise.
10470 * gdb.base/testenv.exp: Likewise.
10471 * gdb.mi/mi-exec-run.exp: Likewise.
10472 * gdb.mi/mi-start.exp: Likewise.
10473 * gdb.multi/dummy-frame-restore.exp: Likewise.
10474 * gdb.multi/multi-arch-exec.exp: Likewise.
10475 * gdb.multi/multi-arch.exp: Likewise.
10476 * gdb.multi/tids.exp: Likewise.
10477 * gdb.multi/watchpoint-multi.exp: Likewise.
10478 * gdb.python/py-events.exp: Likewise.
10479 * gdb.threads/attach-into-signal.exp: Likewise.
10480 * gdb.threads/attach-stopped.exp: Likewise.
10481 * gdb.threads/threadapply.exp: Likewise.
10482 * lib/selftest-support.exp: Likewise.
10483
26d6cec4
AA
104842018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10485
10486 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10487
4ee89e90
SR
104882018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10489
10490 * gdb.perf/template-breakpoints.cc: New file.
10491 * gdb.perf/template-breakpoints.exp: New file.
10492 * gdb.perf/template-breakpoints.py: New file.
10493
92630041
TT
104942018-03-19 Tom Tromey <tom@tromey.com>
10495
10496 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10497 y0.
10498 * gdb.rust/simple.exp: Test bare identifier form of struct
10499 initializer.
10500
76727919
TT
105012018-03-19 Tom Tromey <tom@tromey.com>
10502
10503 * gdb.gdb/observer.exp: Remove.
10504
194ed413
AA
105052018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10506
10507 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10508 "qualified" option when setting breakpoints.
10509 * gdb.trace/backtrace.exp: Likewise.
10510 * gdb.trace/circ.exp: Likewise.
10511 * gdb.trace/collection.exp: Likewise.
10512 * gdb.trace/disconnected-tracing.exp: Likewise.
10513 * gdb.trace/ftrace-lock.exp: Likewise.
10514 * gdb.trace/ftrace.exp: Likewise.
10515 * gdb.trace/infotrace.exp: Likewise.
10516 * gdb.trace/packetlen.exp: Likewise.
10517 * gdb.trace/passc-dyn.exp: Likewise.
10518 * gdb.trace/qtro.exp: Likewise.
10519 * gdb.trace/read-memory.exp: Likewise.
10520 * gdb.trace/report.exp: Likewise.
10521 * gdb.trace/signal.exp: Likewise.
10522 * gdb.trace/status-stop.exp: Likewise.
10523 * gdb.trace/strace.exp: Likewise.
10524 * gdb.trace/tfind.exp: Likewise.
10525 * gdb.trace/trace-break.exp: Likewise.
10526 * gdb.trace/trace-condition.exp: Likewise.
10527 * gdb.trace/trace-mt.exp: Likewise.
10528 * gdb.trace/tstatus.exp: Likewise.
10529 * gdb.trace/tsv.exp: Likewise.
10530 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10531 * gdb.trace/unavailable.exp: Likewise.
10532 * gdb.trace/while-dyn.exp: Likewise.
10533
8b067d2c
AA
105342018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10535
10536 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10537 that libinproctrace is copied to the target.
10538
3ae9ce5d
TT
105392018-03-14 Tom Tromey <tom@tromey.com>
10540
10541 PR cli/14977:
10542 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10543 a null pointer.
10544 * gdb.base/wchar.exp: Likewise.
10545
b8c2339b
TT
105462018-03-14 Tom Tromey <tom@tromey.com>
10547
10548 PR cli/19918:
10549 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10550 flag.
10551
4872dc46
SM
105522018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10553
10554 PR gdb/22841
10555 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10556 "target" to remote_exec.
10557
e4fe3756
SM
105582018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10559
10560 PR gdb/22841
10561 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10562 ${board}_upload): Remove.
10563
e95a97d4
AA
105642018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10565
10566 * gdb.cp/watch-cp.cc: New test.
10567 * gdb.cp/watch-cp.exp: New file.
10568
dbbb1059
AB
105692018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10570
10571 * gdb.base/infcall-nested-structs.exp: New file.
10572 * gdb.base/infcall-nested-structs.c: New file.
10573 * gdb.base/float.exp: Add riscv support.
10574
ecc054c0
TP
105752018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10576
10577 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10578 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10579
25e3c82c
SDJ
105802018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10581
10582 * gdb.server/abspath.exp: New file.
10583 * lib/gdb.exp (with_cwd): New procedure.
10584
3083294d
SM
105852018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10586
10587 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10588 use it.
10589 (gdb_is_target_remote_prompt): New proc.
10590 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10591 (gdb_is_target_native): Pass prompt parameter to
10592 gdb_is_target_1.
10593
3275ef47
SM
105942018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10595
10596 * gdb.base/load-command.c: New file.
10597 * gdb.base/load-command.exp: New file.
10598 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10599 (gdb_is_target_1): ...this, and generalize for other targets
10600 than just remote.
10601 (gdb_is_target_remote): Use gdb_is_target_1.
10602 (gdb_is_target_native): use gdb_is_target_1.
10603
6893c19a
TT
106042018-02-26 Tom Tromey <tom@tromey.com>
10605
10606 PR python/16497:
10607 * gdb.python/py-framefilter.exp: Update test.
10608
2ddeaf8a
TT
106092018-02-26 Tom Tromey <tom@tromey.com>
10610
10611 * gdb.dwarf2/variant.c: New file.
10612 * gdb.dwarf2/variant.exp: New file.
10613
c9317f21
TT
106142018-02-26 Tom Tromey <tom@tromey.com>
10615
10616 * gdb.rust/simple.exp: Accept more possible results in enum test.
10617
6f6d0c26
SM
106182018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10619
10620 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10621 parentheses.
10622
11b03145
MR
106232018-02-23 Maciej W. Rozycki <macro@mips.com>
10624
10625 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10626 name of a variable: $actual_linejj -> $actual_line.
10627
54a27fe5
JB
106282018-02-21 John Baldwin <jhb@FreeBSD.org>
10629
10630 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10631
de65820c
MM
106322018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10633
10634 * gdb.btrace/buffer-size.exp: Do not force BTS.
10635
980548fd
PA
106362018-02-14 Pedro Alves <palves@redhat.com>
10637
10638 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10639 getting a "Quit".
10640
c4e12631
MM
106412018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10642
10643 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10644 Fix test name.
10645
c2e0e465
SM
106462018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10647
10648 * gdb.cp/m-static.exp: Check type of optimized out static
10649 member.
10650
f7216783
AB
106512018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10652
10653 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10654 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10655
0625771b
LS
106562018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10657 Leszek Swirski <leszeks@google.com>
10658
10659 * gdb.python/py-prettyprint.c
10660 (struct to_string_returns_value_inner,
10661 struct to_string_returns_value_wrapper): New.
10662 (main): Add tsrvw variable.
10663 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10664 ToStringReturnsValueWrapper): New classes.
10665 (register_pretty_printers): Register new pretty-printers.
10666 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10667 recursive pretty printer.
10668 * gdb.python/py-mi.exp: Likewise.
10669
59498c30
LS
106702018-02-01 Leszek Swirski <leszeks@google.com>
10671
10672 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10673 functions with the same name as an include file are parsed
10674 correctly.
10675
d4d38844
YQ
106762018-02-01 Yao Qi <yao.qi@linaro.org>
10677
10678 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10679 "\[^\r\n\]*".
10680
07e5f5cf
NP
106812018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10682
10683 * gdb.arch/powerpc-prologue-frame.s: New file.
10684 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10685 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10686
929b5ad4
JB
106872018-01-31 Joel Brobecker <brobecker@adacore.com>
10688
10689 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10690
e671cd59
PA
106912018-01-30 Pedro Alves <palves@redhat.com>
10692
10693 PR gdb/13211
10694 * gdb.base/interrupt-daemon.c: New.
10695 * gdb.base/interrupt-daemon.exp: New.
10696 * gdb.multi/multi-term-settings.c: New.
10697 * gdb.multi/multi-term-settings.exp: New.
10698
fc413dc4
JB
106992018-01-30 Joel Brobecker <brobecker@adacore.com>
10700
10701 * gdb.base/break.exp: Save the location where the breakpoint
10702 on break.c:47 was actually inserted when debugging the version
10703 compiled at -O2 and use it in the expected output of the "info
10704 break" test performed soon after.
10705
5c319bb2
PA
107062018-01-22 Pedro Alves <palves@redhat.com>
10707 Sergio Durigan Junior <sergiodj@redhat.com>
10708
10709 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10710 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10711
a9e40818
JB
107122018-01-22 Joel Brobecker <brobecker@adacore.com>
10713
10714 * gdb.base/break-include.c, gdb.base/break-include.inc,
10715 gdb.base/break-include.exp: New files.
10716 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10717 line number now being the actual line number where the breakpoint
10718 was inserted.
10719 * gdb.mi/mi-break.exp: Likewise.
10720 * gdb.mi/mi-reverse.exp: Likewise.
10721 * gdb.mi/mi-simplerun.exp: Ditto.
10722
e707fc44
AB
107232018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10724
10725 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10726 varobj.
10727 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10728
ae451627
AB
107292018-01-21 Don Breazeal <donb@codesourcery.com>
10730 Andrew Burgess <andrew.burgess@embecosm.com>
10731
10732 * gdb.mi/basics.c: Add new global.
10733 * gdb.mi/mi-frame-regs.exp: New file.
10734 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10735 case.
10736
b1b189e0
AB
107372018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10738
10739 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10740 non-parameter, and on an unknown symbol.
10741
fcfcc376
TT
107422018-01-19 Tom Tromey <tom@tromey.com>
10743
10744 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10745 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10746
634c1c31
AA
107472018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10748
10749 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10750 setrlimit and chdir to int.
10751
d6ad07fd
AA
107522018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10753
10754 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10755 function.
10756 (my_tend): Likewise.
10757 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10758 rationale of avoiding FP- and vector instructions.
10759
adf8243b
RK
107602018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10761
10762 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10763 "info reg" with "\[ \t\]*".
10764 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10765 "\[ \t\]+".
10766 * gdb.arch/s390-multiarch.exp: Ditto.
10767 * gdb.base/pc-fp.exp: Ditto.
10768 * gdb.reverse/i386-precsave.exp: Ditto.
10769 * gdb.reverse/i386-reverse.exp: Ditto.
10770 * gdb.reverse/i387-env-reverse.exp: Ditto.
10771 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10772
dcc06925
AA
107732018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10774
10775 * lib/gdb.exp (gdb_compile): Re-enable use of
10776 universal_compile_options for languages other than Rust.
10777
25d4fd80
AA
107782018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10779
10780 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10781
ee7f689e 107822018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10783
10784 PR gdb/16577
10785 * gdb.base/solib-vanish.exp: New.
10786 * gdb.base/solib-vanish-main.c: New.
10787 * gdb.base/solib-vanish-lib1.c: New.
10788 * gdb.base/solib-vanish-lib2.c: New.
10789
d8447b6b
YQ
107902018-01-17 Yao Qi <yao.qi@linaro.org>
10791
10792 * gdb.compile/compile.exp: Match the address printed for
10793 frame in the output of command "bt".
10794
86d6a90c
TT
107952018-01-15 Tom Tromey <tom@tromey.com>
10796
10797 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10798 compute sp_reg.
10799
cbcdb1aa
AB
108002018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10801
10802 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10803 to prepare.
10804 (prepare): Return 0 on error, 1 on success.
10805
eea61984
PA
108062018-01-12 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.base/continue-after-aborted-step-over.c: New.
10809 * gdb.base/continue-after-aborted-step-over.exp: New.
10810
6181e9c2
SM
108112018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10812
10813 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10814 options when not creating an executable.
10815
3cada740
PA
108162018-01-11 Pedro Alves <palves@redhat.com>
10817
10818 PR remote/22597
10819 * gdb.server/stop-reply-no-thread.c: New file.
10820 * gdb.server/stop-reply-no-thread.exp: New file.
10821
c63d3e8d
PA
108222018-01-10 Pedro Alves <palves@redhat.com>
10823
10824 PR gdb/22670
10825 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10826 functions too. Test setting breakpoints and printing C functions
10827 with no debug info too.
10828 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10829
d4c2a405
PA
108302018-01-10 Pedro Alves <palves@redhat.com>
10831
10832 PR gdb/22670
10833 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10834 a fail.
10835
8825213e
PA
108362018-01-10 Pedro Alves <palves@redhat.com>
10837
10838 PR gdb/22670
10839 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10840
605fd3c6
YQ
108412018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10842
10843 * gdb.server/unittest.exp: Match the output in non-development
10844 mode.
10845
1e5ded6c
YQ
108462018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10847
10848 * gdb.gdb/unittest.exp: Match output in non-development mode.
10849
30066b0b
JB
108502018-01-08 Joel Brobecker <brobecker@adacore.com>
10851
10852 * gdb.ada/access_tagged_param.exp: Relax expected output
10853 for value of "ObjL" in "continue" to pck.inspect breakpoint
10854 test.
10855
04bafb1e
XR
108562018-01-08 Joel Brobecker <brobecker@adacore.com>
10857
9f86398b
JB
10858 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10859 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10860
e379cee6
PA
108612018-01-05 Pedro Alves <palves@redhat.com>
10862
10863 PR gdb/18653
10864 * gdb.base/libsegfault.exp: New.
10865
de63c46b
PA
108662018-01-05 Joel Brobecker <brobecker@adacore.com>
10867
10868 PR gdb/22670
10869 * gdb.ada/access_tagged_param.exp: New file.
10870 * gdb.ada/access_tagged_param/foo.adb: New file.
10871
f98fc17b
PA
108722018-01-05 Pedro Alves <palves@redhat.com>
10873
10874 PR gdb/22670
10875 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10876 exercise lower case too, and to exercise both full matching and
10877 wild matching.
10878
342f8240
JB
108792018-01-05 Joel Brobecker <brobecker@adacore.com>
10880
10881 * gdb.ada/rename_subscript_param: New testcase.
10882
7150d33c
JG
108832018-01-05 Jerome Guitton <guitton@adacore.com>
10884
10885 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10886
cc0e770c
JB
108872018-01-05 Joel Brobecker <brobecker@adacore.com>
10888
10889 * gdb.ada/convvar_comp: New testcase.
10890
672a41aa 108912018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10892
10893 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10894 (My_Table): New global variable.
10895 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10896
7365ec2f
JB
108972018-01-04 Joel Brobecker <brobecker@adacore.com>
10898
10899 PR gdb/22670
10900 * gdb.ada/maint_with_ada: New testcase.
10901
289483b6
JB
109022018-01-04 Joel Brobecker <brobecker@adacore.com>
10903
10904 PR gdb/22670
10905 * gdb.ada/bp_c_mixed_case: New testcase.
10906
344420da
JB
109072018-01-04 Joel Brobecker <brobecker@adacore.com>
10908
10909 PR gdb/22670
10910 * gdb.ada/complete.exp: Add "complete break ada" test.
10911
66fc87a0
JB
109122018-01-04 Joel Brobecker <brobecker@adacore.com>
10913
10914 PR gdb/22670
10915 * gdb.ada/info_addr_mixed_case: New testcase.
10916
9f757bf7
XR
109172018-01-03 Xavier Roirand <roirand@adacore.com>
10918
10919 * gdb.ada/excep_handle.exp: New testcase.
10920 * gdb.ada/excep_handle/foo.adb: New file.
10921 * gdb.ada/excep_handle/pck.ads: New file.
10922
bd570f80
JB
109232018-01-03 Joel Brobecker <brobecker@adacore.com>
10924
10925 * gdb.base/step-line.c: Add extra empty line in copyright header.
10926 * gdb.base/step-line.inp: Likewise.
10927
9fe561ab
JB
109282018-01-02 Joel Brobecker <brobecker@adacore.com>
10929
10930 * gdb.ada/dyn_stride.exp: Add slice test.
10931
a405673c
JB
109322018-01-02 Joel Brobecker <brobecker@adacore.com>
10933
10934 * gdb.ada/dyn_stride: New testcase.
10935
cef0f868
SH
109362017-12-27 Stafford Horne <shorne@gmail.com>
10937
10938 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10939 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10940
b67d92b0
SH
109412017-12-27 Stafford Horne <shorne@gmail.com>
10942
10943 * gdb.base/reggroups.c: New file.
10944 * gdb.base/reggroups.exp: New file.
10945
eccab96d
JB
109462017-12-18 Joel Brobecker <brobecker@adacore.com>
10947
10948 * gdb.dwarf2/ada-valprint-error.c: New file.
10949 * gdb.dwarf2/ada-valprint-error.exp: New file.
10950
0e2da9f0
JB
109512017-12-18 Joel Brobecker <brobecker@adacore.com>
10952
10953 * gdb.ada/assign_arr: New testcase.
10954
cb923fcc
XR
109552017-12-18 Xavier Roirand <roirand@adacore.com>
10956
10957 * gdb.ada/funcall_ptr: New testcase.
10958
7c161838
SDJ
109592017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10960
10961 PR cli/16224
10962 * gdb.base/ptype-offsets.cc: New file.
10963 * gdb.base/ptype-offsets.exp: New file.
10964
1af17fd9
YQ
109652017-12-15 Yao Qi <yao.qi@linaro.org>
10966
10967 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10968 if XML is disabled.
10969
828d5846
XR
109702017-12-15 Xavier Roirand <roirand@adacore.com>
10971
10972 * gdb.ada/same_component_name: New testcase.
10973
79e8fcaa
JB
109742017-12-14 Joel Brobecker <brobecker@adacore.com>
10975
10976 * gdb.ada/str_binop_equal: New testcase.
10977
e05fa6f9
JB
109782017-12-14 Joel Brobecker <brobecker@adacore.com>
10979
10980 * gdb.ada/task_switch_in_core: New testcase.
10981
b89641ba
SM
109822017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10983
10984 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10985 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10986 call test_bkpt_qualified.
10987 (test_bkpt_qualified): New proc.
10988
6892d2e4
PA
109892017-12-13 Pedro Alves <palves@redhat.com>
10990
10991 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10992 Tighten regexp by matching with an anchor.
10993
a22ecf70
PA
109942017-12-13 Pedro Alves <palves@redhat.com>
10995
10996 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10997 ("expression with namespace"): New set of tests.
10998 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10999 (Nested::Test_NS::qux): New.
11000 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11001 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11002
9937536c
JB
110032017-12-13 Joel Brobecker <brobecker@adacore.com>
11004
11005 * gdb.base/server-del-break.c: New file.
11006 * gdb.base/server-del-break.exp: New file.
11007
fe49c6f5
SH
110082017-12-12 Stafford Horne <shorne@gmail.com>
11009
11010 * gdb.xml/tdesc-regs.exp: Add or1k support.
11011
c3d18620
SH
110122017-12-12 Stafford Horne <shorne@gmail.com>
11013
11014 * gdb.base/bp-permanent.c: Define nop of or1k.
11015
c5f9cfc8
JB
110162017-12-11 Joel Brobecker <brobecker@adacore.com>
11017
11018 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11019 output with components being reordered.
11020
a9c135fc
JB
110212017-12-11 Joel Brobecker <brobecker@adacore.com>
11022
11023 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11024 output with components being reordered.
11025
927aa2e7
JK
110262017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11027 Pedro Alves <palves@redhat.com>
11028
11029 * gdb.base/maint.exp (check for .gdb_index): Check also for
11030 .debug_names.
11031 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11032 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11033 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11034 (.gdb_index used after symbol reloading): Support also .debug_names.
11035 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11036
f17d9474
YQ
110372017-12-08 Yao Qi <yao.qi@linaro.org>
11038
11039 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11040 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11041
a0de8c21
YQ
110422017-12-08 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11045 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11046
a738ea1d
YQ
110472017-12-08 Yao Qi <yao.qi@linaro.org>
11048
11049 * gdb.arch/aarch64-tagged-pointer.c: New file.
11050 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11051
1cd9a73b
SDJ
110522017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11053
11054 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11055 "int".
11056
fa6eb693
KS
110572017-12-07 Keith Seitz <keiths@redhat.com>
11058
11059 PR breakpoints/22569
11060 * gdb.linespec/ls-errs.exp: Change expected result of "break
11061 -source this file has spaces.c -line 3".
11062 Check that an explicit source file followed by whitespace is
11063 identified as an invalid explicit location.
11064
883fd55a
KS
110652017-12-07 Keith Seitz <keiths@redhat.com>
11066
11067 * gdb.cp/nested-types.cc: New file.
11068 * gdb.cp/nested-types.exp: New file.
11069 * lib/cp-support.exp: Load data-structures.exp library.
11070 (debug_cp_test_ptype_class): New global.
11071 (cp_ptype_class_verbose, next_line): New procedures.
11072 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11073 Add and document new return value.
11074 Switch the list of lines to a queue.
11075 Add support for new `type' key for nested type definitions.
11076 Add debugging/troubleshooting messages.
11077 * lib/data-structures.exp: New file.
11078
ec72db3e
SM
110792017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11080
11081 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11082 with proc_with_prefix, don't use with_test_prefix.
11083
99598d71
TT
110842017-12-07 Tom Tromey <tom@tromey.com>
11085
11086 * gdb.base/break.exp: Add test for empty "commands".
11087
a8806230
YQ
110882017-12-07 Yao Qi <yao.qi@linaro.org>
11089
11090 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11091 malloc and catch syscall.
11092
824cc835
PM
110932017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11094
e79be6e5 11095 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11096 tests for explicit locations.
11097
7cc244de
PA
110982017-12-06 Pedro Alves <palves@redhat.com>
11099
11100 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11101 force-disabling XML descriptions.
11102
50a1fdd5
PA
111032017-12-04 Pedro Alves <palves@redhat.com>
11104
11105 PR gdb/22499
11106 * gdb.arch/amd64-disp-step-avx.S: New file.
11107 * gdb.arch/amd64-disp-step-avx.exp: New file.
11108
f0fb2488
PA
111092017-12-03 Pedro Alves <palves@redhat.com>
11110
11111 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11112 and <string.h>.
11113 (parent_function): Print distinct messages when waitpid fails, or
11114 the child exits with a signal, or the child exits for an unhandled
11115 reason.
11116 * gdb.threads/process-dies-while-detaching.exp
11117 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11118 it. Wait for both inferior output and GDB's prompt. Use an
11119 indirect spawn id list.
11120 (do_detach): New parameter 'child_exit'. Use it to compute
11121 expected inferior output.
11122 (test_detach, test_detach_watch, test_detach_killed_outside):
11123 Adjust to pass down the expected child exit kind.
11124
97cbe998
SDJ
111252017-12-01 Joel Brobecker <brobecker@adacore.com>
11126 Sergio Durigan Junior <sergiodj@redhat.com>
11127 Pedro Alves <palves@redhat.com>
11128
11129 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11130
40fc416f
SDJ
111312017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11132
11133 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11134 to 'symbol-file' and 'add-symbol-file' can be
11135 position-independent.
11136
1cc75e92
YQ
111372017-12-01 Yao Qi <yao.qi@linaro.org>
11138
11139 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11140 the URL in copyright header.
11141 * gdb.arch/aarch64-fp.exp: Likewise.
11142 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11143 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11144 * gdb.base/expand-psymtabs.exp: Likewise.
11145 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11146 * gdb.fortran/common-block.exp: Likewise.
11147 * gdb.fortran/common-block.f90: Likewise.
11148 * gdb.fortran/logical.exp: Likewise.
11149 * gdb.fortran/vla-datatypes.f90: Likewise.
11150 * gdb.fortran/vla-sub.f90: Likewise.
11151
875fb7a7
JB
111522017-11-30 Joel Brobecker <brobecker@adacore.com>
11153
11154 * gdb.ada/repeat_dyn: New testcase.
11155
6f14765f
UW
111562017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11157
11158 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11159 Update for changed thread numbering.
11160 * gdb.cell/bt.exp: Update for changed GDB output.
11161
f1af7b94
SM
111622017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11163
11164 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11165 setting isremote by hand.
11166 * boards/dwarf4-gdb-index.exp: Likewise.
11167 * boards/fission.exp: Likewise.
11168 * boards/stabs.exp: Likewise.
11169
e3919f3e
PA
111702017-11-30 Pedro Alves <palves@redhat.com>
11171
11172 * gdb.linespec/cpls-ops.exp
11173 (check_explicit_skips_function_argument): Extract the underlying
11174 type of size_t instead of hardcoding it.
11175
bd69330d
PA
111762017-11-29 Pedro Alves <palves@redhat.com>
11177
11178 PR c++/19436
11179 * gdb.linespec/cpls-abi-tag.cc: New file.
11180 * gdb.linespec/cpls-abi-tag.exp: New file.
11181
a20714ff
PA
111822017-11-29 Pedro Alves <palves@redhat.com>
11183
11184 * gdb.base/langs.exp: Use -qualified.
11185 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11186 it.
11187 * gdb.cp/namespace.exp: Use -qualified.
11188 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11189 (overload-3, template-overload, template-ret-type, const-overload)
11190 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11191 procedures.
11192 (test_driver): Call them.
11193 * gdb.cp/save-bp-qualified.cc: New.
11194 * gdb.cp/save-bp-qualified.exp: New.
11195 * gdb.linespec/explicit.exp: Test -qualified.
11196 * lib/completion-support.exp (completion::explicit_opts_list): Add
11197 "-qualified".
11198 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11199
f6f1d339
PM
112002017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11201
11202 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11203
02ca603a
TT
112042017-11-29 Tom Tromey <tom@tromey.com>
11205
11206 * gdb.base/relocate.exp: Update invalid argument test.
11207 Add new tests for invalid arguments.
11208
ed6c0bfb
TP
112092017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11210
11211 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11212 Return 0 as a long.
11213 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11214
f106e10e
TP
112152017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11216
11217 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11218 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11219 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11220 func ().
11221 * gdb.cp/shadow.cc (B.func): Return 0.
11222
10329bb2
JB
112232017-11-27 Joel Brobecker <brobecker@adacore.com>
11224
11225 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11226 expected output in gdb_expect call to allow the exception
11227 message to be present as well. Fix syntax confusion to avoid
11228 TCL thinking that exception_name is an array.
11229
617cd4bc
UW
112302017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11231
11232 * gdb.arch/spu-info.c: Include <unistd.h>.
11233 (do_signal_test): Fix broken calls to write.
11234 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11235 Fix checks for empty mailboxes. Update signal tests for corrected
11236 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11237 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11238 * gdb.cell/arch.exp: Use standard_output_file.
11239 * gdb.cell/break.exp: Likewise.
11240 * gdb.cell/bt.exp: Likewise.
11241 * gdb.cell/core.exp: Likewise.
11242 * gdb.cell/dwarfaddr.exp: Likewise.
11243 * gdb.cell/ea-cache.exp: Likewise.
11244 * gdb.cell/ea-standalone.exp: Likewise.
11245 * gdb.cell/f-regs.exp: Likewise.
11246 * gdb.cell/fork.exp: Likewise.
11247 * gdb.cell/gcore.exp: Likewise.
11248 * gdb.cell/mem-access.exp: Likewise.
11249 * gdb.cell/ptype.exp: Likewise.
11250 * gdb.cell/registers.exp: Likewise.
11251 * gdb.cell/sizeof.exp: Likewise.
11252 * gdb.cell/solib-symbol.exp: Likewise.
11253 * gdb.cell/solib.exp: Likewise.
617cd4bc 11254
a81aaca0
PA
112552017-11-25 Pedro Alves <palves@redhat.com>
11256
11257 * gdb.base/complete-empty.exp: New file.
11258 * gdb.base/completion.exp: Adjust.
11259
6a3c6ee4
PA
112602017-11-25 Pedro Alves <palves@redhat.com>
11261
11262 * gdb.linespec/cpls-ops.cc: New file.
11263 * gdb.linespec/cpls-ops.exp: New file.
11264 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11265 factored out from ...
11266 (test_complete_prefix_range): ... this.
11267
8955eb2d
PA
112682017-11-24 Pedro Alves <palves@redhat.com>
11269
11270 * gdb.linespec/cpcompletion.exp: New file.
11271 * gdb.linespec/cpls-hyphen.cc: New file.
11272 * gdb.linespec/cpls.cc: New file.
11273 * gdb.linespec/cpls2.cc: New file.
11274 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11275 test to use test_gdb_complete_unique. Add label completion,
11276 keyword completion and explicit location completion tests.
11277 * lib/completion-support.exp: New file.
11278
e547c119
JB
112792017-11-24 Joel Brobecker <brobecker@adacore.com>
11280
11281 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11282 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11283 when hitting an exception catchpoint.
11284
7c3c1aa8
YQ
112852017-11-22 Yao Qi <yao.qi@linaro.org>
11286
11287 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11288
41bd68f5
SM
112892017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11290
11291 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11292 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11293 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11294
1daad298
YQ
112952017-11-22 Yao Qi <yao.qi@linaro.org>
11296
11297 * gdb.base/info-os.exp: Pass pthreads.
11298 * gdb.multi/multi-attach.exp: Likewise.
11299
88465e87
YQ
113002017-11-22 Yao Qi <yao.qi@linaro.org>
11301
11302 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11303 compiler.
11304
dc196b23
YQ
113052017-11-22 Yao Qi <yao.qi@linaro.org>
11306
11307 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11308 * gdb.base/break-interp.exp: Likewise.
11309 * gdb.base/jit-attach-pie.exp: Likewise.
11310
2400729e
UW
113112017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11312
11313 * gdb.base/float128.c (large128): New variable.
11314 * gdb.base/float128.exp: Add test to print largest __float128 value.
11315
7a26362d
UW
113162017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11317
11318 * gdb.arch/vsx-regs.exp: Update register content checks.
11319
ed0f4273
UW
113202017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11321
11322 * gdb.arch/ppc-longdouble.exp: New file.
11323 * gdb.arch/ppc-longdouble.c: Likewise.
11324
a25d69c6
PA
113252017-11-21 Pedro Alves <palves@redhat.com>
11326
11327 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11328
73fcf641
PA
113292017-11-20 Pedro Alves <palves@redhat.com>
11330
11331 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11332 (long_double_typedef): New typedefs.
11333 Use DEF on double and long double.
11334 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11335 cases.
11336 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11337 and 'long_double_ptr_same_size' locals. Use them to decide
11338 whether cast from array/function to float is valid/invalid.
11339
71a3c369
TT
113402017-11-17 Tom Tromey <tom@tromey.com>
11341
11342 * gdb.rust/traits.rs: New file.
11343 * gdb.rust/traits.exp: New file.
11344
ced9779b
JB
113452017-11-17 Joel Brobecker <brobecker@adacore.com>
11346
11347 * gdb.ada/minsyms: New testcase.
11348
a0922d80
PA
113492017-11-16 Pedro Alves <palves@redhat.com>
11350
11351 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11352 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11353
ea04e54c
PA
113542017-11-16 Pedro Alves <palves@redhat.com>
11355
11356 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11357 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11358
e849ea89
PA
113592017-11-16 Pedro Alves <palves@redhat.com>
11360
11361 * gdb.server/reconnect-ctrl-c.c: New file.
11362 * gdb.server/reconnect-ctrl-c.exp: New file.
11363
d8ae99a7
PM
113642017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11365
11366 * gdb.python/py-rbreak.exp: New file.
11367 * gdb.python/py-rbreak.c: New file.
11368 * gdb.python/py-rbreak-func2.c: New file.
11369
968a13f8
PA
113702017-11-16 Pedro Alves <palves@redhat.com>
11371
11372 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11373 pattern.
11374 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11375 GDB.
11376
71774bc9
SM
113772017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11378
11379 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11380 regex.
11381
ddbb44cf
SM
113822017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11383
11384 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11385 test names.
11386
584a564f
PA
113872017-11-09 Pedro Alves <palves@redhat.com>
11388
11389 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11390 factored out from ...
11391 (top level): ... here, and adjusted to avoid expecting beyond the
11392 prompt in a single gdb_test_multiple.
11393
5ed7a928
PA
113942017-11-09 Pedro Alves <palves@redhat.com>
11395
11396 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11397 output.
11398 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11399 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11400 * gdb.server/ext-run.exp ("kill" test): Likewise.
11401 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11402
a60e0738
PA
114032017-11-09 Pedro Alves <palves@redhat.com>
11404
11405 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11406 match till end of line.
11407
2c88253f
PA
114082017-11-09 Pedro Alves <palves@redhat.com>
11409
11410 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11411
c7a38517
PA
114122017-11-09 Pedro Alves <palves@redhat.com>
11413
11414 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11415 New procedures, factored out from ...
11416 (top level): ... here, and adjusted to avoid expecting beyond the
11417 prompt in one go.
11418
f29f4b6b
PA
114192017-11-09 Pedro Alves <palves@redhat.com>
11420
11421 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11422 output. Fix '?' match.
11423
286acbb5
JB
114242017-11-08 Joel Brobecker <brobecker@adacore.com>
11425
11426 * gdb.ada/scoped_watch: New testcase.
11427 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11428 which is actually correct.
11429 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11430 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11431
62d7ae92
PA
114322017-11-08 Pedro Alves <palves@redhat.com>
11433
11434 * gdb.gdb/complaints.exp (test_initial_complaints)
11435 (test_serial_complaints, test_short_complaints): Call
11436 complaint_internal instead of complaint.
11437
280ca31f
DT
114382017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11439
11440 * gdb.threads/tls-core.c: New file.
11441 * gdb.threads/tls-core.exp: Likewise.
11442
b5ec771e
PA
114432017-11-08 Pedro Alves <palves@redhat.com>
11444
11445 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11446 (p Exported_Capitalized): New test.
11447 (p exported_capitalized): New test.
11448
a02b41a7
PA
114492017-11-07 Pedro Alves <palves@redhat.com>
11450
11451 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11452
95e95a6d
PA
114532017-11-07 Pedro Alves <palves@redhat.com>
11454
11455 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11456 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11457 (disable_invalid, disable_inverted, disable_negative): New
11458 procedures.
11459 ("bad numbers"): New set of tests.
11460
cee62dbd
PA
114612017-11-07 Pedro Alves <palves@redhat.com>
11462
11463 * gdb.cp/ena-dis-br-range.exp: Add tests.
11464
cc638e86
PA
114652017-11-07 Pedro Alves <palves@redhat.com>
11466
11467 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11468
d0fe4701
XR
114692017-11-07 Xavier Roirand <roirand@adacore.com>
11470 Pedro Alves <palves@redhat.com>
11471
11472 * gdb.base/ena-dis-br.exp: Add reference to
11473 gdb.cp/ena-dis-br-range.exp.
11474 * gdb.cp/ena-dis-br-range.exp: New file.
11475 * gdb.cp/ena-dis-br-range.cc: New file.
11476
46f67f80
PA
114772017-11-06 Pedro Alves <palves@redhat.com>
11478
11479 * gdb.base/attach-non-pgrp-leader.c: New.
11480 * gdb.base/attach-non-pgrp-leader.exp: New.
11481
726e1356
PA
114822017-11-06 Pedro Alves <palves@redhat.com>
11483
11484 * configure.ac: No longer check for termio.h and sgtty.h.
11485 * configure: Regenerate.
11486 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11487 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11488 Remove termio and sgtty code.
11489
50ab6ace
YQ
114902017-11-03 Yao Qi <yao.qi@linaro.org>
11491
11492 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11493 in GDB is disabled.
11494
8e68731c
YQ
114952017-11-03 Yao Qi <yao.qi@linaro.org>
11496
11497 * gdb.python/py-thrhandle.exp: Skip it if python is not
11498 enabled.
11499
3a87ae65
SM
115002017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11501
11502 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11503 as a breakpoint command.
11504
484d8d36
MD
115052017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11506
11507 PR python/21213
11508 * gdb.python/py-infthread.exp: Test calling
11509 InferiorThread.inferior () multiple times in a row.
11510
4a27f119
KS
115112017-10-27 Keith Seitz <keiths@redhat.com>
11512
11513 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11514 Test "info break" for every inlined function breakpoint.
11515
bb11dd58
YQ
115162017-10-27 Yao Qi <yao.qi@linaro.org>
11517
11518 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11519
a43f3893
PF
115202017-10-26 Patrick Frants <osscontribute@gmail.com>
11521
11522 * gdb.cp/classes.exp (test_static_members): Test printing
11523 Outer::instance.
11524 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11525 (Inner::instance, Outer::instance): New.
11526
792ccf00
PA
115272017-10-24 Pedro Alves <palves@redhat.com>
11528
11529 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11530 extra console" test in two stages.
11531
eb2bfbad
PA
115322017-10-24 Pedro Alves <palves@redhat.com>
11533
11534 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11535
1f75a651
PA
115362017-10-24 Pedro Alves <palves@redhat.com>
11537
11538 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11539 loop.
11540
779990d9
PA
115412017-10-24 Pedro Alves <palves@redhat.com>
11542
11543 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11544 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11545
ad9b8f5d
PA
115462017-10-24 Pedro Alves <palves@redhat.com>
11547
11548 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11549 parameter and handle it. Don't output read value in test name.
11550
fee6da6e
PA
115512017-10-24 Pedro Alves <palves@redhat.com>
11552
11553 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11554 custom test name.
11555
10389c2c
PA
115562017-10-24 Pedro Alves <palves@redhat.com>
11557
11558 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11559 include the unstable output directory name in the test's name.
11560 (initial_setup_simple) <'set args'>: Use custom test name.
11561
a80e65a9
PA
115622017-10-24 Pedro Alves <palves@redhat.com>
11563
11564 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11565 with explicit test name.
11566
15763a09
PA
115672017-10-20 Pedro Alves <palves@redhat.com>
11568
11569 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11570 'wait -i'. Use gdb_assert and remote_close.
11571
49a4ce2e
AB
115722017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11573
11574 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11575 number from variable rather than hard-coded.
11576
a75868f5
PA
115772017-10-19 Pedro Alves <palves@redhat.com>
11578
11579 * gdb.base/long-inferior-output.c: New file.
11580 * gdb.base/long-inferior-output.exp: New file.
11581
c8ba13ad
KS
115822017-11-18 Keith Seitz <keiths@redhat.com>
11583
11584 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11585 method.
11586 (main): Call it.
11587 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11588 Add additional user-defined conversion operator tests.
11589
b27de576
PA
115902017-10-17 Pedro Alves <palves@redhat.com>
11591
11592 * boards/native-stdio-gdbserver.exp: Load "local-board".
11593
8484c955
PA
115942017-10-17 Pedro Alves <palves@redhat.com>
11595
11596 * gdb.base/quit-live.c: New file.
11597 * gdb.base/quit-live.exp: New file.
11598
83d5a34d
KS
115992017-10-16 Keith Seitz <keiths@redhat.com>
11600
11601 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11602 (class_with_protected_typedef, class_with_private_typedef)
11603 (struct_with_public_typedef, struct_with_protected_typedef)
11604 (struct_with_private_typedef): New classes/structs.
11605 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11606 typedefs and access specifiers.
11607
739b3f1d
PA
116082017-10-16 Pedro Alves <palves@redhat.com>
11609 Simon Marchi <simon.marchi@polymtl.ca>
11610
11611 * README (Local vs Remote vs Native): New section.
11612 * boards/local-board.exp: New file, with bits factored out from
11613 ...
11614 * boards/native-extended-gdbserver.exp: ... here. Load
11615 "local-board".
11616 * boards/native-gdbserver.exp: Load "local-board".
11617 (${board}_spawn, ${board}_exec): Delete.
11618 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11619 ...
11620 * boards/stdio-gdbserver-base.exp: ... this new file.
11621 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11622 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11623 procedure.
11624 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11625 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11626 stdio_gdbserver_command.
11627 (${board}_get_remote_address, ${board}_get_comm_port)
11628 (${board}_download, ${board}_upload): Delete.
11629 (get_target_remote_pipe_cmd): New.
11630
fe68b953
SM
116312017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11632
11633 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11634 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11635 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11636 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11637 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11638 remove with_test_prefix.
11639
300b6685
PA
116402017-10-13 Pedro Alves <palves@redhat.com>
11641
11642 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11643 * gdb.base/annota1.exp: Use it instead of is_remote.
11644 * gdb.base/annota3.exp: Use it instead of is_remote.
11645 * gdb.cp/annota2.exp: Use it instead of is_remote.
11646 * gdb.cp/annota3.exp: Use it instead of is_remote.
11647 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11648
50500caf
PA
116492017-10-13 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11652 (test_num_test_vars, run_and_count_vars, find_env)
11653 (test_set_unset_env, test_inherit_env_var): New procedures.
11654 (top level): Use them.
11655
dad0c6d2
PA
116562017-10-13 Pedro Alves <palves@redhat.com>
11657
11658 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11659 also skip on stub-like targets.
11660
8b0553c1
PA
116612017-10-13 Pedro Alves <palves@redhat.com>
11662
11663 PR gdb/22293
11664 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11665 (top level): Move some tests to ...
11666 (test_not_found): ... this new procedure.
11667 (top level): Call it.
11668
7594f623
PA
116692017-10-13 Pedro Alves <palves@redhat.com>
11670
11671 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11672 expect different "info terminal" output if testing with a
11673 non-native target.
11674
ebe3b402
PA
116752017-10-13 Pedro Alves <palves@redhat.com>
11676 Simon Marchi <simon.marchi@polymtl.ca>
11677
11678 PR python/12966
11679 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11680
42f1b161
PA
116812017-10-13 Pedro Alves <palves@redhat.com>
11682
11683 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11684 already.
11685
8d6ef72b
PA
116862017-10-13 Pedro Alves <palves@redhat.com>
11687
11688 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11689 is_remote.
11690
d7bcd5b8
PA
116912017-10-13 Pedro Alves <palves@redhat.com>
11692
11693 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11694 is_remote.
11695
df479dc6
PA
116962017-10-13 Pedro Alves <palves@redhat.com>
11697
11698 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11699 is set.
11700 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11701 instead of is_remote.
11702
23fb630a
PA
117032017-10-13 Pedro Alves <palves@redhat.com>
11704
11705 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11706 (top level): Add comment.
11707
cc77b1dc
PA
117082017-10-13 Pedro Alves <palves@redhat.com>
11709
11710 * gdb.base/remote.exp (top level): Fix comment typo and add
11711 missing return.
11712
27c9e813
PA
117132017-10-13 Pedro Alves <palves@redhat.com>
11714 Simon Marchi <simon.marchi@polymtl.ca>
11715
11716 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11717 calls and add comments. Skip test if use_gdb_stub is set.
11718 (top level): Use "set cwd" command instead of "cd" command.
11719
5e830d98
PA
117202017-10-13 Pedro Alves <palves@redhat.com>
11721
11722 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11723 is_remote target check.
11724
f5ca0032
PA
117252017-10-13 Pedro Alves <palves@redhat.com>
11726
11727 * gdb.base/scope.exp: Use build_executable + clean_restart +
11728 gdb_file_cmd instead of prepare_for_testing and no longer skip
11729 "before run" tests on is_remote target boards. Update comments.
11730 * boards/native-extended-gdbserver.exp
11731 (extended_gdbserver_load_last_file): New, factored out from ...
11732 (gdb_load): ... this. Move further below and add comment.
11733 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11734
8aed1c0d
PA
117352017-10-12 Pedro Alves <palves@redhat.com>
11736
11737 * gdb.base/attach.exp: Remove references to gdb64.
11738 * gdb.base/dbx.exp: Remove references to gdb64.
11739
cfa34c87
SM
117402017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11741 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.base/label.exp: Remove is_remote target check.
11744
9192b7de
PA
117452017-10-12 Pedro Alves <palves@redhat.com>
11746
11747 * gdb.base/auvx.exp (coredir): Update comment.
11748 (top level) <core_works>: Use "set cwd" command instead of "cd"
11749 command.
11750
6bf0052d
PA
117512017-10-12 Pedro Alves <palves@redhat.com>
11752 Simon Marchi <simon.marchi@polymtl.ca>
11753
11754 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11755 target boards.
11756
e48ef82d
PA
117572017-10-12 Pedro Alves <palves@redhat.com>
11758 Simon Marchi <simon.marchi@polymtl.ca>
11759
11760 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11761 Instead skip if there's any gdb_protocol set.
11762
8d7aea57
SM
117632017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11764 Pedro Alves <palves@redhat.com>
11765
11766 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11767
30440677
PA
117682017-10-12 Pedro Alves <palves@redhat.com>
11769 Simon Marchi <simon.marchi@polymtl.ca>
11770
11771 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11772 instead of on dejagnu remote boards.
11773
4e04f045 117742017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11775 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11776
11777 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11778 checks. Use build_executable + clean_restart instead of
11779 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11780 of enabling non-stop after starting gdb.
11781
871a186e
PA
117822017-10-12 Pedro Alves <palves@redhat.com>
11783
11784 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11785 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11786 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11787 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11788
56d704da
AK
117892017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11790
11791 * gdb.arch/arc-tdesc-cpu.exp: New file.
11792 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11793
2f20e312
SM
117942017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11795
11796 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11797
65630365
PA
117982017-10-10 Pedro Alves <palves@redhat.com>
11799
11800 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11801 expect CLI output.
11802
bf469271
PA
118032017-10-10 Pedro Alves <palves@redhat.com>
11804
11805 * lib/selftest-support.exp (selftest_setup): Update for
11806 captured_command_loop's prototype change.
11807
777a42f1
PA
118082017-10-09 Pedro Alves <palves@redhat.com>
11809
11810 Test both arch1=>arch2 and arch2=>arch1.
11811
11812 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11813 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11814 factored out to...
11815 (append_arch1_options, append_arch2_options, append_arch_options)
11816 (build_executables): New procedures.
11817 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11818 local.
11819 (top level): Add new 'first_arch' testing axis.
11820
cbd2b4e3
PA
118212017-10-09 Pedro Alves <palves@redhat.com>
11822
11823 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11824 (barrier): New.
11825 (thread_start, all_started): New functions.
11826 (main): Spawn new thread and wait until it is scheduled.
11827 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11828 option.
11829 (do_test): Add 'selected_thread' parameter. Run to all_started
11830 instead of main. Explicitly set the breakpoint at main. Switch
11831 to the SELECTED_THREAD thread.
11832 (top level): Test handling the exec event with either the main
11833 thread or the second thread selected.
11834
5c9e4427
PA
118352017-10-09 Pedro Alves <palves@redhat.com>
11836
11837 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11838 logic. Move STOP marker after the value checks.
11839 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11840 regexp.
11841
b3b7c423
SL
118422017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11843
11844 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11845
3b4b2f16
UW
118462017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11847
11848 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11849 integer-to-dfp conversion.
11850 * gdb.base/dfp-test.exp: Likewise.
11851
5cd63fda
PA
118522017-10-04 Pedro Alves <palves@redhat.com>
11853
11854 * gdb.multi/hangout.c: Include <unistd.h>.
11855 (hangout_loop): New function.
11856 (main): Call alarm. Call hangout_loop in a loop.
11857 * gdb.multi/hello.c: Include <unistd.h>.
11858 (hello_loop): New function.
11859 (main): Call alarm. Call hangout_loop in a loop.
11860 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11861 inferior with the other selected.
11862
4c71c105
SM
118632017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11864
11865 * gdb.mi/list-thread-groups-available.exp: New file.
11866 * gdb.mi/list-thread-groups-available.c: New file.
11867
bc3b087d
SDJ
118682017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11869
11870 * gdb.base/set-cwd.exp: Make it available on
11871 native-extended-gdbserver.
11872
d092c5a2
SDJ
118732017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11874
11875 * gdb.base/set-cwd.c: New file.
11876 * gdb.base/set-cwd.exp: Likewise.
11877
45320ffa
TT
118782017-10-02 Tom Tromey <tom@tromey.com>
11879
11880 PR rust/22236:
11881 * gdb.rust/simple.rs (main): New variable "fslice".
11882 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11883
b3e3859b
TT
118842017-10-02 Tom Tromey <tom@tromey.com>
11885
11886 * gdb.rust/simple.exp: Test ptype of a slice.
11887
01af5e0d
TT
118882017-10-02 Tom Tromey <tom@tromey.com>
11889
11890 * gdb.rust/simple.exp: Test index of slice.
11891
a9bbfbd8
TT
118922017-09-27 Tom Tromey <tom@tromey.com>
11893
11894 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11895
df8899e5
TP
118962017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11897 Pedro Alves <palves@redhat.com>
11898
11899 * gdb.base/compare-sections.exp (get value of read-only section): Read
11900 as unsigned value.
11901 (corrupt read-only section): Likewise and don't set written if patching
11902 failed.
11903
757bf54b
KB
119042017-09-21 Kevin Buettner <kevinb@redhat.com>
11905
11906 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11907 files.
11908
06871ae8
PA
119092017-09-20 Pedro Alves <palves@redhat.com>
11910
11911 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11912 symbol names in gdb's output.
11913 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11914
e5f25bc5
PA
119152017-09-20 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11918 Rename to ...
11919 (test_list_ambiguous_symbol): ... this and add a symbol name
11920 parameter. Adjust.
11921 (test_list_ambiguous_function): Reimplement on top of
11922 test_list_ambiguous_symbol and also test listing ambiguous
11923 variables.
11924 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11925 (ambiguous_fun): ... this.
11926 (ambiguous_var): New.
11927 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11928 (ambiguous_fun): ... this.
11929 (ambiguous_var): New.
11930
4e5a4f58
JB
119312017-09-19 John Baldwin <jhb@FreeBSD.org>
11932
11933 * gdb.base/starti.c: New file.
11934 * gdb.base/starti.exp: New file.
11935 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11936
26e53f3e
PA
119372017-09-14 Pedro Alves <palves@redhat.com>
11938
11939 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11940 (top level): Use it instead of runto.
11941
cb791d59
TT
119422017-09-11 Tom Tromey <tom@tromey.com>
11943
11944 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11945
7c96f8c1
TT
119462017-09-11 Tom Tromey <tom@tromey.com>
11947
11948 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11949 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11950
469412dd
CW
119512017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11952
11953 * gdb.fortran/printing-types.exp: New file.
11954 * gdb.fortran/printing-types.exp: New file.
11955
e0f86435
BH
119562017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11957
11958 * gdb.fortran/vla-ptype.exp: Fix typos.
11959 * gdb.fortran/vla-value.exp: Same.
11960
9e9af4be
BH
119612017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11962
11963 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11964 * gdb.mi/mi-var-child-f.exp: Likewise.
11965 * gdb.mi/mi-vla-fortran.exp: Likewise.
11966
a5ad232b 119672017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11968 Christoph Weinmann <christoph.t.weinmann@intel.com>
11969 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11970
11971 * gdb.fortran/ptr-indentation.f90: New file.
11972 * gdb.fortran/ptr-indentation.exp: New file.
11973
5aec60eb
TT
119742017-09-05 Tom Tromey <tom@tromey.com>
11975
11976 PR gdb/22010:
11977 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11978
8f8f8152
TP
119792017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11980
11981 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11982
fbd1b771
JK
119832017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11984
11985 * gdb.threads/tls-nodebug-pie.c: New file.
11986 * gdb.threads/tls-nodebug-pie.exp: New file.
11987
5eb5f850
TT
119882017-09-05 Tom Tromey <tom@tromey.com>
11989
11990 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11991 for rust.
11992
ae780a21
SM
119932017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11994
11995 * gdb.multi/multi-arch-exec.exp: Test with different
11996 "follow-exec-mode" settings.
11997 (do_test): New procedure.
11998
3693fdb3
PA
119992017-09-04 Pedro Alves <palves@redhat.com>
12000
12001 * gdb.base/func-static.c (S::method const, S::method volatile)
12002 (S::method volatile const): New methods.
12003 (c_s, v_s, cv_s): New instances.
12004 (main): Call method() on them.
12005 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12006 (cannot_resolve): New procedure.
12007 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12008 print-quote-unquoted columns.
12009 (do_test): Test printing each scope too.
12010
e68cb8e0
PA
120112017-09-04 Pedro Alves <palves@redhat.com>
12012
12013 * gdb.base/local-static.exp: Also test with
12014 class::method::variable wholly quoted.
12015 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12016
858be34c
PA
120172017-09-04 Pedro Alves <palves@redhat.com>
12018
12019 * gdb.base/local-static.c: New.
12020 * gdb.base/local-static.cc: New.
12021 * gdb.base/local-static.exp: New.
12022
46a4882b
PA
120232017-09-04 Pedro Alves <palves@redhat.com>
12024
12025 * gdb.asm/asm-source.exp: Add casts to int.
12026 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12027 (dataglobal64_1, dataglobal64_2): New globals.
12028 * gdb.base/nodebug.exp: Test different expressions involving the
12029 new globals, with print, whatis and ptype. Add casts to int.
12030 * gdb.base/solib-display.exp: Add casts to int.
12031 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12032 * gdb.cp/m-static.exp: Add cast to int.
12033 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12034 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12035 tls variable with no debug info without a cast. Test with a cast
12036 to int too.
12037 * gdb.trace/entry-values.exp: Add casts.
12038
2c5a2be1
PA
120392017-09-04 Pedro Alves <palves@redhat.com>
12040
12041 * gdb.base/nodebug.exp: Test that ptype's error about functions
12042 with unknown return type includes the function name too.
12043
7022349d
PA
120442017-09-04 Pedro Alves <palves@redhat.com>
12045
12046 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12047 return type of munmap in infcall.
12048 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12049 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12050 type of ftell in infcall.
12051 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12052 type of getpid in infcall.
12053 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12054 infcall.
12055 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12056 Bail on failure to extract the pid.
12057 * gdb.base/nodebug.c: #include <stdint.h>.
12058 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12059 New functions.
12060 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12061 Change expected output of print/whatis/ptype with functions with
12062 no debug info. Test all supported languages. Call
12063 test_call_promotion.
12064 * gdb.compile/compile.exp: Adjust expected output to expect
12065 warning.
12066 * gdb.threads/siginfo-threads.exp: Likewise.
12067
54990598
PA
120682017-09-04 Pedro Alves <palves@redhat.com>
12069
12070 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12071 "prototypes". Test calling float functions via prototyped and
12072 unprototyped function pointers.
12073 (perform_all_tests): New parameter "prototypes". Pass it down.
12074 (top level): Pass down "prototypes" parameter to
12075 perform_all_tests.
12076
34d16ea2
SM
120772017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12078
12079 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12080 Test with nested loops.
12081
9521ecda
SM
120822017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12083
12084 * gdb.base/commands.exp: Call the new procedures.
12085 (loop_break_test, loop_continue_test): New procedures.
12086
80a65e9b
SM
120872017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12088
12089 * gdb.base/commands.exp: Call new procedure.
12090 (define_if_without_arg_test): New procedure.
12091
e439fa14
PA
120922017-09-04 Pedro Alves <palves@redhat.com>
12093
12094 * gdb.base/list-ambiguous.exp: New file.
12095 * gdb.base/list-ambiguous0.c: New file.
12096 * gdb.base/list-ambiguous1.c: New file.
12097 * gdb.base/list.exp (test_list_range): Adjust expected output.
12098
0a2dde4a
SDJ
120992017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12100
12101 * gdb.base/share-env-with-gdbserver.c: New file.
12102 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12103
5e89eb3a
SM
121042017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12105
12106 * gdb.base/commands.exp (gdbvar_simple_if_test,
12107 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12108 progvar_simple_if_test, progvar_simple_while_test,
12109 progvar_complex_if_while_test, user_defined_command_test,
12110 user_defined_command_args_eval,
12111 user_defined_command_args_stack_test,
12112 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12113 temporary_breakpoint_commands,
12114 gdb_test_no_prompt, redefine_hook_test,
12115 redefine_backtrace_test): Remove "global gdb_prompt".
12116
fd437cbc
SM
121172017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12118
12119 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12120 New proc, call it from toplevel.
12121
87215ad1
SDJ
121222017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12123
12124 PR remote/21852
12125 * gdb.server/normal.c: New file, copied from gdb.base.
12126 * gdb.server/run-without-local-binary.exp: New file.
12127
58afddc6
WP
121282017-08-07 Weimin Pan <weimin.pan@oracle.com>
12129
12130 * gdb.arch/sparc64-adi.exp: New file.
12131 * gdb.arch/sparc64-adi.c: New file.
12132
5277199a
PA
121332017-08-22 Pedro Alves <palves@redhat.com>
12134
12135 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12136 (top level): Add "list all overloads" tests.
12137
14278e1f
TT
121382017-08-22 Tom Tromey <tom@tromey.com>
12139
12140 * gdb.gdb/xfullpath.exp: Remove.
12141
bf223d3e
PA
121422017-08-21 Pedro Alves <palves@redhat.com>
12143
12144 PR gdb/19487
12145 * gdb.base/symbol-alias.c: New.
12146 * gdb.base/symbol-alias2.c: New.
12147 * gdb.base/symbol-alias.exp: New.
12148
c973d0aa
PA
121492017-08-21 Pedro Alves <palves@redhat.com>
12150
12151 * gdb.base/dfp-test.c
12152 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12153 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12154 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12155 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12156 * gdb.base/whatis-ptype-typedefs.c: New.
12157 * gdb.base/whatis-ptype-typedefs.exp: New.
12158 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12159 (an_int, an_int_type, an_int_type2): New globals.
12160 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12161 involving typedefs and cast expressions.
12162 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12163 (lookup_typedefs_function): New.
12164 (typedefs_pretty_printers_dict): New.
12165 (top level): Register lookup_typedefs_function in
12166 gdb.pretty_printers.
12167
6d580b63
YQ
121682017-08-18 Yao Qi <yao.qi@linaro.org>
12169
12170 * gdb.server/unittest.exp: New.
12171
206726fb
SDJ
121722017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12173
12174 PR gdb/21954
12175 * gdb.base/environ.exp: Add test to check if 'unset environment'
12176 works.
12177
bf0ec4c2
AA
121782017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12179
12180 * lib/gdb.exp (universal_compile_options): New caching proc.
12181 (gdb_compile): Suppress GCC's coloring of messages.
12182
d6382fff
TT
121832017-08-14 Tom Tromey <tom@tromey.com>
12184
12185 PR gdb/21675:
12186 * gdb.base/printcmds.exp (test_radices): New function.
12187 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12188 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12189 * lib/gdb.exp (get_integer_valueof): Use p/d.
12190
c2c2dd9f
SM
121912017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12192
12193 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12194 characters.
12195
fdffd6f4
TT
121962017-08-05 Tom Tromey <tom@tromey.com>
12197
12198 * gdb.rust/simple.exp: Allow String to appear in a different
12199 namespace.
12200
27d41eac
YQ
122012017-07-26 Yao Qi <yao.qi@linaro.org>
12202
12203 * gdb.gdb/unittest.exp: Invoke command
12204 "maintenance check xml-descriptions".
12205
031ed05d
AA
122062017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12207
12208 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12209 calling context.
12210 (hex128): Drop erroneous calculation of parameters.
12211
dcd27ddf
SM
122122017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12213
12214 * gdb.python/py-unwind.exp: Disable stack protection when
12215 building test file.
12216
47e77640
PA
122172017-07-20 Pedro Alves <palves@redhat.com>
12218
12219 * gdb.base/default.exp (set language): Adjust expected output.
12220
62d2a18a
PA
122212017-07-20 Pedro Alves <palves@redhat.com>
12222
12223 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12224 (test_minsym): ... this, and make static.
12225 (get_pck__foo__bar__minsym): Rename to ...
12226 (get_test_minsym): ... this.
12227 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12228 symbol names and comments.
12229 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12230 (get_test_minsym): ... this.
12231 (pck__foo__bar__minsym__2): Rename to ...
12232 (test_minsym): ... this.
12233 (main): Adjust.
12234
c45ec17c
PA
122352017-07-17 Pedro Alves <palves@redhat.com>
12236
12237 * gdb.base/completion.exp: Adjust expected output.
12238 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12239 the completer works.
12240
c6756f62
PA
122412017-07-17 Pedro Alves <palves@redhat.com>
12242
12243 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12244
5bd68487
AB
122452017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12246
12247 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12248
8880f2a9
TT
122492017-07-14 Tom Tromey <tom@tromey.com>
12250
12251 PR rust/21764:
12252 * gdb.rust/simple.exp: Add tests.
12253
65547233
TT
122542017-07-14 Tom Tromey <tom@tromey.com>
12255
12256 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12257
8f14146e
PA
122582017-07-14 Pedro Alves <palves@redhat.com>
12259
12260 * gdb.linespec/base/one/thefile.cc (z1): New function.
12261 * gdb.linespec/base/two/thefile.cc (z2): New function.
12262 * gdb.linespec/linespec.exp: Add tests.
12263
b4365d02
AB
122642017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12265
12266 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12267 to mi_create_breakpoint.
12268
5d2cbaa5
AB
122692017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12270
12271 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12272 mi_create_breakpoint.
12273
11cb5716
IB
122742017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12275
12276 * gdb.dlang/demangle.exp: Update for demangling changes.
12277
03278692
TT
122782017-07-09 Tom Tromey <tom@tromey.com>
12279
12280 * gdb.dwarf2/shortpiece.exp: New file.
12281
33c5cd75
DB
122822017-07-06 David Blaikie <dblaikie@gmail.com>
12283
12284 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12285 built from fissiont-multi-cu{1,2}.c.
12286 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12287 except putting 'main' and 'func' in separate CUs in the same DWO file.
12288 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12289 test.
12290 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12291 test.
12292
8455d262
PA
122932017-07-06 Pedro Alves <palves@redhat.com>
12294
12295 * gdb.python/py-unwind.exp: Test flushregs.
12296
dc4bde35
SDJ
122972017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12298
12299 PR cli/21688
12300 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12301 tests for alias commands and trailing whitespace.
12302
51ed89aa
SDJ
123032017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12304
12305 PR cli/21688
12306 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12307 procedure. Call it.
12308
eb17d413
PA
123092017-06-29 Pedro Alves <palves@redhat.com>
12310
12311 * gdb.base/printcmds.exp: Add tests.
12312
41664b45
DG
123132017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12314
12315 PR gdb/21337
12316 * gdb.base/reread-readsym.exp: New file.
12317 * gdb.base/reread-readsym.c: New file.
12318
75312ae3
KB
123192017-06-21 Kevin Buettner <kevinb@redhat.com>
12320
12321 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12322 subpattern.
12323
66953522
PB
123242017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12325
12326 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12327 extended mnemonic.
12328 * gdb.arch/powerpc-power9.s: Likewise.
12329
5524b525
AA
123302017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12331
12332 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12333 on 32-bit x86 targets. Exploit is_*_target macros where
12334 appropriate.
12335
03c8af18
AA
123362017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12337
12338 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12339 register pieces.
12340
3bf31011
AA
123412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12342
12343 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12344 located in one or more DWARF pieces.
12345
805acca0
AA
123462017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12347
12348 * lib/gdb.exp (get_endianness): New proc.
12349 * gdb.arch/aarch64-fp.exp: Use it.
12350 * gdb.arch/altivec-regs.exp: Likewise.
12351 * gdb.arch/e500-regs.exp: Likewise.
12352 * gdb.arch/vsx-regs.exp: Likewise.
12353 * gdb.base/dump.exp: Likewise.
12354 * gdb.base/funcargs.exp: Likewise.
12355 * gdb.base/gnu_vector.exp: Likewise.
12356 * gdb.dwarf2/formdata16.exp: Likewise.
12357 * gdb.dwarf2/implptrpiece.exp: Likewise.
12358 * gdb.dwarf2/nonvar-access.exp: Likewise.
12359 * gdb.python/py-inferior.exp: Likewise.
12360 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12361
e9352324
AA
123622017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12363
12364 PR gdb/21226
12365 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12366 stack value pieces are taken from the LSB end.
12367
d5d1163e
AA
123682017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12369
12370 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12371 variable at nonzero offset.
12372
0567c986
AA
123732017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12374
12375 * gdb.dwarf2/var-access.c: New file.
12376 * gdb.dwarf2/var-access.exp: New test.
12377 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12378
973e9aab
TT
123792017-06-12 Tom Tromey <tom@tromey.com>
12380
12381 * gdb.dwarf2/formdata16.exp: Add tests.
12382
d9109c80
TT
123832017-06-12 Tom Tromey <tom@tromey.com>
12384
12385 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12386
30a25466
TT
123872017-06-12 Tom Tromey <tom@tromey.com>
12388
12389 PR exp/16225:
12390 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12391 * gdb.arch/vsx-regs.exp: Update tests.
12392 * gdb.arch/s390-vregs.exp (hex128): New proc.
12393 Update test.
12394 * gdb.arch/altivec-regs.exp: Update tests.
12395
aefd8b33
SDJ
123962017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12397
12398 * gdb.base/startup-with-shell.c: New file.
12399 * gdb.base/startup-with-shell.exp: Likewise.
12400
2090129c
SDJ
124012017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12402
12403 * gdb.server/non-existing-program.exp: Update regex in order to
12404 reflect the fact that gdbserver is now using fork_inferior (with a
12405 shell) to startup the inferior.
12406
8e86a419
SM
124072017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12408
12409 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12410 support function calls from GDB.
12411
e6cf65f2
TT
124122017-05-21 Tom Tromey <tom@tromey.com>
12413
12414 PR rust/21466:
12415 * gdb.rust/unsized.exp: New file.
12416 * gdb.rust/unsized.rs: New file.
12417
43cc5389
TT
124182017-05-19 Tom Tromey <tom@tromey.com>
12419
12420 PR rust/21484:
12421 * gdb.rust/watch.exp: New file.
12422 * gdb.rust/watch.rs: New file.
12423
ec8df234
TT
124242017-05-18 Tom Tromey <tom@tromey.com>
12425
12426 * gdb.rust/simple.exp: Allow Box to be qualified.
12427
3e3e7fae
TP
124282017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12429
12430 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12431
59cc050d
PA
124322017-05-18 Pedro Alves <palves@redhat.com>
12433
12434 * gdb.base/fileio.c (test_write, test_read, test_close)
12435 (test_fstat): Don't print 'ret' in the fail path.
12436
c8f6abd1
PA
124372017-05-18 Pedro Alves <palves@redhat.com>
12438
12439 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12440 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12441 (test_system, test_rename, test_unlink, test_time): Change
12442 prototypes.
12443 * gdb.base/fileio.exp (stop_msg): Adjust.
12444
d2a03b77
PA
124452017-05-18 Pedro Alves <palves@redhat.com>
12446
12447 * gdb.base/fileio.c (null_str): New global.
12448 (test_stat): Use it.
12449 * gdb.base/fileio.exp: Remove nowarnings.
12450
0d5c6999
YQ
124512017-05-17 Yao Qi <yao.qi@linaro.org>
12452
12453 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12454
21873064
YQ
124552017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12456
12457 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12458 argument command.
12459 (top-level): Invoke test_set_inferior_tty.
12460
d512d31c
PA
124612017-05-04 Pedro Alves <palves@redhat.com>
12462
12463 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12464 Add parens to print call for Python 3.
12465
90cef2ed
KS
124662017-05-03 Keith Seitz <keiths@redhat.com>
12467
12468 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12469 (main): Call it.
12470
14f819c8
TW
124712017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12472
12473 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12474 to prev and next.
12475
913aeadd
TW
124762017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12477
12478 * gdb.python/py-record-btrace.exp: Remove test for
12479 gdb.BtraceInstruction.error.
12480
a3be24ad
TW
124812017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12482
12483 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12484
ae20e79a
TW
124852017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12486
12487 * gdb.python/py-record-btrace-threads.c: New file.
12488 * gdb.python/py-record-btrace-threads.exp: New file.
12489
45ce1b47
SDJ
124902017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12491
12492 PR testsuite/8595
12493 * gdb.base/environ.exp: Make test available in all architectures.
12494 Move bits related to "info program" testing to
12495 gdb.base/info-program.exp. Rewrite tests to use the two new
12496 procedures mentione below.
12497 (test_set_show_env_var) New procedure.
12498 (test_set_show_env_var_equal): Likewise.
12499 * gdb.base/info-program.exp: New file.
12500
e15c3eb4
KS
125012017-04-27 Keith Seitz <keiths@redhat.com>
12502
12503 * gdb.cp/oranking.cc (test15): New function.
12504 (main): Call test15 and declare additional variables for testing.
12505 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12506 "p foo101('abc')" tests.
12507 Add tests for cv qualifier overloads.
12508 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12509 "lvalue reference overload" test.
12510 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12511 "print value of f1 on Child&& in f2" test.
12512
3a3fd0fd
PA
125132017-04-19 Pedro Alves <palves@redhat.com>
12514
12515 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12516 procedure.
12517 (top level): Call it.
12518 * lib/gdb.exp (gdb_define_cmd): New procedure.
12519
53375380
PA
125202017-04-12 Pedro Alves <palves@redhat.com>
12521
12522 PR gdb/21323
12523 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12524 (wchar): New global.
12525 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12526 (do_test_wide_char, wide_char_types_no_program, top level): Add
12527 wchar_t testing.
12528
53e710ac
PA
125292017-04-12 Pedro Alves <palves@redhat.com>
12530
12531 PR c++/21323
12532 * gdb.cp/wide_char_types.c: New file.
12533 * gdb.cp/wide_char_types.exp: New file.
12534
0ad9d8c7
SDJ
125352017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12536
12537 PR gdb/21352
12538 * gdb.trace/tsv.exp: Add test for "tsave -r".
12539
b1b45502
IB
125402017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12541
12542 * gdb.dlang/watch-loc.c: New file.
12543 * gdb.dlang/watch-loc.exp: New file.
12544
ec13808e
JK
125452017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12546
12547 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12548
fe5f7374
AK
125492017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12550
12551 * gdb.arch/arc-analyze-prologue.S: New file.
12552 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12553
eea78757
AK
125542017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12555
12556 * gdb.arch/arc-decode-insn.S: New file.
12557 * gdb.arch/arc-decode-insn.exp: Likewise.
12558
5badf10a
IR
125592017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12560
12561 PR tdep/20928
12562 * gdb.arch/sparc64-regs.exp: New file.
12563 * gdb.arch/sparc64-regs.S: Likewise.
12564
cee59b3f
TW
125652017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12566
12567 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12568 and memory view on Python 3.
12569
c0f55cc6
AV
125702017-03-20 Artemiy Volkov <artemiyv@acm.org>
12571 Keith Seitz <keiths@redhat.com>
12572
12573 PR gdb/14441
12574 * gdb.cp/demangle.exp: Add rvalue reference tests.
12575 * gdb.cp/rvalue-ref-casts.cc: New file.
12576 * gdb.cp/rvalue-ref-casts.exp: New file.
12577 * gdb.cp/rvalue-ref-overload.cc: New file.
12578 * gdb.cp/rvalue-ref-overload.exp: New file.
12579 * gdb.cp/rvalue-ref-params.cc: New file.
12580 * gdb.cp/rvalue-ref-params.exp: New file.
12581 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12582 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12583 * gdb.cp/rvalue-ref-types.cc: New file.
12584 * gdb.cp/rvalue-ref-types.exp: New file.
12585 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12586 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12587
51457a05
MAL
125882017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12589
12590 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12591 New procedure.
12592
5b291c04
MAL
125932017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12594
12595 * lib/mi-support.exp (mi_gdb_test): Add additional message
12596 for unexpected output.
12597
59a56148
AA
125982017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12599
12600 * gdb.base/examine-backward.c (Barrier): New character array
12601 constant, to ensure that TestStrings is preceded by a string
12602 terminator.
12603
7942e96e
AA
126042017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12605
12606 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12607 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12608 and implicit pointer into such a location.
12609
6ebac3fb
DE
126102017-03-16 Doug Evans <dje@google.com>
12611
12612 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12613
ec3b243d
TP
126142017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12615
12616 * gdb.cp/m-static.exp: Fix expectation for prototype of
12617 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12618
126192017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12620
12621 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12622 * gdb.guile/scm-lazy-string.c: New file.
12623 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12624 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12625 for pointer, array, typedef lazy strings.
12626
2cc36e25 126272017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12628
12629 PR python/17728, python/18439, python/18779
12630 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12631 * gdb.python/py-lazy-string.c (pointer): New typedef.
12632 (main): New locals ptr, array, typedef_ptr.
12633 * gdb.python/py-value.exp: Move lazy string tests to ...
12634 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12635 array, typedef lazy strings.
ec3b243d 12636
0efcde63
AK
126372017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12638
12639 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12640 Add optional 'test' parameter.
12641
7978d7c3
SM
126422017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12643
12644 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12645 Skip for versions of DejaGnu < 1.5.
12646
896c0c1e
SM
126472017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12648
12649 * lib/gdb.exp (dejagnu_version): New proc.
12650 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12651 Use dejagnu_version.
12652
5f4d1085
KS
126532017-03-10 Keith Seitz <keiths@redhat.com>
12654
12655 PR c++/8128
12656 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12657 type from destructor regexps.
12658 Add a branch which actually passes the test.
12659 Adjust "ptype t5i" test names.
12660
1de05205
PA
126612017-03-08 Pedro Alves <palves@redhat.com>
12662
12663 * gdb.base/step-over-exit.exp: Add explicit test message.
12664
c65d6b55
PA
126652017-03-08 Pedro Alves <palves@redhat.com>
12666
12667 PR gdb/18360
12668 * gdb.threads/interrupt-while-step-over.c: New file.
12669 * gdb.threads/interrupt-while-step-over.exp: New file.
12670
2e86a283
PA
126712017-03-08 Pedro Alves <palves@redhat.com>
12672
12673 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12674 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12675
25dcbff6
PA
126762017-03-08 Pedro Alves <palves@redhat.com>
12677
12678 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12679 PKRU as not supported as a PASS.
12680
dc9366eb
PA
126812017-03-08 Pedro Alves <palves@redhat.com>
12682
12683 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12684 prefix instead of $binfile1/$binfile2.
12685 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12686 in test message.
12687 * gdb.python/py-completion.exp: Use "load python file" as test
12688 messages instead of unstable path names.
12689
6e5d74e7
PA
126902017-03-08 Pedro Alves <palves@redhat.com>
12691 Jan Kratochvil <jan.kratochvil@redhat.com>
12692
12693 PR cli/21218
12694 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12695 New proc.
12696 (top level): Call it.
12697
9753a2f6
PA
126982017-03-08 Pedro Alves <palves@redhat.com>
12699
12700 PR tui/21216
12701 * gdb.tui/tui-nl-filtered-output.exp: New file.
12702
1a4dd9dd
PA
127032017-03-08 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.base/completion.exp: Move TUI completion tests to ...
12706 * gdb.tui/completion.exp: ... this new file.
12707
7cbbff33
PA
127082017-03-08 Pedro Alves <palves@redhat.com>
12709
12710 * gdb.base/tui-disasm-long-lines.c,
12711 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12712 gdb.base/tui-layout.exp: Move to ...
12713 * gdb.tui/: ... this new directory.
12714
5f6fd321
PA
127152017-03-07 Pedro Alves <palves@redhat.com>
12716
12717 * gdb.base/tui-layout.c: New file.
12718 * gdb.base/tui-layout.exp: New file.
12719
44959fa8
PA
127202017-03-07 Pedro Alves <palves@redhat.com>
12721
12722 * gdb.base/tui-layout.c: Rename to ...
12723 * gdb.base/tui-disasm-long-lines.c: ... this.
12724 * gdb.base/tui-layout.exp: Rename to ...
12725 * gdb.base/tui-disasm-long-lines.exp: ... this.
12726
f8c4e718
PA
127272017-03-07 Pedro Alves <palves@redhat.com>
12728
12729 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12730
6dbb839a 127312017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12732
12733 * i386-mpx-call.c: New file.
12734 * i386-mpx-call.exp: New file.
12735
65b48a81
PB
127362017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12737
12738 * gdb.arch/powerpc-power.exp: Delete test.
12739 * gdb.arch/powerpc-power.s: Likewise.
12740 * gdb.disasm/disassembler-options.exp: New test.
12741 * gdb.arch/powerpc-altivec.exp: Likewise.
12742 * gdb.arch/powerpc-altivec.s: Likewise.
12743 * gdb.arch/powerpc-altivec2.exp: Likewise.
12744 * gdb.arch/powerpc-altivec2.s: Likewise.
12745 * gdb.arch/powerpc-altivec3.exp: Likewise.
12746 * gdb.arch/powerpc-altivec3.s: Likewise.
12747 * gdb.arch/powerpc-power7.exp: Likewise.
12748 * gdb.arch/powerpc-power7.s: Likewise.
12749 * gdb.arch/powerpc-power8.exp: Likewise.
12750 * gdb.arch/powerpc-power8.s: Likewise.
12751 * gdb.arch/powerpc-power9.exp: Likewise.
12752 * gdb.arch/powerpc-power9.s: Likewise.
12753 * gdb.arch/powerpc-vsx.exp: Likewise.
12754 * gdb.arch/powerpc-vsx.s: Likewise.
12755 * gdb.arch/powerpc-vsx2.exp: Likewise.
12756 * gdb.arch/powerpc-vsx2.s: Likewise.
12757 * gdb.arch/powerpc-vsx3.exp: Likewise.
12758 * gdb.arch/powerpc-vsx3.s: Likewise.
12759 * gdb.arch/arm-disassembler-options.exp: Likewise.
12760 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12761 * gdb.arch/s390-disassembler-options.exp: Likewise.
12762
17cd4947
LM
127632017-02-23 Luis Machado <lgustavo@codesourcery.com>
12764
12765 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12766 (check_supported_features): ... this. Changed return type to void.
12767 (supports_rdseed): New static global.
12768 (rdseed): Check supports_rdseed.
12769 (initialize): Call check_supported_features.
12770
2039d74e
EBM
127712017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12772
12773 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12774 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12775 and lqarx/stqcx.
12776 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12777 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12778
a51d7ecf
EBM
127792017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12780
12781 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12782 uppercase.
12783
0224619f
JK
127842017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12785
12786 * gdb.dwarf2/formdata16.c: New file.
12787 * gdb.dwarf2/formdata16.exp: New file.
12788 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12789
216f72a1
JK
127902017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12791
12792 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12793 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12794 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12795 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12796 DW_AT_GNU_*.
12797
43988095
JK
127982017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12799
12800 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12801
99e8a4f9
SDJ
128022017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12803
12804 PR gdb/21164
12805 * gdb.base/maint.exp: Add testcases for when the commands do
12806 not have arguments.
12807
b58a8c0c
TP
128082017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12809
12810 * gdb.cp/chained-calls.exp: Use p instead of P.
12811
4e746bb6
TW
128122017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12813
12814 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12815 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12816
3f77c769
TT
128172017-02-14 Tom Tromey <tom@tromey.com>
12818
12819 PR python/13598:
12820 * gdb.python/py-events.exp: Add before_prompt event tests.
12821
075beec0
AA
128222017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12823
12824 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12825
bf5f525c
LM
128262017-02-13 Luis Machado <lgustavo@codesourcery.com>
12827
12828 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12829 (main): Call my_unique_function_name.
12830 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12831 completion of patterns with a single match.
12832 Add missing -re switches to gdb_test_multiple calls.
12833
13a66184
LM
128342017-02-13 Luis Machado <lgustavo@codesourcery.com>
12835
12836 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12837 return if core file is not recognized.
12838
26a06916
SM
128392017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12840
12841 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12842 and extra UIs.
12843
b761ca9e
SM
128442017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12845
12846 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12847 proc_with_prefix.
12848
b964bee0
TT
128492017-02-10 Tom Tromey <tom@tromey.com>
12850
12851 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12852
18da0c51
MG
128532017-02-10 Martin Galvan <martingalvan@sourceware.org>
12854
12855 PR gdb/21122
12856 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12857
604c4576
JG
128582017-02-08 Jerome Guitton <guitton@adacore.com>
12859
12860 * gdb.base/define.exp: Add test for command abbreviations
12861 in define.
12862
20b477a7
LM
128632017-02-06 Luis Machado <lgustavo@codesourcery.com>
12864
12865 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12866 * gdb.reverse/insn-reverse-x86.c: New file.
12867
3f7b46f2
IR
128682017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12869
12870 PR tdep/20936
12871 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12872
f0fd41c1
TT
128732017-02-03 Tom Tromey <tom@tromey.com>
12874
12875 PR rust/21097:
12876 * gdb.rust/simple.exp: Add new tests.
12877
5be5dbf0
PA
128782017-02-02 Pedro Alves <palves@redhat.com>
12879
12880 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12881 tests.
12882
7346ef59
AA
128832017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12884
12885 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12886 taking a 2-byte value out of a 4-byte DWARF implicit value on
12887 big-endian targets.
12888 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12889 logic. Add test cases for DW_OP_implicit.
12890
787f0025
MM
128912017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12892
12893 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12894
68777c29
MM
128952017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12896
12897 * gdb.btrace/enable.exp: Call gdb_exit before
12898 skip_gdbserver_tests.
12899
0a1c7e28
MM
129002017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12901
12902 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12903 GDBFLAGS.
12904
b5ac99b0
MM
129052017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12906
12907 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12908 the test is skipped.
12909 * gdb.btrace/data.exp: Likewise.
12910 * gdb.btrace/delta.exp: Likewise.
12911 * gdb.btrace/dlopen.exp: Likewise.
12912 * gdb.btrace/enable-running.exp: Likewise.
12913 * gdb.btrace/enable.exp: Likewise.
12914 * gdb.btrace/exception.exp: Likewise.
12915 * gdb.btrace/function_call_history.exp: Likewise.
12916 * gdb.btrace/gcore.exp: Likewise.
12917 * gdb.btrace/instruction_history.exp: Likewise.
12918 * gdb.btrace/multi-thread-step.exp: Likewise.
12919 * gdb.btrace/nohist.exp: Likewise.
12920 * gdb.btrace/non-stop.exp: Likewise.
12921 * gdb.btrace/reconnect.exp: Likewise.
12922 * gdb.btrace/record_goto-step.exp: Likewise.
12923 * gdb.btrace/record_goto.exp: Likewise.
12924 * gdb.btrace/rn-dl-bind.exp: Likewise.
12925 * gdb.btrace/segv.exp: Likewise.
12926 * gdb.btrace/step.exp: Likewise.
12927 * gdb.btrace/stepi.exp: Likewise.
12928 * gdb.btrace/tailcall-only.exp: Likewise.
12929 * gdb.btrace/tailcall.exp: Likewise.
12930 * gdb.btrace/tsx.exp: Likewise.
12931 * gdb.btrace/unknown_functions.exp: Likewise.
12932 * gdb.btrace/vdso.exp: Likewise.
12933
cd4007e4
MM
129342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12935
12936 * gdb.btrace/enable-running.c: New.
12937 * gdb.btrace/enable-running.exp: New.
12938
2735833d
WT
129392017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12940
12941 * gdb.arch/amd64-gs_base.c: New file.
12942 * gdb.arch/amd64-gs_base.exp: New file.
12943
b51e1e94
LM
129442017-01-26 Luis Machado <lgustavo@codesourcery.com>
12945
12946 * lib/memory.exp: Remove spurious empty newlines.
12947
72ca0410
SM
129482017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12949
12950 * gdb.python/py-bad-printers.exp: Load python file using "source".
12951 * gdb.python/py-events.exp: Likewise.
12952 * gdb.python/py-evsignal.exp: Likewise.
12953 * gdb.python/py-evthreads.exp: Likewise.
12954 * gdb.python/py-frame-args.exp: Likewise.
12955 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12956 * gdb.python/py-framefilter-mi.exp: Likewise.
12957 * gdb.python/py-framefilter.exp: Likewise.
12958 * gdb.python/py-mi.exp: Likewise.
12959 * gdb.python/py-pp-maint.exp: Likewise.
12960 * gdb.python/py-pp-registration.exp: Likewise.
12961 * gdb.python/py-prettyprint.exp: Likewise.
12962 (run_lang_tests): Likewise.
12963 * gdb.python/py-typeprint.exp: Likewise.
12964
e309aa65
LM
129652017-01-26 Luis Machado <lgustavo@codesourcery.com>
12966
12967 * lib/memory.exp: New file.
12968 * lib/gdb.exp: Load memory.exp.
12969 * gdb.base/memattr.exp (delete_memory): Move proc to
12970 lib/memory.exp and rename to delete_memory_regions.
12971 Replace delete_memory with delete_memory_regions.
12972 Cleanup memory regions before tests.
12973 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12974 before tests.
12975
515aff23
LM
129762017-01-26 Luis Machado <lgustavo@codesourcery.com>
12977
12978 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12979 files.
12980 (initialize): New function conditionally defined.
12981 (testcases): Move within conditional block.
12982 (main): Call initialize.
12983 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12984 of gdb.reverse/insn-reverse.c.
12985 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12986 gdb.reverse/insn-reverse.c.
12987
d8b49cf0
YQ
129882017-01-26 Yao Qi <yao.qi@linaro.org>
12989
12990 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12991 disassemble on address 0.
12992
f13a9a0c
YQ
129932017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12994 Yao Qi <yao.qi@linaro.org>
12995
12996 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12997 * gdb.dwarf2/implptr-64bit.S: Remove.
12998 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12999 variables in caller's context. Add DW_OP_implicit_value.
13000
5ac95241
YQ
130012017-01-25 Yao Qi <yao.qi@linaro.org>
13002
13003 * lib/dwarf.exp (Dwarf::_location): Handle
13004 DW_OP_GNU_implicit_pointer with proper size.
13005
23e82930
LM
130062017-01-20 Luis Machado <lgustavo@codesourcery.com>
13007
13008 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13009 and add untested calls.
13010
d334ae25
LM
130112017-01-20 Luis Machado <lgustavo@codesourcery.com>
13012
13013 * gdb.python/python.exp: Check line number against what GDB thinks
13014 the line number is for func1.
13015
f5e6296e
IB
130162017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13017
13018 * gdb.dlang/debug-expr.exp: New file.
13019
5b362f04
LM
130202016-12-23 Luis Machado <lgustavo@codesourcery.com>
13021
13022 Fix test names for the following files:
13023
13024 * gdb.ada/exec_changed.exp
13025 * gdb.ada/info_types.exp
13026 * gdb.arch/aarch64-atomic-inst.exp
13027 * gdb.arch/aarch64-fp.exp
13028 * gdb.arch/altivec-abi.exp
13029 * gdb.arch/altivec-regs.exp
13030 * gdb.arch/amd64-byte.exp
13031 * gdb.arch/amd64-disp-step.exp
13032 * gdb.arch/amd64-dword.exp
13033 * gdb.arch/amd64-entry-value-inline.exp
13034 * gdb.arch/amd64-entry-value-param.exp
13035 * gdb.arch/amd64-entry-value-paramref.exp
13036 * gdb.arch/amd64-entry-value.exp
13037 * gdb.arch/amd64-i386-address.exp
13038 * gdb.arch/amd64-invalid-stack-middle.exp
13039 * gdb.arch/amd64-invalid-stack-top.exp
13040 * gdb.arch/amd64-optimout-repeat.exp
13041 * gdb.arch/amd64-prologue-skip.exp
13042 * gdb.arch/amd64-prologue-xmm.exp
13043 * gdb.arch/amd64-stap-special-operands.exp
13044 * gdb.arch/amd64-stap-wrong-subexp.exp
13045 * gdb.arch/amd64-tailcall-cxx.exp
13046 * gdb.arch/amd64-tailcall-noret.exp
13047 * gdb.arch/amd64-tailcall-ret.exp
13048 * gdb.arch/amd64-tailcall-self.exp
13049 * gdb.arch/amd64-word.exp
13050 * gdb.arch/arm-bl-branch-dest.exp
13051 * gdb.arch/arm-disp-step.exp
13052 * gdb.arch/arm-neon.exp
13053 * gdb.arch/arm-single-step-kernel-helper.exp
13054 * gdb.arch/avr-flash-qualifier.exp
13055 * gdb.arch/disp-step-insn-reloc.exp
13056 * gdb.arch/e500-abi.exp
13057 * gdb.arch/e500-regs.exp
13058 * gdb.arch/ftrace-insn-reloc.exp
13059 * gdb.arch/i386-avx512.exp
13060 * gdb.arch/i386-bp_permanent.exp
13061 * gdb.arch/i386-byte.exp
13062 * gdb.arch/i386-cfi-notcurrent.exp
13063 * gdb.arch/i386-disp-step.exp
13064 * gdb.arch/i386-dr3-watch.exp
13065 * gdb.arch/i386-float.exp
13066 * gdb.arch/i386-gnu-cfi.exp
13067 * gdb.arch/i386-mpx-map.exp
13068 * gdb.arch/i386-mpx-sigsegv.exp
13069 * gdb.arch/i386-mpx-simple_segv.exp
13070 * gdb.arch/i386-mpx.exp
13071 * gdb.arch/i386-permbkpt.exp
13072 * gdb.arch/i386-prologue.exp
13073 * gdb.arch/i386-signal.exp
13074 * gdb.arch/i386-size-overlap.exp
13075 * gdb.arch/i386-unwind.exp
13076 * gdb.arch/i386-word.exp
13077 * gdb.arch/mips-fcr.exp
13078 * gdb.arch/powerpc-d128-regs.exp
13079 * gdb.arch/powerpc-stackless.exp
13080 * gdb.arch/ppc64-atomic-inst.exp
13081 * gdb.arch/s390-stackless.exp
13082 * gdb.arch/s390-tdbregs.exp
13083 * gdb.arch/s390-vregs.exp
13084 * gdb.arch/sparc-sysstep.exp
13085 * gdb.arch/thumb-bx-pc.exp
13086 * gdb.arch/thumb-singlestep.exp
13087 * gdb.arch/thumb2-it.exp
13088 * gdb.arch/vsx-regs.exp
13089 * gdb.asm/asm-source.exp
13090 * gdb.base/a2-run.exp
13091 * gdb.base/advance.exp
13092 * gdb.base/all-bin.exp
13093 * gdb.base/anon.exp
13094 * gdb.base/args.exp
13095 * gdb.base/arithmet.exp
13096 * gdb.base/async-shell.exp
13097 * gdb.base/async.exp
13098 * gdb.base/attach-pie-noexec.exp
13099 * gdb.base/attach-twice.exp
13100 * gdb.base/auto-load.exp
13101 * gdb.base/bang.exp
13102 * gdb.base/bitfields.exp
13103 * gdb.base/break-always.exp
13104 * gdb.base/break-caller-line.exp
13105 * gdb.base/break-entry.exp
13106 * gdb.base/break-inline.exp
13107 * gdb.base/break-on-linker-gcd-function.exp
13108 * gdb.base/break-probes.exp
13109 * gdb.base/break.exp
13110 * gdb.base/breakpoint-shadow.exp
13111 * gdb.base/call-ar-st.exp
13112 * gdb.base/call-sc.exp
13113 * gdb.base/call-signal-resume.exp
13114 * gdb.base/call-strs.exp
13115 * gdb.base/callfuncs.exp
13116 * gdb.base/catch-fork-static.exp
13117 * gdb.base/catch-gdb-caused-signals.exp
13118 * gdb.base/catch-load.exp
13119 * gdb.base/catch-signal-fork.exp
13120 * gdb.base/catch-signal.exp
13121 * gdb.base/catch-syscall.exp
13122 * gdb.base/charset.exp
13123 * gdb.base/checkpoint.exp
13124 * gdb.base/chng-syms.exp
13125 * gdb.base/code-expr.exp
13126 * gdb.base/code_elim.exp
13127 * gdb.base/commands.exp
13128 * gdb.base/completion.exp
13129 * gdb.base/complex.exp
13130 * gdb.base/cond-expr.exp
13131 * gdb.base/condbreak.exp
13132 * gdb.base/consecutive.exp
13133 * gdb.base/continue-all-already-running.exp
13134 * gdb.base/coredump-filter.exp
13135 * gdb.base/corefile.exp
13136 * gdb.base/dbx.exp
13137 * gdb.base/debug-expr.exp
13138 * gdb.base/define.exp
13139 * gdb.base/del.exp
13140 * gdb.base/disabled-location.exp
13141 * gdb.base/disasm-end-cu.exp
13142 * gdb.base/disasm-optim.exp
13143 * gdb.base/display.exp
13144 * gdb.base/duplicate-bp.exp
13145 * gdb.base/ena-dis-br.exp
13146 * gdb.base/ending-run.exp
13147 * gdb.base/enumval.exp
13148 * gdb.base/environ.exp
13149 * gdb.base/eu-strip-infcall.exp
13150 * gdb.base/eval-avoid-side-effects.exp
13151 * gdb.base/eval-skip.exp
13152 * gdb.base/exitsignal.exp
13153 * gdb.base/expand-psymtabs.exp
13154 * gdb.base/filesym.exp
13155 * gdb.base/find-unmapped.exp
13156 * gdb.base/finish.exp
13157 * gdb.base/float.exp
13158 * gdb.base/foll-exec-mode.exp
13159 * gdb.base/foll-exec.exp
13160 * gdb.base/foll-fork.exp
13161 * gdb.base/fortran-sym-case.exp
13162 * gdb.base/freebpcmd.exp
13163 * gdb.base/func-ptr.exp
13164 * gdb.base/func-ptrs.exp
13165 * gdb.base/funcargs.exp
13166 * gdb.base/gcore-buffer-overflow.exp
13167 * gdb.base/gcore-relro-pie.exp
13168 * gdb.base/gcore-relro.exp
13169 * gdb.base/gcore.exp
13170 * gdb.base/gdb1090.exp
13171 * gdb.base/gdb11530.exp
13172 * gdb.base/gdb11531.exp
13173 * gdb.base/gdb1821.exp
13174 * gdb.base/gdbindex-stabs.exp
13175 * gdb.base/gdbvars.exp
13176 * gdb.base/hbreak.exp
13177 * gdb.base/hbreak2.exp
13178 * gdb.base/included.exp
13179 * gdb.base/infcall-input.exp
13180 * gdb.base/inferior-died.exp
13181 * gdb.base/infnan.exp
13182 * gdb.base/info-macros.exp
13183 * gdb.base/info-os.exp
13184 * gdb.base/info-proc.exp
13185 * gdb.base/info-shared.exp
13186 * gdb.base/info-target.exp
13187 * gdb.base/infoline.exp
13188 * gdb.base/interp.exp
13189 * gdb.base/interrupt.exp
13190 * gdb.base/jit-reader.exp
13191 * gdb.base/jit-simple.exp
13192 * gdb.base/kill-after-signal.exp
13193 * gdb.base/kill-detach-inferiors-cmd.exp
13194 * gdb.base/label.exp
13195 * gdb.base/langs.exp
13196 * gdb.base/ldbl_e308.exp
13197 * gdb.base/line-symtabs.exp
13198 * gdb.base/linespecs.exp
13199 * gdb.base/list.exp
13200 * gdb.base/long_long.exp
13201 * gdb.base/longest-types.exp
13202 * gdb.base/maint.exp
13203 * gdb.base/max-value-size.exp
13204 * gdb.base/memattr.exp
13205 * gdb.base/mips_pro.exp
13206 * gdb.base/morestack.exp
13207 * gdb.base/moribund-step.exp
13208 * gdb.base/multi-forks.exp
13209 * gdb.base/nested-addr.exp
13210 * gdb.base/nextoverexit.exp
13211 * gdb.base/noreturn-finish.exp
13212 * gdb.base/noreturn-return.exp
13213 * gdb.base/nostdlib.exp
13214 * gdb.base/offsets.exp
13215 * gdb.base/opaque.exp
13216 * gdb.base/pc-fp.exp
13217 * gdb.base/permissions.exp
13218 * gdb.base/print-symbol-loading.exp
13219 * gdb.base/prologue-include.exp
13220 * gdb.base/psymtab.exp
13221 * gdb.base/ptype.exp
13222 * gdb.base/random-signal.exp
13223 * gdb.base/randomize.exp
13224 * gdb.base/range-stepping.exp
13225 * gdb.base/readline-ask.exp
13226 * gdb.base/recpar.exp
13227 * gdb.base/recurse.exp
13228 * gdb.base/relational.exp
13229 * gdb.base/restore.exp
13230 * gdb.base/return-nodebug.exp
13231 * gdb.base/return.exp
13232 * gdb.base/run-after-attach.exp
13233 * gdb.base/save-bp.exp
13234 * gdb.base/scope.exp
13235 * gdb.base/sect-cmd.exp
13236 * gdb.base/set-lang-auto.exp
13237 * gdb.base/set-noassign.exp
13238 * gdb.base/setvar.exp
13239 * gdb.base/sigall.exp
13240 * gdb.base/sigbpt.exp
13241 * gdb.base/siginfo-addr.exp
13242 * gdb.base/siginfo-infcall.exp
13243 * gdb.base/siginfo-obj.exp
13244 * gdb.base/siginfo.exp
13245 * gdb.base/signals-state-child.exp
13246 * gdb.base/signest.exp
13247 * gdb.base/sigstep.exp
13248 * gdb.base/sizeof.exp
13249 * gdb.base/skip.exp
13250 * gdb.base/solib-corrupted.exp
13251 * gdb.base/solib-nodir.exp
13252 * gdb.base/solib-search.exp
13253 * gdb.base/stack-checking.exp
13254 * gdb.base/stale-infcall.exp
13255 * gdb.base/stap-probe.exp
13256 * gdb.base/start.exp
13257 * gdb.base/step-break.exp
13258 * gdb.base/step-bt.exp
13259 * gdb.base/step-line.exp
13260 * gdb.base/step-over-exit.exp
13261 * gdb.base/step-over-syscall.exp
13262 * gdb.base/step-resume-infcall.exp
13263 * gdb.base/step-test.exp
13264 * gdb.base/store.exp
13265 * gdb.base/structs3.exp
13266 * gdb.base/sym-file.exp
13267 * gdb.base/symbol-without-target_section.exp
13268 * gdb.base/term.exp
13269 * gdb.base/testenv.exp
13270 * gdb.base/ui-redirect.exp
13271 * gdb.base/until.exp
13272 * gdb.base/unwindonsignal.exp
13273 * gdb.base/value-double-free.exp
13274 * gdb.base/vla-datatypes.exp
13275 * gdb.base/vla-ptr.exp
13276 * gdb.base/vla-sideeffect.exp
13277 * gdb.base/volatile.exp
13278 * gdb.base/watch-cond-infcall.exp
13279 * gdb.base/watch-cond.exp
13280 * gdb.base/watch-non-mem.exp
13281 * gdb.base/watch-read.exp
13282 * gdb.base/watch-vfork.exp
13283 * gdb.base/watchpoint-cond-gone.exp
13284 * gdb.base/watchpoint-delete.exp
13285 * gdb.base/watchpoint-hw-hit-once.exp
13286 * gdb.base/watchpoint-hw.exp
13287 * gdb.base/watchpoint-stops-at-right-insn.exp
13288 * gdb.base/watchpoints.exp
13289 * gdb.base/wchar.exp
13290 * gdb.base/whatis-exp.exp
13291 * gdb.btrace/buffer-size.exp
13292 * gdb.btrace/data.exp
13293 * gdb.btrace/delta.exp
13294 * gdb.btrace/dlopen.exp
13295 * gdb.btrace/enable.exp
13296 * gdb.btrace/exception.exp
13297 * gdb.btrace/function_call_history.exp
13298 * gdb.btrace/gcore.exp
13299 * gdb.btrace/instruction_history.exp
13300 * gdb.btrace/nohist.exp
13301 * gdb.btrace/reconnect.exp
13302 * gdb.btrace/record_goto-step.exp
13303 * gdb.btrace/record_goto.exp
13304 * gdb.btrace/rn-dl-bind.exp
13305 * gdb.btrace/segv.exp
13306 * gdb.btrace/step.exp
13307 * gdb.btrace/stepi.exp
13308 * gdb.btrace/tailcall-only.exp
13309 * gdb.btrace/tailcall.exp
13310 * gdb.btrace/tsx.exp
13311 * gdb.btrace/unknown_functions.exp
13312 * gdb.btrace/vdso.exp
13313 * gdb.compile/compile-ifunc.exp
13314 * gdb.compile/compile-ops.exp
13315 * gdb.compile/compile-print.exp
13316 * gdb.compile/compile-setjmp.exp
13317 * gdb.cp/abstract-origin.exp
13318 * gdb.cp/ambiguous.exp
13319 * gdb.cp/annota2.exp
13320 * gdb.cp/annota3.exp
13321 * gdb.cp/anon-ns.exp
13322 * gdb.cp/anon-struct.exp
13323 * gdb.cp/anon-union.exp
13324 * gdb.cp/arg-reference.exp
13325 * gdb.cp/baseenum.exp
13326 * gdb.cp/bool.exp
13327 * gdb.cp/breakpoint.exp
13328 * gdb.cp/bs15503.exp
13329 * gdb.cp/call-c.exp
13330 * gdb.cp/casts.exp
13331 * gdb.cp/chained-calls.exp
13332 * gdb.cp/class2.exp
13333 * gdb.cp/classes.exp
13334 * gdb.cp/cmpd-minsyms.exp
13335 * gdb.cp/converts.exp
13336 * gdb.cp/cp-relocate.exp
13337 * gdb.cp/cpcompletion.exp
13338 * gdb.cp/cpexprs.exp
13339 * gdb.cp/cplabel.exp
13340 * gdb.cp/cplusfuncs.exp
13341 * gdb.cp/cpsizeof.exp
13342 * gdb.cp/ctti.exp
13343 * gdb.cp/derivation.exp
13344 * gdb.cp/destrprint.exp
13345 * gdb.cp/dispcxx.exp
13346 * gdb.cp/enum-class.exp
13347 * gdb.cp/exception.exp
13348 * gdb.cp/exceptprint.exp
13349 * gdb.cp/expand-psymtabs-cxx.exp
13350 * gdb.cp/expand-sals.exp
13351 * gdb.cp/extern-c.exp
13352 * gdb.cp/filename.exp
13353 * gdb.cp/formatted-ref.exp
13354 * gdb.cp/fpointer.exp
13355 * gdb.cp/gdb1355.exp
13356 * gdb.cp/gdb2495.exp
13357 * gdb.cp/hang.exp
13358 * gdb.cp/impl-this.exp
13359 * gdb.cp/infcall-dlopen.exp
13360 * gdb.cp/inherit.exp
13361 * gdb.cp/iostream.exp
13362 * gdb.cp/koenig.exp
13363 * gdb.cp/local.exp
13364 * gdb.cp/m-data.exp
13365 * gdb.cp/m-static.exp
13366 * gdb.cp/mb-ctor.exp
13367 * gdb.cp/mb-inline.exp
13368 * gdb.cp/mb-templates.exp
13369 * gdb.cp/member-name.exp
13370 * gdb.cp/member-ptr.exp
13371 * gdb.cp/meth-typedefs.exp
13372 * gdb.cp/method.exp
13373 * gdb.cp/method2.exp
13374 * gdb.cp/minsym-fallback.exp
13375 * gdb.cp/misc.exp
13376 * gdb.cp/namelessclass.exp
13377 * gdb.cp/namespace-enum.exp
13378 * gdb.cp/namespace-nested-import.exp
13379 * gdb.cp/namespace.exp
13380 * gdb.cp/nextoverthrow.exp
13381 * gdb.cp/no-dmgl-verbose.exp
13382 * gdb.cp/non-trivial-retval.exp
13383 * gdb.cp/noparam.exp
13384 * gdb.cp/nsdecl.exp
13385 * gdb.cp/nsimport.exp
13386 * gdb.cp/nsnested.exp
13387 * gdb.cp/nsnoimports.exp
13388 * gdb.cp/nsrecurs.exp
13389 * gdb.cp/nsstress.exp
13390 * gdb.cp/nsusing.exp
13391 * gdb.cp/operator.exp
13392 * gdb.cp/oranking.exp
13393 * gdb.cp/overload-const.exp
13394 * gdb.cp/overload.exp
13395 * gdb.cp/ovldbreak.exp
13396 * gdb.cp/ovsrch.exp
13397 * gdb.cp/paren-type.exp
13398 * gdb.cp/parse-lang.exp
13399 * gdb.cp/pass-by-ref.exp
13400 * gdb.cp/pr-1023.exp
13401 * gdb.cp/pr-1210.exp
13402 * gdb.cp/pr-574.exp
13403 * gdb.cp/pr10687.exp
13404 * gdb.cp/pr12028.exp
13405 * gdb.cp/pr17132.exp
13406 * gdb.cp/pr17494.exp
13407 * gdb.cp/pr9067.exp
13408 * gdb.cp/pr9167.exp
13409 * gdb.cp/pr9631.exp
13410 * gdb.cp/printmethod.exp
13411 * gdb.cp/psmang.exp
13412 * gdb.cp/psymtab-parameter.exp
13413 * gdb.cp/ptype-cv-cp.exp
13414 * gdb.cp/ptype-flags.exp
13415 * gdb.cp/re-set-overloaded.exp
13416 * gdb.cp/ref-types.exp
13417 * gdb.cp/rtti.exp
13418 * gdb.cp/scope-err.exp
13419 * gdb.cp/shadow.exp
13420 * gdb.cp/smartp.exp
13421 * gdb.cp/static-method.exp
13422 * gdb.cp/static-print-quit.exp
13423 * gdb.cp/temargs.exp
13424 * gdb.cp/templates.exp
13425 * gdb.cp/try_catch.exp
13426 * gdb.cp/typedef-operator.exp
13427 * gdb.cp/typeid.exp
13428 * gdb.cp/userdef.exp
13429 * gdb.cp/using-crash.exp
13430 * gdb.cp/var-tag.exp
13431 * gdb.cp/virtbase.exp
13432 * gdb.cp/virtfunc.exp
13433 * gdb.cp/virtfunc2.exp
13434 * gdb.cp/vla-cxx.exp
13435 * gdb.disasm/t01_mov.exp
13436 * gdb.disasm/t02_mova.exp
13437 * gdb.disasm/t03_add.exp
13438 * gdb.disasm/t04_sub.exp
13439 * gdb.disasm/t05_cmp.exp
13440 * gdb.disasm/t06_ari2.exp
13441 * gdb.disasm/t07_ari3.exp
13442 * gdb.disasm/t08_or.exp
13443 * gdb.disasm/t09_xor.exp
13444 * gdb.disasm/t10_and.exp
13445 * gdb.disasm/t11_logs.exp
13446 * gdb.disasm/t12_bit.exp
13447 * gdb.disasm/t13_otr.exp
13448 * gdb.dlang/circular.exp
13449 * gdb.dwarf2/arr-stride.exp
13450 * gdb.dwarf2/arr-subrange.exp
13451 * gdb.dwarf2/atomic-type.exp
13452 * gdb.dwarf2/bad-regnum.exp
13453 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13454 * gdb.dwarf2/callframecfa.exp
13455 * gdb.dwarf2/clztest.exp
13456 * gdb.dwarf2/corrupt.exp
13457 * gdb.dwarf2/data-loc.exp
13458 * gdb.dwarf2/dup-psym.exp
13459 * gdb.dwarf2/dw2-anon-mptr.exp
13460 * gdb.dwarf2/dw2-anonymous-func.exp
13461 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13462 * gdb.dwarf2/dw2-bad-unresolved.exp
13463 * gdb.dwarf2/dw2-basic.exp
13464 * gdb.dwarf2/dw2-canonicalize-type.exp
13465 * gdb.dwarf2/dw2-case-insensitive.exp
13466 * gdb.dwarf2/dw2-common-block.exp
13467 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13468 * gdb.dwarf2/dw2-compressed.exp
13469 * gdb.dwarf2/dw2-const.exp
13470 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13471 * gdb.dwarf2/dw2-cu-size.exp
13472 * gdb.dwarf2/dw2-dup-frame.exp
13473 * gdb.dwarf2/dw2-entry-value.exp
13474 * gdb.dwarf2/dw2-icycle.exp
13475 * gdb.dwarf2/dw2-ifort-parameter.exp
13476 * gdb.dwarf2/dw2-inline-break.exp
13477 * gdb.dwarf2/dw2-inline-param.exp
13478 * gdb.dwarf2/dw2-intercu.exp
13479 * gdb.dwarf2/dw2-intermix.exp
13480 * gdb.dwarf2/dw2-lexical-block-bare.exp
13481 * gdb.dwarf2/dw2-linkage-name-trust.exp
13482 * gdb.dwarf2/dw2-minsym-in-cu.exp
13483 * gdb.dwarf2/dw2-noloc.exp
13484 * gdb.dwarf2/dw2-op-call.exp
13485 * gdb.dwarf2/dw2-op-out-param.exp
13486 * gdb.dwarf2/dw2-opt-structptr.exp
13487 * gdb.dwarf2/dw2-param-error.exp
13488 * gdb.dwarf2/dw2-producer.exp
13489 * gdb.dwarf2/dw2-ranges-base.exp
13490 * gdb.dwarf2/dw2-ref-missing-frame.exp
13491 * gdb.dwarf2/dw2-reg-undefined.exp
13492 * gdb.dwarf2/dw2-regno-invalid.exp
13493 * gdb.dwarf2/dw2-restore.exp
13494 * gdb.dwarf2/dw2-restrict.exp
13495 * gdb.dwarf2/dw2-single-line-discriminators.exp
13496 * gdb.dwarf2/dw2-strp.exp
13497 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13498 * gdb.dwarf2/dw2-unresolved.exp
13499 * gdb.dwarf2/dw2-var-zero-addr.exp
13500 * gdb.dwarf2/dw4-sig-types.exp
13501 * gdb.dwarf2/dwz.exp
13502 * gdb.dwarf2/dynarr-ptr.exp
13503 * gdb.dwarf2/enum-type.exp
13504 * gdb.dwarf2/gdb-index.exp
13505 * gdb.dwarf2/implptr-64bit.exp
13506 * gdb.dwarf2/implptr-optimized-out.exp
13507 * gdb.dwarf2/implptr.exp
13508 * gdb.dwarf2/implref-array.exp
13509 * gdb.dwarf2/implref-const.exp
13510 * gdb.dwarf2/implref-global.exp
13511 * gdb.dwarf2/implref-struct.exp
13512 * gdb.dwarf2/mac-fileno.exp
13513 * gdb.dwarf2/main-subprogram.exp
13514 * gdb.dwarf2/member-ptr-forwardref.exp
13515 * gdb.dwarf2/method-ptr.exp
13516 * gdb.dwarf2/missing-sig-type.exp
13517 * gdb.dwarf2/nonvar-access.exp
13518 * gdb.dwarf2/opaque-type-lookup.exp
13519 * gdb.dwarf2/pieces-optimized-out.exp
13520 * gdb.dwarf2/pieces.exp
13521 * gdb.dwarf2/pr10770.exp
13522 * gdb.dwarf2/pr13961.exp
13523 * gdb.dwarf2/staticvirtual.exp
13524 * gdb.dwarf2/subrange.exp
13525 * gdb.dwarf2/symtab-producer.exp
13526 * gdb.dwarf2/trace-crash.exp
13527 * gdb.dwarf2/typeddwarf.exp
13528 * gdb.dwarf2/valop.exp
13529 * gdb.dwarf2/watch-notconst.exp
13530 * gdb.fortran/array-element.exp
13531 * gdb.fortran/charset.exp
13532 * gdb.fortran/common-block.exp
13533 * gdb.fortran/complex.exp
13534 * gdb.fortran/derived-type-function.exp
13535 * gdb.fortran/derived-type.exp
13536 * gdb.fortran/logical.exp
13537 * gdb.fortran/module.exp
13538 * gdb.fortran/multi-dim.exp
13539 * gdb.fortran/nested-funcs.exp
13540 * gdb.fortran/print-formatted.exp
13541 * gdb.fortran/subarray.exp
13542 * gdb.fortran/vla-alloc-assoc.exp
13543 * gdb.fortran/vla-datatypes.exp
13544 * gdb.fortran/vla-history.exp
13545 * gdb.fortran/vla-ptr-info.exp
13546 * gdb.fortran/vla-ptype-sub.exp
13547 * gdb.fortran/vla-ptype.exp
13548 * gdb.fortran/vla-sizeof.exp
13549 * gdb.fortran/vla-type.exp
13550 * gdb.fortran/vla-value-sub-arbitrary.exp
13551 * gdb.fortran/vla-value-sub-finish.exp
13552 * gdb.fortran/vla-value-sub.exp
13553 * gdb.fortran/vla-value.exp
13554 * gdb.fortran/whatis_type.exp
13555 * gdb.go/chan.exp
13556 * gdb.go/handcall.exp
13557 * gdb.go/hello.exp
13558 * gdb.go/integers.exp
13559 * gdb.go/methods.exp
13560 * gdb.go/package.exp
13561 * gdb.go/strings.exp
13562 * gdb.go/types.exp
13563 * gdb.go/unsafe.exp
13564 * gdb.guile/scm-arch.exp
13565 * gdb.guile/scm-block.exp
13566 * gdb.guile/scm-breakpoint.exp
13567 * gdb.guile/scm-cmd.exp
13568 * gdb.guile/scm-disasm.exp
13569 * gdb.guile/scm-equal.exp
13570 * gdb.guile/scm-frame-args.exp
13571 * gdb.guile/scm-frame-inline.exp
13572 * gdb.guile/scm-frame.exp
13573 * gdb.guile/scm-iterator.exp
13574 * gdb.guile/scm-math.exp
13575 * gdb.guile/scm-objfile.exp
13576 * gdb.guile/scm-ports.exp
13577 * gdb.guile/scm-symbol.exp
13578 * gdb.guile/scm-symtab.exp
13579 * gdb.guile/scm-value-cc.exp
13580 * gdb.guile/types-module.exp
13581 * gdb.linespec/break-ask.exp
13582 * gdb.linespec/cpexplicit.exp
13583 * gdb.linespec/explicit.exp
13584 * gdb.linespec/keywords.exp
13585 * gdb.linespec/linespec.exp
13586 * gdb.linespec/ls-dollar.exp
13587 * gdb.linespec/ls-errs.exp
13588 * gdb.linespec/skip-two.exp
13589 * gdb.linespec/thread.exp
13590 * gdb.mi/mi-async.exp
13591 * gdb.mi/mi-basics.exp
13592 * gdb.mi/mi-break.exp
13593 * gdb.mi/mi-catch-load.exp
13594 * gdb.mi/mi-cli.exp
13595 * gdb.mi/mi-cmd-param-changed.exp
13596 * gdb.mi/mi-console.exp
13597 * gdb.mi/mi-detach.exp
13598 * gdb.mi/mi-disassemble.exp
13599 * gdb.mi/mi-eval.exp
13600 * gdb.mi/mi-file-transfer.exp
13601 * gdb.mi/mi-file.exp
13602 * gdb.mi/mi-fill-memory.exp
13603 * gdb.mi/mi-inheritance-syntax-error.exp
13604 * gdb.mi/mi-linespec-err-cp.exp
13605 * gdb.mi/mi-logging.exp
13606 * gdb.mi/mi-memory-changed.exp
13607 * gdb.mi/mi-read-memory.exp
13608 * gdb.mi/mi-record-changed.exp
13609 * gdb.mi/mi-reg-undefined.exp
13610 * gdb.mi/mi-regs.exp
13611 * gdb.mi/mi-return.exp
13612 * gdb.mi/mi-reverse.exp
13613 * gdb.mi/mi-simplerun.exp
13614 * gdb.mi/mi-solib.exp
13615 * gdb.mi/mi-stack.exp
13616 * gdb.mi/mi-stepi.exp
13617 * gdb.mi/mi-syn-frame.exp
13618 * gdb.mi/mi-until.exp
13619 * gdb.mi/mi-var-block.exp
13620 * gdb.mi/mi-var-child.exp
13621 * gdb.mi/mi-var-cmd.exp
13622 * gdb.mi/mi-var-cp.exp
13623 * gdb.mi/mi-var-display.exp
13624 * gdb.mi/mi-var-invalidate.exp
13625 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13626 * gdb.mi/mi-vla-fortran.exp
13627 * gdb.mi/mi-watch.exp
13628 * gdb.mi/mi2-var-child.exp
13629 * gdb.mi/user-selected-context-sync.exp
13630 * gdb.modula2/unbounded-array.exp
13631 * gdb.multi/dummy-frame-restore.exp
13632 * gdb.multi/multi-arch-exec.exp
13633 * gdb.multi/multi-arch.exp
13634 * gdb.multi/tids.exp
13635 * gdb.multi/watchpoint-multi.exp
13636 * gdb.opencl/callfuncs.exp
13637 * gdb.opencl/convs_casts.exp
13638 * gdb.opencl/datatypes.exp
13639 * gdb.opencl/operators.exp
13640 * gdb.opencl/vec_comps.exp
13641 * gdb.opt/clobbered-registers-O2.exp
13642 * gdb.opt/inline-break.exp
13643 * gdb.opt/inline-bt.exp
13644 * gdb.opt/inline-cmds.exp
13645 * gdb.opt/inline-locals.exp
13646 * gdb.pascal/case-insensitive-symbols.exp
13647 * gdb.pascal/floats.exp
13648 * gdb.pascal/gdb11492.exp
13649 * gdb.python/lib-types.exp
13650 * gdb.python/py-arch.exp
13651 * gdb.python/py-as-string.exp
13652 * gdb.python/py-bad-printers.exp
13653 * gdb.python/py-block.exp
13654 * gdb.python/py-breakpoint-create-fail.exp
13655 * gdb.python/py-breakpoint.exp
13656 * gdb.python/py-caller-is.exp
13657 * gdb.python/py-cmd.exp
13658 * gdb.python/py-explore-cc.exp
13659 * gdb.python/py-explore.exp
13660 * gdb.python/py-finish-breakpoint.exp
13661 * gdb.python/py-finish-breakpoint2.exp
13662 * gdb.python/py-frame-args.exp
13663 * gdb.python/py-frame-inline.exp
13664 * gdb.python/py-frame.exp
13665 * gdb.python/py-framefilter-mi.exp
13666 * gdb.python/py-infthread.exp
13667 * gdb.python/py-lazy-string.exp
13668 * gdb.python/py-linetable.exp
13669 * gdb.python/py-mi-events.exp
13670 * gdb.python/py-mi-objfile.exp
13671 * gdb.python/py-mi.exp
13672 * gdb.python/py-objfile.exp
13673 * gdb.python/py-pp-integral.exp
13674 * gdb.python/py-pp-maint.exp
13675 * gdb.python/py-pp-re-notag.exp
13676 * gdb.python/py-pp-registration.exp
13677 * gdb.python/py-recurse-unwind.exp
13678 * gdb.python/py-strfns.exp
13679 * gdb.python/py-symbol.exp
13680 * gdb.python/py-symtab.exp
13681 * gdb.python/py-sync-interp.exp
13682 * gdb.python/py-typeprint.exp
13683 * gdb.python/py-unwind-maint.exp
13684 * gdb.python/py-unwind.exp
13685 * gdb.python/py-value-cc.exp
13686 * gdb.python/py-xmethods.exp
13687 * gdb.reverse/amd64-tailcall-reverse.exp
13688 * gdb.reverse/break-precsave.exp
13689 * gdb.reverse/break-reverse.exp
13690 * gdb.reverse/consecutive-precsave.exp
13691 * gdb.reverse/consecutive-reverse.exp
13692 * gdb.reverse/finish-precsave.exp
13693 * gdb.reverse/finish-reverse-bkpt.exp
13694 * gdb.reverse/finish-reverse.exp
13695 * gdb.reverse/fstatat-reverse.exp
13696 * gdb.reverse/getresuid-reverse.exp
13697 * gdb.reverse/i386-precsave.exp
13698 * gdb.reverse/i386-reverse.exp
13699 * gdb.reverse/i386-sse-reverse.exp
13700 * gdb.reverse/i387-env-reverse.exp
13701 * gdb.reverse/i387-stack-reverse.exp
13702 * gdb.reverse/insn-reverse.exp
13703 * gdb.reverse/machinestate-precsave.exp
13704 * gdb.reverse/machinestate.exp
13705 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13706 * gdb.reverse/pipe-reverse.exp
13707 * gdb.reverse/readv-reverse.exp
13708 * gdb.reverse/recvmsg-reverse.exp
13709 * gdb.reverse/rerun-prec.exp
13710 * gdb.reverse/s390-mvcle.exp
13711 * gdb.reverse/step-precsave.exp
13712 * gdb.reverse/step-reverse.exp
13713 * gdb.reverse/time-reverse.exp
13714 * gdb.reverse/until-precsave.exp
13715 * gdb.reverse/until-reverse.exp
13716 * gdb.reverse/waitpid-reverse.exp
13717 * gdb.reverse/watch-precsave.exp
13718 * gdb.reverse/watch-reverse.exp
13719 * gdb.rust/generics.exp
13720 * gdb.rust/methods.exp
13721 * gdb.rust/modules.exp
13722 * gdb.rust/simple.exp
13723 * gdb.server/connect-with-no-symbol-file.exp
13724 * gdb.server/ext-attach.exp
13725 * gdb.server/ext-restart.exp
13726 * gdb.server/ext-wrapper.exp
13727 * gdb.server/file-transfer.exp
13728 * gdb.server/server-exec-info.exp
13729 * gdb.server/server-kill.exp
13730 * gdb.server/server-mon.exp
13731 * gdb.server/wrapper.exp
13732 * gdb.stabs/exclfwd.exp
13733 * gdb.stabs/gdb11479.exp
13734 * gdb.threads/clone-new-thread-event.exp
13735 * gdb.threads/corethreads.exp
13736 * gdb.threads/current-lwp-dead.exp
13737 * gdb.threads/dlopen-libpthread.exp
13738 * gdb.threads/gcore-thread.exp
13739 * gdb.threads/sigstep-threads.exp
13740 * gdb.threads/watchpoint-fork.exp
13741 * gdb.trace/actions-changed.exp
13742 * gdb.trace/backtrace.exp
13743 * gdb.trace/change-loc.exp
13744 * gdb.trace/circ.exp
13745 * gdb.trace/collection.exp
13746 * gdb.trace/disconnected-tracing.exp
13747 * gdb.trace/ftrace.exp
13748 * gdb.trace/mi-trace-frame-collected.exp
13749 * gdb.trace/mi-trace-unavailable.exp
13750 * gdb.trace/mi-traceframe-changed.exp
13751 * gdb.trace/mi-tsv-changed.exp
13752 * gdb.trace/no-attach-trace.exp
13753 * gdb.trace/passc-dyn.exp
13754 * gdb.trace/qtro.exp
13755 * gdb.trace/range-stepping.exp
13756 * gdb.trace/read-memory.exp
13757 * gdb.trace/save-trace.exp
13758 * gdb.trace/signal.exp
13759 * gdb.trace/status-stop.exp
13760 * gdb.trace/tfile.exp
13761 * gdb.trace/trace-break.exp
13762 * gdb.trace/trace-buffer-size.exp
13763 * gdb.trace/trace-condition.exp
13764 * gdb.trace/tracefile-pseudo-reg.exp
13765 * gdb.trace/tstatus.exp
13766 * gdb.trace/unavailable.exp
13767 * gdb.trace/while-dyn.exp
13768 * gdb.trace/while-stepping.exp
13769
34c41c68
DE
137702016-12-22 Doug Evans <xdje42@gmail.com>
13771
13772 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13773 and msymbols.
13774
16e69324
YQ
137752016-12-19 Yao Qi <yao.qi@linaro.org>
13776
13777 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13778 (test_with_self): Don't call do_steps_and_nexts, and remove
13779 code about stepping into xmalloc.
13780
f94f411b
YQ
137812016-12-09 Yao Qi <yao.qi@linaro.org>
13782
13783 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13784
137852016-12-09 Yao Qi <yao.qi@linaro.org>
13786
13787 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13788
f1b5deee
PA
137892016-12-09 Pedro Alves <palves@redhat.com>
13790
13791 * gdb.base/all-architectures-0.exp: New file.
13792 * gdb.base/all-architectures-1.exp: New file.
13793 * gdb.base/all-architectures-2.exp: New file.
13794 * gdb.base/all-architectures-3.exp: New file.
13795 * gdb.base/all-architectures-4.exp: New file.
13796 * gdb.base/all-architectures-5.exp: New file.
13797 * gdb.base/all-architectures-6.exp: New file.
13798 * gdb.base/all-architectures-7.exp: New file.
13799 * gdb.base/all-architectures.exp.in: New file.
13800
364ca42e
YQ
138012016-12-09 Yao Qi <yao.qi@linaro.org>
13802
13803 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13804
107c2d62
LM
138052016-12-02 Luis Machado <lgustavo@codesourcery.com>
13806
13807 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13808 possible.
13809 Remove useless pattern-matching code.
13810
df3ee9ca
PA
138112016-12-02 Pedro Alves <palves@redhat.com>
13812
13813 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13814 procedure.
13815 (top level): Call it.
13816
ec835369
PA
138172016-12-02 Pedro Alves <palves@redhat.com>
13818
13819 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13820 New procedure.
13821 (top level): Call it.
13822
01770bbd
PA
138232016-12-02 Pedro Alves <palves@redhat.com>
13824
13825 PR cli/20559
13826 * gdb.base/commands.exp (user_defined_command_args_eval): New
13827 procedure.
13828 (top level): Call it.
13829
008459ea
LM
138302016-12-02 Luis Machado <lgustavo@codesourcery.com>
13831
13832 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13833 timeout handling.
13834
0c1b455e
TT
138352016-12-02 Tom Tromey <tom@tromey.com>
13836
13837 * gdb.dwarf2/main-subprogram.c: New file.
13838 * gdb.dwarf2/main-subprogram.exp: New file.
13839
018572b8
LM
138402016-12-01 Luis Machado <lgustavo@codesourcery.com>
13841
13842 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13843 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13844 gdb_test_no_output for a couple of cases.
13845 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13846
84c93cd5
LM
138472016-12-01 Luis Machado <lgustavo@codesourcery.com>
13848
13849 Fix test names and standardize compilation error messages throughout
13850 the following files:
13851
13852 * gdb.ada/start.exp
13853 * gdb.arch/alpha-step.exp
13854 * gdb.arch/e500-prologue.exp
13855 * gdb.arch/ftrace-insn-reloc.exp
13856 * gdb.arch/gdb1291.exp
13857 * gdb.arch/gdb1431.exp
13858 * gdb.arch/gdb1558.exp
13859 * gdb.arch/i386-dr3-watch.exp
13860 * gdb.arch/i386-sse-stack-align.exp
13861 * gdb.arch/ia64-breakpoint-shadow.exp
13862 * gdb.arch/pa-nullify.exp
13863 * gdb.arch/powerpc-aix-prologue.exp
13864 * gdb.arch/thumb-bx-pc.exp
13865 * gdb.base/annota1.exp
13866 * gdb.base/annota3.exp
13867 * gdb.base/arrayidx.exp
13868 * gdb.base/assign.exp
13869 * gdb.base/attach.exp
13870 * gdb.base/auxv.exp
13871 * gdb.base/bang.exp
13872 * gdb.base/bfp-test.exp
13873 * gdb.base/bigcore.exp
13874 * gdb.base/bitfields2.exp
13875 * gdb.base/break-fun-addr.exp
13876 * gdb.base/break-probes.exp
13877 * gdb.base/call-rt-st.exp
13878 * gdb.base/callexit.exp
13879 * gdb.base/catch-fork-kill.exp
13880 * gdb.base/charset.exp
13881 * gdb.base/checkpoint.exp
13882 * gdb.base/comprdebug.exp
13883 * gdb.base/constvars.exp
13884 * gdb.base/coredump-filter.exp
13885 * gdb.base/cursal.exp
13886 * gdb.base/cvexpr.exp
13887 * gdb.base/detach.exp
13888 * gdb.base/display.exp
13889 * gdb.base/dmsym.exp
13890 * gdb.base/dprintf-pending.exp
13891 * gdb.base/dso2dso.exp
13892 * gdb.base/dtrace-probe.exp
13893 * gdb.base/dump.exp
13894 * gdb.base/enum_cond.exp
13895 * gdb.base/exe-lock.exp
13896 * gdb.base/exec-invalid-sysroot.exp
13897 * gdb.base/execl-update-breakpoints.exp
13898 * gdb.base/exprs.exp
13899 * gdb.base/fileio.exp
13900 * gdb.base/find.exp
13901 * gdb.base/finish.exp
13902 * gdb.base/fixsection.exp
13903 * gdb.base/foll-vfork.exp
13904 * gdb.base/frame-args.exp
13905 * gdb.base/gcore.exp
13906 * gdb.base/gdb1250.exp
13907 * gdb.base/global-var-nested-by-dso.exp
13908 * gdb.base/gnu-ifunc.exp
13909 * gdb.base/hashline1.exp
13910 * gdb.base/hashline2.exp
13911 * gdb.base/hashline3.exp
13912 * gdb.base/hbreak-in-shr-unsupported.exp
13913 * gdb.base/huge.exp
13914 * gdb.base/infcall-input.exp
13915 * gdb.base/info-fun.exp
13916 * gdb.base/info-shared.exp
13917 * gdb.base/jit-simple.exp
13918 * gdb.base/jit-so.exp
13919 * gdb.base/jit.exp
13920 * gdb.base/jump.exp
13921 * gdb.base/label.exp
13922 * gdb.base/lineinc.exp
13923 * gdb.base/logical.exp
13924 * gdb.base/longjmp.exp
13925 * gdb.base/macscp.exp
13926 * gdb.base/miscexprs.exp
13927 * gdb.base/new-ui-echo.exp
13928 * gdb.base/new-ui-pending-input.exp
13929 * gdb.base/new-ui.exp
13930 * gdb.base/nodebug.exp
13931 * gdb.base/nofield.exp
13932 * gdb.base/offsets.exp
13933 * gdb.base/overlays.exp
13934 * gdb.base/pending.exp
13935 * gdb.base/pointers.exp
13936 * gdb.base/pr11022.exp
13937 * gdb.base/printcmds.exp
13938 * gdb.base/prologue.exp
13939 * gdb.base/ptr-typedef.exp
13940 * gdb.base/realname-expand.exp
13941 * gdb.base/relativedebug.exp
13942 * gdb.base/relocate.exp
13943 * gdb.base/remote.exp
13944 * gdb.base/reread.exp
13945 * gdb.base/return2.exp
13946 * gdb.base/savedregs.exp
13947 * gdb.base/sep.exp
13948 * gdb.base/sepdebug.exp
13949 * gdb.base/sepsymtab.exp
13950 * gdb.base/set-inferior-tty.exp
13951 * gdb.base/setshow.exp
13952 * gdb.base/shlib-call.exp
13953 * gdb.base/sigaltstack.exp
13954 * gdb.base/siginfo-addr.exp
13955 * gdb.base/signals.exp
13956 * gdb.base/signull.exp
13957 * gdb.base/sigrepeat.exp
13958 * gdb.base/so-impl-ld.exp
13959 * gdb.base/solib-display.exp
13960 * gdb.base/solib-overlap.exp
13961 * gdb.base/solib-search.exp
13962 * gdb.base/solib-symbol.exp
13963 * gdb.base/structs.exp
13964 * gdb.base/structs2.exp
13965 * gdb.base/symtab-search-order.exp
13966 * gdb.base/twice.exp
13967 * gdb.base/unload.exp
13968 * gdb.base/varargs.exp
13969 * gdb.base/watchpoint-solib.exp
13970 * gdb.base/watchpoint.exp
13971 * gdb.base/whatis.exp
13972 * gdb.base/wrong_frame_bt_full.exp
13973 * gdb.btrace/dlopen.exp
13974 * gdb.cell/ea-standalone.exp
13975 * gdb.cell/ea-test.exp
13976 * gdb.cp/dispcxx.exp
13977 * gdb.cp/gdb2384.exp
13978 * gdb.cp/method2.exp
13979 * gdb.cp/nextoverthrow.exp
13980 * gdb.cp/pr10728.exp
13981 * gdb.disasm/am33.exp
13982 * gdb.disasm/h8300s.exp
13983 * gdb.disasm/mn10300.exp
13984 * gdb.disasm/sh3.exp
13985 * gdb.dwarf2/dw2-dir-file-name.exp
13986 * gdb.fortran/complex.exp
13987 * gdb.fortran/library-module.exp
13988 * gdb.guile/scm-pretty-print.exp
13989 * gdb.guile/scm-symbol.exp
13990 * gdb.guile/scm-type.exp
13991 * gdb.guile/scm-value.exp
13992 * gdb.linespec/linespec.exp
13993 * gdb.mi/gdb701.exp
13994 * gdb.mi/gdb792.exp
13995 * gdb.mi/mi-breakpoint-changed.exp
13996 * gdb.mi/mi-dprintf-pending.exp
13997 * gdb.mi/mi-dprintf.exp
13998 * gdb.mi/mi-exit-code.exp
13999 * gdb.mi/mi-pending.exp
14000 * gdb.mi/mi-solib.exp
14001 * gdb.mi/new-ui-mi-sync.exp
14002 * gdb.mi/pr11022.exp
14003 * gdb.mi/user-selected-context-sync.exp
14004 * gdb.opt/solib-intra-step.exp
14005 * gdb.python/py-events.exp
14006 * gdb.python/py-finish-breakpoint.exp
14007 * gdb.python/py-mi.exp
14008 * gdb.python/py-prettyprint.exp
14009 * gdb.python/py-shared.exp
14010 * gdb.python/py-symbol.exp
14011 * gdb.python/py-template.exp
14012 * gdb.python/py-type.exp
14013 * gdb.python/py-value.exp
14014 * gdb.reverse/solib-precsave.exp
14015 * gdb.reverse/solib-reverse.exp
14016 * gdb.server/solib-list.exp
14017 * gdb.stabs/weird.exp
14018 * gdb.threads/reconnect-signal.exp
14019 * gdb.threads/stepi-random-signal.exp
14020 * gdb.trace/actions.exp
14021 * gdb.trace/ax.exp
14022 * gdb.trace/backtrace.exp
14023 * gdb.trace/change-loc.exp
14024 * gdb.trace/deltrace.exp
14025 * gdb.trace/ftrace-lock.exp
14026 * gdb.trace/ftrace.exp
14027 * gdb.trace/infotrace.exp
14028 * gdb.trace/mi-tracepoint-changed.exp
14029 * gdb.trace/packetlen.exp
14030 * gdb.trace/passcount.exp
14031 * gdb.trace/pending.exp
14032 * gdb.trace/range-stepping.exp
14033 * gdb.trace/report.exp
14034 * gdb.trace/stap-trace.exp
14035 * gdb.trace/tfind.exp
14036 * gdb.trace/trace-break.exp
14037 * gdb.trace/trace-condition.exp
14038 * gdb.trace/trace-enable-disable.exp
14039 * gdb.trace/trace-mt.exp
14040 * gdb.trace/tracecmd.exp
14041 * gdb.trace/tspeed.exp
14042 * gdb.trace/tsv.exp
14043 * lib/perftest.exp
14044
fb9feb35
LM
140452016-12-01 Luis Machado <lgustavo@codesourcery.com>
14046
14047 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14048 with gdb_test_no_output.
14049 Use command as test name.
14050
cd2ddb6c
LM
140512016-12-01 Luis Machado <lgustavo@codesourcery.com>
14052
14053 Fix test names starting with uppercase throughout the files.
14054
14055 * gdb.ada/assign_1.exp
14056 * gdb.ada/boolean_expr.exp
14057 * gdb.base/arrayidx.exp
14058 * gdb.base/del.exp
14059 * gdb.base/gcore-buffer-overflow.exp
14060 * gdb.base/testenv.exp
14061 * gdb.compile/compile.exp
14062 * gdb.python/py-framefilter-invalidarg.exp
14063 * gdb.python/py-framefilter.exp
14064
bb95117e
LM
140652016-12-01 Luis Machado <lgustavo@codesourcery.com>
14066
14067 Fix test names starting with uppercase throughout the files.
14068
14069 * gdb.ada/array_return.exp
14070 * gdb.ada/expr_delims.exp
14071 * gdb.ada/mi_dyn_arr.exp
14072 * gdb.ada/mi_interface.exp
14073 * gdb.ada/mi_var_array.exp
14074 * gdb.ada/watch_arg.exp
14075 * gdb.arch/alpha-step.exp
14076 * gdb.arch/altivec-regs.exp
14077 * gdb.arch/e500-regs.exp
14078 * gdb.arch/powerpc-d128-regs.exp
14079 * gdb.base/arrayidx.exp
14080 * gdb.base/break.exp
14081 * gdb.base/checkpoint.exp
14082 * gdb.base/debug-expr.exp
14083 * gdb.base/dmsym.exp
14084 * gdb.base/radix.exp
14085 * gdb.base/sepdebug.exp
14086 * gdb.base/testenv.exp
14087 * gdb.base/watch_thread_num.exp
14088 * gdb.base/watchpoint-cond-gone.exp
14089 * gdb.cell/break.exp
14090 * gdb.cell/ea-cache.exp
14091 * gdb.compile/compile.exp
14092 * gdb.cp/gdb2495.exp
14093 * gdb.gdb/selftest.exp
14094 * gdb.gdb/xfullpath.exp
14095 * gdb.go/hello.exp
14096 * gdb.go/integers.exp
14097 * gdb.objc/basicclass.exp
14098 * gdb.pascal/hello.exp
14099 * gdb.pascal/integers.exp
14100 * gdb.python/py-breakpoint.exp
14101 * gdb.python/py-cmd.exp
14102 * gdb.python/py-linetable.exp
14103 * gdb.python/py-xmethods.exp
14104 * gdb.python/python.exp
14105 * gdb.reverse/consecutive-precsave.exp
14106 * gdb.reverse/finish-precsave.exp
14107 * gdb.reverse/i386-precsave.exp
14108 * gdb.reverse/machinestate-precsave.exp
14109 * gdb.reverse/sigall-precsave.exp
14110 * gdb.reverse/solib-precsave.exp
14111 * gdb.reverse/step-precsave.exp
14112 * gdb.reverse/until-precsave.exp
14113 * gdb.reverse/watch-precsave.exp
14114 * gdb.threads/leader-exit.exp
14115 * gdb.threads/pthreads.exp
14116 * gdb.threads/wp-replication.exp
14117 * gdb.trace/actions.exp
14118 * gdb.trace/mi-tsv-changed.exp
14119 * gdb.trace/tsv.exp
14120
de97fdd4
LM
141212016-12-01 Luis Machado <lgustavo@codesourcery.com>
14122
14123 Fix test names starting with uppercase throughout the files.
14124
14125 * gdb.arch/i386-bp_permanent.exp
14126 * gdb.arch/i386-gnu-cfi.exp
14127 * gdb.base/disasm-end-cu.exp
14128 * gdb.base/macscp.exp
14129 * gdb.base/pending.exp
14130 * gdb.base/watch_thread_num.exp
14131 * gdb.cp/exception.exp
14132 * gdb.cp/gdb2495.exp
14133 * gdb.cp/local.exp
14134 * gdb.python/py-evsignal.exp
14135 * gdb.python/python.exp
14136 * gdb.trace/tracecmd.exp
14137
9f058c10
LM
141382016-12-01 Luis Machado <lgustavo@codesourcery.com>
14139
14140 Fix test names starting with uppercase throughout the files.
14141
14142 * gdb.base/charset.exp
14143 * gdb.base/eval.exp
14144 * gdb.base/multi-forks.exp
14145 * gdb.guile/scm-progspace.exp
14146 * gdb.opencl/datatypes.exp
14147 * gdb.python/py-block.exp
14148 * gdb.python/py-function.exp
14149 * gdb.python/py-symbol.exp
14150 * gdb.python/py-symtab.exp
14151 * gdb.python/py-xmethods.exp
14152 * gdb.reverse/break-precsave.exp
14153 * gdb.reverse/break-reverse.exp
14154 * gdb.reverse/consecutive-precsave.exp
14155 * gdb.reverse/consecutive-reverse.exp
14156 * gdb.reverse/finish-precsave.exp
14157 * gdb.reverse/finish-reverse-bkpt.exp
14158 * gdb.reverse/finish-reverse.exp
14159 * gdb.reverse/fstatat-reverse.exp
14160 * gdb.reverse/getresuid-reverse.exp
14161 * gdb.reverse/i386-precsave.exp
14162 * gdb.reverse/i386-reverse.exp
14163 * gdb.reverse/i386-sse-reverse.exp
14164 * gdb.reverse/i387-stack-reverse.exp
14165 * gdb.reverse/insn-reverse.exp
14166 * gdb.reverse/machinestate-precsave.exp
14167 * gdb.reverse/machinestate.exp
14168 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14169 * gdb.reverse/pipe-reverse.exp
14170 * gdb.reverse/readv-reverse.exp
14171 * gdb.reverse/recvmsg-reverse.exp
14172 * gdb.reverse/rerun-prec.exp
14173 * gdb.reverse/s390-mvcle.exp
14174 * gdb.reverse/sigall-precsave.exp
14175 * gdb.reverse/sigall-reverse.exp
14176 * gdb.reverse/solib-precsave.exp
14177 * gdb.reverse/solib-reverse.exp
14178 * gdb.reverse/step-precsave.exp
14179 * gdb.reverse/step-reverse.exp
14180 * gdb.reverse/time-reverse.exp
14181 * gdb.reverse/until-precsave.exp
14182 * gdb.reverse/until-reverse.exp
14183 * gdb.reverse/waitpid-reverse.exp
14184 * gdb.reverse/watch-precsave.exp
14185 * gdb.reverse/watch-reverse.exp
14186
cdc7edd7
LM
141872016-12-01 Luis Machado <lgustavo@codesourcery.com>
14188
14189 Fix test names starting with uppercase throughout the files.
14190
14191 * gdb.arch/i386-mpx-simple_segv.exp
14192 * gdb.arch/i386-mpx.exp
14193 * gdb.arch/i386-permbkpt.exp
14194 * gdb.arch/pa-nullify.exp
14195 * gdb.arch/powerpc-d128-regs.exp
14196 * gdb.arch/vsx-regs.exp
14197 * gdb.base/bfp-test.exp
14198 * gdb.base/break.exp
14199 * gdb.base/breakpoint-shadow.exp
14200 * gdb.base/callfuncs.exp
14201 * gdb.base/charset.exp
14202 * gdb.base/commands.exp
14203 * gdb.base/completion.exp
14204 * gdb.base/dfp-test.exp
14205 * gdb.base/echo.exp
14206 * gdb.base/ending-run.exp
14207 * gdb.base/eval.exp
14208 * gdb.base/expand-psymtabs.exp
14209 * gdb.base/float128.exp
14210 * gdb.base/floatn.exp
14211 * gdb.base/foll-exec-mode.exp
14212 * gdb.base/gdb1056.exp
14213 * gdb.base/gdb11531.exp
14214 * gdb.base/kill-after-signal.exp
14215 * gdb.base/multi-forks.exp
14216 * gdb.base/overlays.exp
14217 * gdb.base/pending.exp
14218 * gdb.base/sepdebug.exp
14219 * gdb.base/testenv.exp
14220 * gdb.base/valgrind-db-attach.exp
14221 * gdb.base/watch_thread_num.exp
14222 * gdb.base/watchpoint-cond-gone.exp
14223 * gdb.base/watchpoint.exp
14224 * gdb.base/watchpoints.exp
14225 * gdb.cp/arg-reference.exp
14226 * gdb.cp/baseenum.exp
14227 * gdb.cp/operator.exp
14228 * gdb.cp/shadow.exp
14229 * gdb.dwarf2/dw2-op-out-param.exp
14230 * gdb.dwarf2/dw2-reg-undefined.exp
14231 * gdb.go/chan.exp
14232 * gdb.go/hello.exp
14233 * gdb.go/integers.exp
14234 * gdb.go/methods.exp
14235 * gdb.go/package.exp
14236 * gdb.guile/scm-parameter.exp
14237 * gdb.guile/scm-progspace.exp
14238 * gdb.guile/scm-value.exp
14239 * gdb.mi/mi-pending.exp
14240 * gdb.mi/user-selected-context-sync.exp
14241 * gdb.multi/multi-attach.exp
14242 * gdb.multi/tids.exp
14243 * gdb.opt/clobbered-registers-O2.exp
14244 * gdb.pascal/floats.exp
14245 * gdb.pascal/integers.exp
14246 * gdb.python/py-block.exp
14247 * gdb.python/py-events.exp
14248 * gdb.python/py-parameter.exp
14249 * gdb.python/py-symbol.exp
14250 * gdb.python/py-symtab.exp
14251 * gdb.python/py-type.exp
14252 * gdb.python/py-value.exp
14253 * gdb.python/py-xmethods.exp
14254 * gdb.python/python.exp
14255 * gdb.reverse/break-precsave.exp
14256 * gdb.reverse/consecutive-precsave.exp
14257 * gdb.reverse/finish-precsave.exp
14258 * gdb.reverse/i386-precsave.exp
14259 * gdb.reverse/machinestate-precsave.exp
14260 * gdb.reverse/sigall-precsave.exp
14261 * gdb.reverse/solib-precsave.exp
14262 * gdb.reverse/step-precsave.exp
14263 * gdb.reverse/until-precsave.exp
14264 * gdb.reverse/watch-precsave.exp
14265 * gdb.server/ext-attach.exp
14266 * gdb.server/ext-restart.exp
14267 * gdb.server/ext-run.exp
14268 * gdb.server/ext-wrapper.exp
14269 * gdb.stabs/gdb11479.exp
14270 * gdb.stabs/weird.exp
14271 * gdb.threads/attach-many-short-lived-threads.exp
14272 * gdb.threads/kill.exp
14273 * gdb.threads/watchpoint-fork.exp
14274
bc6c7af4
LM
142752016-12-01 Luis Machado <lgustavo@codesourcery.com>
14276
14277 Fix test names starting with uppercase throughout all the files below.
14278
14279 * gdb.ada/array_return.exp
14280 * gdb.ada/catch_ex.exp
14281 * gdb.ada/info_exc.exp
14282 * gdb.ada/mi_catch_ex.exp
14283 * gdb.ada/mi_dyn_arr.exp
14284 * gdb.ada/mi_ex_cond.exp
14285 * gdb.ada/mi_exc_info.exp
14286 * gdb.ada/mi_interface.exp
14287 * gdb.ada/mi_task_arg.exp
14288 * gdb.ada/mi_task_info.exp
14289 * gdb.ada/mi_var_array.exp
14290 * gdb.arch/alpha-step.exp
14291 * gdb.arch/amd64-disp-step.exp
14292 * gdb.arch/arm-disp-step.exp
14293 * gdb.arch/disp-step-insn-reloc.exp
14294 * gdb.arch/e500-prologue.exp
14295 * gdb.arch/ftrace-insn-reloc.exp
14296 * gdb.arch/gdb1558.exp
14297 * gdb.arch/i386-bp_permanent.exp
14298 * gdb.arch/i386-disp-step.exp
14299 * gdb.arch/i386-float.exp
14300 * gdb.arch/i386-gnu-cfi.exp
14301 * gdb.arch/ia64-breakpoint-shadow.exp
14302 * gdb.arch/mips16-thunks.exp
14303 * gdb.arch/pa-nullify.exp
14304 * gdb.arch/powerpc-aix-prologue.exp
14305 * gdb.arch/powerpc-power.exp
14306 * gdb.arch/ppc-dfp.exp
14307 * gdb.arch/s390-tdbregs.exp
14308 * gdb.arch/spu-info.exp
14309 * gdb.arch/spu-ls.exp
14310 * gdb.arch/thumb-bx-pc.exp
14311 * gdb.base/advance.exp
14312 * gdb.base/annota-input-while-running.exp
14313 * gdb.base/arrayidx.exp
14314 * gdb.base/asmlabel.exp
14315 * gdb.base/async.exp
14316 * gdb.base/attach-wait-input.exp
14317 * gdb.base/auto-connect-native-target.exp
14318 * gdb.base/batch-preserve-term-settings.exp
14319 * gdb.base/bfp-test.exp
14320 * gdb.base/bigcore.exp
14321 * gdb.base/bp-permanent.exp
14322 * gdb.base/break-always.exp
14323 * gdb.base/break-fun-addr.exp
14324 * gdb.base/break-idempotent.exp
14325 * gdb.base/break-main-file-remove-fail.exp
14326 * gdb.base/break-probes.exp
14327 * gdb.base/break-unload-file.exp
14328 * gdb.base/break.exp
14329 * gdb.base/call-ar-st.exp
14330 * gdb.base/call-rt-st.exp
14331 * gdb.base/call-sc.exp
14332 * gdb.base/call-signal-resume.exp
14333 * gdb.base/call-strs.exp
14334 * gdb.base/callexit.exp
14335 * gdb.base/callfuncs.exp
14336 * gdb.base/catch-gdb-caused-signals.exp
14337 * gdb.base/catch-signal-siginfo-cond.exp
14338 * gdb.base/catch-syscall.exp
14339 * gdb.base/compare-sections.exp
14340 * gdb.base/cond-eval-mode.exp
14341 * gdb.base/condbreak-call-false.exp
14342 * gdb.base/consecutive-step-over.exp
14343 * gdb.base/cursal.exp
14344 * gdb.base/disabled-location.exp
14345 * gdb.base/disasm-end-cu.exp
14346 * gdb.base/display.exp
14347 * gdb.base/double-prompt-target-event-error.exp
14348 * gdb.base/dprintf-bp-same-addr.exp
14349 * gdb.base/dprintf-detach.exp
14350 * gdb.base/dprintf-next.exp
14351 * gdb.base/dprintf-non-stop.exp
14352 * gdb.base/dprintf-pending.exp
14353 * gdb.base/dso2dso.exp
14354 * gdb.base/ending-run.exp
14355 * gdb.base/enum_cond.exp
14356 * gdb.base/examine-backward.exp
14357 * gdb.base/exe-lock.exp
14358 * gdb.base/exec-invalid-sysroot.exp
14359 * gdb.base/execl-update-breakpoints.exp
14360 * gdb.base/execution-termios.exp
14361 * gdb.base/fileio.exp
14362 * gdb.base/fixsection.exp
14363 * gdb.base/foll-exec-mode.exp
14364 * gdb.base/foll-exec.exp
14365 * gdb.base/fork-running-state.exp
14366 * gdb.base/frame-args.exp
14367 * gdb.base/fullpath-expand.exp
14368 * gdb.base/func-ptr.exp
14369 * gdb.base/gcore-relro-pie.exp
14370 * gdb.base/gdb1090.exp
14371 * gdb.base/gdb1555.exp
14372 * gdb.base/global-var-nested-by-dso.exp
14373 * gdb.base/gnu-ifunc.exp
14374 * gdb.base/hbreak-in-shr-unsupported.exp
14375 * gdb.base/hbreak-unmapped.exp
14376 * gdb.base/hook-stop.exp
14377 * gdb.base/infcall-input.exp
14378 * gdb.base/info-fun.exp
14379 * gdb.base/info-shared.exp
14380 * gdb.base/interrupt-noterm.exp
14381 * gdb.base/jit-so.exp
14382 * gdb.base/jit.exp
14383 * gdb.base/line-symtabs.exp
14384 * gdb.base/list.exp
14385 * gdb.base/longjmp.exp
14386 * gdb.base/macscp.exp
14387 * gdb.base/max-value-size.exp
14388 * gdb.base/nodebug.exp
14389 * gdb.base/nofield.exp
14390 * gdb.base/overlays.exp
14391 * gdb.base/paginate-after-ctrl-c-running.exp
14392 * gdb.base/paginate-bg-execution.exp
14393 * gdb.base/paginate-inferior-exit.exp
14394 * gdb.base/pending.exp
14395 * gdb.base/pr11022.exp
14396 * gdb.base/printcmds.exp
14397 * gdb.base/ptr-typedef.exp
14398 * gdb.base/ptype.exp
14399 * gdb.base/randomize.exp
14400 * gdb.base/range-stepping.exp
14401 * gdb.base/realname-expand.exp
14402 * gdb.base/relativedebug.exp
14403 * gdb.base/remote.exp
14404 * gdb.base/savedregs.exp
14405 * gdb.base/sepdebug.exp
14406 * gdb.base/set-noassign.exp
14407 * gdb.base/shlib-call.exp
14408 * gdb.base/shreloc.exp
14409 * gdb.base/sigaltstack.exp
14410 * gdb.base/sigbpt.exp
14411 * gdb.base/siginfo-addr.exp
14412 * gdb.base/siginfo-obj.exp
14413 * gdb.base/siginfo-thread.exp
14414 * gdb.base/signest.exp
14415 * gdb.base/signull.exp
14416 * gdb.base/sigrepeat.exp
14417 * gdb.base/skip.exp
14418 * gdb.base/so-impl-ld.exp
14419 * gdb.base/solib-corrupted.exp
14420 * gdb.base/solib-disc.exp
14421 * gdb.base/solib-display.exp
14422 * gdb.base/solib-overlap.exp
14423 * gdb.base/solib-search.exp
14424 * gdb.base/solib-symbol.exp
14425 * gdb.base/source-execution.exp
14426 * gdb.base/sss-bp-on-user-bp-2.exp
14427 * gdb.base/sss-bp-on-user-bp.exp
14428 * gdb.base/stack-checking.exp
14429 * gdb.base/stale-infcall.exp
14430 * gdb.base/step-break.exp
14431 * gdb.base/step-line.exp
14432 * gdb.base/step-over-exit.exp
14433 * gdb.base/step-test.exp
14434 * gdb.base/structs.exp
14435 * gdb.base/sym-file.exp
14436 * gdb.base/symtab-search-order.exp
14437 * gdb.base/term.exp
14438 * gdb.base/type-opaque.exp
14439 * gdb.base/unload.exp
14440 * gdb.base/until-nodebug.exp
14441 * gdb.base/until.exp
14442 * gdb.base/unwindonsignal.exp
14443 * gdb.base/watch-cond.exp
14444 * gdb.base/watch-non-mem.exp
14445 * gdb.base/watch_thread_num.exp
14446 * gdb.base/watchpoint-reuse-slot.exp
14447 * gdb.base/watchpoint-solib.exp
14448 * gdb.base/watchpoint.exp
14449 * gdb.btrace/dlopen.exp
14450 * gdb.cell/arch.exp
14451 * gdb.cell/break.exp
14452 * gdb.cell/bt.exp
14453 * gdb.cell/core.exp
14454 * gdb.cell/data.exp
14455 * gdb.cell/dwarfaddr.exp
14456 * gdb.cell/ea-cache.exp
14457 * gdb.cell/ea-standalone.exp
14458 * gdb.cell/ea-test.exp
14459 * gdb.cell/f-regs.exp
14460 * gdb.cell/fork.exp
14461 * gdb.cell/gcore.exp
14462 * gdb.cell/mem-access.exp
14463 * gdb.cell/ptype.exp
14464 * gdb.cell/registers.exp
14465 * gdb.cell/sizeof.exp
14466 * gdb.cell/solib-symbol.exp
14467 * gdb.cell/solib.exp
14468 * gdb.compile/compile-tls.exp
14469 * gdb.cp/exception.exp
14470 * gdb.cp/gdb2495.exp
14471 * gdb.cp/local.exp
14472 * gdb.cp/mb-inline.exp
14473 * gdb.cp/mb-templates.exp
14474 * gdb.cp/pr10687.exp
14475 * gdb.cp/pr9167.exp
14476 * gdb.cp/scope-err.exp
14477 * gdb.cp/templates.exp
14478 * gdb.cp/virtfunc.exp
14479 * gdb.dwarf2/dw2-dir-file-name.exp
14480 * gdb.dwarf2/dw2-single-line-discriminators.exp
14481 * gdb.fortran/complex.exp
14482 * gdb.fortran/library-module.exp
14483 * gdb.guile/guile.exp
14484 * gdb.guile/scm-cmd.exp
14485 * gdb.guile/scm-frame-inline.exp
14486 * gdb.guile/scm-objfile.exp
14487 * gdb.guile/scm-pretty-print.exp
14488 * gdb.guile/scm-symbol.exp
14489 * gdb.guile/scm-type.exp
14490 * gdb.guile/scm-value.exp
14491 * gdb.linespec/keywords.exp
14492 * gdb.linespec/ls-errs.exp
14493 * gdb.linespec/macro-relative.exp
14494 * gdb.linespec/thread.exp
14495 * gdb.mi/mi-breakpoint-changed.exp
14496 * gdb.mi/mi-dprintf-pending.exp
14497 * gdb.mi/mi-fullname-deleted.exp
14498 * gdb.mi/mi-logging.exp
14499 * gdb.mi/mi-pending.exp
14500 * gdb.mi/mi-solib.exp
14501 * gdb.mi/new-ui-mi-sync.exp
14502 * gdb.mi/user-selected-context-sync.exp
14503 * gdb.multi/dummy-frame-restore.exp
14504 * gdb.multi/multi-arch-exec.exp
14505 * gdb.multi/remove-inferiors.exp
14506 * gdb.multi/watchpoint-multi-exit.exp
14507 * gdb.opt/solib-intra-step.exp
14508 * gdb.perf/backtrace.exp
14509 * gdb.perf/single-step.exp
14510 * gdb.perf/skip-command.exp
14511 * gdb.perf/skip-prologue.exp
14512 * gdb.perf/solib.exp
14513 * gdb.python/lib-types.exp
14514 * gdb.python/py-as-string.exp
14515 * gdb.python/py-bad-printers.exp
14516 * gdb.python/py-block.exp
14517 * gdb.python/py-breakpoint.exp
14518 * gdb.python/py-cmd.exp
14519 * gdb.python/py-events.exp
14520 * gdb.python/py-evthreads.exp
14521 * gdb.python/py-finish-breakpoint.exp
14522 * gdb.python/py-finish-breakpoint2.exp
14523 * gdb.python/py-frame-inline.exp
14524 * gdb.python/py-frame.exp
14525 * gdb.python/py-inferior.exp
14526 * gdb.python/py-infthread.exp
14527 * gdb.python/py-mi.exp
14528 * gdb.python/py-objfile.exp
14529 * gdb.python/py-pp-maint.exp
14530 * gdb.python/py-pp-registration.exp
14531 * gdb.python/py-prettyprint.exp
14532 * gdb.python/py-recurse-unwind.exp
14533 * gdb.python/py-shared.exp
14534 * gdb.python/py-symbol.exp
14535 * gdb.python/py-symtab.exp
14536 * gdb.python/py-template.exp
14537 * gdb.python/py-type.exp
14538 * gdb.python/py-unwind-maint.exp
14539 * gdb.python/py-unwind.exp
14540 * gdb.python/py-value.exp
14541 * gdb.python/python.exp
14542 * gdb.reverse/finish-reverse-bkpt.exp
14543 * gdb.reverse/insn-reverse.exp
14544 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14545 * gdb.reverse/solib-precsave.exp
14546 * gdb.reverse/solib-reverse.exp
14547 * gdb.stabs/gdb11479.exp
14548 * gdb.stabs/weird.exp
14549 * gdb.threads/fork-child-threads.exp
14550 * gdb.threads/fork-plus-threads.exp
14551 * gdb.threads/fork-thread-pending.exp
14552 * gdb.threads/forking-threads-plus-breakpoint.exp
14553 * gdb.threads/hand-call-in-threads.exp
14554 * gdb.threads/interrupted-hand-call.exp
14555 * gdb.threads/linux-dp.exp
14556 * gdb.threads/local-watch-wrong-thread.exp
14557 * gdb.threads/next-while-other-thread-longjmps.exp
14558 * gdb.threads/non-ldr-exit.exp
14559 * gdb.threads/pending-step.exp
14560 * gdb.threads/print-threads.exp
14561 * gdb.threads/process-dies-while-detaching.exp
14562 * gdb.threads/process-dies-while-handling-bp.exp
14563 * gdb.threads/pthreads.exp
14564 * gdb.threads/queue-signal.exp
14565 * gdb.threads/reconnect-signal.exp
14566 * gdb.threads/signal-command-handle-nopass.exp
14567 * gdb.threads/signal-command-multiple-signals-pending.exp
14568 * gdb.threads/signal-delivered-right-thread.exp
14569 * gdb.threads/signal-sigtrap.exp
14570 * gdb.threads/sigthread.exp
14571 * gdb.threads/staticthreads.exp
14572 * gdb.threads/stepi-random-signal.exp
14573 * gdb.threads/thread-unwindonsignal.exp
14574 * gdb.threads/thread_check.exp
14575 * gdb.threads/thread_events.exp
14576 * gdb.threads/tid-reuse.exp
14577 * gdb.threads/tls-nodebug.exp
14578 * gdb.threads/tls-shared.exp
14579 * gdb.threads/tls-so_extern.exp
14580 * gdb.threads/tls.exp
14581 * gdb.threads/wp-replication.exp
14582 * gdb.trace/actions-changed.exp
14583 * gdb.trace/actions.exp
14584 * gdb.trace/backtrace.exp
14585 * gdb.trace/change-loc.exp
14586 * gdb.trace/collection.exp
14587 * gdb.trace/deltrace.exp
14588 * gdb.trace/disconnected-tracing.exp
14589 * gdb.trace/entry-values.exp
14590 * gdb.trace/ftrace-lock.exp
14591 * gdb.trace/ftrace.exp
14592 * gdb.trace/infotrace.exp
14593 * gdb.trace/mi-trace-frame-collected.exp
14594 * gdb.trace/mi-trace-unavailable.exp
14595 * gdb.trace/mi-traceframe-changed.exp
14596 * gdb.trace/mi-tracepoint-changed.exp
14597 * gdb.trace/mi-tsv-changed.exp
14598 * gdb.trace/no-attach-trace.exp
14599 * gdb.trace/packetlen.exp
14600 * gdb.trace/passc-dyn.exp
14601 * gdb.trace/passcount.exp
14602 * gdb.trace/pending.exp
14603 * gdb.trace/pr16508.exp
14604 * gdb.trace/qtro.exp
14605 * gdb.trace/range-stepping.exp
14606 * gdb.trace/read-memory.exp
14607 * gdb.trace/report.exp
14608 * gdb.trace/save-trace.exp
14609 * gdb.trace/signal.exp
14610 * gdb.trace/stap-trace.exp
14611 * gdb.trace/status-stop.exp
14612 * gdb.trace/strace.exp
14613 * gdb.trace/tfile.exp
14614 * gdb.trace/tfind.exp
14615 * gdb.trace/trace-break.exp
14616 * gdb.trace/trace-condition.exp
14617 * gdb.trace/trace-enable-disable.exp
14618 * gdb.trace/trace-mt.exp
14619 * gdb.trace/tracecmd.exp
14620 * gdb.trace/tracefile-pseudo-reg.exp
14621 * gdb.trace/tspeed.exp
14622 * gdb.trace/tstatus.exp
14623 * gdb.trace/tsv.exp
14624 * gdb.trace/unavailable.exp
14625 * gdb.trace/while-dyn.exp
14626 * gdb.trace/while-stepping.exp
14627 * lib/gdb-guile.exp
14628 * lib/gdb.exp
14629 * lib/mi-support.exp
14630 * lib/pascal.exp
14631 * lib/perftest.exp
14632 * lib/prelink-support.exp
14633 * lib/selftest-support.exp
14634
ad02e4fe
SM
146352016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14636
14637 * Makefile.in: Include disable-implicit-rules.mk.
14638
22347e55
AA
146392016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14640
14641 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14642 non-byte-aligned bit fields.
14643
da5b30da
AA
146442016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14645
14646 PR gdb/12616
14647 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14648 respects the DW_AT_data_bit_offset attribute.
14649
b593ecca
SM
146502016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14651
14652 * gdb.base/default.exp: Fix output of "set language".
14653
3b165252
SM
146542016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14655
14656 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14657 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14658 make.
14659 * configure.ac: Remove checks for the make program.
14660 * configure: Re-generate.
14661
1a2f3d7f
KB
146622016-11-16 Kevin Buettner <kevinb@redhat.com>
14663
14664 * gdb.python/py-recurse-unwind.c (main): Add loop.
14665 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14666 to read_register() and gdb.parse_and_eval(). Make each code
14667 call a separate case that can be individually tested.
14668 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14669 proc. Call cont_and_backtrace for each of the code paths that
14670 we want to test in the unwinder.
14671
b7f38fda
AA
146722016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14673
14674 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14675 the definition of struct S.
14676
1f8db343
CM
146772016-11-11 Catherine Moore <clm@codesourcery.com>
14678
14679 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14680
fad0c9fb
PA
146812016-11-09 Pedro Alves <palves@redhat.com>
14682
14683 * gdb.base/commands.exp (runto_or_return): New procedure.
14684 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14685 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14686 (progvar_simple_while_test, progvar_complex_if_while_test)
14687 (if_while_breakpoint_command_test)
14688 (infrun_breakpoint_command_test, breakpoint_command_test)
14689 (user_defined_command_test, watchpoint_command_test)
14690 (test_command_prompt_position, redefine_hook_test)
14691 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14692 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14693 multi_line_input and multi_line. Remove gdb_expect and
14694 gdb_stop_suppressing_tests uses.
14695 * lib/gdb.exp (valnum_re): New global.
14696 (multi_line_input): New procedure.
14697
8354c62c
SM
146982016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14699
14700 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14701 Remove.
14702 (test_setup): Define with proc_with_prefix.
14703 (test_cli_inferior): Likewise.
14704 (test_cli_thread): Likewise.
14705 (test_cli_frame): Likewise.
14706 (test_cli_select_frame): Likewise.
14707 (test_cli_up_down): Likewise.
14708 (test_mi_thread_select): Likewise.
14709 (test_mi_stack_select_frame): Likewise.
14710 (test_cli_in_mi_inferior): Likewise.
14711 (test_cli_in_mi_thread): Likewise.
14712 (test_cli_in_mi_frame): Likewise.
14713 (top level): Do not use with_test_prefix_procname.
14714
64f367a2
PA
147152016-11-09 Pedro Alves <palves@redhat.com>
14716
14717 * gdb.base/commands.exp (gdbvar_simple_if_test)
14718 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14719 (progvar_simple_if_test, progvar_simple_while_test)
14720 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14721 (infrun_breakpoint_command_test, breakpoint_command_test)
14722 (user_defined_command_test, watchpoint_command_test)
14723 (test_command_prompt_position, deprecated_command_test)
14724 (bp_deleted_in_command, temporary_breakpoint_commands)
14725 (stray_arg0_test, source_file_with_indented_comment)
14726 (recursive_source_test, if_commands_test)
14727 (error_clears_commands_left, redefine_hook_test)
14728 (redefine_backtrace_test): Use proc_with_prefix.
14729 * lib/gdb.exp (proc_with_prefix): New proc.
14730
0bb65f1e
AA
147312016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14732
14733 * gdb.base/tui-layout.c: New file.
14734 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14735 disassembly window contains very long lines.
14736
7353f247
TT
147372016-11-08 Tom Tromey <tom@tromey.com>
14738
14739 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14740 depend on Python 2.
14741
30a7bb83
TT
147422016-11-08 Tom Tromey <tom@tromey.com>
14743
14744 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14745 New method.
14746
cdf5a07c
MG
147472016-10-29 Manish Goregaokar <manish@mozilla.com>
14748
2806dc7e 14749 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14750
51a789c3
MG
147512016-10-27 Manish Goregaokar <manish@mozilla.com>
14752
2806dc7e
PA
14753 * gdb.rust/simple.rs: Add test for univariant enums without
14754 discriminants and for encoded struct-like enums.
51a789c3 14755
f610ab6d
PA
147562016-10-28 Pedro Alves <palves@redhat.com>
14757
14758 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14759 gdb_test_multiple, tighten regexps and match symtabs and line
14760 tables incrementally.
14761
b129b0ca
LM
147622016-10-28 Luis Machado <lgustavo@codesourcery.com>
14763
14764 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14765 general.
14766
ecf45d2c
SL
147672016-10-25 Luis Machado <lgustavo@codesourcery.com>
14768
14769 * gdb.base/exec-invalid-sysroot.exp: New file.
14770
b8d38ee4
JK
147712016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14772
14773 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14774
f90fd8c2
JK
147752016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14776
14777 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14778
2d2476aa
MR
147792016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14780
2806dc7e
PA
14781 * gdb.base/killed-outside.exp: Remove $options from a call to
14782 `prepare_for_testing'.
2d2476aa 14783
e42b25a0
SM
147842016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14785
14786 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14787 Change test message.
14788
3ccdb432
SM
147892016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14790
14791 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14792 Update comment.
14793
5bad3170
SM
147942016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14795
14796 * gdb.trace/mi-trace-save.exp: New file.
14797
5ad9dba7
YQ
147982016-10-13 Yao Qi <yao.qi@linaro.org>
14799
14800 * gdb.base/code_elim.exp (get_var_address): Remove.
14801 * gdb.base/relocate.exp: Likewise.
14802 * gdb.base/shreloc.exp: Likewise.
14803 * lib/gdb.exp (get_var_address): New.
14804
62df7e21
YQ
148052016-10-13 Yao Qi <yao.qi@linaro.org>
14806
14807 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14808 floating point tests if $skip_float_test is false.
14809
4dac951e
LM
148102016-10-12 Luis Machado <lgustavo@codesourcery.com>
14811
14812 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14813 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14814 argc values.
14815 Add 1 to argc so we guarantee distinct initial/modified argc values.
14816
8f1a8fc4
JK
148172016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14818
14819 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14820
16c85b5d
JK
148212016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14822
14823 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14824 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14825 * gdb.arch/vsx-regs.exp: Likewise.
14826
1d0e042a
YQ
148272016-10-07 Yao Qi <yao.qi@linaro.org>
14828
14829 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14830
68dadef5
MM
148312016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14832
14833 * gdb.python/python.exp: Test decode_line("*0").
14834
33fa2c6e
DE
148352016-10-06 Doug Evans <dje@google.com>
14836
14837 * gdb.python/py-value.exp (test_value_creation): Add test for large
14838 unsigned 64-bit value.
14839
9c37b5ae
TT
148402016-10-06 Tom Tromey <tom@tromey.com>
14841
14842 * gdb.compile/compile.exp: Change java tests to rust.
14843 * gdb.base/setshow.exp: Change java tests to rust.
14844 * gdb.base/default.exp: Remove java from language list.
14845 * README (Examples): Update language example.
14846 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14847 test.
14848 * lib/gdb.exp (skip_java_tests): Remove.
14849 * lib/java.exp: Remove.
14850 * gdb.java: Remove.
14851
78b86327
MR
148522016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14853
14854 * gdb.arch/mips-fcr.exp: New test.
14855 * gdb.arch/mips-fcr.c: Source for the new test.
14856
7470adbb
MR
148572016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14858
14859 * gdb.base/solib-disc.exp: Use `standard_output_file'
14860 throughout.
14861
4a556533
PA
148622016-10-06 Pedro Alves <palves@redhat.com>
14863
14864 * gdb.base/jit-simple-dl.c: New file.
14865 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14866 * gdb.base/jit-simple.c: ... this.
14867 * gdb.base/jit-simple.exp (jit_run): Delete.
14868 (build_jit): New proc.
14869 (jit_test_reread): Recompile either the main program or the shared
14870 library, depending on what is being tested. Skip changing address
14871 if caller wants to. Compare before/after addresses. If testing
14872 standalone, explicitly load the binary. Test "maint info
14873 breakpoints".
14874 (top level): Add "standalone vs shared lib" and "change address"
14875 vs "same address" axes.
14876
5a122fbc
PA
148772016-10-06 Pedro Alves <palves@redhat.com>
14878
14879 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14880 call.
14881 (jit_run): Delete.
14882 (jit_test_reread): Use with_test_prefix. Reload the main binary
14883 explicitly. Compare the before/after addresses of the JIT
14884 descriptor.
14885
ee8da4b8
DE
148862016-08-15 Doug Evans <dje@google.com>
14887
14888 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14889 for single bitfields is bool.
14890 * gdb.xml/tdesc-regs.exp: Ditto.
14891
f389f6fe
JK
148922016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14893
14894 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14895
fdebf1a4
YQ
148962016-10-05 Yao Qi <yao.qi@linaro.org>
14897
14898 * lib/gdb.exp (support_complex_tests): Return zero if
14899 gdb_skip_float_test return true.
14900
9c36d954 149012016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14902 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14903
14904 PR gdb/20487
14905 * gdb.mi/user-selected-context-sync.exp: New file.
14906 * gdb.mi/user-selected-context-sync.c: New file.
14907
4034d0ff 149082016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14909 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14910
14911 PR gdb/20487
14912 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14913 =thread-select-event check.
14914
a4297203
PB
149152016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14916
14917 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14918 the compulsory L operand changes.
14919 * gdb.arch/powerpc-power.s: Likewise.
14920
bb805577
JK
149212016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14922
14923 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14924 * gdb.base/jit-attach-pie.c: New file.
14925 * gdb.base/jit-attach-pie.exp: New file.
14926
6d61dee5
PA
149272016-09-28 Pedro Alves <palves@redhat.com>
14928
14929 * gdb.base/infcall-input.c: New file.
14930 * gdb.base/infcall-input.exp: New file.
14931
f73842fc
YQ
149322016-09-22 Yao Qi <yao.qi@linaro.org>
14933
14934 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14935 (gdb_exit): Rename it to ...
14936 (gdbserver_gdb_exit): ... Close GDBserver.
14937 (gdb_exit): New proc, call gdbserver_gdb_exit.
14938 (mi_gdb_exit): Likewise.
14939
90681dab
YQ
149402016-09-22 Yao Qi <yao.qi@linaro.org>
14941
14942 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14943 path.
14944 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14945 Remove duplication.
14946
9c211fd8
YQ
149472016-09-22 Yao Qi <yao.qi@linaro.org>
14948
14949 * lib/gdbserver-support.exp: Check the existence of
14950 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14951
ad0a504f
AK
149522016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14953
14954 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14955
36cf1806
TT
149562016-09-21 Tom Tromey <tom@tromey.com>
14957
14958 PR gdb/20604:
14959 * gdb.base/quit.exp: New file.
14960
74172ecf
SM
149612016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14962
14963 * .gitignore: New file.
14964
3d0ec882
MR
149652016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14966
14967 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14968 throughout.
14969
8193adea
AA
149702016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14971
14972 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14973
d41a5c09
JK
149742016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14975
14976 * gdb.cp/casts.cc (decltype): Move it ...
14977 (main): ... with its call to ...
14978 * gdb.cp/casts03.cc: ... a new file.
14979 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14980
d2dfe700
JK
149812016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14982
14983 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14984
e2a92b16
PB
149852016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14986
14987 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14988 and sync up the test with tests in gas/testsuite/gas/ppc.
14989 * gdb.arch/powerpc-power.exp: Likewise.
14990
49b4de64
JK
149912016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14992
14993 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14994
2c29df25
SDJ
149952016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14996 Jan Kratochvil <jan.kratochvil@redhat.com>
14997
14998 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14999 make m1's definition to be different from m2's. Use 'dummy' as an
15000 argument for probe 'two'.
15001
cc3c2846
JB
150022016-09-10 Jon Beniston <jon@beniston.com>
15003
15004 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15005 for sim target.
15006
e1b2624a
AA
150072016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15008
15009 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15010 variable declaration.
15011 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15012 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15013 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15014 received HWCAP as its argument.
15015
4295e285
PA
150162016-09-06 Pedro Alves <palves@redhat.com>
15017
15018 * gdb.base/new-ui-pending-input.c: New file.
15019 * gdb.base/new-ui-pending-input.exp: New file.
15020 * gdb.exp (clear_gdb_spawn_id): New procedure.
15021 (with_spawn_id): Check whether gdb_spawn_id exists before
15022 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15023 on exit.
15024
00d5215e
UW
150252016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15026
15027 * gdb.base/float128.c: New file.
15028 * gdb.base/float128.exp: Likewise.
15029 * gdb.base/floatn.c: Likewise.
15030 * gdb.base/floatn.exp: Likewise.
15031
a9ff5f12
UW
150322016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15033
15034 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15035
f245535c
PA
150362016-09-05 Pedro Alves <palves@redhat.com>
15037
15038 PR backtrace/19927
15039 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15040 unwinders are immediately called as side effect of "source" or
15041 "disable unwinder" commands.
15042 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15043
ae9cf263
YQ
150442016-09-02 Yao Qi <yao.qi@linaro.org>
15045
15046 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15047 is true and $type is "float" or "double".
15048
27aba047
YQ
150492016-09-02 Yao Qi <yao.qi@linaro.org>
15050
15051 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15052 true.
15053 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15054 * gdb.base/call-rt-st.exp: Likewise.
15055 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15056 return value instead of gdb,skip_float_test.
15057 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15058 (do_function_calls): Use its return value instead of
15059 gdb,skip_float_test.
15060 * gdb.base/finish.exp: Likewise.
15061 * gdb.base/funcargs.exp: Likewise.
15062 * gdb.base/return.exp: Likewise.
15063 * gdb.base/return2.exp: Likewise.
15064 * gdb.base/varargs.exp: Likewise.
15065 * lib/gdb.exp (gdb_skip_float_test): Change it to
15066 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15067
5af962df
AA
150682016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15069
15070 * gdb.multi/tids.exp: Test "thread apply all".
15071
7fac6910
JK
150722016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15073
15074 * gdb.base/default.exp (tty): Remove.
15075
bb1fe4ac
KB
150762016-08-24 Kevin Buettner <kevinb@redhat.com>
15077
2806dc7e
PA
15078 * gdb.python/py-recurse-unwind.c: New file.
15079 * gdb.python/py-recurse-unwind.py: New file.
15080 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15081
0a1ddfa6
SM
150822016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15083
15084 * gdb.base/set-inferior-tty.exp: New file.
15085 * gdb.base/set-inferior-tty.c: New file.
15086
d9de1fe3
PA
150872016-08-23 Pedro Alves <palves@redhat.com>
15088
15089 PR gdb/20494
15090 * gdb.base/new-ui-echo.c: New file.
15091 * gdb.base/new-ui-echo.exp: New file.
15092
e9d9abd7
YQ
150932016-08-23 Yao Qi <yao.qi@linaro.org>
15094
15095 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15096 gdbserver_spawn.
15097 * gdb.server/connect-without-multi-process.exp (do_test):
15098 Likewise.
15099
3589529e
YQ
151002016-08-23 Yao Qi <yao.qi@linaro.org>
15101
15102 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15103 standalone_txt. Delete gdb_txt and standalone_txt on host
15104 and target. Spawn the binary on target. Copy files from
15105 target to host.
15106
6bb90213
PA
151072016-08-22 Pedro Alves <palves@redhat.com>
15108
15109 PR gdb/20505
15110 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15111 with_test_prefix. Factor out bits to ...
15112 (test_no_vdso): ... this new procedure.
15113
20c2c024
CL
151142016-08-19 Carl Love <cel@us.ibm.com>
15115
15116 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15117 maintaining separate logic for constructing the output path.
15118 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15119 * gdb.arch/ppc-dfp.exp: Likewise.
15120 * gdb.arch/ppc-fp.exp: Likewise.
15121 * gdb.arch/vsx-regs.exp: Likewise.
15122 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15123 binprefix for generating the additional binary files.
15124
0646e07d
PA
151252016-08-19 Pedro Alves <palves@redhat.com>
15126
15127 * gdb.trace/mi-trace-frame-collected.exp
15128 (test_trace_frame_collected): On x32, expect two registers.
15129
46da9242
CL
151302016-08-18 Carl Love <cel@us.ibm.com>
15131
15132 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15133 and sync up the test with tests in gas/testsuite/gas/ppc.
15134 * gdb.arch/powerpc-power.exp: Likewise.
15135
eb2332d7
SM
151362016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15137
15138 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15139 expected error message.
15140
63c61e04
SM
151412016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15142
15143 * gdb.multi/remove-inferiors.exp: New file.
15144 * gdb.multi/remove-inferiors.c: New file.
15145
7b17065f
YQ
151462016-08-12 Yao Qi <yao.qi@linaro.org>
15147
15148 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15149 argument list.
15150
01d3dedf
PA
151512016-08-10 Pedro Alves <palves@redhat.com>
15152
15153 PR gdb/19187
15154 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15155 setup_kfails.
15156
3eb7562a
PA
151572016-08-09 Pedro Alves <palves@redhat.com>
15158 Simon Marchi <simon.marchi@ericsson.com>
15159
15160 PR gdb/20418
15161 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15162 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15163
80614914
PA
151642016-08-09 Pedro Alves <palves@redhat.com>
15165
15166 PR mi/20431
15167 * gdb.mi/mi-cmd-error.exp: New file.
15168
f348d89a
PA
151692016-08-09 Pedro Alves <palves@redhat.com>
15170
15171 PR gdb/18653
15172 * gdb.base/signals-state-child.c: New file.
15173 * gdb.base/signals-state-child.exp: New file.
15174 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15175
e5ca03b4
PA
151762016-08-09 Pedro Alves <palves@redhat.com>
15177
15178 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15179
282a0691
TT
151802016-08-03 Tom Tromey <tom@tromey.com>
15181
15182 PR python/18565:
15183 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15184
41bfcd63
YQ
151852016-08-01 Yao Qi <yao.qi@linaro.org>
15186
15187 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15188 variable mode to "multi-process" if $multi_process is 1, otherwise
15189 set it to "single-process".
15190
e3465b24
YQ
151912016-08-01 Yao Qi <yao.qi@linaro.org>
15192
15193 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15194 * gdb.cp/cpexprs.exp: Likewise.
15195 * gdb.cp/m-static.exp: Likewise.
15196
0b31a4bc
TT
151972016-07-26 Tom Tromey <tom@tromey.com>
15198
15199 PR python/20190:
15200 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15201 test.
15202
e0461dbb
MM
152032016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15204
15205 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15206 selecting assembly source files.
15207 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15208 assembly source files.
15209 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15210 assembly source files.
15211 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15212 selecting assembly source files.
15213
8194e927
SM
152142016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15215
15216 * gdb.base/new-ui.exp (do_test_invalid_args): New
15217 procedure.
15218
c0272db5
TW
152192016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15220
15221 * gdb.btrace/reconnect.c: New file.
15222 * gdb.btrace/reconnect.exp: New file.
15223
e3487908
GKB
152242016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15225
15226 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15227 to test_catch_syscall_group.
15228 (test_catch_syscall_group): New.
15229
12df5c00
TT
152302016-07-21 Tom Tromey <tom@tromey.com>
15231
15232 * gdb.rust/simple.rs (main): Use empty struct expression.
15233 * gdb.rust/simple.exp: Add tests for empty struct expression.
15234
bae62ee2
YQ
152352016-07-21 Yao Qi <yao.qi@linaro.org>
15236
15237 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15238 if gdb_skip_xml_test is true on some targets.
15239
b1b53fb3
YQ
152402016-07-21 Yao Qi <yao.qi@linaro.org>
15241
15242 * gdb.server/solib-list.exp: Unset last_loaded_file.
15243
027d97f8
JK
152442016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15245
15246 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15247 "step into captured_main (args)".
15248
7674d381
JK
152492016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15250
15251 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15252
72b5d099
JK
152532016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15254
15255 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15256
1f960ced
PA
152572016-07-19 Pedro Alves <palves@redhat.com>
15258
15259 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15260 * gdb.opt/inline-bt.exp: Likewise.
15261 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15262 additional_flags=-Winline.
15263 * gdb.opt/inline-locals.exp: Likewise.
15264 * gdb.opt/inline-markers.c (ATTR): Define.
15265 (inlined_fn): Use it.
15266
f25827c1
YQ
152672016-07-19 Yao Qi <yao.qi@linaro.org>
15268
15269 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15270 (test_with_self): Remove some code. Remove argument executable.
15271 (top-level): Use do_self_tests.
15272
37539ebe
DB
152732016-07-15 Zachary Welch <zwelch@codesourcery.com>
15274 Don Breazeal <donb@codesourcery.com>
15275
15276 * gdb.base/maint.exp: Escape paths used in regular expressions.
15277 * gdb.stabs/weird.exp: Likewise.
15278
dac790e1
TT
152792016-07-13 Tom Tromey <tom@tromey.com>
15280
15281 PR python/15620, PR python/18620:
15282 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15283 (test_bkpt_events): New procs.
15284
93daf339
TT
152852016-07-13 Tom Tromey <tom@tromey.com>
15286
15287 PR python/17698:
15288 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15289 test.
15290 (test_watchpoints): Likewise.
15291 (test_bkpt_pending): New proc.
15292
6571a381
TT
152932016-07-13 Tom Tromey <tom@tromey.com>
15294
15295 PR cli/18053:
15296 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15297 completion test.
15298
e8732474
JK
152992016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15300
15301 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15302 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15303 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15304 f_label.
15305 (g): Rename g_end_lbl to g_label.
15306 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15307 low_pc and high_pc.
15308 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15309
e0f3fd7c
TT
153102016-07-12 Tom Tromey <tom@tromey.com>
15311
15312 PR python/19293:
15313 * gdb.python/py-unwind-maint.exp: Update tests.
15314
3cfe46b6
YQ
153152016-07-12 Yao Qi <yao.qi@linaro.org>
15316
15317 * lib/selftest-support.exp (selftest_setup): Match the output
15318 when captured_main is inlined.
15319
4f19a0e6
WT
153202016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15321
15322 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15323 New variables.
15324 (print this%a, print this%b, print this): New tests.
15325 * gdb.fortran/derived-types.f90 (this): New object and
15326 initialization.
15327
986cf455
SM
153282016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15329
15330 * gdb.ada/arraydim.exp: Remove extra directory level in build
15331 directory.
15332
f0464b23
SM
153332016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15334
15335 * lib/ada.exp: Remove extra directory level in build directory.
15336 * gdb.ada/cond_lang.exp: Likewise.
15337 * gdb.ada/exec_changed.exp: Likewise.
15338 * gdb.ada/lang_switch.exp: Likewise.
15339
42d94011
MG
153402016-07-06 Manish Goregaokar <manish@mozilla.com>
15341
2806dc7e
PA
15342 * simple.rs: Add test for raw pointer subscripting.
15343 * simple.exp: Add test expectations.
42d94011 15344
647c264c
YQ
153452016-07-05 Yao Qi <yao.qi@linaro.org>
15346
15347 * gdb.mi/mi-reverse.exp: Match =record-started output.
15348
20aa2c60
PA
153492016-07-01 Pedro Alves <palves@redhat.com>
15350
15351 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15352 procedure.
15353 (jit_reader_test): Test the jit reader's unwinder.
15354 * gdb.base/jithost.c (jit_function_00_code): New global.
15355 (main): Use memcpy to fill in the mmapped code, instead of poking
15356 bytes manually here.
15357 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15358 value.
15359 (read_debug_info): Save the function's range.
15360 (read_sp): New function.
15361 (unwind_frame): Use it. Also unwind RBP.
15362 (get_frame_id): Use read_sp.
15363 (gdb_init_reader): Use calloc instead of malloc.
15364 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15365 parameter. Use gdb_test_multiple.
15366
ced2dffb
PA
153672016-07-01 Pedro Alves <palves@redhat.com>
15368 Antoine Tremblay <antoine.tremblay@ericsson.com>
15369
15370 * gdb.threads/process-dies-while-detaching.c: New file.
15371 * gdb.threads/process-dies-while-detaching.exp: New file.
15372
63000888
PA
153732016-07-01 Pedro Alves <palves@redhat.com>
15374
15375 * gdb.multi/watchpoint-multi-exit.c: New file.
15376 * gdb.multi/watchpoint-multi-exit.exp: New file.
15377
038d4868
PA
153782016-06-30 Pedro Alves <palves@redhat.com>
15379
15380 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15381 unset inferior_spawn_id.
15382
994e9c83
PA
153832016-06-30 Pedro Alves <palves@redhat.com>
15384
15385 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15386 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15387
e5653468
YQ
153882016-06-29 Yao Qi <yao.qi@linaro.org>
15389
15390 * gdb.base/return.c: Add copyright header.
15391
803b47e5
TT
153922016-06-29 Tom Tromey <tom@tromey.com>
15393
15394 PR python/20129:
15395 * gdb.python/py-framefilter.exp: Add tests for setting priority
15396 and disabling of non-existent frame filter.
15397
28244707
YQ
153982016-06-29 Yao Qi <yao.qi@linaro.org>
15399
15400 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15401 0x0f07ff.
15402
a31d2f06
YQ
154032016-06-28 Yao Qi <yao.qi@linaro.org>
15404
15405 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15406 triplets. Start gdb, execute catch syscall, and continue. Check
15407 gdb's output to determine catch syscall is supported.
15408
921d8f54
MG
154092016-06-27 Manish Goregaokar <manish@mozilla.com>
15410
25d49b86
PA
15411 * gdb.rust/simple.rs: Add test for returning unit in a function.
15412 * gdb.rust/simple.exp: Add expectation for functions returning
15413 unit.
921d8f54 15414
f4952523
PMR
154152016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15416
15417 * gdb.python/py-breakpoint-create-fail.c,
15418 gdb.python/py-breakpoint-create-fail.exp,
15419 gdb.python/py-breakpoint-create-fail.py: New testcase.
15420
fccb08f8
MG
154212016-06-25 Manish Goregaokar <manish@mozilla.com>
15422
15423 PR gdb/20239
15424 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15425 * gdb.rust/simple.exp: Add test expectations for new NonZero
15426 tests.
fccb08f8 15427
6b850546
DT
154282016-06-24 David Taylor <dtaylor@emc.com>
15429
15430 * gdb.base/offsets.exp: New file.
15431 * gdb.base/offsets.c: New file.
15432
17621150
TT
154332016-06-23 Tom Tromey <tom@tromey.com>
15434
15435 PR gdb/16483:
15436 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15437 before any filters are loaded.
15438
04d59df6
WT
154392016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15440
15441 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15442 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15443 structs.
15444 * gdb.fortran/derived-type-function.exp: New file.
15445 * gdb.fortran/derived-type-function.f90: New file.
15446
15447
ac69f786
PA
154482016-06-21 Pedro Alves <palves@redhat.com>
15449
15450 * gdb.base/new-ui.exp: New file.
15451 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15452 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15453 (with_spawn_id): New procedure.
15454
49940788
PA
154552016-06-21 Pedro Alves <palves@redhat.com>
15456
15457 * gdb.mi/mi-exec-run.exp: New file.
15458
ef274d26
PA
154592016-06-21 Pedro Alves <palves@redhat.com>
15460
15461 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15462 breakpoint command's output on the main UI.
15463 (test_break): New procedure, factored out from calls in the top
15464 level.
15465 (top level): Use foreach_with_prefix to test MI as main UI and as
15466 separate UI.
15467
468afe6c
PA
154682016-06-21 Pedro Alves <palves@redhat.com>
15469
15470 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15471 (test_awatch_creation_and_listing)
15472 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15473 Remove 'type' parameter.
15474 (test_watchpoint_all): New parameter mi_mode. Remove
15475 with_test_prefix.
15476 (top level): Use foreach_with_prefix, and add main/separate UI MI
15477 testing axis.
15478
51f77c37
PA
154792016-06-21 Pedro Alves <palves@redhat.com>
15480
15481 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15482 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15483 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15484 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15485 (gdb_main_spawn_id, mi_spawn_id): Declare and
15486 comment.
15487 (mi_create_inferior_pty): New procedure,
15488 factored out from default_mi_gdb_start.
15489 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15490 procedures.
15491 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15492 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15493 Use mi_create_inferior_pty.
15494 (mi_gdb_start): Use eval to pass down args list.
15495
8980e177
PA
154962016-06-21 Pedro Alves <palves@redhat.com>
15497
15498 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15499 * gdb.opt/inline-cmds.exp: Add MI tests.
15500
f38d3ad1
PA
155012016-06-21 Pedro Alves <palves@redhat.com>
15502
15503 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15504
45db7c09
PA
155052016-06-21 Pedro Alves <palves@redhat.com>
15506
15507 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15508 (top level): Use it instead of mi_execute_to.
15509
5a069ab3
PA
155102016-06-21 Pedro Alves <palves@redhat.com>
15511
15512 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15513 (cont_handler_str): New.
15514 (signal_stop_handler): Set stop_handler_str instead of printing to
15515 stdout.
15516 (continue_handler): Set cont_handler_str instead of printing to
15517 stdout.
15518 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15519 mi_send_resuming_command. Print stop_handler_str and
15520 cont_handler_str instead of expecting the python events print
15521 directly.
15522
2838cc1d
SD
155232016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15524
15525 * gdb.base/jit-reader.exp: New file.
15526 * gdb.base/jithost.c: New file.
15527 * gdb.base/jithost.h: New file.
15528 * gdb.base/jitreader.c : New file.
15529 * gdb.base/jit-protocol.h: New file.
15530
21a77091
YQ
155312016-06-17 Yao Qi <yao.qi@linaro.org>
15532
15533 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15534 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15535 and detach-on-fork. Adjust tests.
15536 (top level): Invoke break_cond_on_syscall with combinations of
15537 syscall, follow-fork-mode and detach-on-fork.
15538
f50bf8e5
YQ
155392016-06-17 Yao Qi <yao.qi@linaro.org>
15540
15541 * gdb.base/step-over-exit.c: New.
15542 * gdb.base/step-over-exit.exp: New.
15543
a28d8e50
YTL
155442016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15545
15546 * gdb.base/float.exp: Add target check for nds32*-*-*.
15547 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15548
cad8e26d
AB
155492016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15550
15551 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15552 for unsupported target features.
15553 * gdb.base/call-rt-st.exp: Likewise.
15554 * gdb.base/call-sc.exp: Likewise.
15555 * gdb.base/call-signal-resume.exp: Likewise.
15556 * gdb.base/call-strs.exp: Likewise.
15557 * gdb.base/callexit.exp: Likewise.
15558 * gdb.base/callfuncs.exp: Likewise.
15559 * gdb.base/nodebug.exp: Likewise.
15560 * gdb.base/printcmds.exp: Likewise.
15561 * gdb.base/ptype.exp: Likewise.
15562 * gdb.base/structs.exp: Likewise.
15563 * gdb.base/unwindonsignal.exp: Likewise.
15564 * gdb.cp/gdb2495.exp: Likewise.
15565 * gdb.cp/templates.exp: Likewise.
15566 * gdb.cp/virtfunc.exp: Likewise.
15567 * gdb.threads/hand-call-in-threads.exp: Likewise.
15568 * gdb.threads/interrupted-hand-call.exp: Likewise.
15569 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15570
347dc102
TT
155712016-06-10 Tom Tromey <tom@tromey.com>
15572
15573 PR rust/20110:
15574 * gdb.rust/expr.exp: Add test for integer constant larger than
15575 i32.
15576
5e13cf25
BH
155772016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15578
15579 * gdb.fortran/nested-funcs.exp: New.
15580 * gdb.fortran/nested-funcs.f90: New.
15581
bb556f1f
TK
155822016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15583
15584 * gdb.base/examine-backward.c: New file.
15585 * gdb.base/examine-backward.exp: New file.
15586
38b022b4
SM
155872016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15588
15589 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15590 matching.
15591
1b40ec05
TT
155922016-06-02 Tom Tromey <tom@tromey.com>
15593
15594 PR python/18984:
15595 * gdb.python/py-shared.exp: Add solib_name test.
15596
193bd378
SM
155972016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15598
15599 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15600
3326303b
MG
156012016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15602
15603 PR c++/19893
15604 * gdb.dwarf2/implref.exp: Rename to...
15605 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15606 * gdb.dwarf2/implref-array.c: New file.
15607 * gdb.dwarf2/implref-array.exp: Likewise.
15608 * gdb.dwarf2/implref-global.c: Likewise.
15609 * gdb.dwarf2/implref-global.exp: Likewise.
15610 * gdb.dwarf2/implref-struct.c: Likewise.
15611 * gdb.dwarf2/implref-struct.exp: Likewise.
15612
825c8ef2
AT
156132016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15614
15615 * gdb.trace/trace-condition.exp: Add 64bit tests.
15616
2320162a
AT
156172016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15618
15619 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15620 bits types.
15621 (main): Adapt to 8 to 64 bits types.
15622 * gdb.trace/trace-condition.exp: Add new tests.
15623
a7818233
AT
156242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15625
15626 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15627
0d336466
AT
156282016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15629
15630 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15631 Move condition tests...
15632 * gdb.trace/trace-condition.exp: Here.
15633
7faeb45a
AT
156342016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15635
15636 * gdb.trace/trace-condition.exp: Add counter-case tests.
15637
e385593e
JK
156382016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15639
15640 PR c++/15231
15641 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15642 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15643
744608cc
PA
156442016-05-27 Pedro Alves <palves@redhat.com>
15645
15646 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15647 New procedure.
15648 (top level): Call it, and bail out of DejaGnu is known to be bad.
15649
ac775bf4
AB
156502016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15651
15652 * gdb.base/whatis.c: Extend the test case.
15653 * gdb.base/whatis.exp: Add additional tests.
15654
2bbad2ea
BH
156552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15656
15657* gdb.fortran/type.f90: Add pointer variable.
15658* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15659
8b70175d
BH
156602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15661
15662 * gdb.fortran/vla-type.exp: Fix testcase name.
15663
86d8a848
BH
156642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15665
15666 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15667
e188eb36
BH
156682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15669
15670 * gdb.fortran/type.f90: Add nested structures.
15671 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15672 * gdb.fortran/derived-type.exp: Adapt expected output.
15673 * gdb.fortran/vla-type.exp: Adapt expected output.
15674
9b2db1fd
BH
156752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15676
15677 * gdb.fortran/whatis_type.exp: Adapt expected output.
15678
72b17055
BH
156792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15680
15681 * gdb.fortran/print_type.exp: Fix expected output.
15682 * gdb.fortran/whatis_type.exp: Fix expected output.
15683
3cd81d8d
BH
156842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15685
15686 * gdb.fortran/whatis_type.exp: Use multi_line.
15687
ddae9462
TT
156882016-05-24 Tom Tromey <tom@tromey.com>
15689
15690 PR python/17386:
15691 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15692 use value as an index.
15693
1957f6b8
TT
156942016-05-23 Tom Tromey <tom@tromey.com>
15695
15696 PR python/17981:
15697 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15698 no-breakpoint case.
15699
026a9174
PA
157002016-05-24 Pedro Alves <palves@redhat.com>
15701
15702 PR gdb/19828
15703 * gdb.threads/clone-attach-detach.c: New file.
15704 * gdb.threads/clone-attach-detach.exp: New file.
15705
e70a7231
FR
157062016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15707
15708 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15709
0f6ed0e0
TT
157102016-05-23 Tom Tromey <tom@tromey.com>
15711
15712 PR python/19438, PR python/18393:
15713 * gdb.python/py-progspace.exp: Add "dir" test.
15714 * gdb.python/py-objfile.exp: Add "dir" test.
15715
ffd19d61
YQ
157162016-05-23 Yao Qi <yao.qi@linaro.org>
15717
15718 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15719 * gdb.arch/thumb2-it.exp: Likewise.
15720
9e8f9b05
SM
157212016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15722
15723 * gdb.mi/mi-threads-interrupt.c: New file.
15724 * gdb.mi/mi-threads-interrupt.exp: New file.
15725
61c6156d
SM
157262016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15727
15728 PR gdb/18077
15729 * gdb.mi/mi-async-run.exp: New file.
15730 * gdb.mi/mi-async-run.c: New file.
15731
67218854
TT
157322016-05-17 Tom Tromey <tom@tromey.com>
15733 Manish Goregaokar <manishsmail@gmail.com>
15734
15735 * lib/rust-support.exp: New file.
15736 * lib/gdb.exp (skip_rust_tests): New proc.
15737 (build_executable_from_specs): Handle rust.
15738 * lib/future.exp (gdb_find_rustc): New proc.
15739 (gdb_default_target_compile): Handle rust.
15740 * gdb.rust/expr.exp: New file.
15741 * gdb.rust/generics.exp: New file.
15742 * gdb.rust/generics.rs: New file.
15743 * gdb.rust/methods.exp: New file.
15744 * gdb.rust/methods.rs: New file.
15745 * gdb.rust/modules.exp: New file.
15746 * gdb.rust/modules.rs: New file.
15747 * gdb.rust/simple.exp: New file.
15748 * gdb.rust/simple.rs: New file.
15749
c44af4eb
TT
157502016-05-17 Tom Tromey <tom@tromey.com>
15751
15752 * gdb.base/default.exp (set language): Add rust.
15753
dcd1f979
TT
157542016-05-17 Tom Tromey <tom@tromey.com>
15755
15756 * gdb.gdb/unittest.exp: New file.
15757
155b7f57
YQ
157582016-05-16 Yao Qi <yao.qi@linaro.org>
15759
15760 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15761 shell_prompt. Update shell_prompt_re.
15762
8ddd5a6c
DE
157632016-05-12 Doug Evans <dje@google.com>
15764
15765 PR symtab/19999
15766 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15767 $options when building executable.
15768 * gdb.dwarf2/fission-loclists-pie.S: New file.
15769 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15770
02e370d9
SM
157712016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15772
15773 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15774 of [is_remote target],
15775
8929ad8b
SM
157762016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15777
15778 * lib/gdb.exp (use_gdb_stub): New procedure.
15779
6c447423
DE
157802016-05-03 Yunlian Jiang <yunlian@google.com>
15781 Doug Evans <dje@google.com>
15782
15783 PR symtab/19914
15784 * gdb.dwarf2/dwp-sepdebug.c: New file.
15785 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15786
444e826c
SM
157872016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15788
15789 * gdb.base/detach.exp: Remove is_remote check.
15790
740feeaa
SM
157912016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15792
15793 * gdb.base/annota-input-while-running.exp: Don't check for
15794 [is_remote target]. Enable annotations after running to main.
15795 Remove unused "set test..." line.
15796
9080ac9d
SM
157972016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15798
15799 * gdb.trace/trace-enable-disable.exp: New file.
15800 * gdb.trace/trace-enable-disable.c: New file.
15801
952ebca5
SM
158022016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15803
15804 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15805 use it in info sharedlibrary test.
15806 * gdb.trace/ftrace-lock.exp: Likewise.
15807 * gdb.trace/ftrace.exp: Likewise.
15808 * gdb.trace/range-stepping.exp: Likewise.
15809 * gdb.trace/trace-break.exp: Likewise.
15810 * gdb.trace/trace-condition.exp: Likewise.
15811 * gdb.trace/trace-mt.exp: Likewise.
15812
d9019901
SM
158132016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15814
15815 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15816 (gdb_load_shlib): ... this.
15817 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15818 gdb_load_shlib.
15819 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15820 * gdb.base/ctxobj.exp: Likewise.
15821 * gdb.base/dprintf-pending.exp: Likewise.
15822 * gdb.base/dso2dso.exp: Likewise.
15823 * gdb.base/fixsection.exp: Likewise.
15824 * gdb.base/gcore-relro.exp: Likewise.
15825 * gdb.base/gdb1555.exp: Likewise.
15826 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15827 * gdb.base/gnu-ifunc.exp: Likewise.
15828 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15829 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15830 * gdb.base/pending.exp: Likewise.
15831 * gdb.base/print-file-var.exp: Likewise.
15832 * gdb.base/print-symbol-loading.exp: Likewise.
15833 * gdb.base/shlib-call.exp: Likewise.
15834 * gdb.base/shreloc.exp: Likewise.
15835 * gdb.base/so-impl-ld.exp: Likewise.
15836 * gdb.base/solib-disc.exp: Likewise.
15837 * gdb.base/solib-nodir.exp: Likewise.
15838 * gdb.base/solib-overlap.exp: Likewise.
15839 * gdb.base/solib-symbol.exp: Likewise.
15840 * gdb.base/solib-weak.exp (do_test): Likewise.
15841 * gdb.base/sym-file.exp: Likewise.
15842 * gdb.base/symtab-search-order.exp: Likewise.
15843 * gdb.base/type-opaque.exp: Likewise.
15844 * gdb.base/unload.exp: Likewise.
15845 * gdb.base/watchpoint-solib.exp: Likewise.
15846 * gdb.compile/compile.exp: Likewise.
15847 * gdb.cp/gdb2384.exp: Likewise.
15848 * gdb.cp/infcall-dlopen.exp: Likewise.
15849 * gdb.cp/re-set-overloaded.exp: Likewise.
15850 * gdb.fortran/library-module.exp: Likewise.
15851 * gdb.opt/solib-intra-step.exp: Likewise.
15852 * gdb.python/py-finish-breakpoint.exp: Likewise.
15853 * gdb.python/py-shared.exp: Likewise.
15854 * gdb.reverse/solib-precsave.exp: Likewise.
15855 * gdb.reverse/solib-reverse.exp: Likewise.
15856 * gdb.server/solib-list.exp: Likewise.
15857 * gdb.threads/dlopen-libpthread.exp: Likewise.
15858 * gdb.threads/tls-shared.exp: Likewise.
15859 * gdb.threads/tls-so_extern.exp: Likewise.
15860 * gdb.trace/change-loc.exp: Likewise.
15861 * gdb.trace/ftrace-lock.exp: Likewise.
15862 * gdb.trace/ftrace.exp: Likewise.
15863 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15864 * gdb.trace/pending.exp: Likewise.
15865 * gdb.trace/range-stepping.exp: Likewise.
15866 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15867 (strace_info_marker): Likewise.
15868 (strace_probe_marker): Likewise.
15869 (strace_trace_on_same_addr): Likewise.
15870 (strace_trace_on_diff_addr): Likewise.
15871 * gdb.trace/trace-break.exp: Likewise.
15872 * gdb.trace/trace-condition.exp: Likewise.
15873 * gdb.trace/trace-mt.exp: Likewise.
15874
fca4cfd9
SM
158752016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15876
15877 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15878 result of gdb_remote_download.
15879 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15880 * gdb.base/dso2dso.exp: Likewise.
15881 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15882 * gdb.base/print-file-var.exp: Likewise.
15883 * gdb.base/shlib-call.exp: Likewise.
15884 * gdb.base/shreloc.exp: Likewise.
15885 * gdb.base/solib-overlap.exp: Likewise.
15886 * gdb.base/solib-weak.exp (do_test): Likewise.
15887 * gdb.base/unload.exp: Likewise.
15888
11cf4ffb
YQ
158892016-04-27 Yao Qi <yao.qi@linaro.org>
15890
15891 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15892 exists.
15893
3e2e34f8
KB
158942016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15895
15896 * vla-type.exp: Print structure from toplevel.
15897
8f07e298
BH
158982016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15899
15900 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15901 of dynamic types.
15902 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15903 of dynamic types.
15904
9920b434
BH
159052016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15906
15907 * gdb.fortran/vla-type.f90: New file.
15908 * gdb.fortran/vla-type.exp: New file.
15909
f3abeff5
YQ
159102016-04-25 Yao Qi <yao.qi@linaro.org>
15911
15912 * gdb.base/branch-to-self.c: New file.
15913 * gdb.base/branch-to-self.exp: New file.
15914
0a5d52f0
YQ
159152016-04-22 Yao Qi <yao.qi@linaro.org>
15916
15917 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15918 more after $hex.
15919
495346f6
YQ
159202016-04-22 Yao Qi <yao.qi@linaro.org>
15921
15922 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15923 * gdb.base/annota3.exp: Likewise.
15924
4a7e075c
YQ
159252016-04-22 Yao Qi <yao.qi@linaro.org>
15926
15927 * gdb.reverse/step-precsave.exp: Do one step and test program
15928 stops in "callee" and do multiple steps until program goes out
15929 of "callee".
15930 * gdb.reverse/step-reverse.exp: Likewise.
15931
5b061e98
YQ
159322016-04-22 Yao Qi <yao.qi@linaro.org>
15933
15934 * gdb.trace/signal.exp: Also pass if
15935 $tracepoint_hits($i) > $iterations.
15936
5c5dc57f
YQ
159372016-04-22 Yao Qi <yao.qi@linaro.org>
15938
15939 * gdb.trace/signal.c: New file.
15940 * gdb.trace/signal.exp: New file.
15941
a55411b9
DE
159422016-04-19 Doug Evans <xdje42@gmail.com>
15943
15944 * gdb.base/bad-file.exp: New file.
15945
a22df60a
MG
159462016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15947
15948 * gdb.dwarf2/implref.exp: New file.
15949
0c13f7e5
BH
159502016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15951
15952 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15953 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15954 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15955 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15956 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15957 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15958 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15959 * lib/fortran.exp (fortran_int4): New procedure.
15960 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15961 (fortran_logical4): Likewise.
15962
9b9b09e9
BH
159632016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15964
15965 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15966
a14d1f4d
BH
159672016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15968
15969 * lib/compiler.c: Add Intel specific preprocessor macros.
15970 * lib/compiler.cc: Likewise.
25d49b86 15971
7d49b1d0
LM
159722016-04-13 Luis Machado <lgustavo@codesourcery.com>
15973
15974 * gdb.server/connect-with-no-symbol-file.c: New file.
15975 * gdb.server/connect-with-no-symbol-file.exp: New file.
15976
8392fa22
SM
159772016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15978
15979 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15980
8c4c4aeb
SM
159812016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15982
15983 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15984 standard output directory.
15985
45e3745e
AT
159862016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15987
15988 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15989
e26b7e41
MM
159902016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15991
15992 * gdb.btrace/instruction_history.c (loop): Add declaration.
15993
8ce09462
AT
159942016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15995
15996 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15997
2e88a1ea
SM
159982016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15999
16000 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16001 parentheses to print.
16002 (continue_handler): Likewise.
16003
f48e22e3
SM
160042016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16005
16006 * gdb.server/solib-list.exp: Remove is_remote check.
16007 Pass shlib= to gdb_compile. Don't link shared library with
16008 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16009 Run binary filename through "readlink -f" on the target.
16010
096be756
PA
160112016-04-08 Pedro Alves <palves@redhat.com>
16012
16013 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16014 interpreter filename as argument to gdbserver_spawn.
16015 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16016 Return empty if $last_loaded_file does not exist.
16017
06500533
JK
160182016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16019
16020 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16021 * gdb.base/jit-main.c: Use exit after usage.
16022
2d35e871
JK
160232016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16024
16025 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16026 GDBHISTSIZE prior to the tests.
16027 * gdb.base/gdbinit-history.exp: Likewise.
16028
160292016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16030
16031 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16032 instead of build_executable. Use gdb_load_shlibs.
16033
c8064e7e
YQ
160342016-04-07 Yao Qi <yao.qi@linaro.org>
16035
16036 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16037 Execute "si" command.
16038
bde47561
YQ
160392016-04-07 Yao Qi <yao.qi@linaro.org>
16040
16041 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16042 number instead of the comments on some line.
16043
b16f8a3b
DB
160442016-04-06 Don Breazeal <donb@codesourcery.com>
16045
16046 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16047 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16048
c2f901df
SM
160492016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16050
16051 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16052 standard_output_file. Remove unused binfile variable.
16053
ac17fda0
CU
160542016-04-05 Catalin Udma <catalin.udma@freescale.com>
16055
16056 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16057 * gdb.python/py-mi-objfile.exp: Match "list main" output
16058 in console format.
16059
03a8c4df
SM
160602016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16061
16062 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16063 absolute.
16064
6e774b13
SM
160652016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16066
16067 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16068 absolute.
16069 * gdb.trace/ftrace.exp: Likewise.
16070 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16071 targets as well.
16072 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16073 (gdb_load_shlibs): Copy libraries to test directory when testing
16074 natively. Only set solib-search-path if testing remotely.
16075 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16076
7817ea46
SM
160772016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16078
16079 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16080 gdb_download. Use it even if the target is not remote.
16081 * gdb.base/jit.exp (compile_jit_test): Likewise.
16082 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16083 output directory if the destination board is local, otherwise use
16084 the standard remote_download from DejaGnu.
16085 (gdb_download): Remove.
16086 (gdb_load_shlibs): Use gdb_remote_download instead of
16087 gdb_download.
16088 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16089 Use gdb_remote_download instead of gdb_download. Use it even if
16090 the target is not remote.
16091 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16092 instead of gdb_download.
16093
7beb7f68
SM
160942016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16095
16096 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16097 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16098 run.
16099
cc63428a
AV
161002016-04-01 Artemiy Volkov <artemiyv@acm.org>
16101
16102 PR gdb/19820
16103 * gdb.base/printcmds.exp: Add artificial arrays tests.
16104
64cdf930
PA
161052016-03-31 Pedro Alves <palves@redhat.com>
16106
16107 PR gdb/19858
16108 * gdb.base/jit-main.c: Include unistd.h.
16109 (ATTACH): Define to 0 if not already defined.
16110 (wait_for_gdb, mypid): New globals.
16111 (WAIT_FOR_GDB): New macro.
16112 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16113 some breakpoint locations.
16114 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16115 New procedures.
16116 (one_jit_test): Add REATTACH parameter, and handle it. Use
16117 continue_to_test_location.
16118 (top level): Test attach, and adjusts calls to one_jit_test.
16119
40dea8cb
PA
161202016-03-31 Pedro Alves <palves@redhat.com>
16121
16122 PR gdb/19858
16123 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16124 BINSUFFIX parameter, and handle it.
16125 (top level): Adjust calls compile_jit_test.
16126
e7ea3ec7
CU
161272016-03-31 Catalin Udma <catalin.udma@freescale.com>
16128
16129 PR python/19743
16130 * gdb.python/py-mi-events-gdb.py: New file.
16131 * gdb.python/py-mi-events.c: New file.
16132 * gdb.python/py-mi-events.exp: New file.
16133
e6359af3
YQ
161342016-03-30 Yao Qi <yao.qi@linaro.org>
16135
16136 * gdb.reverse/until-precsave.exp: Match function name only.
16137 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16138 Move malloc to a condition block.
16139 * gdb.reverse/until-reverse.exp: Match function name only.
16140
a4105d04
MK
161412016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16142
16143 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16144 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16145 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16146 variable for GPR 0 instead of assuming it is register 0.
16147 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16148 * lib/trace-support.exp: Add s390 registers.
16149
bfa6adb9
YQ
161502016-03-29 Yao Qi <yao.qi@linaro.org>
16151
16152 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16153
1e6697ea
YQ
161542016-03-24 Yao Qi <yao.qi@linaro.org>
16155
16156 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16157 test message.
16158
64bcd522
AA
161592016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16160
16161 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16162 maintaining separate logic for constructing the output path.
16163
7868401b
DB
161642016-03-16 Don Breazeal <donb@codesourcery.com>
16165
16166 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16167 Retry fork and waitpid on interrupted system call errors.
16168 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16169 Use with_timeout_factor to increase timeout by factor of 10.
16170
1cafadb4
DB
161712016-03-15 Don Breazeal <donb@codesourcery.com>
16172
16173 * gdb.cp/scope-err.cc: New test program.
16174 * gdb.cp/scope-err.exp: New test script.
16175 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16176 lines and "set breakpoint here" comment.
16177 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16178 Fixed some whitespace and format issues.
16179 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16180 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16181
81516450
DE
161822016-03-15 Doug Evans <dje@google.com>
16183
16184 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16185 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16186 All callers updated. Add tests for enums, mixed flags register.
16187
aa52b601
DE
161882016-03-15 Doug Evans <dje@google.com>
16189
16190 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16191 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16192
fa4ff313
SM
161932016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16194
16195 * gdb.base/default.exp: Add $_as_string to the list of expected
16196 convenience functions.
16197
f2403c39
AB
161982016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16199
16200 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16201
f2f3ccb9
SM
162022016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16203
16204 * gdb.python/py-as-string.exp: New file.
16205 * gdb.python/py-as-string.c: New file.
16206
00dbd492
PA
162072016-03-09 Pedro Alves <palves@redhat.com>
16208
16209 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16210 signal" -> "Thread NN received signal" output change.
16211 * gdb.threads/ia64-sigill.exp: Likewise.
16212 * gdb.threads/linux-dp.exp: Likewise.
16213 * gdb.threads/manythreads.exp: Likewise.
16214 * gdb.threads/pending-step.exp: Likewise.
16215 * gdb.threads/print-threads.exp: Likewise.
16216 * gdb.threads/sigstep-threads.exp: Likewise.
16217 * gdb.threads/staticthreads.exp: Likewise.
16218 * gdb.threads/tls.exp: Likewise.
16219
1e6697ea
YQ
162202016-03-09 Pedro Alves <palves@redhat.com>
16221
16222 * gdb.base/command-line-input.exp: New file.
16223
b04fd3be
MK
162242016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16225
16226 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16227 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16228 * gdb.trace/pending.exp: Accept leading dot before function name.
16229 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16230 * lib/trace-support.exp: Set registers for ppc.
16231
98fa59e9
MK
162322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16233
16234 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16235 use it for disassembly; accept .main in addition to main in backtrace.
16236
f77198c8
MK
162372016-03-09 Wei-cheng Wang <cole945@gmail.com>
16238 Marcin Kościelnicki <koriakin@0x04.net>
16239
16240 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16241 (gdb_recursion_test_ptr): New global variable.
16242 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16243 gdb_recursion_test.
16244 (gdb_c_test): Ditto.
16245
ba84e0da
MK
162462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16247
16248 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16249 ordering.
16250
4366d36e
MK
162512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16252
16253 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16254 (bar): Add bar_start_lbl label.
16255 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16256 of foo/bar for emitting DWARF and tracing.
16257
5eb264df
SDJ
162582016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16259
16260 * analyze-racy-logs.py: Set executable bit.
16261
fb6a751f
SDJ
162622016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16263
16264 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16265 (CHECK_TARGET_TMP): Likewise.
16266 (check-single-racy): New rule.
16267 (check-parallel-racy): Likewise.
16268 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16269 (do-check-parallel-racy): New rule.
16270 (check-racy/%.exp): Likewise.
16271 * README (Racy testcases): New section.
16272 * analyze-racy-logs.py: New file.
16273
bdf7e230
DE
162742016-03-03 Doug Evans <dje@google.com>
16275
16276 * gdb.base/skip.exp: Use with_test_prefix.
16277
4719d415
YQ
162782016-03-03 Yao Qi <yao.qi@linaro.org>
16279
16280 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16281 Invoke step_over_syscall "clone" and break_cond_on_syscall
16282 "clone".
16283 * gdb.base/step-over-clone.c: New file.
16284
ea507862
YQ
162852016-03-03 Yao Qi <yao.qi@linaro.org>
16286
16287 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16288 code format.
16289
8fc8cbda
YQ
162902016-03-03 Yao Qi <yao.qi@linaro.org>
16291
16292 * gdb.base/disp-step-fork.c: Rename to ...
16293 * gdb.base/step-over-fork.c: ... it. New file.
16294 * gdb.base/disp-step-vfork.c: Rename to ...
16295 * gdb.base/step-over-vfork.c: ... it. New file.
16296 * gdb.base/disp-step-syscall.exp: Rename to ...
16297 * gdb.base/step-over-syscall.exp: ... it. New file.
16298 (disp_step_cross_syscall): Rename to ...
16299 (step_over_syscall): ... it.
16300
92fa70b0
YQ
163012016-03-03 Yao Qi <yao.qi@linaro.org>
16302
16303 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16304 If target supports condition evaluation on target, invoke
16305 break_cond_on_syscall for fork and vfork.
16306
e197ad3c
YQ
163072016-03-03 Yao Qi <yao.qi@linaro.org>
16308
16309 * gdb.base/disp-step-syscall.exp: Don't invoke
16310 support_displaced_stepping.
16311 (disp_step_cross_syscall): Test with displaced stepping off and
16312 on if supported.
16313
0b47da9f
YQ
163142016-03-03 Yao Qi <yao.qi@linaro.org>
16315
16316 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16317 proc.
16318 (setup): New proc.
16319 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16320 and setup.
16321
065ab6dc
BH
163222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16323
16324 * gdb.fortran/vla-history.exp: Remove breakpoint.
16325
07e448ad 163262016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16327
25d49b86
PA
16328 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16329 exceeds timeout.
07e448ad 16330
9ac2d526 163312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16332
25d49b86
PA
16333 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16334 breakpoint.
9ac2d526 16335
17807369
BH
163362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16337
16338 * gdb.mi/vla.f90: Nullify pointer after declaration.
16339
86e501af
PA
163402016-03-01 Pedro Alves <palves@redhat.com>
16341
16342 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16343
1e903e32
PA
163442016-03-01 Pedro Alves <palves@redhat.com>
16345
16346 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16347 before anything else.
16348 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16349 _GNU_SOURCE here.
16350 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16351 before anything else.
16352 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16353
6ccb54e2
PA
163542016-03-01 Pedro Alves <palves@redhat.com>
16355
16356 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16357
30ca9da1
YQ
163582016-03-01 Yao Qi <yao.qi@linaro.org>
16359
16360 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16361 prepare_for_testing.
16362
dc856b38
YQ
163632016-03-01 Yao Qi <yao.qi@linaro.org>
16364
16365 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16366
4a932159
AA
163672016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16368
16369 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16370 manually constructing the output path.
16371
f2489477
AA
163722016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16373
16374 * gdb.arch/s390-stackless.S: New.
16375 * gdb.arch/s390-stackless.exp: New.
16376
38899f16
IB
163772016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16378
16379 * gdb.dlang/circular.c: New file.
16380 * gdb.dlang/circular.exp: New file.
16381
9fde51ed
YQ
163822016-02-26 Yao Qi <yao.qi@linaro.org>
16383
16384 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16385 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16386 (testcases): Update.
16387
ce90fefe
YQ
163882016-02-26 Yao Qi <yao.qi@linaro.org>
16389
16390 * gdb.reverse/aarch64.c: Rename to ...
16391 * gdb.reverse/insn-reverse.c: ... it.
16392 * gdb.reverse/aarch64.exp: Rename to ...
16393 * gdb.reverse/insn-reverse.exp: ... it.
16394
3263bceb
YQ
163952016-02-26 Yao Qi <yao.qi@linaro.org>
16396
16397 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16398 (testcase_ftype): New.
16399 (testcases): New array.
16400 (n_testcases): New.
16401 (main): Call each element in testcases.
16402 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16403 (read_testcase): New.
16404 Do the tests in a loop.
16405
6cb59ff1
YQ
164062016-02-25 Yao Qi <yao.qi@linaro.org>
16407
16408 * gdb.base/branches.c: Remove.
16409
ae91f625
MK
164102016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16411
16412 PR gdb/13808
16413 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16414
678b48b7
MK
164152016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16416
16417 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16418
7337a6f2
MK
164192016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16420
16421 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16422 change x86_64 call_insn to 'callq'.
16423
861ca91f
AT
164242016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16425
16426 * gdb.trace/tfile-avx.c: Move to...
16427 * gdb.trace/tracefile-pseudo-reg.c: Here.
16428 * gdb.trace/tfile-avx.exp: Move to...
16429 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16430
bf74e428
GB
164312016-02-24 Gary Benson <gbenson@redhat.com>
16432
16433 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16434 message on attach.
16435
cce0e923
DE
164362016-02-23 Doug Evans <dje@google.com>
16437
16438 * gdb.base/skip.c (test_skip): New function.
16439 (end_test_skip_file_and_function): New function.
16440 (test_skip_file_and_function): New function.
16441 * gdb.base/skip1.c (test_skip): New function.
16442 (skip1_test_skip_file_and_function): New function.
16443 * gdb.base/skip.exp: Add tests for new skip options.
16444 * gdb.base/skip-solib.exp: Update expected output.
16445 * gdb.perf/skip-command.cc: New file.
16446 * gdb.perf/skip-command.exp: New file.
16447 * gdb.perf/skip-command.py: New file.
16448
4000e47e
MK
164492016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16450
16451 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16452 info registers pattern.
16453
24f75ead
IB
164542016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16455
16456 * lib/future.exp: Add D support.
16457 (gdb_find_gdc): New proc.
16458 (gdb_default_target_compile): Add D support.
16459
fbb7bcbe
WW
164602016-02-18 Wei-cheng Wang <cole945@gmail.com>
16461
16462 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16463 user+system time.
16464 (trace_speed_test): Determine the iteration count for a time
16465 between 15..30 seconds.
16466
012b3a21
WT
164672016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16468
16469 * gdb.arch/i386-mpx-sigsegv.c: New file.
16470 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16471 * gdb.arch/i386-mpx-simple_segv.c: New file.
16472 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16473
2d5189bd
YQ
164742016-02-18 Yao Qi <yao.qi@linaro.org>
16475
16476 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16477 Don't call setup_kfail.
16478
40fb20d0
YQ
164792016-02-18 Yao Qi <yao.qi@linaro.org>
16480
16481 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16482 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16483
21b1f8d2
DE
164842016-02-16 Doug Evans <dje@google.com>
16485
16486 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16487 * gdb.base/skip1.c: Ditto.
16488 * gdb.base/skip.exp: Whitespace cleanup.
16489
4041ed77
DB
164902016-02-16 Don Breazeal <donb@codesourcery.com>
16491
16492 PR remote/19496
16493 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16494 Remove kfail for PR remote/19496.
16495
c4ef31bf
SM
164962016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16497
16498 * lib/gdb.exp (standard_temp_file): Return a path specific to
16499 the runtest invocation.
16500
266b65b3
SM
165012016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16502
16503 * gdb.trace/save-trace.exp: Change relative path to be in the
16504 standard output directory.
16505
a7a0a6a9
JK
165062016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16507
16508 * gdb.arch/i386-prologue.c: Add missing prototypes.
16509
c99dbb42
JK
165102016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16511
16512 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16513 * gdb.arch/i386-prologue.exp: Likewise.
16514 * gdb.arch/i386-size.exp: Likewise.
16515
aa480355
SM
165162016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16517
16518 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16519 define object file path.
16520 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16521 file path.
16522 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16523 standard_output_file to define binfile.
16524
ba881f50
JK
165252016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16526
16527 Fix compatibility with recent gfortran-5.3.1.
16528 * gdb.fortran/vla-history.exp (print vla1 allocated)
16529 (print vla2 allocated, print $2, print $3): Remove
16530 (print $4): Rename to ...
16531 (print $2): ... here.
16532 (print $9): Rename to ...
16533 (print $5): ... here.
16534 (print $10): Rename to ...
16535 (print $6): ... here.
16536 * gdb.fortran/vla.f90: Add pvla initialization.
16537
e9fb005c
JK
165382016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16539
16540 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16541 New test.
16542 * gdb.fortran/vla-value-sub.exp: Likewise.
16543
e44e00ff
MK
165442016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16545
16546 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16547
97e94151
SM
165482016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16549
16550 * i386-biarch-core.exp: Define corefile using
16551 standard_output_file.
16552
01113bc1
YQ
165532016-02-12 Yao Qi <yao.qi@linaro.org>
16554
16555 * gdb.arch/arm-single-step-kernel-helper.c: New.
16556 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16557
33b4777c
MM
165582016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16559
16560 * gdb.btrace/tailcall-only.exp: New.
16561 * gdb.btrace/tailcall-only.c: New.
16562 * gdb.btrace/x86_64-tailcall-only.S: New.
16563 * gdb.btrace/i686-tailcall-only.S: New.
16564
acc23c11
PA
165652016-02-11 Pedro Alves <palves@redhat.com>
16566
16567 * README (Parallel testing): Add missing double quotes.
16568
e352bf0a
PA
165692016-02-11 Pedro Alves <palves@redhat.com>
16570
16571 * README (Parallel testing): New section.
16572 (GDB_PARALLEL): Rewrite.
16573 (FORCE_PARALLEL): Document.
16574
9f5fed78
MK
165752016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16576
16577 * gdb.trace/tfile-avx.c: New test.
16578 * gdb.trace/tfile-avx.exp: New test.
16579
9ef9e6a6
KS
165802016-02-09 Keith Seitz <keiths@redhat.com>
16581
16582 PR breakpoints/19546
16583 * gdb.base/infcall-exec.c: New file.
16584 * gdb.base/infcall-exec2.c: New file.
16585 * gdb.base/infcall-exec.exp: New file.
16586
a96e36da
KS
165872016-02-09 Keith Seitz <keiths@redhat.com>
16588
16589 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16590 (toplevel): Call test_bkpt_address.
16591
9f61929f
KS
165922016-02-09 Keith Seitz <keiths@redhat.com>
16593
16594 PR python/19506
16595 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16596 (toplevel): Call test_bkpt_address.
16597
1e94266c
SM
165982016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16599
16600 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16601 to AC_OUTPUT.
16602 * configure: Regenerate.
16603
2a7f3dff
PA
166042016-02-09 Pedro Alves <palves@redhat.com>
16605
16606 PR breakpoints/19548
16607 * gdb.base/execl-update-breakpoints.c (some_function): New
16608 function.
16609 (main): Call it.
16610 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16611 Tighten expected GDB output.
16612
2151ccc5
SM
166132016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16614
16615 * Makefile.in (ALL_SUBDIRS): Remove.
16616 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16617 (distclean maintainer-clean realclean): Likewise.
16618 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16619 * configure: Regenerate.
16620 * gdb.ada/Makefile.in: Delete.
16621 * gdb.arch/Makefile.in: Likewise.
16622 * gdb.asm/Makefile.in: Likewise.
16623 * gdb.base/Makefile.in: Likewise.
16624 * gdb.btrace/Makefile.in: Likewise.
16625 * gdb.cell/Makefile.in: Likewise.
16626 * gdb.compile/Makefile.in: Likewise.
16627 * gdb.cp/Makefile.in: Likewise.
16628 * gdb.disasm/Makefile.in: Likewise.
16629 * gdb.dlang/Makefile.in: Likewise.
16630 * gdb.dwarf2/Makefile.in: Likewise.
16631 * gdb.fortran/Makefile.in: Likewise.
16632 * gdb.gdb/Makefile.in: Likewise.
16633 * gdb.go/Makefile.in: Likewise.
16634 * gdb.guile/Makefile.in: Likewise.
16635 * gdb.java/Makefile.in: Likewise.
16636 * gdb.linespec/Makefile.in: Likewise.
16637 * gdb.mi/Makefile.in: Likewise.
16638 * gdb.modula2/Makefile.in: Likewise.
16639 * gdb.multi/Makefile.in: Likewise.
16640 * gdb.objc/Makefile.in: Likewise.
16641 * gdb.opencl/Makefile.in: Likewise.
16642 * gdb.opt/Makefile.in: Likewise.
16643 * gdb.pascal/Makefile.in: Likewise.
16644 * gdb.perf/Makefile.in: Likewise.
16645 * gdb.python/Makefile.in: Likewise.
16646 * gdb.reverse/Makefile.in: Likewise.
16647 * gdb.server/Makefile.in: Likewise.
16648 * gdb.stabs/Makefile.in: Likewise.
16649 * gdb.threads/Makefile.in: Likewise.
16650 * gdb.trace/Makefile.in: Likewise.
16651 * gdb.xml/Makefile.in: Likewise.
16652 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16653 GDB_PARALLEL.
16654 (standard_output_file): Remove check for GDB_PARALLEL, always
16655 return path in outputs/$subdir/$testname.
16656
437277d4
SM
166572016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16658
16659 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16660 (site.exp): Assign abs_srcdir to tcl's srcdir.
16661
31d913c7
YQ
166622016-02-04 Yao Qi <yao.qi@linaro.org>
16663
16664 * gdb.base/foll-exec-mode.c: Include limits.h.
16665 (main): Add parameters argc and argv. Get directory from
16666 argv[0].
16667 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16668 compilation.
16669 * gdb.base/foll-exec.c: Include limits.h.
16670 (main): Add parameters argc and argv.
16671 Get directory from argv[0].
16672 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16673 Adjust tests on the number of lines as source code changed.
16674 * gdb.base/foll-vfork-exit.c: Include limits.h.
16675 (main): Add one line of statement before vfork.
16676 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16677 (main): Add parameters argc and argv. Get directory from
16678 argv[0].
16679 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16680 (setup_gdb): Set tbreak to skip some source lines.
16681 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16682 (main): Add parameters argc and argv. Get directory from
16683 argv[0].
16684 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16685 compilation.
16686 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16687 (main): Add parameters argc and argv. Get directory from
16688 argv[0].
16689 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16690 compilation.
16691
9482b9fb
DE
166922016-02-01 Doug Evans <dje@google.com>
16693
16694 * gdb.base/skip.exp: Clean up multiple references to same test name.
16695
6b2e4f10
PA
166962016-02-01 Pedro Alves <palves@redhat.com>
16697
ccb6afd6 16698 PR remote/19496
6b2e4f10
PA
16699 * gdb.threads/forking-threads-plus-breakpoint.exp
16700 (displaced_stepping_supported): New global.
16701 (probe_displaced_stepping_support): New procedure.
16702 (do_test): Add 'displaced' parameter, and use it.
16703 (top level): Check for displaced stepping support. Add displaced
16704 stepping on/off testing axis.
16705
37a8db1a
AB
167062016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16707
16708 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16709 pointer. Don't perform further tests on the unassociated pointer
16710 if the first test fails.
16711
5fdf6324
AB
167122016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16713
16714 * gdb.base/max-value-size.c: New file.
16715 * gdb.base/max-value-size.exp: New file.
16716 * gdb.base/huge.exp: Disable max-value-size for this test.
16717
935c6144
IB
167182016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16719
16720 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16721
7fe8399d
YQ
167222016-01-28 Yao Qi <yao.qi@linaro.org>
16723
16724 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16725
a2077e25
PA
167262016-01-25 Pedro Alves <palves@redhat.com>
16727
16728 PR threads/19461
16729 * gdb.base/fork-running-state.c: New file.
16730 * gdb.base/fork-running-state.exp: New file.
16731
1d2736d4
PA
167322016-01-25 Pedro Alves <palves@redhat.com>
16733
16734 PR gdb/19494
16735 * gdb.base/catch-fork-kill.c: New file.
16736 * gdb.base/catch-fork-kill.exp: New file.
16737
f1da4b11
PA
167382016-01-25 Pedro Alves <palves@redhat.com>
16739
16740 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16741 Delete, moved to lib/gdb.exp.
16742 * gdb.threads/forking-threads-plus-breakpoint.exp
16743 (foreach_with_prefix): Likewise.
16744 * gdb.threads/process-dies-while-handling-bp.exp
16745 (foreach_with_prefix): Likewise.
16746 * lib/gdb.exp (foreach_with_prefix): New procedure.
16747
45f38546
MK
167482016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16749
16750 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16751 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16752
dc29a1ce
MK
167532016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16754
16755 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16756 endian targets.
16757
092127d7
JK
167582016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16759 Pedro Alves <palves@redhat.com>
16760
16761 Fix testsuite compatibility with Guile.
16762 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16763 number.
16764
31d765d3
JK
167652016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16766
16767 Fix testsuite compatibility with Guile.
16768 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16769 (thread 1): New test for backtrace through signal handler.
16770
1ac78c04
YQ
167712016-01-22 Yao Qi <yao.qi@linaro.org>
16772
16773 PR testsuite/19491
16774 * gdb.base/multi-forks.c: Include
16775 ../lib/unbuffer_output.c
16776 (main): Call gdb_unbuffer_output.
16777
4f5946a8
DE
167782016-01-21 Doug Evans <dje@google.com>
16779
16780 * lib/ada.exp (gdb_compile_ada): Fix typo.
16781
305e13e6
JB
167822016-01-21 Joel Brobecker <brobecker@adacore.com>
16783
16784 * gdb.base/break-fun-addr.exp: New file.
16785 * gdb.base/break-fun-addr1.c: New file.
16786 * gdb.base/break-fun-addr2.c: New file.
16787
5f5dfff6
SM
167882016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16789
16790 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16791 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16792 enum flag values.
16793
fd356fa2
AA
167942016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16795
16796 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16797 when GDB can not set the vector return value. Add more comments
16798 for clarification.
16799
9df22175
AT
168002016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16801
16802 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16803 command.
16804
41d1845e
SM
168052016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16806
16807 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16808
01ac6840
SM
168092016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16810
16811 * Makefile.in (check-single): Pass --status to runtest.
16812 (check/%.exp): Likewise.
16813
168142016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16815
16816 * Makefile.in (check-parallel): Propagate return code from make
16817 do-check-parallel.
16818
bd0a71fa
MK
168192016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16820
16821 * gdb.trace/ftrace.exp: Fix expected message on continue.
16822 * gdb.trace/pending.exp: Fix expected message on continue.
16823 * gdb.trace/trace-break.exp: Fix expected message on continue.
16824
8bcbad33
SM
168252016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16826
16827 * lib/gdb.exp (gdb_test): Remove unused global references.
16828
f303dbd6
PA
168292016-01-18 Pedro Alves <palves@redhat.com>
16830
16831 * gdb.base/async-shell.exp: Adjust expected output.
16832 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16833 * gdb.base/siginfo-thread.exp: Adjust expected output.
16834 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16835 * gdb.java/jnpe.exp: Adjust expected output.
16836 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16837 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16838 * gdb.threads/leader-exit.exp: Adjust expected output.
16839 * gdb.threads/manythreads.exp: Adjust expected output.
16840 * gdb.threads/pthreads.exp: Adjust expected output.
16841 * gdb.threads/schedlock.exp: Adjust expected output.
16842 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16843 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16844 expected output.
16845 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16846 output.
16847 * gdb.threads/sigthread.exp: Adjust expected output.
16848 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16849
b2789696
YQ
168502016-01-18 Yao Qi <yao.qi@linaro.org>
16851
16852 * gdb.guile/scm-section-script.c: Replace @progbits with
16853 %progbits.
16854 * gdb.python/py-section-script.c: Likewise.
16855
71ef29a8
PA
168562016-01-15 Pedro Alves <palves@redhat.com>
16857
16858 * gdb.multi/tids.exp: Test star wildcard ranges.
16859
3f5b7598
PA
168602016-01-15 Pedro Alves <palves@redhat.com>
16861
16862 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16863 command from "thread apply" invocation.
16864 (thr_apply_info_thr_invalid): Default the expected output to the
16865 input tid list.
16866 (top level): Add tests that use convenience variables. Add tests
16867 for "thread apply" with a valid TID list, but missing the command.
16868
663f6d42
PA
168692016-01-13 Pedro Alves <palves@redhat.com>
16870
16871 * gdb.base/default.exp: Expect $_gthread as well.
16872 * gdb.multi/tids.exp: Test $_gthread.
16873 * gdb.threads/thread-specific.exp: Test $_gthread.
16874
c84f6bbf
PA
168752016-01-13 Pedro Alves <palves@redhat.com>
16876
16877 * gdb.multi/tids.exp: Test "info threads -gid".
16878
22a02324
PA
168792016-01-13 Pedro Alves <palves@redhat.com>
16880
16881 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16882 Breakpoint.thread.
16883 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16884
5d5658a1
PA
168852016-01-07 Pedro Alves <palves@redhat.com>
16886
16887 * gdb.base/break.exp: Adjust to output changes.
16888 * gdb.base/hbreak2.exp: Likewise.
16889 * gdb.base/sepdebug.exp: Likewise.
16890 * gdb.base/watch_thread_num.exp: Likewise.
16891 * gdb.linespec/keywords.exp: Likewise.
16892 * gdb.multi/info-threads.exp: Likewise.
16893 * gdb.threads/thread-find.exp: Likewise.
16894 * gdb.multi/tids.c: New file.
16895 * gdb.multi/tids.exp: New file.
16896
84654457
PA
168972016-01-13 Pedro Alves <palves@redhat.com>
16898
16899 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16900
e3940304
PA
169012016-01-13 Pedro Alves <palves@redhat.com>
16902
16903 * gdb.base/default.exp: Expect $_inferior as well.
16904 * gdb.multi/base.exp: Test $_inferior.
16905
a911d87a
PA
169062016-01-13 Pedro Alves <palves@redhat.com>
16907
16908 PR breakpoints/19388
16909 * gdb.base/catch-signal-siginfo-cond.c: New file.
16910 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16911
82075af2
JS
169122016-01-12 Josh Stone <jistone@redhat.com>
16913 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16914
16915 * gdb.base/catch-syscall.c (do_execve): New variable.
16916 (main): Conditionally trigger an execve.
16917 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16918 (test_catch_syscall_execve): New, check entry/return across execve.
16919 (do_syscall_tests): Call test_catch_syscall_execve.
16920
e46eeedd
PA
169212016-01-12 Pedro Alves <palves@redhat.com>
16922
16923 * gdb.base/random-signal.exp (do_test): New procedure, with body
16924 of testcase moved in.
16925
01d8c27e
JK
169262016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16927 Pedro Alves <palves@redhat.com>
16928
16929 * gdb.base/funcargs.exp (finish from indirectly called function):
16930 Reintroduce the case for 'First'.
16931
9a706302
JK
169322016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16933 Pedro Alves <palves@redhat.com>
16934
16935 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16936 (tcatch_vfork_then_child_follow_exec)
16937 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16938 identification.
16939
c0ecb95f
JK
169402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16941
16942 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16943 and repeats to unlimited.
16944 * gdb.python/py-value.exp: Likewise.
16945 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16946 and repeats to unlimited.
16947
6cfc1fcb
JK
169482016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16949
16950 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16951 and reordering the functions.
16952 * gdb.multi/hangout.c: Likewise.
16953 * gdb.multi/hello.c: Likewise.
16954
582a1b00
SM
169552016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16956
16957 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16958 absolute.
16959 (SingleStatisticTestResult.report): Use dict.keys instead of
16960 dict.iterkeys.
16961
79bc59cb
PA
169622016-01-06 Pedro Alves <palves@redhat.com>
16963
16964 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16965
43368e1d
MM
169662016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16967
16968 * gdb.btrace/dlopen.exp: New.
16969 * gdb.btrace/dlopen.c: New.
16970 * gdb.btrace/dlopen-dso.c: New.
16971
79fad5b8
SL
169722015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16973
16974 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16975 PATTERN argument is optional.
16976
ab8314b3
JB
169772015-12-24 Joel Brobecker <brobecker@adacore.com>
16978
16979 * lib/ada.exp (target_compile_ada_from_dir): New function.
16980 (gdb_compile_ada): Reimplement avoiding the use of project files.
16981 * gdb.ada/gnat_ada.gpr: Delete.
16982 * gdb.ada/cond_lang.exp: Adjust test to make path before
16983 filename optional.
16984 * gdb.ada/small_reg_param.exp: Likewise.
16985
fe33faff
SM
169862015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16987
16988 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16989
6d265cb4
TP
169902015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16991
16992 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16993 case.
16994
10125099
SM
169952015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16996
16997 * gdb.base/break.exp: Remove dead code.
16998 * gdb.base/sepdebug.exp: Likewise.
16999
3ca22649
SM
170002015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17001
17002 * gdb.asm/asm-source.exp: Remove HP-UX references.
17003 * gdb.base/annota1.exp: Likewise.
17004 * gdb.base/annota3.exp: Likewise.
17005 * gdb.base/attach.exp: Likewise.
17006 * gdb.base/bigcore.exp: Likewise.
17007 * gdb.base/break.exp: Likewise.
17008 * gdb.base/call-ar-st.exp: Likewise.
17009 * gdb.base/callfuncs.exp: Likewise.
17010 * gdb.base/catch-fork-static.exp: Likewise.
17011 * gdb.base/display.exp: Likewise.
17012 * gdb.base/foll-exec-mode.exp: Likewise.
17013 * gdb.base/foll-exec.exp: Likewise.
17014 * gdb.base/foll-fork.exp: Likewise.
17015 * gdb.base/foll-vfork.exp: Likewise.
17016 * gdb.base/funcargs.exp: Likewise.
17017 * gdb.base/hbreak2.exp: Likewise.
17018 * gdb.base/inferior-died.exp: Likewise.
17019 * gdb.base/interrupt.exp: Likewise.
17020 * gdb.base/multi-forks.exp: Likewise.
17021 * gdb.base/nodebug.exp: Likewise.
17022 * gdb.base/sepdebug.exp: Likewise.
17023 * gdb.base/solib1.c: Likewise.
17024 * gdb.base/step-test.exp: Likewise.
17025 * gdb.mi/non-stop.c: Likewise.
17026 * gdb.mi/pthreads.c: Likewise.
17027 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17028 * gdb.threads/pthreads.c: Likewise.
17029 * gdb.threads/staticthreads.exp: Likewise.
17030 * lib/future.exp: Likewise.
17031 * lib/gdb.exp: Likewise.
17032 * gdb.base/so-indr-cl.c: Remove.
17033 * gdb.base/so-indr-cl.exp: Likewise.
17034 * gdb.base/solib.c: Likewise.
17035 * gdb.base/solib.exp: Likewise.
17036 * gdb.base/solib2.c: Likewise.
17037
b6304613
SM
170382015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17039
17040 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17041 * gdb.base/call-ar-st.exp: Likewise.
17042 * gdb.base/callfuncs.exp: Likewise.
17043 * gdb.base/condbreak.exp: Likewise.
17044 * gdb.base/constvars.exp: Likewise.
17045 * gdb.base/hbreak2.exp: Likewise.
17046 * gdb.base/langs.exp: Likewise.
17047 * gdb.base/list.exp: Likewise.
17048 * gdb.base/long_long.exp: Likewise.
17049 * gdb.base/ptype.exp: Likewise.
17050 * gdb.base/scope.exp: Likewise.
17051 * gdb.base/signals.exp: Likewise.
17052 * gdb.base/so-impl-ld.exp: Likewise.
17053 * gdb.base/varargs.exp: Likewise.
17054 * gdb.base/volatile.exp: Likewise.
17055 * gdb.base/whatis.exp: Likewise.
17056 * gdb.cp/cplusfuncs.exp: Likewise.
17057 * gdb.cp/inherit.exp: Likewise.
17058 * gdb.cp/local.exp: Likewise.
17059 * gdb.cp/member-ptr.exp: Likewise.
17060 * gdb.cp/method.exp: Likewise.
17061 * gdb.cp/overload.exp: Likewise.
17062 * gdb.cp/templates.exp: Likewise.
17063 * gdb.stabs/weird.exp: Likewise.
17064 * lib/compiler.c: Likewise.
17065 * lib/compiler.cc: Likewise.
17066 * lib/cp-support.exp: Likewise.
17067 * lib/gdb.exp: Likewise.
17068
bf401b07
SM
170692015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17070
17071 * configure.ac: Remove HP-UX case.
17072 * configure: Regenerate.
17073
aff9c0f8
SM
170742015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17075
17076 * lib/gdb.exp (gdb_compile): Add function doc.
17077
a6904d5a
PA
170782015-12-17 Pedro Alves <palves@redhat.com>
17079
17080 PR threads/19354
17081 * gdb.multi/info-threads.exp: New file.
17082
a22279dd
YQ
170832015-12-15 Yao Qi <yao.qi@linaro.org>
17084
17085 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17086 is aarch64*-*-*.
17087
0588c796
SL
170882015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17089
17090 * gdb.base/history-duplicates.exp: Skip if no readline support.
17091
5d978e17
SL
170922015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17093
17094 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17095
7e763b86
SL
170962015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17097
17098 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17099
87a3a92c
SL
171002015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17101
17102 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17103 ctrl-C if nointerrupts target property is set.
17104 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17105 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17106 * gdb.base/paginate-bg-execution.exp: Likewise.
17107 * gdb.base/paginate-execution-startup.exp: Likewise.
17108 * gdb.base/random-signal.exp: Likewise.
17109 * gdb.base/range-stepping.exp: Likewise.
17110 * gdb.cp/annota2.exp: Likewise.
17111 * gdb.cp/annota3.exp: Likewise.
17112 * gdb.gdb/selftest.exp: Likewise.
17113 * gdb.threads/continue-pending-status.exp: Likewise.
17114 * gdb.threads/leader-exit.exp: Likewise.
17115 * gdb.threads/manythreads.exp: Likewise.
17116 * gdb.threads/pthreads.exp: Likewise.
17117 * gdb.threads/schedlock.exp: Likewise.
17118 * gdb.threads/sigthread.exp: Likewise.
17119
a8f077dc
DB
171202015-12-11 Don Breazeal <donb@codesourcery.com>
17121
17122 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17123 remote.
17124 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17125 * gdb.base/foll-exec.exp (main): Enable for target remote.
17126 * gdb.base/foll-fork.exp (main): Likewise.
17127 * gdb.base/foll-vfork.exp (main): Likewise.
17128 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17129 (proc continue_to_exit_bp_loc): Use clean_restart.
17130 * gdb.base/pie-execl.exp (main): Disable for target remote.
17131 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17132 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17133 * gdb.threads/execl.exp (main): Likewise.
17134 * gdb.threads/fork-child-threads.exp (main): Likewise.
17135 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17136 remote.
17137 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17138 remote.
17139 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17140 pid.tid style ptids, instead of just tid.
17141 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17142 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17143 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17144 ptids, instead of just tid.
17145
3b2464a8
AB
171462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17147
17148 * gdb.base/list.exp (test_list_forward): Add end of file error
17149 test.
17150 (test_repeat_list_command): Add end of file error test.
17151 (test_list_backwards): Add beginning of file error test.
17152
a0def019
AB
171532015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17154
17155 * gdb.base/list.exp (test_list_invalid_args): New function,
17156 defined, and called.
17157
5c000dff
AB
171582015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17159
17160 * gdb.base/list.exp (test_list): Make test names unique.
17161
f1637ebe
YQ
171622015-12-11 Yao Qi <yao.qi@linaro.org>
17163
17164 * gdb.base/coremaker2.c: Remove.
17165
36d6fc0a
PA
171662015-12-10 Pedro Alves <palves@redhat.com>
17167
17168 * gdb.multi/base.exp: Remove stale "spaces" references.
17169
762f7747
PA
171702015-12-10 Pedro Alves <palves@redhat.com>
17171
17172 * gdb.multi/base.exp: Don't use nowarnings.
17173 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17174 * gdb.multi/hangout.c: Include stdio.h.
17175 * gdb.multi/hello.c: Include stdlib.h.
17176 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17177 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17178 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17179
28d2bfb9
AB
171802015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17181
17182 * gdb.dwarf2/dw2-ranges-base.c: New file.
17183 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17184 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17185 support additional line table, and debug ranges generation.
17186 (Dwarf::ranges): New function, generate .debug_ranges.
17187 (Dwarf::lines): Support generating simple line table programs.
17188 (Dwarf::assemble): Initialise new namespace variables.
17189
5fc2beac
KB
171902015-12-09 Kevin Buettner <kevinb@redhat.com>
17191
17192 * gdb.base/async.exp (proc test_background): Add case for
17193 asynchronous execution not supported.
17194
1c35a88f
LM
171952015-12-09 Luis Machado <lgustavo@codesourcery.com>
17196
17197 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17198 format and change test names to make them unique.
17199
b593e3d9
RK
172002015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17201 Pedro Alves <pedro@redhat.com>
17202
17203 PR gdb/18702
17204 Add checking of floatformats setup on x86_64 hosts.
17205 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17206 (smallval, bigval): New labels/constants.
17207 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17208 float" after loading bigval and smallval.
17209
d72413e6
PMR
172102015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17211
17212 * gdb.ada/fun_overload_menu.exp: New testcase.
17213 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17214
ece66d65
JS
172152015-12-04 Josh Stone <jistone@redhat.com>
17216
17217 * gdb.base/catch-fork-static.exp: New.
17218
41d0efca
YQ
172192015-12-03 Yao Qi <yao.qi@linaro.org>
17220
17221 * gdb.base/sizeof.c: Don't include stdio.h and
17222 ../lib/unbuffer_output.c.
17223 (main): New variable 'size' and 'value'. Remove printf and
17224 gdb_unbuffer_output. Assign return value to size and value.
17225 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17226 at the beginning.
17227 (check_sizeof): Check the result by printing variable 'size'.
17228 (check_valueof): Check the result by printing variable 'value'.
17229
99fd02d9
YQ
172302015-12-01 Yao Qi <yao.qi@linaro.org>
17231
17232 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17233 for aarch64*-*-linux* target.
17234
f2faf941
PA
172352015-11-30 Pedro Alves <palves@redhat.com>
17236
17237 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17238
04bf20c5
PA
172392015-11-30 Pedro Alves <palves@redhat.com>
17240
17241 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17242 Handle non-stop mode vCont replies.
17243
09df4675
PA
172442015-11-30 Pedro Alves <palves@redhat.com>
17245
17246 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17247 prepare_for_testing. Start gdb with "set non-stop on" appended to
17248 GDBFLAGS. Lax expected stop output.
17249
58b584af
YQ
172502015-11-27 Yao Qi <yao.qi@linaro.org>
17251
17252 * gdb.arch/arm-neon.exp: New.
17253 * gdb.arch/arm-neon.c: New.
17254
dfcb77a8
YQ
172552015-11-27 Yao Qi <yao.qi@linaro.org>
17256
17257 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17258
88e8ec1b
YQ
172592015-11-27 Yao Qi <yao.qi@linaro.org>
17260
17261 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17262 frames-invalid annotation.
17263
bfde72c2
YQ
172642015-11-27 Yao Qi <yao.qi@linaro.org>
17265
17266 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17267
f6512a69
SM
172682015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17269
17270 * gdb.threads/names.exp: New file.
17271 * gdb.threads/names.c: New file.
17272 * README: Mention gdb,no_thread_names.
17273
46a3515b
MM
172742015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17275
17276 PR 19297
17277 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17278 support" error.
17279
62147a22
PA
172802015-11-24 Pedro Alves <palves@redhat.com>
17281
17282 PR 17539
17283 * gdb.base/display.exp: Expect displays to be sorted in ascending
17284 order. Use multi_line.
17285 * gdb.base/solib-display.exp: Likewise.
17286
2f341b6e
PA
172872015-11-24 Pedro Alves <palves@redhat.com>
17288
17289 PR 17539
25d49b86
PA
17290 * gdb.base/display.exp: Expect displays to be sorted in ascending
17291 order. Use multi_line.
17292 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17293
7e0aa6aa
PA
172942015-11-24 Pedro Alves <palves@redhat.com>
17295
17296 PR 17539
17297 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17298 threads in ascending order.
17299 * gdb.base/foll-fork.exp: Likewise.
17300 * gdb.base/foll-vfork.exp: Likewise.
17301 * gdb.base/multi-forks.exp: Likewise.
17302 * gdb.mi/mi-nonstop.exp: Likewise.
17303 * gdb.mi/mi-nsintrall.exp: Likewise.
17304 * gdb.multi/base.exp: Likewise.
17305 * gdb.multi/multi-arch.exp: Likewise.
17306 * gdb.python/py-inferior.exp: Likewise.
17307 * gdb.threads/break-while-running.exp: Likewise.
17308 * gdb.threads/execl.exp: Likewise.
17309 * gdb.threads/gcore-thread.exp: Likewise.
17310 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17311 * gdb.threads/kill.exp: Likewise.
17312 * gdb.threads/linux-dp.exp: Likewise.
17313 * gdb.threads/multiple-step-overs.exp: Likewise.
17314 * gdb.threads/next-bp-other-thread.exp: Likewise.
17315 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17316 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17317 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17318 * gdb.threads/thread-find.exp: Likewise.
17319 * gdb.threads/tls.exp: Likewise.
17320 * lib/mi-support.exp (mi_reverse_list): Delete.
17321 (mi_check_thread_states): No longer reverse list.
17322
2cc57ad8
PA
173232015-11-24 Pedro Alves <palves@redhat.com>
17324
17325 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17326 use lowercase.
17327
c93e8391
SM
173282015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17329
17330 * gdb.trace/actions.c: Include trace-common.h.
17331 (main): Add a location for a fast tracepoint.
17332 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17333 the normal tracepoints.
17334 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17335
045ccf91
SM
173362015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17337
17338 * save-trace.exp: Factor out code to these...
17339 (gdb_save_tracepoints): New.
17340 (gdb_load_tracepoints): New.
17341 (do_save_load_test): New.
17342
5506f9f6
KB
173432015-11-23 Kevin Buettner <kevinb@redhat.com>
17344
17345 * gdb.base/asmlabel.exp: New test.
17346 * gdb.base/asmlabel.c: New test case.
17347
16c3b12f
JB
173482015-11-23 Joel Brobecker <brobecker@adacore.com>
17349
17350 * gdb.base/wrong_frame_bt_full-main.c: New file.
17351 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17352 * gdb.base/wrong_frame_bt_full.exp: New file.
17353
155bfbd3
JB
173542015-11-23 Joel Brobecker <brobecker@adacore.com>
17355
17356 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17357
bb097445
JM
173582015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17359
206853a0 17360 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17361 pstate register when comparing registers values in
17362 sparc64-*-linux-gnu targets to avoid spurious differences.
17363
9c88ed8f
JM
173642015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17365
206853a0 17366 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17367
96161e25
SL
173682015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17369
17370 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17371 as type argument to gdb_compile.
17372 * gdb.base/nested-subp2.exp: Likewise.
17373 * gdb.base/nested-subp3.exp: Likewise.
17374
340c2830
DV
173752015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17376
17377 * lib/dwarf.exp (_note): Fix left shift of negative value.
17378 * gdb.trace/trace-condition.exp: Likewise.
17379
c1862d0f
YQ
173802015-11-13 Yao Qi <yao.qi@linaro.org>
17381
17382 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17383 comments about d10v.
17384 (test_scalar_returns): Likewise.
17385 * gdb.base/d10v.ld: Remove.
17386 * gdb.base/overlays.exp: Remove the target triplet checking for
17387 d10v-*-*.
17388 * gdb.base/structs.exp (test_struct_returns): Remove the
17389 comments about d10v.
17390 (test_struct_calls): Likewise.
17391
77ae9c19
YQ
173922015-11-13 Yao Qi <yao.qi@linaro.org>
17393
17394 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17395 * gdb.base/gnu_vector.c: Don't include stdio.h.
17396 (main): Don't print res and call add_some_intvecs.
17397
430e004e
MK
173982015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17399
17400 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17401 macro.
17402 (func5): Removed.
17403 (func4): Use FAST_TRACEPOINT_LABEL.
17404 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17405 macro.
17406 (func): Removed.
17407 (thread_function): Use FAST_TRACEPOINT_LABEL.
17408 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17409 (func): Remove.
17410 (marker): Use FAST_TRACEPOINT_LABEL.
17411 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17412 (pendfunc1): Remove.
17413 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17414 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17415 (foo): Remove.
17416 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17417 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17418 macro.
17419 (func): Remove.
17420 (marker): Use FAST_TRACEPOINT_LABEL.
17421 * gdb.trace/trace-common.h: New header.
17422 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17423 macro.
17424 (func): Remove.
17425 (marker): Use FAST_TRACEPOINT_LABEL.
17426 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17427 (func): Remove.
17428 (thread_function): Use FAST_TRACEPOINT_LABEL.
17429
6e7675a7
MK
174302015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17431
17432 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17433 in front.
17434 * gdb.trace/change-loc.exp: Use global pcreg definition.
17435 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17436 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17437 in front.
17438 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17439 * gdb.trace/pending.exp: Likewise.
17440 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17441 * gdb.trace/trace-break.exp: Likewise.
17442 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17443 in front.
17444 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17445 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17446 in front.
17447 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17448
dddc0e16
JB
174492015-11-09 Joel Brobecker <brobecker@adacore.com>
17450
17451 * gdb.ada/fin_fun_out: New testcase.
17452
c6f0b406
KB
174532015-11-07 Kevin Buettner <kevinb@redhat.com>
17454
17455 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17456 value associated with DW_AT_byte_size.
17457 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17458 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17459 DW_AT_upper_bound.
17460
f01dcfd9
KB
174612015-11-07 Kevin Buettner <kevinb@redhat.com>
17462
17463 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17464 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17465 version.
17466 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17467 gdb.dwarf2/dw2-canonicalize-type.exp,
17468 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17469 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17470 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17471 provided by gdb_target_symbol_prefix_flags_asm.
17472 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17473 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17474 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17475 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17476 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17477 macros where needed). Use this macro for symbols which require
17478 the prefix provided by SYMBOL_PREFIX.
17479
2223449a
KB
174802015-11-05 Kevin Buettner <kevinb@redhat.com>
17481
17482 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17483 New procs.
17484 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17485 representing expressions, of more than one list element.
17486 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17487 to prepend linker symbol prefix to f.
17488 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17489 table_1 and table_2.
17490 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17491 Likewise, for f and g.
17492 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17493 for ptr.
17494 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17495 for main.
17496 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17497 table_1_ptr and table_2_ptr.
17498
6f2f1a3a
JK
174992015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17500 Joel Brobecker <brobecker@adacore.com>
17501
17502 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17503
566c56c9
MK
175042015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17505
17506 * gdb.reverse/s390-mvcle.c: New test.
17507 * gdb.reverse/s390-mvcle.exp: New file.
17508 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17509
d5f0636b
MK
175102015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17511
17512 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17513
7ad8b86c
MK
175142015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17515
17516 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17517 reaching marker2.
17518 * gdb.reverse/getresuid-reverse.exp: Likewise.
17519 * gdb.reverse/pipe-reverse.exp: Likewise.
17520 * gdb.reverse/readv-reverse.exp: Likewise.
17521 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17522 * gdb.reverse/time-reverse.exp: Likewise.
17523 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17524
4081c0f1
YQ
175252015-10-30 Yao Qi <yao.qi@linaro.org>
17526
17527 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17528 (empty_cycle): Remove.
17529 (main): Don't call empty_cycle. Don't use watch_count_done.
17530 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17531 empty_cycle. Rewrite the code counting HW watchpoints.
17532
452b4ba5
MK
175332015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17534
17535 * gdb.reverse/fstatat-reverse.c: New test.
17536 * gdb.reverse/fstatat-reverse.exp: New file.
17537 * gdb.reverse/getresuid-reverse.c: New test.
17538 * gdb.reverse/getresuid-reverse.exp: New file.
17539 * gdb.reverse/pipe-reverse.c: New test.
17540 * gdb.reverse/pipe-reverse.exp: New file.
17541 * gdb.reverse/readv-reverse.c: New test.
17542 * gdb.reverse/readv-reverse.exp: New file.
17543 * gdb.reverse/recvmsg-reverse.c: New test.
17544 * gdb.reverse/recvmsg-reverse.exp: New file.
17545 * gdb.reverse/time-reverse.c: New test.
17546 * gdb.reverse/time-reverse.exp: New file.
17547 * gdb.reverse/waitpid-reverse.c: New test.
17548 * gdb.reverse/waitpid-reverse.exp: New file.
17549
5e2e7507
JK
175502015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17551
17552 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17553
0fde2c53
DE
175542015-10-26 Doug Evans <dje@google.com>
17555
17556 PR symtab/17391
17557 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17558 * gdb.dwarf2/bad-regnum.c: New file.
17559 * gdb.dwarf2/bad-regnum.exp: New file.
17560
1a70ae97
DE
175612015-10-26 Doug Evans <dje@google.com>
17562
17563 PR python/18938
17564 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17565 file.
17566
27dc26ab
JK
175672015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17568
17569 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17570 for a change by "Mention language in compile error message".
17571
bed91f4d
SM
175722015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17573
17574 PR python/18073
17575 * gdb.python/py-type.c (C::a_method): New.
17576 (C::a_const_method): New.
17577 (C::a_static_method): New.
17578 (a_function): New.
17579 * gdb.python/py-type.exp (test_fields): Test getting fields
17580 from function and method.
17581
3f2f83dd
KB
175822015-10-21 Keven Boell <keven.boell@intel.com>
17583
17584 * gdb.fortran/vla-alloc-assoc.exp: New file.
17585 * gdb.fortran/vla-datatypes.exp: New file.
17586 * gdb.fortran/vla-datatypes.f90: New file.
17587 * gdb.fortran/vla-history.exp: New file.
17588 * gdb.fortran/vla-ptype-sub.exp: New file.
17589 * gdb.fortran/vla-ptype.exp: New file.
17590 * gdb.fortran/vla-sizeof.exp: New file.
17591 * gdb.fortran/vla-sub.f90: New file.
17592 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17593 * gdb.fortran/vla-value-sub-finish.exp: New file.
17594 * gdb.fortran/vla-value-sub.exp: New file.
17595 * gdb.fortran/vla-value.exp: New file.
17596 * gdb.fortran/vla-ptr-info.exp: New file.
17597 * gdb.mi/mi-vla-fortran.exp: New file.
17598 * gdb.mi/vla.f90: New file.
17599
27145d50
SL
176002015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17601
17602 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17603 of hardwired timeout value.
17604
5f3ff4f8
JK
176052015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17606 Pedro Alves <palves@redhat.com>
17607
17608 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17609 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17610
bfd09d20
JS
176112015-10-19 Josh Stone <jistone@redhat.com>
17612
17613 * gdb.base/catch-syscall.c: Include <sched.h>.
17614 (unknown_syscall): New variable.
17615 (main): Trigger a vfork and an unknown syscall.
17616 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17617 (unknown_syscall_number): Likewise.
17618 (check_call_to_syscall): Accept an optional syscall pattern.
17619 (check_return_from_syscall): Likewise.
17620 (check_continue): Likewise.
17621 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17622 (test_catch_syscall_skipping_return): New test toggling off 'catch
17623 syscall' to step over the syscall return, then toggling back on.
17624 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17625 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17626 (do_syscall_tests): Call test_catch_syscall_without_args and
17627 test_catch_syscall_mid_vfork.
17628 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17629 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17630
b32b93c6
AS
176312015-10-19 Andrew Stubbs <ams@codesourcery.com>
17632
17633 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17634 print g_vE): Add new pass patterns.
17635 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17636 print various symbol names for vptr fields.
17637
9d622bda
AB
176382015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17639
17640 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17641 results.
17642
0fd8ac1c
YQ
176432015-10-12 Yao Qi <yao.qi@linaro.org>
17644
17645 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17646
34240514
YQ
176472015-10-12 Yao Qi <yao.qi@linaro.org>
17648
17649 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17650 is aarch64*-*-linux*.
17651
8240f442
YQ
176522015-10-12 Yao Qi <yao.qi@linaro.org>
17653
17654 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17655 (can_relocate_bcond_true): ... it.
17656 (can_relocate_bcond_false): New function.
17657 (foo): Likewise.
17658 (can_relocate_bl): Likewise.
17659 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17660 can_relocate_bl.
17661
2520f728
PMR
176622015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17663
17664 * gdb.base/nested-addr.c: New file.
17665 * gdb.base/nested-addr.exp: New testcase.
17666
abcef95a
MM
176672015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17668
17669 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17670 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17671 its output. Ignore the output of "record goto begin" and instead
17672 check that GDB is replaying.
17673
145e3ddb
PA
176742015-10-09 Pedro Alves <palves@redhat.com>
17675
17676 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17677 (top level): Use it in the run with no args test.
17678
d5d8c4e1
IB
176792015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17680
17681 * gdb.dlang/properties.exp: New file.
17682
06e635ef
SL
176832015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17684
17685 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17686 whether or not address 0x1000 is mapped on the target.
17687
e019fd1d
SM
176882015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17689
17690 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17691 build.
17692
77ba2a67
MM
176932015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17694
17695 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17696 instruction-history test.
17697
c60eb31f
DE
176982015-09-28 Doug Evans <dje@google.com>
17699
17700 * gdb.base/gcore.c (array_func): Add reference to static_array.
17701
9a3c8263
SM
177022015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17703
17704 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17705 source line.
17706
9720e656
SL
177072015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17708
17709 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17710 short or char as base type.
17711
938d3bf2
SL
177122015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17713
17714 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17715 to allow any size enum.
17716
e6c2c623
PMR
177172015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17718
17719 * gdb.ada/array_ptr_renaming.exp: New testcase.
17720 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17721 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17722
06da0f77
PL
177232015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17724
17725 * gdb.trace/ftrace-lock.c: New file.
17726 * gdb.trace/ftrace-lock.exp: New file.
17727
4f51c22a
PL
177282015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17729
17730 * gdb.arch/insn-reloc.c: New file.
17731 * gdb.arch/ftrace-insn-reloc.exp: New file.
17732
7041adf4
PL
177332015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17734
17735 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17736 instruction.
17737 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17738 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17739 * gdb.trace/range-stepping.c: Likewise.
17740 * gdb.trace/trace-break.c: Likewise.
17741 * gdb.trace/trace-mt.c (thread_function): Likewise.
17742 * gdb.trace/ftrace.c (marker): Likewise.
17743 * gdb.trace/trace-condition.c (marker): Likewise.
17744 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17745 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17746 is_aarch64_target.
17747
015d2e7e
DE
177482015-09-18 Doug Evans <xdje42@gmail.com>
17749
17750 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17751 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17752
26b188a2
SL
177532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17754
17755 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17756 the breakpoint.
17757
79dc332b
SL
177582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17759
17760 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17761 the pending breakpoint. Remove timeout override for "Run till
17762 MI pending breakpoint on pendfunc3 on thread 2" test.
17763
f57929f2
SL
177642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17765
17766 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17767 filename pattern.
17768
3f469b17
SL
177692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17770
17771 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17772 in breakpoint filename pattern.
17773
515b89b3
SL
177742015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17775
7800dbe4
SL
17776 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17777
177782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17779
515b89b3
SL
17780 * gdb.linespec/explicit.exp: Check for readline support for
17781 tab-completion tests. Fix obvious typo.
17782
d2939ba2
MM
177832015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17784
17785 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17786 and replay.
17787
cbb55fa7
MM
177882015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17789
17790 * gdb.btrace/non-stop.c: New.
17791 * gdb.btrace/non-stop.exp: New.
17792
43691ca1
PL
177932015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17794 Yao Qi <yao.qi@linaro.org>
17795
17796 * gdb.trace/trace-condition.c: New file.
17797 * gdb.trace/trace-condition.exp: New file.
17798
d78908cf
WW
177992015-09-16 Wei-cheng Wang <cole945@gmail.com>
17800
17801 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17802 for testing bytecode compilation.
17803
1ed415e2
PA
178042015-09-16 Pedro Alves <palves@redhat.com>
17805 Sandra Loosemore <sandra@codesourcery.com>
17806
17807 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17808 (SECONDS): Redefine.
17809 (main): Call pthread_kill and alarm early.
17810 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17811 support.
17812 (test): If the target can't hardware step and doesn't support
17813 displaced stepping, increase the timeout.
17814
d136eff5
PA
178152015-09-16 Pedro Alves <palves@redhat.com>
17816
17817 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17818 (enable_debug): New procedures.
17819 (test): Use them. Bail out if waiting for threads fails.
17820 (top level): Bail out if a test fails.
17821
991f019c
YQ
178222015-09-16 Yao Qi <yao.qi@linaro.org>
17823
17824 * gdb.asm/asm-source.exp: Set asm-arch for
17825 aarch64*-*-* target.
17826 * gdb.asm/aarch64.inc: New file.
17827
bfca584f
PMR
178282015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17829
17830 * gdb.ada/array_of_variable_length.exp: New testcase.
17831 * gdb.ada/array_of_variable_length/foo.adb: New file.
17832 * gdb.ada/array_of_variable_length/pck.adb: New file.
17833 * gdb.ada/array_of_variable_length/pck.ads: New file.
17834
b326e587
DE
178352015-09-15 Doug Evans <dje@google.com>
17836
17837 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17838 of function static local variable.
17839
5382cfab
PW
178402015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17841
17842 * gdb.threads/tls-so_extern.exp: New test file.
17843 * gdb.threads/tls-so_extern.c: New test file.
17844 * gdb.threads/tls-so_extern_main.c: New test file.
17845
141c5cc4
JK
178462015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17847
17848 * gdb.opt/solib-intra-step-lib.c: New file.
17849 * gdb.opt/solib-intra-step-main.c: New file.
17850 * gdb.opt/solib-intra-step.exp: New file.
17851
d15dcecd
PA
178522015-09-15 Pedro Alves <palves@redhat.com>
17853
17854 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17855 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17856
4c2f2a79
PA
178572015-09-14 Pedro Alves <palves@redhat.com>
17858
17859 * gdb.base/hook-stop-continue.c: Delete.
17860 * gdb.base/hook-stop-continue.exp: Delete.
17861 * gdb.base/hook-stop-frame.c: Delete.
17862 * gdb.base/hook-stop-frame.exp: Delete.
17863 * gdb.base/hook-stop.c: New file.
17864 * gdb.base/hook-stop.exp: New file.
17865
919e6dbe
PMR
178662015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17867
17868 * gdb.ada/access_to_packed_array.exp: New testcase.
17869 * gdb.ada/access_to_packed_array/foo.adb: New file.
17870 * gdb.ada/access_to_packed_array/pack.adb: New file.
17871 * gdb.ada/access_to_packed_array/pack.ads: New file.
17872
157280a4
MM
178732015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17874
17875 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17876 buffer size test.
17877
2fd33e94
DB
178782015-09-11 Don Breazeal <donb@codesourcery.com>
17879
17880 * gdb.base/foll-exec.c: Add copyright header. Fix
17881 formatting issues.
17882 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17883 (do_exec_tests): Use clean_restart in place of zap_session,
17884 and for test initialization. Fix formatting issues. Use
17885 fail in place of perror.
17886 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17887 an expect statement to match an expression with output from
17888 the program under debug.
17889 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17890 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17891 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17892 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17893 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17894
e70b6e8e
DE
178952015-09-09 Doug Evans <dje@google.com>
17896
17897 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17898
7a551a51
DE
178992015-09-09 Doug Evans <dje@google.com>
17900
17901 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17902
4c666f84
DE
179032015-09-09 Doug Evans <dje@google.com>
17904
17905 * gdb.base/savedregs.exp: Fix typo.
17906
243a9253
PA
179072015-09-09 Pedro Alves <palves@redhat.com>
17908
17909 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17910
c0fa8fbd
SL
179112015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17912
17913 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17914 command actually switches threads. Give up on remaining
17915 tests if target fails to stop at breakpoint.
17916
cd7c1778
PMR
179172015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17918
17919 * gdb.ada/funcall_char.exp: New testcase.
17920 * gdb.ada/funcall_char/foo.adb: New file.
17921
dc5c8746
PMR
179222015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17923
17924 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17925 expected outputs. Add two testcases for completing ambiguous
17926 functions.
17927 * gdb.ada/complete/aux_pck.adb: New file.
17928 * gdb.ada/complete/aux_pck.ads: New file.
17929 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17930 Ambiguous_Func functions.
17931 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17932 * gdb.ada/complete/pck.adb: Likewise.
17933
4e83a1e7
UW
179342015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17935
17936 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17937 failures to run the test program under GDB.
17938
8ce74153
LM
179392015-08-26 Luis Machado <lgustavo@codesourcery.com>
17940
17941 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17942 to C.
17943
e9756d52
PP
179442015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17945
17946 * gdb.base/run-after-attach.exp: New test file.
17947 * gdb.base/run-after-attach.c: New test file.
17948
8d37573b
DB
179492015-08-26 Don Breazeal <donb@codesourcery.com>
17950
17951 * gdb.base/foll-exec-2.c: New test program.
17952 * gdb.base/foll-exec-2.exp: New test.
17953
63e43d3a
PMR
179542015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17955
17956 * gdb.base/nested-subp1.exp: New file.
17957 * gdb.base/nested-subp1.c: New file.
17958 * gdb.base/nested-subp2.exp: New file.
17959 * gdb.base/nested-subp2.c: New file.
17960 * gdb.base/nested-subp3.exp: New file.
17961 * gdb.base/nested-subp3.c: New file.
17962
3d40fbb5
PA
179632015-08-24 Pedro Alves <palves@redhat.com>
17964
17965 * gdb.server/connect-without-multi-process.c: New file.
17966 * gdb.server/connect-without-multi-process.exp: New file.
17967
4422ac93
LM
179682015-08-24 Luis Machado <lgustavo@codesourcery.com>
17969
17970 * gdb.opt/inline-markers.c: Make z int.
17971
91dddb86
LM
179722015-08-24 Luis Machado <lgustavo@codesourcery.com>
17973
17974 * gdb.opt/inline-markers.c: Make z volatile.
17975
a48847ee
LM
179762015-08-24 Luis Machado <lgustavo@codesourcery.com>
17977
17978 * gdb.opt/inline-bt.c: New volatile global z.
17979 * gdb.opt/inline-cmds.c: Likewise.
17980 * gdb.opt/inline-locals.c: Likewise.
17981 * gdb.opt/inline-markers.c: New extern global z.
17982 (marker): Use z.
17983 (inline_fn): Likewise.
17984
0ebbc52b
PA
179852015-08-24 Pedro Alves <palves@redhat.com>
17986
17987 * config/m32r-stub.exp: Remove file.
17988 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17989 * gdb.base/call-rt-st.exp: Likewise.
17990 * gdb.base/call-strs.exp: Likewise.
17991 * gdb.base/default.exp: Remove references to h8300-*-hms and
17992 *-*-udi*.
17993 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17994
77c365df
AA
179952015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17996
17997 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17998 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17999 and "return" use KFAIL when GDB can not read/write the vector
18000 return value.
18001
4313b8c0
GB
180022015-08-21 Gary Benson <gbenson@redhat.com>
18003
18004 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18005
0e433b32
PA
180062015-08-20 Pedro Alves <palves@redhat.com>
18007
18008 * gdb.server/solib-list.exp: No longer expect an interior stop in
18009 non-stop mode.
18010
221e1a37
PA
180112015-08-20 Pedro Alves <palves@redhat.com>
18012
18013 * gdb.server/connect-stopped-target.c: New file.
18014 * gdb.server/connect-stopped-target.exp: New file.
18015
40e3ad0e
PA
180162015-08-20 Pedro Alves <palves@redhat.com>
18017
18018 * gdb.dwarf2/comp-unit-lang.exp: New file.
18019 * gdb.dwarf2/comp-unit-lang.c: New file.
18020
af39b327
PMR
180212015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18022
18023 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18024 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18025
7d45c7c3 180262015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18027
7d45c7c3
KB
18028 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18029 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18030
4d6cceb4
DE
180312015-08-18 Doug Evans <dje@google.com>
18032 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18033
18034 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18035 skip_python_tests. New arg prompt_regexp.
18036 (skip_python_tests): New function.
18037 * lib/mi-support.exp (mi_skip_python_tests): New function.
18038 * gdb.python/py-mi-objfile-gdb.py: New file.
18039 * gdb.python/py-mi-objfile.c: New file.
18040 * gdb.python/py-mi-objfile.exp: New file.
18041
ad89c2aa
KS
180422015-08-17 Keith Seitz <keiths@redhat.com>
18043
18044 * gdb.linespec/explicit.exp: Move strace test from here ...
18045 * gdb.trace/strace.exp: ... to here.
18046
e3ae3c43
PP
180472015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18048
18049 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18050 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18051
604b2636
DE
180522015-08-14 Doug Evans <xdje42@gmail.com>
18053
18054 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18055 inferior before selecting a new file.
18056
6ff0ba5f
DE
180572015-08-14 Doug Evans <xdje42@gmail.com>
18058
18059 * gdb.mi/mi-disassemble.exp: Update.
18060 * gdb.base/disasm-optim.S: New file.
18061 * gdb.base/disasm-optim.c: New file.
18062 * gdb.base/disasm-optim.h: New file.
18063 * gdb.base/disasm-optim.exp: New file.
18064
9ca98f92
KS
180652015-08-14 Keith Seitz <keiths@redhat.com>
18066
18067 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18068 "evaluated-by".
18069
52bbc560
JB
180702015-08-13 Joel Brobecker <brobecker@adacore.com>
18071
18072 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18073
5d8c3ed3
PMR
180742015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18075
18076 * gdb.ada/fun_renaming.exp: New testcase.
18077 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18078 * gdb.ada/fun_renaming/pack.adb: New file.
18079 * gdb.ada/fun_renaming/pack.ads: New file.
18080
ea8812bc
KS
180812015-08-12 Keith Seitz <keiths@redhat.com>
18082
18083 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18084 gdb_get_line_number.
18085
4dafcdeb
JB
180862015-08-12 Joel Brobecker <brobecker@adacore.com>
18087
18088 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18089 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18090 gdb.base/dso2dso.exp: New files.
18091
5ba32597
SDJ
180922015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18093 Pedro Alves <palves@redhat.com>
18094 Keith Seitz <keiths@redhat.com>
18095
18096 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18097 GDBFLAGS.
18098
b6dafabf
PP
180992015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18100
18101 * gdb.base/gdbhistsize-history.exp
18102 (test_histsize_history_setting): Use save_vars.
18103 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18104 Use save_vars.
18105 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18106 * gdb.base/readline.exp: Use save_vars.
18107
abe8e607
PP
181082015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18109
18110 * lib/gdb.exp (save_vars): New proc.
18111
629500fa
KS
181122015-08-11 Keith Seitz <keiths@redhat.com>
18113
18114 * gdb.base/help.exp: Update help_breakpoint_text.
18115
eb8c4e2e
KS
181162015-08-11 Keith Seitz <keiths@redhat.com>
18117
18118 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18119 (at toplevel): Call test_explicit_breakpoints.
18120 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18121 breakpoints.
18122 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18123 breakpoint conditions, "-cond".
18124
87f0e720
KS
181252015-08-11 Keith Seitz <keiths@redhat.com>
18126
18127 * gdb.linespec/3explicit.c: New file.
18128 * gdb.linespec/cpexplicit.cc: New file.
18129 * gdb.linespec/cpexplicit.exp: New file.
18130 * gdb.linespec/explicit.c: New file.
18131 * gdb.linespec/explicit.exp: New file.
18132 * gdb.linespec/explicit2.c: New file.
18133 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18134 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18135 before using in the matching pattern.
18136 Clarify that `prefix' is a regular expression.
18137
f00aae0f
KS
181382015-08-11 Keith Seitz <keiths@redhat.com>
18139
18140 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18141 test.
18142 Add tests for missing ",FMT" and ",".
18143
e27852be
DE
181442015-08-10 Doug Evans <dje@google.com>
18145 Keith Seitz <keiths@redhat.com>
18146
18147 PR gdb/17960
18148 * gdb.base/completion.exp: Add location completer tests.
18149
7f03bd92
PA
181502015-08-07 Pedro Alves <palves@redhat.com>
18151
18152 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18153 tests here.
18154 (top level): Run do_test with and without displaced stepping.
18155
3fc8eb30
PA
181562015-08-07 Pedro Alves <palves@redhat.com>
18157
18158 * gdb.base/valgrind-disp-step.c: New file.
18159 * gdb.base/valgrind-disp-step.exp: New file.
18160
d4569d7b
PA
181612015-08-07 Pedro Alves <palves@redhat.com>
18162
18163 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18164 Delete function.
18165 (main): Add alarm. Run an infinite loop instead of calling
18166 wait_threads.
18167 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18168 comment.
18169 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18170 Delete function.
18171 (main): Add alarm. Run an infinite loop instead of calling
18172 wait_threads.
18173 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18174 comment.
18175
e1316e60
PA
181762015-08-07 Pedro Alves <palves@redhat.com>
18177
18178 * gdb.base/checkpoint-ns.exp: New file.
18179 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18180 standard_testfile.
18181
da8c46d2
MM
181822015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18183
18184 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18185 * gdb.btrace/instruction_history.exp: Update.
18186 * gdb.btrace/tsx.exp: New.
18187 * gdb.btrace/tsx.c: New.
18188
de1c2c52
PA
181892015-08-06 Pedro Alves <palves@redhat.com>
18190
18191 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18192 increase timeout.
18193 * gdb.reverse/until-precsave.exp: Bump timeouts.
18194
782e0bf4
PA
181952015-08-06 Pedro Alves <palves@redhat.com>
18196
18197 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18198
83e97ed0
PA
181992015-08-06 Pedro Alves <palves@redhat.com>
18200
18201 PR gdb/18749
18202 * gdb.threads/process-dies-while-handling-bp.c: New file.
18203 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18204
863d01bd
PA
182052015-08-06 Pedro Alves <palves@redhat.com>
18206
18207 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18208 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18209
0a39bb32
PA
182102015-08-05 Pedro Alves <palves@redhat.com>
18211
18212 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18213 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18214
ee2d2b10
SL
182152015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18216
18217 * gdb.base/bp-permanent.exp: Report test as unsupported if
18218 the target cannot stop at the permanent breakpoint.
18219
4e1bdb00
DE
182202015-08-03 Doug Evans <dje@google.com>
18221
18222 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18223 10000.
18224
3d338901
DE
182252015-08-03 Doug Evans <dje@google.com>
18226
18227 * Makefile.in (workers/%.worker, build-perf): New rule.
18228 (GDB_PERFTEST_MODE): New variable.
18229 (check-perf): Use it.
18230 (clean): Clean up gdb.perf parallel build subdirs.
18231 * lib/build-piece.exp: New file.
18232 * lib/gdb.exp (make_gdb_parallel_path): New function
18233 (standard_output_file, standard_temp_file): Call it.
18234 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18235 of $GDB_PARALLEL.
18236 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18237
af061d3e
DE
182382015-08-03 Doug Evans <dje@google.com>
18239
8e1afc81 18240 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18241 (LOG_FILE_NAME): New global.
18242 (TextReporter.__init__): Initialize self.txt_sum.
18243 (TextReporter.report): Add support for multiple data-points.
18244 Move report to perftest.sum, put raw data in perftest.log.
18245 (TextReporter.start): Open sum and log files.
18246 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18247 * gdb.perf/lib/perftest/testresult.py
18248 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18249
2c8c5d37
PA
182502015-07-31 Pedro Alves <palves@redhat.com>
18251
18252 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18253 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18254 kill_wait_spawned_process instead of explicit "kill -9".
18255 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18256 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18257 kill_wait_spawned_process.
18258 * gdb.base/attach-twice.exp: Likewise.
18259 * gdb.base/attach.exp: Likewise.
18260 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18261 gdb_test_multiple.
18262 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18263 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18264 kill_wait_spawned_process.
18265 * gdb.base/valgrind-infcall.exp: Likewise.
18266 * gdb.multi/multi-attach.exp: Likewise.
18267 * gdb.python/py-prompt.exp: Likewise.
18268 * gdb.python/py-sync-interp.exp: Likewise.
18269 * gdb.server/ext-attach.exp: Likewise.
18270 * gdb.threads/attach-into-signal.exp (corefunc): Use
18271 spawn_wait_for_attach, spawn_id_get_pid and
18272 kill_wait_spawned_process.
18273 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18274 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18275 spawn_id_get_pid and kill_wait_spawned_process.
18276 * gdb.threads/attach-stopped.exp (corefunc): Use
18277 spawn_wait_for_attach, spawn_id_get_pid and
18278 kill_wait_spawned_process.
18279 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18280 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18281 kill_wait_spawned_process instead of explicit "kill -9".
18282 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18283 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18284 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18285 processes. Don't map cygwin/windows pids here. Now returns a
18286 spawn id list.
18287
032a0fca
SL
182882015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18289
18290 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18291 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18292 correct patch.
18293
61a934ca
SL
182942015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18295
18296 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18297
4bc4d428
SL
182982015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18299
18300 Reapply:
18301 2014-05-21 Mark Wielaard <mjw@redhat.com>
18302
18303 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18304
998d452a
PA
183052015-07-30 Pedro Alves <palves@redhat.com>
18306
18307 * linux-low.c (handle_extended_wait): Set the child's last
18308 reported status to TARGET_WAITKIND_STOPPED.
18309
69dde7dc
PA
183102015-07-30 Pedro Alves <palves@redhat.com>
18311
18312 PR threads/18600
18313 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18314 only shows inferior 1.
18315
4dd63d48
PA
183162015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18317 Pedro Alves <palves@redhat.com>
18318
18319 PR threads/18600
18320 * gdb.threads/fork-plus-threads.c: New file.
18321 * gdb.threads/fork-plus-threads.exp: New file.
18322
d618e4c5
PP
183232015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18324
18325 * gdb.base/batch-preserve-term-settings.exp
18326 (test_terminal_settings_preserved_after_cli_exit): Use
18327 send_quit_command.
18328
1eef6428
PA
183292015-07-29 Pedro Alves <palves@redhat.com>
18330 Don Breazeal <donb@codesourcery.com>
18331
18332 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18333 output from both inferior_spawn_id and gdb_spawn_id.
18334
7da5b897
SDJ
183352015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18336
18337 * gdb.threads/attach-into-signal.exp (corefunc): Use
18338 with_test_prefix on nested loops, uniquefying the test messages.
18339
dac804df
SDJ
183402015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18341
18342 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18343 commit.
18344
06265e53
PP
183452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18346
18347 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18348 New proc.
18349 (test_terminal_settings_preserved_after_sigterm): New test.
18350
18206ca3
PP
183512015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18352
18353 * gdb.base/batch-preserve-term-settings.exp
18354 (test_terminal_settings_preserved_after_cli_exit): New test.
18355
90074d11
PP
183562015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18357
18358 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18359 manipulation of saved_gdbflags.
18360 (test_terminal_settings_preserved): Remove global declaration of
18361 the unused variable pagination_prompt. Remove manipulation of
18362 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18363 GDBFLAGS.
18364
eb1a7902
PA
183652015-07-29 Pedro Alves <palves@redhat.com>
18366
18367 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18368
8b75dd3b
PA
183692015-07-29 Pedro Alves <palves@redhat.com>
18370
18371 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18372 at the top.
18373
dedad4e3
PA
183742015-07-29 Pedro Alves <palves@redhat.com>
18375
18376 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18377 (main): Call gdb_unbuffer_output.
18378 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18379 (main): Call gdb_unbuffer_output.
18380 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18381 (main): Call gdb_unbuffer_output.
18382 * gdb.base/call-strs.exp: Adjust to step over the
18383 gdb_unbuffer_output call.
18384 * gdb.base/catch-gdb-caused-signals.c: Include
18385 "../lib/unbuffer_output.c".
18386 (main): Call gdb_unbuffer_output.
18387 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18388 (main): Call gdb_unbuffer_output.
18389 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18390 (main): Call gdb_unbuffer_output.
18391 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18392 (main): Call gdb_unbuffer_output.
18393 * gdb.base/shlib-call.exp: Adjust to step over the
18394 gdb_unbuffer_output call.
18395 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18396 (main): Call gdb_unbuffer_output.
18397 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18398 (main): Call gdb_unbuffer_output.
18399 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18400 (main): Rename to ...
18401 (test): ... this.
18402 (main): Reimplement.
18403 * gdb.base/varargs.exp: Run to test instead of to main.
18404 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18405 (main): Call gdb_unbuffer_output.
18406
58789a91
PA
184072015-07-29 Pedro Alves <palves@redhat.com>
18408
18409 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18410 factore out from mi_continue_dprintf. For call-style dprintfs,
18411 expect dprintf output out of $inferior_spawn_id.
18412 (mi_continue_dprintf): Use mi_expect_dprintf.
18413 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18414 (main): Call gdb_unbuffer_output.
18415
e8376742
PA
184162015-07-29 Pedro Alves <palves@redhat.com>
18417
18418 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18419 (default_mi_gdb_start): Set inferior_spawn_id instead of
18420 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18421 gdb_spawn_id.
18422 (mi_gdb_test): Always expect inferior output from both
18423 $inferior_spawn_id and $gdb_spawn_id.
18424
08280010
PA
184252015-07-29 Pedro Alves <palves@redhat.com>
18426
18427 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18428 send_inferior and $inferior_spawn_id.
18429
4d30e432
PA
184302015-07-29 Pedro Alves <palves@redhat.com>
18431
18432 * gdb.gdb/complaints.exp (test_initial_complaints)
18433 (test_serial_complaints, test_short_complaints): Use
18434 gdb_test_stdio.
18435 (test_empty_complaint): Handle $inferior_spawn_id !=
18436 $gdb_spawn_id.
18437
0d30a335
PA
184382015-07-29 Pedro Alves <palves@redhat.com>
18439
18440 * gdb.base/varargs.exp: Use gdb_test_stdio.
18441
39413b29
PA
184422015-07-29 Pedro Alves <palves@redhat.com>
18443
18444 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18445
7cb000a9
PA
184462015-07-29 Pedro Alves <palves@redhat.com>
18447
18448 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18449
d7b8ac82
PA
184502015-07-29 Pedro Alves <palves@redhat.com>
18451
18452 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18453 parameter into two new parameters, "inf_result" and "gdb_result".
18454 Expect inferior output and gdb output from $inferior_spawn_id and
18455 $gdb_spawn_id, respectively. Adjust all callers.
18456
789c3a0c
PA
184572015-07-29 Pedro Alves <palves@redhat.com>
18458
18459 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18460 of gdb_test_sequence.
18461
77e760c3
PA
184622015-07-29 Pedro Alves <palves@redhat.com>
18463
18464 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18465 (saw_spurious_output): Expect inferior output from
18466 $inferior_spawn_id. Use gdb_test_stdio.
18467
8396d2cd
PA
184682015-07-29 Pedro Alves <palves@redhat.com>
18469
18470 * gdb.base/dprintf.exp: Use standard_testfile. Change
18471 prepare_for_testing call.
18472 (srcfile): Don't set.
18473 (restart): New procedure.
18474 (test_dprintf): New procecure, use to continue over dprintfs.
18475 (test_call, test_agent): New procedures, tests moved here.
18476 Restart gdb and recreate dprintfs. Adjust expected output.
18477
2051d61f
PA
184782015-07-29 Pedro Alves <palves@redhat.com>
18479
18480 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18481
452397af
PA
184822015-07-29 Pedro Alves <palves@redhat.com>
18483
18484 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18485
8aed9555
PA
184862015-07-29 Pedro Alves <palves@redhat.com>
18487
18488 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18489 gdb_test_stdio.
18490
188a61b4
PA
184912015-07-29 Pedro Alves <palves@redhat.com>
18492
18493 * lib/gdb.exp (gdb_test_stdio): New procedure.
18494
12264a45
PA
184952015-07-29 Pedro Alves <palves@redhat.com>
18496
18497 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18498
23ffc893
PA
184992015-07-29 Pedro Alves <palves@redhat.com>
18500
18501 * gdb.base/call-signal-resume.exp: Remove check for
18502 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18503 * gdb.base/unwindonsignal.exp: Likewise.
18504 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18505 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18506
65566918
PA
185072015-07-29 Pedro Alves <palves@redhat.com>
18508
18509 * gdb.base/siginfo-addr.c (pass): New function.
18510 (handler): Call it iff si_addr is correct.
18511 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18512 Set a breakpoint at "pass" and continue to it.
18513
d60a9221
SDJ
185142015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18515
18516 * gdb.python/py-objfile.exp: Make some tests have unique names.
18517 * gdb.python/py-pp-registration.exp: Likewise.
18518
bde40b8f
PA
185192015-07-28 Pedro Alves <palves@redhat.com>
18520
18521 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18522
13e1dec8
SM
185232015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18524
18525 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18526
da33c9a7
SM
185272015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18528
18529 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18530
077836f7
PP
185312015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18532
18533 * gdb.base/gdb-sigterm-2.exp: New test.
18534
b8cc7b2e
DE
185352015-07-25 Doug Evans <xdje42@gmail.com>
18536
18537 Revert:
18538 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18539 (workers/%.worker, build-perf): New rule.
18540 (GDB_PERFTEST_MODE): New variable.
18541 (check-perf): Use it.
18542 (clean): Clean up gdb.perf parallel build subdirs.
18543 * lib/build-piece.exp: New file.
18544 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18545 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18546 name.
18547 (standard_temp_file): Ditto.
18548 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18549 of $GDB_PARALLEL.
18550
c8bd4544
DE
185512015-07-24 Doug Evans <dje@google.com>
18552
18553 * gdb.perf/lib/perftest/utils.py: New file.
18554 * gdb.perf/gm-hello.cc: New file.
18555 * gdb.perf/gm-pervasive-typedef.cc: New file.
18556 * gdb.perf/gm-pervasive-typedef.h: New file.
18557 * gdb.perf/gm-std.cc: New file.
18558 * gdb.perf/gm-std.h: New file.
18559 * gdb.perf/gm-use-cerr.cc: New file.
18560 * gdb.perf/gm-utils.h: New file.
18561 * gdb.perf/gmonster-null-lookup.py: New file.
18562 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18563 * gdb.perf/gmonster-print-cerr.py: New file.
18564 * gdb.perf/gmonster-ptype-string.py: New file.
18565 * gdb.perf/gmonster-runto-main.py: New file.
18566 * gdb.perf/gmonster-select-file.py: New file.
18567 * gdb.perf/gmonster1-null-lookup.exp: New file.
18568 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18569 * gdb.perf/gmonster1-print-cerr.exp: New file.
18570 * gdb.perf/gmonster1-ptype-string.exp: New file.
18571 * gdb.perf/gmonster1-runto-main.exp: New file.
18572 * gdb.perf/gmonster1-select-file.exp: New file.
18573 * gdb.perf/gmonster1.cc: New file.
18574 * gdb.perf/gmonster1.exp: New file.
18575 * gdb.perf/gmonster2-null-lookup.exp: New file.
18576 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18577 * gdb.perf/gmonster2-print-cerr.exp: New file.
18578 * gdb.perf/gmonster2-ptype-string.exp: New file.
18579 * gdb.perf/gmonster2-runto-main.exp: New file.
18580 * gdb.perf/gmonster2-select-file.exp: New file.
18581 * gdb.perf/gmonster2.cc: New file.
18582 * gdb.perf/gmonster2.exp: New file.
18583
6eab34f3
DE
185842015-07-24 Doug Evans <dje@google.com>
18585
18586 * gdb.perf/README: New file.
18587 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18588 * lib/gen-perf-test.exp: New file.
18589
63738bfd
DE
185902015-07-24 Doug Evans <dje@google.com>
18591
18592 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18593 (PerfTest::startup): New function.
18594 (PerfTest::run): Return result of calling body.
18595 (PerfTest::assemble): Rewrite.
18596 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18597 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18598 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18599 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18600 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18601
7b606f95
DE
186022015-07-24 Doug Evans <dje@google.com>
18603
18604 * lib/gdb.exp (clean_restart): Make executable optional.
18605
a97b16b8
DE
186062015-07-24 Doug Evans <dje@google.com>
18607
18608 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18609 compiler_info references.
18610 * gdb.cp/temargs.exp: Ditto.
18611 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18612 (get_compiler_info): Early exit if already computed. Set compiler_info
18613 to "unknown" if there was a problem.
18614 (test_compiler_info): Add function comment. Call get_compiler_info.
18615
35baa57f
DE
186162015-07-24 Doug Evans <dje@google.com>
18617
18618 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18619 (workers/%.worker, build-perf): New rule.
18620 (GDB_PERFTEST_MODE): New variable.
18621 (check-perf): Use it.
18622 (clean): Clean up gdb.perf parallel build subdirs.
18623 * lib/build-piece.exp: New file.
18624 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18625 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18626 name.
18627 (standard_temp_file): Ditto.
18628 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18629 of $GDB_PARALLEL.
18630
6ebea266
DE
186312015-07-24 Doug Evans <dje@google.com>
18632
18633 * lib/future.exp (gdb_default_target_compile): New option
18634 "early_flags".
18635 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18636 --as-needed.
18637
1e76a7e9
SDJ
186382015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18639
18640 * gdb.base/catch-syscall.exp: Call gdb_exit before
18641 gdb_skip_xml_test.
18642
5068630a
PA
186432015-07-24 Pedro Alves <palves@redhat.com>
18644
18645 * gdb.python/py-events.exp: Accept output between the stop event
18646 and the prompt.
18647 * gdb.python/py-evsignal.exp: Likewise.
18648 * gdb.python/py-evthreads.exp: Likewise.
18649
77598427
PA
186502015-07-24 Pedro Alves <palves@redhat.com>
18651
18652 PR gdb/18717
18653 * gdb.threads/non-ldr-exit.c: New file.
18654 * gdb.threads/non-ldr-exit.exp: New file.
18655
11e6c98f
YQ
186562015-07-24 Yao Qi <yao.qi@linaro.org>
18657
18658 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18659 restarting process.
18660
51aee833
YQ
186612015-07-24 Yao Qi <yao.qi@linaro.org>
18662
18663 * gdb.server/ext-restart.exp: New file.
18664
8cfe207c
YQ
186652015-07-24 Yao Qi <yao.qi@linaro.org>
18666
18667 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18668 argument options.
18669 * gdb.server/ext-wrapper.exp: New file.
18670
cc12ce38
DE
186712015-07-23 Doug Evans <dje@google.com>
18672
18673 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18674 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18675
d0d84780
PMR
186762015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18677
18678 * gdb.ada/var_arr_typedef.exp: New testcase.
18679 * gdb.ada/var_arr_typedef/pack.adb: New file.
18680 * gdb.ada/var_arr_typedef/pack.ads: New file.
18681 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18682
8b558f79
JB
186832015-07-20 Joel Brobecker <brobecker@adacore.com>
18684
18685 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18686
775a3298
JK
186872015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18688
18689 * gdb.arch/i386-biarch-core.exp: Replace istarget
18690 by "complete set gnutarget". Remove expectation for the "core-file"
18691 command.
18692
db1ff28b
JK
186932015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18694
18695 Revert the previous commit:
18696 Tests for validate symbol file using build-id.
18697
0a94970d
JK
186982015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18699
18700 Tests for validate symbol file using build-id.
18701 * gdb.base/solib-mismatch-lib.c: New file.
18702 * gdb.base/solib-mismatch-libmod.c: New file.
18703 * gdb.base/solib-mismatch.c: New file.
18704 * gdb.base/solib-mismatch.exp: New file.
18705
03346981
SL
187062015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18707
18708 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18709 nios2-*-linux*.
18710 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18711 * gdb.base/siginfo.exp: Likewise.
18712 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18713
42422cc7
PL
187142015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18715
18716 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18717 Move it to ...
18718 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18719 ... here.
18720 * gdb.trace/range-stepping.exp: Check that the target supports
18721 range stepping.
18722
cfa68bae
JK
187232015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18724
18725 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18726
8ffdba26
PA
187272015-07-14 Pedro Alves <palves@redhat.com>
18728
18729 * gdb.base/killed-outside.exp: New file.
18730 * gdb.base/killed-outside.c: New file.
18731
218a5a11
JK
187322015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18733
18734 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18735 (n at main): New.
18736 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18737
e03ed3c6
AA
187382015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18739
18740 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18741 infcall tests instead of setting up for KFAIL.
18742
485668e5
MM
187432015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18744
18745 * gdb.btrace/record_goto-step.exp: New.
18746
08464196
JK
187472015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18748
18749 PR compile/18484
18750 * gdb.compile/compile.c (struct struct_type): Add volatile to
18751 selffield's type.
18752 * gdb.compile/compile.exp
18753 (compile code struct_object.selffield = &struct_object): Skip further
18754 struct_object tests if this one xfails.
18755
bcf5c1d9
RC
187562015-07-08 Robert O'Callahan <robert@ocallahan.org>
18757
18758 PR exp/18617
18759 * gdb.trace/ax.exp: Add test.
18760
4931af25
YQ
187612015-07-07 Yao Qi <yao.qi@linaro.org>
18762
18763 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18764 instead of istarget "aarch64*-*-*".
18765 * gdb.arch/aarch64-fp.exp: Likewise.
18766 * gdb.base/float.exp: Likewise.
18767 * gdb.reverse/aarch64.exp: Likewise.
18768 * lib/gdb.exp (is_aarch64_target): New proc.
18769
9fcf688e
YQ
187702015-07-07 Yao Qi <yao.qi@linaro.org>
18771
18772 * lib/gdb.exp (is_aarch32_target): New proc.
18773 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18774 instead of "istarget "arm*-*-*"".
18775 * gdb.arch/arm-disp-step.exp: Likewise.
18776 * gdb.arch/thumb-bx-pc.exp: Likewise.
18777 * gdb.arch/thumb-prologue.exp: Likewise.
18778 * gdb.arch/thumb-singlestep.exp: Likewise.
18779 * gdb.base/disp-step-syscall.exp: Likewise.
18780 * gdb.base/float.exp: Likewise.
18781
fbd8d50d
YQ
187822015-07-07 Yao Qi <yao.qi@linaro.org>
18783
18784 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18785 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18786
71be1fdc
YQ
187872015-07-07 Yao Qi <yao.qi@linaro.org>
18788
18789 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18790 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18791 if it exists.
18792 * gdb.multi/multi-arch.exp: Likewise.
18793
3e221d36
SM
187942015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18795
18796 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18797 print.
18798
d441430b
YQ
187992015-07-07 Yao Qi <yao.qi@linaro.org>
18800
18801 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18802
06f810bd
MG
188032015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18804
18805 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18806 '[' and ']' characters.
18807
5e61e7c0
IB
188082015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18809
18810 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18811
28bf096c
PA
188122015-06-29 Pedro Alves <palves@redhat.com>
18813
18814 PR threads/18127
18815 * gdb.threads/hand-call-new-thread.c: New file.
18816 * gdb.threads/hand-call-new-thread.c: New file.
18817
ee93cd5e
KS
188182015-06-26 Keith Seitz <keiths@redhat.com>
18819 Doug Evans <dje@google.com>
18820
18821 PR 16253
18822 * gdb.cp/var-tag-2.cc: New file.
18823 * gdb.cp/var-tag-3.cc: New file.
18824 * gdb.cp/var-tag-4.cc: New file.
18825 * gdb.cp/var-tag.cc: New file.
18826 * gdb.cp/var-tag.exp: New file.
18827
fc637f04
PP
188282015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18829
18830 * gdb.base/history-duplicates.exp: New test.
18831
2e52ae68
PP
188322015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18833
18834 * gdb.base/completion.exp: Test the completion of the "focus"
18835 command.
18836
6e22494e
JK
188372015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18838
18839 * gdb.arch/amd64-prologue-skip.S: New file.
18840 * gdb.arch/amd64-prologue-skip.exp: New file.
18841
bf7b9cd9
SM
188422015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18843
18844 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18845 is_address_zero_readable check.
18846
201e8dfd
PB
188472015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18848
18849 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18850 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18851
5cd867b4
YQ
188522015-06-24 Yao Qi <yao.qi@linaro.org>
18853
18854 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18855 linux targets.
18856
4d7be007
YQ
188572015-06-24 Yao Qi <yao.qi@linaro.org>
18858
18859 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18860 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18861 * gdb.base/siginfo-thread.exp: Likewise.
18862
07fcd301
YQ
188632015-06-22 Yao Qi <yao.qi@linaro.org>
18864
18865 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18866
52042a00
YQ
188672015-06-22 Yao Qi <yao.qi@linaro.org>
18868
18869 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18870 aarch64*-*-*.
18871 (skip_hw_watchpoint_tests): Likewise.
18872
74bd41ce
PP
188732015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18874
18875 * gdb.base/gdbinit-history.exp: Test the interaction between
18876 setting GDBHISTSIZE and setting the history size via .gdbinit.
18877
bc460514
PP
188782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18879
18880 PR gdb/16999
18881 * gdb.base/gdbhistsize-history.exp: New test.
18882
b58c513b
PP
188832015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18884
18885 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18886 with GDBHISTSIZE.
18887 * gdb.base/readline.exp: Likewise.
18888
92046791
YQ
188892015-06-17 Yao Qi <yao.qi@linaro.org>
18890
18891 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18892 line.
18893
2093d2d3
PP
188942015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18895
18896 * gdb.base/gdbinit-history.exp: Add test case to check that
18897 an unlimited history file does not get truncated on exit.
18898
e6c693af
AA
188992015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18900
18901 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18902 (VECTOR): New macro. Use it...
18903 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18904 ...for these typedefs.
18905 (int8, char1, int1, double1): New typedefs.
18906 (struct just_int2, struct two_int2): New structures.
18907 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18908 (add_structvecs, add_singlevecs): New functions.
18909 (main): Call add_some_intvecs twice.
18910 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18911 the compile and exit upon failure. Try compiling for the "native"
18912 architecture. Test inferior function calls with vector arguments
18913 and vector return value handling with "finish" and "return".
18914
c74f7d1c
JT
189152015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18916
18917 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18918 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18919 PE file.
18920 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18921
98aa42ee
AT
189222015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18923
18924 PR breakpoints/16465
18925 * gdb.mi/mi-dprintf-pending.c: New file.
18926 * gdb.mi/mi-dprintf-pending.exp: New test.
18927 * gdb.mi/mi-dprintf-pendshr.c: New file.
18928
7d73c23c 189292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18930 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18931
18932 * gdb.arch/i386-mpx-map.c: New file.
18933 * gdb.arch/i386-mpx-map.exp: New File.
18934
189352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18936
18937 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18938 * gdb.arch/i386-mpx.exp: Indentation fixed.
18939
189402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18941
18942 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18943 function and improved indentation.
18944 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18945 gdb_test_multiple. Added additional tests to skip the test.
18946
189472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18948
18949 * gdb.arch/i386-avx512.c: Change path in include file.
18950 * gdb.arch/i386-avx512.exp: Change include dir path
18951 compilation flag.
18952 * gdb.arch/i386-mpx.c: Change path in include file.
18953 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18954 flag.
18955
d5eba19a
JK
189562015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18957
18958 * gdb.compile/compile-print.exp (compile print *vararray@3)
18959 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18960
7f361056
JK
189612015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18962
18963 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18964 (do not keep jit in memory): ... this.
18965 (expect 5): Change it to ...
18966 (expect no 5): ... this.
18967
3b462ec2
SM
189682015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18969
18970 PR gdb/15564
18971 * gdb.mi/mi-detach.exp: New file.
18972
e0619de6
JK
189732015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18974
18975 PR symtab/18392
18976 * gdb.arch/amd64-tailcall-self.S: New file.
18977 * gdb.arch/amd64-tailcall-self.c: New file.
18978 * gdb.arch/amd64-tailcall-self.exp: New file.
18979
e970cb34
DB
189802015-05-28 Don Breazeal <donb@codesourcery.com>
18981
18982 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18983 tests for remote targets by checking is_target_gdbserver.
18984
b2e2f908
DE
189852015-05-27 Doug Evans <dje@google.com>
18986
18987 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18988 * gdb.dwarf2/opaque-type-lookup.c: New file.
18989 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18990
82c7be31
DE
189912015-05-26 Doug Evans <dje@google.com>
18992
18993 * gdb.cp/iostream.cc: New file.
18994 * gdb.cp/iostream.exp: New file.
18995
b4f54984
DE
189962015-05-26 Doug Evans <dje@google.com>
18997
18998 * gdb.dwarf2/dw2-op-call.exp: Update.
18999 * gdb.dwarf2/dw4-sig-types.exp: Update.
19000 * gdb.dwarf2/implptr.exp: Update.
19001 * gdb.mi/mi-cmd-param-changed.exp: Update.
19002
4ea6efe9
DE
190032015-05-26 Doug Evans <dje@google.com>
19004
19005 * gdb.python/py-lazy-string.c: New file.
19006 * gdb.python/py-lazy-string.exp: New file.
19007 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19008 (main): Update. Add estring3.
19009 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19010 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19011
f6bb7db3
YQ
190122015-05-26 Omair Javaid <omair.javaid@linaro.org>
19013 Yao Qi <yao.qi@linaro.org>
19014
19015 * gdb.reverse/aarch64.c: New.
19016 * gdb.reverse/aarch64.exp: New.
19017
a81bfbd0
OJ
190182015-05-26 Omair Javaid <omair.javaid@linaro.org>
19019
25d49b86
PA
19020 * lib/gdb.exp (supports_process_record): Return true for
19021 aarch64*-linux*.
a81bfbd0
OJ
19022 (supports_reverse): Likewise.
19023
158bf1b4
PP
190242015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19025
19026 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19027 Use with_test_prefix.
19028
a0145030
AB
190292015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19030
19031 * gdb.base/completion.exp: Add test for completion of layout
19032 names.
19033
ebe3b578
AB
190342015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19035
19036 * lib/gdb.exp (skip_tui_tests): New proc.
19037 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19038
84204ed7
PA
190392015-05-19 Pedro Alves <palves@redhat.com>
19040
19041 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19042 Save the whole env array instead of just HOME. Unset HISTSIZE in
19043 the environment while testing. Restore whole environment
19044 afterwards.
19045
37442ce1
DE
190462015-05-16 Doug Evans <xdje42@gmail.com>
19047
19048 * gdb.guile/scm-ports.c: New file.
19049 * gdb.guile/scm-ports.exp: Add memory port tests.
19050
36de76f9
JK
190512015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19052
19053 * gdb.compile/compile-print.c: New file.
19054 * gdb.compile/compile-print.exp: New file.
19055
3a9558c4
JK
190562015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19057
19058 * gdb.compile/compile-ops.exp: Cast param to void.
19059 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19060 (compile code struct_object.selffield = &struct_object): Add xfail.
19061
aa715135
JG
190622015-05-15 Joel Brobecker <brobecker@adacore.com>
19063
19064 * gdb.ada/arr_enum_with_gap: New testcase.
19065
931e5bc3
JG
190662015-05-15 Joel Brobecker <brobecker@adacore.com>
19067
19068 * gdb.ada/byte_packed_arr: New testcase.
19069
9cd4d857
JB
190702015-05-15 Joel Brobecker <brobecker@adacore.com>
19071
19072 * gdb.ada/pckd_neg: New testcase.
19073
ebfd00d2
PP
190742015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19075
19076 PR gdb/17820
19077 * gdb.base/gdbinit-history.exp: New test.
19078 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19079 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19080
4c082a81
SC
190812015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19082
19083 * gdb.python/py-xmethods.cc: Enhance test case.
19084 * gdb.python/py-xmethods.exp: New tests.
19085 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19086 function.
19087 (B_indexoper): Likewise.
19088 (global_dm_list) : Add new xmethod worker functions.
19089
f7797074
SDJ
190902015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19091
19092 * gdb.base/coredump-filter.exp: Correctly unset
19093 "coredump_var_addr" array.
19094
a4674e4e
PA
190952015-05-08 Pedro Alves <palves@redhat.com>
19096
19097 * gdb.server/non-existing-program.exp: Unset spawn_id.
19098
df2eb078
SC
190992015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19100
19101 PR python/18291
19102 * gdb.python/py-xmethods.exp: Add tests.
19103
422349a3
YQ
191042015-05-08 Yao Qi <yao.qi@linaro.org>
19105
19106 PR gdb/18208
19107 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19108 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19109 function set_coredump_filter, and remove remote_exec call.
19110 Remove argument ipid. Callers update.
19111 (top level): Don't get inferior's PID.
19112
63fc80ce
AA
191132015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19114
19115 * gdb.base/watch_thread_num.exp: Skip test on targets without
19116 access watchpoints.
19117
80ad801e
PA
191182015-05-06 Pedro Alves <palves@redhat.com>
19119
19120 PR server/18081
19121 * gdb.server/non-existing-program.exp: New file.
19122
0fa7fe50
JB
191232015-05-05 Joel Brobecker <brobecker@adacore.com>
19124
19125 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19126
3ea89b92
PMR
191272015-05-05 Joel Brobecker <brobecker@adacore.com>
19128
19129 * gdb.ada/out_of_line_in_inlined: New testcase.
19130
87b8eff0
JB
191312015-05-05 Joel Brobecker <brobecker@adacore.com>
19132
19133 * gdb.ada/var_rec_arr: New testcase.
19134
5fccc635
YQ
191352015-04-30 Yao Qi <yao.qi@linaro.org>
19136
19137 * gdb.base/break-idempotent.exp: If
19138 skip_hw_watchpoint_multi_tests returns true, skip the tests
19139 on "rwatch" and "awatch".
19140
42d38f42
YQ
191412015-04-30 Yao Qi <yao.qi@linaro.org>
19142
19143 * gdb.base/relativedebug.exp: Invoke gdb command
19144 "info sharedlibrary", and if libc.so doesn't have debug info,
19145 skip the test.
19146
2ce1cdbf
DE
191472015-04-29 Doug Evans <dje@google.com>
19148
19149 * gdb.python/py-xmethods.exp: Add ptype tests.
19150 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19151 get_result_type method.
19152
f24a38c5
LM
191532015-04-29 Luis Machado <lgustavo@codesourcery.com>
19154
19155 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19156 the target does not support hardware watchpoints.
19157
ecbf2b3c
LM
191582015-04-29 Luis Machado <lgustavo@codesourcery.com>
19159
19160 * gdb.base/break-always.exp: Abort testing if writing to memory
19161 causes an error.
19162
34f5f757
DE
191632015-04-28 Doug Evans <dje@google.com>
19164
19165 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19166 * gdb.python/py-pp-registration.exp: ... here. New file.
19167 * gdb.python/py-pp-registration.c: New file.
19168 * gdb.python/py-pp-registration.py: New file.
19169
69b4374a
DE
191702015-04-28 Doug Evans <dje@google.com>
19171
19172 * gdb.python/py-bad-printers.c: New file.
19173 * gdb.python/py-bad-printers.py: New file.
19174 * gdb.python/py-bad-printers.exp: New file.
19175
59fb7612
SS
191762015-04-28 Sasha Smundak <asmundak@google.com>
19177
19178 * gdb.python/py-type.exp: New test.
19179
2631b16a
AW
191802015-04-28 Andy Wingo <wingo@igalia.com>
19181
19182 * gdb.python/py-parameter.exp:
19183 * gdb.guile/scm-parameter.exp: Escape the path that we are
19184 matching against, as it might contain characters that are special
19185 to regular expressions.
19186
460efde1
JB
191872015-04-27 Joel Brobecker <brobecker@adacore.com>
19188
19189 * gdb.ada/rec_comp: New testcase.
19190
2d369d8e
SDJ
191912015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19192
19193 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19194 before using it.
19195
cf75d6c3
AB
191962015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19197
19198 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19199 new tests for verilog output.
19200
8dbe7ca5
YQ
192012015-04-24 Yao Qi <yao.qi@linaro.org>
19202
19203 * boards/remote-gdbserver-on-localhost.exp: New file.
19204
4ef9fb2f
PA
192052015-04-23 Pedro Alves <palves@redhat.com>
19206
19207 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19208 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19209 "end of file", remove $inferior_spawn_id from the indirect list.
19210
0a803169
PA
192112015-04-23 Pedro Alves <palves@redhat.com>
19212
19213 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19214
749ef8f8
PA
192152015-04-23 Pedro Alves <palves@redhat.com>
19216
19217 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19218 on $any_spawn_id instead of only on $gdb_spawn_id.
19219
8aae4344
PM
192202015-04-21 Pierre Muller <muller@sourceware.org>
19221
19222 PR pascal/17815
19223 * lib/pascal.exp (gpc_compile): Add new option "class".
19224 (fpc_compile): Likewise.
19225 * gdb.pascal/case-insensitive-symbols.pas: New file.
19226 * gdb.pascal/case-insensitive-symbols.exp: New file.
19227
1586c8fb
GB
192282015-04-20 Gary Benson <gbenson@redhat.com>
19229
19230 * gdb.base/attach.exp: Fix three extended remote failures.
19231
1b6e6f5c
GB
192322015-04-17 Gary Benson <gbenson@redhat.com>
19233
19234 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19235 the main executable over the remote protocol.
19236
e797481d
PA
192372015-04-16 Pedro Alves <palves@redhat.com>
19238
19239 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19240 a new gdbserver if gdbserver_reconnect_p is set.
19241
1ca99c42
PA
192422015-04-16 Pedro Alves <palves@redhat.com>
19243
19244 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19245 is set, don't exit gdbserver.
19246
af9fd6f8
AA
192472015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19248
19249 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19250 appropriate .insn, such that an older assembler can be used.
19251 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19252 the z/Architecture instruction set on 31-bit targets as well.
19253
04ff1e61
AA
192542015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19255
19256 * gdb.go/handcall.exp: Remove all logic related to the first
19257 breakpoint and rely on go_runto_main instead.
19258 * gdb.go/strings.exp: Likewise.
19259 * gdb.go/unsafe.exp: Likewise.
19260 * gdb.go/hello.exp: Likewise. Also rename the remaining
19261 breakpoint marker to "breakpoint 1".
19262 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19263 * gdb.go/strings.go: Likewise.
19264 * gdb.go/unsafe.go: Likewise.
19265 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19266 "set breakpoint 2 here" and rename the remaining breakpoint marker
19267 to "breakpoint 1".
19268
40d2f8d6
SM
192692015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19270
19271 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19272 if itertools.imap is not present.
19273 * gdb.python/py-objfile.exp: Add parentheses.
19274 * gdb.python/py-type.exp: Same.
19275 * gdb.python/py-unwind-maint.py: Same.
19276
8cbc97c6
YQ
192772015-04-15 Yao Qi <yao.qi@linaro.org>
19278
19279 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19280 of ":$ptr_size" and set its form explicitly.
19281
45fd756c
YQ
192822015-04-15 Pedro Alves <palves@redhat.com>
19283 Yao Qi <yao.qi@linaro.org>
19284
19285 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19286 timeout by factor of 4.
19287 (test_regular_watch): Likewise.
19288 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19289 * gdb.reverse/sigall-reverse.exp: Likewise.
19290 * gdb.reverse/until-precsave.exp: Likewise.
19291 * lib/gdb.exp (with_timeout_factor): New proc.
19292 (gdb_expect): Move some code to ...
19293 (get_largest_timeout): ... here. New procedure.
19294
9e811bc3
LM
192952015-04-14 Luis Machado <lgustavo@codesourcery.com>
19296
19297 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19298
0ff6fcb2
LM
192992015-04-13 Luis Machado <lgustavo@codesourcery.com>
19300
19301 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19302 to write to the .text section.
19303
7578d5f7
LM
193042015-04-13 Luis Machado <lgustavo@codesourcery.com>
19305
19306 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19307 Handle the case of targets that do not provide PID information.
19308
2efe15c4
YQ
193092015-04-13 Yao Qi <yao.qi@linaro.org>
19310
19311 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19312 and use expect instead of gdb_expect.
19313
8cd8f2f8
SDJ
193142015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19315
19316 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19317 "coredump_var_addr" to avoid naming conflict with other testcases.
19318
9ee41772
PA
193192015-04-10 Pedro Alves <palves@redhat.com>
19320
19321 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19322 gdb_test_sequence and gdb_assert.
19323
07473109
PA
193242015-04-10 Pedro Alves <palves@redhat.com>
19325
19326 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19327 test messages that don't include the breakpoint address.
19328
de3db44c
YQ
193292015-04-10 Yao Qi <yao.qi@linaro.org>
19330
19331 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19332 false for some offset and width combinations which aren't
19333 supported by linux kernel.
19334
c79d856c
PA
193352015-04-10 Pedro Alves <palves@redhat.com>
19336
19337 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19338 procedure, factored out from ...
19339 (top level): ... here. Add "set displaced-stepping" testing axis.
19340 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19341 parameter "displaced". Use it.
19342 (top level): Use foreach and add "set displaced-stepping" testing
19343 axis.
19344
ebc90b50
PA
193452015-04-10 Pedro Alves <palves@redhat.com>
19346
19347 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19348 Remove comment.
19349 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19350 both the address of the instruction that triggers the watchpoint
19351 and the address of the instruction immediately after, and use
19352 those addresses for the test. Fix comment.
19353
8f572e5c
PA
193542015-04-10 Pedro Alves <palves@redhat.com>
19355
19356 * gdb.base/sigstep.exp (breakpoint_to_handler)
19357 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19358 Test "backtrace" in handler.
19359 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19360 (top level): Add new "displaced" test axis to
19361 breakpoint_to_handler, breakpoint_to_handler_entry and
19362 breakpoint_over_handler.
19363
8d707a12
PA
193642015-04-10 Pedro Alves <palves@redhat.com>
19365
19366 PR gdb/18216
19367 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19368
ef713951
YQ
193692015-04-10 Yao Qi <yao.qi@linaro.org>
19370
19371 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19372 (test_add_rn_pc): New function.
19373 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19374 (top level): Invoke test_add_rn_pc.
19375
906d60cf
PA
193762015-04-10 Pedro Alves <palves@redhat.com>
19377
19378 PR gdb/13858
19379 * gdb.base/step-over-no-symbols.exp: New file.
19380
f2983cc3
AW
193812015-04-09 Andy Wingo <wingo@igalia.com>
19382
19383 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19384 after the Python tests.
19385
6d62641c
SDJ
193862015-04-08 Keith Seitz <keiths@redhat.com>
19387
19388 PR python/16699
19389 * gdb.python/py-completion.exp: New tests for completion.
19390 * gdb.python/py-completion.py (CompleteLimit1): New class.
19391 (CompleteLimit2): Likewise.
19392 (CompleteLimit3): Likewise.
19393 (CompleteLimit4): Likewise.
19394 (CompleteLimit5): Likewise.
19395 (CompleteLimit6): Likewise.
19396 (CompleteLimit7): Likewise.
19397
f3770638
PA
193982015-04-08 Pedro Alves <palves@redhat.com>
19399
19400 PR gdb/18214
19401 PR gdb/18216
19402 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19403 function.
19404 (main): Install it as SIGUSR1 handler.
19405 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19406 parameter. Always use "setup" as prefix. Toggle "set
19407 displaced-stepping" off/on depending on global. Don't switch to
19408 thread 1 here.
19409 (top level): Add displaced stepping "off/on" test axis. Update
19410 "setup" calls. Wrap each subtest with with_test_prefix. Test
19411 continuing with a queued signal in each thread.
19412
4496bed7
PA
194132015-04-08 Pedro Alves <palves@redhat.com>
19414
19415 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19416 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19417 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19418 Return early if running to main fails.
19419 * gdb.trace/while-stepping.exp: Likewise.
19420
b97fde92
PA
194212015-04-07 Pedro Alves <palves@redhat.com>
19422
19423 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19424 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19425 interact with inferior program.
19426
f71c18e7
PA
194272015-04-07 Pedro Alves <palves@redhat.com>
19428
19429 * lib/gdb.exp (inferior_spawn_id): New global.
19430 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19431 spawn id after processing the user code.
19432 (default_gdb_start): Set inferior_spawn_id.
19433 (send_inferior): New procedure.
19434 * lib/gdbserver-support.exp (gdbserver_start): Set
19435 inferior_spawn_id.
19436 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19437
6423214f
PA
194382015-04-07 Pedro Alves <palves@redhat.com>
19439
19440 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19441 * lib/gdbserver-support.exp (gdbserver_start): Make
19442 $server_spawn_id global.
19443 (gdbserver_start): Don't wait for gdbserver's spawn id with
19444 expect_background.
19445 (close_gdbserver): New procedure.
19446 (gdb_exit): Rename the default version and reimplement.
19447
71c0ee8c
PA
194482015-04-07 Pedro Alves <palves@redhat.com>
19449
72f4393d 19450 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19451 append the substituted item, not the original item.
19452
203bc29b
PA
194532015-04-07 Pedro Alves <palves@redhat.com>
19454
19455 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19456 gdb_expect.
19457
508a3ddf
PA
194582015-04-07 Pedro Alves <palves@redhat.com>
19459
19460 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19461 output appearing once only.
19462
9f6dbe2b
PA
194632015-04-07 Pedro Alves <palves@redhat.com>
19464
19465 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19466 that doesn't expect anything. Return early if running to main
19467 fails.
19468
337532fa
YQ
194692015-04-07 Yao Qi <yao.qi@linaro.org>
19470
19471 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19472 (child_function): Call alarm.
19473 (main): Move call to alarm into the loop.
19474 * gdb.threads/non-stop-fair-events.exp: Build program with
19475 -DTIMEOUT=$timeout.
19476
01b622d4
DE
194772015-04-06 Doug Evans <xdje42@gmail.com>
19478
19479 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19480 Fix dest parameter to board_info.
19481 (fpc_compile): Ditto.
19482 (gdb_compile_pascal): Rename dest arg to destfile.
19483
961f4160
PMR
194842015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19485
19486 * gdb.ada/funcall_ref.exp: New file.
19487 * gdb.ada/funcall_ref/foo.adb: New file.
19488
cafda597
YQ
194892015-04-02 Yao Qi <yao.qi@linaro.org>
19490
19491 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19492 is remote.
19493
fed040c6
GB
194942015-04-02 Gary Benson <gbenson@redhat.com>
19495
19496 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19497
d11916aa
SS
194982015-04-01 Sasha Smundak <asmundak@google.com>
19499
19500 * gdb.python/py-unwind-maint.c: New file.
19501 * gdb.python/py-unwind-maint.exp: New test.
19502 * gdb.python/py-unwind-maint.py: New file.
19503 * gdb.python/py-unwind.c: New file.
19504 * gdb.python/py-unwind.exp: New test.
19505 * gdb.python/py-unwind.py: New test.
19506
a1471180
PA
195072015-04-01 Pedro Alves <palves@redhat.com>
19508
19509 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19510 to fail instead of non-existent $test.
19511
0bbeccb1
PA
195122015-04-01 Pedro Alves <palves@redhat.com>
19513
19514 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19515 GDBFLAGS if not empty.
19516
3c724c8c
PMR
195172015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19518
19519 * gdb.ada/complete.exp: Remove "multi_line".
19520 * gdb.ada/info_exc.exp: Remove "multi_line".
19521 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19522 * gdb.ada/ptype_field.exp: Remove "multi_line".
19523 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19524 * gdb.ada/tagged.exp: Remove "multi_line".
19525 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19526 [multi_line ...]
19527 * gdb.btrace/delta.exp: Likewise.
19528 * gdb.btrace/exception.exp: Likewise.
19529 * gdb.btrace/function_call_history.exp: Likewise.
19530 * gdb.btrace/instruction_history.exp: Likewise.
19531 * gdb.btrace/nohist.exp: Likewise.
19532 * gdb.btrace/record_goto.exp: Likewise.
19533 * gdb.btrace/segv.exp: Likewise.
19534 * gdb.btrace/stepi.exp: Likewise.
19535 * gdb.btrace/tailcall.exp: Likewise.
19536 * gdb.btrace/unknown_functions.exp: Likewise.
19537 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19538 * lib/gdb.exp: Add the "multi_line" helper.
19539
4eec2deb
PA
195402015-04-01 Pedro Alves <palves@redhat.com>
19541
19542 * gdb.threads/tid-reuse.c: New file.
19543 * gdb.threads/tid-reuse.exp: New file.
19544
df8411da
SDJ
195452015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19546
19547 PR corefiles/16092
19548 * gdb.base/coredump-filter.c: New file.
19549 * gdb.base/coredump-filter.exp: Likewise.
19550
6ef37366
PM
195512015-03-27 Petr Machata <pmachata@redhat.com>
19552
19553 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19554 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19555 (Dwarf::assemble): Initialize them.
19556 (Dwarf::lines): New function.
19557
7ec911b0
JT
195582015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19559
19560 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19561 SYMBOL_PREFIX for x86_64-*-cygwin.
19562
ff908ebf
AW
195632015-03-26 Andy Wingo <wingo@igalia.com>
19564
19565 PR symtab/18148
19566 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19567 const_value but not a location.
19568 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19569 location defined in non-main CUs are visible.
19570
6d5f0679
YQ
195712015-03-26 Yao Qi <yao.qi@linaro.org>
19572
19573 PR testsuite/18139
19574 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19575 Add a line number entry for the same line.
19576 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19577 Add a line number entry for the same line.
19578
2898689b
YQ
195792015-03-26 Yao Qi <yao.qi@linaro.org>
19580
19581 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19582 .int 0.
19583 (func): Likewise. Add .Lfunc_1 label.
19584 Use .Lfunc_1 label.
19585 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19586 .int 0.
19587 (func): Likewise.
19588 Use .Lfunc_1 label.
19589
85180498
YQ
195902015-03-26 Yao Qi <yao.qi@linaro.org>
19591
19592 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19593 Call gdb_compile instead to compile each .s files without debug
19594 information.
19595
8aa08a8d
YQ
195962015-03-26 Yao Qi <yao.qi@linaro.org>
19597
19598 * gdb.base/savedregs.exp (process_saved_regs): Make
19599 "Saved registers:" optional in the pattern.
19600
66849923
MM
196012015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19602
19603 * gdb.btrace/next.exp: Merged into step.exp.
19604 * gdb.btrace/finish.exp: Merged into step.exp.
19605 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19606 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19607 "record goto" and checking the exact replay position.
19608 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19609 check for "Recording format" in "info record" output.
19610 * gdb.btrace/record_goto.exp: Choose test file based on target.
19611 * gdb.btrace/x86-record_goto.S: Renamed into ...
19612 * gdb.btrace/x86_64-record_goto.S: ... this.
19613 * gdb.btrace/i686-record_goto.S: New.
19614 * gdb.btrace/x86-tailcall.S: Renamed into ...
19615 * gdb.btrace/x86_64-tailcall.S: ... this.
19616 * gdb.btrace/i686-tailcall.S: New.
19617 * gdb.btrace/x86-tailcall.c: Renamed into ...
19618 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19619 separate statements. Update test.
19620 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19621 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19622 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19623 * gdb.btrace/tailcall.exp: Choose test file based on target.
19624 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19625
11cc1b74
MM
196262015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19627
19628 * gdb.btrace/exception.exp: Increase BTS buffer size.
19629
a25d8bf9
PA
196302015-03-24 Pedro Alves <palves@redhat.com>
19631
19632 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19633
856e7dd6
PA
196342015-03-24 Pedro Alves <palves@redhat.com>
19635
19636 * gdb.threads/schedlock.exp (test_step): No longer expect that
19637 "set scheduler-locking step" with "next" over a function call runs
19638 threads unlocked.
19639
ad235a41
AT
196402015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19641
19642 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19643
15630549
AT
196442015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19645
19646 PR breakpoints/16466
19647 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19648 * gdb.mi/mi-pending.c (thread_func): New function.
19649 (int main): Add threading support required.
19650 * gdb.mi/mi-pending.exp: Add tests for this issue.
19651 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19652 (pendfunc2): Remove stdio dependency.
19653 * gdb.mi/mi-pendshr2.c: New file.
19654
693dca06
KS
196552015-03-23 Keith Seitz <keiths@redhat.com>
19656
19657 * gdb.linespec/keywords.c: New file.
19658 * gdb.linespec/keywords.exp: New file.
19659
7e993ebf
KS
196602015-03-23 Keith Seitz <keiths@redhat.com>
19661
19662 PR gdb/18021
19663 * gdb.dwarf2/staticvirtual.exp: New test.
19664
bc23328c
JK
196652015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19666
19667 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19668 * README: Remove HP-UX and gdb.hp.
19669 (configuration):
19670 * configure: Regenerate.
19671 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19672 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19673 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19674 gdb.hp/gdb.defects/Makefile.
19675 * gdb.hp/Makefile.in: File deleted.
19676 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19677 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19678 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19679 * gdb.hp/gdb.aCC/run.c: File deleted.
19680 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19681 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19682 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19683 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19684 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19685 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19686 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19687 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19688 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19689 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19690 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19691 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19692 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19693 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19694 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19695 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19696 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19697 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19698 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19699 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19700 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19701 * gdb.hp/gdb.compat/average.c: File deleted.
19702 * gdb.hp/gdb.compat/sum.c: File deleted.
19703 * gdb.hp/gdb.compat/xdb.c: File deleted.
19704 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19705 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19706 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19707 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19708 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19709 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19710 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19711 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19712 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19713 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19714 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19715 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19716 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19717 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19718 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19719 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19720 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19721 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19722 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19723 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19724 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19725 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19726 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19727 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19728 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19729 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19730 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19731 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19732 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19733 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19734 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19735 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19736 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19737 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19738 * gdb.hp/tools/odump: File deleted.
19739
8bf3b159
PA
197402015-03-19 Pedro Alves <palves@redhat.com>
19741
19742 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19743 (saw_thread_3): New globals.
19744 (top level): Increment them when an event for the corresponding
19745 thread is seen.
19746 (no thread starvation): New test.
19747
eb54c8bf
PA
197482015-03-19 Pedro Alves <palves@redhat.com>
19749
19750 * gdb.threads/continue-pending-status.c: New file.
19751 * gdb.threads/continue-pending-status.exp: New file.
19752
32d2e5d6
PA
197532015-03-18 Pedro Alves <palves@redhat.com>
19754
19755 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19756 Use gdb_is_target_remote instead of is_remote. Use
19757 gdb_test_multiple instead of gdb_expect. Exit early if
19758 gdb_test_multiple hits its internal matches. Tighten stepi tests
19759 expected output. Fail on exit with any signal, instead of just
19760 SIGILL.
19761
f68f11b7
YQ
197622015-03-18 Yao Qi <yao.qi@linaro.org>
19763
19764 PR tdep/18107
19765 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19766 variable.
19767 * gdb.base/catch-syscall.exp: Don't skip it on
19768 aarch64*-*-linux* target. Remove elements in all_syscalls.
19769 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19770 target.
19771 (setup_all_syscalls): New proc.
19772
ca5fd19b
YQ
197732015-03-16 Yao Qi <yao.qi@linaro.org>
19774
19775 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19776 (top level): Skip tests if valid_addr_p returns false for
19777 $cmd1 or $cmd2.
19778
85642ba0
AW
197792015-03-11 Andy Wingo <wingo@igalia.com>
19780
19781 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19782
e03f9645
YQ
197832015-03-11 Yao Qi <yao.qi@linaro.org>
19784
19785 * gdb.base/catch-syscall.exp: Fix typo in comments.
19786
5d0962b2
YQ
197872015-03-11 Yao Qi <yao.qi@linaro.org>
19788
19789 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19790
b2df3cef
PA
197912015-03-09 Pedro Alves <palves@redhat.com>
19792
19793 * dg-extract-results.py: Delete.
19794
ef878e53
PA
197952015-03-09 Pedro Alves <palves@redhat.com>
19796
19797 Merge dg-extract-results.sh from GCC upstream (r218843).
19798
19799 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19800 * dg-extract-results.sh: Use --text with grep to avoid issues with
19801 binary files. Fall back to cat -v, if that doesn't work.
19802
9494d219
PA
198032015-03-05 Pedro Alves <palves@redhat.com>
19804
19805 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19806
a8d9763a
SM
198072015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19808
19809 * lib/mi-support.exp (mi_expect_interrupt): Accept
19810 alternative event for when in all-stop mode.
19811
be9957b8
PA
198122015-03-04 Pedro Alves <palves@redhat.com>
19813
19814 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19815
d57be0f4 198162015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19817
19818 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19819
c214c7cf
AA
198202015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19821
19822 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19823 regexps for GDB's current line display, accept a hex address
19824 preceding the line number.
19825
6d74a497
AA
198262015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19827
19828 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19829 the 'arch1' variable for "s390*-linux*" targets.
19830
511aee7c
PA
198312015-03-04 Pedro Alves <palves@redhat.com>
19832
19833 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19834 (main): Pass missing retval argument to pthread_join call.
19835
95e50b27
PA
198362015-03-02 Pedro Alves <palves@redhat.com>
19837
19838 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19839 (top level): Call do_test with non-stop as well.
19840
28054d69
PA
198412015-03-02 Pedro Alves <palves@redhat.com>
19842
19843 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19844 -1.
19845
4fa5d7b4
AA
198462015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19847
19848 * gdb.arch/s390-vregs.exp: New test.
19849 * gdb.arch/s390-vregs.S: New file.
19850
97c18565
PA
198512015-02-27 Pedro Alves <palves@redhat.com>
19852
19853 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19854 call to catch_command_errors.
19855 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19856 catch_command_errors.
19857
a37bfa30
PA
198582015-02-27 Pedro Alves <palves@redhat.com>
19859
19860 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19861 "true" for boolean result.
19862 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19863 prototype of main.
19864
6f98576f
PA
198652015-02-27 Pedro Alves <palves@redhat.com>
19866
19867 * lib/unbuffer_output.c: New file.
19868 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19869 (main): Call gdb_unbuffer_output.
19870
eba5ab56
YQ
198712015-02-27 Yao Qi <yao.qi@linaro.org>
19872
19873 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19874 target.
19875
0def5aaa
DE
198762015-02-26 Doug Evans <dje@google.com>
19877
19878 * gdb.cp/class2.cc (Dbase, D): New classes.
19879 (main): New local delta.
19880 * gdb.cp/class2.exp: Test printing delta.
19881 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19882 (dynbar): New global.
19883 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19884
081a1c2c
JK
198852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19886
19887 * gdb.compile/compile-ifunc.c: New file.
19888 * gdb.compile/compile-ifunc.exp: New file.
19889
2f41223f
AT
198902015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19891
19892 * gdb.base/structs.exp: Check for correct struct on finish.
19893
03eddd80
YQ
198942015-02-26 Yao Qi <yao.qi@linaro.org>
19895
19896 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19897 is zero.
19898
80c57053
JK
198992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19900
19901 * gdb.arch/cordic.ko.bz2: New file.
19902 * gdb.arch/cordic.ko.debug.bz2: New file.
19903 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19904
21613c12
YQ
199052015-02-25 Yao Qi <yao.qi@linaro.org>
19906
19907 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19908 aarch64*-*-* target.
19909
d8b901ed
PA
199102015-02-23 Pedro Alves <palves@redhat.com>
19911
19912 * lib/gdb.exp (delete_breakpoints): Rewrite using
19913 gdb_test_multiple.
19914
e5b85ead
PA
199152015-02-23 Pedro Alves <palves@redhat.com>
19916
19917 * gdb.base/info-os.c: Include stdlib.h.
19918
85c3a371
DE
199192015-02-22 Doug Evans <xdje42@gmail.com>
19920
19921 PR symtab/17855
19922 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19923 is read after symbols have been re-read.
19924 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19925 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19926
96553a0c
DE
199272015-02-21 Doug Evans <dje@google.com>
19928
19929 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19930
97a0c697
JK
199312015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19932
19933 PR corefiles/17808
19934 * gdb.arch/i386-biarch-core.core.bz2: New file.
19935 * gdb.arch/i386-biarch-core.exp: New file.
19936
a47cd6e9
PA
199372015-02-21 Pedro Alves <palves@redhat.com>
19938
19939 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19940 runto_main fails.
19941
c5facdc4
PA
199422015-02-20 Pedro Alves <palves@redhat.com>
19943
19944 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19945 info probes.
19946
2db9a427
PA
199472015-02-20 Pedro Alves <palves@redhat.com>
19948
19949 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19950
60fb7e9e
PA
199512015-02-20 Pedro Alves <palves@redhat.com>
19952
19953 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19954 clean_restart before gdb_target_supports_trace.
19955
5c5019c2
PA
199562015-02-20 Pedro Alves <palves@redhat.com>
19957
19958 PR threads/18006
19959 * gdb.threads/clone-thread_db.c: New file.
19960 * gdb.threads/clone-thread_db.exp: New file.
19961
c9587f88
AT
199622015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19963
19964 PR breakpoints/16812
19965 * gdb.base/catch-gdb-caused-signals.c: New file.
19966 * gdb.base/catch-gdb-caused-signals.exp: New file.
19967
f6a88844
JM
199682015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19969
19970 * configure: Regenerated.
19971 * configure.ac: Use GDB_AC_TRANSFORM.
19972 * aclocal.m4: sinclude ../transform.m4.
19973
497c491b
JM
199742015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19975
19976 * lib/dtrace.exp: New file.
19977 * gdb.base/dtrace-probe.exp: Likewise.
19978 * gdb.base/dtrace-probe.d: Likewise.
19979 * gdb.base/dtrace-probe.c: Likewise.
19980 * lib/pdtrace.in: Likewise.
19981 * configure.ac: Output variables with the transformed names of
19982 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19983 * configure: Regenerated.
19984
03e98035
JM
199852015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19986
19987 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19988 expected message when trying to access $_probe_* convenience
19989 variables while not on a probe.
19990
63cc30e9
JK
199912015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19992
19993 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19994
0703599a
PA
199952015-02-11 Pedro Alves <pedro@codesourcery.com>
19996
19997 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19998 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19999
7e60a48e
DE
200002015-02-10 Doug Evans <xdje42@gmail.com>
20001
20002 * lib/gdb.exp (gdb_load): Always return a result.
20003
01b088bc
PA
200042015-02-10 Pedro Alves <palves@redhat.com>
20005
20006 * gdb.threads/signal-sigtrap.c: New file.
20007 * gdb.threads/signal-sigtrap.exp: New file.
20008
b05ec7a5
AT
200092015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20010
20011 * gdb.trace/no-attach-trace.c: New file.
20012 * gdb.trace/no-attach-trace.exp: New file.
20013
a2c2acaf
MW
200142015-02-09 Mark Wielaard <mjw@redhat.com>
20015
20016 * gdb.dwarf2/atomic.c: New file.
20017 * gdb.dwarf2/atomic-type.exp: Likewise.
20018
31fd9caa
MM
200192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20020
20021 * gdb.btrace/buffer-size.exp: Update "info record" output.
20022 * gdb.btrace/delta.exp: Update "info record" output.
20023 * gdb.btrace/enable.exp: Update "info record" output.
20024 * gdb.btrace/finish.exp: Update "info record" output.
20025 * gdb.btrace/instruction_history.exp: Update "info record" output.
20026 * gdb.btrace/next.exp: Update "info record" output.
20027 * gdb.btrace/nexti.exp: Update "info record" output.
20028 * gdb.btrace/step.exp: Update "info record" output.
20029 * gdb.btrace/stepi.exp: Update "info record" output.
20030 * gdb.btrace/nohist.exp: Update "info record" output.
20031
d33501a5
MM
200322015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20033
20034 * gdb.btrace/buffer-size: New.
20035
f4abbc16
MM
200362015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20037
20038 * gdb.btrace/delta.exp: Update "info record" output.
20039 * gdb.btrace/enable.exp: Update "info record" output.
20040 * gdb.btrace/finish.exp: Update "info record" output.
20041 * gdb.btrace/instruction_history.exp: Update "info record" output.
20042 * gdb.btrace/next.exp: Update "info record" output.
20043 * gdb.btrace/nexti.exp: Update "info record" output.
20044 * gdb.btrace/step.exp: Update "info record" output.
20045 * gdb.btrace/stepi.exp: Update "info record" output.
20046 * gdb.btrace/nohist.exp: Update "info record" output.
20047
b9d61307
SM
200482015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20049
20050 PR gdb/15678
20051 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20052
e584fdbc
PA
200532015-02-06 Pedro Alves <palves@redhat.com>
20054
20055 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20056 macro.
20057 (seconds_left, again): New globals.
20058 (main): Wait seconds_left in a 1-second sleep loop instead of
20059 sleeping 180 seconds. If 'again' is set, reset the seconds
20060 counter.
20061 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20062 'again' in the inferior before detaching. Print the seconds left.
20063 (options): New global.
20064 (top level): Build program with -DTIMEOUT=$timeout.
20065
77f41761
PA
200662015-02-06 Pedro Alves <palves@redhat.com>
20067
20068 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20069 determine how many seconds to pass to 'alarm'.
20070 * gdb.base/gdb-sigterm.exp (top level): Build program with
20071 -DTIMEOUT=$timeout.
20072 (do_test): Return success/failure indication. Add more verbose
20073 logging. Don't fail if 200 single steps are seen. Instead, fail
20074 when the test times out.
20075 (passes): New global.
20076 (top level): Break the testing loop if testing fails on any
20077 iteration. Use gdb_assert.
20078
b9394193
DB
200792015-02-04 Don Breazeal <donb@codesourcery.com>
20080
20081 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20082 and initialize them.
20083 (ipc_cleanup): New function.
20084 (main): Don't declare shmid, semid, and msqid. Add a call to
20085 atexit so that we call ipc_cleanup on exit.
20086
42d9e528
PA
200872015-02-04 Pedro Alves <palves@redhat.com>
20088
20089 * boards/native-extended-gdbserver.exp: Remove any target variant
20090 specifications from the board name before clearing the isremote
20091 flag from board_info.
20092
ae6ae975
DE
200932015-01-31 Doug Evans <xdje42@gmail.com>
20094
20095 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20096
cfb069a8
GB
200972015-01-31 Gary Benson <gbenson@redhat.com>
20098
20099 * gdb.base/completion.exp: Disable completion limiting for
20100 existing tests. Add new tests to check completion limiting.
20101 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20102
5dd31d79
DE
201032015-01-31 Doug Evans <xdje42@gmail.com>
20104
20105 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20106
9f050062
DE
201072015-01-31 Doug Evans <xdje42@gmail.com>
20108
20109 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20110 entries. Duplicate file section script entries.
20111 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20112 inlined entries. Add test for safe-path rejection.
20113 * gdb.python/py-section-script.c: Add duplicate inlined section script
20114 entries. Duplicate file section script entries.
20115 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20116 inlined entries. Add test for safe-path rejection.
20117
df25ebbd
JB
201182015-01-29 Joel Brobecker <brobecker@adacore.com>
20119
20120 * gdb.ada/disc_arr_bound: New testcase.
20121
4a0ca9ec
JB
201222015-01-29 Joel Brobecker <brobecker@adacore.com>
20123
20124 * gdb.ada/mi_var_array: New testcase.
20125
3a8b707a
DE
201262015-01-27 Doug Evans <dje@google.com>
20127
20128 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20129 Add test for objfile.filename, objfile.username after objfile
20130 has been unloaded.
20131
f8313f6e
JB
201322015-01-26 Joel Brobecker <brobecker@adacore.com>
20133
20134 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20135 the second test to print the name attribute of value
20136 returned by the call to gdb.lookup_type, and adjust
20137 the expected output accordingly.
20138
37bc665e
MW
201392015-01-25 Mark Wielaard <mjw@redhat.com>
20140
20141 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20142 * gdb.base/disp-step-fork.c: Include unistd.h.
20143 * gdb.base/siginfo-obj.c: Include stdio.h.
20144 * gdb.base/siginfo-thread.c: Likewise.
20145 * gdb.mi/non-stop.c: Include unistd.h.
20146 * gdb.mi/nsthrexec.c: Include stdio.h.
20147 * gdb.mi/pthreads.c: Include unistd.h.
20148 * gdb.modula2/unbounded1.c (main): Declare returns int.
20149 * gdb.reverse/consecutive-reverse.c: Likewise.
20150 * gdb.threads/create-fail.c: Include unistd.h.
20151 * gdb.threads/killed.c: Likewise.
20152 * gdb.threads/linux-dp.c: Likewise.
20153 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20154 * gdb.threads/non-ldr-exc-2.c: Likewise.
20155 * gdb.threads/non-ldr-exc-3.c: Likewise.
20156 * gdb.threads/non-ldr-exc-4.c: Likewise.
20157 * gdb.threads/pthreads.c: Include unistd.h.
20158 (main): Declare returns int.
20159 * gdb.threads/tls-main.c (foo): New declaration.
20160 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20161
f7e5394d
SM
201622015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20163
20164 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20165 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20166
743649fd
MW
201672015-01-15 Mark Wielaard <mjw@redhat.com>
20168
20169 * gdb.base/noreturn-return.c: New file.
20170 * gdb.base/noreturn-return.exp: New file.
20171 * gdb.base/noreturn-finish.c: New file.
20172 * gdb.base/noreturn-finish.exp: New file.
20173
198297aa
PA
201742015-01-23 Pedro Alves <palves@redhat.com>
20175
20176 * gdb.threads/continue-pending-after-query.c: New file.
20177 * gdb.threads/continue-pending-after-query.exp: New file.
20178
717cf30c
AG
201792015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20180 Simon Marchi <simon.marchi@ericsson.com>
20181
20182 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20183 * gdb.base/valgrind-db-attach.exp: Same.
20184 * gdb.base/valgrind-infcall.exp: Same.
20185 * lib/mi-support.exp (default_mi_gdb_start): Same.
20186 * lib/prompt.exp (default_prompt_gdb_start): Same.
20187 * lib/gdb.exp (default_gdb_spawn): Same.
20188 (gdb_interact): New.
20189
20190
4b62a76e
JK
201912015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20192
20193 * gdb.compile/compile.exp (pointer to jit function): New test.
20194
b4cdae6f
WW
201952015-01-17 Wei-cheng Wang <cole945@gmail.com>
20196
20197 * lib/gdb.exp (supports_process_record): Return true for
20198 powerpc*-*-linux*.
20199 (supports_reverse): Likewise.
20200
d221e7ef
DB
202012015-01-15 Don Breazeal <donb@codesourcery.com>
20202
20203 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20204 instead of checking whether the target board is remote and
20205 use spawn_wait_for_attach instead of exec/sleep.
20206 * gdb.base/attach-twice.exp: Likewise.
20207
bafffb51
JB
202082015-01-15 Joel Brobecker <brobecker@adacore.com>
20209
20210 * gdb.ada/var_arr_attrs: New testcase.
20211
5589af0e
PA
202122015-01-14 Pedro Alves <palves@redhat.com>
20213 Joel Brobecker <brobecker@adacore.com>
20214
20215 PR gdb/17525
20216 * gdb.base/bp-cmds-execution-x-script.c: New file.
20217 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20218 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20219
6c400b59
PA
202202015-01-14 Pedro Alves <palves@redhat.com>
20221
20222 PR cli/17828
20223 * gdb.base/batch-preserve-term-settings.c: New file.
20224 * gdb.base/batch-preserve-term-settings.exp: New file.
20225
e02c96a7
DE
202262015-01-13 Doug Evans <dje@google.com>
20227
20228 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20229 binary.
20230
576fd14c
JB
202312015-01-13 Joel Brobecker <brobecker@adacore.com>
20232
20233 * Makefile.in (clean mostlyclean): Do not delete *.py.
20234
04dccad0
JB
202352015-01-13 Joel Brobecker <brobecker@adacore.com>
20236
20237 * gdb.python/py-lookup-type.exp: New file.
20238
3d230f71
PA
202392015-01-12 Pedro Alves <palves@redhat.com>
20240
20241 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20242 restore GDBFLAGS before returning.
20243
7e67715d
JK
202442015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20245
20246 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20247 is_amd64_regs_target and is_x86_like_target.
20248
f2e0d4b4
DE
202492015-01-11 Doug Evans <xdje42@gmail.com>
20250
20251 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20252 is given without an explicit form.
20253 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20254 attributes.
20255 * gdb.dwarf/corrupt.exp: Ditto.
20256 * gdb.dwarf2/enum-type.exp: Ditto.
20257 * gdb.trace/entry-values.exp: Ditto.
20258 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20259
439250fb
DE
202602015-01-11 Doug Evans <xdje42@gmail.com>
20261
20262 PR gdb/15830
20263 * gdb.base/maint.exp: Remove references to "maint demangle".
20264 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20265 Add tests for explicitly specifying language to demangle.
20266 * gdb.dlang/demangle.exp: Ditto.
20267
ede9f622
PA
202682015-01-09 Pedro Alves <palves@redhat.com>
20269
20270 * gdb.threads/non-stop-fair-events.c: New file.
20271 * gdb.threads/non-stop-fair-events.exp: New file.
20272
a7b796db
PA
202732015-01-09 Pedro Alves <palves@redhat.com>
20274
20275 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20276 the global scope. Set a breakpoint after all threads are started
20277 rather than stepping over two source lines. Expect the prompt.
20278 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20279 global.
20280 (NUM): Now 15.
20281 (main): Use threads_started_barrier to wait for all threads to
20282 start. Main thread no longer calls thread_function. Exit after
20283 180 seconds.
20284 (loop): New function.
20285 (thread_function): Wait on threads_started_barrier barrier. Call
20286 'loop' at each iteration.
20287 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20288 threads have started, instead of hardcoding number of "next"
20289 steps. Use an access watchpoint instead of a write watchpoint.
20290
9665ffdd
PA
202912015-01-09 Pedro Alves <palves@redhat.com>
20292
20293 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20294 (thread_func): Wait on barrier.
20295 (main): Wait for all threads to start before stopping GDB.
20296 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20297 global.
20298 (thread1_func, thread2_func): Wait on barrier.
20299 (main): Wait for all threads to start before stopping GDB.
20300 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20301 New global.
20302 (thread1_func, thread2_func): Wait on barrier.
20303 (main): Wait for all threads to start before stopping GDB.
20304
c945a99f
PA
203052015-01-09 Pedro Alves <palves@redhat.com>
20306
20307 * gdb.threads/attach-many-short-lived-threads.c: New file.
20308 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20309
c1a747c1
PA
203102014-01-09 Pedro Alves <palves@redhat.com>
20311
20312 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20313 instead of to thread 2.
20314 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20315 Add barrier around each pthread_create call instead of around all
20316 calls.
20317 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20318 Set a break on thread_function and have the child threads hit it
20319 one at at a time.
20320
60b3033e
PA
203212015-01-09 Pedro Alves <palves@redhat.com>
20322
20323 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20324 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20325 false.
20326 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20327 checking whether the target board is remote.
20328 * gdb.multi/multi-attach.exp: Likewise.
20329 * gdb.python/py-sync-interp.exp: Likewise.
20330 * gdb.server/ext-attach.exp: Likewise.
20331 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20332 tests that need to attach, instead of checking whether the target
20333 board is remote at the top of the file.
20334
acc018ac
YQ
203352015-01-08 Yao Qi <yao@codesourcery.com>
20336
20337 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20338
50a18af8
JK
203392015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20340
20341 Fix testcase compilation.
20342 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20343
8503d6e1
JB
203442015-01-06 Joel Brobecker <brobecker@adacore.com>
20345
20346 * gdb.python/py-type.exp: Add a couple test about empty
20347 array creation, and negative-length array creation.
20348
cc73dbcc
DE
203492015-01-02 Doug Evans <xdje42@gmail.com>
20350
20351 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20352
0300bbc7
DE
203532015-01-02 Doug Evans <dje@google.com>
20354
20355 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20356
9d85a0ec
YQ
203572014-12-29 Yao Qi <yao@codesourcery.com>
20358
20359 * gdb.trace/entry-values.exp: Update comments. Rename variable
20360 bar_call_foo to returned_from_foo.
20361
87186c6a
MMN
203622014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20363
20364 PR gdb/17394
20365 * gdb.linespec/break-asm-file.c: New file.
20366 * gdb.linespec/break-asm-file.exp: New file.
20367 * gdb.linespec/break-asm-file0.s: New file.
20368 * gdb.linespec/break-asm-file1.s: New file.
20369
1bab7383
YQ
203702014-12-18 Nigel Stephens <nigel@mips.com>
20371 Maciej W. Rozycki <macro@codesourcery.com>
20372
20373 * gdb.base/float.exp: Handle the new output from "info float" on
20374 MIPS targets.
20375
1bc1068a
JK
203762014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20377
20378 Fix MinGW compilation.
20379 * gdb.compile/compile-ops.exp: Update untested message if
20380 !skip_compile_feature_tests.
20381 * gdb.compile/compile-setjmp.exp: Likewise.
20382 * gdb.compile/compile-tls.exp: Likewise.
20383 * gdb.compile/compile.exp: Likewise.
20384 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20385 supported on this host".
20386
b6615d10
DE
203872014-12-16 Doug Evans <xdje42@gmail.com>
20388
20389 * boards/stabs.exp: New file.
20390
25dda427
AA
203912014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20392
20393 * gdb.base/completion.exp: Adjust to format changes of "maint
20394 print user-registers".
20395
bf330350
CU
203962014-12-16 Catalin Udma <catalin.udma@freescale.com>
20397
20398 PR server/17457
20399 * gdb.arch/aarch64-fp.c: New file.
20400 * gdb.arch/aarch64-fp.exp: New file.
20401
395cf596
SDJ
204022014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20403
20404 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20405 r210637, r210913, r211666, r215400, r215817).
20406
20407 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20408 * dg-extract-results.py: New file.
20409 * dg-extract-results.sh: Use it if the environment seems
20410 suitable.
20411
20412 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20413
20414 * dg-extract-results.py (parse_run): Handle warnings that
20415 are printed before a test harness is run.
20416
20417 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20418
20419 * dg-extract-results.py (Named): Remove __cmp__ method.
20420 (output_variation): Use a key to sort variation.harnesses.
20421
20422 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20423
20424 * dg-extract-results.py: For Python 3, force sys.stdout to
20425 handle surrogate escape sequences.
20426 (safe_open): New function.
20427 (output_segment, main): Use it.
20428
20429 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20430
20431 * dg-extract-results.py (Prog.result_re): Include options
20432 in test name.
20433
20434 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20435
20436 * dg-extract-results.py (output_variation): Always sort if
20437 do_sum.
20438
e882ef3c
SM
204392014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20440
20441 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20442 as long as we get pagination notifications.
20443
4992aa20
JM
204442014-12-15 Jason Merrill <jason@redhat.com>
20445
20446 * Makefile.in (check-gdb.%): Restore.
20447 * README: Mention it.
20448
c1b5a1a6
JB
204492014-12-13 Joel Brobecker <brobecker@adacore.com>
20450
20451 * gdb.ada/str_uninit: New testcase.
20452
5537b577
JK
204532014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20454
20455 PR symtab/17642
20456 * gdb.base/vla-stub-define.c: New file.
20457 * gdb.base/vla-stub.c: New file.
20458 * gdb.base/vla-stub.exp: New file.
20459
bb2ec1b3
TT
204602014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20461 Jan Kratochvil <jan.kratochvil@redhat.com>
20462 Tom Tromey <tromey@redhat.com>
20463
20464 * configure.ac: Add gdb.compile/.
20465 * configure: Regenerate.
20466 * gdb.compile/Makefile.in: New file.
20467 * gdb.compile/compile-ops.exp: New file.
20468 * gdb.compile/compile-ops.c: New file.
20469 * gdb.compile/compile-tls.c: New file.
20470 * gdb.compile/compile-tls.exp: New file.
20471 * gdb.compile/compile-constvar.S: New file.
20472 * gdb.compile/compile-constvar.c: New file.
20473 * gdb.compile/compile-mod.c: New file.
20474 * gdb.compile/compile-nodebug.c: New file.
20475 * gdb.compile/compile-setjmp-mod.c: New file.
20476 * gdb.compile/compile-setjmp.c: New file.
20477 * gdb.compile/compile-setjmp.exp: New file.
20478 * gdb.compile/compile-shlib.c: New file.
20479 * gdb.compile/compile.c: New file.
20480 * gdb.compile/compile.exp: New file.
20481 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20482
4ff709eb
TT
204832014-12-12 Tom Tromey <tromey@redhat.com>
20484
20485 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20486 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20487
6dddd6a5
DE
204882014-12-12 Doug Evans <dje@google.com>
20489
20490 * lib/gdb-python.exp (get_python_valueof): New function.
20491 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20492
71c24708
AA
204932014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20494
20495 * gdb.base/completion.exp: Add test for completion of "info
20496 registers ".
20497
3e29f34a
MR
204982014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20499
20500 * gdb.base/func-ptrs.c: New file.
20501 * gdb.base/func-ptrs.exp: New file.
20502
fc126975
SM
205032014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20504
20505 PR breakpoints/17012
20506 * gdb.base/dprintf-detach.c: New file.
20507 * gdb.base/dprintf-detach.exp: New file.
20508
0a46d518
SM
205092014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20510
20511 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20512 * lib/gdb.exp (target_is_gdbserver): New procedure.
20513
a0be3e44
DE
205142014-12-08 Doug Evans <dje@google.com>
20515
20516 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20517
df1b803a
YQ
205182014-12-05 Yao Qi <yao@codesourcery.com>
20519
20520 * gdb.guile/scm-error.exp: Remove the third argument to
20521 gdb_remote_download.
20522 * gdb.guile/scm-frame-args.exp: Likewise.
20523 * gdb.guile/scm-section-script.exp: Likewise.
20524
ddb9f679
YQ
205252014-12-05 Yao Qi <yao@codesourcery.com>
20526
20527 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20528
86e4ed39
DE
205292014-12-04 Doug Evans <dje@google.com>
20530
20531 * gdb.python/py-objfile.exp: Add tests for
20532 objfile.add_separate_debug_file.
20533
7c50a931
DE
205342014-12-04 Doug Evans <dje@google.com>
20535
20536 * lib/gdb.exp (get_build_id): New function.
20537 (build_id_debug_filename_get): Rewrite to use it.
20538 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20539
621661e3
MR
205402014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20541
20542 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20543 `method(long)', not just 0x0.
20544 * gdb.cp/nsalias.exp: Align code labels to 4.
20545 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20546 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20547 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20548 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20549 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20550 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20551
29f0c3b7
DE
205522014-12-02 Doug Evans <dje@google.com>
20553
e1e061e7 20554 PR symtab/17602
29f0c3b7 20555 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20556 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20557 * gdb.cp/anon-ns.exp: Update.
20558
162078c8
NB
205592014-12-02 Nick Bull <nicholaspbull@gmail.com>
20560
20561 * gdb.python/py-events.py (inferior_call_handler): New.
20562 (register_changed_handler, memory_changed_handler): New.
20563 (test_events.invoke): Register new handlers.
20564 * gdb.python/py-events.exp: Add tests for inferior call,
20565 memory_changed and register_changed events.
20566
fdb09caf
AA
205672014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20568
20569 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20570 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20571 if the linker doesn't understand this.
20572
55cfb2c4
SM
205732014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20574
20575 * gdb.python/python.exp: Change expected reply to help().
20576
9e8cd6df
YQ
205772014-12-01 Yao Qi <yao@codesourcery.com>
20578
20579 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20580 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20581 * configure: Re-generated.
20582
6c659fc2
SC
205832014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20584
20585 * gdb.cp/chained-calls.cc: New file.
20586 * gdb.cp/chained-calls.exp: New file.
20587 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20588
d7fc3181
SM
205892014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20590
20591 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20592 * gdb.dwarf2/symtab-producer.exp: Same.
20593 * gdb.gdb/python-interrupts.exp: Same.
20594 * gdb.gdb/python-selftest.exp: Same.
20595 * gdb.python/py-linetable.exp: Same.
20596 * gdb.python/py-type.exp: Same.
20597 * gdb.python/py-value-cc.exp: Same.
20598 * gdb.python/py-value.exp: Same.
20599
10e79639
YQ
206002014-11-28 Yao Qi <yao@codesourcery.com>
20601
20602 * gdb.base/break-probes.exp: Match library name prefixed with
20603 sysroot.
20604
f28a0564
SM
206052014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20606
20607 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20608 test expected output. Add parentheses for the call to print.
20609 Remove L suffix from integers.
20610
3fe1ce1d
DE
206112014-11-26 Doug Evans <dje@google.com>
20612
20613 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20614
84429e27
YQ
206152014-11-22 Yao Qi <yao@codesourcery.com>
20616
20617 * gdb.trace/entry-values.c: Remove asms.
20618 (foo): Add foo_label.
20619 (bar): Add bar_label.
20620 * gdb.trace/entry-values.exp: Remove code computing foo's
20621 length and bar's length.
20622 (Dwarf::assemble): Invoke function_range for bar and use
20623 MACRO_AT_func for foo.
20624
26741859
YQ
206252014-11-22 Yao Qi <yao@codesourcery.com>
20626
20627 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20628 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20629 Use .Lgcc43_procstart instead of gcc43.
20630
45e44d27
JB
206312014-11-21 Joel Brobecker <brobecker@adacore.com>
20632
20633 * gdb.ada/n_arr_bound: New testcase.
20634
458c8db8
SDJ
206352014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20636
20637 PR breakpoints/10737
20638 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20639 test_catch_syscall_multi_arch.
20640 (test_catch_syscall_multi_arch): New function.
20641
43f3e411
DE
206422014-11-20 Doug Evans <xdje42@gmail.com>
20643
20644 * gdb.base/maint.exp: Update expected output.
20645
0d7b2549
AA
206462014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20647
20648 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20649 4-byte instruction on S390.
20650
8908fca5
JB
206512014-11-19 Joel Brobecker <brobecker@adacore.com>
20652
20653 * gdb.ada/arr_arr: New testcase.
20654
4a46959e
JB
206552014-11-19 Joel Brobecker <brobecker@adacore.com>
20656
20657 * gdb.ada/pkd_arr_elem: New Testcase.
20658
470e2f4e
LM
206592014-11-18 Luis Machado <lgustavo@codesourcery.com>
20660
20661 * gdb.reverse/break-precsave: Expect completion message for
20662 core file reads.
20663 * gdb.reverse/consecutive-precsave.exp: Likewise.
20664 * gdb.reverse/finish-precsave.exp: Likewise.
20665 * gdb.reverse/i386-precsave.exp: Likewise.
20666 * gdb.reverse/machinestate-precsave.exp: Likewise.
20667 * gdb.reverse/sigall-precsave.exp: Likewise.
20668 * gdb.reverse/solib-precsave.exp: Likewise.
20669 * gdb.reverse/step-precsave.exp: Likewise.
20670 * gdb.reverse/until-precsave.exp: Likewise.
20671 * gdb.reverse/watch-precsave.exp: Likewise.
20672
a267f3ad
AA
206732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20674
20675 * gdb.base/bp-permanent.c: Include unistd.h.
20676 * gdb.python/py-framefilter-mi.c (main): Add return type.
20677 * gdb.python/py-framefilter.c (main): Likewise.
20678 * gdb.trace/actions-changed.c (main): Likewise.
20679
12084a9a
AA
206802014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20681
20682 * gdb.mi/until.c: Add eye-catchers.
20683 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20684 line numbers.
20685
dc7e1a77
AA
206862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20687
20688 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20689 function header variants in break1.c.
20690 * gdb.base/ena-dis-br.exp: Likewise.
20691 * gdb.base/hbreak2.exp: Likewise.
20692 * gdb.reverse/until-precsave.exp: Drop references to removed
20693 non-prototype function header variants in ur1.c.
20694 * gdb.reverse/until-reverse.exp: Likewise.
20695
41c77605
PM
206962014-11-17 Petr Machata <pmachata@redhat.com>
20697
20698 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20699 ${_cu_offset_size} bytes abbrev offset.
20700
34248c3a
DE
207012014-11-15 Doug Evans <xdje42@gmail.com>
20702
20703 PR symtab/17559
20704 * gdb.base/line-symtabs.exp: New file.
20705 * gdb.base/line-symtabs.c: New file.
20706 * gdb.base/line-symtabs.h: New file.
20707
646da059
YQ
207082014-11-14 Yao Qi <yao@codesourcery.com>
20709
20710 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20711 (func): Add label func_label.
20712 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20713 Replace low_pc and high_pc with MACRO_AT_range.
20714 Replace name, low_pc and high_pc with MACRO_AT_func.
20715
9301ebe6
YQ
207162014-11-14 Yao Qi <yao@codesourcery.com>
20717
20718 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20719 Replace name, low_pc and high_pc with MACRO_AT_func.
20720
f166b542
YQ
207212014-11-14 Yao Qi <yao@codesourcery.com>
20722
20723 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20724 produce debug information.
20725 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20726
0f6e71e3
YQ
207272014-11-14 Yao Qi <yao@codesourcery.com>
20728
20729 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20730 object and get function length.
20731 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20732 with MACRO_AT_func.
20733 (top-level): Replace gdb_compile and clean_restart with
20734 prepare_for_testing.
20735 * gdb.dwarf2/main.c (main): Add label main_label.
20736
876c4df9
YQ
207372014-11-14 Yao Qi <yao@codesourcery.com>
20738
20739 * lib/dwarf.exp (function_range): New procedure.
20740 (Dwarf::_handle_macro_at_func): New procedure.
20741 (Dwarf::_handle_macro_at_range): New procedure.
20742 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20743
02ad9cf1
YQ
207442014-11-14 Yao Qi <yao@codesourcery.com>
20745
20746 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20747 (_handle_attribute): New procedure.
20748
a59add0c
AA
207492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20750
20751 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20752 * gdb.base/call-sc.c (zed): Likewise.
20753 * gdb.base/checkpoint.c (main): Likewise.
20754 * gdb.base/dump.c (main): Likewise.
20755 * gdb.base/gcore.c (main): Likewise.
20756 * gdb.base/huge.c (main): Likewise.
20757 * gdb.base/multi-forks.c (main): Likewise.
20758 * gdb.base/pr10179-a.c (main): Likewise.
20759 * gdb.base/savedregs.c (main): Likewise.
20760 * gdb.base/sigaltstack.c (main): Likewise.
20761 * gdb.base/siginfo.c (main): Likewise.
20762 * gdb.base/structs.c (zed): Likewise.
20763 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20764 * gdb.mi/mi-syn-frame.c (main): Likewise.
20765 * gdb.mi/until.c (foo, main): Likewise.
20766 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20767 * gdb.base/solib-weak.c (foo): Declare.
20768 * gdb.base/attach-twice.c: Include stdio.h.
20769 * gdb.base/weaklib1.c: Likewise.
20770 * gdb.base/weaklib2.c: Likewise.
20771 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20772 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20773 unistd.h.
20774 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20775 * gdb.mi/mi-exit-code.c: Likewise.
20776 * gdb.base/break-interp-lib.c: Include string.h.
20777 * gdb.base/coremaker.c: Likewise.
20778 * gdb.base/testenv.c: Likewise.
20779 * gdb.python/py-finish-breakpoint.c: Likewise.
20780 * gdb.base/inferior-died.c: Include sys/wait.h.
20781 * gdb.base/fileio.c: Include time.h.
20782 * gdb.base/async-shell.c: Include unistd.h.
20783 * gdb.base/dprintf-non-stop.c: Likewise.
20784 * gdb.base/info-os.c: Likewise.
20785 * gdb.mi/mi-console.c: Likewise.
20786 * gdb.mi/watch-nonstop.c: Likewise.
20787 * gdb.python/py-events.c: Likewise.
20788 * gdb.base/async.c (baz): Move up before its invocation.
20789 * gdb.base/code_elim2.c (my_global_func): Likewise.
20790 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20791 * gdb.base/advance.c (func2): Likewise.
20792
3b5d5997
AA
207932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20794
20795 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20796 variant.
20797 * gdb.base/annota3.c: Likewise.
20798 * gdb.base/async.c: Likewise.
20799 * gdb.base/average.c: Likewise.
20800 * gdb.base/call-ar-st.c: Likewise.
20801 * gdb.base/call-rt-st.c: Likewise.
20802 * gdb.base/call-sc.c: Likewise.
20803 * gdb.base/call-strs.c: Likewise.
20804 * gdb.base/ending-run.c: Likewise.
20805 * gdb.base/execd-prog.c: Likewise.
20806 * gdb.base/exprs.c: Likewise.
20807 * gdb.base/foll-exec.c: Likewise.
20808 * gdb.base/foll-fork.c: Likewise.
20809 * gdb.base/foll-vfork.c: Likewise.
20810 * gdb.base/funcargs.c: Likewise.
20811 * gdb.base/gcore.c: Likewise.
20812 * gdb.base/jump.c: Likewise.
20813 * gdb.base/langs0.c: Likewise.
20814 * gdb.base/langs1.c: Likewise.
20815 * gdb.base/langs2.c: Likewise.
20816 * gdb.base/mips_pro.c: Likewise.
20817 * gdb.base/nodebug.c: Likewise.
20818 * gdb.base/opaque0.c: Likewise.
20819 * gdb.base/opaque1.c: Likewise.
20820 * gdb.base/recurse.c: Likewise.
20821 * gdb.base/run.c: Likewise.
20822 * gdb.base/scope0.c: Likewise.
20823 * gdb.base/scope1.c: Likewise.
20824 * gdb.base/setshow.c: Likewise.
20825 * gdb.base/setvar.c: Likewise.
20826 * gdb.base/shmain.c: Likewise.
20827 * gdb.base/shr1.c: Likewise.
20828 * gdb.base/shr2.c: Likewise.
20829 * gdb.base/sigall.c: Likewise.
20830 * gdb.base/signals.c: Likewise.
20831 * gdb.base/so-indr-cl.c: Likewise.
20832 * gdb.base/solib2.c: Likewise.
20833 * gdb.base/structs.c: Likewise.
20834 * gdb.base/sum.c: Likewise.
20835 * gdb.base/vforked-prog.c: Likewise.
20836 * gdb.base/watchpoint.c: Likewise.
20837 * gdb.reverse/shr2.c: Likewise.
20838 * gdb.reverse/until-reverse.c: Likewise.
20839 * gdb.reverse/ur1.c: Likewise.
20840 * gdb.reverse/watch-reverse.c: Likewise.
20841
066a77c5
AA
208422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20843
20844 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20845 variant.
20846 * gdb.base/sepdebug.exp: Drop references to removed code.
20847
4f204ea5
AA
208482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20849
20850 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20851 variant. Preserve original line numbering.
20852 * gdb.base/list1.c: Likewise.
20853
3b377a3a
AA
208542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20855
20856 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20857 variant.
20858 * gdb.base/break1.c: Likewise.
20859 * gdb.base/break.exp: Drop references to removed code.
20860
e444df73
AA
208612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20862
20863 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20864 variant.
20865
8008f2a7
AA
208662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20867
20868 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20869
a5a06887
AA
208702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20871
20872 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20873 logic into perform_all_tests() and invoke it with and without
20874 function header prototypes.
20875 (do_function_calls): Remove conditional XFAIL for PR 5318.
20876 (rerun_and_prepare): Remove duplicate code.
20877 (perform_all_tests): New. Main logic moved here.
20878
44dba9b9
AA
208792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20880
20881 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20882 code guarded by #ifdef NO_PROTOTYPES.
20883 (t_double_many_args): Likewise.
20884 (DEF_FUNC_MANY_ARGS_1): Likewise.
20885 (DEF_FUNC_VALUES_1): Likewise.
20886 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20887 guarded by #ifdef PROTOTYPES.
20888
d1fbcd56
AA
208892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20890
20891 * gdb.mi/mi-console.c: Add eye-catcher.
20892 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20893 instead of literal line number.
20894
b0e59b8f
AA
208952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20896
20897 * gdb.base/shr2.c: Add eye-catcher.
20898 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20899 line number.
20900
78f98cca
AA
209012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20902
20903 * gdb.base/jump.c: Add eye-catchers.
20904 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20905 numbers.
20906
58fa2af0
AA
209072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20908
20909 * gdb.base/execd-prog.c: Add eye-catchers.
20910 * gdb.base/foll-exec.c: Likewise.
20911 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20912 line numbers.
20913
04e5059b
AA
209142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20915
20916 * gdb.base/ending-run.c: Add eye-catchers.
20917 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20918 literal line numbers.
20919
dbfdb174
AA
209202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20921
20922 * gdb.base/call-rt-st.c: Add eye-catchers.
20923 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20924 literal line numbers.
20925
888a2ade
AA
209262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20927
20928 * gdb.base/call-ar-st.c: Add eye-catchers.
20929 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20930 literal line numbers.
20931
6acc2dde
AA
209322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20933
20934 * gdb.base/average.c: Add eye-catchers.
20935 * gdb.base/sum.c: Likewise.
20936 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20937 regexps dynamically.
20938
9ecfcd1d
AA
209392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20940
20941 * gdb.base/solib1.c: Add eye-catchers.
20942 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20943 literal line numbers.
20944
78708b7c
PA
209452014-11-12 Pedro Alves <palves@redhat.com>
20946
20947 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20948 leader has exited.
20949
af48d08f
PA
209502014-11-12 Pedro Alves <palves@redhat.com>
20951
20952 * gdb.arch/i386-bp_permanent.c: New file.
20953 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20954 (srcfile): Set to i386-bp_permanent.c.
20955 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20956 that stepi does not execute the 'leave' instruction, instead of
20957 testing it does execute.
20958 * gdb.base/bp-permanent.c: New file.
20959 * gdb.base/bp-permanent.exp: New file.
20960
af3768e9
DE
209612014-11-10 Doug Evans <xdje42@gmail.com>
20962
20963 PR symtab/17564
20964 * gdb.base/symtab-search-order.exp: New file.
20965 * gdb.base/symtab-search-order.c: New file.
20966 * gdb.base/symtab-search-order-1.c: New file.
20967 * gdb.base/symtab-search-order-shlib-1.c: New file.
20968
9de00a4a
PA
209692014-11-07 Pedro Alves <palves@redhat.com>
20970
20971 PR gdb/17511
20972 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20973 i?86-*-linux*.
20974
e0f52461
SC
209752014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20976
20977 PR c++/17494
20978 * gdb.cp/pr17494.cc: New file.
20979 * gdb.cp/pr17494.exp: New file.
20980
6ce8c980
YQ
209812014-11-02 Yao Qi <yao@codesourcery.com>
20982
20983 * gdb.python/python.exp: Get working directory and match the
20984 output of "set extended-prompt \\w " with it.
20985
02be9a71
DE
209862014-10-30 Doug Evans <dje@google.com>
20987
20988 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20989 in objfiles.
20990 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20991 in progspaces.
20992
3bdff46b
LM
209932014-10-30 Janis Johnson <janisjo@codesourcery.com>
20994
20995 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20996 * gdb.base/realname-expand.exp: Likewise.
20997 * gdb.linespec/macro-relative.exp: Likewise.
20998
ab917dfb
PA
209992014-10-29 Pedro Alves <palves@redhat.com>
21000
21001 PR gdb/17408
21002 * gdb.threads/schedlock.c (some_function): New function.
21003 (call_function): New global.
21004 (MAYBE_CALL_SOME_FUNCTION): New macro.
21005 (thread_function): Call it.
21006 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21007 and use it instead of a global counter. Adjust all callers.
21008 (get_current_thread): Use "find current thread" for test message
21009 here rather than having all callers pass down the same string.
21010 (goto_loop): New procedure, factored out from ...
21011 (my_continue): ... this.
21012 (step_ten_loops): Change parameter from test message to command to
21013 use. Adjust.
21014 (list_count): Delete global.
21015 (check_result): New procedure, factored out from duplicate top
21016 level code.
21017 (continue tests): Wrap in with_test_prefix.
21018 (test_step): New procedure, factored out from duplicate top level
21019 code.
21020 (top level): Test "step" in combination with all scheduler-locking
21021 modes. Test "next" in combination with all scheduler-locking
21022 modes, and in combination with stepping over a function call or
21023 not.
21024 * gdb.threads/next-bp-other-thread.c: New file.
21025 * gdb.threads/next-bp-other-thread.exp: New file.
21026
d3d4baed
PA
210272014-10-29 Pedro Alves <palves@redhat.com>
21028
21029 PR python/17372
21030 * gdb.python/python.exp: Test a multi-line command that spawns
21031 interactive Python.
21032 * gdb.base/multi-line-starts-subshell.exp: New file.
21033
563e8d85
YQ
210342014-10-29 Yao Qi <yao@codesourcery.com>
21035
21036 * gdb.base/fileio.exp: Make directories on host.
21037
0ea4d52e
YQ
210382014-10-29 Yao Qi <yao@codesourcery.com>
21039
21040 * gdb.base/fileio.c (test_write): Close the file.
21041
7f5ef605
PA
210422014-10-28 Pedro Alves <palves@redhat.com>
21043
21044 PR gdb/12623
21045 * gdb.base/sigstep.c (no_handler): New global.
21046 (main): If 'no_handler is true, set the signal handlers to
21047 SIG_IGN.
21048 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21049 with_sw_watch and no_handler parameters. Handle them.
21050 (top level) <stepping over handler when stopped at a breakpoint
21051 test>: Add a test axis for testing with a software watchpoint, and
21052 another for testing with the signal handler set to SIG_IGN.
21053 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21054 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21055
abbdbd03
PA
210562014-10-28 Pedro Alves <palves@redhat.com>
21057
21058 PR gdb/17511
21059 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21060 * gdb.base/sigstep.exp (other_handler_location): New global.
21061 (advance): Support stepping into the signal handler, and running
21062 commands while in the handler.
21063 (in_handler_map): New global.
21064 (top level): In the advance test, add combinations for getting
21065 into the handler with stepping commands, and for running commands
21066 in the handler. Add comment descripting the advancei tests.
21067
1df4399f
PA
210682014-10-28 Pedro Alves <palves@redhat.com>
21069
21070 * gdb.base/sigstep.exp: Use build_executable instead of
21071 prepare_for_testing.
21072 (top level): Move code that starts GDB, runs to main and creates a
21073 display to ...
21074 (restart): ... this new procedure.
21075 (top level): Move backtrace from signal handler test to ...
21076 (validate_backtrace): ... this new procedure.
21077 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21078 with_test_prefix. Always restart GDB.
21079 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21080 with_test_prefix. Always restart GDB. No need to delete
21081 breakpoints after the test.
21082 (test_skip_handler): Remove prefix parameter.
21083 (skip_over_handler, breakpoint_to_handler)
21084 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21085 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21086 restart GDB. No need to delete breakpoints after the test.
21087 (top level): Use foreach to call the test procedures with
21088 different commands.
21089
a5b6e449
PA
210902014-10-28 Pedro Alves <palves@redhat.com>
21091
21092 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21093 instead of GNATS numbers.
21094 * gdb.base/sigbpt.exp: Likewise.
21095 * gdb.base/siginfo.exp: Likewise.
21096 * gdb.base/sigstep.exp: Likewise.
21097
e5f8a7cc
PA
210982014-10-27 Pedro Alves <palves@redhat.com>
21099
21100 * gdb.base/sigstep.c (dummy): New global.
21101 (main): Issue a couple writes to the new global.
21102 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21103 procedures.
21104 (skip_over_handler): Use test_skip_handler.
21105 (top level): Call skip_over_handler for stepi and nexti too.
21106 (breakpoint_over_handler): Use test_skip_handler.
21107 (top level): Call breakpoint_over_handler for stepi and nexti too.
21108
763905a3
YQ
211092014-10-27 Yao Qi <yao@codesourcery.com>
21110
21111 * gdb.trace/tfile.c (adjust_function_address)
21112 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21113 function descriptor.
21114
6f259a23
DB
211152014-10-24 Don Breazeal <donb@codesourcery.com>
21116
21117 * gdb.base/foll-fork.exp (test_follow_fork,
21118 catch_fork_child_follow): Check for updated fork messages emitted
21119 from infrun.c.
21120 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21121 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21122 vfork_and_exec_child_follow_through_step): Check for updated vfork
21123 messages emitted from infrun.c.
21124
09dd9a69
PA
211252014-10-24 Pedro Alves <palves@redhat.com>
21126
21127 * gdb.base/corefile.exp: Remove references to ultrix.
21128 * gdb.base/interrupt.exp: Likewise.
21129 * gdb.base/whatis.exp: Likewise.
21130 * gdb.gdb/selftest.exp: Likewise.
21131 * gdb.threads/manythreads.exp: Likewise.
21132 * gdb.threads/print-threads.exp: Likewise.
21133 * gdb.threads/pthreads.exp:: Likewise.
21134 * gdb.threads/schedlock.exp: Likewise.
21135
3433cfa5
SC
211362014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21137
21138 * gdb.cp/non-trivial-retval.cc: Add a test case.
21139 * gdb.cp/non-trivial-retval.exp: Add a test.
21140
092f880b
YQ
211412014-10-20 Yao Qi <yao@codesourcery.com>
21142
21143 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21144 * gdb.python/py-objfile-script-gdb.py: New file.
21145 * gdb.python/py-objfile-script.exp: Update reference to
21146 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21147 of remote_download. Remove the dest file.
21148
acbdb7f3
YQ
211492014-10-20 Yao Qi <yao@codesourcery.com>
21150
21151 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21152 * gdb.base/step-line.exp: Likewise.
21153 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21154 * gdb.dwarf2/dw2-basic.exp: Likewise.
21155 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21156 * gdb.dwarf2/dw2-filename.exp: Likewise.
21157 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21158 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21159 * gdb.dwarf2/dw2-producer.exp: Likewise.
21160 * gdb.dwarf2/mac-fileno.exp: Likewise.
21161 * gdb.python/py-frame-args.exp: Likewise.
21162 * gdb.python/py-framefilter.exp: Likewise.
21163 * gdb.python/py-mi.exp: Likewise.
21164 * gdb.python/py-objfile-script.exp: Likewise
21165 * gdb.python/py-pp-integral.exp: Likewise.
21166 * gdb.python/py-pp-re-notag.exp: Likewise.
21167 * gdb.python/py-prettyprint.exp: Likewise.
21168 * gdb.python/py-section-script.exp: Likewise.
21169 * gdb.python/py-typeprint.exp: Likewise.
21170 * gdb.python/py-xmethods.exp: Likewise.
21171 * gdb.stabs/weird.exp: Likewise.
21172 * gdb.xml/tdesc-regs.exp: Likewise.
21173
bd286a29
KCY
211742014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21175
21176 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21177 (out_cu): Use addr_len for the size of addresses.
21178 (out_line): Likewise. Size DW_LNE_set_address instruction
21179 according to addr_len.
21180 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21181 (FUNC): Add START_INSNS to definition.
21182
673dc4a0
YQ
211832014-10-18 Yao Qi <yao@codesourcery.com>
21184
21185 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21186 gdb_has_argv0 return true.
21187 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21188 check [target_info exists noargs], check [gdb_has_argv0]
21189 instead.
21190 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21191 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21192 procedures.
21193
4ffbba72
DE
211942014-10-17 Doug Evans <dje@google.com>
21195
21196 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21197 event.
21198 * gdb.python/py-events.py: Add clear_objfiles event.
21199
d096d8c1
DE
212002014-10-17 Doug Evans <dje@google.com>
21201
21202 * gdb.python/py-objfile.exp: Test progspace attribute.
21203
a80db015
LM
212042014-10-17 Luis Machado <lgustavo@codesourcery.com>
21205
21206 * gdb.guile/scm-breakpoint.exp: Do not assume any
21207 directory separators when matching source file paths.
21208 * gdb.python/py-breakpoint.exp: Likewise.
21209 * gdb.reverse/break-precsave.exp: Likewise.
21210 * gdb.reverse/break-reverse.exp: Likewise.
21211 * gdb.reverse/consecutive-precsave.exp: Likewise.
21212 * gdb.reverse/finish-precsave.exp: Likewise.
21213 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21214 * gdb.reverse/finish-reverse.exp: Likewise.
21215 * gdb.reverse/i386-precsave.exp: Likewise.
21216 * gdb.reverse/i387-env-reverse.exp: Likewise.
21217 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21218 * gdb.reverse/machinestate-precsave.exp: Likewise.
21219 * gdb.reverse/machinestate.exp: Likewise.
21220 * gdb.reverse/sigall-precsave.exp: Likewise.
21221 * gdb.reverse/solib-precsave.exp: Likewise.
21222 * gdb.reverse/step-precsave.exp: Likewise.
21223 * gdb.reverse/until-precsave.exp: Likewise.
21224 * gdb.reverse/watch-precsave.exp: Likewise.
21225 * gdb.reverse/watch-reverse.exp: Likewise.
21226
b22089ab
YQ
212272014-10-17 Yao Qi <yao@codesourcery.com>
21228
21229 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21230 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21231
6c4486e6
PA
212322014-10-17 Pedro Alves <palves@redhat.com>
21233
21234 PR gdb/17471
21235 * gdb.base/bg-execution-repeat.c: New file.
21236 * gdb.base/bg-execution-repeat.exp: New file.
21237
0ff33695
PA
212382014-10-17 Pedro Alves <palves@redhat.com>
21239
21240 PR gdb/17300
21241 * gdb.base/continue-all-already-running.c: New file.
21242 * gdb.base/continue-all-already-running.exp: New file.
21243
6fdebc3d
PA
212442014-10-17 Pedro Alves <palves@redhat.com>
21245
21246 PR gdb/17472
21247 * gdb.base/annota-input-while-running.c: New file.
21248 * gdb.base/annota-input-while-running.exp: New file.
21249
32a8097b
PA
212502014-10-17 Pedro Alves <palves@redhat.com>
21251
21252 * gdb.base/callfuncs.exp: emove references to osf.
21253 * gdb.base/sigall.exp: Likewise.
21254 * gdb.gdb/selftest.exp: Likewise.
21255 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21256 * gdb.mi/non-stop.c: Likewise.
21257 * gdb.mi/pthreads.c: Likewise.
21258 * gdb.reverse/sigall-precsave.exp: Likewise.
21259 * gdb.reverse/sigall-reverse.exp: Likewise.
21260 * gdb.threads/pthreads.c: Likewise.
21261 * gdb.threads/pthreads.exp: Likewise.
21262
7a3517ff
YQ
212632014-10-17 Yao Qi <yao@codesourcery.com>
21264
21265 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21266 check 'target_info exists noargs'.
21267 (test_command_prompt_position): Likewise.
21268 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21269 Remove "set args".
21270 (progvar_simple_while_test): Likewise.
21271 (progvar_complex_if_while_test): Likewise.
21272 (if_while_breakpoint_command_test): Likewise.
21273 (infrun_breakpoint_command_test): Likewise.
21274 (breakpoint_command_test): Likewise.
21275 (watchpoint_command_test): Likewise.
21276 (bp_deleted_in_command_test): Likewise.
21277 (temporary_breakpoint_commands): Likewise.
21278
bb99c472
YQ
212792014-10-16 Yao Qi <yao@codesourcery.com>
21280
21281 * gdb.base/remotetimeout.exp: Remove noargs checking.
21282
7c16b83e
PA
212832014-10-15 Pedro Alves <palves@redhat.com>
21284
21285 PR breakpoints/9649
21286 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21287 * gdb.base/breakpoint-in-ro-region.exp
21288 (probe_target_hardware_step): New procedure.
21289 (top level): Probe hardware stepping and hardware breakpoint
21290 support. Test stepping through a read-only region, with both
21291 "breakpoint auto-hw" on and off and both "always-inserted" on and
21292 off.
21293
35a49624
IB
212942014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21295
21296 * gdb.dlang/demangle.exp: Update for demangling changes.
21297
2d1c107c
SC
212982014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21299
21300 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21301 * gdb.cp/non-trivial-retval.exp: Add new tests.
21302
778811d5
SC
213032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21304
21305 PR c++/13403
21306 PR c++/15154
21307 * gdb.cp/non-trivial-retval.cc: New file.
21308 * gdb.cp/non-trivial-retval.exp: New file.
21309
10c5f0a8
YQ
213102014-10-15 Yao Qi <yao@codesourcery.com>
21311
21312 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21313 remote host.
21314
65d7b369
YQ
213152014-10-15 Yao Qi <yao@codesourcery.com>
21316
21317 * gdb.python/py-symbol.exp: Match file base name if host is
21318 remote, otherwise match file name with dir name.
21319 * gdb.python/py-symtab.exp: Likewise.
21320 * gdb.python/python.exp: Likewise.
21321
46dc1394
YQ
213222014-10-15 Yao Qi <yao@codesourcery.com>
21323
21324 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21325 pattern.
21326 * gdb.python/py-symtab.exp: Likewise.
21327 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21328 locationn.
21329
c40cc657
JB
213302014-10-14 Joel Brobecker <brobecker@adacore.com>
21331
21332 * gdb.ada/addr_arith: New testcase.
21333
2abf49e1
MR
213342014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21335
21336 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21337 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21338 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21339 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21340
f7088df3
SDJ
213412014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21342
21343 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21344 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21345 * gdb.arch/stap-eval-lang-ada.exp: New file.
21346
4dc06805
YQ
213472014-10-14 Yao Qi <yao@codesourcery.com>
21348
21349 * gdb.mi/mi-var-child.c (nothing1): New function.
21350 (nothing2): New function.
21351 (do_children_tests): Set function pointers by nothing1 and
21352 nothing2.
21353 * gdb.mi/mi-var-child.exp: Step over new added statements.
21354 Update test to match the new output.
21355 * gdb.mi/var-cmd.c (nothing1): New function.
21356 (nothing2): New function.
21357 (do_children_tests): Set function pointers by nothing1 and
21358 nothing2.
21359 * gdb.mi/mi-var-display.exp: Update test to match output.
21360 Step to the line specified by $line_dct_nothing.
21361 Increase the number of lines to step.
21362
46a93de2
YQ
213632014-10-14 Yao Qi <yao@codesourcery.com>
21364
21365 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21366 tests.
21367 * gdb.mi/mi2-var-child.exp: Likewise.
21368
14ea52ee
DE
213692014-10-13 Doug Evans <dje@google.com>
21370
21371 * gdb.python/py-objfile.exp: Change name of file name test.
21372
e5c6e92b
DE
213732014-10-13 Doug Evans <dje@google.com>
21374
21375 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21376 from the start of the CU.
21377
c780cc2f
JK
213782014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21379 Yao Qi <yao@codesourcery.com>
21380
21381 Fix "save breakpoints" for "catch" command.
21382 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21383 Remove -nonewline. Match also the added "main" line.
21384
99894e11
JK
213852014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21386
21387 Fix "save breakpoints" for "disable $bpnum" command.
21388 * gdb.base/save-bp.c (main): Add label.
21389 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21390
6e1ac5a3
JK
213912014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21392
21393 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21394
754dd2b0
YQ
213952014-10-11 Yao Qi <yao@codesourcery.com>
21396
21397 * gdb.server/server-kill.exp: Execute command
21398 "set remote trace-status-packet on" before "tstatus".
21399
f90183d7
YQ
214002014-10-11 Yao Qi <yao@codesourcery.com>
21401
21402 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21403 (main): Call getppid.
21404 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21405 and continue to it. Read variable "server_pid".
21406
bf40a607
YQ
214072014-10-11 Yao Qi <yao@codesourcery.com>
21408
21409 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21410
052ca370
YQ
214112014-10-11 Yao Qi <yao@codesourcery.com>
21412
21413 * gdb.threads/thread-find.exp: Don't execute command
21414 "info threads".
21415 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21416 * gdb.threads/linux-dp.exp: Don't check the condition
21417 $threads_created equals to zero.
21418
3831839c
PA
214192014-10-10 Pedro Alves <palves@redhat.com>
21420
21421 * gdb.base/bigcore.exp: Remove references to IRIX.
21422 * gdb.base/funcargs.exp: Likewise.
21423 * gdb.base/interrupt.exp: Likewise.
21424 * gdb.base/mips_pro.exp: Likewise.
21425 * gdb.base/nodebug.exp: Likewise.
21426 * gdb.base/setvar.exp: Likewise.
21427 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21428
8b9a549d
PA
214292014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21430 Pedro Alves <palves@redhat.com>
21431
21432 PR symtab/14466
21433 * gdb.base/vdso-warning.c: New file.
21434 * gdb.base/vdso-warning.exp: New file.
21435
d48ba5e8
DE
214362014-10-02 Doug Evans <dje@google.com>
21437
21438 * gdb.base/structs.c (main): Don't run forever.
21439
2278c276
PA
214402014-10-02 Pedro Alves <palves@redhat.com>
21441
21442 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21443 (top level) <stop threads 1, stop threads 2>: Use it.
21444
b57bacec
PA
214452014-10-02 Pedro Alves <palves@redhat.com>
21446
21447 * gdb.threads/break-while-running.exp (test): Add new
21448 'update_thread_list' argument. Skip "info threads" if false.
21449 (top level): Add new 'update_thread_list' axis.
21450
13fd3ff3
PA
214512014-10-02 Pedro Alves <palves@redhat.com>
21452
21453 PR breakpoints/17431
21454 * gdb.base/execl-update-breakpoints.c: New file.
21455 * gdb.base/execl-update-breakpoints.exp: New file.
21456
0fec99e8
PA
214572014-10-01 Pedro Alves <palves@redhat.com>
21458
21459 * gdb.base/breakpoint-in-ro-region.c: New file.
21460 * gdb.base/breakpoint-in-ro-region.exp: New file.
21461
2ddf4301
SM
214622014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21463
21464 * gdb.mi/mi-exit-code.exp: New file.
21465 * gdb.mi/mi-exit-code.c: New file.
21466
6a5f3f43
YQ
214672014-09-30 Yao Qi <yao@codesourcery.com>
21468
21469 * lib/prelink-support.exp (build_executable_own_libs): Error if
21470 the target isn't native.
21471
345bcc73
YQ
214722014-09-30 Yao Qi <yao@codesourcery.com>
21473
21474 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21475 false.
21476
a25a5a45
PA
214772014-09-22 Pedro Alves <palves@redhat.com>
21478
21479 * gdb.threads/break-while-running.exp: New file.
21480 * gdb.threads/break-while-running.c: New file.
21481
00ba3162
YQ
214822014-09-19 Yao Qi <yao@codesourcery.com>
21483
21484 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21485 Invoke test. Restart GDB with --readnow and invoke test again.
21486
c3b7b696
YQ
214872014-09-19 Yao Qi <yao@codesourcery.com>
21488
21489 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21490 proc set_breakpoint_on_gcd_function. Invoke
21491 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21492 invoke set_breakpoint_on_gcd_function again.
21493
2b4fd423
DE
214942014-09-18 Doug Evans <dje@google.com>
21495
21496 * gdb.dwarf2/symtab-producer.exp: New file.
21497
a5947601
SDJ
214982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21499
21500 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21501 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21502 * gdb.base/global-var-nested-by-dso.c: Likewise.
21503 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21504
91c19059
SDJ
215052014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21506 Pedro Alves <palves@redhat.com>
21507
21508 * gdb.base/watch-bitfields.exp: Pass string other than test file
21509 name to prepare_for_testing.
21510 (watch): New procedure.
21511 (expect_watchpoint): Use with_test_prefix.
21512 (top level): Factor out tests to ...
21513 (test_watch_location, test_regular_watch): ... these new
21514 procedures, and use with_test_prefix and gdb_continue_to_end.
21515
bb9d5f81
PP
215162014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21517
21518 PR breakpoints/12526
21519 * gdb.base/watch-bitfields.exp: New file.
21520 * gdb.base/watch-bitfields.c: New file.
21521
635856f5
PA
215222014-09-16 Pedro Alves <palves@redhat.com>
21523
21524 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21525 software and hardware addresses, not software address against
21526 itself.
21527
7280ceea
PA
215282014-09-16 Pedro Alves <palves@redhat.com>
21529
21530 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21531 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21532
428b16bd
PA
215332014-09-16 Pedro Alves <palves@redhat.com>
21534
21535 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21536 files.
21537 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21538 "*-*-vxworks*" throughout.
21539 * gdb.base/break.exp: Likewise.
21540 * gdb.base/default.exp: Likewise.
21541 * gdb.base/scope.exp: Likewise.
21542 * gdb.base/sepdebug.exp: Likewise.
21543 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21544 throughout.
21545 * gdb.base/run.c: Likewise.
21546 * gdb.base/sepdebug.c: Likewise.
21547 * gdb.hp/gdb.aCC/run.c: Likewise.
21548 * gdb.reverse/until-reverse.c: Likewise.
21549 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21550
666d413c
YQ
215512014-09-16 Yao Qi <yao@codesourcery.com>
21552
21553 * boards/local-remote-host-native.exp: New file.
21554
57cbd724
DE
215552014-09-14 Doug Evans <xdje42@gmail.com>
21556
21557 * gdb.threads/queue-signal.c (thread_count): New variable.
21558 (thread_count_mutex, thread_count_condvar): New variables.
21559 (incr_thread_count, wait_all_threads_running): New functions.
21560 (main): Wait for all threads to be in their thread functions.
21561
81219e53
DE
215622014-09-13 Doug Evans <xdje42@gmail.com>
21563
21564 * gdb.threads/queue-signal.c: New file.
21565 * gdb.threads/queue-signal.exp: New file.
21566
3714cea7
DE
215672014-09-13 Doug Evans <xdje42@gmail.com>
21568
21569 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21570 be consistent with what default_gdb_init uses.
21571 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21572 the plain text of the prompt. Add some logging printfs.
21573 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21574
fa43b1d7
PA
215752014-09-12 Pedro Alves <palves@redhat.com>
21576
21577 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21578 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21579 * gdb.arch/i386-size-overlap.exp: Likewise.
21580 * gdb.arch/i386-size.exp: Likewise.
21581 * gdb.arch/i386-unwind.exp: Likewise.
21582 * gdb.base/a2-run.exp: Likewise.
21583 * gdb.base/break.exp: Likewise.
21584 * gdb.base/charset.exp: Likewise.
21585 * gdb.base/chng-syms.exp: Likewise.
21586 * gdb.base/commands.exp: Likewise.
21587 * gdb.base/dbx.exp: Likewise.
21588 * gdb.base/find.exp: Likewise.
21589 * gdb.base/funcargs.exp: Likewise.
21590 * gdb.base/jit-simple.exp: Likewise.
21591 * gdb.base/reread.exp: Likewise.
21592 * gdb.base/sepdebug.exp: Likewise.
21593 * gdb.base/step-bt.exp: Likewise.
21594 * gdb.cp/mb-inline.exp: Likewise.
21595 * gdb.cp/mb-templates.exp: Likewise.
21596 * gdb.objc/basicclass.exp: Likewise.
21597 * gdb.threads/killed.exp: Likewise.
21598
9d9bf2df
EBM
215992014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21600
21601 PR tdep/17379
21602 * gdb.arch/powerpc-stackless.S: New file.
21603 * gdb.arch/powerpc-stackless.exp: New file.
21604
1cf2f1b0
JK
216052014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21606
21607 * gdb.base/attach.c: Include unistd.h.
21608 (main): Call alarm. Add label postloop.
21609 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21610 gdb_breakpoint, gdb_continue_to_breakpoint.
21611 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21612
98880d46
PA
216132014-09-11 Pedro Alves <palves@redhat.com>
21614
21615 PR gdb/17347
21616 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21617 * gdb.base/attach.exp (test_command_line_attach_run): New
21618 procedure.
21619 (top level): Call it.
21620
4c92ff2c
PA
216212014-09-11 Pedro Alves <palves@redhat.com>
21622
21623 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21624 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21625 (do_command_attach_tests): Use spawn_wait_for_attach.
21626 * gdb.base/solib-overlap.exp: Likewise.
21627 * gdb.multi/multi-attach.exp: Likewise.
21628 * gdb.python/py-prompt.exp: Likewise.
21629 * gdb.python/py-sync-interp.exp: Likewise.
21630 * gdb.server/ext-attach.exp: Likewise.
21631
3adc1a7d
GKB
216322014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21633
21634 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21635 command in testcase. Simplify testcase.
21636
96334934
JB
216372014-09-10 Joel Brobecker <brobecker@adacore.com>
21638
21639 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21640
eb479039
JB
216412014-09-10 Joel Brobecker <brobecker@adacore.com>
21642
21643 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21644
deede10c
JB
216452014-09-10 Joel Brobecker <brobecker@adacore.com>
21646
21647 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21648
7828a5f5
JB
216492014-09-10 Joel Brobecker <brobecker@adacore.com>
21650
21651 * gdb.dwarf2/dynarr-ptr.c: New file.
21652 * gdb.dwarf2/dynarr-ptr.exp: New file.
21653
33aeebcf
MR
216542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21655
21656 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21657 of 30 rather than hardcoding 120 for a slow test case. Take the
21658 `gdb,timeout' target setting into account for this calculation.
21659 Don't extend the timeout for the test cases that don't need it.
21660
7b415901
MR
216612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21662
21663 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21664 a factor of 2 for a slow test case. Take the `gdb,timeout'
21665 target setting into account for this calculation.
21666 * gdb.reverse/until-precsave.exp: Increase the timeout by
21667 a factor of 15 and 3 respectively rather than adding 120
21668 for a pair of slow test cases. Take the `gdb,timeout'
21669 target setting into account for this calculation.
21670
4a40f85a
MR
216712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21672
21673 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21674 timeout, don't pass one down to gdb_expect.
21675 (gdb_expect): Rework timeout selection.
21676
09635af7
MR
216772014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21678
21679 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21680 exception on timeout.
21681 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21682 (gdbserver_start_extended): Catch any `gdbserver_start' error
21683 exceptions.
21684 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21685 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21686 `gdbserver_gdb_load' error exceptions.
21687
2bdd10b7
MR
216882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21689
21690 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21691 120 on waiting for the TCP socket to open.
21692
316935f0
DE
216932014-09-09 Doug Evans <xdje42@gmail.com>
21694
21695 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21696 _caller_matches, _any_caller_is, _any_caller_matches.
21697
83740597
DE
216982014-09-09 Doug Evans <xdje42@gmail.com>
21699
21700 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21701
4c122fc3
YQ
217022014-09-09 Yao Qi <yao@codesourcery.com>
21703
21704 * gdb.mi/mi-var-display.exp: Set print symbol off.
21705
a9f116cb
GKB
217062014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21707
21708 PR gdb/17035
21709 * gdb.base/commands.exp: Add tests to verify user-defined
21710 commands with empty bodies.
21711 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21712 python commands in `show user command`.
21713 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21714 scheme commands in `show user command`.
21715
c75bd3a2
JK
217162014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21717
21718 PR python/17355
21719 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21720 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21721 * gdb.python/py-framefilter-invalidarg.exp: New file.
21722 * gdb.python/py-framefilter-invalidarg.py: New file.
21723
faa42425
DE
217242014-09-06 Doug Evans <xdje42@gmail.com>
21725
21726 PR 15276
21727 * gdb.python/py-caller-is.c: New file.
21728 * gdb.python/py-caller-is.exp: New file.
21729
474ca4f6
SDJ
217302014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21731
21732 PR gdb/17235
21733 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21734 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21735
eb0b0463
SDJ
217362014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21737
21738 PR fortran/17237
21739 * gdb.fortran/print-formatted.exp: New file.
21740 * gdb.fortran/print-formatted.f90: Likewise.
21741
5f3b99cf
SS
217422014-09-03 Sasha Smundak <asmundak@google.com>
21743
21744 * gdb.python/py-frame.exp: Test Frame.read_register.
21745
7d793aa9
SDJ
217462014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21747
21748 PR python/16699
21749 * gdb.python/py-completion.exp: New file.
21750 * gdb.python/py-completion.py: Likewise.
21751
fb0576e9
DE
217522014-08-28 Doug Evans <dje@google.com>
21753
21754 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21755 eax,etc. are live with values set by gdb and thus the compiler can't
21756 use them.
21757 * gdb.arch/i386-pseudo.c (main): Ditto.
21758
ee92b0dd
DE
217592014-08-27 Doug Evans <dje@google.com>
21760
21761 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21762
6649db35
DE
217632014-08-25 Doug Evans <dje@google.com>
21764
21765 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21766 (main): Ditto.
21767
564b7600
DE
217682014-08-25 Doug Evans <dje@google.com>
21769
21770 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21771
3881fb67
YQ
217722014-08-24 Yao Qi <yao@codesourcery.com>
21773
21774 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21775 symbol off.
21776 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21777
a05a36a5
DE
217782014-08-22 Doug Evans <dje@google.com>
21779
21780 PR 17276
21781 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21782 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21783 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21784
7c343b48
YQ
217852014-08-22 Yao Qi <yao@codesourcery.com>
21786
21787 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21788 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21789 * gdb.python/python.exp: Likewise. Use .py file on the host
21790 instead of the build.
21791
22fd09ae
JK
217922014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21793
21794 * gdb.threads/gcore-stale-thread.c: New file.
21795 * gdb.threads/gcore-stale-thread.exp: New file.
21796
a8454a7c
PA
217972014-08-21 Pedro Alves <palves@redhat.com>
21798
21799 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21800 * gdb.base/gcore-relro-pie.exp: Likewise.
21801 * gdb.base/gcore-relro.exp: Likewise.
21802 * gdb.base/gcore.exp: Likewise.
21803 * gdb.base/print-symbol-loading.exp: Likewise.
21804 * gdb.threads/gcore-thread.exp: Likewise.
21805 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21806
2a31c623
PA
218072014-08-20 Pedro Alves <palves@redhat.com>
21808 Jan Kratochvil <jan.kratochvil@redhat.com>
21809
21810 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21811 configure.
21812 (EXPECT): Handle READ1 being set.
21813 (all): Depend on EXTRA_RULES.
21814 (check-read1, expect-read1, read1.so, read1): New rules.
21815 * README (Testsuite Parameters): Document the READ1 make variable.
21816 (Race detection): New section.
21817 * configure: Regenerate.
21818 * configure.ac: If build==host==target, and running under a
21819 GNU/glibc system, add read1 to the extra Makefile rules.
21820 (EXTRA_RULES): AC_SUBST it.
21821 * lib/read1.c: New file.
21822
d36430db
JB
218232014-08-20 Joel Brobecker <brobecker@adacore.com>
21824
21825 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21826 the handling of variables declared as a typedef to an array
21827 which a DW_AT_data_location attribute.
21828
9a0dc9e3
PA
218292014-08-19 Andrew Burgess <aburgess@broadcom.com>
21830 Pedro Alves <palves@redhat.com>
21831
21832 PR symtab/14604
21833 PR symtab/14605
21834 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21835 gdb_test.
21836
0718a8da
PA
218372014-08-19 Pedro Alves <palves@redhat.com>
21838
21839 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21840
13b448cd
YQ
218412014-08-19 Yao Qi <yao@codesourcery.com>
21842
21843 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21844 right line.
21845
1cbf5077
DB
218462014-08-18 David Blaikie <dblaikie@gmail.com>
21847
21848 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21849
bf0fae19
JB
218502014-08-18 Joel Brobecker <brobecker@adacore.com>
21851
21852 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21853 attribute in array range.
21854
3c8c5dcc
JB
218552014-08-18 Joel Brobecker <brobecker@adacore.com>
21856
21857 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21858
e66d4446
SC
218592014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21860
21861 PR c++/17132
21862 * gdb.cp/pr17132.cc: New file.
21863 * gdb.cp/pr17132.exp: New file.
21864
940df408
SC
218652014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21866
21867 * gdb.python/py-xmethods.py (A_getarrayind)
21868 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21869 Use 'print' with function call syntax.
21870 (E_method_matcher.match): Fix tab vs space indentation mixup.
21871
ebcc6c3a
YQ
218722014-08-15 Yao Qi <yao@codesourcery.com>
21873
21874 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21875 false.
21876
775e0f04
YQ
218772014-08-15 Yao Qi <yao@codesourcery.com>
21878
21879 * gdb.cp/casts.exp: Set print symbol off.
21880 * gdb.cp/class2.exp: Likewise.
21881 * gdb.cp/overload.exp: Likewise.
21882 * gdb.cp/templates.exp: Likewise.
21883
d769e349
DE
218842014-08-11 Doug Evans <dje@google.com>
21885
21886 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21887 (test_load_shlib): Update.
21888
20c6f1e1
YQ
218892014-08-09 Yao Qi <yao@codesourcery.com>
21890
21891 * gdb.base/display.exp: Invoke is_address_zero_readable.
21892 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21893 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21894 * gdb.base/hbreak-unmapped.exp: Return if
21895 is_address_zero_readable returns true.
21896 * gdb.base/signest.exp: Likewise.
21897 * gdb.base/signull.exp: Likewise.
21898 * gdb.base/sigbpt.exp: Likewise.
21899 * gdb.guile/scm-disasm.exp: Do the test if
21900 is_address_zero_readable returns false.
21901 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21902 * gdb.python/py-arch.exp: Likewise.
21903 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21904 * lib/gdb.exp (is_address_zero_readable): New proc.
21905
5792e8e3
YQ
219062014-08-09 Yao Qi <yao@codesourcery.com>
21907
21908 PR testsuite/13443
21909 * gdb.mi/mi-var-display.exp: Make test messages unique.
21910
3cecbbbe
TT
219112014-08-04 Tom Tromey <tromey@redhat.com>
21912
21913 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21914 target 0".
21915
00b51ff5
TT
219162014-08-04 Tom Tromey <tromey@redhat.com>
21917
21918 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21919 "target_resume".
21920
6908c509
JB
219212014-08-01 Joel Brobecker <brobecker@adacore.com>
21922
21923 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21924 inner_vla_struct_object_size.
21925 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21926 as xfail.
21927
cc6563d2
PA
219282014-07-30 Pedro Alves <palves@redhat.com>
21929
21930 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21931 comment.
21932
7e09a223
YQ
219332014-07-29 Yao Qi <yao@codesourcery.com>
21934
21935 PR gdb/17206
21936 * gdb.base/until-nodebug.exp: New.
21937
7ebdbe92
DE
219382014-07-28 Doug Evans <xdje42@gmail.com>
21939
21940 PR guile/17203
21941 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21942 previously existing parameter, and previously ambiguously spelled
21943 parameter.
21944
fdb1adc6
WN
219452014-07-28 Will Newton <will.newton@linaro.org>
21946
21947 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21948
186fcde0
DE
219492014-07-26 Ludovic Courtès <ludo@gnu.org>
21950 Doug Evans <xdje42@gmail.com>
21951
21952 PR guile/17146
21953 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21954
70509625
PA
219552014-07-25 Pedro Alves <palves@redhat.com>
21956
21957 * gdb.threads/signal-command-handle-nopass.c: New file.
21958 * gdb.threads/signal-command-handle-nopass.exp: New file.
21959 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21960 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21961 * gdb.threads/signal-delivered-right-thread.c: New file.
21962 * gdb.threads/signal-delivered-right-thread.exp: New file.
21963
c3f814a1
PA
219642014-07-25 Pedro Alves <palves@redhat.com>
21965
21966 * gdb.base/double-prompt-target-event-error.exp
21967 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21968 match.
21969 (cancel_pagination_in_target_event): Rework double prompt
21970 detection.
21971 * gdb.base/paginate-after-ctrl-c-running.exp
21972 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21973 <return>' match.
21974 * gdb.base/paginate-bg-execution.exp
21975 (test_bg_execution_pagination_return)
21976 (test_bg_execution_pagination_cancel): Remove '-notransfer
21977 <return>' matches.
21978 * gdb.base/paginate-execution-startup.exp
21979 (test_fg_execution_pagination_return)
21980 (test_fg_execution_pagination_cancel): Remove '-notransfer
21981 <return>' matches.
21982 * gdb.base/paginate-inferior-exit.exp
21983 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21984 match.
21985 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21986 * lib/gdb.exp (pagination_prompt): Run text through
21987 string_to_regexp.
21988 (gdb_test_multiple): Match $pagination_prompt instead of
21989 "<return>".
21990 (string_to_regexp): Move to lib/gdb-utils.exp.
21991
e214cf6c
JK
219922014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21993
21994 * gdb.arch/amd64-entry-value-paramref.S: New file.
21995 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21996 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21997 * gdb.arch/amd64-optimout-repeat.S: New file.
21998 * gdb.arch/amd64-optimout-repeat.c: New file.
21999 * gdb.arch/amd64-optimout-repeat.exp: New file.
22000
17d0c5c8
JK
220012014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22002
22003 PR gdb/17170
22004 * gdb.base/statistics.exp: New file.
22005
b8b8facf
DE
220062014-07-17 Doug Evans <dje@google.com>
22007
74b49205 22008 PR gdb/17170
b8b8facf
DE
22009 * gdb.base/maint.exp: Update testing of per-command stats.
22010
1b5d0ab3
PA
220112014-07-16 Pedro Alves <palves@redhat.com>
22012
22013 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22014 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22015 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22016 (tfile_write_buf): New functions.
22017 (add_memory_block): Rewrite using the above.
22018 (adjust_function_address): New function.
22019 (FUNCTION_ADDRESS): New macro.
22020 (write_basic_trace_file): Remove short_x local, and use
22021 tfile_write_16. Change type of func_addr local to unsigned long
22022 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22023 here. Cast argument of add_memory_block to char pointer.
22024 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22025 (main): Remove parameters.
22026 * gdb.trace/tfile.exp: Remove nowarnings.
22027
4d974e88
SM
220282014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22029
22030 * gdb.base/debug-expr.exp: Test string evaluation with
22031 "debug expression" on.
22032
41e99568
PA
220332014-07-15 Pedro Alves <palves@redhat.com>
22034
22035 * gdb.base/reread.exp: Use clean_restart.
22036
487d9753
PL
220372014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22038
22039 * gdb.arch/avr-flash-qualifer.c: New.
22040 * gdb.arch/avr-flash-qualifer.exp: New.
22041
cc1c52ad
PA
220422014-07-14 Pedro Alves <palves@redhat.com>
22043
22044 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22045 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22046
1e973570
PA
220472014-07-14 Pedro Alves <palves@redhat.com>
22048
22049 * gdb.base/double-prompt-target-event-error.c: New file.
22050 * gdb.base/double-prompt-target-event-error.exp: New file.
22051
93d6eb10
PA
220522014-07-14 Pedro Alves <palves@redhat.com>
22053
22054 PR gdb/17072
22055 * gdb.base/paginate-inferior-exit.c: New file.
22056 * gdb.base/paginate-inferior-exit.exp: New file.
22057
0017922d
PA
220582014-07-14 Pedro Alves <palves@redhat.com>
22059
22060 PR gdb/17072
22061 * gdb.base/paginate-bg-execution.c: New file.
22062 * gdb.base/paginate-bg-execution.exp: New file.
22063
94696ad3
PA
220642014-07-14 Pedro Alves <palves@redhat.com>
22065
22066 PR gdb/17072
22067 * gdb.base/paginate-execution-startup.c: New file.
22068 * gdb.base/paginate-execution-startup.exp: New file.
22069 * lib/gdb.exp (pagination_prompt): New global.
22070 (default_gdb_spawn): New procedure, factored out from
22071 default_gdb_spawn.
22072 (default_gdb_start): Adjust to call default_gdb_spawn.
22073 (gdb_spawn): New procedure.
22074
bd293940
PA
220752014-07-14 Pedro Alves <palves@redhat.com>
22076
22077 * lib/gdb.exp (gdb_assert): New procedure.
22078 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22079
c933f875
PA
220802014-07-14 Pedro Alves <palves@redhat.com>
22081
22082 * gdb.base/execution-termios.c: New file.
22083 * gdb.base/execution-termios.exp: New file.
22084
d98b7a16
TT
220852014-07-14 Tom Tromey <tromey@redhat.com>
22086
22087 * gdb.cp/vla-cxx.cc: New file.
22088 * gdb.cp/vla-cxx.exp: New file.
22089
548740d6
TT
220902014-07-14 Tom Tromey <tromey@redhat.com>
22091
22092 * gdb.reverse/rerun-prec.c: New file.
22093 * gdb.reverse/rerun-prec.exp: New file.
22094
a25eb028
MR
220952014-07-12 Maciej W. Rozycki <macro@mips.com>
22096 Maciej W. Rozycki <macro@codesourcery.com>
22097
22098 * lib/gdb-utils.exp: New file.
22099 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22100 inline `gdb_init_command' processing.
22101 (gdb_start_cmd): Likewise.
22102 * lib/mi-support.exp (mi_run_cmd): Likewise.
22103 * README: Document `gdb_init_command' and `gdb_init_commands'.
22104
218c2655
JK
221052014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22106
22107 Fix false FAIL running under a very long directory name.
22108 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22109 and "set print elements 10000". Twice.
22110
5401fde3
YQ
221112014-07-11 Yao Qi <yao@codesourcery.com>
22112
22113 * gdb.base/exprs.exp: "set print symbol off".
22114
e76126e8
PA
221152014-07-11 Pedro Alves <palves@redhat.com>
22116
22117 * gdb.threads/kill.c: New file.
22118 * gdb.threads/kill.exp: New file.
22119
2d6f0de6
YQ
221202014-07-10 Yao Qi <yao@codesourcery.com>
22121
22122 * gdb.trace/tfile.c (write_basic_trace_file)
22123 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22124 address written to trace file.
22125
7180e04a
PA
221262014-07-09 Pedro Alves <palves@redhat.com>
22127
22128 * gdb.base/attach-wait-input.exp: New file.
22129 * gdb.base/attach-wait-input.c: New file.
22130
9a9a7608
AB
221312014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22132
22133 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22134 setting up test structures.
22135 (main): Call new test function.
22136 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22137 test function, continue into test function and walk test
22138 structures.
22139
161ac41e
YQ
221402014-07-02 Yao Qi <yao@codesourcery.com>
22141
22142 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22143 'bar_start' at the beginning of functions 'foo' and 'bar'
22144 respectively.
22145 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22146 instead of 'foo' and 'bar'.
22147
1f267ae3
MM
221482014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22149
22150 * gdb.btrace/segv.exp: New.
22151 * gdb.btrace/segv.c: New.
22152
2b239efb
LM
221532014-07-02 Luis Machado <lgustavo@codesourcery.com>
22154
22155 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22156 instruction.
22157
cf363f18
MW
221582014-06-30 Mark Wielaard <mjw@redhat.com>
22159
22160 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22161 vulture, vilify, villar): New volatile array constants.
22162 (vindictive, vegetation): New const volatile array constants.
22163 * gdb.base/volatile.exp: Test volatile and const volatile array
22164 types.
22165
aebf9d24
AA
221662014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22167
22168 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22169 target lacks support for awatch, rwatch, or hbreak.
22170
b67a2c6f
YQ
221712014-06-27 Yao Qi <yao@codesourcery.com>
22172
22173 * gdb.multi/dummy-frame-restore.exp: New.
22174 * gdb.multi/dummy-frame-restore.c: New.
22175
aef92902
MM
221762014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22177
22178 * gdb.btrace/gcore.exp: New.
22179
8e9db26e
PA
221802014-06-23 Pedro Alves <palves@redhat.com>
22181
22182 * gdb.base/watchpoint-reuse-slot.c: New file.
22183 * gdb.base/watchpoint-reuse-slot.exp: New file.
22184
70afc5b7
SC
221852014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22186
22187 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22188 progspace's filename in 'info', 'enable' and 'disable' command
22189 tests.
22190
b972bd9c
JK
221912014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22192
22193 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22194 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22195 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22196
125f8a3d
GB
221972014-06-20 Gary Benson <gbenson@redhat.com>
22198
22199 * gdb.arch/i386-avx.exp: Fix include file location.
22200 * gdb.arch/i386-sse.exp: Likewise.
22201
3ed9baed
IB
222022014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22203
22204 * gdb.dlang/expression.exp: New file.
22205
034f788c
PA
222062014-06-19 Pedro Alves <palves@redhat.com>
22207
22208 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22209 out from ...
22210 (top level): ... here. Iterate running tests under different
22211 scheduler-locking settings.
22212
45371d0c
LM
222132014-06-18 Luis Machado <lgustavo@codesourcery.com>
22214
22215 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22216 to DW_FORM_addr and use non-zero addresses.
22217
5d376983
SC
222182014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22219
22220 PR gdb/17017
22221 * gdb.python/py-xmethods.cc: Add global function call counters and
22222 increment them in their respective functions. Remove "cout"
22223 statements.
22224 * gdb.python/py-xmethods.exp: Make tests check the global function
22225 call counters instead of depending on inferior IO.
22226
a1aa2221
LM
222272014-06-18 Don Breazeal <donb@codesourcery.com>
22228
22229 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22230 Deleted procedure.
22231 (explicit_fork_parent_follow): Deleted procedure.
22232 (explicit_fork_child_follow): Deleted procedure.
22233 (test_follow_fork): New procedure.
22234 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22235 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22236 procedure calls.
22237
0fc05997
YQ
222382014-06-17 Yao Qi <yao@codesourcery.com>
22239
22240 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22241 CP1252.
22242
70795c52
LM
222432014-06-17 Luis Machado <lgustavo@codesourcery.com>
22244
22245 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22246 Initialize ptr and S explicitly.
22247 (skip_type_update_when_not_use_rtti_test): Likewise.
22248
6be47f0c
KS
222492014-06-16 Keith Seitz <keiths@redhat.com>
22250
22251 PR mi/15863
22252 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22253 the inferior is started.
22254
d03de421
PA
222552014-06-16 Pedro Alves <palves@redhat.com>
22256
22257 * gdb.base/break-main-file-remove-fail.c: New file.
22258 * gdb.base/break-main-file-remove-fail.exp: New file.
22259 * gdb.base/break-unload-file.exp: Use build_executable instead of
22260 prepare_for_testing.
22261 (test_break): New parameter "initial_load". Handle it.
22262 (top level): Add initial_load cmdline/file axis.
22263
f9579b99
TT
222642014-06-12 Tom Tromey <tromey@redhat.com>
22265
22266 * gdb.base/completion.exp: Don't use directory name in test.
22267
3657956b
GB
222682014-06-09 Gary Benson <gbenson@redhat.com>
22269
22270 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22271 separate the always-available ANSI-standard signals from the
22272 signals that require checking.
22273 (main): Likewise.
22274 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22275 Likewise.
22276 (main): Likewise.
22277
4186eb54
KS
222782014-06-07 Keith Seitz <keiths@redhat.com>
22279
22280 Revert:
22281 PR c++/16253
22282 * gdb.cp/var-tag.cc: New file.
22283 * gdb.cp/var-tag.exp: New file.
22284 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22285 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22286 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22287 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22288
25326a28 222892014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22290
22291 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22292
829155c9
PA
222932014-06-06 Pedro Alves <palves@redhat.com>
22294
22295 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22296 in target debug output instead of looking at RSP packets,
22297 disabling the test on any target that uses hardware stepping.
22298 Update comments.
22299
61c8d22e
PA
223002014-06-06 Pedro Alves <palves@redhat.com>
22301
22302 * gdb.base/break-unload-file.exp: Fix typo.
22303
d9a47287
YQ
223042014-06-06 Yao Qi <yao@codesourcery.com>
22305
22306 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22307 from "jit_function" to "^jit_function".
22308
e5e01dbf
YQ
223092014-06-06 Yao Qi <yao@codesourcery.com>
22310
22311 * gdb.base/async.c (foo): Add one statement.
22312 * gdb.base/async.exp: Get the next instruction address and
22313 match the output of "nexti" by instruction address. Match
22314 the hex address in the output of "finish".
22315
73ba372c
GB
223162014-06-06 Gary Benson <gbenson@redhat.com>
22317
22318 * gdb.base/call-signals.c: Remove preprocessor conditionals
22319 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22320 SIGSEGV and SIGTERM.
22321 * gdb.base/sigall.c: Likewise.
22322 * gdb.base/unwindonsignal.c: Likewise.
22323 * gdb.reverse/sigall-reverse.c: Likewise.
22324
831517df
YQ
223252014-06-06 Yao Qi <yao@codesourcery.com>
22326
22327 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22328 readable, skip the test.
22329
b8b91e98
YQ
223302014-06-06 Yao Qi <yao@codesourcery.com>
22331
22332 * gdb.threads/staticthreads.c (thread_function): Move the line
22333 setting breakpoint on forward.
22334 * gdb.threads/staticthreads.exp: Update comments.
22335
fb934770
LC
223362014-06-05 Ludovic Courtès <ludo@gnu.org>
22337
22338 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22339 "history-append! type error".
22340
6ef284bd
SM
223412014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22342
22343 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22344 erroneous dprintf expected input.
22345
a872e241
DE
223462014-06-04 Doug Evans <xdje42@gmail.com>
22347
22348 * gdb.guile/scm-generics.exp: Delete.
22349
16f691fb
DE
223502014-06-04 Doug Evans <xdje42@gmail.com>
22351
22352 * gdb.guile/scm-breakpoint.exp: Update.
22353 Add tests for breakpoint registration.
22354
012370f6
TT
223552014-06-04 Tom Tromey <tromey@redhat.com>
22356
22357 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22358 VLA-in-union.
22359 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22360 inner_vla_struct, vla_union types. Initialize objects of those
22361 types and compute their sizes.
22362
9f5a4cef
HZ
223632014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22364 Hui Zhu <hui@codesourcery.com>
22365
22366 * gdb.base/fileio.exp: Add test for shell not available as well as
22367 available.
22368 * gdb.base/fileio.c (test_system): Check for shell twice.
22369
90a45c4d
YQ
223702014-06-04 Yao Qi <yao@codesourcery.com>
22371
22372 * gdb.base/auto-connect-native-target.exp: Remove redundant
22373 space from the regexp pattern.
22374
70017e41
YQ
223752014-06-04 Yao Qi <yao@codesourcery.com>
22376
22377 * gdb.base/default.exp: Replace "child" with "native" in
22378 regexp pattern.
22379
883964a7
SC
223802014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22381
22382 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22383 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22384 * gdb.python/py-xmethods.py: Python script supporting the
22385 new testcase and tests.
22386
ef370185
JB
223872014-06-03 Joel Brobecker <brobecker@adacore.com>
22388 Pedro Alves <palves@redhat.com>
22389
22390 PR breakpoints/17000
22391 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22392 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22393
1e2ccb61
BM
223942014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22395
22396 * gdb.base/subst.exp: Add tests to verify partial path matching
22397 output.
22398
c6ec5ab2
PA
223992014-06-03 Pedro Alves <palves@redhat.com>
22400
22401 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22402 target that doesn't use software single-stepping.
22403
835c559f
PA
224042014-06-03 Pedro Alves <palves@redhat.com>
22405
22406 PR breakpoints/17000
22407 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22408 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22409
06eb1586
DE
224102014-06-02 Doug Evans <xdje42@gmail.com>
22411
22412 * gdb.guile/scm-parameter.exp: New file.
22413
e698b8c4
DE
224142014-06-02 Doug Evans <xdje42@gmail.com>
22415
22416 * gdb.guile/scm-cmd.c: New file.
22417 * gdb.guile/scm-cmd.exp: New file.
22418
ded03782
DE
224192014-06-02 Doug Evans <xdje42@gmail.com>
22420
22421 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22422 pretty-printer lookup.
22423 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22424 (make-pp_s-printer): Call it.
22425 (make-pretty-printer-from-dict): New function.
22426 (lookup-pretty-printer-maker-from-dict): New function.
22427 (*pretty-printer*): Simplify.
22428 (make-objfile-pp_s-printer): New function.
22429 (install-objfile-pretty-printers!): New function.
22430 (make-progspace-pp_s-printer): New function.
22431 (install-progspace-pretty-printers!): New function.
22432 * gdb.guile/scm-progspace.c: New file.
22433 * gdb.guile/scm-progspace.exp: New file.
22434
41fac0cf
PA
224352014-06-02 Pedro Alves <palves@redhat.com>
22436
22437 * gdb.base/dprintf-bp-same-addr.c: New file.
22438 * gdb.base/dprintf-bp-same-addr.exp: New file.
22439
96ae5695
EBM
224402014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22441
22442 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22443 * gdb.arch/powerpc-power.s: Likewise.
22444
da02b3a8
JB
224452014-06-02 Joel Brobecker <brobecker@adacore.com>
22446
22447 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22448
c72b2e7b
YQ
224492014-06-01 Yao Qi <yao@codesourcery.com>
22450
22451 * gdb.base/watchpoint.exp (test_watch_location): Check null
22452 pointer can be dereferenced. If not, do the test, otherwise
22453 skip it.
22454
53e8a631
AB
224552014-05-30 Andrew Burgess <aburgess@broadcom.com>
22456
22457 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22458 results.
22459 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22460
938f0e2f
AB
224612014-05-30 Andrew Burgess <aburgess@broadcom.com>
22462
22463 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22464 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22465 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22466 * gdb.arch/amd64-invalid-stack-top.c: New file.
22467 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22468
9ba6657a
PA
224692014-05-30 Pedro Alves <palves@redhat.com>
22470
22471 PR breakpoints/17000
22472 * gdb.base/sss-bp-on-user-bp.c: New file.
22473 * gdb.base/sss-bp-on-user-bp.exp: New file.
22474
522c09bf
DB
224752014-05-30 David Blaikie <dblaikie@gmail.com>
22476
22477 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22478 gnu_inline semantics via attribute.
22479 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22480 source explicitly specifies the required semantics.
22481
bf4ef81e
MR
224822014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22483
22484 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22485
329ea579
PA
224862014-05-29 Pedro Alves <palves@redhat.com>
22487 Tom Tromey <tromey@redhat.com>
22488
22489 * gdb.base/async-shell.exp: Don't enable target-async.
22490 * gdb.base/async.exp
22491 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22492 parameter. Adjust.
22493 (top level): Don't test with "target-async".
22494 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22495 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22496 * gdb.base/inferior-died.exp: Don't enable target-async.
22497 * gdb.base/interrupt-noterm.exp: Likewise.
22498 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22499 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22500 * gdb.mi/mi-nonstop.exp: Likewise.
22501 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22502 * gdb.mi/mi-nsintrall.exp: Likewise.
22503 * gdb.mi/mi-nsmoribund.exp: Likewise.
22504 * gdb.mi/mi-nsthrexec.exp: Likewise.
22505 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22506 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22507 * gdb.python/py-evsignal.exp: Don't enable target-async.
22508 * gdb.python/py-evthreads.exp: Likewise.
22509 * gdb.python/py-prompt.exp: Likewise.
22510 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22511 * gdb.server/solib-list.exp: Don't enable target-async.
22512 * gdb.threads/thread-specific-bp.exp: Likewise.
22513 * lib/mi-support.exp: Adjust to use mi-async.
22514
fd664c91
PA
225152014-05-29 Pedro Alves <palves@redhat.com>
22516
22517 PR gdb/13860
22518 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22519 reason, even in sync mode.
22520
251bde03
PA
225212014-05-29 Pedro Alves <palves@redhat.com>
22522 Hui Zhu <hui@codesourcery.com>
22523
22524 PR PR15693
22525 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22526 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22527 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22528 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22529
7f3c0343
JB
225302014-05-28 Joel Brobecker <brobecker@adacore.com>
22531
22532 * config/monitor.exp (gdb_target_monitor): Replace use of
22533 "set remotebaud" by "set serial baud".
22534
b2715b27
AW
225352014-05-26 Andy Wingo <wingo@igalia.com>
22536
22537 * gdb.guile/scm-breakpoint.exp:
22538 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22539 properties instead of gdb-object-properties.
22540
498a4489
YQ
225412014-05-26 Yao Qi <yao@codesourcery.com>
22542
22543 * gdb.server/no-thread-db.exp: Specify source file name
22544 explicitly when setting a breakpoint.
22545
589fdceb
MM
225462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22547
22548 * gdb.btrace/vdso.c: New.
22549 * gdb.btrace/vdso.exp: New.
22550
e9089e05
MM
225512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22552
22553 * gdb.base/gcore.exp (capture_command_output): Move ...
22554 * lib/gdb.exp (capture_command_output): ... here.
22555
67b5c0c1
MM
225562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22557
22558 * gdb.btrace/data.exp: Test memory access during btrace replay.
22559
a2199296
SM
225602014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22561
22562 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22563
17b2616c
PA
225642014-05-21 Pedro Alves <palves@redhat.com>
22565
22566 PR gdb/13860
22567 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22568 (top level): Test that output related to execution commands is
22569 sent to the console with CLI commands, but not with MI commands.
22570 Test that breakpoint events are always mirrored to the console.
22571 Also expect the new source line to be output after a "next" in
22572 async mode too. Make it a pass/fail test.
22573 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22574 output.
22575 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22576
5166082f
PA
225772014-05-21 Pedro Alves <palves@redhat.com>
22578
22579 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22580 Use them to test variations of "list" after reaching a breakpoint.
22581 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22582 Test "list" with listsize 10 after reaching a breakpoint.
22583 * gdb.python/python.exp (decode_line current location line
22584 number): Adjust expected line number.
22585
2f25d70f
SM
225862014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22587
22588 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22589 behavior for $args, pass it directly to "run".
22590
ff604a67
MR
225912014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22592
22593 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22594 30000 to 65536.
22595
6a3cb8e8
PA
225962014-05-21 Pedro Alves <palves@redhat.com>
22597
22598 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22599 auto-connect-native-target off".
22600 * gdb.base/auto-connect-native-target.c: New file.
22601 * gdb.base/auto-connect-native-target.exp: New file.
22602
4ebfc96e
PA
226032014-05-21 Pedro Alves <palves@redhat.com>
22604
22605 * gdb.base/default.exp: Test "target native" instead of "target
22606 child".
22607
36d46afb
MW
226082014-05-21 Mark Wielaard <mjw@redhat.com>
22609
22610 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22611
5876f503
JK
226122014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22613
22614 Fix TLS access for -static -pthread.
22615 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22616 <HAVE_TLS> (thread_function, main): Initialize it.
22617 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22618 Add clean_restart.
22619 <$have_tls != "">: Check TLSVAR.
22620
0256a6ac
PA
226212014-05-21 Pedro Alves <palves@redhat.com>
22622
22623 * gdb.base/dcache-line-read-error.c: New.
22624 * gdb.base/dcache-line-read-error.exp: New.
22625
936d2992
PA
226262014-05-20 Pedro Alves <palves@redhat.com>
22627
22628 * gdb.base/compare-sections.c: New file.
22629 * gdb.base/compare-sections.exp: New file.
22630
802e8e6d
PA
226312014-05-20 Pedro Alves <palves@redhat.com>
22632
22633 * gdb.base/break-idempotent.c: New file.
22634 * gdb.base/break-idempotent.exp: New file.
22635
e59fa00f
MM
226362014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22637
22638 * gdb.btrace/nohist.exp: New.
22639
8b696e31
YQ
226402014-05-20 Yao Qi <yao@codesourcery.com>
22641
22642 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22643 gdb.reverse directory and gdb_reverse_timeout exists in board
22644 setting.
22645 * README: Document gdb_reverse_timeout.
22646
73c9764f
YQ
226472014-05-20 Yao Qi <yao@codesourcery.com>
22648
22649 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22650 'test_file_name'. Treat args as a string instead of a list.
22651 (gdb_init): Rename argument 'args' by 'test_file_name'.
22652
f1f4348a
JK
226532014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22654
22655 * gdb.arch/powerpc-power.exp: New file.
22656 * gdb.arch/powerpc-power.s: New file.
22657
0dbe70ce
DE
226582014-05-16 Doug Evans <dje@google.com>
22659
22660 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22661 * gdb.base/completion.exp: Check that all expected files exist
22662 before doing file completion.
0dbe70ce 22663
8d551b02
DE
226642014-05-16 Doug Evans <dje@google.com>
22665
22666 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22667 Update.
22668 (do_syscall_tests_without_xml): Update.
22669
73eb7709
PA
226702014-05-16 Pedro Alves <palves@redhat.com>
22671
22672 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22673 instead of "unknown output after running".
22674
3fae92fc
YQ
226752014-05-16 Yao Qi <yao@codesourcery.com>
22676
22677 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22678 file1.txt from host at the end.
22679 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22680
c2b2ccc5
DE
226812014-05-15 Doug Evans <dje@google.com>
22682
22683 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22684 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22685 loading file. Add test for TU lookup.
22686
8c217a4b
SM
226872014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22688
22689 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22690 calling "-exec-arguments" or "set args" before running the
22691 inferior.
22692
3deb39c6
SM
226932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22694
22695 * lib/mi-support.exp (mi_expect_stop): Expect message for
22696 inferiors that exit with non-zero exit code.
22697
71a79f8c
YQ
226982014-05-14 Yao Qi <yao@codesourcery.com>
22699
22700 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22701 match absolute path on remote host.
22702 (test_file_list_exec_source_files): Remove "/" from the
22703 pattern.
22704
f23fcd46
YQ
227052014-05-14 Yao Qi <yao@codesourcery.com>
22706
22707 * boards/local-remote-host-notty.exp (${board}_file): New
22708 proc.
22709
9404b58f
KM
227102014-05-07 Kyle McMartin <kyle@redhat.com>
22711
22712 Pushed by Joel Brobecker <brobecker@adacore.com>.
22713 * gdb.arch/aarch64-atomic-inst.c: New file.
22714 * gdb.arch/aarch64-atomic-inst.exp: New file.
22715
5e45f04c
YQ
227162014-05-07 Yao Qi <yao@codesourcery.com>
22717
22718 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22719 in current context" too.
22720
c888a17d
KS
227212014-05-05 Keith Seitz <keiths@redhat.com>
22722
22723 * gdb.linespec/ls-dollar.exp: Add test for linespec
22724 file:convenience_variable.
22725
290a839c
YQ
227262014-05-05 Yao Qi <yao@codesourcery.com>
22727
22728 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22729 traceframes into tfile and ctf trace files. Read data from
22730 trace file and test collected data.
22731 (gdb_collect_locals_test): Likewise.
22732 (gdb_unavailable_registers_test): Likewise.
22733 (gdb_unavailable_floats): Likewise.
22734 (gdb_collect_globals_test): Likewise.
22735 (top-level): Append "ctf" to trace_file_targets if GDB
22736 supports.
22737
b5262cd0
YQ
227382014-05-05 Yao Qi <yao@codesourcery.com>
22739
22740 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22741 code to ...
22742 (gdb_collect_args_test_1): ... it. New proc.
22743 (gdb_collect_locals_test): Move some code to ...
22744 (gdb_collect_locals_test_1): ... it. New proc.
22745 (gdb_unavailable_registers_test): Move some code to ...
22746 (gdb_unavailable_registers_test_1): ... it. New proc.
22747 (gdb_unavailable_floats): Move some code to ...
22748 (gdb_unavailable_floats_1): ... it. New proc.
22749
30a1e6cc
SDJ
227502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22751
22752 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22753 probes to test for bitness recognition.
22754 * gdb.arch/amd64-stap-optional-prefix.exp
22755 (test_probe_value_without_reg): New procedure.
22756 Add code to test for different kinds of bitness.
22757
f33da99a
SDJ
227582014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22759
22760 PR breakpoints/16889
22761 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22762 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22763
5b80f00d
PA
227642014-05-01 Pedro Alves <palves@redhat.com>
22765
22766 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22767 gdb_file_cmd if no file is specified.
22768 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22769 last_loaded_file to set the remote exec-file.
22770
f8c2a73c
PA
227712014-05-01 Pedro Alves <palves@redhat.com>
22772
22773 * boards/local-remote-host.exp: New file.
22774
be6e8ac7
PA
227752014-05-01 Pedro Alves <palves@redhat.com>
22776
22777 * boards/local-remote-host.exp: Rename to ...
22778 * boards/local-remote-host-notty.exp: ... this.
22779
cac0dc8f
JB
227802014-04-28 Joel Brobecker <brobecker@adacore.com>
22781
22782 * gdb.ada/dyn_arrayidx: New testcase.
22783
9730e6cc
YQ
227842014-04-26 Yao Qi <yao@codesourcery.com>
22785
22786 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22787 and compute the length of function main. Save it in
22788 $main_length.
22789 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22790 (top-level): Use gdb_compile to compile objects into
22791 executable and restart GDB. Remove invocation to
22792 prepare_for_testing.
22793
7ae1a6a6
PA
227942014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22795 Pedro Alves <palves@redhat.com>
22796
22797 PR server/16255
22798 * gdb.multi/multi-attach.c: New file.
22799 * gdb.multi/multi-attach.exp: New file.
22800
4082afcc
PA
228012014-04-25 Pedro Alves <palves@redhat.com>
22802
22803 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22804 user.
22805 (top level): Test that "set remote conditional-breakpoints-packet
22806 off" works as intended.
22807 * gdb.base/dprintf.exp: Test that "set remote
22808 breakpoint-commands-packet off" works as intended.
22809 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22810 New function.
22811 (top level): Call it.
22812 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22813 remote fast-tracepoints-packet off" works as intended.
22814 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22815 * lib/gdb.exp (gdb_is_target_remote): ... here.
22816
2abc3f8d
DB
228172014-04-24 David Blaikie <dblaikie@gmail.com>
22818
22819 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22820 ensure clang would not discard them.
22821 * gdb.base/gdbvars.c: Ditto.
22822 * gdb.base/memattr.c: Ditto.
22823 * gdb.base/whatis.c: Ditto.
22824 * gdb.python/py-prettyprint.c: Ditto.
22825 * gdb.trace/actions.c: Ditto.
22826 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22827 ensure clang would not discard it.
22828
bfd39632
DB
228292014-04-24 David Blaikie <dblaikie@gmail.com>
22830
22831 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22832 clang to emit the full definition of type required by the test
22833 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22834
22842ff6
DB
228352014-04-24 David Blaikie <dblaikie@gmail.com>
22836
22837 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22838 coax Clang into emitting the definition of the type.
22839 * gdb.cp/pr10728-x.h (y): Ditto.
22840 * gdb.cp/pr10728-y.cc (y): Ditto.
22841
c2e827ad
DB
228422014-04-24 David Blaikie <dblaikie@gmail.com>
22843
22844 * gdb.base/label.exp: XFAIL label related tests under Clang.
22845 * gdb.cp/cplabel.exp: Ditto.
22846 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22847 under Clang those using labels.
22848
4c2d33e7
YQ
228492014-04-25 Yao Qi <yao@codesourcery.com>
22850
22851 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22852 double_label.
22853 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22854 partial_label and double_label.
22855
56083b99
DB
228562014-04-24 David Blaikie <dblaikie@gmail.com>
22857
22858 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22859
25d4e99d
DB
228602014-04-24 David Blaikie <dblaikie@gmail.com>
22861
22862 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22863 of the function to work across GCC and Clang.
22864 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22865 pointer types (const void ** const V void **).
22866
01f9f808
MS
228672014-04-24 Michael Sturm <michael.sturm@mintel.com>
22868 Walfred Tedeschi <walfred.tedeschi@intel.com>
22869
22870 * Makefile.in (EXECUTABLES): Added i386-avx512.
22871 * gdb.arch/i386-avx512.c: New file.
22872 * gdb.arch/i386-avx512.exp: Likewise.
22873
4b48d439
KS
228742014-04-23 Keith Seitz <keiths@redhat.com>
22875
22876 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22877 (mi_make_breakpoint_table): New procedure.
22878 (mi_create_breakpoint): Use mi_make_breakpoint
22879 and return the result.
22880 (mi_make_breakpoint): New procedure.
22881 (mi_build_kv_pairs): New procedure.
22882
22883 * gdb.mi/mi-break.exp: Remove unused globals,
22884 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22885 All callers updated.
22886 * gdb.mi/mi-dprintf.exp: Use variable to track command
22887 number.
22888 Update all callers of mi_create_breakpoint and use
22889 mi_make_breakpoint_table.
22890 Remove any unused global variables.
22891 * gdb.mi/mi-nonstop.exp: Likewise.
22892 * gdb.mi/mi-nsintrall.exp: Likewise.
22893 * gdb.mi/mi-nsmoribund.exp: Likewise.
22894 * gdb.mi/mi-nsthrexec.exp: Likewise.
22895 * gdb.mi/mi-reverse.exp: Likewise.
22896 * gdb.mi/mi-simplerun.exp: Likewise.
22897 * gdb.mi/mi-stepn.exp: Likewise.
22898 * gdb.mi/mi-syn-frame.exp: Likewise.
22899 * gdb.mi/mi-until.exp: Likewise.
22900 * gdb.mi/mi-var-cp.exp: Likewise.
22901 * gdb.mi/mi-var-display.exp: Likewise.
22902 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22903 * gdb.mi/mi2-var-child.exp: Likewise.
22904 * gdb.mi/mi-vla-c99.exp: Likewise.
22905 * lib/mi-support.exp: Likewise.
22906
22907 From Ian Lance Taylor <iant@cygnus.com>:
22908 * lib/gdb.exp (parse_args): New procedure.
22909
08351840
PA
229102014-04-23 Pedro Alves <palves@redhat.com>
22911
22912 * gdb.base/break-unload-file.c: New file.
22913 * gdb.base/break-unload-file.exp: New file.
22914 * gdb.base/sym-file-lib.c (baz): New function.
22915 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22916 field.
22917 (load): Store the segment's mapped size.
22918 (unload): New function.
22919 (unload_shlib): New function.
22920 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22921 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22922 set a breakpoint at baz, and call it.
22923 * gdb.base/sym-file.exp: New tests for stale breakpoint
22924 instructions.
22925
076855f9
PA
229262014-04-23 Pedro Alves <palves@redhat.com>
22927
22928 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22929 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22930 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22931 * gdb.base/hbreak-unmapped.c: New file.
22932 * gdb.base/hbreak-unmapped.exp: New file.
22933 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22934 * lib/gdb.exp (gdb_is_target_remote): ... here.
22935
483805cf
PA
229362014-04-22 Pedro Alves <palves@redhat.com>
22937
22938 * gdb.base/consecutive-step-over.c: New file.
22939 * gdb.base/consecutive-step-over.exp: New file.
22940
06d97543
PA
229412014-04-22 Pedro Alves <palves@redhat.com>
22942
22943 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22944 instead of send_gdb/gdb_expect.
22945
b4429ea2
YQ
229462014-04-22 Yao Qi <yao@codesourcery.com>
22947
22948 * lib/trace-support.exp (generate_tracefile): New procedure.
22949 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22950 return 0.
22951 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22952 if generate_tracefile returns 1.
22953
51d48146
PA
229542014-04-18 Tom Tromey <palves@redhat.com>
22955 Pedro alves <tromey@redhat.com>
22956
22957 PR backtrace/15558
22958 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22959 with a backtrace limit.
22960 * gdb.python/py-frame-inline.exp: Test running to an inline
22961 function with a backtrace limit, and printing the newest frame.
22962 * gdb.python/py-frame-inline.c (main): Call f.
22963
bd1dce5f
MS
229642014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22965
22966 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22967
40d1a503
MS
229682014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22969
22970 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22971 Drop prefix from unsupported source file path.
22972
389b98f7
YQ
229732014-04-17 Yao Qi <yao@codesourcery.com>
22974
22975 * lib/gdb.exp (with_target_charset): New proc.
22976 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22977 with_target_charset.
22978 (test_print_strings): Likewise.
22979 (test_repeat_bytes): Likewise.
22980 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22981 for some tests.
22982
22869d73
KS
229832014-04-16 Keith Seitz <keiths@redhat.com>
22984
22985 PR gdb/15827
22986 * gdb.dwarf2/corrupt.c: New file.
22987 * gdb.dwarf2/corrupt.exp: New file.
22988
c4f87ca6
KS
229892014-04-16 Keith Seitz <keiths@redhat.com>
22990
22991 PR c++/16597
22992 * gdb.cp/namelessclass.cc: New file.
22993 * gdb.cp/namelessclass.exp: New file.
22994 * gdb.cp/namelessclass.S: New file.
22995
ab19de87
DE
229962014-04-16 Doug Evans <dje@google.com>
22997
22998 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22999 Add comment.
23000 (gdbserver_default_get_comm_port): New function.
23001 (gdbserver_start): Check if board file provided
23002 "gdbserver,get_comm_port" and use it if so.
23003 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23004 (gdb,socketport): Set to "stdio".
23005 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23006 (stdio_gdbserver_template): Delete.
23007 (${board}_get_remote_address): Update.
23008 (${board}_build_remote_cmd): Delete.
23009 (${board}_get_comm_port): New function.
23010 (${board}_spawn): Update.
23011 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23012 Delete.
23013 (${board}_get_remote_address): Update.
23014 (${board}_get_comm_port): New function.
23015
fc98a809
AB
230162014-04-16 Andrew Burgess <aburgess@broadcom.com>
23017
23018 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23019 appearing in any order.
23020
87fd9e6e
DE
230212014-04-15 Doug Evans <dje@google.com>
23022
23023 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23024 uninitialized value of "description".
23025
099fc3ea
KS
230262014-04-15 Keith Seitz <keiths@redhat.com>
23027
23028 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23029 Remove unused globals.
23030 (test_running_the_program): Likewise.
23031 (test_controlled_execution): Likewise.
23032 (test_controlling_breakpoints): Likewise.
23033 (test_program_termination): Likewise.
23034
5da151d4
KS
230352014-04-15 Keith Seitz <keiths@redhat.com>
23036
23037 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23038 unused globals.
23039 (test_rbreak_creation_and_listing): Likewise.
23040 (test_ignore_count): Likewise.
23041 (test_error): Likewise.
23042
35e5d2f0
PA
230432014-04-15 Pedro Alves <palves@redhat.com>
23044
23045 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23046 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23047 sym-file-loader.c.
23048 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23049 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23050 to sym-file-loader.c.
23051 (struct library): Forward declare.
23052 (load_shlib, lookup_function): Change prototypes.
23053 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23054 (translate_offset): Remove declarations.
23055 (get_text_addr): New declaration.
23056 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23057 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23058 sym-file-loader.h.
23059 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23060 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23061 here from sym-file-loader.h.
23062 (struct library): New structure.
23063 (load_shlib, lookup_function): Change prototypes and adjust to
23064 work with a struct library.
23065 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23066 (translate_offset): Make static.
23067 (get_text_addr): New function.
23068 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23069
eb4c1710
PA
230702014-04-15 Pedro Alves <palves@redhat.com>
23071
23072 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23073
2d1baf52
PA
230742014-04-15 Pedro Alves <palves@redhat.com>
23075
23076 * gdb.base/sym-file-loader.c: Include <limits.h>.
23077 (SELF_LINK): New define.
23078 (get_origin): New function.
23079 (load_shlib): Use it.
23080 * gdb.base/sym-file.exp: Don't early return if the target is
23081 remote. Use runto_main, and issue fail is that fails. Use
23082 gdb_load_shlibs.
23083 (shlib_name): Delete.
23084 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23085
7dd6df01
PA
230862014-04-15 Pedro Alves <palves@redhat.com>
23087
23088 * gdb.base/sym-file.exp: Remove regex characters from test
23089 message. Don't refer to breakpoint numbers in test messages.
23090
b50c8614
KS
230912014-04-14 Keith Seitz <keiths@redhat.com>
23092
23093 PR c++/16253
23094 * gdb.cp/var-tag.cc: New file.
23095 * gdb.cp/var-tag.exp: New file.
23096 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23097 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23098 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23099 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23100
3d567982
TT
231012014-04-14 Tom Tromey <tromey@redhat.com>
23102
23103 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23104 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23105 type.
23106 * gdb.cp/enum-class.exp: New file.
23107 * gdb.cp/enum-class.cc: New file.
23108
0626fc76
TT
231092014-04-14 Tom Tromey <tromey@redhat.com>
23110
23111 * gdb.dwarf2/enum-type.exp: New file.
23112
dca325b3
SA
231132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23114
23115 * gdb.mi/mi-vla-c99.exp: New file.
23116 * gdb.mi/vla.c: New file.
23117
5854b38a
SA
231182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23119
23120 * gdb.base/vla-datatypes.c: New file.
23121 * gdb.base/vla-datatypes.exp: New file.
23122
463bb957
SA
231232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23124
23125 * gdb.base/vla-ptr.c: New file.
23126 * gdb.base/vla-ptr.exp: New file.
23127
3dd170be
SA
231282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23129
23130 * gdb.dwarf2/count.exp: New file.
23131
5ecaaa66
SA
231322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23133
23134 * gdb.base/vla-sideeffect.c: New file.
23135 * gdb.base/vla-sideeffect.exp: New file.
23136
41f1ada5
DB
231372014-04-14 David Blaikie <dblaikie@gmail.com>
23138
23139 * gdb.mi/non-stop.c: Add return value for non-void function return
23140 statement.
23141 * gdb.threads/staticthreads.c: Ditto.
23142
0be03e84
DE
231432014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23144 Doug Evans <xdje42@gmail.com>
23145
23146 * gdb.guile/scm-value.c: Improve test case.
23147 * gdb.guile/scm-value.exp: Add new test.
23148
f180a1fb
DB
231492014-04-11 David Blaikie <dblaikie@gmail.com>
23150
23151 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23152 override Clang's default.
23153
6b662e19
JB
231542014-04-11 Joel Brobecker <brobecker@adacore.com>
23155
23156 Revert the following changes (regressions):
23157
23158 * gdb.base/vla-sideeffect.c: New file.
23159 * gdb.base/vla-sideeffect.exp: New file.
23160
23161 * gdb.dwarf2/count.exp: New file.
23162
23163 * gdb.base/vla-multi.c: New file.
23164 * gdb.base/vla-multi.exp: New file.
23165
23166 * gdb.base/vla-ptr.c: New file.
23167 * gdb.base/vla-ptr.exp: New file.
23168
23169 * gdb.base/vla-datatypes.c: New file.
23170 * gdb.base/vla-datatypes.exp: New file.
23171
23172 * gdb.mi/mi-vla-c99.exp: New file.
23173 * gdb.mi/vla.c: New file.
23174
245a5f0b
KS
231752014-04-11 Keith Seitz <keiths@redhat.com>
23176
23177 PR c++/16675
23178 * gdb.cp/cpsizeof.exp: New file.
23179 * gdb.cp/cpsizeof.cc: New file.
23180
58a84dcf
SA
231812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23182
191a8a90
JB
23183 * gdb.mi/mi-vla-c99.exp: New file.
23184 * gdb.mi/vla.c: New file.
58a84dcf 23185
c8655f75
SA
231862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23187
23188 * gdb.base/vla-datatypes.c: New file.
23189 * gdb.base/vla-datatypes.exp: New file.
23190
024e13b4
SA
231912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23192
23193 * gdb.base/vla-ptr.c: New file.
23194 * gdb.base/vla-ptr.exp: New file.
23195
1a237e0e
SA
231962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23197
23198 * gdb.base/vla-multi.c: New file.
23199 * gdb.base/vla-multi.exp: New file.
23200
504f3432
SA
232012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23202
23203 * gdb.dwarf2/count.exp: New file.
23204
3bce8237
SA
232052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23206
191a8a90
JB
23207 * gdb.base/vla-sideeffect.c: New file.
23208 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23209
322f9c21
YQ
232102014-04-11 Yao Qi <yao@codesourcery.com>
23211
23212 * gdb.base/completion.exp: Check file exists before running tests
23213 on file completion.
23214
d708bcd1
PA
232152014-04-10 Pedro Alves <palves@redhat.com>
23216
23217 * gdb.base/cond-eval-mode.c: New file.
23218 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23219 prepare_for_testing to build the new file. Check result of
23220 runto_main.
23221 (test_break, test_watch): New procedures.
23222 (top level): Use them.
23223
ae1d2761
PM
232242014-04-08 Pierre Muller <muller@sourceware.org>
23225
23226 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23227 Ctrl-V use for mingw hosts.
23228
7af389b8
SC
232292014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23230
23231 * gdb.python/py-value.c: Improve test case.
23232 * gdb.python/py-value.exp: Add new test.
23233
5e703181
DE
232342014-04-07 David Blaikie <dblaikie@gmail.com>
23235
23236 * lib/compiler.c: Identify the clang compiler.
23237 * lib/compiler.cc: Ditto.
23238
9810b410
YQ
232392014-04-03 Yao Qi <yao@codesourcery.com>
23240
23241 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23242
98d1b8dc
AB
232432014-04-01 Anton Blanchard <anton@samba.org>
23244
23245 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23246 messages unique.
23247
3114cea1
AB
232482014-04-01 Anton Blanchard <anton@samba.org>
23249
23250 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23251 prepare_for_testing.
23252
62f7182c
AB
232532014-04-01 Anton Blanchard <anton@samba.org>
23254
23255 * gdb.arch/ppc64-atomic-inst.c: Remove.
23256 * gdb.arch/ppc64-atomic-inst.S: New file.
23257 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23258
770e7fc7
DE
232592014-03-31 Doug Evans <dje@google.com>
23260
23261 * gdb.base/print-symbol-loading-lib.c: New file.
23262 * gdb.base/print-symbol-loading-main.c: New file.
23263 * gdb.base/print-symbol-loading.exp: New file.
23264
46e2bafa
YQ
232652014-03-31 Yao Qi <yao@codesourcery.com>
23266
23267 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23268
8776cfe9
JB
232692014-03-28 Joel Brobecker <brobecker@adacore.com>
23270
23271 * gdb.ada/mi_dyn_arr: New testcase.
23272
5d1ef361
DE
232732014-03-27 Doug Evans <dje@google.com>
23274
23275 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23276
b5bee914
YQ
232772014-03-27 Yao Qi <yao@codesourcery.com>
23278
23279 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23280 if target is nios2-*-*.
23281
0d4d0e77
YQ
232822014-03-26 Yao Qi <yao@codesourcery.com>
23283
23284 * lib/gdb.exp (readline_is_used): New proc.
23285 * gdb.base/completion.exp: Move tests on command complete up.
23286 Skip the rest of tests if readline is not used.
23287 * gdb.ada/complete.exp: Skp the test if readline is not
23288 used.
23289 * gdb.base/filesym.exp: Likewise.
23290 * gdb.base/macscp.exp: Likewise.
23291 * gdb.base/readline-ask.exp: Likewise.
23292 * gdb.base/readline.exp: Likewise.
23293 * gdb.python/py-cmd.exp: Likewise.
23294 * gdb.trace/tfile.exp: Likewise.
23295
29361eee
YQ
232962014-03-26 Yao Qi <yao@codesourcery.com>
23297
23298 * gdb.base/macscp.exp: Fix code format issues.
23299
bc9a5525
UW
233002014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23301
23302 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23303 * gdb.asm/powerpc64le.inc: New file.
23304
d3839ede
PA
233052014-03-25 Pedro Alves <palves@redhat.com>
23306 Doug Evans <dje@google.com>
23307
23308 * gdb.base/source-execution.c: New file.
23309 * gdb.base/source-execution.exp: New file.
23310 * gdb.base/source-execution.gdb: New file.
23311
01672a57
DE
233122014-03-24 Doug Evans <dje@google.com>
23313
23314 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23315 using fission.
23316
88bbeca9
HZ
233172014-03-24 Hui Zhu <hui@codesourcery.com>
23318 Pedro Alves <palves@redhat.com>
23319
23320 PR breakpoints/16101
23321 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23322 test pass/fail messages. Detect missing support for dprintf when
23323 breakpoints are actually inserted.
23324 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23325 breakpoints are actually inserted.
23326 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23327 fails.
23328
d2348791
JK
233292014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23330
23331 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23332
feef67ab
DE
233332014-03-22 Doug Evans <xdje42@gmail.com>
23334
23335 * gdb.python/python.exp (python not supported): Verify multi-line
23336 python command issues an error.
25d743f9 23337 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23338 guile command issues an error.
feef67ab 23339
ecebef6a
MR
233402014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23341
23342 * gdb.threads/thread-specific.exp: Handle the lack of usable
23343 $this_breakpoint and $this_thread.
23344
ccdd1909
HZ
233452014-03-21 Hui Zhu <hui@codesourcery.com>
23346
23347 * gdb.base/attach.exp (do_command_attach_tests): New.
23348
beb460e8
PA
233492014-03-20 Tom Tromey <tromey@redhat.com>
23350 Pedro Alves <palves@redhat.com>
23351
23352 PR cli/15718
23353 * gdb.base/condbreak-call-false.c: New file.
23354 * gdb.base/condbreak-call-false.exp: New file.
23355
40acf43a
PA
233562014-03-20 Pedro Alves <palves@redhat.com>
23357
23358 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23359 Delete.
23360 (block_signals, unblock_signals): Delete.
23361 (child_function_2, main): Remove references to deleted variable
23362 and functions.
23363
9f5e1e02
PA
233642014-03-20 Pedro Alves <palves@redhat.com>
23365
23366 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23367 Use pthread_kill to signal thread 2.
23368 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23369 Adjust to make the test send itself a signal rather than using the
23370 host's "kill" command.
23371
99619bea
PA
233722014-03-20 Pedro Alves <palves@redhat.com>
23373
23374 * gdb.threads/multiple-step-overs.c: New file.
23375 * gdb.threads/multiple-step-overs.exp: New file.
23376 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23377 Adjust expected infrun debug output.
23378
2adfaa28
PA
233792014-03-20 Pedro Alves <palves@redhat.com>
23380
23381 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23382 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23383
31e77af2
PA
233842014-03-20 Pedro Alves <palves@redhat.com>
23385
23386 PR breakpoints/7143
23387 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23388 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23389 of gdb_test_multiple.
23390 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23391 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23392
b9f437de
PA
233932014-03-20 Pedro Alves <palves@redhat.com>
23394
23395 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23396 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23397
05adc73e
PA
233982014-03-19 Pedro Alves <palves@redhat.com>
23399
23400 * gdb.base/async.exp: Remove early return.
23401
6048b950
PA
234022014-03-19 Pedro Alves <palves@redhat.com>
23403
23404 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23405
8bcfb00a
PA
234062014-03-19 Pedro Alves <palves@redhat.com>
23407
23408 * gdb.base/async.exp (test_background): Expect \r\n after
23409 "completed." in the fail pattern.
23410
884e37dc
PA
234112014-03-19 Pedro Alves <palves@redhat.com>
23412
23413 * gdb.base/async.exp (test_background): New procedure.
23414 Use it for all background execution command tests.
23415
148e57e2
PA
234162014-03-19 Pedro Alves <palves@redhat.com>
23417
23418 * gdb.base/async.exp: Use prepare_for_testing.
23419
f48088c7
PA
234202014-03-19 Pedro Alves <palves@redhat.com>
23421
23422 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23423 the same line.
23424
e2f6c966
PA
234252014-03-19 Pedro Alves <palves@redhat.com>
23426
23427 * gdb.base/async.c (main): Add "jump here" and "until here" line
23428 marker comments.
23429 * gdb.base/async.exp (jump_here): New global.
23430 (jump& test): Use it.
23431 (until_here): New global.
23432 (until& test): Use it.
23433
c30568d4
PA
234342014-03-19 Pedro Alves <palves@redhat.com>
23435
23436 * gdb.base/async.exp: Don't frob gdb_protocol.
23437
0172b6a7
DE
234382014-03-18 Doug Evans <xdje42@gmail.com>
23439
23440 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23441 Fix spelling of exec-done-display.
23442
06c868a8
JK
234432014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23444
23445 PR gdb/15358
23446 * gdb.base/gdb-sigterm.c: New file.
23447 * gdb.base/gdb-sigterm.exp: New file.
23448
0c7e1a46
PA
234492014-03-18 Pedro Alves <palves@redhat.com>
23450
23451 PR gdb/13860
23452 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23453 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23454 solib-event.
23455
f7c77d93
JB
234562014-03-17 Joel Brobecker <brobecker@adacore.com>
23457
23458 * gdb.ada/pckd_arr_ren: New testcase.
23459
5a1e8c7a
DE
234602014-03-13 Doug Evans <xdje42@gmail.com>
23461
23462 PR guile/16612
23463 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23464 collect after discarding symbols.
23465
350e1a76
DE
234662014-03-13 Ludovic Courtès <ludo@gnu.org>
23467 Doug Evans <xdje42@gmail.com>
23468
23469 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23470 to history survives a gc.
23471
a69900ae
PA
234722014-03-13 Pedro Alves <palves@redhat.com>
23473
23474 * gdb.base/default.exp: Don't test "target procfs".
23475
5db9f0bd
PA
234762014-03-13 Pedro Alves <palves@redhat.com>
23477
23478 * gdb.base/default.exp: Update "target child" and "target procfs"
23479 tests to not expect "Unix".
23480
b3ccfe11
TT
234812014-03-12 Tom Tromey <tromey@redhat.com>
23482
23483 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23484 New procs. Add target-async tests.
23485 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23486 Add target-async tests.
23487
646f4417
AA
234882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23489
23490 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23491 'func_start' and 'func_end' for the beginning and end of the
23492 function code, respectively.
23493 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23494 'func_end' instead of 'func' and 'main'.
23495
288c211f
AA
234962014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23497
23498 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23499 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23500 generate the debug info assembler source.
23501
e0c0f156
AA
235022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23503
23504 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23505 * gdb.dwarf2/arr-subrange.exp: Likewise.
23506 * gdb.dwarf2/dwz.exp: Likewise.
23507 * gdb.dwarf2/method-ptr.exp: Likewise.
23508 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23509 * gdb.dwarf2/subrange.exp: Likewise.
23510 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23511 * gdb.dwarf2/implptrpiece.exp: Likewise.
23512 * gdb.dwarf2/nostaticblock.exp: Likewise.
23513
0e5c4555
AA
235142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23515
23516 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23517 directory to absolute path name arguments.
23518
5ec18f2b
JG
235192014-03-10 Joel Brobecker <brobecker@adacore.com>
23520
23521 * gdb.ada/tagged_access: New testcase.
23522
847fc4f2
MM
235232014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23524
23525 * gdb.btrace/data.exp: Update expected output.
23526
cc3da688
YQ
235272014-03-06 Yao Qi <yao@codesourcery.com>
23528
23529 * gdb.trace/pr16508.exp: New file.
23530
0f26cec1
PA
235312014-03-05 Pedro Alves <palves@redhat.com>
23532
23533 PR gdb/16575
23534 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23535 procedure.
23536 (top level): Adjust to use it. Add tests that exercise breakpoint
23537 interaction with the code-cache.
23538
7a5a839f
LC
235392014-02-26 Ludovic Courtès <ludo@gnu.org>
23540
23541 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23542 test for 'history-append!'.
23543
31aa7e4e
JB
235442014-02-26 Joel Brobecker <brobecker@adacore.com>
23545
23546 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23547 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23548 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23549 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23550 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23551 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23552
1b588015
JB
235532014-02-26 Joel Brobecker <brobecker@adacore.com>
23554
23555 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23556 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23557 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23558
55426c9d
JB
235592014-02-26 Joel Brobecker <brobecker@adacore.com>
23560
23561 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23562
dc53a7ad
JB
235632014-02-26 Joel Brobecker <brobecker@adacore.com>
23564
23565 * gdb.dwarf2/arr-stride.c: New file.
23566 * gdb.dwarf2/arr-stride.exp: New file.
23567
12ab52e9
PA
235682014-02-26 Pedro Alves <palves@redhat.com>
23569
23570 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23571 that won't ever trigger. Make sure that GDB reports the correct
23572 breakpoint that caused the stop.
23573
849c862e
JK
235742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23575
23576 PR gdb/16626
23577 * gdb.base/auto-load-script: New file.
23578 * gdb.base/auto-load.c: New file.
23579 * gdb.base/auto-load.exp: New file.
23580
71b7d793
JK
23581 PR gdb/16626
23582 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23583
e2f0d509
JK
235842014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23585
23586 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23587 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23588
50cc37c8
DE
235892014-02-24 Doug Evans <dje@google.com>
23590
23591 * lib/gdb.exp (run_on_host): Log error output if program fails.
23592
ea4758f2
PA
235932014-02-21 Pedro Alves <palves@redhat.com>
23594
23595 * gdb.threads/step-after-sr-lock.c: Rename to ...
23596 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23597 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23599 ... this.
23600
d7b30f67
SDJ
236012014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23602
23603 PR tdep/16397
23604 * gdb.arch/amd64-stap-special-operands.exp: New file.
23605 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23606 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23607 * gdb.arch/amd64-stap-triplet.S: Likewise.
23608 * gdb.arch/amd64-stap-triplet.c: Likewise.
23609
83deb43f
JB
236102014-02-20 Joel Brobecker <brobecker@adacore.com>
23611
23612 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23613 in .section pseudo-op.
23614
adde2bff
DE
236152014-02-20 lin zuojian <manjian2006@gmail.com>
23616 Joel Brobecker <brobecker@adacore.com>
23617 Doug Evans <xdje42@gmail.com>
23618
23619 PR symtab/16581
23620 * gdb.dwarf2/dw2-icycle.S: New file.
23621 * gdb.dwarf2/dw2-icycle.c: New file.
23622 * gdb.dwarf2/dw2-icycle.exp: New file.
23623
f7bd0f78
SC
236242014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23625
23626 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23627 operations on gdb.Value objects.
23628 * gdb.python/py-value-cc.exp: Add new test to test operations on
23629 gdb.Value objects.
23630
c17ef0d5
DE
236312014-02-18 Doug Evans <dje@google.com>
23632
23633 * Makefile.in (TESTS): New variable.
23634 (expanded_tests, expanded_tests_or_none): New variables
23635 (check-single): Pass $(expanded_tests_or_none) to runtest.
23636 (check-parallel): Only run tests in $(TESTS) if non-empty.
23637 (check/no-matching-tests-found): New rule.
23638 * README: Document TESTS makefile variable.
23639
5dd3176f
DE
236402014-02-18 Doug Evans <dje@google.com>
23641
23642 * Makefile.in (check-parallel): rm -rf outputs temp.
23643
0b10be4f
JK
236442014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23645
23646 Fix "ERROR: no fileid for" in the testsuite.
23647 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23648
85f224e7
DE
236492014-02-12 Doug Evans <dje@google.com>
23650
23651 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23652 (MISCELLANEOUS): New variable.
23653 (clean): rm -rf $(MISCELLANEOUS).
23654 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23655 dwp live in the same directory as symlinks, with each symlink pointed
23656 to a differently named file in a different directory.
23657
149b30ff
DE
236582014-02-11 Doug Evans <dje@google.com>
23659
23660 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23661 of Tcl file commands.
23662
1dfdac32
MK
236632014-02-10 Mark Kettenis <kettenis@gnu.org>
23664
23665 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23666 "kill -SIGUSR1 -1".
23667
aa4fb036
JB
236682014-02-10 Joel Brobecker <brobecker@adacore.com>
23669
23670 * gdb.ada/tick_length_array_enum_idx: New testcase.
23671
ed3ef339
DE
236722014-02-10 Doug Evans <xdje42@gmail.com>
23673
23674 * configure.ac (AC_OUTPUT): Add gdb.guile.
23675 * configure: Regenerate.
23676 * lib/gdb-guile.exp: New file.
23677 * lib/gdb.exp (get_target_charset): New function.
23678 * gdb.base/help.exp: Update expected output from "apropos apropos".
23679 * gdb.guile/Makefile.in: New file.
23680 * gdb.guile/guile.exp: New file.
23681 * gdb.guile/scm-arch.c: New file.
23682 * gdb.guile/scm-arch.exp: New file.
23683 * gdb.guile/scm-block.c: New file.
23684 * gdb.guile/scm-block.exp: New file.
23685 * gdb.guile/scm-breakpoint.c: New file.
23686 * gdb.guile/scm-breakpoint.exp: New file.
23687 * gdb.guile/scm-disasm.c: New file.
23688 * gdb.guile/scm-disasm.exp: New file.
23689 * gdb.guile/scm-equal.c: New file.
23690 * gdb.guile/scm-equal.exp: New file.
23691 * gdb.guile/scm-error.exp: New file.
23692 * gdb.guile/scm-error.scm: New file.
23693 * gdb.guile/scm-frame-args.c: New file.
23694 * gdb.guile/scm-frame-args.exp: New file.
23695 * gdb.guile/scm-frame-args.scm: New file.
23696 * gdb.guile/scm-frame-inline.c: New file.
23697 * gdb.guile/scm-frame-inline.exp: New file.
23698 * gdb.guile/scm-frame.c: New file.
23699 * gdb.guile/scm-frame.exp: New file.
23700 * gdb.guile/scm-generics.exp: New file.
23701 * gdb.guile/scm-gsmob.exp: New file.
23702 * gdb.guile/scm-iterator.c: New file.
23703 * gdb.guile/scm-iterator.exp: New file.
23704 * gdb.guile/scm-math.c: New file.
23705 * gdb.guile/scm-math.exp: New file.
23706 * gdb.guile/scm-objfile-script-gdb.in: New file.
23707 * gdb.guile/scm-objfile-script.c: New file.
23708 * gdb.guile/scm-objfile-script.exp: New file.
23709 * gdb.guile/scm-objfile.c: New file.
23710 * gdb.guile/scm-objfile.exp: New file.
23711 * gdb.guile/scm-ports.exp: New file.
23712 * gdb.guile/scm-pretty-print.c: New file.
23713 * gdb.guile/scm-pretty-print.exp: New file.
23714 * gdb.guile/scm-pretty-print.scm: New file.
23715 * gdb.guile/scm-section-script.c: New file.
23716 * gdb.guile/scm-section-script.exp: New file.
23717 * gdb.guile/scm-section-script.scm: New file.
23718 * gdb.guile/scm-symbol.c: New file.
23719 * gdb.guile/scm-symbol.exp: New file.
23720 * gdb.guile/scm-symtab-2.c: New file.
23721 * gdb.guile/scm-symtab.c: New file.
23722 * gdb.guile/scm-symtab.exp: New file.
23723 * gdb.guile/scm-type.c: New file.
23724 * gdb.guile/scm-type.exp: New file.
23725 * gdb.guile/scm-value-cc.cc: New file.
23726 * gdb.guile/scm-value-cc.exp: New file.
23727 * gdb.guile/scm-value.c: New file.
23728 * gdb.guile/scm-value.exp: New file.
23729 * gdb.guile/source2.scm: New file.
23730 * gdb.guile/types-module.cc: New file.
23731 * gdb.guile/types-module.exp: New file.
23732
7026a7c1
YQ
237332014-02-10 Yao Qi <yao@codesourcery.com>
23734
23735 PR testsuite/16543
23736 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23737 * configure: Regenerated.
23738 * Makefile.in: New file.
23739
6c466447
AS
237402014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23741
23742 * gdb.python/py-framefilter.exp: Fix typo.
23743
6e854735
YQ
237442014-02-08 Yao Qi <yao@codesourcery.com>
23745
23746 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23747 that no =breakpoint-modified is emitted when breakpoints are
23748 modified through MI commands.
23749
d137e6dc
PA
237502014-02-07 Pedro Alves <pedro@codesourcery.com>
23751 Pedro Alves <palves@redhat.com>
23752
23753 * gdb.threads/step-after-sr-lock.c: New file.
23754 * gdb.threads/step-after-sr-lock.exp: New file.
23755
b5ee5a50
PA
237562014-02-07 Pedro Alves <palves@redhat.com>
23757
23758 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23759
3c77faf3
JK
237602014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23761
23762 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23763 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23764
6dddc817
DE
237652014-02-06 Doug Evans <xdje42@gmail.com>
23766
23767 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23768 output.
23769
23770 * gdb.gdb/python-interrupts.exp: New file.
23771
de7b2893
YQ
237722014-02-05 Yao Qi <yao@codesourcery.com>
23773
23774 * gdb.trace/report.exp (use_collected_data): Test the output
23775 of "info threads" and "info inferiors".
23776
66d032ac
YQ
237772014-02-05 Yao Qi <yao@codesourcery.com>
23778
23779 Revert this patch:
23780
23781 2013-05-24 Yao Qi <yao@codesourcery.com>
23782
23783 * gdb.trace/tfile.exp: Test inferior and thread.
23784
591a12a1
UW
237852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23786
23787 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23788 on a function.
23789 * gdb.base/step-bt.c: Call hello via function pointer to make
23790 sure its first instruction is executed on powerpc64le-linux.
23791
0ff3e01f
UW
237922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23793
23794 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23795
084ee545
UW
237962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23797
23798 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23799 of the test patterns for use on little-endian systems.
23800
6ed14ff3
UW
238012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23802
23803 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23804 (decimal_vector): Fix for little-endian.
23805
401e27fd
JM
238062014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23807
23808 * gdb.arch/sparc-sysstep.exp: New file.
23809 * gdb.arch/sparc-sysstep.c: Likewise.
23810
23811 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23812
8b924729
EBM
238132014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23814
23815 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23816
fb151210
JB
238172014-01-23 Tom Tromey <tromey@redhat.com>
23818
23819 * gdb.ada/array_char_idx: New testcase.
23820
0740f8d8
TT
238212014-01-23 Tom Tromey <tromey@redhat.com>
23822
23823 PR python/16487:
23824 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23825 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23826 classes.
23827
21909fa1
TT
238282014-01-23 Tom Tromey <tromey@redhat.com>
23829
23830 PR python/16491:
23831 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23832 string from an inferior frame.
23833 * gdb.python/py-framefilter-mi.exp: Update.
23834
87ce2a04
DE
238352014-01-22 Doug Evans <dje@google.com>
23836
23837 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23838
237b092b
AA
238392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23840
23841 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23842
d674a709
AA
238432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23844
23845 * gdb.trace/entry-values.exp: Remove excess space character from
23846 regex patterns. Handle s390 call instruction.
23847
20fa3390
AA
238482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23849
23850 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23851 define "*_start" label. Make "name" static.
23852 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23853 ${name} by references to ${name}_start.
23854
78466714
AA
238552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23856
23857 * gdb.base/info-macros.exp: Remove "debug" from the compile
23858 options.
23859
ec9f644a
IB
238602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23861
23862 * gdb.dlang/demangle.exp: New file.
23863
94b1b47e
IB
238642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23865
23866 * gdb.dlang/primitive-types.exp: New file.
23867
7f420862
IB
238682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23869
23870 * configure.ac: Create gdb.dlang/Makefile.
23871 * configure: Regenerate.
23872 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23873 * gdb.dlang/Makefile.in: New file.
23874 * lib/d-support.exp: New file.
23875 * lib/gdb.exp (skip_d_tests): New proc.
23876
52834460
MM
238772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23878
23879 * gdb.btrace/delta.exp: Check reverse stepi.
23880 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23881 * gdb.btrace/finish.exp: New.
23882 * gdb.btrace/next.exp: New.
23883 * gdb.btrace/nexti.exp: New.
23884 * gdb.btrace/record_goto.c: Add comments.
23885 * gdb.btrace/step.exp: New.
23886 * gdb.btrace/stepi.exp: New.
23887 * gdb.btrace/multi-thread-step.c: New.
23888 * gdb.btrace/multi-thread-step.exp: New.
23889 * gdb.btrace/rn-dl-bind.c: New.
23890 * gdb.btrace/rn-dl-bind.exp: New.
23891 * gdb.btrace/data.c: New.
23892 * gdb.btrace/data.exp: New.
23893 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23894
6e07b1d2
MM
238952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23896
23897 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23898 * gdb.btrace/exception.exp: Update.
23899 * gdb.btrace/instruction_history.exp: Update.
23900 * gdb.btrace/record_goto.exp: Update.
23901 * gdb.btrace/tailcall.exp: Update.
23902 * gdb.btrace/unknown_functions.exp: Update.
23903 * gdb.btrace/delta.exp: New.
23904
0b722aec
MM
239052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23906
23907 * gdb.btrace/record_goto.exp: Add backtrace test.
23908 * gdb.btrace/tailcall.exp: Add backtrace test.
23909
066ce621
MM
239102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23911
23912 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23913 * gdb.btrace/record_goto.c: New.
23914 * gdb.btrace/record_goto.exp: New.
23915 * gdb.btrace/x86-record_goto.S: New.
23916
0688d04e
MM
239172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23918
23919 * gdb.btrace/function_call_history.exp: Update tests.
23920 * gdb.btrace/instruction_history.exp: Update tests.
23921
8710b709
MM
239222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23923
23924 * gdb.btrace/function_call_history.exp: Fix expected field
23925 order for "record function-call-history".
23926 Add new tests for "record function-call-history /c".
23927 * gdb.btrace/exception.cc: New.
23928 * gdb.btrace/exception.exp: New.
23929 * gdb.btrace/tailcall.exp: New.
23930 * gdb.btrace/x86-tailcall.S: New.
23931 * gdb.btrace/x86-tailcall.c: New.
23932 * gdb.btrace/unknown_functions.c: New.
23933 * gdb.btrace/unknown_functions.exp: New.
23934 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23935
5de9129b
MM
239362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23937
23938 * gdb.btrace/instruction_history.exp: Update.
23939 * gdb.btrace/function_call_history.exp: Update.
23940
23a7fe75
MM
239412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23942
23943 * gdb.btrace/function_call_history.exp: Fix expected function
23944 trace.
23945 * gdb.btrace/instruction_history.exp: Initialize traced.
23946 Remove traced_functions.
23947
724c7dd8
MM
239482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23949
23950 * gdb.btrace/function_call_history.exp: Update
23951 * gdb.btrace/instruction_history.exp: Update.
23952
6d78d93b
MM
239532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23954
23955 * gdb.btrace/enable.exp: Update expected text.
23956
93a360cc
OJ
239572014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23958
23959 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23960 bytes.
23961
3772b53f
MR
239622014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23963
23964 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23965
596662fa
OJ
239662014-01-15 Omair Javaid <omair.javaid@linaro.org>
23967
23968 * lib/gdb.exp (supports_process_record): Return true for
23969 arm*-linux*. (supports_reverse): Likewise.
23970
b5b08fb4
SC
239712014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23972
23973 PR python/15464
23974 PR python/16113
23975 * gdb.python/py-type.c: Enhance test case.
23976 * gdb.python/py-value-cc.cc: Likewise
23977 * gdb.python/py-type.exp: Add new tests.
23978 * gdb.python/py-value-cc.exp: Likewise
23979
52d7fb13
AA
239802014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23981 Pedro Alves <palves@redhat.com>
23982
23983 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23984 Make "name" extern.
23985 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23986 references to ${name}_start by references to ${name}.
23987
a2cd8cfe
JB
239882014-01-10 Joel Brobecker <brobecker@adacore.com>
23989
23990 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23991
4e23fced
JB
239922014-01-10 Joel Brobecker <brobecker@adacore.com>
23993
23994 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23995
c6a9e42c
PA
239962014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23997 Pedro Alves <palves@redhat.com>
23998
23999 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24000 mi_gdb_target_load.
c6a9e42c 24001
b7ea362b
PA
240022014-01-08 Pedro Alves <palves@redhat.com>
24003
24004 * gdb.threads/reconnect-signal.c: New file.
24005 * gdb.threads/reconnect-signal.exp: New file.
24006
5e3f4fab
EBM
240072014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24008
24009 * gdb.base/source-dir.exp: New file.
24010
79301218
JB
240112014-01-07 Joel Brobecker <brobecker@adacore.com>
24012
24013 * gdb.ada/mi_interface: New testcase.
24014
8e355c5d
JB
240152014-01-07 Joel Brobecker <brobecker@adacore.com>
24016
24017 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24018 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24019 gdb.ada/pp-rec-component/pck.ads: New files.
24020
c0d48811
JB
240212014-01-07 Joel Brobecker <brobecker@adacore.com>
24022
24023 * gdb.python/py-pp-integral.c: New file.
24024 * gdb.python/py-pp-integral.py: New file.
24025 * gdb.python/py-pp-integral.exp: New file.
24026
17b609c3 24027For older changes see ChangeLog-1993-2013.
c906108c 24028\f
8d8cb839
EZ
24029;; Local Variables:
24030;; mode: change-log
24031;; left-margin: 8
24032;; fill-column: 74
24033;; version-control: never
24034;; End:
902f2ccb 24035
3666a048 24036 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24037 Copying and distribution of this file, with or without modification,
24038 are permitted provided the copyright notice and this notice are preserved.
This page took 3.993459 seconds and 4 git commands to generate.